89 Don't forget to test these texts in-game to make sure everything looks fine. |
89 Don't forget to test these texts in-game to make sure everything looks fine. |
90 |
90 |
91 ==== `.lua` files ==== |
91 ==== `.lua` files ==== |
92 In a `.lua` file you will find many lines like this: |
92 In a `.lua` file you will find many lines like this: |
93 |
93 |
94 ```-- ["Rubber Band"] = "", -- Construction_Mode``` |
94 `-- ["Rubber Band"] = "", -- Construction_Mode` |
95 |
95 |
96 Those need to be translated. The part in square brackets is the English original text. |
96 Those need to be translated. The part in square brackets is the English original text. |
97 The part in the quotation marks after the equals sign is supposed to contain the translation. |
97 The part in the quotation marks after the equals sign is supposed to contain the translation. |
98 The initial two dashes and spaces are used for strings which hav not been translated yet. You need to remove them after you've completed the translation. |
98 The initial two dashes and spaces are used for strings which hav not been translated yet. You need to remove them after you've completed the translation. |
99 |
99 |
100 The two dashes at the end don't need translation, it's just the beginning of a comment for you to show you the source of the English text. In this case, it comes from the Construction Mode script. |
100 The two dashes at the end don't need translation, it's just the beginning of a comment for you to show you the source of the English text. In this case, it comes from the Construction Mode script. |
101 |
101 |
102 Example for a translated line (in Italian): |
102 Example for a translated line (in Italian): |
103 |
103 |
104 ```["Rounds Complete"] = "Round Completati",``` |
104 `["Rounds Complete"] = "Round Completati",` |
105 |
105 |
106 In case you need to include a quotation mark in your translation, write `\"` instead of `"`. |
106 In case you need to include a quotation mark in your translation, write `\"` instead of `"`. |
107 |
107 |
108 Note to programmers: These `.lua` files are actually containing real Lua source code. |
108 Note to programmers: These `.lua` files are actually containing real Lua source code. |
109 |
109 |