[loc] fix various RTL issues

* MSG_002 doesn't display in RTL
* Update Policy dialog loses RTL setting after the first paragraph
* Some text displayed in native Windows message boxes is not using RTL
 (even as the Message Box itself will display the rest of the UI elements as RTL)
* Detect if the relevant language pack is installed and use MessageBoxEx to
  display native message box buttons using the selected language.
* All theses issues are part of #621
* Also remove trailing whitespaces
This commit is contained in:
Pete Batard 2015-10-18 21:31:47 +01:00
parent 236bf77c24
commit e1f8b276c8
12 changed files with 190 additions and 110 deletions

View file

@ -124,12 +124,12 @@ const char* additional_copyrights =
"All other references can be found in the source.\\line\n}";
const char* update_policy =
"{\\rtf1\\ansi{\\fonttbl{\\f0\\fnil\\fcharset0 Microsoft Sans Serif;}{\\f1\\fnil\\fcharset2 Symbol;}}\n"
"{\\rtf1\\ansi{\\fonttbl{\\f0\\fnil\\fcharset0 Microsoft Sans Serif;}}\n"
"\\fs16\\b %s\\b0\\line\n"
"%s\\par\n"
"\\pard{\\pntext\\f1\\'B7\\tab}{\\*\\pn\\pnlvlblt\\pnf2\\pnindent0{\\pntxtb\\'B7}}\\fi-150\\li220 %s\\par\n"
"{\\pntext\\f1\\'B7\\tab}%s\\par\n"
"{\\pntext\\f1\\'B7\\tab}%s\\line\\pard\n"
"\\fs20•\\fs16 %s\\par\n"
"\\fs20•\\fs16 %s\\par\n"
"\\fs20•\\fs16 %s\\line\n"
"\\line\n"
"%s\\line\n\\line\n"
"\\b %s\\b0\\line\n"