From 0b98d108bcc03fc02cca53e330929cc03bb5dc17 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 27 Mar 2008 13:46:04 +0100 Subject: [PATCH] winefile: Remove some unused resources. --- programs/winefile/De.rc | 27 --------------------------- programs/winefile/En.rc | 26 +------------------------- programs/winefile/Es.rc | 24 ------------------------ programs/winefile/Fr.rc | 27 --------------------------- programs/winefile/Ko.rc | 25 ------------------------- programs/winefile/Nl.rc | 24 ------------------------ programs/winefile/No.rc | 24 ------------------------ programs/winefile/Pl.rc | 24 ------------------------ programs/winefile/Ru.rc | 24 ------------------------ programs/winefile/resource.h | 7 ------- programs/winefile/winefile.c | 24 ------------------------ 11 files changed, 1 insertion(+), 255 deletions(-) diff --git a/programs/winefile/De.rc b/programs/winefile/De.rc index 9ae730c5edc..ae1a80fc3bf 100644 --- a/programs/winefile/De.rc +++ b/programs/winefile/De.rc @@ -254,30 +254,3 @@ STRINGTABLE IDS_FREE_SPACE_FMT "%s von %s frei" } - -STRINGTABLE -{ -IDS_LICENSE_CAPTION, "LIZENZ" -IDS_LICENSE, -"Diese Bibliothek ist freie Software; Sie dürfen sie unter den \ -Bedingungen der GNU Lesser General Public License, wie von der \ -Free Software Foundation veröffentlicht, weiterverteilen und/oder \ -modifizieren; entweder gemäß Version 2.1 der Lizenz oder (nach \ -Ihrer Option) jeder späteren Version.\n\ -Diese Bibliothek wird in der Hoffnung weiterverbreitet, daß sie \ -nützlich sein wird, jedoch OHNE IRGENDEINE GARANTIE, auch ohne \ -die implizierte Garantie der MARKTREIFE oder der VERWENDBARKEIT \ -FÜR EINEN BESTIMMTEN ZWECK. Mehr Details finden Sie in der \ -GNU Lesser General Public License.\n\ -Sie sollten eine Kopie der GNU Lesser General Public License zusammen \ -mit dieser Bibliothek erhalten haben; falls nicht, schreiben Sie an \ -die Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, \ -Boston, MA 02110, USA." - -IDS_WARRANTY_CAPTION, "KEINE GARANTIE" -IDS_WARRANTY, -"Diese Bibliothek wird in der Hoffnung weiterverbreitet, daß sie nützlich \ -sein wird, jedoch OHNE IRGENDEINE GARANTIE, auch ohne die implizierte Garantie \ -der MARKTREIFE oder der VERWENDBARKEIT FÜR EINEN BESTIMMTEN ZWECK. Mehr Details \ -finden Sie in der GNU Lesser General Public License." -} diff --git a/programs/winefile/En.rc b/programs/winefile/En.rc index 90ccb527ce4..ae059d2515b 100644 --- a/programs/winefile/En.rc +++ b/programs/winefile/En.rc @@ -233,7 +233,7 @@ STRINGTABLE STRINGTABLE { - IDS_WINEFILE "Winefile" + IDS_WINEFILE "Wine File Manager" IDS_ERROR "Error" IDS_ROOT_FS "root fs" IDS_UNIXFS "unixfs" @@ -258,27 +258,3 @@ STRINGTABLE IDS_FREE_SPACE_FMT "%s of %s free" } - -STRINGTABLE -{ -IDS_LICENSE_CAPTION, "LICENSE" -IDS_LICENSE, -"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.\n\ -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.\n\ -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" - -IDS_WARRANTY_CAPTION, "NO WARRANTY" -IDS_WARRANTY, -"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." -} diff --git a/programs/winefile/Es.rc b/programs/winefile/Es.rc index 1b9f3e2a081..fa82f4fd563 100644 --- a/programs/winefile/Es.rc +++ b/programs/winefile/Es.rc @@ -256,27 +256,3 @@ STRINGTABLE IDS_FREE_SPACE_FMT "%s de %s libre" } - -STRINGTABLE -{ -IDS_LICENSE_CAPTION, "LICENCIA" -IDS_LICENSE, -"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.\n\ -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.\n\ -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" - -IDS_WARRANTY_CAPTION, "SIN GARANTÍA" -IDS_WARRANTY, -"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." -} diff --git a/programs/winefile/Fr.rc b/programs/winefile/Fr.rc index 3f0bef9f209..2a8207f5f83 100644 --- a/programs/winefile/Fr.rc +++ b/programs/winefile/Fr.rc @@ -260,30 +260,3 @@ STRINGTABLE IDS_FREE_SPACE_FMT "%s sur %s libre" } - -STRINGTABLE -{ -IDS_LICENSE_CAPTION, "LICENCE" -IDS_LICENSE, -"Cette bibliothèque est libre, vous pouvez la redistribuer et/ou \ -la modifier selon les termes de la Licence Publique Générale GNU \ -Limitée publiée par la Free Software Foundation (version 2.1 ou \ -bien toute autre version ultérieure choisie par vous).\n\ -Cette bibliothèque est distribuée car potentiellement utile, \ -mais SANS AUCUNE GARANTIE, ni explicite ni implicite, y compris \ -les garanties de commercialisation ou d'adaptation dans un but \ -spécifique. Reportez-vous à la Licence Publique Générale GNU \ -Limitée pour plus de détails.\n\ -Vous devez avoir reçu une copie de la Licence Publique Générale \ -GNU Limitée en même temps que cette bibliothèque ; si ce n'est pas \ -le cas, écrivez à la Free Software Foundation, Inc., 51 Franklin St, \ -Fifth Floor, Boston, MA 02111-1301, États-Unis." - -IDS_WARRANTY_CAPTION, "AUCUNE GARANTIE" -IDS_WARRANTY, -"Cette bibliothèque est distribuée car potentiellement utile, \ -mais SANS AUCUNE GARANTIE, ni explicite ni implicite, y compris \ -les garanties de commercialisation ou d'adaptation dans un but \ -spécifique. Reportez-vous à la Licence Publique Générale GNU \ -Limitée pour plus de détails." -} diff --git a/programs/winefile/Ko.rc b/programs/winefile/Ko.rc index 1c469fa735c..6a6f12d1d4c 100644 --- a/programs/winefile/Ko.rc +++ b/programs/winefile/Ko.rc @@ -259,28 +259,3 @@ STRINGTABLE IDS_FREE_SPACE_FMT "%s of %s »ç¿ë°¡´É" } - - -STRINGTABLE -{ -IDS_LICENSE_CAPTION, "¶óÀ̼¾" -IDS_LICENSE, -"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.\n\ -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.\n\ -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" - -IDS_WARRANTY_CAPTION, "º¸Áõ ¾øÀ½" -IDS_WARRANTY, -"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." -} diff --git a/programs/winefile/Nl.rc b/programs/winefile/Nl.rc index 99a62f829ab..06eef8e347b 100644 --- a/programs/winefile/Nl.rc +++ b/programs/winefile/Nl.rc @@ -255,27 +255,3 @@ STRINGTABLE IDS_FREE_SPACE_FMT "%s van %s vrij" } - -STRINGTABLE -{ -IDS_LICENSE_CAPTION, "LICENTIE" -IDS_LICENSE, -"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.\n\ -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.\n\ -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" - -IDS_WARRANTY_CAPTION, "NO WARRANTY" -IDS_WARRANTY, -"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." -} diff --git a/programs/winefile/No.rc b/programs/winefile/No.rc index 4fa957ae0c0..8a2377025a6 100644 --- a/programs/winefile/No.rc +++ b/programs/winefile/No.rc @@ -256,27 +256,3 @@ STRINGTABLE IDS_FREE_SPACE_FMT "%s av %s ledig" } - -STRINGTABLE -{ -IDS_LICENSE_CAPTION, "LISENS" -IDS_LICENSE, -"Dette biblioteket er fri programvare; du kan redistribuere det \ -og/eller endre det under vilkårene i «GNU Lesser General Public \ -License», utgitt av the Free Software Foundation; enten \ -versjon 2.1 av Lisensen, eller (hvis du ønsker det) en nyere versjon.\n\ -Dette biblioteket distribueres i håp om at det er nyttig, \ -men UTEN ENHVER GARANTI; ikke engang den uttrykte garantien for \ -HANDELSDYKTIGHET eller EGNETHET FOR ET SPESIELT FORMÅL. Se «GNU \ -Lesser General Public License» for flere detaljer.\n\ -Du skal ha mottatt et eksemplar av «GNU Lesser General Public \ -License» sammen med dette biblioteket; hvis ikke, skriv til: the Free Software \ -Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA" - -IDS_WARRANTY_CAPTION, "INGEN GARANTI" -IDS_WARRANTY, -"Dette biblioteket distribueres i håp om at det er nyttig, \ -men UTEN ENHVER GARANTI; ikke engang en uttrykte garantien for \ -HANDELSDYKTIGHET eller EGNETHET FOR ET SPESIELT FORMÅL. Se «GNU \ -Lesser General Public License» for flere detaljer." -} diff --git a/programs/winefile/Pl.rc b/programs/winefile/Pl.rc index 2aafd195c51..480c862c1c6 100644 --- a/programs/winefile/Pl.rc +++ b/programs/winefile/Pl.rc @@ -258,27 +258,3 @@ STRINGTABLE IDS_FREE_SPACE_FMT "%s z %s wolne" } - -STRINGTABLE -{ -IDS_LICENSE_CAPTION, "LICENCJA" -IDS_LICENSE, -"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.\n\ -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.\n\ -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" - -IDS_WARRANTY_CAPTION, "BEZ GWARANCJI" -IDS_WARRANTY, -"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." -} diff --git a/programs/winefile/Ru.rc b/programs/winefile/Ru.rc index c353a67cc1d..dd07152b491 100644 --- a/programs/winefile/Ru.rc +++ b/programs/winefile/Ru.rc @@ -255,27 +255,3 @@ STRINGTABLE IDS_FREE_SPACE_FMT "%s èç %s ñâîáîäíî" } - -STRINGTABLE -{ -IDS_LICENSE_CAPTION, "Ëèöåíçèÿ" -IDS_LICENSE, -"Ýòà ðàáîòà ÿâëÿåòñÿ ñâîáîäíûì ïðîãðàììíûì îáåñïå÷åíèåì; âû ìîæåòå ñâîáîäíî ðàñïðîñòðàíÿòü è/èëè \ -èçìåíÿòü å¸ ïðè ñîáëþäåíèè óñëîâèé ëèöåíçèè GNU Lesser General Public \ -êîòîðàÿ áûëà îïóáëèêîâàíà Free Software Foundation; \ -ëèáî âåðñèè 2.1, ëèáî ëþáîé áîëåå ïîçäíåé âåðñèè.\n\ -Äàííàÿ ðàáîòà ðàñïðîñòðàíÿåòñÿ â íàäåæäå, ÷òî îíà áóäåò ïîëåçíîé, \ -íî ÁÅÇ ÂÑßÊÎÉ ÃÀÐÀÍÒÈÈ; â òîì ÷èñëå áåç âûòåêàþùåé ãàðàíòèè \ -ÒÎÂÀÐÍÎÉ ÏÐÈÃÎÄÍÎÑÒÈ èëè ÏÐÈÃÎÄÍÎÑÒÈ ÄËß ×ÀÑÒÍÎÃÎ ÈÑÏÎËÜÇÎÂÀÍÈß. \ -Ñì. GNU Lesser General Public License äëÿ áîëåå ïîäðîáíîé èíôîðìàöèè.\n\ -Âû äîëæíû áûëè ïîëó÷èòü êîïèþ the GNU Lesser General Public \ -License âìåñòå ñ ýòîé ðàáîòîé; åñëè íåò, ïèøèòå: the Free Software \ -Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA" - -IDS_WARRANTY_CAPTION, "Îòñóòñòâèå ãàðàíòèè" -IDS_WARRANTY, -"Äàííàÿ ðàáîòà ðàñïðîñòðàíÿåòñÿ â íàäåæäå, ÷òî îíà áóäåò ïîëåçíîé, \ -íî ÁÅÇ ÂÑßÊÎÉ ÃÀÐÀÍÒÈÈ; â òîì ÷èñëå áåç âûòåêàþùåé ãàðàíòèè \ -ÒÎÂÀÐÍÎÉ ÏÐÈÃÎÄÍÎÑÒÈ èëè ÏÐÈÃÎÄÍÎÑÒÈ ÄËß ×ÀÑÒÍÎÃÎ ÈÑÏÎËÜÇÎÂÀÍÈß. \ -Ñì. GNU Lesser General Public License äëÿ áîëåå ïîäðîáíîé èíôîðìàöèè." -} diff --git a/programs/winefile/resource.h b/programs/winefile/resource.h index dba8853ddc7..1e843e52b39 100644 --- a/programs/winefile/resource.h +++ b/programs/winefile/resource.h @@ -101,8 +101,6 @@ /* winefile extensions */ -#define ID_LICENSE 0x8001 -#define ID_NO_WARRANTY 0x8002 #define ID_WINDOW_AUTOSORT 0x8003 #define ID_VIEW_FULLSCREEN 0x8004 #define ID_PREFERRED_SIZES 0x8005 @@ -134,11 +132,6 @@ #define IDS_COL_SEC 1218 #define IDS_FREE_SPACE_FMT 1219 -#define IDS_LICENSE_CAPTION 1300 -#define IDS_LICENSE 1301 -#define IDS_WARRANTY_CAPTION 1302 -#define IDS_WARRANTY 1303 - /* range for drive bar command ids: 0x9000..0x90FF */ #ifdef __WINE__ diff --git a/programs/winefile/winefile.c b/programs/winefile/winefile.c index df6058c5594..ec9b8b5f613 100644 --- a/programs/winefile/winefile.c +++ b/programs/winefile/winefile.c @@ -244,22 +244,6 @@ static void display_network_error(HWND hwnd) MessageBox(hwnd, msg, RS(b2,IDS_WINEFILE), MB_OK); } -static VOID WineLicense(HWND Wnd) -{ - WCHAR cap[20], text[1024]; - LoadStringW(Globals.hInstance, IDS_LICENSE, text, 1024); - LoadStringW(Globals.hInstance, IDS_LICENSE_CAPTION, cap, 20); - MessageBoxW(Wnd, text, cap, MB_ICONINFORMATION | MB_OK); -} - -static VOID WineWarranty(HWND Wnd) -{ - WCHAR cap[20], text[1024]; - LoadStringW(Globals.hInstance, IDS_WARRANTY, text, 1024); - LoadStringW(Globals.hInstance, IDS_WARRANTY_CAPTION, cap, 20); - MessageBoxW(Wnd, text, cap, MB_ICONEXCLAMATION | MB_OK); -} - static inline BOOL get_check(HWND hwnd, INT id) { return BST_CHECKED&SendMessageW(GetDlgItem(hwnd, id), BM_GETSTATE, 0, 0); @@ -2509,14 +2493,6 @@ static LRESULT CALLBACK FrameWndProc(HWND hwnd, UINT nmsg, WPARAM wparam, LPARAM /*TODO: There are even more menu items! */ - case ID_LICENSE: - WineLicense(Globals.hMainWnd); - break; - - case ID_NO_WARRANTY: - WineWarranty(Globals.hMainWnd); - break; - case ID_ABOUT: ShellAbout(hwnd, RS(b1,IDS_WINEFILE), NULL, LoadImage( Globals.hInstance, MAKEINTRESOURCE(IDI_WINEFILE), -- 2.11.4.GIT