diff options
author | smatz <smatz@openttd.org> | 2009-08-12 01:28:11 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-08-12 01:28:11 +0000 |
commit | a29bbb1e1f8d6525746dd31cd5e47159d896cc84 (patch) | |
tree | 4c454595c0694c5585b691600bd4aedef69d9983 /src/table | |
parent | d58d053438557ec5c4d0f30a2c92713236962376 (diff) | |
download | openttd-a29bbb1e1f8d6525746dd31cd5e47159d896cc84.tar.xz |
(svn r17157) -Add: localised decimal separator
Diffstat (limited to 'src/table')
-rw-r--r-- | src/table/settings.h | 1 | ||||
-rw-r--r-- | src/table/strgen_tables.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/table/settings.h b/src/table/settings.h index c3380cca5..5357db9e8 100644 --- a/src/table/settings.h +++ b/src/table/settings.h @@ -512,6 +512,7 @@ const SettingDesc _settings[] = { SDT_CONDOMANY(GameSettings, locale.units, SLE_UINT8, 97, SL_MAX_VERSION, N, 0, 1, 2, _locale_units, STR_NULL, NULL, NULL), SDT_CONDSTR(GameSettings, locale.digit_group_separator, SLE_STRQ,118, SL_MAX_VERSION, N, 0, NULL, STR_NULL, NULL), SDT_CONDSTR(GameSettings, locale.digit_group_separator_currency, SLE_STRQ,118, SL_MAX_VERSION, N, 0, NULL, STR_NULL, NULL), + SDT_CONDSTR(GameSettings, locale.digit_decimal_separator, SLE_STRQ,126, SL_MAX_VERSION, N, 0, NULL, STR_NULL, NULL), /***************************************************************************/ /* Unsaved setting variables. */ diff --git a/src/table/strgen_tables.h b/src/table/strgen_tables.h index 2af9e6a3b..49f3fad22 100644 --- a/src/table/strgen_tables.h +++ b/src/table/strgen_tables.h @@ -186,6 +186,7 @@ static const char *_pragmas[][4] = { { "textdir", "tl", "ltr", "Text direction. Either ltr (left-to-right) or rtl (right-to-left)" }, { "digitsep", "td", ",", "Digit grouping separator for non-currency numbers" }, { "digitsepcur", "td", ",", "Digit grouping seprarator for currency numbers" }, + { "decimalsep", "td", ".", "Decimal separator" }, { "winlangid", "x2", "0x0000", "Language ID for Windows" }, { "grflangid", "x1", "0x00", "Language ID for NewGRFs" }, { "gender", "tag", "", "List of genders" }, |