reg: Handle a special case for Default values and 'reg query'.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Hugh McMaster 2016-07-21 07:36:44 +00:00 committed by Alexandre Julliard
parent 2b74ef1006
commit 73f60910e4
50 changed files with 207 additions and 191 deletions

View File

@ -11921,6 +11921,10 @@ msgstr ""
msgid "Type \"REG %1 /?\" for help.\n"
msgstr ""
#: reg.rc:65 regedit.rc:205
msgid "(value not set)"
msgstr "(القيمة غير مضبوطة)"
#: regedit.rc:34
msgid "&Registry"
msgstr "ال&سجل"
@ -12122,10 +12126,6 @@ msgstr "الملفات التسجيلية (*.reg)"
msgid "Win9x/NT4 Registry files (REGEDIT4)"
msgstr "الملفات التسجيلية من الجيل الرابع win9x/nt4"
#: regedit.rc:205
msgid "(value not set)"
msgstr "(القيمة غير مضبوطة)"
#: regedit.rc:206
msgid "(cannot display value)"
msgstr "(القيمة غير قابلة للعرض)"

View File

@ -11539,6 +11539,10 @@ msgstr ""
msgid "Type \"REG %1 /?\" for help.\n"
msgstr ""
#: reg.rc:65 regedit.rc:205
msgid "(value not set)"
msgstr ""
#: regedit.rc:34
msgid "&Registry"
msgstr "&Регистър"
@ -11748,10 +11752,6 @@ msgstr "&Вмъкни файл в регистъра..."
msgid "Win9x/NT4 Registry files (REGEDIT4)"
msgstr ""
#: regedit.rc:205
msgid "(value not set)"
msgstr ""
#: regedit.rc:206
msgid "(cannot display value)"
msgstr ""

View File

@ -11800,6 +11800,10 @@ msgstr ""
msgid "Type \"REG %1 /?\" for help.\n"
msgstr ""
#: reg.rc:65 regedit.rc:205
msgid "(value not set)"
msgstr "(valor no definit)"
#: regedit.rc:34
msgid "&Registry"
msgstr "&Registre"
@ -12002,10 +12006,6 @@ msgstr "Fitxers de registre (*.reg)"
msgid "Win9x/NT4 Registry files (REGEDIT4)"
msgstr "Fitxers de registre Win9x/NT4 (REGEDIT4)"
#: regedit.rc:205
msgid "(value not set)"
msgstr "(valor no definit)"
#: regedit.rc:206
msgid "(cannot display value)"
msgstr "(no es pot mostrar el valor)"

View File

@ -11612,6 +11612,10 @@ msgstr ""
msgid "Type \"REG %1 /?\" for help.\n"
msgstr ""
#: reg.rc:65 regedit.rc:205
msgid "(value not set)"
msgstr "(hodnota nenastavena)"
#: regedit.rc:34
msgid "&Registry"
msgstr "&Registr"
@ -11813,10 +11817,6 @@ msgstr "Soubory registru (*.reg)"
msgid "Win9x/NT4 Registry files (REGEDIT4)"
msgstr "Soubory registru Win9x/NT4 (REGEDIT4)"
#: regedit.rc:205
msgid "(value not set)"
msgstr "(hodnota nenastavena)"
#: regedit.rc:206
msgid "(cannot display value)"
msgstr "(není možné zobrazit hodnotu)"

View File

@ -11874,6 +11874,10 @@ msgstr ""
msgid "Type \"REG %1 /?\" for help.\n"
msgstr ""
#: reg.rc:65 regedit.rc:205
msgid "(value not set)"
msgstr "(værdi ikke sat)"
#: regedit.rc:34
msgid "&Registry"
msgstr "&Register"
@ -12077,10 +12081,6 @@ msgstr "Registreringsdatabasefiler (*.reg)"
msgid "Win9x/NT4 Registry files (REGEDIT4)"
msgstr "Win9x-/NT4-registeringsdatabasefiler (REGEDIT4)"
#: regedit.rc:205
msgid "(value not set)"
msgstr "(værdi ikke sat)"
#: regedit.rc:206
msgid "(cannot display value)"
msgstr "(kunne ikke vise værdi)"

View File

@ -11753,6 +11753,10 @@ msgstr "Geben Sie \"REG /?\" ein, um Hilfe zu erhalten.\n"
msgid "Type \"REG %1 /?\" for help.\n"
msgstr "Geben Sie \"REG %1 /?\" ein, um Hilfe zu erhalten.\n"
#: reg.rc:65 regedit.rc:205
msgid "(value not set)"
msgstr "(Wert nicht gesetzt)"
#: regedit.rc:34
msgid "&Registry"
msgstr "&Registrierung"
@ -11955,10 +11959,6 @@ msgstr "Registrierungsdateien (*.reg)"
msgid "Win9x/NT4 Registry files (REGEDIT4)"
msgstr "Win9x/NT4-Registrierungsdateien (REGEDIT4)"
#: regedit.rc:205
msgid "(value not set)"
msgstr "(Wert nicht gesetzt)"
#: regedit.rc:206
msgid "(cannot display value)"
msgstr "(Wert kann nicht dargestellt werden)"

View File

@ -11325,6 +11325,10 @@ msgstr ""
msgid "Type \"REG %1 /?\" for help.\n"
msgstr ""
#: reg.rc:65 regedit.rc:205
msgid "(value not set)"
msgstr ""
#: regedit.rc:34
msgid "&Registry"
msgstr ""
@ -11532,10 +11536,6 @@ msgstr ""
msgid "Win9x/NT4 Registry files (REGEDIT4)"
msgstr ""
#: regedit.rc:205
msgid "(value not set)"
msgstr ""
#: regedit.rc:206
msgid "(cannot display value)"
msgstr ""

View File

@ -11677,6 +11677,10 @@ msgstr "Type \"REG /?\" for help.\n"
msgid "Type \"REG %1 /?\" for help.\n"
msgstr "Type \"REG %1 /?\" for help.\n"
#: reg.rc:65 regedit.rc:205
msgid "(value not set)"
msgstr "(value not set)"
#: regedit.rc:34
msgid "&Registry"
msgstr "&Registry"
@ -11879,10 +11883,6 @@ msgstr "Registry files (*.reg)"
msgid "Win9x/NT4 Registry files (REGEDIT4)"
msgstr "Win9x/NT4 Registry files (REGEDIT4)"
#: regedit.rc:205
msgid "(value not set)"
msgstr "(value not set)"
#: regedit.rc:206
msgid "(cannot display value)"
msgstr "(cannot display value)"

View File

@ -11677,6 +11677,10 @@ msgstr "Type \"REG /?\" for help.\n"
msgid "Type \"REG %1 /?\" for help.\n"
msgstr "Type \"REG %1 /?\" for help.\n"
#: reg.rc:65 regedit.rc:205
msgid "(value not set)"
msgstr "(value not set)"
#: regedit.rc:34
msgid "&Registry"
msgstr "&Registry"
@ -11879,10 +11883,6 @@ msgstr "Registry Files (*.reg)"
msgid "Win9x/NT4 Registry files (REGEDIT4)"
msgstr "Win9x/NT4 Registry Files (REGEDIT4)"
#: regedit.rc:205
msgid "(value not set)"
msgstr "(value not set)"
#: regedit.rc:206
msgid "(cannot display value)"
msgstr "(cannot display value)"

View File

@ -11231,6 +11231,10 @@ msgstr ""
msgid "Type \"REG %1 /?\" for help.\n"
msgstr ""
#: reg.rc:65 regedit.rc:205
msgid "(value not set)"
msgstr "(valoro ne elektita)"
#: regedit.rc:34
msgid "&Registry"
msgstr "&Registrejo"
@ -11433,10 +11437,6 @@ msgstr "Registrejaj dosieroj (*.reg)"
msgid "Win9x/NT4 Registry files (REGEDIT4)"
msgstr "Arkaikaj registreja dosieroj (REGEDIT4)"
#: regedit.rc:205
msgid "(value not set)"
msgstr "(valoro ne elektita)"
#: regedit.rc:206
msgid "(cannot display value)"
msgstr "(ne eblas elmontri valoron)"

View File

@ -11953,6 +11953,10 @@ msgstr ""
msgid "Type \"REG %1 /?\" for help.\n"
msgstr ""
#: reg.rc:65 regedit.rc:205
msgid "(value not set)"
msgstr "(valor no definido)"
#: regedit.rc:34
msgid "&Registry"
msgstr "&Registro"
@ -12156,10 +12160,6 @@ msgstr "Archivos de registro (*.reg)"
msgid "Win9x/NT4 Registry files (REGEDIT4)"
msgstr "Archivos de registro de Win9x/NT4 (REGEDIT4)"
#: regedit.rc:205
msgid "(value not set)"
msgstr "(valor no definido)"
#: regedit.rc:206
msgid "(cannot display value)"
msgstr "(no se puede mostrar valor)"

View File

@ -11317,6 +11317,10 @@ msgstr ""
msgid "Type \"REG %1 /?\" for help.\n"
msgstr ""
#: reg.rc:65 regedit.rc:205
msgid "(value not set)"
msgstr ""
#: regedit.rc:34
msgid "&Registry"
msgstr ""
@ -11527,10 +11531,6 @@ msgstr "پرونده‌های متنی (*.txt)"
msgid "Win9x/NT4 Registry files (REGEDIT4)"
msgstr ""
#: regedit.rc:205
msgid "(value not set)"
msgstr ""
#: regedit.rc:206
msgid "(cannot display value)"
msgstr ""

View File

@ -11656,6 +11656,10 @@ msgstr "Komennolla \"REG /?\" saat apua.\n"
msgid "Type \"REG %1 /?\" for help.\n"
msgstr "Komennolla \"REG %1 /?\" saat apua.\n"
#: reg.rc:65 regedit.rc:205
msgid "(value not set)"
msgstr "(arvoa ei asetettu)"
#: regedit.rc:34
msgid "&Registry"
msgstr "&Rekisteri"
@ -11858,10 +11862,6 @@ msgstr "Rekisteritiedostot (*.reg)"
msgid "Win9x/NT4 Registry files (REGEDIT4)"
msgstr "Win9x/NT4-rekisteritiedostot (REGEDIT4)"
#: regedit.rc:205
msgid "(value not set)"
msgstr "(arvoa ei asetettu)"
#: regedit.rc:206
msgid "(cannot display value)"
msgstr "(arvoa ei voi näyttää)"

View File

@ -11812,6 +11812,10 @@ msgstr ""
msgid "Type \"REG %1 /?\" for help.\n"
msgstr ""
#: reg.rc:65 regedit.rc:205
msgid "(value not set)"
msgstr "(valeur non définie)"
#: regedit.rc:34
msgid "&Registry"
msgstr "&Registre"
@ -12015,10 +12019,6 @@ msgstr "Fichiers de registre (*.reg)"
msgid "Win9x/NT4 Registry files (REGEDIT4)"
msgstr "Fichiers de registre Win9x/NT4 (REGEDIT4)"
#: regedit.rc:205
msgid "(value not set)"
msgstr "(valeur non définie)"
#: regedit.rc:206
msgid "(cannot display value)"
msgstr "(impossible d'afficher la valeur)"

View File

@ -11698,6 +11698,10 @@ msgstr ""
msgid "Type \"REG %1 /?\" for help.\n"
msgstr ""
#: reg.rc:65 regedit.rc:205
msgid "(value not set)"
msgstr "(לא הוגדר ערך)"
#: regedit.rc:34
msgid "&Registry"
msgstr "&רישום המערכת"
@ -11899,10 +11903,6 @@ msgstr "קובצי רישום מערכת (*.reg)"
msgid "Win9x/NT4 Registry files (REGEDIT4)"
msgstr "קובצי רישום מערכת של Win9x/NT4 (REGEDIT4)"
#: regedit.rc:205
msgid "(value not set)"
msgstr "(לא הוגדר ערך)"
#: regedit.rc:206
msgid "(cannot display value)"
msgstr "(לא ניתן להציג את הערך)"

View File

@ -11124,6 +11124,10 @@ msgstr ""
msgid "Type \"REG %1 /?\" for help.\n"
msgstr ""
#: reg.rc:65 regedit.rc:205
msgid "(value not set)"
msgstr ""
#: regedit.rc:34
msgid "&Registry"
msgstr ""
@ -11325,10 +11329,6 @@ msgstr ""
msgid "Win9x/NT4 Registry files (REGEDIT4)"
msgstr ""
#: regedit.rc:205
msgid "(value not set)"
msgstr ""
#: regedit.rc:206
msgid "(cannot display value)"
msgstr ""

View File

@ -11431,6 +11431,10 @@ msgstr ""
msgid "Type \"REG %1 /?\" for help.\n"
msgstr ""
#: reg.rc:65 regedit.rc:205
msgid "(value not set)"
msgstr "(vrijednost nije postavljena)"
#: regedit.rc:34
msgid "&Registry"
msgstr "&Registar"
@ -11632,10 +11636,6 @@ msgstr "Datotoeke registra (*.reg)"
msgid "Win9x/NT4 Registry files (REGEDIT4)"
msgstr ""
#: regedit.rc:205
msgid "(value not set)"
msgstr "(vrijednost nije postavljena)"
#: regedit.rc:206
msgid "(cannot display value)"
msgstr "(ne mogu prikazati vrijednost)"

View File

@ -11868,6 +11868,10 @@ msgstr ""
msgid "Type \"REG %1 /?\" for help.\n"
msgstr ""
#: reg.rc:65 regedit.rc:205
msgid "(value not set)"
msgstr "(nem beállított)"
#: regedit.rc:34
msgid "&Registry"
msgstr "&Fájl"
@ -12074,10 +12078,6 @@ msgstr "Regisztrációs adatbázis fájlok (*.reg)"
msgid "Win9x/NT4 Registry files (REGEDIT4)"
msgstr "Win9x/NT4 Regisztrációs fájlok (REGEDIT4)"
#: regedit.rc:205
msgid "(value not set)"
msgstr "(nem beállított)"
#: regedit.rc:206
msgid "(cannot display value)"
msgstr "(nem kijelezhető)"

View File

@ -11954,6 +11954,10 @@ msgstr ""
msgid "Type \"REG %1 /?\" for help.\n"
msgstr ""
#: reg.rc:65 regedit.rc:205
msgid "(value not set)"
msgstr "(valore non immesso)"
#: regedit.rc:34
msgid "&Registry"
msgstr "&Registro"
@ -12157,10 +12161,6 @@ msgstr "File di registro (*.reg)"
msgid "Win9x/NT4 Registry files (REGEDIT4)"
msgstr "File di registro Win9x/NT4 (REGEDIT4)"
#: regedit.rc:205
msgid "(value not set)"
msgstr "(valore non immesso)"
#: regedit.rc:206
msgid "(cannot display value)"
msgstr "(impossibile visualizzare valore)"

View File

@ -11656,6 +11656,10 @@ msgstr ""
msgid "Type \"REG %1 /?\" for help.\n"
msgstr ""
#: reg.rc:65 regedit.rc:205
msgid "(value not set)"
msgstr "(値の設定なし)"
#: regedit.rc:34
msgid "&Registry"
msgstr "レジストリ(&R)"
@ -11857,10 +11861,6 @@ msgstr "登録ファイル (*.reg)"
msgid "Win9x/NT4 Registry files (REGEDIT4)"
msgstr "Win9x/NT4 登録ファイル (REGEDIT4)"
#: regedit.rc:205
msgid "(value not set)"
msgstr "(値の設定なし)"
#: regedit.rc:206
msgid "(cannot display value)"
msgstr "(値を表示できません)"

View File

@ -11943,6 +11943,10 @@ msgstr ""
msgid "Type \"REG %1 /?\" for help.\n"
msgstr ""
#: reg.rc:65 regedit.rc:205
msgid "(value not set)"
msgstr "(값이 정해지지 않음)"
#: regedit.rc:34
msgid "&Registry"
msgstr "레지스트리(&R)"
@ -12144,10 +12148,6 @@ msgstr "레지스트리 파일 (*.reg)"
msgid "Win9x/NT4 Registry files (REGEDIT4)"
msgstr "Win9x/NT4 레지스트리 파일 (REGEDIT4)"
#: regedit.rc:205
msgid "(value not set)"
msgstr "(값이 정해지지 않음)"
#: regedit.rc:206
msgid "(cannot display value)"
msgstr "(값을 보여 줄수 없음)"

View File

@ -11681,6 +11681,10 @@ msgstr "Pagalbai įrašykite „REG /?“.\n"
msgid "Type \"REG %1 /?\" for help.\n"
msgstr "Pagalbai įrašykite „REG %1 /?“.\n"
#: reg.rc:65 regedit.rc:205
msgid "(value not set)"
msgstr "(reikšmė nenustatyta)"
#: regedit.rc:34
msgid "&Registry"
msgstr "R&egistras"
@ -11883,10 +11887,6 @@ msgstr "Registro failai (*.reg)"
msgid "Win9x/NT4 Registry files (REGEDIT4)"
msgstr "Win9x/NT4 registro failai (REGEDIT4)"
#: regedit.rc:205
msgid "(value not set)"
msgstr "(reikšmė nenustatyta)"
#: regedit.rc:206
msgid "(cannot display value)"
msgstr "(negalima parodyti reikšmės)"

View File

@ -11124,6 +11124,10 @@ msgstr ""
msgid "Type \"REG %1 /?\" for help.\n"
msgstr ""
#: reg.rc:65 regedit.rc:205
msgid "(value not set)"
msgstr ""
#: regedit.rc:34
msgid "&Registry"
msgstr ""
@ -11325,10 +11329,6 @@ msgstr ""
msgid "Win9x/NT4 Registry files (REGEDIT4)"
msgstr ""
#: regedit.rc:205
msgid "(value not set)"
msgstr ""
#: regedit.rc:206
msgid "(cannot display value)"
msgstr ""

View File

@ -11672,6 +11672,10 @@ msgstr "Skriv \"REG /?\" for hjelp.\n"
msgid "Type \"REG %1 /?\" for help.\n"
msgstr "Skriv \"REG %1 /?\" for hjelp.\n"
#: reg.rc:65 regedit.rc:205
msgid "(value not set)"
msgstr "(verdi ikke oppgitt)"
#: regedit.rc:34
msgid "&Registry"
msgstr "&Register"
@ -11874,10 +11878,6 @@ msgstr "Registerfiler (*.reg)"
msgid "Win9x/NT4 Registry files (REGEDIT4)"
msgstr "Win9x-/NT4-registerfiler (REGEDIT4)"
#: regedit.rc:205
msgid "(value not set)"
msgstr "(verdi ikke oppgitt)"
#: regedit.rc:206
msgid "(cannot display value)"
msgstr "(kan ikke vise verdi)"

View File

@ -11920,6 +11920,10 @@ msgstr ""
msgid "Type \"REG %1 /?\" for help.\n"
msgstr ""
#: reg.rc:65 regedit.rc:205
msgid "(value not set)"
msgstr "(Geen waarde ingesteld)"
#: regedit.rc:34
msgid "&Registry"
msgstr "&Registerbestand"
@ -12122,10 +12126,6 @@ msgstr "Registerbestanden (*.reg)"
msgid "Win9x/NT4 Registry files (REGEDIT4)"
msgstr "Win9x/NT4 Registerbestanden (REGEDIT4)"
#: regedit.rc:205
msgid "(value not set)"
msgstr "(Geen waarde ingesteld)"
#: regedit.rc:206
msgid "(cannot display value)"
msgstr "(kan waarde niet weergeven)"

View File

@ -11124,6 +11124,10 @@ msgstr ""
msgid "Type \"REG %1 /?\" for help.\n"
msgstr ""
#: reg.rc:65 regedit.rc:205
msgid "(value not set)"
msgstr ""
#: regedit.rc:34
msgid "&Registry"
msgstr ""
@ -11325,10 +11329,6 @@ msgstr ""
msgid "Win9x/NT4 Registry files (REGEDIT4)"
msgstr ""
#: regedit.rc:205
msgid "(value not set)"
msgstr ""
#: regedit.rc:206
msgid "(cannot display value)"
msgstr ""

View File

@ -11124,6 +11124,10 @@ msgstr ""
msgid "Type \"REG %1 /?\" for help.\n"
msgstr ""
#: reg.rc:65 regedit.rc:205
msgid "(value not set)"
msgstr ""
#: regedit.rc:34
msgid "&Registry"
msgstr ""
@ -11325,10 +11329,6 @@ msgstr ""
msgid "Win9x/NT4 Registry files (REGEDIT4)"
msgstr ""
#: regedit.rc:205
msgid "(value not set)"
msgstr ""
#: regedit.rc:206
msgid "(cannot display value)"
msgstr ""

View File

@ -11756,6 +11756,10 @@ msgstr ""
msgid "Type \"REG %1 /?\" for help.\n"
msgstr ""
#: reg.rc:65 regedit.rc:205
msgid "(value not set)"
msgstr "(wartość nie ustalona)"
#: regedit.rc:34
msgid "&Registry"
msgstr "&Rejestr"
@ -11957,10 +11961,6 @@ msgstr "Pliki rejestru (*.reg)"
msgid "Win9x/NT4 Registry files (REGEDIT4)"
msgstr "Pliki rejestru Win9x/NT4 (REGEDIT4)"
#: regedit.rc:205
msgid "(value not set)"
msgstr "(wartość nie ustalona)"
#: regedit.rc:206
msgid "(cannot display value)"
msgstr "(nie mogę wyświetlić wartości)"

View File

@ -11763,6 +11763,10 @@ msgstr ""
msgid "Type \"REG %1 /?\" for help.\n"
msgstr ""
#: reg.rc:65 regedit.rc:205
msgid "(value not set)"
msgstr "(valor não dado)"
#: regedit.rc:34
msgid "&Registry"
msgstr "&Registro"
@ -11966,10 +11970,6 @@ msgstr "Arquivos de Registro (*.reg)"
msgid "Win9x/NT4 Registry files (REGEDIT4)"
msgstr "Arquivos de Registro Win9x/NT4 (REGEDIT4)"
#: regedit.rc:205
msgid "(value not set)"
msgstr "(valor não dado)"
#: regedit.rc:206
msgid "(cannot display value)"
msgstr "(não pode mostrar o valor)"

View File

@ -11745,6 +11745,10 @@ msgstr ""
msgid "Type \"REG %1 /?\" for help.\n"
msgstr ""
#: reg.rc:65 regedit.rc:205
msgid "(value not set)"
msgstr "(valor não dado)"
#: regedit.rc:34
msgid "&Registry"
msgstr "&Registo"
@ -11952,10 +11956,6 @@ msgstr "Ficheiros de Registo (*.reg)"
msgid "Win9x/NT4 Registry files (REGEDIT4)"
msgstr "Ficheiros de Registo Win9x/NT4 (REGEDIT4)"
#: regedit.rc:205
msgid "(value not set)"
msgstr "(valor não dado)"
#: regedit.rc:206
msgid "(cannot display value)"
msgstr "(não pode mostrar o valor)"

View File

@ -11202,6 +11202,10 @@ msgstr ""
msgid "Type \"REG %1 /?\" for help.\n"
msgstr ""
#: reg.rc:65 regedit.rc:205
msgid "(value not set)"
msgstr ""
#: regedit.rc:34
msgid "&Registry"
msgstr ""
@ -11412,10 +11416,6 @@ msgstr "Tuot las datotecas (*.*)"
msgid "Win9x/NT4 Registry files (REGEDIT4)"
msgstr ""
#: regedit.rc:205
msgid "(value not set)"
msgstr ""
#: regedit.rc:206
msgid "(cannot display value)"
msgstr ""

View File

@ -11964,6 +11964,10 @@ msgstr ""
msgid "Type \"REG %1 /?\" for help.\n"
msgstr ""
#: reg.rc:65 regedit.rc:205
msgid "(value not set)"
msgstr "(valoare nestabilită)"
#: regedit.rc:34
msgid "&Registry"
msgstr "&Registru"
@ -12167,10 +12171,6 @@ msgstr "Fișiere de registru (*.reg)"
msgid "Win9x/NT4 Registry files (REGEDIT4)"
msgstr "Fișiere de registru Win9x/NT4 (REGEDIT4)"
#: regedit.rc:205
msgid "(value not set)"
msgstr "(valoare nestabilită)"
#: regedit.rc:206
msgid "(cannot display value)"
msgstr "(valoarea nu poate fi afișată)"

View File

@ -11678,6 +11678,10 @@ msgstr "Для справки введите «REG /?».\n"
msgid "Type \"REG %1 /?\" for help.\n"
msgstr "Для справки введите «REG %1 /?».\n"
#: reg.rc:65 regedit.rc:205
msgid "(value not set)"
msgstr "(значение не задано)"
#: regedit.rc:34
msgid "&Registry"
msgstr "&Реестр"
@ -11880,10 +11884,6 @@ msgstr "Файлы реестра (*.reg)"
msgid "Win9x/NT4 Registry files (REGEDIT4)"
msgstr "Файлы реестра Win9x/NT4 (REGEDIT4)"
#: regedit.rc:205
msgid "(value not set)"
msgstr "(значение не задано)"
#: regedit.rc:206
msgid "(cannot display value)"
msgstr "(невозможно отобразить)"

View File

@ -11398,6 +11398,10 @@ msgstr ""
msgid "Type \"REG %1 /?\" for help.\n"
msgstr ""
#: reg.rc:65 regedit.rc:205
msgid "(value not set)"
msgstr ""
#: regedit.rc:34
msgid "&Registry"
msgstr "&Registry"
@ -11600,10 +11604,6 @@ msgstr "Súbory registrov (*.reg)"
msgid "Win9x/NT4 Registry files (REGEDIT4)"
msgstr "Win9x/NT4 súbory registrov (REGEDIT4)"
#: regedit.rc:205
msgid "(value not set)"
msgstr ""
#: regedit.rc:206
msgid "(cannot display value)"
msgstr "(nemôžem zobraziť hodnotu)"

View File

@ -11897,6 +11897,10 @@ msgstr ""
msgid "Type \"REG %1 /?\" for help.\n"
msgstr ""
#: reg.rc:65 regedit.rc:205
msgid "(value not set)"
msgstr "(vrednost ni nastavljena)"
#: regedit.rc:34
msgid "&Registry"
msgstr "&Register"
@ -12098,10 +12102,6 @@ msgstr "Datoteke registra (*.reg)"
msgid "Win9x/NT4 Registry files (REGEDIT4)"
msgstr "Datoteke registra Win9x/NT4 (REGEDIT4)"
#: regedit.rc:205
msgid "(value not set)"
msgstr "(vrednost ni nastavljena)"
#: regedit.rc:206
msgid "(cannot display value)"
msgstr "(vrednosti ni mogoče prikazati)"

View File

@ -11791,6 +11791,10 @@ msgstr ""
msgid "Type \"REG %1 /?\" for help.\n"
msgstr ""
#: reg.rc:65 regedit.rc:205
msgid "(value not set)"
msgstr ""
#: regedit.rc:34
msgid "&Registry"
msgstr ""
@ -12010,10 +12014,6 @@ msgstr "Текстуалне датотеке (*.txt)"
msgid "Win9x/NT4 Registry files (REGEDIT4)"
msgstr ""
#: regedit.rc:205
msgid "(value not set)"
msgstr ""
#: regedit.rc:206
msgid "(cannot display value)"
msgstr ""

View File

@ -11930,6 +11930,10 @@ msgstr ""
msgid "Type \"REG %1 /?\" for help.\n"
msgstr ""
#: reg.rc:65 regedit.rc:205
msgid "(value not set)"
msgstr ""
#: regedit.rc:34
msgid "&Registry"
msgstr ""
@ -12157,10 +12161,6 @@ msgstr "Tekstualne datoteke (*.txt)"
msgid "Win9x/NT4 Registry files (REGEDIT4)"
msgstr ""
#: regedit.rc:205
msgid "(value not set)"
msgstr ""
#: regedit.rc:206
msgid "(cannot display value)"
msgstr ""

View File

@ -11569,6 +11569,10 @@ msgstr ""
msgid "Type \"REG %1 /?\" for help.\n"
msgstr ""
#: reg.rc:65 regedit.rc:205
msgid "(value not set)"
msgstr "(värde ej angivet)"
#: regedit.rc:34
msgid "&Registry"
msgstr "&Register"
@ -11771,10 +11775,6 @@ msgstr "Registerfiler (*.reg)"
msgid "Win9x/NT4 Registry files (REGEDIT4)"
msgstr "Win9x-/NT4-registerfiler (REGEDIT4)"
#: regedit.rc:205
msgid "(value not set)"
msgstr "(värde ej angivet)"
#: regedit.rc:206
msgid "(cannot display value)"
msgstr "(kunde inte visa värde)"

View File

@ -11124,6 +11124,10 @@ msgstr ""
msgid "Type \"REG %1 /?\" for help.\n"
msgstr ""
#: reg.rc:65 regedit.rc:205
msgid "(value not set)"
msgstr ""
#: regedit.rc:34
msgid "&Registry"
msgstr ""
@ -11325,10 +11329,6 @@ msgstr ""
msgid "Win9x/NT4 Registry files (REGEDIT4)"
msgstr ""
#: regedit.rc:205
msgid "(value not set)"
msgstr ""
#: regedit.rc:206
msgid "(cannot display value)"
msgstr ""

View File

@ -11355,6 +11355,10 @@ msgstr ""
msgid "Type \"REG %1 /?\" for help.\n"
msgstr ""
#: reg.rc:65 regedit.rc:205
msgid "(value not set)"
msgstr ""
#: regedit.rc:34
msgid "&Registry"
msgstr ""
@ -11567,10 +11571,6 @@ msgstr "แฟ้มตํารา (*.txt)"
msgid "Win9x/NT4 Registry files (REGEDIT4)"
msgstr ""
#: regedit.rc:205
msgid "(value not set)"
msgstr ""
#: regedit.rc:206
msgid "(cannot display value)"
msgstr ""

View File

@ -11725,6 +11725,10 @@ msgstr ""
msgid "Type \"REG %1 /?\" for help.\n"
msgstr ""
#: reg.rc:65 regedit.rc:205
msgid "(value not set)"
msgstr "(değer belirlenmemiş)"
#: regedit.rc:34
msgid "&Registry"
msgstr "&Kayıt"
@ -11927,10 +11931,6 @@ msgstr "Kayıt dosyaları (*.reg)"
msgid "Win9x/NT4 Registry files (REGEDIT4)"
msgstr "Win9X/NT4 Kayıt Dosyaları (REGEDIT4)"
#: regedit.rc:205
msgid "(value not set)"
msgstr "(değer belirlenmemiş)"
#: regedit.rc:206
msgid "(cannot display value)"
msgstr "(değer görüntülenemiyor)"

View File

@ -11763,6 +11763,10 @@ msgstr "Введіть \"REG /?\" для довідки.\n"
msgid "Type \"REG %1 /?\" for help.\n"
msgstr "Введіть \"REG %1 /?\" для довідки.\n"
#: reg.rc:65 regedit.rc:205
msgid "(value not set)"
msgstr "(значення не задане)"
#: regedit.rc:34
msgid "&Registry"
msgstr "&Реєстр"
@ -11965,10 +11969,6 @@ msgstr "Файли реєстру (*.reg)"
msgid "Win9x/NT4 Registry files (REGEDIT4)"
msgstr "Файли реєстру Win9x/NT4 (REGEDIT4)"
#: regedit.rc:205
msgid "(value not set)"
msgstr "(значення не задане)"
#: regedit.rc:206
msgid "(cannot display value)"
msgstr "(неможливо відобразити значення)"

View File

@ -11263,6 +11263,10 @@ msgstr ""
msgid "Type \"REG %1 /?\" for help.\n"
msgstr ""
#: reg.rc:65 regedit.rc:205
msgid "(value not set)"
msgstr ""
#: regedit.rc:34
msgid "&Registry"
msgstr ""
@ -11475,10 +11479,6 @@ msgstr "Fitchîs tekse (*.txt)"
msgid "Win9x/NT4 Registry files (REGEDIT4)"
msgstr ""
#: regedit.rc:205
msgid "(value not set)"
msgstr ""
#: regedit.rc:206
msgid "(cannot display value)"
msgstr ""

View File

@ -11060,6 +11060,10 @@ msgstr ""
msgid "Type \"REG %1 /?\" for help.\n"
msgstr ""
#: reg.rc:65 regedit.rc:205
msgid "(value not set)"
msgstr ""
#: regedit.rc:34
msgid "&Registry"
msgstr ""
@ -11261,10 +11265,6 @@ msgstr ""
msgid "Win9x/NT4 Registry files (REGEDIT4)"
msgstr ""
#: regedit.rc:205
msgid "(value not set)"
msgstr ""
#: regedit.rc:206
msgid "(cannot display value)"
msgstr ""

View File

@ -11228,6 +11228,10 @@ msgstr ""
msgid "Type \"REG %1 /?\" for help.\n"
msgstr ""
#: reg.rc:65 regedit.rc:205
msgid "(value not set)"
msgstr "(没有设值)"
#: regedit.rc:34
msgid "&Registry"
msgstr "注册表(&R)"
@ -11429,10 +11433,6 @@ msgstr "注册表文件 (*.reg)"
msgid "Win9x/NT4 Registry files (REGEDIT4)"
msgstr "Win9x/NT4 注册表文件 (REGEDIT4)"
#: regedit.rc:205
msgid "(value not set)"
msgstr "(没有设值)"
#: regedit.rc:206
msgid "(cannot display value)"
msgstr "(不能显示值)"

View File

@ -11828,6 +11828,10 @@ msgstr ""
msgid "Type \"REG %1 /?\" for help.\n"
msgstr ""
#: reg.rc:65 regedit.rc:205
msgid "(value not set)"
msgstr "(沒有設值)"
#: regedit.rc:34
msgid "&Registry"
msgstr "註冊表(&R)"
@ -12029,10 +12033,6 @@ msgstr "註冊表檔案 (*.reg)"
msgid "Win9x/NT4 Registry files (REGEDIT4)"
msgstr "Win9x/NT4 註冊表檔案 (REGEDIT4)"
#: regedit.rc:205
msgid "(value not set)"
msgstr "(沒有設值)"
#: regedit.rc:206
msgid "(cannot display value)"
msgstr "(不能顯示值)"

View File

@ -583,6 +583,7 @@ static const WCHAR *reg_type_to_wchar(DWORD type)
static void output_value(const WCHAR *value_name, DWORD type, BYTE *data, DWORD data_size)
{
WCHAR fmt[] = {' ',' ',' ',' ','%','1',0};
WCHAR defval[32];
WCHAR *reg_data;
WCHAR newlineW[] = {'\n',0};
@ -590,14 +591,22 @@ static void output_value(const WCHAR *value_name, DWORD type, BYTE *data, DWORD
output_string(fmt, value_name);
else
{
WCHAR defval[32];
LoadStringW(GetModuleHandleW(NULL), STRING_DEFAULT_VALUE, defval, ARRAY_SIZE(defval));
output_string(fmt, defval);
}
output_string(fmt, reg_type_to_wchar(type));
if (data)
{
reg_data = reg_data_to_wchar(type, data, data_size);
output_string(fmt, reg_data);
HeapFree(GetProcessHeap(), 0, reg_data);
}
else
{
LoadStringW(GetModuleHandleW(NULL), STRING_VALUE_NOT_SET, defval, ARRAY_SIZE(defval));
output_string(fmt, defval);
}
output_string(newlineW);
}
@ -660,10 +669,15 @@ static int query_value(HKEY key, WCHAR *value_name, WCHAR *path, BOOL recurse)
if (!recurse)
{
if (rc == ERROR_FILE_NOT_FOUND)
{
if (value_name && *value_name)
{
output_message(STRING_CANNOT_FIND);
return 1;
}
output_string(fmt, path);
output_value(NULL, REG_SZ, NULL, 0);
}
return 0;
}

View File

@ -51,3 +51,4 @@
#define STRING_INVALID_OPTION 128
#define STRING_REG_HELP 129
#define STRING_FUNC_HELP 130
#define STRING_VALUE_NOT_SET 131

View File

@ -61,4 +61,5 @@ STRINGTABLE
STRING_INVALID_OPTION, "reg: Invalid option [%1]. "
STRING_REG_HELP, "Type \"REG /?\" for help.\n"
STRING_FUNC_HELP, "Type \"REG %1 /?\" for help.\n"
STRING_VALUE_NOT_SET, "(value not set)"
}

View File

@ -547,7 +547,7 @@ static void test_query(void)
ok(err == ERROR_SUCCESS, "got %d, expected 0\n", err);
run_reg_exe("reg query HKCU\\" KEY_BASE " /ve", &r);
todo_wine ok(r == REG_EXIT_SUCCESS || broken(r == REG_EXIT_FAILURE /* WinXP */),
ok(r == REG_EXIT_SUCCESS || broken(r == REG_EXIT_FAILURE /* WinXP */),
"got exit code %d, expected 0\n", r);
err = RegSetValueExA(key, "Test", 0, REG_SZ, (BYTE *)hello, sizeof(hello));