(svn r17157) -Add: localised decimal separator
This commit is contained in:
@@ -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. */
|
||||
|
@@ -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" },
|
||||
|
Reference in New Issue
Block a user