From 20a41d03397c637f330e764f39bf667968413e2e Mon Sep 17 00:00:00 2001 From: Hugh McMaster Date: Wed, 10 Feb 2016 22:23:18 +1100 Subject: [PATCH] reg: Ask the user if they want to delete the subkey, value, default value or all values. Signed-off-by: Hugh McMaster Signed-off-by: Alexandre Julliard --- po/ar.po | 18 ++++++++++++++++++ po/bg.po | 18 ++++++++++++++++++ po/ca.po | 18 ++++++++++++++++++ po/cs.po | 18 ++++++++++++++++++ po/da.po | 18 ++++++++++++++++++ po/de.po | 18 ++++++++++++++++++ po/el.po | 12 ++++++++++++ po/en.po | 12 ++++++++++++ po/en_US.po | 12 ++++++++++++ po/eo.po | 18 ++++++++++++++++++ po/es.po | 18 ++++++++++++++++++ po/fa.po | 12 ++++++++++++ po/fi.po | 18 ++++++++++++++++++ po/fr.po | 18 ++++++++++++++++++ po/he.po | 18 ++++++++++++++++++ po/hi.po | 12 ++++++++++++ po/hr.po | 18 ++++++++++++++++++ po/hu.po | 18 ++++++++++++++++++ po/it.po | 18 ++++++++++++++++++ po/ja.po | 18 ++++++++++++++++++ po/ko.po | 18 ++++++++++++++++++ po/lt.po | 18 ++++++++++++++++++ po/ml.po | 12 ++++++++++++ po/nb_NO.po | 18 ++++++++++++++++++ po/nl.po | 18 ++++++++++++++++++ po/or.po | 12 ++++++++++++ po/pa.po | 12 ++++++++++++ po/pl.po | 18 ++++++++++++++++++ po/pt_BR.po | 18 ++++++++++++++++++ po/pt_PT.po | 18 ++++++++++++++++++ po/rm.po | 12 ++++++++++++ po/ro.po | 18 ++++++++++++++++++ po/ru.po | 18 ++++++++++++++++++ po/sk.po | 18 ++++++++++++++++++ po/sl.po | 18 ++++++++++++++++++ po/sr_RS@cyrillic.po | 16 ++++++++++++++++ po/sr_RS@latin.po | 16 ++++++++++++++++ po/sv.po | 18 ++++++++++++++++++ po/te.po | 12 ++++++++++++ po/th.po | 12 ++++++++++++ po/tr.po | 18 ++++++++++++++++++ po/uk.po | 18 ++++++++++++++++++ po/wa.po | 12 ++++++++++++ po/wine.pot | 12 ++++++++++++ po/zh_CN.po | 18 ++++++++++++++++++ po/zh_TW.po | 18 ++++++++++++++++++ programs/reg/reg.c | 15 ++++++++++++++- programs/reg/reg.h | 3 +++ programs/reg/reg.rc | 3 +++ 49 files changed, 766 insertions(+), 1 deletion(-) diff --git a/po/ar.po b/po/ar.po index 00eb676415c..adc46a95ce3 100644 --- a/po/ar.po +++ b/po/ar.po @@ -11862,6 +11862,24 @@ msgstr "" msgid "(Default)" msgstr "(الافتراضي)" +#: reg.rc:49 +#, fuzzy +#| msgid "Are you sure you want to delete these values?" +msgid "Are you sure you want to delete the registry value '%1'?" +msgstr "هل أنت متأكد من رغبتك في حذف هذه القيم ؟" + +#: reg.rc:50 +#, fuzzy +#| msgid "Are you sure you want to delete value '%s'?" +msgid "Are you sure you want to delete all registry values in '%1'?" +msgstr "هل أنت متأكد من رغبتك في حذف القيمة '%s' ؟" + +#: reg.rc:51 +#, fuzzy +#| msgid "Are you sure you want to delete '%1'?" +msgid "Are you sure you want to delete the registry key '%1'?" +msgstr "هل أنت متأكد من رغبتك في حذف '%1' ؟" + #: regedit.rc:34 msgid "&Registry" msgstr "ال&سجل" diff --git a/po/bg.po b/po/bg.po index dcb261440a4..e707e941c71 100644 --- a/po/bg.po +++ b/po/bg.po @@ -11478,6 +11478,24 @@ msgstr "" msgid "(Default)" msgstr "" +#: reg.rc:49 +#, fuzzy +#| msgid "Are you sure you want to delete value '%s'?" +msgid "Are you sure you want to delete the registry value '%1'?" +msgstr "Наистина ли искате да изтриете стойността '%s'?" + +#: reg.rc:50 +#, fuzzy +#| msgid "Are you sure you want to delete value '%s'?" +msgid "Are you sure you want to delete all registry values in '%1'?" +msgstr "Наистина ли искате да изтриете стойността '%s'?" + +#: reg.rc:51 +#, fuzzy +#| msgid "Are you sure you want to delete '%1'?" +msgid "Are you sure you want to delete the registry key '%1'?" +msgstr "Наистина ли искате да изтриете '%1'?" + #: regedit.rc:34 msgid "&Registry" msgstr "&Регистър" diff --git a/po/ca.po b/po/ca.po index 22446c06698..e8aff7e799f 100644 --- a/po/ca.po +++ b/po/ca.po @@ -11736,6 +11736,24 @@ msgstr "" msgid "(Default)" msgstr "(Per defecte)" +#: reg.rc:49 +#, fuzzy +#| msgid "Are you sure you want to delete these values?" +msgid "Are you sure you want to delete the registry value '%1'?" +msgstr "Esteu segur que voleu suprimir aquests valors?" + +#: reg.rc:50 +#, fuzzy +#| msgid "Are you sure you want to delete value '%s'?" +msgid "Are you sure you want to delete all registry values in '%1'?" +msgstr "Esteu segur que voleu suprimir el valor '%s'?" + +#: reg.rc:51 +#, fuzzy +#| msgid "Are you sure you want to delete '%1'?" +msgid "Are you sure you want to delete the registry key '%1'?" +msgstr "Esteu segur que voleu suprimir '%1'?" + #: regedit.rc:34 msgid "&Registry" msgstr "&Registre" diff --git a/po/cs.po b/po/cs.po index dbc7e0f5430..df1c5c426c1 100644 --- a/po/cs.po +++ b/po/cs.po @@ -11549,6 +11549,24 @@ msgstr "" msgid "(Default)" msgstr "(výchozí)" +#: reg.rc:49 +#, fuzzy +#| msgid "Are you sure you want to delete these values?" +msgid "Are you sure you want to delete the registry value '%1'?" +msgstr "Jste si jist(a), že chcete smazat tyto hodnoty?" + +#: reg.rc:50 +#, fuzzy +#| msgid "Are you sure you want to delete value '%s'?" +msgid "Are you sure you want to delete all registry values in '%1'?" +msgstr "Opravdu chcete smazat hodnotu „%s“?" + +#: reg.rc:51 +#, fuzzy +#| msgid "Are you sure you want to delete '%1'?" +msgid "Are you sure you want to delete the registry key '%1'?" +msgstr "Opravdu chcete odstranit „%1“?" + #: regedit.rc:34 msgid "&Registry" msgstr "&Registr" diff --git a/po/da.po b/po/da.po index d071c69f076..f78a24645f5 100644 --- a/po/da.po +++ b/po/da.po @@ -11815,6 +11815,24 @@ msgstr "" msgid "(Default)" msgstr "(Standard)" +#: reg.rc:49 +#, fuzzy +#| msgid "Are you sure you want to delete these values?" +msgid "Are you sure you want to delete the registry value '%1'?" +msgstr "Er du sikker på du vil slette disse værdier?" + +#: reg.rc:50 +#, fuzzy +#| msgid "Are you sure you want to delete value '%s'?" +msgid "Are you sure you want to delete all registry values in '%1'?" +msgstr "Er du sikker på at ville slette værdien '%s'?" + +#: reg.rc:51 +#, fuzzy +#| msgid "Are you sure you want to delete '%1'?" +msgid "Are you sure you want to delete the registry key '%1'?" +msgstr "Er du sikker på du vil slette '%1'?" + #: regedit.rc:34 msgid "&Registry" msgstr "&Register" diff --git a/po/de.po b/po/de.po index 4b86f91944c..ca74f7ff488 100644 --- a/po/de.po +++ b/po/de.po @@ -11714,6 +11714,24 @@ msgstr "" msgid "(Default)" msgstr "(Standard)" +#: reg.rc:49 +#, fuzzy +#| msgid "Are you sure you want to delete these values?" +msgid "Are you sure you want to delete the registry value '%1'?" +msgstr "Möchten Sie diese Werte wirklich löschen?" + +#: reg.rc:50 +#, fuzzy +#| msgid "Are you sure you want to delete value '%s'?" +msgid "Are you sure you want to delete all registry values in '%1'?" +msgstr "Möchten Sie den Wert '%s' wirklich löschen?" + +#: reg.rc:51 +#, fuzzy +#| msgid "Are you sure you want to delete '%1'?" +msgid "Are you sure you want to delete the registry key '%1'?" +msgstr "Sind Sie sicher, dass Sie '%1' löschen möchten?" + #: regedit.rc:34 msgid "&Registry" msgstr "&Registrierung" diff --git a/po/el.po b/po/el.po index 23bbe4e6a42..f4c681f81ac 100644 --- a/po/el.po +++ b/po/el.po @@ -11270,6 +11270,18 @@ msgstr "" msgid "(Default)" msgstr "" +#: reg.rc:49 +msgid "Are you sure you want to delete the registry value '%1'?" +msgstr "" + +#: reg.rc:50 +msgid "Are you sure you want to delete all registry values in '%1'?" +msgstr "" + +#: reg.rc:51 +msgid "Are you sure you want to delete the registry key '%1'?" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "" diff --git a/po/en.po b/po/en.po index af53de781da..a66bda9a788 100644 --- a/po/en.po +++ b/po/en.po @@ -11615,6 +11615,18 @@ msgstr "The registry operation was cancelled\n" msgid "(Default)" msgstr "(Default)" +#: reg.rc:49 +msgid "Are you sure you want to delete the registry value '%1'?" +msgstr "Are you sure you want to delete the registry value '%1'?" + +#: reg.rc:50 +msgid "Are you sure you want to delete all registry values in '%1'?" +msgstr "Are you sure you want to delete all registry values in '%1'?" + +#: reg.rc:51 +msgid "Are you sure you want to delete the registry key '%1'?" +msgstr "Are you sure you want to delete the registry key '%1'?" + #: regedit.rc:34 msgid "&Registry" msgstr "&Registry" diff --git a/po/en_US.po b/po/en_US.po index f18d41603a7..de3cae421de 100644 --- a/po/en_US.po +++ b/po/en_US.po @@ -11615,6 +11615,18 @@ msgstr "The registry operation was cancelled\n" msgid "(Default)" msgstr "(Default)" +#: reg.rc:49 +msgid "Are you sure you want to delete the registry value '%1'?" +msgstr "Are you sure you want to delete the registry value '%1'?" + +#: reg.rc:50 +msgid "Are you sure you want to delete all registry values in '%1'?" +msgstr "Are you sure you want to delete all registry values in '%1'?" + +#: reg.rc:51 +msgid "Are you sure you want to delete the registry key '%1'?" +msgstr "Are you sure you want to delete the registry key '%1'?" + #: regedit.rc:34 msgid "&Registry" msgstr "&Registry" diff --git a/po/eo.po b/po/eo.po index ee184de8ff0..ef8c4d3c8e8 100644 --- a/po/eo.po +++ b/po/eo.po @@ -11168,6 +11168,24 @@ msgstr "" msgid "(Default)" msgstr "(Defaŭlta)" +#: reg.rc:49 +#, fuzzy +#| msgid "Are you sure you want to delete these values?" +msgid "Are you sure you want to delete the registry value '%1'?" +msgstr "Ĉu vi certas pri forigo de ĉi tiuj valoroj?" + +#: reg.rc:50 +#, fuzzy +#| msgid "Are you sure you want to delete value '%s'?" +msgid "Are you sure you want to delete all registry values in '%1'?" +msgstr "Ĉu vi certas pri forigo de '%s'?" + +#: reg.rc:51 +#, fuzzy +#| msgid "Are you sure you want to delete '%1'?" +msgid "Are you sure you want to delete the registry key '%1'?" +msgstr "Ĉu vi estas certa pri forigo de '%1'?" + #: regedit.rc:34 msgid "&Registry" msgstr "&Registrejo" diff --git a/po/es.po b/po/es.po index 4413470253a..e176382732f 100644 --- a/po/es.po +++ b/po/es.po @@ -11894,6 +11894,24 @@ msgstr "" msgid "(Default)" msgstr "(Por defecto)" +#: reg.rc:49 +#, fuzzy +#| msgid "Are you sure you want to delete these values?" +msgid "Are you sure you want to delete the registry value '%1'?" +msgstr "¿Está seguro que desea eliminar estos valores?" + +#: reg.rc:50 +#, fuzzy +#| msgid "Are you sure you want to delete value '%s'?" +msgid "Are you sure you want to delete all registry values in '%1'?" +msgstr "¿Seguro que desea eliminar el valor '%s'?" + +#: reg.rc:51 +#, fuzzy +#| msgid "Are you sure you want to delete '%1'?" +msgid "Are you sure you want to delete the registry key '%1'?" +msgstr "¿Seguro que desea eliminar '%1'?" + #: regedit.rc:34 msgid "&Registry" msgstr "&Registro" diff --git a/po/fa.po b/po/fa.po index dd43ed6f39f..eb8f2f119ab 100644 --- a/po/fa.po +++ b/po/fa.po @@ -11264,6 +11264,18 @@ msgstr "" msgid "(Default)" msgstr "" +#: reg.rc:49 +msgid "Are you sure you want to delete the registry value '%1'?" +msgstr "" + +#: reg.rc:50 +msgid "Are you sure you want to delete all registry values in '%1'?" +msgstr "" + +#: reg.rc:51 +msgid "Are you sure you want to delete the registry key '%1'?" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "" diff --git a/po/fi.po b/po/fi.po index afbcf7614ac..bf087e288dc 100644 --- a/po/fi.po +++ b/po/fi.po @@ -11615,6 +11615,24 @@ msgstr "" msgid "(Default)" msgstr "(Oletus)" +#: reg.rc:49 +#, fuzzy +#| msgid "Are you sure you want to delete these values?" +msgid "Are you sure you want to delete the registry value '%1'?" +msgstr "Haluatko varmasti tuhota nämä arvot?" + +#: reg.rc:50 +#, fuzzy +#| msgid "Are you sure you want to delete value '%s'?" +msgid "Are you sure you want to delete all registry values in '%1'?" +msgstr "Haluatko varmasti tuhota arvon '%s'?" + +#: reg.rc:51 +#, fuzzy +#| msgid "Are you sure you want to delete '%1'?" +msgid "Are you sure you want to delete the registry key '%1'?" +msgstr "Haluatko varmasti tuhota kohteen '%1'?" + #: regedit.rc:34 msgid "&Registry" msgstr "&Rekisteri" diff --git a/po/fr.po b/po/fr.po index 31ff1c48f6c..6f3b5b047d0 100644 --- a/po/fr.po +++ b/po/fr.po @@ -11778,6 +11778,24 @@ msgstr "" msgid "(Default)" msgstr "(par défaut)" +#: reg.rc:49 +#, fuzzy +#| msgid "Are you sure you want to delete these values?" +msgid "Are you sure you want to delete the registry value '%1'?" +msgstr "Voulez-vous réellement supprimer ces valeurs ?" + +#: reg.rc:50 +#, fuzzy +#| msgid "Are you sure you want to delete value '%s'?" +msgid "Are you sure you want to delete all registry values in '%1'?" +msgstr "Voulez-vous réellement supprimer la valeur « %s » ?" + +#: reg.rc:51 +#, fuzzy +#| msgid "Are you sure you want to delete '%1'?" +msgid "Are you sure you want to delete the registry key '%1'?" +msgstr "Voulez-vous réellement supprimer « %1 » ?" + #: regedit.rc:34 msgid "&Registry" msgstr "&Registre" diff --git a/po/he.po b/po/he.po index dfa71a66d84..2665246362c 100644 --- a/po/he.po +++ b/po/he.po @@ -11639,6 +11639,24 @@ msgstr "" msgid "(Default)" msgstr "(בררת המחדל)" +#: reg.rc:49 +#, fuzzy +#| msgid "Are you sure you want to delete these values?" +msgid "Are you sure you want to delete the registry value '%1'?" +msgstr "האם ברצונך למחוק ערכים אלו?" + +#: reg.rc:50 +#, fuzzy +#| msgid "Are you sure you want to delete value '%s'?" +msgid "Are you sure you want to delete all registry values in '%1'?" +msgstr "האם ברצונך למחוק את הערך '%s'?" + +#: reg.rc:51 +#, fuzzy +#| msgid "Are you sure you want to delete '%1'?" +msgid "Are you sure you want to delete the registry key '%1'?" +msgstr "האם אכן ברצונך למחוק את '%1'?" + #: regedit.rc:34 msgid "&Registry" msgstr "&רישום המערכת" diff --git a/po/hi.po b/po/hi.po index e86d1682301..3995bc34d54 100644 --- a/po/hi.po +++ b/po/hi.po @@ -11071,6 +11071,18 @@ msgstr "" msgid "(Default)" msgstr "" +#: reg.rc:49 +msgid "Are you sure you want to delete the registry value '%1'?" +msgstr "" + +#: reg.rc:50 +msgid "Are you sure you want to delete all registry values in '%1'?" +msgstr "" + +#: reg.rc:51 +msgid "Are you sure you want to delete the registry key '%1'?" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "" diff --git a/po/hr.po b/po/hr.po index bcb6fe9fef3..c3815714f90 100644 --- a/po/hr.po +++ b/po/hr.po @@ -11372,6 +11372,24 @@ msgstr "" msgid "(Default)" msgstr "(Podrazumijevano)" +#: reg.rc:49 +#, fuzzy +#| msgid "Are you sure you want to delete these %1 items?" +msgid "Are you sure you want to delete the registry value '%1'?" +msgstr "Sigurno želite izbrisati ovih %1 stavki?" + +#: reg.rc:50 +#, fuzzy +#| msgid "Are you sure you want to delete '%1'?" +msgid "Are you sure you want to delete all registry values in '%1'?" +msgstr "Sigurno želite izbrisati '%1'?" + +#: reg.rc:51 +#, fuzzy +#| msgid "Are you sure you want to delete '%1'?" +msgid "Are you sure you want to delete the registry key '%1'?" +msgstr "Sigurno želite izbrisati '%1'?" + #: regedit.rc:34 msgid "&Registry" msgstr "&Registar" diff --git a/po/hu.po b/po/hu.po index e135b05ee11..6b2c2b9d6b9 100644 --- a/po/hu.po +++ b/po/hu.po @@ -11809,6 +11809,24 @@ msgstr "" msgid "(Default)" msgstr "(Alapérték)" +#: reg.rc:49 +#, fuzzy +#| msgid "Are you sure you want to delete these values?" +msgid "Are you sure you want to delete the registry value '%1'?" +msgstr "Biztosan törölni szeretné ezeket az értékeket?" + +#: reg.rc:50 +#, fuzzy +#| msgid "Are you sure you want to delete value '%s'?" +msgid "Are you sure you want to delete all registry values in '%1'?" +msgstr "Biztos hogy törölni szeretné a(z) '%s' kulcsot?" + +#: reg.rc:51 +#, fuzzy +#| msgid "Are you sure you want to delete '%1'?" +msgid "Are you sure you want to delete the registry key '%1'?" +msgstr "Biztos hogy törölni szeretné ezt: '%1'?" + #: regedit.rc:34 msgid "&Registry" msgstr "&Fájl" diff --git a/po/it.po b/po/it.po index 0b0e667fa08..424aa0725a7 100644 --- a/po/it.po +++ b/po/it.po @@ -11895,6 +11895,24 @@ msgstr "" msgid "(Default)" msgstr "(Predefinito)" +#: reg.rc:49 +#, fuzzy +#| msgid "Are you sure you want to delete these values?" +msgid "Are you sure you want to delete the registry value '%1'?" +msgstr "Sei sicuro di volere eliminare questi valori?" + +#: reg.rc:50 +#, fuzzy +#| msgid "Are you sure you want to delete value '%s'?" +msgid "Are you sure you want to delete all registry values in '%1'?" +msgstr "Sei sicuro di volere eliminare il valore '%s'?" + +#: reg.rc:51 +#, fuzzy +#| msgid "Are you sure you want to delete '%1'?" +msgid "Are you sure you want to delete the registry key '%1'?" +msgstr "Sei sicuro di voler cancellare '%1'?" + #: regedit.rc:34 msgid "&Registry" msgstr "&Registro" diff --git a/po/ja.po b/po/ja.po index 794da2668fa..849d7129b17 100644 --- a/po/ja.po +++ b/po/ja.po @@ -11622,6 +11622,24 @@ msgstr "" msgid "(Default)" msgstr "(既定)" +#: reg.rc:49 +#, fuzzy +#| msgid "Are you sure you want to delete these values?" +msgid "Are you sure you want to delete the registry value '%1'?" +msgstr "これらの値を削除しますか?" + +#: reg.rc:50 +#, fuzzy +#| msgid "Are you sure you want to delete value '%s'?" +msgid "Are you sure you want to delete all registry values in '%1'?" +msgstr "本当に '%s'を削除しますか?" + +#: reg.rc:51 +#, fuzzy +#| msgid "Are you sure you want to delete '%1'?" +msgid "Are you sure you want to delete the registry key '%1'?" +msgstr "'%1' を削除しますか?" + #: regedit.rc:34 msgid "&Registry" msgstr "レジストリ(&R)" diff --git a/po/ko.po b/po/ko.po index 1ed4c438a5d..c1b62e4ce1a 100644 --- a/po/ko.po +++ b/po/ko.po @@ -11884,6 +11884,24 @@ msgstr "" msgid "(Default)" msgstr "(기본)" +#: reg.rc:49 +#, fuzzy +#| msgid "Are you sure you want to delete these values?" +msgid "Are you sure you want to delete the registry value '%1'?" +msgstr "이 값들을 정말로 지우겠습니까?" + +#: reg.rc:50 +#, fuzzy +#| msgid "Are you sure you want to delete value '%s'?" +msgid "Are you sure you want to delete all registry values in '%1'?" +msgstr "당신은 이 값 '%s'을 정말로 지우겠습니까?" + +#: reg.rc:51 +#, fuzzy +#| msgid "Are you sure you want to delete '%1'?" +msgid "Are you sure you want to delete the registry key '%1'?" +msgstr "당신은 '%1'을 지우기를 바랍니까?" + #: regedit.rc:34 msgid "&Registry" msgstr "레지스트리(&R)" diff --git a/po/lt.po b/po/lt.po index 62446588756..730d45e863b 100644 --- a/po/lt.po +++ b/po/lt.po @@ -11622,6 +11622,24 @@ msgstr "Registro operacija buvo nutraukta\n" msgid "(Default)" msgstr "(numatytoji)" +#: reg.rc:49 +#, fuzzy +#| msgid "Are you sure you want to delete these values?" +msgid "Are you sure you want to delete the registry value '%1'?" +msgstr "Ar tikrai norite pašalinti šias reikšmes?" + +#: reg.rc:50 +#, fuzzy +#| msgid "Are you sure you want to delete value '%s'?" +msgid "Are you sure you want to delete all registry values in '%1'?" +msgstr "Ar tikrai norite pašalinti reikšmę „%s“?" + +#: reg.rc:51 +#, fuzzy +#| msgid "Are you sure you want to delete '%1'?" +msgid "Are you sure you want to delete the registry key '%1'?" +msgstr "Ar tikrai norite pašalinti „%1“?" + #: regedit.rc:34 msgid "&Registry" msgstr "R&egistras" diff --git a/po/ml.po b/po/ml.po index c7eda3e7a64..9e639e2d9a0 100644 --- a/po/ml.po +++ b/po/ml.po @@ -11071,6 +11071,18 @@ msgstr "" msgid "(Default)" msgstr "" +#: reg.rc:49 +msgid "Are you sure you want to delete the registry value '%1'?" +msgstr "" + +#: reg.rc:50 +msgid "Are you sure you want to delete all registry values in '%1'?" +msgstr "" + +#: reg.rc:51 +msgid "Are you sure you want to delete the registry key '%1'?" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "" diff --git a/po/nb_NO.po b/po/nb_NO.po index 1a1eb0b4226..d074f09ed90 100644 --- a/po/nb_NO.po +++ b/po/nb_NO.po @@ -11720,6 +11720,24 @@ msgstr "" msgid "(Default)" msgstr "(Standard)" +#: reg.rc:49 +#, fuzzy +#| msgid "Are you sure you want to delete these values?" +msgid "Are you sure you want to delete the registry value '%1'?" +msgstr "Virkelig slette disse verdiene?" + +#: reg.rc:50 +#, fuzzy +#| msgid "Are you sure you want to delete value '%s'?" +msgid "Are you sure you want to delete all registry values in '%1'?" +msgstr "Virkelig slette verdien «%s»?" + +#: reg.rc:51 +#, fuzzy +#| msgid "Are you sure you want to delete '%1'?" +msgid "Are you sure you want to delete the registry key '%1'?" +msgstr "Vil du virkelig slette «%1»?" + #: regedit.rc:34 msgid "&Registry" msgstr "&Register" diff --git a/po/nl.po b/po/nl.po index b786df2dc07..30f7b77f867 100644 --- a/po/nl.po +++ b/po/nl.po @@ -11861,6 +11861,24 @@ msgstr "" msgid "(Default)" msgstr "(Standaard)" +#: reg.rc:49 +#, fuzzy +#| msgid "Are you sure you want to delete these values?" +msgid "Are you sure you want to delete the registry value '%1'?" +msgstr "Weet u zeker dat u deze waarden wilt verwijderen?" + +#: reg.rc:50 +#, fuzzy +#| msgid "Are you sure you want to delete value '%s'?" +msgid "Are you sure you want to delete all registry values in '%1'?" +msgstr "Weet u zeker dat u de waarde '%s' wilt verwijderen?" + +#: reg.rc:51 +#, fuzzy +#| msgid "Are you sure you want to delete '%1'?" +msgid "Are you sure you want to delete the registry key '%1'?" +msgstr "Weet u zeker dat u '%1' wilt verwijderen?" + #: regedit.rc:34 msgid "&Registry" msgstr "&Registerbestand" diff --git a/po/or.po b/po/or.po index efb5e5f3a78..1a70028dfc8 100644 --- a/po/or.po +++ b/po/or.po @@ -11071,6 +11071,18 @@ msgstr "" msgid "(Default)" msgstr "" +#: reg.rc:49 +msgid "Are you sure you want to delete the registry value '%1'?" +msgstr "" + +#: reg.rc:50 +msgid "Are you sure you want to delete all registry values in '%1'?" +msgstr "" + +#: reg.rc:51 +msgid "Are you sure you want to delete the registry key '%1'?" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "" diff --git a/po/pa.po b/po/pa.po index af3f4bafba0..1ba6c40b3e7 100644 --- a/po/pa.po +++ b/po/pa.po @@ -11071,6 +11071,18 @@ msgstr "" msgid "(Default)" msgstr "" +#: reg.rc:49 +msgid "Are you sure you want to delete the registry value '%1'?" +msgstr "" + +#: reg.rc:50 +msgid "Are you sure you want to delete all registry values in '%1'?" +msgstr "" + +#: reg.rc:51 +msgid "Are you sure you want to delete the registry key '%1'?" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "" diff --git a/po/pl.po b/po/pl.po index 2e081a5e430..59b15c11877 100644 --- a/po/pl.po +++ b/po/pl.po @@ -11693,6 +11693,24 @@ msgstr "" msgid "(Default)" msgstr "(Domyślna)" +#: reg.rc:49 +#, fuzzy +#| msgid "Are you sure you want to delete these values?" +msgid "Are you sure you want to delete the registry value '%1'?" +msgstr "Czy jesteś pewien, że chcesz usunąć te wartości?" + +#: reg.rc:50 +#, fuzzy +#| msgid "Are you sure you want to delete value '%s'?" +msgid "Are you sure you want to delete all registry values in '%1'?" +msgstr "Jesteś pewien, że chcesz usunąć daną '%s'?" + +#: reg.rc:51 +#, fuzzy +#| msgid "Are you sure you want to delete '%1'?" +msgid "Are you sure you want to delete the registry key '%1'?" +msgstr "Czy jesteś pewien, że chcesz usunąć '%1'?" + #: regedit.rc:34 msgid "&Registry" msgstr "&Rejestr" diff --git a/po/pt_BR.po b/po/pt_BR.po index f9c03c8feb7..bc9a03b06ee 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -11704,6 +11704,24 @@ msgstr "" msgid "(Default)" msgstr "(Padrão)" +#: reg.rc:49 +#, fuzzy +#| msgid "Are you sure you want to delete these values?" +msgid "Are you sure you want to delete the registry value '%1'?" +msgstr "Tem certeza que deseja excluir estes valores?" + +#: reg.rc:50 +#, fuzzy +#| msgid "Are you sure you want to delete value '%s'?" +msgid "Are you sure you want to delete all registry values in '%1'?" +msgstr "Tem certeza que deseja excluir o valor '%s'?" + +#: reg.rc:51 +#, fuzzy +#| msgid "Are you sure you want to delete '%1'?" +msgid "Are you sure you want to delete the registry key '%1'?" +msgstr "Você tem certeza que deseja excluir '%1'?" + #: regedit.rc:34 msgid "&Registry" msgstr "&Registro" diff --git a/po/pt_PT.po b/po/pt_PT.po index 8b97f399326..1598fc75c8c 100644 --- a/po/pt_PT.po +++ b/po/pt_PT.po @@ -11686,6 +11686,24 @@ msgstr "" msgid "(Default)" msgstr "(Omissão)" +#: reg.rc:49 +#, fuzzy +#| msgid "Are you sure you want to delete these values?" +msgid "Are you sure you want to delete the registry value '%1'?" +msgstr "Tem a certeza que deseja excluir estes valores?" + +#: reg.rc:50 +#, fuzzy +#| msgid "Are you sure you want to delete value '%s'?" +msgid "Are you sure you want to delete all registry values in '%1'?" +msgstr "Tem certeza que deseja excluir o valor '%s'?" + +#: reg.rc:51 +#, fuzzy +#| msgid "Are you sure you want to delete '%1'?" +msgid "Are you sure you want to delete the registry key '%1'?" +msgstr "Tem certeza que deseja excluir '%1'?" + #: regedit.rc:34 msgid "&Registry" msgstr "&Registo" diff --git a/po/rm.po b/po/rm.po index 6cc31ed039e..7ed63caba2c 100644 --- a/po/rm.po +++ b/po/rm.po @@ -11149,6 +11149,18 @@ msgstr "" msgid "(Default)" msgstr "" +#: reg.rc:49 +msgid "Are you sure you want to delete the registry value '%1'?" +msgstr "" + +#: reg.rc:50 +msgid "Are you sure you want to delete all registry values in '%1'?" +msgstr "" + +#: reg.rc:51 +msgid "Are you sure you want to delete the registry key '%1'?" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "" diff --git a/po/ro.po b/po/ro.po index b911cbb4b61..ed893db1b03 100644 --- a/po/ro.po +++ b/po/ro.po @@ -11905,6 +11905,24 @@ msgstr "" msgid "(Default)" msgstr "(Implicit)" +#: reg.rc:49 +#, fuzzy +#| msgid "Are you sure you want to delete these values?" +msgid "Are you sure you want to delete the registry value '%1'?" +msgstr "Sigur doriți să ștergeți aceste valori?" + +#: reg.rc:50 +#, fuzzy +#| msgid "Are you sure you want to delete value '%s'?" +msgid "Are you sure you want to delete all registry values in '%1'?" +msgstr "Sigur doriți să ștergeți valoarea „%s”?" + +#: reg.rc:51 +#, fuzzy +#| msgid "Are you sure you want to delete '%1'?" +msgid "Are you sure you want to delete the registry key '%1'?" +msgstr "Sunteți sigur că vreți să ștergeți '%1'?" + #: regedit.rc:34 msgid "&Registry" msgstr "&Registru" diff --git a/po/ru.po b/po/ru.po index d5307c03600..278e8fb6759 100644 --- a/po/ru.po +++ b/po/ru.po @@ -11618,6 +11618,24 @@ msgstr "Операция с реестром была отменена\n" msgid "(Default)" msgstr "(По умолчанию)" +#: reg.rc:49 +#, fuzzy +#| msgid "Are you sure you want to delete these values?" +msgid "Are you sure you want to delete the registry value '%1'?" +msgstr "Вы уверены что хотите удалить эти значения?" + +#: reg.rc:50 +#, fuzzy +#| msgid "Are you sure you want to delete value '%s'?" +msgid "Are you sure you want to delete all registry values in '%1'?" +msgstr "Удалить значение «%s»?" + +#: reg.rc:51 +#, fuzzy +#| msgid "Are you sure you want to delete '%1'?" +msgid "Are you sure you want to delete the registry key '%1'?" +msgstr "Удалить «%1»?" + #: regedit.rc:34 msgid "&Registry" msgstr "&Реестр" diff --git a/po/sk.po b/po/sk.po index f221f43fc58..2755249e825 100644 --- a/po/sk.po +++ b/po/sk.po @@ -11337,6 +11337,24 @@ msgstr "" msgid "(Default)" msgstr "(Predvolené)" +#: reg.rc:49 +#, fuzzy +#| msgid "Are you sure you want to delete these values?" +msgid "Are you sure you want to delete the registry value '%1'?" +msgstr "Ste si istý že chcete zmazať tieto hodnoty?" + +#: reg.rc:50 +#, fuzzy +#| msgid "Are you sure you want to delete value '%s'?" +msgid "Are you sure you want to delete all registry values in '%1'?" +msgstr "Ste si istý že chcete zmazať túto hodnotu '%s'?" + +#: reg.rc:51 +#, fuzzy +#| msgid "Are you sure you want to delete these values?" +msgid "Are you sure you want to delete the registry key '%1'?" +msgstr "Ste si istý že chcete zmazať tieto hodnoty?" + #: regedit.rc:34 msgid "&Registry" msgstr "&Registry" diff --git a/po/sl.po b/po/sl.po index 4e228ce7097..156eade7a6d 100644 --- a/po/sl.po +++ b/po/sl.po @@ -11838,6 +11838,24 @@ msgstr "" msgid "(Default)" msgstr "(Privzeto)" +#: reg.rc:49 +#, fuzzy +#| msgid "Are you sure you want to delete these values?" +msgid "Are you sure you want to delete the registry value '%1'?" +msgstr "Are ste prepričani, da želite izbrisati te vrednosti?" + +#: reg.rc:50 +#, fuzzy +#| msgid "Are you sure you want to delete value '%s'?" +msgid "Are you sure you want to delete all registry values in '%1'?" +msgstr "Ali ste prepričani, da želite izbrisati vrednost '%s'?" + +#: reg.rc:51 +#, fuzzy +#| msgid "Are you sure you want to delete '%1'?" +msgid "Are you sure you want to delete the registry key '%1'?" +msgstr "Ali ste prepričani, da želite izbrisati predmet '%1'?" + #: regedit.rc:34 msgid "&Registry" msgstr "&Register" diff --git a/po/sr_RS@cyrillic.po b/po/sr_RS@cyrillic.po index cb25cf2f92c..fb692a82255 100644 --- a/po/sr_RS@cyrillic.po +++ b/po/sr_RS@cyrillic.po @@ -11732,6 +11732,22 @@ msgstr "" msgid "(Default)" msgstr "Подразумевано" +#: reg.rc:49 +#, fuzzy +msgid "Are you sure you want to delete the registry value '%1'?" +msgstr "Желите ли да избришете ових %1 ставки?" + +#: reg.rc:50 +#, fuzzy +msgid "Are you sure you want to delete all registry values in '%1'?" +msgstr "Желите ли да избришете „%1“?" + +#: reg.rc:51 +#, fuzzy +#| msgid "Are you sure you want to delete '%1'?" +msgid "Are you sure you want to delete the registry key '%1'?" +msgstr "Желите ли да избришете „%1“?" + #: regedit.rc:34 msgid "&Registry" msgstr "" diff --git a/po/sr_RS@latin.po b/po/sr_RS@latin.po index 4fc7a21f5f3..15d57ca80c1 100644 --- a/po/sr_RS@latin.po +++ b/po/sr_RS@latin.po @@ -11871,6 +11871,22 @@ msgstr "" "#-#-#-#-# sr_RS@latin.po (Wine) #-#-#-#-#\n" "Osnovno" +#: reg.rc:49 +#, fuzzy +msgid "Are you sure you want to delete the registry value '%1'?" +msgstr "Želite li da izbrišete ovih %1 stavki?" + +#: reg.rc:50 +#, fuzzy +msgid "Are you sure you want to delete all registry values in '%1'?" +msgstr "Želite li da izbrišete „%1“?" + +#: reg.rc:51 +#, fuzzy +#| msgid "Are you sure you want to delete '%1'?" +msgid "Are you sure you want to delete the registry key '%1'?" +msgstr "Želite li da izbrišete „%1“?" + #: regedit.rc:34 msgid "&Registry" msgstr "" diff --git a/po/sv.po b/po/sv.po index 4daf6800519..83ffee36b9b 100644 --- a/po/sv.po +++ b/po/sv.po @@ -11536,6 +11536,24 @@ msgstr "" msgid "(Default)" msgstr "(Standard)" +#: reg.rc:49 +#, fuzzy +#| msgid "Are you sure you want to delete these values?" +msgid "Are you sure you want to delete the registry value '%1'?" +msgstr "Vill du verkligen ta bort dessa värden?" + +#: reg.rc:50 +#, fuzzy +#| msgid "Are you sure you want to delete value '%s'?" +msgid "Are you sure you want to delete all registry values in '%1'?" +msgstr "Vill du verkligen ta bort värdet '%s'?" + +#: reg.rc:51 +#, fuzzy +#| msgid "Are you sure you want to delete '%1'?" +msgid "Are you sure you want to delete the registry key '%1'?" +msgstr "Är du säker du vill ta bort '%1'?" + #: regedit.rc:34 msgid "&Registry" msgstr "&Register" diff --git a/po/te.po b/po/te.po index c9e81bdb1ce..83c482535b6 100644 --- a/po/te.po +++ b/po/te.po @@ -11071,6 +11071,18 @@ msgstr "" msgid "(Default)" msgstr "" +#: reg.rc:49 +msgid "Are you sure you want to delete the registry value '%1'?" +msgstr "" + +#: reg.rc:50 +msgid "Are you sure you want to delete all registry values in '%1'?" +msgstr "" + +#: reg.rc:51 +msgid "Are you sure you want to delete the registry key '%1'?" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "" diff --git a/po/th.po b/po/th.po index 8013669b4b4..009698a7937 100644 --- a/po/th.po +++ b/po/th.po @@ -11302,6 +11302,18 @@ msgstr "" msgid "(Default)" msgstr "" +#: reg.rc:49 +msgid "Are you sure you want to delete the registry value '%1'?" +msgstr "" + +#: reg.rc:50 +msgid "Are you sure you want to delete all registry values in '%1'?" +msgstr "" + +#: reg.rc:51 +msgid "Are you sure you want to delete the registry key '%1'?" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "" diff --git a/po/tr.po b/po/tr.po index df90a8a9c12..825d27321e7 100644 --- a/po/tr.po +++ b/po/tr.po @@ -11661,6 +11661,24 @@ msgstr "" msgid "(Default)" msgstr "(Standart)" +#: reg.rc:49 +#, fuzzy +#| msgid "Are you sure you want to delete these values?" +msgid "Are you sure you want to delete the registry value '%1'?" +msgstr "Bu değerleri silmek istediğinizden emin misiniz?" + +#: reg.rc:50 +#, fuzzy +#| msgid "Are you sure you want to delete value '%s'?" +msgid "Are you sure you want to delete all registry values in '%1'?" +msgstr "'%s' değerini silmek istediğinizden emin misiniz?" + +#: reg.rc:51 +#, fuzzy +#| msgid "Are you sure you want to delete '%1'?" +msgid "Are you sure you want to delete the registry key '%1'?" +msgstr "'%1' öğesini silmek istediğinizden emin misiniz?" + #: regedit.rc:34 msgid "&Registry" msgstr "&Kayıt" diff --git a/po/uk.po b/po/uk.po index ea373b1badc..8d87ad9b820 100644 --- a/po/uk.po +++ b/po/uk.po @@ -11723,6 +11723,24 @@ msgstr "" msgid "(Default)" msgstr "(Стандартно)" +#: reg.rc:49 +#, fuzzy +#| msgid "Are you sure you want to delete these values?" +msgid "Are you sure you want to delete the registry value '%1'?" +msgstr "Ви впевнені, що хочете видалити ці значення?" + +#: reg.rc:50 +#, fuzzy +#| msgid "Are you sure you want to delete value '%s'?" +msgid "Are you sure you want to delete all registry values in '%1'?" +msgstr "Ви впевнені, що хочете видалити значення '%s'?" + +#: reg.rc:51 +#, fuzzy +#| msgid "Are you sure you want to delete '%1'?" +msgid "Are you sure you want to delete the registry key '%1'?" +msgstr "Ви впевнені, що хочете вилучити '%1'?" + #: regedit.rc:34 msgid "&Registry" msgstr "&Реєстр" diff --git a/po/wa.po b/po/wa.po index 9e4a131e466..142dd54ff15 100644 --- a/po/wa.po +++ b/po/wa.po @@ -11210,6 +11210,18 @@ msgstr "" msgid "(Default)" msgstr "" +#: reg.rc:49 +msgid "Are you sure you want to delete the registry value '%1'?" +msgstr "" + +#: reg.rc:50 +msgid "Are you sure you want to delete all registry values in '%1'?" +msgstr "" + +#: reg.rc:51 +msgid "Are you sure you want to delete the registry key '%1'?" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "" diff --git a/po/wine.pot b/po/wine.pot index 6b45fec726c..ec2c88a01d3 100644 --- a/po/wine.pot +++ b/po/wine.pot @@ -11007,6 +11007,18 @@ msgstr "" msgid "(Default)" msgstr "" +#: reg.rc:49 +msgid "Are you sure you want to delete the registry value '%1'?" +msgstr "" + +#: reg.rc:50 +msgid "Are you sure you want to delete all registry values in '%1'?" +msgstr "" + +#: reg.rc:51 +msgid "Are you sure you want to delete the registry key '%1'?" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "" diff --git a/po/zh_CN.po b/po/zh_CN.po index eeb3ab3aa47..34eed2d3dda 100644 --- a/po/zh_CN.po +++ b/po/zh_CN.po @@ -11165,6 +11165,24 @@ msgstr "" msgid "(Default)" msgstr "(默认)" +#: reg.rc:49 +#, fuzzy +#| msgid "Are you sure you want to delete these values?" +msgid "Are you sure you want to delete the registry value '%1'?" +msgstr "您确认要删除这些值吗?" + +#: reg.rc:50 +#, fuzzy +#| msgid "Are you sure you want to delete value '%s'?" +msgid "Are you sure you want to delete all registry values in '%1'?" +msgstr "您确认要删除值 '%s' 吗?" + +#: reg.rc:51 +#, fuzzy +#| msgid "Are you sure you want to delete '%1'?" +msgid "Are you sure you want to delete the registry key '%1'?" +msgstr "真的删除 '%1'?" + #: regedit.rc:34 msgid "&Registry" msgstr "注册表(&R)" diff --git a/po/zh_TW.po b/po/zh_TW.po index 95c21fde222..6912bf402c5 100644 --- a/po/zh_TW.po +++ b/po/zh_TW.po @@ -11769,6 +11769,24 @@ msgstr "" msgid "(Default)" msgstr "(預設)" +#: reg.rc:49 +#, fuzzy +#| msgid "Are you sure you want to delete these values?" +msgid "Are you sure you want to delete the registry value '%1'?" +msgstr "您確認要刪除這些數值嗎?" + +#: reg.rc:50 +#, fuzzy +#| msgid "Are you sure you want to delete value '%s'?" +msgid "Are you sure you want to delete all registry values in '%1'?" +msgstr "您確認要刪除這個數值 %s 嗎?" + +#: reg.rc:51 +#, fuzzy +#| msgid "Are you sure you want to delete '%1'?" +msgid "Are you sure you want to delete the registry key '%1'?" +msgstr "確定要刪除 %1?" + #: regedit.rc:34 msgid "&Registry" msgstr "註冊表(&R)" diff --git a/programs/reg/reg.c b/programs/reg/reg.c index f38de60e5ae..32b0d1785d2 100644 --- a/programs/reg/reg.c +++ b/programs/reg/reg.c @@ -411,7 +411,20 @@ static int reg_delete(WCHAR *key_name, WCHAR *value_name, BOOL value_empty, if (!force) { - /* FIXME: Prompt for delete */ + BOOL ret; + + if (value_name || value_empty) + ret = ask_confirm(STRING_DELETE_VALUE, value_name); + else if (value_all) + ret = ask_confirm(STRING_DELETE_VALUEALL, key_name); + else + ret = ask_confirm(STRING_DELETE_SUBKEY, key_name); + + if (!ret) + { + output_message(STRING_CANCELLED); + return 0; + } } /* Delete subtree only if no /v* option is given */ diff --git a/programs/reg/reg.h b/programs/reg/reg.h index 837ef0c0da0..592fec69d64 100644 --- a/programs/reg/reg.h +++ b/programs/reg/reg.h @@ -40,3 +40,6 @@ #define STRING_NO 117 #define STRING_CANCELLED 118 #define STRING_DEFAULT_VALUE 119 +#define STRING_DELETE_VALUE 120 +#define STRING_DELETE_VALUEALL 121 +#define STRING_DELETE_SUBKEY 122 diff --git a/programs/reg/reg.rc b/programs/reg/reg.rc index 228bc9cc19c..9b239d1f271 100644 --- a/programs/reg/reg.rc +++ b/programs/reg/reg.rc @@ -45,4 +45,7 @@ STRINGTABLE STRING_NO, "#msgctxt#No key#N" STRING_CANCELLED, "The registry operation was cancelled\n" STRING_DEFAULT_VALUE, "(Default)" + STRING_DELETE_VALUE, "Are you sure you want to delete the registry value '%1'?" + STRING_DELETE_VALUEALL, "Are you sure you want to delete all registry values in '%1'?" + STRING_DELETE_SUBKEY, "Are you sure you want to delete the registry key '%1'?" }