crypt32 & cryptdlg: Specify a message context for 'CA', 'OCSP' and 'CPS'.
Francois Gouget
fgouget at free.fr
Mon Sep 5 02:08:27 CDT 2011
The message context serves both to avoid future translation conflicts and as documentation for the translator.
---
'CA' is very ambiguous (was this California?) the others a bit less.
However with no context it's very hard to have any idea what these mean
and thus how to translate them. Maybe we should have a way to grab
comments from the source RC file.
dlls/crypt32/crypt32.rc | 6 +++---
dlls/cryptdlg/cryptdlg.rc | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/crypt32/crypt32.rc b/dlls/crypt32/crypt32.rc
index f3ed786..183cf0b 100644
--- a/dlls/crypt32/crypt32.rc
+++ b/dlls/crypt32/crypt32.rc
@@ -50,7 +50,7 @@ STRINGTABLE
IDS_UNSTRUCTURED_ADDRESS "Unstructured Address"
IDS_SMIME_CAPABILITIES "S/MIME Capabilities"
IDS_PREFER_SIGNED_DATA "Prefer Signed Data"
- IDS_CPS "CPS"
+ IDS_CPS "#msgctxt#Certification Practice Statement#CPS"
IDS_USER_NOTICE "User Notice"
IDS_OCSP "On-line Certificate Status Protocol"
IDS_CA_ISSUER "Certification Authority Issuer"
@@ -192,14 +192,14 @@ STRINGTABLE
IDS_ALT_NAME_REGISTERED_ID "Registered ID="
IDS_USAGE_UNKNOWN "Unknown Key Usage"
IDS_SUBJECT_TYPE "Subject Type="
- IDS_SUBJECT_TYPE_CA "CA"
+ IDS_SUBJECT_TYPE_CA "#msgctxt#Certificate Authority#CA"
IDS_SUBJECT_TYPE_END_CERT "End Entity"
IDS_PATH_LENGTH "Path Length Constraint="
IDS_PATH_LENGTH_NONE "#msgctxt#path length#None"
IDS_INFO_NOT_AVAILABLE "Information Not Available"
IDS_AIA "Authority Info Access"
IDS_ACCESS_METHOD "Access Method="
- IDS_ACCESS_METHOD_OCSP "OCSP"
+ IDS_ACCESS_METHOD_OCSP "#msgctxt#Online Certificate Status Protocol#OCSP"
IDS_ACCESS_METHOD_CA_ISSUERS "CA Issuers"
IDS_ACCESS_METHOD_UNKNOWN "Unknown Access Method"
IDS_ACCESS_LOCATION "Alternative Name"
diff --git a/dlls/cryptdlg/cryptdlg.rc b/dlls/cryptdlg/cryptdlg.rc
index 7e6d742..9b2ae56 100644
--- a/dlls/cryptdlg/cryptdlg.rc
+++ b/dlls/cryptdlg/cryptdlg.rc
@@ -28,7 +28,7 @@ STRINGTABLE
IDS_POLICY_ID "Policy Identifier: "
IDS_POLICY_QUALIFIER_INFO "Policy Qualifier Info"
IDS_POLICY_QUALIFIER_ID "Policy Qualifier Id="
- IDS_CPS "CPS" /* Certification Practice Statement */
+ IDS_CPS "#msgctxt#Certification Practice Statement#CPS"
IDS_USER_NOTICE "User Notice"
IDS_QUALIFIER "Qualifier"
IDS_NOTICE_REF "Notice Reference"
--
1.7.5.4
More information about the wine-patches
mailing list