Skip to content

Commit 4becf16

Browse files
committed
Update translation template.
1 parent e46780b commit 4becf16

File tree

1 file changed

+23
-5
lines changed

1 file changed

+23
-5
lines changed

misc/translator/dictionary.h

+23-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
// Annotated Dictionary Template File
22

3+
// Instructions:
4+
// 1. Translate the phrase between the quotes ("")
5+
// 2. Check that the number of : in the phrase is the same
6+
// 3. Every phrase must be unique, no duplicates are allowed (also not in a different file)
7+
// 4. You may not use spaces in the translation, use a dash if necessary. No snake_case or camelCase please!
8+
// 5. The order of the : must remain the same "add:to:" cannot be translated with "to:add:"
9+
// 7. You may not put two : after each other ("blahblah::" is not allowed)
10+
// 8. If a phrase consists of just one character, its translation must also be just one character
11+
// 9. Please do not use the following symbols in your translation: { } ( ) , := <- except for the dedicated symbols
12+
// 10. Please do not start your translation with a digit
13+
// 11. Please do not use quotes in your translation
14+
// 12. Please do not include an end-of-line symbol as part of your translation (most of the time this is a dot)
15+
// 13. You may use any UTF-8 character you like, not just ASCII (so you can use native characters if needed)
16+
// 14. Clean up: remove all the comments from the file as well as empty lines.
17+
// 15. Do not change the order of the translations!
18+
// 16. Do not omit any translation and do not add additional translations!
19+
// 17. The result should not contain any English words between quotes. Translate every item except the symbols.
20+
321

422
// These text fragments are used by Citrine to generate lists and maps,
523
// for instance after sending a string/text message to such an object, they
@@ -222,8 +240,8 @@
222240
#define CTR_DICT_RECURSIVE "recursive" // Allows a recursive operation in object, otherwise protection kicks in
223241

224242
// Math
225-
#define CTR_DICT_MATH_SIN "sin"
226-
#define CTR_DICT_MATH_COS "cos"
227-
#define CTR_DICT_MATH_TAN "tan"
228-
#define CTR_DICT_MATH_ATAN "atan"
229-
#define CTR_DICT_MATH_LOG "log"
243+
#define CTR_DICT_MATH_SIN "sin" // sinus function (math)
244+
#define CTR_DICT_MATH_COS "cos" // cosinus function (math)
245+
#define CTR_DICT_MATH_TAN "tan" // tangus function (math)
246+
#define CTR_DICT_MATH_ATAN "atan" // atangus function (math)
247+
#define CTR_DICT_MATH_LOG "log" // logarithm function (math)

0 commit comments

Comments
 (0)