Skip to content

Commit

Permalink
Add UTF-8 pragma to Windows resource files
Browse files Browse the repository at this point in the history
Issue 5177
https://sourceforge.net/p/testlilyissues/issues/5177/

binutils (windres) needs UTF-8 pragma
if resource file encoding is UTF-8.
This commit adds the UTF-8 pragma
to the resource file of each language.

The following file is not changed.

Ja.rc:
Already added.
  • Loading branch information
trueroad committed Aug 20, 2017
1 parent 0e23674 commit 9b2804a
Show file tree
Hide file tree
Showing 19 changed files with 95 additions and 0 deletions.
5 changes: 5 additions & 0 deletions windows/Cs.rc
Expand Up @@ -21,6 +21,9 @@
* Foundation, Inc., 51 Franklin St, Suite 500, Boston, MA 02110-1335, USA
*/

/* UTF-8 */
#pragma code_page(65001)

LANGUAGE LANG_CZECH, SUBLANG_DEFAULT

MAIN_MENU MENU
Expand Down Expand Up @@ -85,3 +88,5 @@ STRING_OUT_OF_MEMORY, "Není dost paměti na dokončení této
paměti."

}

#pragma code_page(default)
5 changes: 5 additions & 0 deletions windows/Da.rc
Expand Up @@ -19,6 +19,9 @@
* Foundation, Inc., 51 Franklin St, Suite 500, Boston, MA 02110-1335, USA
*/

/* UTF-8 */
#pragma code_page(65001)

LANGUAGE LANG_DANISH, SUBLANG_DEFAULT

MAIN_MENU MENU
Expand Down Expand Up @@ -81,3 +84,5 @@ denne operation. \nAfslut et eller flere aktive programmer for at frigøre \
hukommelse, og prøv så igen."

}

#pragma code_page(default)
5 changes: 5 additions & 0 deletions windows/De.rc
Expand Up @@ -20,6 +20,9 @@
* Foundation, Inc., 51 Franklin St, Suite 500, Boston, MA 02110-1335, USA
*/

/* UTF-8 */
#pragma code_page(65001)

LANGUAGE LANG_GERMAN, SUBLANG_DEFAULT

MAIN_MENU MENU
Expand Down Expand Up @@ -86,3 +89,5 @@ um diese Funktion \nabzuschließen. Beenden Sie eine oder mehrere \


}

#pragma code_page(default)
5 changes: 5 additions & 0 deletions windows/En.rc
Expand Up @@ -20,6 +20,9 @@
* Foundation, Inc., 51 Franklin St, Suite 500, Boston, MA 02110-1335, USA
*/

/* UTF-8 */
#pragma code_page(65001)

LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT

MAIN_MENU MENU
Expand Down Expand Up @@ -97,3 +100,5 @@ task. \nClose one or more applications to increase the amount of \nfree \
memory."

}

#pragma code_page(default)
5 changes: 5 additions & 0 deletions windows/Es.rc
Expand Up @@ -22,6 +22,9 @@
* Foundation, Inc., 51 Franklin St, Suite 500, Boston, MA 02110-1335, USA
*/

/* UTF-8 */
#pragma code_page(65001)

LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL

MAIN_MENU MENU
Expand Down Expand Up @@ -86,3 +89,5 @@ STRING_OUT_OF_MEMORY, "No hay suficiente memoria para terminar esta \
aumentar la cantidad \nde memoria libre."

}

#pragma code_page(default)
5 changes: 5 additions & 0 deletions windows/Fi.rc
Expand Up @@ -19,6 +19,9 @@
* Foundation, Inc., 51 Franklin St, Suite 500, Boston, MA 02110-1335, USA
*/

/* UTF-8 */
#pragma code_page(65001)

LANGUAGE LANG_FINNISH, SUBLANG_DEFAULT

MAIN_MENU MENU
Expand Down Expand Up @@ -81,3 +84,5 @@ STRING_OUT_OF_MEMORY, "Muistia ei ole riittävästi tämän \
muistia."

}

#pragma code_page(default)
5 changes: 5 additions & 0 deletions windows/Fr.rc
Expand Up @@ -20,6 +20,9 @@
* Foundation, Inc., 51 Franklin St, Suite 500, Boston, MA 02110-1335, USA
*/

/* UTF-8 */
#pragma code_page(65001)

LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL

MAIN_MENU MENU
Expand Down Expand Up @@ -84,3 +87,5 @@ tâche. \nFermez une ou plusieurs applications pour libérer\n\
de la mémoire."

}

#pragma code_page(default)
5 changes: 5 additions & 0 deletions windows/Hu.rc
Expand Up @@ -21,6 +21,9 @@
* Foundation, Inc., 51 Franklin St, Suite 500, Boston, MA 02110-1335, USA
*/

/* UTF-8 */
#pragma code_page(65001)

MAIN_MENU MENU LANGUAGE LANG_HUNGARIAN, SUBLANG_DEFAULT
{
POPUP "&Fájl" {
Expand Down Expand Up @@ -82,3 +85,5 @@ STRING_OUT_OF_MEMORY, "Nincs elegendő szabad memória!\
!"

}

#pragma code_page(default)
5 changes: 5 additions & 0 deletions windows/It.rc
Expand Up @@ -22,6 +22,9 @@
* Foundation, Inc., 51 Franklin St, Suite 500, Boston, MA 02110-1335, USA
*/

/* UTF-8 */
#pragma code_page(65001)

LANGUAGE LANG_ITALIAN, SUBLANG_DEFAULT

MAIN_MENU MENU
Expand Down Expand Up @@ -85,3 +88,5 @@ STRING_OUT_OF_MEMORY, "Memoria insufficente per completare que
task. \nChiudere una o più applicazioni per aumentare la quantita'\n di memoria libera."

}

#pragma code_page(default)
5 changes: 5 additions & 0 deletions windows/Nl.rc
Expand Up @@ -18,6 +18,9 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/

/* UTF-8 */
#pragma code_page(65001)

LANGUAGE LANG_DUTCH, SUBLANG_DEFAULT

MAIN_MENU MENU
Expand Down Expand Up @@ -81,3 +84,5 @@ STRING_OUT_OF_MEMORY, "Onvoldoende geheugen. \
\nSluit een of meer applicaties om de hoeveelheid \nbeschikbaar geheugen te vergroten."

}

#pragma code_page(default)
5 changes: 5 additions & 0 deletions windows/Pl.rc
Expand Up @@ -21,6 +21,9 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/

/* UTF-8 */
#pragma code_page(65001)

LANGUAGE LANG_POLISH, SUBLANG_DEFAULT

MAIN_MENU MENU
Expand Down Expand Up @@ -84,3 +87,5 @@ STRING_OUT_OF_MEMORY, "Za mało pamięci do wykonania tego zad
Zamknij jedną lub więcej aplikacji aby zwiększyć ilość wolnej pamięci."

}

#pragma code_page(default)
5 changes: 5 additions & 0 deletions windows/Pt.rc
Expand Up @@ -22,6 +22,9 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/

/* UTF-8 */
#pragma code_page(65001)

LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN

MAIN_MENU MENU
Expand Down Expand Up @@ -151,3 +154,5 @@ Gostaria de gravar as alteraçÕes?"
STRING_OUT_OF_MEMORY, "Não há memória suficiente para completar esta \
tarefa. \nFeche uma ou mais aplicações para aumentar a quantidade de memória livre."
}

#pragma code_page(default)
5 changes: 5 additions & 0 deletions windows/Ru.rc
Expand Up @@ -18,6 +18,9 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/

/* UTF-8 */
#pragma code_page(65001)

MAIN_MENU MENU LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
{
POPUP "&Файл" {
Expand Down Expand Up @@ -78,3 +81,5 @@ STRING_OUT_OF_MEMORY, "Недостаточно памяти
\nЗакройте одно или несколько приложений и повторите попытку."

}

#pragma code_page(default)
5 changes: 5 additions & 0 deletions windows/Si.rc
Expand Up @@ -18,6 +18,9 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/

/* UTF-8 */
#pragma code_page(65001)

LANGUAGE LANG_SLOVENIAN, SUBLANG_DEFAULT

MAIN_MENU MENU
Expand Down Expand Up @@ -80,3 +83,5 @@ STRING_OUT_OF_MEMORY, "Na voljo ni dovolj pomnilnika, da bi bi
operacijo. \nČe ga želite sprostiti, končajte enega ali več programov in poskusite znova. "

}

#pragma code_page(default)
5 changes: 5 additions & 0 deletions windows/Sk.rc
Expand Up @@ -20,6 +20,9 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/

/* UTF-8 */
#pragma code_page(65001)

LANGUAGE LANG_SLOVAK, SUBLANG_DEFAULT

MAIN_MENU MENU
Expand Down Expand Up @@ -82,3 +85,5 @@ task. \nClose one or more applications to increase the amount of \nfree \
memory."

}

#pragma code_page(default)
5 changes: 5 additions & 0 deletions windows/Sw.rc
Expand Up @@ -20,6 +20,9 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/

/* UTF-8 */
#pragma code_page(65001)

LANGUAGE LANG_SWEDISH, SUBLANG_DEFAULT

MAIN_MENU MENU
Expand Down Expand Up @@ -82,3 +85,5 @@ den här uppgiften. \nAvsluta ett eller flera program för att öka mängden \nf
minne."

}

#pragma code_page(default)
5 changes: 5 additions & 0 deletions windows/Th.rc
Expand Up @@ -18,6 +18,9 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/

/* UTF-8 */
#pragma code_page(65001)

LANGUAGE LANG_THAI, SUBLANG_DEFAULT

MAIN_MENU MENU
Expand Down Expand Up @@ -76,3 +79,5 @@ STRING_NOTFOUND, "ไม่พบข้อความ '%s' ที่ต้อ
STRING_OUT_OF_MEMORY, "ความจําหมด\nกรุณาลองใหม่"

}

#pragma code_page(default)
5 changes: 5 additions & 0 deletions windows/Wa.rc
Expand Up @@ -20,6 +20,9 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/

/* UTF-8 */
#pragma code_page(65001)

#ifdef LANG_WALON

LANGUAGE LANG_WALON, SUBLANG_DEFAULT
Expand Down Expand Up @@ -85,3 +88,5 @@ Cloyoz on programe ou pus po monter li memwere libe."
}

#endif /* LANG_WALON */

#pragma code_page(default)
5 changes: 5 additions & 0 deletions windows/Zh.rc
Expand Up @@ -18,6 +18,9 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/

/* UTF-8 */
#pragma code_page(65001)

MAIN_MENU MENU LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
{
POPUP "文件(&F)" {
Expand Down Expand Up @@ -77,3 +80,5 @@ STRING_OUT_OF_MEMORY, "没有足够的内存可以用来完成
\n请关闭一些程序施放内存后再试。"

}

#pragma code_page(default)

0 comments on commit 9b2804a

Please sign in to comment.