Juan Lang : crypt32: Add a localized name for the TrustedPublisher store.
Alexandre Julliard
julliard at winehq.org
Wed Jan 21 06:39:42 CST 2009
Module: wine
Branch: master
Commit: 7e3881909d8ff7cc2a4dbce1ae41567645297ef0
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7e3881909d8ff7cc2a4dbce1ae41567645297ef0
Author: Juan Lang <juan.lang at gmail.com>
Date: Tue Jan 20 12:00:07 2009 -0800
crypt32: Add a localized name for the TrustedPublisher store.
---
dlls/crypt32/crypt32_En.rc | 1 +
dlls/crypt32/cryptres.h | 1 +
dlls/crypt32/oid.c | 5 +++--
3 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/dlls/crypt32/crypt32_En.rc b/dlls/crypt32/crypt32_En.rc
index ace77d2..e24ce86 100644
--- a/dlls/crypt32/crypt32_En.rc
+++ b/dlls/crypt32/crypt32_En.rc
@@ -171,6 +171,7 @@ STRINGTABLE DISCARDABLE
IDS_LOCALIZEDNAME_MY "Personal"
IDS_LOCALIZEDNAME_CA "Intermediate Certification Authorities"
IDS_LOCALIZEDNAME_ADDRESSBOOK "Other People"
+ IDS_LOCALIZEDNAME_TRUSTEDPUBLISHER "Trusted Publishers"
}
STRINGTABLE DISCARDABLE
diff --git a/dlls/crypt32/cryptres.h b/dlls/crypt32/cryptres.h
index 6d0ac46..fe2fd91 100644
--- a/dlls/crypt32/cryptres.h
+++ b/dlls/crypt32/cryptres.h
@@ -164,6 +164,7 @@
#define IDS_LOCALIZEDNAME_MY 1142
#define IDS_LOCALIZEDNAME_CA 1143
#define IDS_LOCALIZEDNAME_ADDRESSBOOK 1144
+#define IDS_LOCALIZEDNAME_TRUSTEDPUBLISHER 1145
#define IDS_KEY_ID 1200
#define IDS_CERT_ISSUER 1201
diff --git a/dlls/crypt32/oid.c b/dlls/crypt32/oid.c
index b4aae66..893e7f9 100644
--- a/dlls/crypt32/oid.c
+++ b/dlls/crypt32/oid.c
@@ -81,8 +81,9 @@ static const WCHAR ROOT[] = {'R','O','O','T',0};
static const WCHAR MY[] = {'M','Y',0};
static const WCHAR CA[] = {'C','A',0};
static const WCHAR ADDRESSBOOK[] = {'A','D','D','R','E','S','S','B','O','O','K',0};
-static const LPCWSTR LocalizedKeys[] = {ROOT,MY,CA,ADDRESSBOOK};
-static WCHAR LocalizedNames[4][256];
+static const WCHAR TRUSTEDPUBLISHER[] = {'T','r','u','s','t','e','d','P','u','b','l','i','s','h','e','r',0};
+static const LPCWSTR LocalizedKeys[] = {ROOT,MY,CA,ADDRESSBOOK,TRUSTEDPUBLISHER};
+static WCHAR LocalizedNames[sizeof(LocalizedKeys)/sizeof(LocalizedKeys[0])][256];
static void free_function_sets(void)
{
More information about the wine-cvs
mailing list