Add Thai localisation support

This commit is contained in:
Bas
2020-12-22 22:16:30 +01:00
parent db4841ca45
commit 6dfd35600e
7 changed files with 188 additions and 0 deletions

174
data/language/th-TH.txt Normal file
View File

@@ -0,0 +1,174 @@
STR_0000 :
STR_0001 :{STRINGID} {COMMA16}
STR_0002 :รถไฟเหาะแบบ Spiral
STR_0003 :รถไฟเหาะแบบ Stand-up
STR_0004 :รถไฟเหาะแบบ Suspended Swinging
STR_0005 :รถไฟเหาะแบบ Inverted
STR_0006 :เครื่องเล่นสำหรับเด็ก
STR_0007 :รถไฟจำลอง
STR_0008 :รถไฟรางเดี่ยว
STR_0009 :รถไฟเหาะแบบ Mini Suspended
STR_0010 :เรือเช่า
STR_0011 :เครื่องเล่น Wooden Wild Mouse
STR_0012 :รถไฟเหาะแบบ Steeplechase
STR_0013 :ขับรถ
STR_0014 :ปล่อยให้ตกลงไป
STR_0015 :รถไฟเหาะแบบ Bobsleigh
STR_0016 :หอสังเกตการณ์
STR_0017 :รถไฟเหาะแบบ Looping
STR_0018 :รถไฟเหาะแบบ Dinghy Slide
STR_0019 :รถไฟเหาะแบบ Mine Train
STR_0020 :กระเช้าไฟฟ้า
STR_0021 :รถไฟเหาะแบบ Corkscrew
STR_0022 :เขาวงกต
STR_0023 :กระดานลื่นแบบเกลียว
STR_0024 :รถ Go-Karts
STR_0025 :เครื่องเล่น Log Flume
STR_0026 :เรือวิบาก River Rapids
STR_0027 :รถบั๊มพ์ Dodgems
STR_0028 :เรือไวกิ้ง
STR_0029 :เรือไวกิ้งแบบ Swinging Inverter
STR_0030 :ซุ้มอาหาร
STR_0031 :ซุ้ม (1D)
STR_0032 :ซุ้มเครื่องดื่ม
STR_0033 :ร้านค้า (1F)
STR_0034 :ร้านค้า
STR_0035 :เครื่องหมุน Merry-Go-Round
STR_0036 :ซุ้ม (22)
STR_0037 :ตู้บริการข้อมูล
STR_0038 :ห้องน้ำ
STR_0039 :ชิงช้าสวรรค์
STR_0040 :Simulator จับการเคลื่อนไหว
STR_0041 :โรงหนังแบบ 3 มิติ
STR_0042 :เครื่องเล่น Top Spin
STR_0043 :รถไฟเหาะ Space Rings
STR_0044 :รถไฟเหาะ Reverse Freefall
STR_0045 :ยกขึ้น
STR_0046 :รถไฟเหาะ Vertical Drop Roller
STR_0047 :เครื่องคิดเงินอัติโรมัติ
STR_0048 :เครื่องเล่น Twist
STR_0049 :บ้านผีสิง
STR_0050 :ห้องปฐมพยาบาล
STR_0051 :ละครสัตว์
STR_0052 :รถไฟผี
STR_0053 :รถไฟเหาะ Twister
STR_0054 :รถไฟเหาะ Wooden
STR_0055 :รถไฟเหาะ Side-Friction
STR_0056 :รถไฟเหาะ Steel Wild Mouse
STR_0057 :รถไฟเหาะ Multi-Dimension
STR_0058 :เครื่องเล่น (38)
STR_0059 :รถไฟเหาะ Flying
STR_0060 :เครื่องเล่น (3A)
STR_0061 :รถไฟเหาะ Virginia Reel
STR_0062 :เรือ Splash Boats
STR_0063 :เฮลิคอปเตอร์เล็ก
STR_0064 :รถไฟเหาะ Lay-down
STR_0065 :รถไฟรางเดี่ยวแบบ Suspended
STR_0066 :เครื่องเล่น (40)
STR_0067 :รถไฟเหาะ Reverser
STR_0068 :รถไฟเหาะ Heartline Twister
STR_0069 :กอล์ฟมินิ
STR_0070 :รถไฟเหาะ Giga
STR_0071 :เครื่องเล่น Roto-Drop
STR_0072 :เครื่องเล่น Flying Saucers
STR_0073 :เครื่องเล่น Crooked House
STR_0074 :รถไฟ Monorail Cycles
STR_0075 :รถไฟเหาะ Compact Inverted
STR_0076 :รถไฟเหาะ Water Coaster
STR_0077 :รถไฟเหาะ Air Powered Vertical
STR_0078 :รถไฟเหาะ Inverted Hairpin
STR_0079 :พรมวิเศษ Magic Carpet
STR_0080 :เรือดำน้ำ Submarine Ride
STR_0081 :เครื่องเล่น River Rafts
STR_0082 :เครื่องเล่น (50)
STR_0083 :กิจการ
STR_0084 :เครื่องเล่น (52)
STR_0085 :เครื่องเล่น (53)
STR_0086 :เครื่องเล่น (54)
STR_0087 :เครื่องเล่น (55)
STR_0088 :รถไฟเหาะ Inverted Impulse
STR_0089 :รถไฟเหาะมินิ
STR_0090 :เครื่องเล่น Mine Ride
STR_0091 :เครื่องเล่น (59)
STR_0092 :ปล่อยรถไฟเหาะ
STR_0512 :รถไฟเหาะขนาดเล็กพร้อมกับรางเกลียวแบบเรียบ หมุนตกลงมา
STR_0513 :รถไฟเหาะแบบ looping ที่ผู้เล่นจะต้องยืนบนเครื่องเล่น
STR_0514 :Trains suspended beneath the roller coaster track swing out to the side around corners
STR_0515 :A steel roller coaster with trains that are held beneath the track, with many complex and twisting track elements
STR_0516 :A gentle roller coaster for people who haven't yet got the courage to face the larger rides
STR_0517 :Passengers ride in miniature trains along a narrow-gauge railway track
STR_0518 :Passengers travel in electric trains along a monorail track
STR_0519 :Passengers ride in small cars hanging beneath the single-rail track, swinging freely from side to side around corners
STR_0520 :A dock platform where guests can drive/row personal watercraft on a body of water
STR_0521 :A fast and twisting roller coaster with tight turns and steep drops. Intensity is bound to be high.
STR_0522 :A smaller roller coaster where the riders sit above the track with no car around them
STR_0523 :Riders travel slowly in powered vehicles along a track-based route
STR_0524 :Freefall car is pneumatically launched up a tall steel tower and then allowed to freefall down
STR_0525 :Riders career down a twisting track guided only by the curvature and banking of the semi-circular track
STR_0526 :Passengers travel in a rotating observation cabin which travels up a tall tower
STR_0527 :A smooth steel-tracked roller coaster capable of vertical loops
STR_0528 :Riders travel in inflatable dinghies down a twisting semi-circular or completely enclosed tube track
STR_0529 :Mine train themed roller coaster trains career along steel roller coaster track made to look like old railway track
STR_0530 :Cars hang from a steel cable which runs continuously from one end of the ride to the other and back again
STR_0531 :A compact steel-tracked roller coaster where the train travels through corkscrews and loops
STR_0532 :Maze is constructed from 6-foot tall hedges or walls, and guests wander around the maze leaving only when they find the exit
STR_0533 :Wooden building with an internal staircase and an external spiral slide for use with slide mats
STR_0534 :Guests race each other in go-karts on an asphalt track
STR_0535 :Boats travel along a water channel, splashing down steep slopes to soak the riders
STR_0536 :Circular boats meander along a wide water channel, splashing through waterfalls and thrilling riders through foaming rapids
STR_0537 :Guests bump into each other in self-drive electric dodgems
STR_0538 :Large swinging pirate ship
STR_0539 :Ship is attached to an arm with a counterweight at the opposite end, and swings through a complete 360 degrees
STR_0540 :A stall where guests can purchase food
STR_0542 :A stall where guests can purchase drinks
STR_0544 :A stall that sells souvenirs
STR_0545 :Traditional rotating carousel with carved wooden horses
STR_0547 :A stall where guests can obtain park maps and purchase umbrellas
STR_0548 :A toilet building
STR_0549 :Rotating big wheel with open chairs
STR_0550 :Riders view a film inside the motion simulator pod while it is twisted and moved around by a hydraulic arm
STR_0551 :Cinema showing 3D films inside a geodesic sphere shaped building
STR_0552 :Passengers ride in a gondola suspended by large rotating arms, rotating forwards and backwards head-over-heels
STR_0553 :Concentric pivoting rings allowing the riders free rotation in all directions
STR_0554 :The car is accelerated out of the station along a long level track using Linear Induction Motors, then heads straight up a vertical spike of track, freefalling back down to return to the station
STR_0555 :Guests ride in a lift up or down a vertical tower to get from one level to another
STR_0556 :Extra-wide cars descend completely vertical sloped track for the ultimate freefall roller coaster experience
STR_0557 :An A.T.M. (Cash Machine) for guests to use if they run low on funds
STR_0558 :Riders ride in pairs of seats rotating around the ends of three long rotating arms
STR_0559 :Large themed building containing scary corridors and spooky rooms
STR_0560 :A place for sick guests to go for faster recovery
STR_0561 :Circus animal show inside a big-top tent
STR_0562 :Powered cars travel along a multi-level track past spooky scenery and special effects
STR_0563 :Sitting in comfortable trains with only simple lap restraints riders enjoy giant smooth drops and twisting track as well as plenty of 'air time' over the hills
STR_0564 :Running on wooden track, this coaster is fast, rough, noisy, and gives an 'out of control' riding experience with plenty of 'air time'
STR_0565 :A simple wooden roller coaster capable of only gentle slopes and turns, where the cars are only kept on the track by side friction wheels and gravity
STR_0566 :Individual roller coaster cars zip around a tight zig-zag layout of track with sharp corners and short sharp drops
STR_0567 :Sitting in seats suspended either side of the track, riders are pitched head-over-heels while they plunge down steep drops and travel through various inversions
STR_0569 :Riding in special harnesses below the track, riders experience the feeling of flight as they swoop through the air
STR_0571 :Circular cars spin around as they travel along the zig-zagging wooden track
STR_0572 :Large capacity boats travel along a wide water channel, propelled up slopes by a conveyor belt, accelerating down steep slopes to soak the riders with a giant splash
STR_0573 :Powered helicopter shaped cars running on a steel track, controlled by the pedalling of the riders
STR_0574 :Riders are held in special harnesses in a lying-down position, travelling through twisted track and inversions either on their backs or facing the ground
STR_0575 :Powered trains hanging from a single rail transport people around the park
STR_0577 :Bogied cars run on wooden tracks, turning around on special reversing sections
STR_0578 :Cars run along track enclosed by circular hoops, traversing steep drops and heartline twists
STR_0579 :A gentle game of miniature golf
STR_0580 :A giant steel roller coaster capable of smooth drops and hills of over 300ft
STR_0581 :A ring of seats is pulled to the top of a tall tower while gently rotating, then allowed to free-fall down, stopping gently at the bottom using magnetic brakes
STR_0582 :Guests ride in hovercraft vehicles that they freely control
STR_0583 :Building containing warped rooms and angled corridors to disorientate people walking through it
STR_0584 :Special bicycles run on a steel monorail track, propelled by the pedalling of the riders
STR_0585 :Riders sit in pairs of seats suspended beneath the track as they loop and twist through tight inversions
STR_0586 :Boat shaped cars run on roller coaster track to allow twisting curves and steep drops, splashing down into sections of water for gentle river sections
STR_0587 :After an exhilarating air-powered launch, the train speeds up a vertical track, over the top, and vertically down the other side to return to the station
STR_0588 :Individual cars run beneath a zig-zagging track with hairpin turns and sharp drops
STR_0589 :A large flying-carpet themed car which moves up and down cyclically on the ends of 4 arms
STR_0590 :Riders ride in a submerged submarine through an underwater course
STR_0591 :Raft-shaped boats gently meander around a river track
STR_0593 :Rotating wheel with suspended passenger pods, which first starts spinning and is then tilted up by a supporting arm
STR_0598 :Inverted roller coaster trains are accelerated out of the station to travel up a vertical spike of track, then reverse back through the station to travel backwards up another vertical spike of track
STR_0599 :A compact roller coaster with individual cars and smooth twisting drops
STR_0600 :Powered mine trains career along a smooth and twisted track layout
STR_0602 :Roller coaster trains are accelerated out of the station by linear induction motors to speed through twisting inversions

View File

@@ -36,6 +36,10 @@ TTFontFamily const TTFFamilyKorean = {
&TTFFontNanum,
};
TTFontFamily const TTFFamilyThai = {
&TTFFontTahoma,
};
TTFontFamily const TTFFamilySansSerif = {
&TTFFontArialUnicode,
&TTFFontArial,

View File

@@ -24,6 +24,7 @@ extern TTFontFamily const TTFFamilyChineseSimplified;
extern TTFontFamily const TTFFamilyChineseTraditional;
extern TTFontFamily const TTFFamilyJapanese;
extern TTFontFamily const TTFFamilyKorean;
extern TTFontFamily const TTFFamilyThai;
extern TTFontFamily const TTFFamilySansSerif;
# define FAMILY(x) x

View File

@@ -90,6 +90,12 @@ TTFFontSetDescriptor TTFFontArialUnicode = { {
{ "arialuni.ttf", "Arial Unicode MS", 12, 0, -1, 12, HINTING_THRESHOLD_LOW, nullptr },
} };
TTFFontSetDescriptor TTFFontTahoma = { {
{ "tahoma.ttf", "Tahoma", 9, 0, 0, 10, HINTING_THRESHOLD_MEDIUM, nullptr },
{ "tahoma.ttf", "Tahoma", 13, 0, 0, 15, HINTING_THRESHOLD_MEDIUM, nullptr },
{ "tahoma.ttf", "Tahoma", 14, 0, -4, 17, HINTING_THRESHOLD_MEDIUM, nullptr },
} };
TTFFontSetDescriptor TTFFontMicroHei = { {
{ "wqy-microhei.ttc", "WenQuanYi Micro Hei", 10, -1, -1, 10, HINTING_THRESHOLD_MEDIUM, nullptr },
{ "wqy-microhei.ttc", "WenQuanYi Micro Hei", 11, 1, -1, 14, HINTING_THRESHOLD_MEDIUM, nullptr },

View File

@@ -29,6 +29,7 @@ extern TTFFontSetDescriptor TTFFontGulim;
extern TTFFontSetDescriptor TTFFontNanum;
extern TTFFontSetDescriptor TTFFontArial;
extern TTFFontSetDescriptor TTFFontArialUnicode;
extern TTFFontSetDescriptor TTFFontTahoma;
extern TTFFontSetDescriptor TTFFontMicroHei;
# define FONT(x) x
#else

View File

@@ -47,6 +47,7 @@ const language_descriptor LanguagesDescriptors[LANGUAGE_COUNT] =
{ "ru-RU", "Russian", u8"Русский", FAMILY_OPENRCT2_SPRITE, false }, // LANGUAGE_RUSSIAN
{ "fi-FI", "Finnish", "Suomi", FAMILY_OPENRCT2_SPRITE, false }, // LANGUAGE_FINNISH
{ "sv-SE", "Swedish", "Svenska", FAMILY_OPENRCT2_SPRITE, false }, // LANGUAGE_SWEDISH
{ "th-TH", "Thai", "Thai", FAMILY(&TTFFamilyThai), false }, // LANGUAGE_THAI
{ "tr-TR", "Turkish", "Türkçe", FAMILY_OPENRCT2_SPRITE, false }, // LANGUAGE_TURKISH
};
// clang-format on

View File

@@ -43,6 +43,7 @@ enum
LANGUAGE_FINNISH,
LANGUAGE_SWEDISH,
LANGUAGE_TURKISH,
LANGUAGE_THAI,
LANGUAGE_COUNT
};