Skip to content

Commit 0ed604e

Browse files
committed
Add the Persian (fa) language to the rtl_locale in the localization util
1 parent 0f89da9 commit 0ed604e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Client/mods/deathmatch/logic/lua/CLuaFunctionDefs.Util.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ int CLuaFunctionDefs::GetKeyboardLayout(lua_State* luaVM)
238238
case 0: // Left to right (English)
239239
readingLayout = "ltr";
240240
break;
241-
case 1: // Right to left (Arabic, Hebrew)
241+
case 1: // Right to left (Arabic, Hebrew, and Persian)
242242
readingLayout = "rtl";
243243
break;
244244
case 2: // Vertical top to bottom with columns to the left and also left to right (Japanese)

utils/localization/build_locale_nsi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
"yo" : "Yoruba",
9696
}
9797

98-
rtl_locales = [ "ar", "he" ]
98+
rtl_locales = [ "ar", "he", "fa"]
9999

100100

101101
def escape_nsis(msgstr: str) -> str:

0 commit comments

Comments
 (0)