cryptdlg: Build language resource files separately.
Instead of including them from an other rc file.
This commit is contained in:
parent
da01cf93ac
commit
c0039ecd85
|
@ -8,7 +8,14 @@ IMPORTS = cryptui crypt32 wintrust user32 advapi32 kernel32
|
||||||
C_SRCS = \
|
C_SRCS = \
|
||||||
main.c
|
main.c
|
||||||
|
|
||||||
RC_SRCS = cryptdlg.rc
|
RC_SRCS = \
|
||||||
|
cryptdlg_De.rc \
|
||||||
|
cryptdlg_En.rc \
|
||||||
|
cryptdlg_Fr.rc \
|
||||||
|
cryptdlg_Ko.rc \
|
||||||
|
cryptdlg_Lt.rc \
|
||||||
|
cryptdlg_Nl.rc \
|
||||||
|
cryptdlg_Ro.rc
|
||||||
|
|
||||||
@MAKE_DLL_RULES@
|
@MAKE_DLL_RULES@
|
||||||
|
|
||||||
|
|
|
@ -1,31 +0,0 @@
|
||||||
/*
|
|
||||||
* cryptdlg dll resources
|
|
||||||
*
|
|
||||||
* Copyright 2008 Juan Lang
|
|
||||||
*
|
|
||||||
* 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 "windef.h"
|
|
||||||
#include "winbase.h"
|
|
||||||
#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"
|
|
||||||
#include "cryptdlg_Ro.rc"
|
|
|
@ -18,6 +18,8 @@
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "cryptres.h"
|
||||||
|
|
||||||
LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
|
LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
|
||||||
|
|
||||||
STRINGTABLE DISCARDABLE
|
STRINGTABLE DISCARDABLE
|
||||||
|
|
|
@ -18,6 +18,8 @@
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "cryptres.h"
|
||||||
|
|
||||||
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
|
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
|
||||||
|
|
||||||
STRINGTABLE DISCARDABLE
|
STRINGTABLE DISCARDABLE
|
||||||
|
|
|
@ -18,6 +18,8 @@
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "cryptres.h"
|
||||||
|
|
||||||
LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
|
LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
|
||||||
|
|
||||||
STRINGTABLE DISCARDABLE
|
STRINGTABLE DISCARDABLE
|
||||||
|
|
|
@ -19,6 +19,8 @@
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "cryptres.h"
|
||||||
|
|
||||||
LANGUAGE LANG_KOREAN, SUBLANG_DEFAULT
|
LANGUAGE LANG_KOREAN, SUBLANG_DEFAULT
|
||||||
|
|
||||||
STRINGTABLE DISCARDABLE
|
STRINGTABLE DISCARDABLE
|
||||||
|
|
|
@ -18,6 +18,8 @@
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "cryptres.h"
|
||||||
|
|
||||||
/* UTF-8 */
|
/* UTF-8 */
|
||||||
#pragma code_page(65001)
|
#pragma code_page(65001)
|
||||||
|
|
||||||
|
@ -37,5 +39,3 @@ STRINGTABLE DISCARDABLE
|
||||||
IDS_NOTICE_NUM "Pranešimo numeris="
|
IDS_NOTICE_NUM "Pranešimo numeris="
|
||||||
IDS_NOTICE_TEXT "Pranešimo tekstas="
|
IDS_NOTICE_TEXT "Pranešimo tekstas="
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma code_page(default)
|
|
||||||
|
|
|
@ -18,6 +18,8 @@
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "cryptres.h"
|
||||||
|
|
||||||
LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL
|
LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL
|
||||||
|
|
||||||
STRINGTABLE DISCARDABLE
|
STRINGTABLE DISCARDABLE
|
||||||
|
|
|
@ -18,6 +18,8 @@
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "cryptres.h"
|
||||||
|
|
||||||
/* UTF-8 */
|
/* UTF-8 */
|
||||||
#pragma code_page(65001)
|
#pragma code_page(65001)
|
||||||
|
|
||||||
|
@ -37,5 +39,3 @@ STRINGTABLE DISCARDABLE
|
||||||
IDS_NOTICE_NUM "Numărul notiței="
|
IDS_NOTICE_NUM "Numărul notiței="
|
||||||
IDS_NOTICE_TEXT "Textul notiței="
|
IDS_NOTICE_TEXT "Textul notiței="
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma code_page(default)
|
|
||||||
|
|
|
@ -18,6 +18,8 @@
|
||||||
#ifndef __CRYPTRES_H__
|
#ifndef __CRYPTRES_H__
|
||||||
#define __CRYPTRES_H__
|
#define __CRYPTRES_H__
|
||||||
|
|
||||||
|
#include <windef.h>
|
||||||
|
|
||||||
#define IDS_CERT_POLICY 100
|
#define IDS_CERT_POLICY 100
|
||||||
#define IDS_POLICY_ID 101
|
#define IDS_POLICY_ID 101
|
||||||
#define IDS_POLICY_QUALIFIER_INFO 102
|
#define IDS_POLICY_QUALIFIER_INFO 102
|
||||||
|
|
Loading…
Reference in New Issue