From 08276c29c36a8cbca2b6465c59c1779c84bb37f2 Mon Sep 17 00:00:00 2001 From: Hugh McMaster Date: Tue, 4 Feb 2014 18:06:40 +1100 Subject: Add regsvr32 resource strings --- programs/regsvr32/regsvr32.h | 31 +++++++++++++++++++++++++++++++ programs/regsvr32/regsvr32.rc | 23 +++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 programs/regsvr32/regsvr32.h diff --git a/programs/regsvr32/regsvr32.h b/programs/regsvr32/regsvr32.h new file mode 100644 index 0000000..4f02dc6 --- /dev/null +++ b/programs/regsvr32/regsvr32.h @@ -0,0 +1,31 @@ +/* + * Language resources for regsvr32 + * + * Copyright 2014 Hugh McMaster + * + * 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 + */ + +/* Translation IDs */ +#define STRING_USAGE 101 +#define STRING_UNRECOGNIZED_SWITCH 102 +#define STRING_DLL_LOAD_FAILED 103 +#define STRING_PROC_NOT_IMPLEMENTED 104 +#define STRING_REGISTER_FAILED 105 +#define STRING_REGISTER_SUCCESSFUL 106 +#define STRING_UNREGISTER_FAILED 107 +#define STRING_UNREGISTER_SUCCESSFUL 108 +#define STRING_INSTALL_UNINSTALL_FAILED 109 +#define STRING_INSTALLED_UNINSTALLED 110 diff --git a/programs/regsvr32/regsvr32.rc b/programs/regsvr32/regsvr32.rc index c1ebe47..3707882 100644 --- a/programs/regsvr32/regsvr32.rc +++ b/programs/regsvr32/regsvr32.rc @@ -27,3 +27,26 @@ #define WINE_PRODUCTVERSION_STR "5.0" #include "wine/wine_common_ver.rc" +#include "regsvr32.h" + +#pragma makedep po + +LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT + +STRINGTABLE +{ + STRING_USAGE, "\t[/u] unregister server\n\ +\t[/s] silent (no message boxes)\n\ +\t[/i] Call DllInstall passing it an optional [cmdline];\n\ +\t when used with /u calls dll uninstall\n\ +\t[/n] Do not call DllRegisterServer; this option must be used with [/i]\n" + STRING_UNRECOGNIZED_SWITCH, "Unrecognized switch %1!S!\n" + STRING_DLL_LOAD_FAILED, "Failed to load DLL %1!S!\n" + STRING_PROC_NOT_IMPLEMENTED, "%1!S! not implemented in DLL %2!S!\n" + STRING_REGISTER_FAILED, "Failed to register DLL %1!S!\n" + STRING_REGISTER_SUCCESSFUL, "Successfully registered DLL %1!S!\n" + STRING_UNREGISTER_FAILED, "Failed to unregister DLL %1!S!\n" + STRING_UNREGISTER_SUCCESSFUL, "Successfully unregistered DLL %1!S!\n" + STRING_INSTALL_UNINSTALL_FAILED, "Failed to %1!S! DLL %2!S!\n" + STRING_INSTALLED_UNINSTALLED, "Successfully %1!S! DLL %2!S!\n" +} -- 1.8.3.2