diff --git a/programs/net/Da.rc b/programs/net/Da.rc index 02694fd2a0d..3be4723a9b0 100644 --- a/programs/net/Da.rc +++ b/programs/net/Da.rc @@ -19,6 +19,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ +#include "resources.h" + LANGUAGE LANG_DANISH, SUBLANG_DEFAULT STRINGTABLE diff --git a/programs/net/De.rc b/programs/net/De.rc index 78f87ecafe6..0e2b0f3537a 100644 --- a/programs/net/De.rc +++ b/programs/net/De.rc @@ -19,6 +19,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ +#include "resources.h" + #pragma code_page(65001) LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL @@ -44,5 +46,3 @@ STRINGTABLE STRING_USE_HEADER, "\nStatus Lokal Entfernt\n---------------------------------------------------------------\n" STRING_USE_ENTRY, "%s %S %S Offene Ressourcen: %lu\n" } - -#pragma code_page(default) diff --git a/programs/net/En.rc b/programs/net/En.rc index 54da5ed188b..49233a4d9ee 100644 --- a/programs/net/En.rc +++ b/programs/net/En.rc @@ -19,6 +19,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/net/Fr.rc b/programs/net/Fr.rc index 38906498235..49e6be49298 100644 --- a/programs/net/Fr.rc +++ b/programs/net/Fr.rc @@ -18,6 +18,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 @@ -42,5 +45,3 @@ STRINGTABLE STRING_USE_HEADER, "\nStatut Local Distant\n---------------------------------------------------------------\n" STRING_USE_ENTRY, "%s %S %S Ressources ouvertes : %lu\n" } - -#pragma code_page(default) diff --git a/programs/net/Ko.rc b/programs/net/Ko.rc index 44775d3e4f6..713edf81c94 100644 --- a/programs/net/Ko.rc +++ b/programs/net/Ko.rc @@ -20,6 +20,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/net/Lt.rc b/programs/net/Lt.rc index 76893aefaea..7db57624d5c 100644 --- a/programs/net/Lt.rc +++ b/programs/net/Lt.rc @@ -19,6 +19,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ +#include "resources.h" + /* UTF-8 */ #pragma code_page(65001) @@ -45,5 +47,3 @@ STRINGTABLE STRING_USE_HEADER, "\nBūsena Vietinė Nutolusi\n---------------------------------------------------------------\n" STRING_USE_ENTRY, "%s %S %S Atverti ištekliai: %lu\n" } - -#pragma code_page(default) diff --git a/programs/net/Makefile.in b/programs/net/Makefile.in index 8ababf7f9a8..4f6f6fc7350 100644 --- a/programs/net/Makefile.in +++ b/programs/net/Makefile.in @@ -8,7 +8,19 @@ IMPORTS = netapi32 user32 advapi32 kernel32 C_SRCS = net.c -RC_SRCS = rsrc.rc +RC_SRCS = \ + Da.rc \ + De.rc \ + En.rc \ + Fr.rc \ + Ko.rc \ + Lt.rc \ + Nl.rc \ + No.rc \ + Pl.rc \ + Pt.rc \ + Ru.rc \ + Si.rc @MAKE_PROG_RULES@ diff --git a/programs/net/Nl.rc b/programs/net/Nl.rc index 93fa8347587..5f7e12bb09e 100644 --- a/programs/net/Nl.rc +++ b/programs/net/Nl.rc @@ -19,6 +19,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/net/No.rc b/programs/net/No.rc index bc0ad333ac5..7cd0b572eed 100644 --- a/programs/net/No.rc +++ b/programs/net/No.rc @@ -19,6 +19,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/net/Pl.rc b/programs/net/Pl.rc index c5ef8a38c4f..a60a5febc56 100644 --- a/programs/net/Pl.rc +++ b/programs/net/Pl.rc @@ -20,6 +20,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/net/Pt.rc b/programs/net/Pt.rc index 0efa8c2727b..0229cb9527c 100644 --- a/programs/net/Pt.rc +++ b/programs/net/Pt.rc @@ -19,6 +19,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/net/Ru.rc b/programs/net/Ru.rc index 33da048e0b3..a59394b8fdd 100644 --- a/programs/net/Ru.rc +++ b/programs/net/Ru.rc @@ -19,6 +19,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/net/Si.rc b/programs/net/Si.rc index 7130967b0d3..7a7e0cf0bef 100644 --- a/programs/net/Si.rc +++ b/programs/net/Si.rc @@ -19,6 +19,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ +#include "resources.h" + #pragma code_page(65001) LANGUAGE LANG_SLOVENIAN, SUBLANG_DEFAULT @@ -44,5 +46,3 @@ STRINGTABLE STRING_USE_HEADER, "\nStanje Lokalno Oddaljeno\n---------------------------------------------------------------\n" STRING_USE_ENTRY, "%s %S %S Porabljena sredstva: %lu\n" } - -#pragma code_page(default) diff --git a/programs/net/resources.h b/programs/net/resources.h index c5199fd932d..659e47f1ec7 100644 --- a/programs/net/resources.h +++ b/programs/net/resources.h @@ -16,6 +16,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ +#include + #define STRING_USAGE 101 #define STRING_START_USAGE 102 #define STRING_STOP_USAGE 103 diff --git a/programs/net/rsrc.rc b/programs/net/rsrc.rc deleted file mode 100644 index 3f393912d57..00000000000 --- a/programs/net/rsrc.rc +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright 2007 Tim Schwartz - * - * 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 "Da.rc" -#include "De.rc" -#include "En.rc" -#include "Fr.rc" -#include "Ko.rc" -#include "Lt.rc" -#include "Nl.rc" -#include "No.rc" -#include "Pl.rc" -#include "Pt.rc" -#include "Ru.rc" -#include "Si.rc"