You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: factorion-lib/Locales.md
+71-71Lines changed: 71 additions & 71 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,80 +10,80 @@ Locales contain a few different kinds of settings:
10
10
- Toggles: on is true, off is false
11
11
- Map, a list of key value pairs for certain settings, used for overrides
12
12
13
-
## V1
13
+
## Example
14
14
```jsonc
15
15
// Version number
16
-
{ "V1":
17
-
{
18
-
// The little disclaimer at the end of a comment
19
-
"bot_disclaimer":"This action was performed by a bot | [Source code](http://f.r0.fyi)",
20
-
// The notes at the beginning of a comment
21
-
"notes": {
22
-
"tower":"That is so large, that I can't even give the number of digits of it, so I have to make a power of ten tower.",
23
-
"tower_mult":"Some of these are so large, that I can't even give the number of digits of them, so I have to make a power of ten tower.",
24
-
"digits":"That number is so large, that I can't even approximate it well, so I can only give you an approximation on the number of digits.",
25
-
"digits_mult":"Some of these are so large, that I can't even approximate them well, so I can only give you an approximation on the number of digits.",
26
-
"approx":"That is so large, that I can't calculate it, so I'll have to approximate.",
27
-
"approx_mult":"Some of those are so large, that I can't calculate them, so I'll have to approximate.",
28
-
"round":"I can't calculate such a large factorial of decimals. So I had to round at some point.",
29
-
"round_mult":"I can't calculate that large factorials of decimals. So I had to round at some point.",
30
-
"too_big":"If I post the whole number, the comment would get too long. So I had to turn it into scientific notation.",
31
-
"too_big_mult":"If I post the whole numbers, the comment would get too long. So I had to turn them into scientific notation.",
32
-
"remove":"If I posted all numbers, the comment would get too long. So I had to remove some of them.",
33
-
"tetration":"That is so large, I can't even fit it in a comment with a power of 10 tower, so I'll have to use tetration!",
34
-
"no_post":"Sorry, but the reply text for all those numbers would be _really_ long, so I'd rather not even try posting lmao",
35
-
// How to call out to a user (when mentioning them). "{mention}" is replaced by the user string formatted as a mention
36
-
"mention":"Hey {mention}!"
16
+
{
17
+
// The little disclaimer at the end of a comment
18
+
"bot_disclaimer":"This action was performed by a bot | [Source code](http://f.r0.fyi)",
19
+
// The notes at the beginning of a comment
20
+
"notes": {
21
+
"tower":"That is so large, that I can't even give the number of digits of it, so I have to make a power of ten tower.",
22
+
"tower_mult":"Some of these are so large, that I can't even give the number of digits of them, so I have to make a power of ten tower.",
23
+
"digits":"That number is so large, that I can't even approximate it well, so I can only give you an approximation on the number of digits.",
24
+
"digits_mult":"Some of these are so large, that I can't even approximate them well, so I can only give you an approximation on the number of digits.",
25
+
"approx":"That is so large, that I can't calculate it, so I'll have to approximate.",
26
+
"approx_mult":"Some of those are so large, that I can't calculate them, so I'll have to approximate.",
27
+
"round":"I can't calculate such a large factorial of decimals. So I had to round at some point.",
28
+
"round_mult":"I can't calculate that large factorials of decimals. So I had to round at some point.",
29
+
"too_big":"If I post the whole number, the comment would get too long. So I had to turn it into scientific notation.",
30
+
"too_big_mult":"If I post the whole numbers, the comment would get too long. So I had to turn them into scientific notation.",
31
+
"remove":"If I posted all numbers, the comment would get too long. So I had to remove some of them.",
32
+
"tetration":"That is so large, I can't even fit it in a comment with a power of 10 tower, so I'll have to use tetration!",
33
+
"no_post":"Sorry, but the reply text for all those numbers would be _really_ long, so I'd rather not even try posting lmao",
34
+
"limit_hit":"I have repeated myself enough, I won't do that calculation again.",
35
+
"write_out_unsupported":"I can only write out numbers in english, so I will do that.",
36
+
// How to call out to a user (when mentioning them). "{mention}" is replaced by the user string formatted as a mention
37
+
"mention":"Hey {mention}!"
38
+
},
39
+
// Formatting calculations
40
+
"format": {
41
+
// Formatting numbers
42
+
"number_format": {
43
+
// The number decimal separator (also used when parsing). Must be a single character
44
+
"decimal":"."
37
45
},
38
-
// Formatting calculations
39
-
"format": {
40
-
// Formatting numbers
41
-
"number_format": {
42
-
// The number decimal separator (also used when parsing). Must be a single character
43
-
"decimal":"."
44
-
},
45
-
// Whether to capitalize the start of the calculation word (sub, uple, termial or factorial) (ASCII only)
46
-
"capitalize_calc":false,
47
-
"termial":"termial",
48
-
"factorial":"factorial",
49
-
// What to call tuples. "{factorial}" is replaced by termial or factorial
50
-
"uple":"uple-{factorial}",
51
-
// What to call a subfactorial. "{factorial}" is replaced by termial (not currently) or factorial
52
-
"sub":"sub{factorial}",
53
-
// How to call a negative calculation. "{factorial}" is replaced by sub, uple, termial or factorial
54
-
"negative":"negative {factorial}",
55
-
// Overrides for individual tuples. "{factorial}" is replaced by termial or factorial
56
-
"num_overrides": {
57
-
"2":"double-{factorial}",
58
-
"3":"triple-{factorial}"
59
-
},
60
-
// Turn off automatic tuple names (use overrides and numbers)
61
-
"force_num":false,
62
-
// How to write nested factorials. "{factorial}" is replaced by the outer calculation, "{next}" by the inner (both being negative, sub, uple, termial or factorial)
63
-
"nest":"{factorial} of {next}",
64
-
// How to write a calculation with an exact result. "{factorial}" is replaced by nest, negative, sub, uple, termial or factorial,
65
-
// "{number}" by the input to the calculation or rough_number and "{result}" by the result
66
-
"exact":"{factorial} of {number} is {result}",
67
-
// How to write a calculation with a shortened result. "{factorial}" is replaced by nest, negative, sub, uple, termial or factorial,
68
-
// "{number}" by the input to the calculation or rough_number and "{result}" by the result
69
-
"rough":"{factorial} of {number} is roughly {result}",
70
-
// How to write a calculation with an approximate result. "{factorial}" is replaced by nest, negative, sub, uple, termial or factorial,
71
-
// "{number}" by the input to the calculation or rough_number and "{result}" by the result
72
-
"approx":"{factorial} of {number} is approximately {result}",
73
-
// How to write a calculation with a result given in approximate number of digits. "{factorial}" is replaced by nest, negative, sub, uple, termial or factorial,
74
-
// "{number}" by the input to the calculation or rough_number and "{result}" by the result
75
-
"digits":"{factorial} of {number} has approximately {result} digits",
76
-
// How to write a calculation with a result given in a power-of-ten tower number of digits.
77
-
// "{factorial}" is replaced by nest, negative, sub, uple, termial or factorial,
78
-
// "{number}" by the input to the calculation or rough_number and "{result}" by the result
79
-
"order":"{factorial} of {number} has on the order of {result} digits",
80
-
// How to write a calculation with a result given in tetration of ten number of digits, and no calculation steps.
81
-
// "{factorial}" is replaced by nest, negative, sub, uple, termial or factorial,
82
-
// "{number}" by the input to the calculation or rough_number and "{result}" by the result
83
-
"all_that":"All that of {number} has on the order of {result} digits",
84
-
// How to write a shortened number. "{number}" is replaced by the input to the calculation
85
-
"rough_number":"roughly {number}"
86
-
}
46
+
// Whether to capitalize the start of the calculation word (sub, uple, termial or factorial) (ASCII only)
47
+
"capitalize_calc":false,
48
+
"termial":"termial",
49
+
"factorial":"factorial",
50
+
// What to call tuples. "{factorial}" is replaced by termial or factorial
51
+
"uple":"uple-{factorial}",
52
+
// What to call a subfactorial. "{factorial}" is replaced by termial (not currently) or factorial
53
+
"sub":"sub{factorial}",
54
+
// How to call a negative calculation. "{factorial}" is replaced by sub, uple, termial or factorial
55
+
"negative":"negative {factorial}",
56
+
// Overrides for individual tuples. "{factorial}" is replaced by termial or factorial
57
+
"num_overrides": {
58
+
"2":"double-{factorial}",
59
+
"3":"triple-{factorial}"
60
+
},
61
+
// Turn off automatic tuple names (use overrides and numbers)
62
+
"force_num":false,
63
+
// How to write nested factorials. "{factorial}" is replaced by the outer calculation, "{next}" by the inner (both being negative, sub, uple, termial or factorial)
64
+
"nest":"{factorial} of {next}",
65
+
// How to write a calculation with an exact result. "{factorial}" is replaced by nest, negative, sub, uple, termial or factorial,
66
+
// "{number}" by the input to the calculation or rough_number and "{result}" by the result
67
+
"exact":"{factorial} of {number} is {result}",
68
+
// How to write a calculation with a shortened result. "{factorial}" is replaced by nest, negative, sub, uple, termial or factorial,
69
+
// "{number}" by the input to the calculation or rough_number and "{result}" by the result
70
+
"rough":"{factorial} of {number} is roughly {result}",
71
+
// How to write a calculation with an approximate result. "{factorial}" is replaced by nest, negative, sub, uple, termial or factorial,
72
+
// "{number}" by the input to the calculation or rough_number and "{result}" by the result
73
+
"approx":"{factorial} of {number} is approximately {result}",
74
+
// How to write a calculation with a result given in approximate number of digits. "{factorial}" is replaced by nest, negative, sub, uple, termial or factorial,
75
+
// "{number}" by the input to the calculation or rough_number and "{result}" by the result
76
+
"digits":"{factorial} of {number} has approximately {result} digits",
77
+
// How to write a calculation with a result given in a power-of-ten tower number of digits.
78
+
// "{factorial}" is replaced by nest, negative, sub, uple, termial or factorial,
79
+
// "{number}" by the input to the calculation or rough_number and "{result}" by the result
80
+
"order":"{factorial} of {number} has on the order of {result} digits",
81
+
// How to write a calculation with a result given in tetration of ten number of digits, and no calculation steps.
82
+
// "{factorial}" is replaced by nest, negative, sub, uple, termial or factorial,
83
+
// "{number}" by the input to the calculation or rough_number and "{result}" by the result
84
+
"all_that":"All that of {number} has on the order of {result} digits",
85
+
// How to write a shortened number. "{number}" is replaced by the input to the calculation
0 commit comments