Browse Source

Use RTL layout for Farsi

Signed-off-by: Selva Nair <selva.nair@gmail.com>
pull/550/head
Selva Nair 2 years ago
parent
commit
5204df0e80
  1. 15
      res/openvpn-gui-res-fa.rc

15
res/openvpn-gui-res-fa.rc

@ -24,7 +24,7 @@
/* Passphrase Dialog */
ID_DLG_PASSPHRASE DIALOGEX 6, 18, 160, 83
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | DS_CENTER | DS_SETFOREGROUND
EXSTYLE WS_EX_TOPMOST
EXSTYLE WS_EX_TOPMOST | WS_EX_RTLREADING | WS_EX_LAYOUTRTL
CAPTION "OpenVPN – رمز کلید خصوصی"
FONT 8, "Microsoft Sans Serif"
LANGUAGE LANG_FARSI, SUBLANG_DEFAULT
@ -40,7 +40,7 @@ END
/* Auth Username/Password Dialog */
ID_DLG_AUTH DIALOGEX 6, 18, 160, 95
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | DS_CENTER | DS_SETFOREGROUND
EXSTYLE WS_EX_TOPMOST
EXSTYLE WS_EX_TOPMOST | WS_EX_RTLREADING | WS_EX_LAYOUTRTL
FONT 8, "Microsoft Sans Serif"
LANGUAGE LANG_FARSI, SUBLANG_DEFAULT
BEGIN
@ -57,7 +57,7 @@ END
/* Auth Username/Password/Challenge Dialog */
ID_DLG_AUTH_CHALLENGE DIALOG 6, 18, 160, 129
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | DS_CENTER | DS_SETFOREGROUND
EXSTYLE WS_EX_TOPMOST
EXSTYLE WS_EX_TOPMOST | WS_EX_RTLREADING | WS_EX_LAYOUTRTL
CAPTION "OpenVPN – احراز هویت کاربر"
FONT 8, "Microsoft Sans Serif"
LANGUAGE LANG_FARSI, SUBLANG_DEFAULT
@ -78,7 +78,7 @@ END
/* Challenge Response Dialog */
ID_DLG_CHALLENGE_RESPONSE DIALOG 6, 18, 212, 72
STYLE WS_SIZEBOX | WS_POPUP | WS_VISIBLE | WS_CAPTION | DS_CENTER | DS_SETFOREGROUND
EXSTYLE WS_EX_TOPMOST
EXSTYLE WS_EX_TOPMOST | WS_EX_RTLREADING | WS_EX_LAYOUTRTL
CAPTION "OpenVPN – پاسخ چالش"
FONT 8, "Microsoft Sans Serif"
LANGUAGE LANG_FARSI, SUBLANG_DEFAULT
@ -110,6 +110,7 @@ END
/* Change Passphrase Dialog */
ID_DLG_CHGPASS DIALOG 6, 18, 193, 82
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | DS_CENTER
EXSTYLE WS_EX_RTLREADING | WS_EX_LAYOUTRTL
CAPTION "OpenVPN – تغییر عبارت عبور کلید خصوصی"
FONT 8, "Microsoft Sans Serif"
LANGUAGE LANG_FARSI, SUBLANG_DEFAULT
@ -129,6 +130,7 @@ END
/* Proxy Settings Dialog */
ID_DLG_PROXY DIALOG 6, 18, 249, 104
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | DS_CENTER
EXSTYLE WS_EX_RTLREADING | WS_EX_LAYOUTRTL
CAPTION "Proxy - پروکسی"
FONT 8, "Microsoft Sans Serif"
LANGUAGE LANG_FARSI, SUBLANG_DEFAULT
@ -150,6 +152,7 @@ END
/* General Settings Dialog */
ID_DLG_GENERAL DIALOGEX 6, 18, 249, 104
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | DS_CENTER
EXSTYLE WS_EX_RTLREADING | WS_EX_LAYOUTRTL
CAPTION "عمومی"
FONT 8, "Microsoft Sans Serif"
LANGUAGE LANG_FARSI, SUBLANG_DEFAULT
@ -181,6 +184,7 @@ END
/* Advanced Dialog */
ID_DLG_ADVANCED DIALOGEX 6, 18, 252, ADVANCED_DIALOG_HEIGHT
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | DS_CENTER
EXSTYLE WS_EX_RTLREADING | WS_EX_LAYOUTRTL
CAPTION "پیشرفته"
FONT 8, "Microsoft Sans Serif"
LANGUAGE LANG_FARSI, SUBLANG_DEFAULT
@ -232,6 +236,7 @@ END
/* About Dialog */
ID_DLG_ABOUT DIALOG 6, 18, 249, 104
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_CENTER
EXSTYLE WS_EX_RTLREADING | WS_EX_LAYOUTRTL
CAPTION "درباره"
FONT 8, "Microsoft Sans Serif"
LANGUAGE LANG_FARSI, SUBLANG_DEFAULT
@ -254,7 +259,7 @@ END
/* Proxy Authentication Dialog */
ID_DLG_PROXY_AUTH DIALOG 29, 23, 154, 65
STYLE DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION | DS_CENTER
EXSTYLE WS_EX_TOPMOST
EXSTYLE WS_EX_TOPMOST | WS_EX_RTLREADING | WS_EX_LAYOUTRTL
CAPTION "OpenVPN – احراز هویت پروکسی"
FONT 8, "Microsoft Sans Serif"
LANGUAGE LANG_FARSI, SUBLANG_DEFAULT

Loading…
Cancel
Save