[CRYPTDLG]
authorChristoph von Wittich <christoph_vw@reactos.org>
Wed, 3 Mar 2010 20:42:01 +0000 (20:42 +0000)
committerChristoph von Wittich <christoph_vw@reactos.org>
Wed, 3 Mar 2010 20:42:01 +0000 (20:42 +0000)
sync cryptdlg to wine 1.1.39

svn path=/trunk/; revision=45801

reactos/dll/win32/cryptdlg/cryptdlg.rc
reactos/dll/win32/cryptdlg/cryptdlg_Fr.rc
reactos/dll/win32/cryptdlg/cryptdlg_Uk.rc [new file with mode: 0644]
reactos/dll/win32/cryptdlg/main.c

index dd9f97f..7ea41c5 100644 (file)
 #include "winuser.h"
 #include "cryptres.h"
 
 #include "winuser.h"
 #include "cryptres.h"
 
-#include "cryptdlg_De.rc"
 #include "cryptdlg_En.rc"
 #include "cryptdlg_En.rc"
-#include "cryptdlg_Fr.rc"
 #include "cryptdlg_Ko.rc"
 #include "cryptdlg_Ko.rc"
-#include "cryptdlg_Lt.rc"
 #include "cryptdlg_Nl.rc"
 #include "cryptdlg_Nl.rc"
+
+/* UTF-8 */
+#include "cryptdlg_De.rc"
+#include "cryptdlg_Fr.rc"
+#include "cryptdlg_Lt.rc"
+#include "cryptdlg_Uk.rc"
 #include "cryptdlg_Pt.rc"
 #include "cryptdlg_Ro.rc"
 #include "cryptdlg_Pt.rc"
 #include "cryptdlg_Ro.rc"
+
index 1deeaa3..25d8a64 100644 (file)
@@ -40,4 +40,3 @@ STRINGTABLE DISCARDABLE
     IDS_NOTICE_NUM "Numéro de l'avis ="
     IDS_NOTICE_TEXT "Texte de l'avis ="
 }
     IDS_NOTICE_NUM "Numéro de l'avis ="
     IDS_NOTICE_TEXT "Texte de l'avis ="
 }
-#pragma code_page(default)
diff --git a/reactos/dll/win32/cryptdlg/cryptdlg_Uk.rc b/reactos/dll/win32/cryptdlg/cryptdlg_Uk.rc
new file mode 100644 (file)
index 0000000..d90226f
--- /dev/null
@@ -0,0 +1,42 @@
+/*
+ * cryptdlg dll resources
+ *
+ * Copyright 2008 Juan Lang
+ * Copyright 2010 Igor Paliychuk
+ *
+ * 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 "cryptres.h"
+
+/* UTF-8 */
+#pragma code_page(65001)
+
+LANGUAGE LANG_UKRAINIAN, SUBLANG_DEFAULT
+
+STRINGTABLE DISCARDABLE
+{
+    IDS_CERT_POLICY "Certificate Policy"
+    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_USER_NOTICE "User Notice"
+    IDS_QUALIFIER "Qualifier"
+    IDS_NOTICE_REF "Notice Reference"
+    IDS_ORGANIZATION "Організація="
+    IDS_NOTICE_NUM "Notice Number="
+    IDS_NOTICE_TEXT "Notice Text="
+}
index 1971578..f6653ec 100644 (file)
@@ -535,7 +535,7 @@ static BOOL CRYPT_FormatCPS(DWORD dwCertEncodingType,
      pbEncoded, cbEncoded, CRYPT_DECODE_ALLOC_FLAG, NULL, &cpsValue, &size)))
     {
         LPCWSTR headingSep, sep;
      pbEncoded, cbEncoded, CRYPT_DECODE_ALLOC_FLAG, NULL, &cpsValue, &size)))
     {
         LPCWSTR headingSep, sep;
-        DWORD headingSepLen, sepLen;
+        DWORD sepLen;
 
         if (dwFormatStrType & CRYPT_FORMAT_STR_MULTI_LINE)
         {
 
         if (dwFormatStrType & CRYPT_FORMAT_STR_MULTI_LINE)
         {
@@ -547,8 +547,8 @@ static BOOL CRYPT_FormatCPS(DWORD dwCertEncodingType,
             headingSep = colonSpace;
             sep = commaSep;
         }
             headingSep = colonSpace;
             sep = commaSep;
         }
+
         sepLen = strlenW(sep);
         sepLen = strlenW(sep);
-        headingSepLen = strlenW(headingSep);
 
         if (dwFormatStrType & CRYPT_FORMAT_STR_MULTI_LINE)
         {
 
         if (dwFormatStrType & CRYPT_FORMAT_STR_MULTI_LINE)
         {