summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorplanetmaker <planetmaker@openttd.org>2013-03-09 16:31:56 +0000
committerplanetmaker <planetmaker@openttd.org>2013-03-09 16:31:56 +0000
commit303ebbb6e44602de7a4e7057f91911c2ebeece51 (patch)
treed295cde0cbe13e7f8093c245fa932e591911a1a8 /src
parentfae3cbae9fffc2fa3315d4e77f31bdd7d5a34a2c (diff)
downloadopenttd-303ebbb6e44602de7a4e7057f91911c2ebeece51.tar.xz
(svn r25076) -Add [FS#5212]: Georgian Lari and Iranian Rial as currencies
Diffstat (limited to 'src')
-rw-r--r--src/currency.cpp2
-rw-r--r--src/currency.h2
-rw-r--r--src/lang/english.txt2
3 files changed, 6 insertions, 0 deletions
diff --git a/src/currency.cpp b/src/currency.cpp
index e812538e3..4da6a87f7 100644
--- a/src/currency.cpp
+++ b/src/currency.cpp
@@ -58,6 +58,8 @@ static const CurrencySpec origin_currency_specs[CURRENCY_END] = {
{ 1850, "", CF_NOEURO, "\xE2\x82\xA9", "", 0, STR_GAME_OPTIONS_CURRENCY_KRW }, ///< south korean won
{ 13, "", CF_NOEURO, "R" NBSP, "", 0, STR_GAME_OPTIONS_CURRENCY_ZAR }, ///< south african rand
{ 1, "", CF_NOEURO, "", "", 2, STR_GAME_OPTIONS_CURRENCY_CUSTOM }, ///< custom currency (add further languages below)
+ { 3, "", CF_NOEURO, "", NBSP "GEL", 1, STR_GAME_OPTIONS_CURRENCY_GEL }, ///< Georgian Lari
+ { 4901, "", CF_NOEURO, "", NBSP "Rls", 1, STR_GAME_OPTIONS_CURRENCY_IRR }, ///< Iranian Rial
};
/** Array of currencies used by the system */
diff --git a/src/currency.h b/src/currency.h
index aa29efdf7..ab8026002 100644
--- a/src/currency.h
+++ b/src/currency.h
@@ -56,6 +56,8 @@ enum Currencies {
CURRENCY_KRW, ///< South Korean Won
CURRENCY_ZAR, ///< South African Rand
CURRENCY_CUSTOM, ///< Custom currency
+ CURRENCY_GEL, ///< Georgian Lari
+ CURRENCY_IRR, ///< Iranian Rial
CURRENCY_END, ///< always the last item
};
diff --git a/src/lang/english.txt b/src/lang/english.txt
index 35e449608..c1f34468d 100644
--- a/src/lang/english.txt
+++ b/src/lang/english.txt
@@ -876,6 +876,8 @@ STR_GAME_OPTIONS_CURRENCY_LTL :Lithuanian Lita
STR_GAME_OPTIONS_CURRENCY_KRW :South Korean Won (KRW)
STR_GAME_OPTIONS_CURRENCY_ZAR :South African Rand (ZAR)
STR_GAME_OPTIONS_CURRENCY_CUSTOM :Custom...
+STR_GAME_OPTIONS_CURRENCY_GEL :Georgian Lari (GEL)
+STR_GAME_OPTIONS_CURRENCY_IRR :Iranian Rial (IRR)
############ end of currency region
STR_GAME_OPTIONS_MEASURING_UNITS_FRAME :{BLACK}Measuring units