Mercurial > hg > openttd
changeset 19244:a5850617d857 draft
(svn r24133) -Add [FS#4984]: Lithuanian currency. (devastator)
author | michi_cc <michi_cc@openttd.org> |
---|---|
date | Tue, 17 Apr 2012 19:43:47 +0000 |
parents | 3944b709b9bb |
children | 018c0334584f |
files | src/currency.cpp src/currency.h src/lang/english.txt |
diffstat | 3 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/currency.cpp +++ b/src/currency.cpp @@ -52,6 +52,7 @@ { 60, "", 2009, "", NBSP "Sk", 1, STR_GAME_OPTIONS_CURRENCY_SKK }, ///< slovak koruna { 4, "", CF_NOEURO, "R$" NBSP, "", 0, STR_GAME_OPTIONS_CURRENCY_BRL }, ///< brazil real { 31, "", 2011, "", NBSP "EEK", 1, STR_GAME_OPTIONS_CURRENCY_EEK }, ///< estonian krooni + { 4, "", 2014, "", NBSP "Lt", 1, STR_GAME_OPTIONS_CURRENCY_LTL }, ///< lithuanian litas { 1, "", CF_NOEURO, "", "", 2, STR_GAME_OPTIONS_CURRENCY_CUSTOM }, ///< custom currency }; @@ -93,6 +94,7 @@ CURR_SKK, CURR_BRL, CURR_EEK, + CURR_LTL, }; /**
--- a/src/currency.h +++ b/src/currency.h @@ -17,7 +17,7 @@ static const int CF_NOEURO = 0; ///< Currency never switches to the Euro (as far as known). static const int CF_ISEURO = 1; ///< Currency _is_ the Euro. -static const uint NUM_CURRENCY = 29; ///< Number of currencies. +static const uint NUM_CURRENCY = 30; ///< Number of currencies. static const int CUSTOM_CURRENCY_ID = NUM_CURRENCY - 1; ///< Index of the custom currency. /** Specification of a currency. */
--- a/src/lang/english.txt +++ b/src/lang/english.txt @@ -894,6 +894,7 @@ STR_GAME_OPTIONS_CURRENCY_SKK :Slovak Koruna (SKK) STR_GAME_OPTIONS_CURRENCY_BRL :Brazilian Real (BRL) STR_GAME_OPTIONS_CURRENCY_EEK :Estonian Krooni (EEK) +STR_GAME_OPTIONS_CURRENCY_LTL :Lithuanian Litas (LTL) STR_GAME_OPTIONS_CURRENCY_CUSTOM :Custom... ############ end of currency region