[CRYPTDLG]

sync cryptdlg to wine 1.1.39

svn path=/trunk/; revision=45801
This commit is contained in:
Christoph von Wittich 2010-03-03 20:42:01 +00:00
parent 072bfa4745
commit 37f36cd583
4 changed files with 51 additions and 6 deletions

View file

@ -22,11 +22,15 @@
#include "winuser.h"
#include "cryptres.h"
#include "cryptdlg_De.rc"
#include "cryptdlg_En.rc"
#include "cryptdlg_Fr.rc"
#include "cryptdlg_Ko.rc"
#include "cryptdlg_Lt.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"

View file

@ -40,4 +40,3 @@ STRINGTABLE DISCARDABLE
IDS_NOTICE_NUM "Numéro de l'avis ="
IDS_NOTICE_TEXT "Texte de l'avis ="
}
#pragma code_page(default)

View file

@ -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="
}

View file

@ -535,7 +535,7 @@ static BOOL CRYPT_FormatCPS(DWORD dwCertEncodingType,
pbEncoded, cbEncoded, CRYPT_DECODE_ALLOC_FLAG, NULL, &cpsValue, &size)))
{
LPCWSTR headingSep, sep;
DWORD headingSepLen, sepLen;
DWORD sepLen;
if (dwFormatStrType & CRYPT_FORMAT_STR_MULTI_LINE)
{
@ -547,8 +547,8 @@ static BOOL CRYPT_FormatCPS(DWORD dwCertEncodingType,
headingSep = colonSpace;
sep = commaSep;
}
sepLen = strlenW(sep);
headingSepLen = strlenW(headingSep);
if (dwFormatStrType & CRYPT_FORMAT_STR_MULTI_LINE)
{