From 48d2eb703c670129e0a3040e9e5321e96f2e5e04 Mon Sep 17 00:00:00 2001 From: Ilayaraja Date: Mon, 11 May 2020 19:01:03 +0530 Subject: Add: INR currency (#8136) Co-authored-by: ilayarja97 --- src/currency.cpp | 1 + src/currency.h | 1 + src/lang/english.txt | 1 + 3 files changed, 3 insertions(+) diff --git a/src/currency.cpp b/src/currency.cpp index b6d682105..b68584f01 100644 --- a/src/currency.cpp +++ b/src/currency.cpp @@ -65,6 +65,7 @@ static const CurrencySpec origin_currency_specs[CURRENCY_END] = { { 40, "", CF_NOEURO, "NTD" NBSP, "", 0, STR_GAME_OPTIONS_CURRENCY_NTD }, ///< new taiwan dollar { 8, "", CF_NOEURO, "\xC2\xA5", "", 0, STR_GAME_OPTIONS_CURRENCY_CNY }, ///< chinese renminbi { 10, "", CF_NOEURO, "HKD" NBSP, "", 0, STR_GAME_OPTIONS_CURRENCY_HKD }, ///< hong kong dollar + { 90, "", CF_NOEURO, "\xE2\x82\xB9", "", 0, STR_GAME_OPTIONS_CURRENCY_INR }, ///< Indian Rupee }; /** Array of currencies used by the system */ diff --git a/src/currency.h b/src/currency.h index 58c385a8b..c4c3db024 100644 --- a/src/currency.h +++ b/src/currency.h @@ -61,6 +61,7 @@ enum Currencies { CURRENCY_NTD, ///< New Taiwan Dollar CURRENCY_CNY, ///< Chinese Renminbi CURRENCY_HKD, ///< Hong Kong Dollar + CURRENCY_INR, ///< Indian Rupee CURRENCY_END, ///< always the last item }; diff --git a/src/lang/english.txt b/src/lang/english.txt index 93eaef590..e478dc6e1 100644 --- a/src/lang/english.txt +++ b/src/lang/english.txt @@ -935,6 +935,7 @@ STR_GAME_OPTIONS_CURRENCY_MXN :Mexican Peso (M STR_GAME_OPTIONS_CURRENCY_NTD :New Taiwan Dollar (NTD) STR_GAME_OPTIONS_CURRENCY_CNY :Chinese Renminbi (CNY) STR_GAME_OPTIONS_CURRENCY_HKD :Hong Kong Dollar (HKD) +STR_GAME_OPTIONS_CURRENCY_INR :Indian Rupee (INR) ############ end of currency region STR_GAME_OPTIONS_ROAD_VEHICLES_FRAME :{BLACK}Road vehicles -- cgit v1.2.3-70-g09d2