diff --git a/programs/write/De.rc b/programs/write/De.rc index c2afa0848ae..a9535767bb6 100644 --- a/programs/write/De.rc +++ b/programs/write/De.rc @@ -17,6 +17,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ +#include "resources.h" + LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL STRINGTABLE diff --git a/programs/write/En.rc b/programs/write/En.rc index 5215db51dc8..715957846c1 100644 --- a/programs/write/En.rc +++ b/programs/write/En.rc @@ -18,6 +18,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ +#include "resources.h" + LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT STRINGTABLE diff --git a/programs/write/Fr.rc b/programs/write/Fr.rc index 0258efc8142..a81dffda827 100644 --- a/programs/write/Fr.rc +++ b/programs/write/Fr.rc @@ -17,6 +17,9 @@ * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ + +#include "resources.h" + #pragma code_page(65001) LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL @@ -25,5 +28,3 @@ STRINGTABLE { IDS_FAILED, "Wordpad n'a pas pu être démarré" } - -#pragma code_page(default) diff --git a/programs/write/Ja.rc b/programs/write/Ja.rc index 237a53d5c48..5c9a8259a97 100644 --- a/programs/write/Ja.rc +++ b/programs/write/Ja.rc @@ -18,6 +18,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ +#include "resources.h" + /* UTF-8 */ #pragma code_page(65001) @@ -27,5 +29,3 @@ STRINGTABLE { IDS_FAILED, "Wordpad の起動に失敗しました" } - -#pragma code_page(default) diff --git a/programs/write/Ko.rc b/programs/write/Ko.rc index f78ea13b286..3e076c2d101 100644 --- a/programs/write/Ko.rc +++ b/programs/write/Ko.rc @@ -19,6 +19,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ +#include "resources.h" + LANGUAGE LANG_KOREAN, SUBLANG_DEFAULT STRINGTABLE diff --git a/programs/write/Lt.rc b/programs/write/Lt.rc index 63182f9ef47..5cef934fbc7 100644 --- a/programs/write/Lt.rc +++ b/programs/write/Lt.rc @@ -18,6 +18,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ +#include "resources.h" + /* UTF-8 */ #pragma code_page(65001) @@ -27,5 +29,3 @@ STRINGTABLE { IDS_FAILED, "Nepavyko paleisti Wordpad" } - -#pragma code_page(default) diff --git a/programs/write/Makefile.in b/programs/write/Makefile.in index eb9e0cafb35..be459b6b8fb 100644 --- a/programs/write/Makefile.in +++ b/programs/write/Makefile.in @@ -9,7 +9,21 @@ IMPORTS = user32 gdi32 kernel32 C_SRCS = write.c -RC_SRCS = rsrc.rc +RC_SRCS = \ + De.rc \ + En.rc \ + Fr.rc \ + Ja.rc \ + Ko.rc \ + Lt.rc \ + Nl.rc \ + No.rc \ + Pl.rc \ + Pt.rc \ + Ro.rc \ + Ru.rc \ + Si.rc \ + Sv.rc @MAKE_PROG_RULES@ diff --git a/programs/write/Nl.rc b/programs/write/Nl.rc index 5f1611ed851..6910cde8baa 100644 --- a/programs/write/Nl.rc +++ b/programs/write/Nl.rc @@ -18,6 +18,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ +#include "resources.h" + LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL STRINGTABLE diff --git a/programs/write/No.rc b/programs/write/No.rc index 9b5a4bd8fc7..b20abc3d56c 100644 --- a/programs/write/No.rc +++ b/programs/write/No.rc @@ -18,6 +18,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ +#include "resources.h" + LANGUAGE LANG_NORWEGIAN, SUBLANG_NORWEGIAN_BOKMAL STRINGTABLE diff --git a/programs/write/Pl.rc b/programs/write/Pl.rc index fc06b897f40..6a3c8ae3199 100644 --- a/programs/write/Pl.rc +++ b/programs/write/Pl.rc @@ -18,6 +18,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ +#include "resources.h" + LANGUAGE LANG_POLISH, SUBLANG_DEFAULT STRINGTABLE diff --git a/programs/write/Pt.rc b/programs/write/Pt.rc index e2ba2eb978d..95fad3463f4 100644 --- a/programs/write/Pt.rc +++ b/programs/write/Pt.rc @@ -18,6 +18,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ +#include "resources.h" + LANGUAGE LANG_PORTUGUESE, SUBLANG_NEUTRAL STRINGTABLE diff --git a/programs/write/Ro.rc b/programs/write/Ro.rc index 8a33118eb7f..f6a7b65665f 100644 --- a/programs/write/Ro.rc +++ b/programs/write/Ro.rc @@ -17,6 +17,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ +#include "resources.h" + LANGUAGE LANG_ROMANIAN, SUBLANG_NEUTRAL #pragma code_page(65001) @@ -25,5 +27,3 @@ STRINGTABLE { IDS_FAILED, "Execuția Wordpad a eșuat" } - -#pragma code_page(default) diff --git a/programs/write/Ru.rc b/programs/write/Ru.rc index 653d426b2cc..5824ad13f00 100644 --- a/programs/write/Ru.rc +++ b/programs/write/Ru.rc @@ -18,6 +18,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ +#include "resources.h" + LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT STRINGTABLE diff --git a/programs/write/Si.rc b/programs/write/Si.rc index d7e2226a0ca..9d3e5fe1520 100644 --- a/programs/write/Si.rc +++ b/programs/write/Si.rc @@ -18,6 +18,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ +#include "resources.h" + LANGUAGE LANG_SLOVENIAN, SUBLANG_DEFAULT #pragma code_page(65001) @@ -26,5 +28,3 @@ STRINGTABLE { IDS_FAILED, "Zagon programa Wordpad ni uspel" } - -#pragma code_page(default) diff --git a/programs/write/Sv.rc b/programs/write/Sv.rc index dea65213e0f..7cfa2acea01 100644 --- a/programs/write/Sv.rc +++ b/programs/write/Sv.rc @@ -18,6 +18,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ +#include "resources.h" + LANGUAGE LANG_SWEDISH, SUBLANG_NEUTRAL STRINGTABLE diff --git a/programs/write/resources.h b/programs/write/resources.h index e99e5b19a40..73ef91aa40f 100644 --- a/programs/write/resources.h +++ b/programs/write/resources.h @@ -16,4 +16,6 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ +#include + #define IDS_FAILED 101 diff --git a/programs/write/rsrc.rc b/programs/write/rsrc.rc deleted file mode 100644 index be1359de89e..00000000000 --- a/programs/write/rsrc.rc +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2007 Mikolaj Zalewski - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA - */ - -#include - -#include "resources.h" - -LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL - -#include "De.rc" -#include "En.rc" -#include "Fr.rc" -#include "Ja.rc" -#include "Ko.rc" -#include "Lt.rc" -#include "Nl.rc" -#include "No.rc" -#include "Pl.rc" -#include "Pt.rc" -#include "Ro.rc" -#include "Ru.rc" -#include "Si.rc" -#include "Sv.rc"