summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLimyx826 <38696851+Limyx826@users.noreply.github.com>2021-03-01 19:51:21 +0800
committerCharles Pigott <charlespigott@googlemail.com>2021-03-01 21:56:26 +0000
commit47e899cf7532f29acfe479c77a1d02f4fdd288ef (patch)
treecdb838d04497856dcea5b17b3a7fb1aa5f5daf77
parent64686b53ff743d1cc6d8b522abd066bca1420a59 (diff)
downloadopenttd-47e899cf7532f29acfe479c77a1d02f4fdd288ef.tar.xz
Add: Malaysia Ringgit as Currency
Cause why not *Update the formating
-rw-r--r--src/currency.cpp1
-rw-r--r--src/currency.h1
-rw-r--r--src/lang/english.txt1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/currency.cpp b/src/currency.cpp
index 46c478d0d..841f00d56 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 37d1c66b9..e97fc6cb8 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 9935f3a56..636516900 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