Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
de105680
Commit
de105680
authored
Jan 13, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
regedit: Build the file filter by hand instead of hardcoding it in resource strings.
parent
bfd56391
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
78 additions
and
24 deletions
+78
-24
Da.rc
programs/regedit/Da.rc
+3
-1
De.rc
programs/regedit/De.rc
+3
-1
En.rc
programs/regedit/En.rc
+3
-1
Es.rc
programs/regedit/Es.rc
+3
-1
Fr.rc
programs/regedit/Fr.rc
+3
-1
He.rc
programs/regedit/He.rc
+3
-1
It.rc
programs/regedit/It.rc
+3
-1
Ja.rc
programs/regedit/Ja.rc
+3
-1
Ko.rc
programs/regedit/Ko.rc
+3
-1
Lt.rc
programs/regedit/Lt.rc
+3
-1
Nl.rc
programs/regedit/Nl.rc
+3
-1
No.rc
programs/regedit/No.rc
+3
-1
Pl.rc
programs/regedit/Pl.rc
+3
-1
Pt.rc
programs/regedit/Pt.rc
+6
-2
Ro.rc
programs/regedit/Ro.rc
+3
-1
Ru.rc
programs/regedit/Ru.rc
+3
-1
Si.rc
programs/regedit/Si.rc
+3
-1
Sv.rc
programs/regedit/Sv.rc
+3
-1
Uk.rc
programs/regedit/Uk.rc
+3
-1
Zh.rc
programs/regedit/Zh.rc
+6
-2
framewnd.c
programs/regedit/framewnd.c
+9
-1
resource.h
programs/regedit/resource.h
+3
-1
No files found.
programs/regedit/Da.rc
View file @
de105680
...
...
@@ -308,7 +308,9 @@ STRINGTABLE
BEGIN
IDS_FILEDIALOG_IMPORT_TITLE "Importer registeringsdatabasefil"
IDS_FILEDIALOG_EXPORT_TITLE "Eksporter registeringsdatabasefil"
IDS_FILEDIALOG_FILTER "Registeringsdatabasefiler\0*.reg\0Win9x-/NT4-registerfiler (REGEDIT4)\0*.reg\0Alle filer (*.*)\0*.*\0\0"
IDS_FILEDIALOG_FILTER_REG "Registeringsdatabasefiler (*.reg)"
IDS_FILEDIALOG_FILTER_REG4 "Win9x-/NT4-registerfiler (REGEDIT4)"
IDS_FILEDIALOG_FILTER_ALL "Alle filer (*.*)"
END
STRINGTABLE
...
...
programs/regedit/De.rc
View file @
de105680
...
...
@@ -314,7 +314,9 @@ STRINGTABLE
BEGIN
IDS_FILEDIALOG_IMPORT_TITLE "Registry-Datei importieren"
IDS_FILEDIALOG_EXPORT_TITLE "Registry-Datei exportieren"
IDS_FILEDIALOG_FILTER "Registry-Dateien\0*.reg\0Win9x/NT4 Registry-Dateien (REGEDIT4)\0*.reg\0Alle Dateien (*.*)\0*.*\0\0"
IDS_FILEDIALOG_FILTER_REG "Registry-Dateien (*.reg)"
IDS_FILEDIALOG_FILTER_REG4 "Win9x/NT4 Registry-Dateien (REGEDIT4)"
IDS_FILEDIALOG_FILTER_ALL "Alle Dateien (*.*)"
END
STRINGTABLE
...
...
programs/regedit/En.rc
View file @
de105680
...
...
@@ -407,7 +407,9 @@ STRINGTABLE
BEGIN
IDS_FILEDIALOG_IMPORT_TITLE "Import Registry File"
IDS_FILEDIALOG_EXPORT_TITLE "Export Registry File"
IDS_FILEDIALOG_FILTER "Registry Files\0*.reg\0Win9x/NT4 Registry Files (REGEDIT4)\0*.reg\0All Files (*.*)\0*.*\0\0"
IDS_FILEDIALOG_FILTER_REG "Registry Files (*.reg)"
IDS_FILEDIALOG_FILTER_REG4 "Win9x/NT4 Registry Files (REGEDIT4)"
IDS_FILEDIALOG_FILTER_ALL "All Files (*.*)"
END
STRINGTABLE
...
...
programs/regedit/Es.rc
View file @
de105680
...
...
@@ -308,7 +308,9 @@ STRINGTABLE
BEGIN
IDS_FILEDIALOG_IMPORT_TITLE "Importar archivo de registro"
IDS_FILEDIALOG_EXPORT_TITLE "Exportar archivo de registro"
IDS_FILEDIALOG_FILTER "Archivos de registro\0*.reg\0Archivos de registro de Win9x/NT4 (REGEDIT4)\0*.reg\0Todos los archivos (*.*)\0*.*\0\0"
IDS_FILEDIALOG_FILTER_REG "Archivos de registro (*.reg)"
IDS_FILEDIALOG_FILTER_REG4 "Archivos de registro de Win9x/NT4 (REGEDIT4)"
IDS_FILEDIALOG_FILTER_ALL "Todos los archivos (*.*)"
END
STRINGTABLE
...
...
programs/regedit/Fr.rc
View file @
de105680
...
...
@@ -310,7 +310,9 @@ STRINGTABLE
BEGIN
IDS_FILEDIALOG_IMPORT_TITLE "Importer un fichier de registre"
IDS_FILEDIALOG_EXPORT_TITLE "Exporter un fichier de registre"
IDS_FILEDIALOG_FILTER "Fichiers de registres\0*.reg\0Fichiers de registres Win9x/NT4 (REGEDIT4)\0*.reg\0Tous les fichiers (*.*)\0*.*\0\0"
IDS_FILEDIALOG_FILTER_REG "Fichiers de registres (*.reg)"
IDS_FILEDIALOG_FILTER_REG4 "Fichiers de registres Win9x/NT4 (REGEDIT4)"
IDS_FILEDIALOG_FILTER_ALL "Tous les fichiers (*.*)"
END
STRINGTABLE
...
...
programs/regedit/He.rc
View file @
de105680
...
...
@@ -318,7 +318,9 @@ STRINGTABLE
BEGIN
IDS_FILEDIALOG_IMPORT_TITLE "יבוא קובץ רישום מערכת"
IDS_FILEDIALOG_EXPORT_TITLE "יצוא קובץ רישום מערכת"
IDS_FILEDIALOG_FILTER "קובצי רישום מערכת\0*.reg\0קובצי רישום מערכת שלWin9x/NT4 (REGEDIT4)\0*.reg\0כל הקבצים (*.*)\0*.*\0\0"
IDS_FILEDIALOG_FILTER_REG "קובצי רישום מערכת (*.reg)"
IDS_FILEDIALOG_FILTER_REG4 "קובצי רישום מערכת שלWin9x/NT4 (REGEDIT4)"
IDS_FILEDIALOG_FILTER_ALL "כל הקבצים (*.*)"
END
STRINGTABLE
...
...
programs/regedit/It.rc
View file @
de105680
...
...
@@ -310,7 +310,9 @@ STRINGTABLE
BEGIN
IDS_FILEDIALOG_IMPORT_TITLE "Importa file di registro"
IDS_FILEDIALOG_EXPORT_TITLE "Esporta file di registro"
IDS_FILEDIALOG_FILTER "File di registro\0*.reg\0File di registro Win9x/NT4 (REGEDIT4)\0*.reg\0Tutti i file (*.*)\0*.*\0\0"
IDS_FILEDIALOG_FILTER_REG "File di registro (*.reg)"
IDS_FILEDIALOG_FILTER_REG4 "File di registro Win9x/NT4 (REGEDIT4)"
IDS_FILEDIALOG_FILTER_ALL "Tutti i file (*.*)"
END
STRINGTABLE
...
...
programs/regedit/Ja.rc
View file @
de105680
...
...
@@ -308,7 +308,9 @@ STRINGTABLE
BEGIN
IDS_FILEDIALOG_IMPORT_TITLE "レジストリ ファイルのインポート"
IDS_FILEDIALOG_EXPORT_TITLE "レジストリ ファイルのエクスポート"
IDS_FILEDIALOG_FILTER "登録ファイル\0*.reg\0Win9x/NT4 登録ファイル (REGEDIT4)\0*.reg\0すべてのファイル (*.*)\0*.*\0\0"
IDS_FILEDIALOG_FILTER_REG "登録ファイル (*.reg)"
IDS_FILEDIALOG_FILTER_REG4 "Win9x/NT4 登録ファイル (REGEDIT4)"
IDS_FILEDIALOG_FILTER_ALL "すべてのファイル (*.*)"
END
STRINGTABLE
...
...
programs/regedit/Ko.rc
View file @
de105680
...
...
@@ -312,7 +312,9 @@ STRINGTABLE
BEGIN
IDS_FILEDIALOG_IMPORT_TITLE "레이지스트 파일 불러오기"
IDS_FILEDIALOG_EXPORT_TITLE "레지스트리 파일 내보내기"
IDS_FILEDIALOG_FILTER "레지스트리 파일\0*.reg\0Win9x/NT4 레지스트리 파일 (REGEDIT4)\0*.reg\0모든 파일 (*.*)\0*.*\0\0"
IDS_FILEDIALOG_FILTER_REG "레지스트리 파일 (*.reg)"
IDS_FILEDIALOG_FILTER_REG4 "Win9x/NT4 레지스트리 파일 (REGEDIT4)"
IDS_FILEDIALOG_FILTER_ALL "모든 파일 (*.*)"
END
STRINGTABLE
...
...
programs/regedit/Lt.rc
View file @
de105680
...
...
@@ -307,7 +307,9 @@ STRINGTABLE
BEGIN
IDS_FILEDIALOG_IMPORT_TITLE "Importuoti registro failą"
IDS_FILEDIALOG_EXPORT_TITLE "Eksportuoti registro failą"
IDS_FILEDIALOG_FILTER "Registro failai\0*.reg\0Win9x/NT4 registro failai (REGEDIT4)\0*.reg\0Visi failai (*.*)\0*.*\0\0"
IDS_FILEDIALOG_FILTER_REG "Registro failai (*.reg)"
IDS_FILEDIALOG_FILTER_REG4 "Win9x/NT4 registro failai (REGEDIT4)"
IDS_FILEDIALOG_FILTER_ALL "Visi failai (*.*)"
END
STRINGTABLE
...
...
programs/regedit/Nl.rc
View file @
de105680
...
...
@@ -307,7 +307,9 @@ STRINGTABLE
BEGIN
IDS_FILEDIALOG_IMPORT_TITLE "Registerbestand importeren"
IDS_FILEDIALOG_EXPORT_TITLE "Registerbestand exporteren"
IDS_FILEDIALOG_FILTER "Register Bestanden\0*.reg\0Win9x/NT4 Register Bestanden (REGEDIT4)\0*.reg\0Alle Bestanden (*.*)\0*.*\0\0"
IDS_FILEDIALOG_FILTER_REG "Register Bestanden (*.reg)"
IDS_FILEDIALOG_FILTER_REG4 "Win9x/NT4 Register Bestanden (REGEDIT4)"
IDS_FILEDIALOG_FILTER_ALL "Alle Bestanden (*.*)"
END
STRINGTABLE
...
...
programs/regedit/No.rc
View file @
de105680
...
...
@@ -307,7 +307,9 @@ STRINGTABLE
BEGIN
IDS_FILEDIALOG_IMPORT_TITLE "Importer registerfil"
IDS_FILEDIALOG_EXPORT_TITLE "Eksporter registerfil"
IDS_FILEDIALOG_FILTER "Registerfiler\0*.reg\0Win9x-/NT4-registerfiler (REGEDIT4)\0*.reg\0Alle filer (*.*)\0*.*\0\0"
IDS_FILEDIALOG_FILTER_REG "Registerfiler (*.reg)"
IDS_FILEDIALOG_FILTER_REG4 "Win9x-/NT4-registerfiler (REGEDIT4)"
IDS_FILEDIALOG_FILTER_ALL "Alle filer (*.*)"
END
STRINGTABLE
...
...
programs/regedit/Pl.rc
View file @
de105680
...
...
@@ -306,7 +306,9 @@ STRINGTABLE
BEGIN
IDS_FILEDIALOG_IMPORT_TITLE "Importuj plik rejestrw"
IDS_FILEDIALOG_EXPORT_TITLE "Eksportuj plik rejestrw"
IDS_FILEDIALOG_FILTER "Pliki rejestrw\0*.reg\0Pliki rejestrw Win9x/NT4 (REGEDIT4)\0*.reg\0Wszystkie pliki (*.*)\0*.*\0\0"
IDS_FILEDIALOG_FILTER_REG "Pliki rejestrw (*.reg)"
IDS_FILEDIALOG_FILTER_REG4 "Pliki rejestrw Win9x/NT4 (REGEDIT4)"
IDS_FILEDIALOG_FILTER_ALL "Wszystkie pliki (*.*)"
END
STRINGTABLE
...
...
programs/regedit/Pt.rc
View file @
de105680
...
...
@@ -483,7 +483,9 @@ STRINGTABLE
BEGIN
IDS_FILEDIALOG_IMPORT_TITLE "Importar Arquivo de Registro"
IDS_FILEDIALOG_EXPORT_TITLE "Exportar Arquivo de Registro"
IDS_FILEDIALOG_FILTER "Arquivos de Registro\0*.reg\0Arquivos de Registro Win9x/NT4 (REGEDIT4)\0*.reg\0Todos os Arquivos (*.*)\0*.*\0\0"
IDS_FILEDIALOG_FILTER_REG "Arquivos de Registro (*.reg)"
IDS_FILEDIALOG_FILTER_REG4 "Arquivos de Registro Win9x/NT4 (REGEDIT4)"
IDS_FILEDIALOG_FILTER_ALL "Todos os Arquivos (*.*)"
END
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE
...
...
@@ -492,7 +494,9 @@ STRINGTABLE
BEGIN
IDS_FILEDIALOG_IMPORT_TITLE "Importar Ficheiro de Registo"
IDS_FILEDIALOG_EXPORT_TITLE "Exportar Ficheiro de Registo"
IDS_FILEDIALOG_FILTER "Ficheiros de Registo\0*.reg\0Ficheiros de Registo Win9x/NT4 (REGEDIT4)\0*.reg\0Todos os Ficheiros (*.*)\0*.*\0\0"
IDS_FILEDIALOG_FILTER_REG "Ficheiros de Registo (*.reg)"
IDS_FILEDIALOG_FILTER_REG4 "Ficheiros de Registo Win9x/NT4 (REGEDIT4)"
IDS_FILEDIALOG_FILTER_ALL "Todos os Ficheiros (*.*)"
END
LANGUAGE LANG_PORTUGUESE, SUBLANG_NEUTRAL
...
...
programs/regedit/Ro.rc
View file @
de105680
...
...
@@ -309,7 +309,9 @@ STRINGTABLE
BEGIN
IDS_FILEDIALOG_IMPORT_TITLE "Importă fișierul registru"
IDS_FILEDIALOG_EXPORT_TITLE "Exportă fișierul registru"
IDS_FILEDIALOG_FILTER "Fișiere registru\\0*.reg\\0Win9x/NT4 Fișiere registru (REGEDIT4)\\0*.reg\\0Toate fișierele (*.*)\\0*.*\\0\\0"
IDS_FILEDIALOG_FILTER_REG "Fișiere registru (*.reg)"
IDS_FILEDIALOG_FILTER_REG4 "Win9x/NT4 Fișiere registru (REGEDIT4)"
IDS_FILEDIALOG_FILTER_ALL "Toate fișierele (*.*)"
END
STRINGTABLE
...
...
programs/regedit/Ru.rc
View file @
de105680
...
...
@@ -308,7 +308,9 @@ STRINGTABLE
BEGIN
IDS_FILEDIALOG_IMPORT_TITLE "Импорт файла реестра"
IDS_FILEDIALOG_EXPORT_TITLE "Экспорт файла реестра"
IDS_FILEDIALOG_FILTER "Все файлы реестра\0*.reg\0Файлы реестра для Win9x/NT4 (REGEDIT4)\0*.reg\0Все файлы (*.*)\0*.*\0\0"
IDS_FILEDIALOG_FILTER_REG "Все файлы реестра (*.reg)"
IDS_FILEDIALOG_FILTER_REG4 "Файлы реестра для Win9x/NT4 (REGEDIT4)"
IDS_FILEDIALOG_FILTER_ALL "Все файлы (*.*)"
END
STRINGTABLE
...
...
programs/regedit/Si.rc
View file @
de105680
...
...
@@ -307,7 +307,9 @@ STRINGTABLE
BEGIN
IDS_FILEDIALOG_IMPORT_TITLE "Uvozi registrsko datoteko"
IDS_FILEDIALOG_EXPORT_TITLE "Izvozi registrsko datoteko"
IDS_FILEDIALOG_FILTER "Registrske datoteke\0*.reg\0Win9x/NT4 registrske datoteke (REGEDIT4)\0*.reg\0Vse datoteke (*.*)\0*.*\0\0"
IDS_FILEDIALOG_FILTER_REG "Registrske datoteke (*.reg)"
IDS_FILEDIALOG_FILTER_REG4 "Win9x/NT4 registrske datoteke (REGEDIT4)"
IDS_FILEDIALOG_FILTER_ALL "Vse datoteke (*.*)"
END
STRINGTABLE
...
...
programs/regedit/Sv.rc
View file @
de105680
...
...
@@ -305,7 +305,9 @@ STRINGTABLE
BEGIN
IDS_FILEDIALOG_IMPORT_TITLE "Importera registerfil"
IDS_FILEDIALOG_EXPORT_TITLE "Exportera registerfil"
IDS_FILEDIALOG_FILTER "Registerfiler\0*.reg\0Win9x-/NT4-registerfiler (REGEDIT4)\0*.reg\0Alla filer (*.*)\0*.*\0\0"
IDS_FILEDIALOG_FILTER_REG "Registerfiler (*.reg)"
IDS_FILEDIALOG_FILTER_REG4 "Win9x-/NT4-registerfiler (REGEDIT4)"
IDS_FILEDIALOG_FILTER_ALL "Alla filer (*.*)"
END
STRINGTABLE
...
...
programs/regedit/Uk.rc
View file @
de105680
...
...
@@ -311,7 +311,9 @@ STRINGTABLE
BEGIN
IDS_FILEDIALOG_IMPORT_TITLE "Імпортувати файл реєстру"
IDS_FILEDIALOG_EXPORT_TITLE "Експортувати файл реєстру"
IDS_FILEDIALOG_FILTER "Файли реєстру\0*.reg\0Win9x/NT4 Файли реєстру (REGEDIT4)\0*.reg\0Всі Файли (*.*)\0*.*\0\0"
IDS_FILEDIALOG_FILTER_REG "Файли реєстру (*.reg)"
IDS_FILEDIALOG_FILTER_REG4 "Win9x/NT4 Файли реєстру (REGEDIT4)"
IDS_FILEDIALOG_FILTER_ALL "Всі Файли (*.*)"
END
STRINGTABLE
...
...
programs/regedit/Zh.rc
View file @
de105680
...
...
@@ -302,7 +302,9 @@ STRINGTABLE
BEGIN
IDS_FILEDIALOG_IMPORT_TITLE "导入注册表文件"
IDS_FILEDIALOG_EXPORT_TITLE "导出注册表文件"
IDS_FILEDIALOG_FILTER "注册表文件\0*.reg\0Win9x/NT4 注册表文件 (REGEDIT4)\0*.reg\0所有文件 (*.*)\0*.*\0\0"
IDS_FILEDIALOG_FILTER_REG "注册表文件 (*.reg)"
IDS_FILEDIALOG_FILTER_REG4 "Win9x/NT4 注册表文件 (REGEDIT4)"
IDS_FILEDIALOG_FILTER_ALL "所有文件 (*.*)"
END
STRINGTABLE
...
...
@@ -609,7 +611,9 @@ STRINGTABLE
BEGIN
IDS_FILEDIALOG_IMPORT_TITLE "導入註冊表檔案"
IDS_FILEDIALOG_EXPORT_TITLE "導出註冊表檔案"
IDS_FILEDIALOG_FILTER "註冊表檔案\0*.reg\0Win9x/NT4 註冊表檔案 (REGEDIT4)\0*.reg\0所有檔案 (*.*)\0*.*\0\0"
IDS_FILEDIALOG_FILTER_REG "註冊表檔案 (*.reg)"
IDS_FILEDIALOG_FILTER_REG4 "Win9x/NT4 註冊表檔案 (REGEDIT4)"
IDS_FILEDIALOG_FILTER_ALL "所有檔案 (*.*)"
END
STRINGTABLE
...
...
programs/regedit/framewnd.c
View file @
de105680
...
...
@@ -307,7 +307,15 @@ static BOOL InitOpenFileName(HWND hWnd, OPENFILENAMEW *pofn)
pofn
->
hInstance
=
hInst
;
if
(
FilterBuffer
[
0
]
==
0
)
LoadStringW
(
hInst
,
IDS_FILEDIALOG_FILTER
,
FilterBuffer
,
_MAX_PATH
);
{
static
const
WCHAR
filterW
[]
=
{
'%'
,
's'
,
'%'
,
'c'
,
'*'
,
'.'
,
'r'
,
'e'
,
'g'
,
'%'
,
'c'
,
'%'
,
's'
,
'%'
,
'c'
,
'*'
,
'.'
,
'r'
,
'e'
,
'g'
,
'%'
,
'c'
,
'%'
,
's'
,
'%'
,
'c'
,
'*'
,
'.'
,
'*'
,
'%'
,
'c'
,
0
};
WCHAR
filter_reg
[
MAX_PATH
],
filter_reg4
[
MAX_PATH
],
filter_all
[
MAX_PATH
];
LoadStringW
(
hInst
,
IDS_FILEDIALOG_FILTER_REG
,
filter_reg
,
MAX_PATH
);
LoadStringW
(
hInst
,
IDS_FILEDIALOG_FILTER_REG4
,
filter_reg4
,
MAX_PATH
);
LoadStringW
(
hInst
,
IDS_FILEDIALOG_FILTER_ALL
,
filter_all
,
MAX_PATH
);
snprintfW
(
FilterBuffer
,
MAX_PATH
,
filterW
,
filter_reg
,
0
,
0
,
filter_reg4
,
0
,
0
,
filter_all
,
0
,
0
);
}
pofn
->
lpstrFilter
=
FilterBuffer
;
pofn
->
nFilterIndex
=
2
;
pofn
->
lpstrFile
=
FileNameBuffer
;
...
...
programs/regedit/resource.h
View file @
de105680
...
...
@@ -50,7 +50,9 @@
#define IDR_POPUP_MENUS 137
#define IDS_FILEDIALOG_IMPORT_TITLE 144
#define IDS_FILEDIALOG_EXPORT_TITLE 145
#define IDS_FILEDIALOG_FILTER 146
#define IDS_FILEDIALOG_FILTER_REG 146
#define IDS_FILEDIALOG_FILTER_REG4 147
#define IDS_FILEDIALOG_FILTER_ALL 148
#define IDS_REGISTRY_ROOT_NAME 160
#define IDS_REGISTRY_DEFAULT_VALUE 161
#define IDS_REGISTRY_VALUE_NOT_SET 162
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment