mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[MSXML3R] XML/XSL file description localization (#1926)
Add localization for the file description of both XML and XSL file formats. Please check for copypasta errors! CORE-16390 Co-Authored-By: Stanislav Motylkov <x86corez@gmail.com>
This commit is contained in:
parent
9dd71e12b9
commit
43f03da358
11 changed files with 90 additions and 2 deletions
|
@ -400,7 +400,7 @@ HKCR,"txtfile\shell\print\command","",0x00000000,"notepad.exe /p ""%1"""
|
|||
HKCR,".xml","",0x00000000,"xmlfile"
|
||||
HKCR,".xml","Content Type",0x00000000,"text/xml"
|
||||
HKCR,"xmlfile","",0x00000000,%XMLFILE%
|
||||
;;HKCR,"xmlfile","FriendlyTypeName",0x00020000,"@%SystemRoot%\system32\msxml3r.dll,-1"
|
||||
HKCR,"xmlfile","FriendlyTypeName",0x00020000,"@%SystemRoot%\system32\msxml3r.dll,-1"
|
||||
HKCR,"xmlfile\DefaultIcon","",0x00020000,"%SystemRoot%\system32\msxml3.dll,0"
|
||||
HKCR,"xmlfile\shell\open\command","",0x00020000,"%SystemRoot%\system32\notepad.exe ""%1"""
|
||||
|
||||
|
@ -408,7 +408,7 @@ HKCR,"xmlfile\shell\open\command","",0x00020000,"%SystemRoot%\system32\notepad.e
|
|||
HKCR,".xsl","",0x00000000,"xslfile"
|
||||
HKCR,".xsl","Content Type",0x00000000,"text/xml"
|
||||
HKCR,"xslfile","",0x00000000,%XSLFILE%
|
||||
;;HKCR,"xslfile","FriendlyTypeName",0x00020000,"@%SystemRoot%\system32\msxml3r.dll,-2"
|
||||
HKCR,"xslfile","FriendlyTypeName",0x00020000,"@%SystemRoot%\system32\msxml3r.dll,-2"
|
||||
HKCR,"xslfile\DefaultIcon","",0x00020000,"%SystemRoot%\system32\msxml3.dll,1"
|
||||
HKCR,"xslfile\shell\open\command","",0x00020000,"%SystemRoot%\system32\notepad.exe ""%1"""
|
||||
|
||||
|
|
|
@ -127,6 +127,7 @@ add_subdirectory(mswsock)
|
|||
add_subdirectory(msxml)
|
||||
add_subdirectory(msxml2)
|
||||
add_subdirectory(msxml3)
|
||||
add_subdirectory(msxml3r)
|
||||
add_subdirectory(msxml4)
|
||||
add_subdirectory(msxml6)
|
||||
add_subdirectory(mycomput)
|
||||
|
|
4
dll/win32/msxml3r/CMakeLists.txt
Normal file
4
dll/win32/msxml3r/CMakeLists.txt
Normal file
|
@ -0,0 +1,4 @@
|
|||
|
||||
add_library(msxml3r SHARED msxml3r.rc)
|
||||
set_module_type(msxml3r win32dll ENTRYPOINT 0)
|
||||
add_cd_file(TARGET msxml3r DESTINATION reactos/system32 FOR all)
|
7
dll/win32/msxml3r/lang/en-US.rc
Normal file
7
dll/win32/msxml3r/lang/en-US.rc
Normal file
|
@ -0,0 +1,7 @@
|
|||
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_XML_FILE "XML Document"
|
||||
IDS_XLS_FILE "XSL Stylesheet"
|
||||
END
|
7
dll/win32/msxml3r/lang/es-ES.rc
Normal file
7
dll/win32/msxml3r/lang/es-ES.rc
Normal file
|
@ -0,0 +1,7 @@
|
|||
LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_XML_FILE "Documento XML"
|
||||
IDS_XLS_FILE "Hoja de estilos XSL"
|
||||
END
|
7
dll/win32/msxml3r/lang/fr-FR.rc
Normal file
7
dll/win32/msxml3r/lang/fr-FR.rc
Normal file
|
@ -0,0 +1,7 @@
|
|||
LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_XML_FILE "Document XML"
|
||||
IDS_XLS_FILE "Feuille de style XSL"
|
||||
END
|
7
dll/win32/msxml3r/lang/it-IT.rc
Normal file
7
dll/win32/msxml3r/lang/it-IT.rc
Normal file
|
@ -0,0 +1,7 @@
|
|||
LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_XML_FILE "Documento XML"
|
||||
IDS_XLS_FILE "Foglio di stile XSL"
|
||||
END
|
7
dll/win32/msxml3r/lang/ro-RO.rc
Normal file
7
dll/win32/msxml3r/lang/ro-RO.rc
Normal file
|
@ -0,0 +1,7 @@
|
|||
LANGUAGE LANG_ROMANIAN, SUBLANG_NEUTRAL
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_XML_FILE "Document XML"
|
||||
IDS_XLS_FILE "Foaie de stil XSL"
|
||||
END
|
7
dll/win32/msxml3r/lang/ru-RU.rc
Normal file
7
dll/win32/msxml3r/lang/ru-RU.rc
Normal file
|
@ -0,0 +1,7 @@
|
|||
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_XML_FILE "Документ XML"
|
||||
IDS_XLS_FILE "Таблица стилей XSL"
|
||||
END
|
34
dll/win32/msxml3r/msxml3r.rc
Normal file
34
dll/win32/msxml3r/msxml3r.rc
Normal file
|
@ -0,0 +1,34 @@
|
|||
#include <windef.h>
|
||||
|
||||
#include "resource.h"
|
||||
|
||||
#define REACTOS_VERSION_DLL
|
||||
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS MSXML 3.0 Resource Library"
|
||||
#define REACTOS_STR_INTERNAL_NAME "msxml3r"
|
||||
#define REACTOS_STR_ORIGINAL_FILENAME "msxml3r.dll"
|
||||
|
||||
#include <reactos/version.rc>
|
||||
|
||||
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
|
||||
|
||||
/* UTF-8 */
|
||||
#pragma code_page(65001)
|
||||
|
||||
#ifdef LANGUAGE_EN_US
|
||||
#include "lang/en-US.rc"
|
||||
#endif
|
||||
#ifdef LANGUAGE_ES_ES
|
||||
#include "lang/es-ES.rc"
|
||||
#endif
|
||||
#ifdef LANGUAGE_FR_FR
|
||||
#include "lang/fr-FR.rc"
|
||||
#endif
|
||||
#ifdef LANGUAGE_IT_IT
|
||||
#include "lang/it-IT.rc"
|
||||
#endif
|
||||
#ifdef LANGUAGE_RO_RO
|
||||
#include "lang/ro-RO.rc"
|
||||
#endif
|
||||
#ifdef LANGUAGE_RU_RU
|
||||
#include "lang/ru-RU.rc"
|
||||
#endif
|
7
dll/win32/msxml3r/resource.h
Normal file
7
dll/win32/msxml3r/resource.h
Normal file
|
@ -0,0 +1,7 @@
|
|||
#ifndef RESOURCE_H
|
||||
#define RESOURCE_H
|
||||
|
||||
#define IDS_XML_FILE 1
|
||||
#define IDS_XLS_FILE 2
|
||||
|
||||
#endif /* RESOURCE_H */
|
Loading…
Reference in a new issue