From 47e899cf7532f29acfe479c77a1d02f4fdd288ef Mon Sep 17 00:00:00 2001 From: Limyx826 <38696851+Limyx826@users.noreply.github.com> Date: Mon, 1 Mar 2021 19:51:21 +0800 Subject: [PATCH] Add: Malaysia Ringgit as Currency Cause why not *Update the formating --- 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 46c478d0d9..841f00d56a 100644 --- a/src/currency.cpp +++ b/src/currency.cpp @@ -67,6 +67,7 @@ static const CurrencySpec origin_currency_specs[CURRENCY_END] = { { 10, "", CF_NOEURO, "HKD" NBSP, "", 0, STR_GAME_OPTIONS_CURRENCY_HKD }, ///< hong kong dollar { 90, "", CF_NOEURO, u8"\u20b9", "", 0, STR_GAME_OPTIONS_CURRENCY_INR }, ///< Indian Rupee { 19, "", CF_NOEURO, "Rp", "", 0, STR_GAME_OPTIONS_CURRENCY_IDR }, ///< Indonesian Rupiah + { 5, "", CF_NOEURO, "RM", "", 0, STR_GAME_OPTIONS_CURRENCY_MYR }, ///< Malaysian Ringgit }; /** Array of currencies used by the system */ diff --git a/src/currency.h b/src/currency.h index 37d1c66b92..e97fc6cb84 100644 --- a/src/currency.h +++ b/src/currency.h @@ -64,6 +64,7 @@ enum Currencies { CURRENCY_HKD, ///< Hong Kong Dollar CURRENCY_INR, ///< Indian Rupee CURRENCY_IDR, ///< Indonesian Rupiah + CURRENCY_MYR, ///< Malaysian Ringgit CURRENCY_END, ///< always the last item }; diff --git a/src/lang/english.txt b/src/lang/english.txt index 9935f3a568..636516900b 100644 --- a/src/lang/english.txt +++ b/src/lang/english.txt @@ -947,6 +947,7 @@ STR_GAME_OPTIONS_CURRENCY_CNY :Chinese Renminb STR_GAME_OPTIONS_CURRENCY_HKD :Hong Kong Dollar (HKD) STR_GAME_OPTIONS_CURRENCY_INR :Indian Rupee (INR) STR_GAME_OPTIONS_CURRENCY_IDR :Indonesian Rupiah (IDR) +STR_GAME_OPTIONS_CURRENCY_MYR :Malaysian Ringgit (MYR) ############ end of currency region STR_GAME_OPTIONS_ROAD_VEHICLES_DROPDOWN_LEFT :Drive on left