From 303ebbb6e44602de7a4e7057f91911c2ebeece51 Mon Sep 17 00:00:00 2001 From: planetmaker Date: Sat, 9 Mar 2013 16:31:56 +0000 Subject: [PATCH] (svn r25076) -Add [FS#5212]: Georgian Lari and Iranian Rial as currencies --- src/currency.cpp | 2 ++ src/currency.h | 2 ++ src/lang/english.txt | 2 ++ 3 files changed, 6 insertions(+) diff --git a/src/currency.cpp b/src/currency.cpp index e812538e3e..4da6a87f7a 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 aa29efdf7f..ab8026002d 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 35e449608a..c1f34468d8 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