Add warnings and volatile flag to settings

This adds two functions for settings. A warning message can be added,
which will either always be displayed to the user when they change the
value, or only when they change it away from some default. They are
given the opportunity to cancel the change if the warning makes them
reconsider.

Also, a setting can be marked "volatile" which will cause the settings
tab to be fully reloaded when it has been changed. This resets the
view as well, so it's not ideal, but this can be used when one setting
necessarily impacts another.

Fixes #10695
This commit is contained in:
Dan Smith 2023-07-02 14:17:17 -07:00 committed by Dan Smith
parent 885590d6df
commit b257795c83
19 changed files with 505 additions and 121 deletions

View File

@ -1862,6 +1862,12 @@ class UVK5Radio(chirp_common.CloneModeRadio):
val = RadioSettingValueBoolean(self._expanded_limits)
rs = RadioSetting("nolimits", "Limits disabled for modified firmware",
val)
rs.set_warning(_(
'This should only be enabled if you are using modified firmware '
'that supports wider frequency coverage. Enabling this will cause '
'CHIRP not to enforce OEM restrictions and may lead to undefined '
'or unregulated behavior. Use at your own risk!'),
safe_value=False)
roinfo.append(rs)
return top

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: CHIRP\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-06-28 17:09-0700\n"
"POT-Creation-Date: 2023-07-02 14:20-0700\n"
"PO-Revision-Date: 2012-10-02 22:11+0100\n"
"Last-Translator: Benjamin, HB9EUK <hb9euk@hb9d.org>\n"
"Language-Team: German\n"
@ -648,7 +648,7 @@ msgstr ""
msgid "Amateur"
msgstr ""
#: ../wxui/common.py:499 ../wxui/common.py:525
#: ../wxui/common.py:531 ../wxui/common.py:557
msgid "An error has occurred"
msgstr "Ein Fehler ist aufgetreten"
@ -688,6 +688,12 @@ msgstr ""
msgid "Canada"
msgstr ""
#: ../wxui/common.py:420
msgid ""
"Changing this setting requires refreshing the settings from the image, which "
"will happen now."
msgstr ""
#: ../wxui/memedit.py:1173
#, python-format
msgid ""
@ -943,7 +949,7 @@ msgstr ""
msgid "Erased memory %s"
msgstr "Lösche Speicher {loc}"
#: ../wxui/settingsedit.py:114
#: ../wxui/settingsedit.py:116
#, fuzzy
msgid "Error applying settings"
msgstr "Fehler beim Setzen der Speicher"
@ -1199,7 +1205,7 @@ msgstr "Frequenz"
msgid "GMRS"
msgstr ""
#: ../wxui/settingsedit.py:54
#: ../wxui/settingsedit.py:55
msgid "Getting settings"
msgstr ""
@ -1551,7 +1557,7 @@ msgstr ""
msgid "Pasted memory will overwrite memory %s"
msgstr ""
#: ../wxui/common.py:564
#: ../wxui/common.py:596
#, python-format
msgid "Path %s does not exist"
msgstr ""
@ -1666,6 +1672,10 @@ msgstr ""
msgid "RadioReference Canada requires a login before you can query"
msgstr ""
#: ../wxui/common.py:422
msgid "Refresh required"
msgstr ""
#: ../wxui/common.py:310
#, python-format
msgid "Refreshed memory %s"
@ -1891,6 +1901,14 @@ msgid ""
"If you can get into it, please check the radio and cable.\n"
msgstr ""
#: ../drivers/uvk5.py:1866
msgid ""
"This should only be enabled if you are using modified firmware that supports "
"wider frequency coverage. Enabling this will cause CHIRP not to enforce OEM "
"restrictions and may lead to undefined or unregulated behavior. Use at your "
"own risk!"
msgstr ""
#: ../wxui/developer.py:484
msgid "This will load a module from a website issue"
msgstr ""
@ -1944,7 +1962,7 @@ msgid ""
"model and try again."
msgstr ""
#: ../wxui/common.py:571
#: ../wxui/common.py:603
#, fuzzy, python-format
msgid "Unable to reveal %s on this system"
msgstr "Keine Änderungen bei diesem Modell möglich"
@ -1989,12 +2007,12 @@ msgstr ""
msgid "Value does not fit in %i bits"
msgstr ""
#: ../wxui/common.py:422
#: ../wxui/common.py:454
#, python-format
msgid "Value must be at least %.4f"
msgstr ""
#: ../wxui/common.py:426
#: ../wxui/common.py:458
#, python-format
msgid "Value must be at most %.4f"
msgstr ""
@ -2017,6 +2035,10 @@ msgstr "Hersteller"
msgid "View"
msgstr "_Ansicht"
#: ../wxui/common.py:406
msgid "WARNING!"
msgstr ""
#: ../wxui/memedit.py:1324
msgid "Warning"
msgstr ""

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: CHIRP\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-06-28 17:09-0700\n"
"POT-Creation-Date: 2023-07-02 14:20-0700\n"
"PO-Revision-Date: 2023-02-11 15:12+0200\n"
"Last-Translator: Sokratis Alichanidis <sv2hzs@posteo.net>\n"
"Language-Team: Greek\n"
@ -651,7 +651,7 @@ msgstr "Όλοι οι τύποι αρχείων|"
msgid "Amateur"
msgstr "Ραδιοερασιτέχνη"
#: ../wxui/common.py:499 ../wxui/common.py:525
#: ../wxui/common.py:531 ../wxui/common.py:557
msgid "An error has occurred"
msgstr "Παρουσιάστηκε ένα σφάλμα"
@ -691,6 +691,12 @@ msgstr "Δημιουργία Περιηγητή Πομποδεκτών"
msgid "Canada"
msgstr "Καναδάς"
#: ../wxui/common.py:420
msgid ""
"Changing this setting requires refreshing the settings from the image, which "
"will happen now."
msgstr ""
#: ../wxui/memedit.py:1173
#, python-format
msgid ""
@ -940,7 +946,7 @@ msgstr "Εισάγετε προσαρμοσμένη θύρα:"
msgid "Erased memory %s"
msgstr "Διεγράφη η μνήμη %s"
#: ../wxui/settingsedit.py:114
#: ../wxui/settingsedit.py:116
msgid "Error applying settings"
msgstr "Σφάλμα εφαρμογής ρυθμίσεων"
@ -1190,7 +1196,7 @@ msgstr "Συχνότητα"
msgid "GMRS"
msgstr "GMRS"
#: ../wxui/settingsedit.py:54
#: ../wxui/settingsedit.py:55
msgid "Getting settings"
msgstr "Λήψη ρυθμίσεων"
@ -1531,7 +1537,7 @@ msgstr ""
msgid "Pasted memory will overwrite memory %s"
msgstr ""
#: ../wxui/common.py:564
#: ../wxui/common.py:596
#, fuzzy, python-format
msgid "Path %s does not exist"
msgstr "Το αρχείο δεν υπάρχει: %s"
@ -1645,6 +1651,11 @@ msgstr ""
msgid "RadioReference Canada requires a login before you can query"
msgstr ""
#: ../wxui/common.py:422
#, fuzzy
msgid "Refresh required"
msgstr "Απαιτείται επανεκκίνηση"
#: ../wxui/common.py:310
#, python-format
msgid "Refreshed memory %s"
@ -1870,6 +1881,14 @@ msgid ""
"If you can get into it, please check the radio and cable.\n"
msgstr ""
#: ../drivers/uvk5.py:1866
msgid ""
"This should only be enabled if you are using modified firmware that supports "
"wider frequency coverage. Enabling this will cause CHIRP not to enforce OEM "
"restrictions and may lead to undefined or unregulated behavior. Use at your "
"own risk!"
msgstr ""
#: ../wxui/developer.py:484
msgid "This will load a module from a website issue"
msgstr ""
@ -1920,7 +1939,7 @@ msgid ""
"model and try again."
msgstr ""
#: ../wxui/common.py:571
#: ../wxui/common.py:603
#, python-format
msgid "Unable to reveal %s on this system"
msgstr ""
@ -1964,12 +1983,12 @@ msgstr "Χρήση μεγαλύτερης γραμματοσειράς"
msgid "Value does not fit in %i bits"
msgstr "Η τιμή δεν χωράει σε %i bits"
#: ../wxui/common.py:422
#: ../wxui/common.py:454
#, python-format
msgid "Value must be at least %.4f"
msgstr "Η τιμή πρέπει να είναι τουλάχιστον %.4f"
#: ../wxui/common.py:426
#: ../wxui/common.py:458
#, python-format
msgid "Value must be at most %.4f"
msgstr "Η τιμή πρέπει να είναι το πολύ %.4f"
@ -1991,6 +2010,10 @@ msgstr "Προμηθευτής"
msgid "View"
msgstr "Εμφάνιση"
#: ../wxui/common.py:406
msgid "WARNING!"
msgstr ""
#: ../wxui/memedit.py:1324
msgid "Warning"
msgstr "Προειδοποίηση"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: CHIRP\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-06-28 17:09-0700\n"
"POT-Creation-Date: 2023-07-02 14:20-0700\n"
"PO-Revision-Date: 2011-11-29 16:07-0800\n"
"Last-Translator: Dan Smith <dan@theine>\n"
"Language-Team: English\n"
@ -646,7 +646,7 @@ msgstr ""
msgid "Amateur"
msgstr ""
#: ../wxui/common.py:499 ../wxui/common.py:525
#: ../wxui/common.py:531 ../wxui/common.py:557
msgid "An error has occurred"
msgstr ""
@ -686,6 +686,12 @@ msgstr ""
msgid "Canada"
msgstr ""
#: ../wxui/common.py:420
msgid ""
"Changing this setting requires refreshing the settings from the image, which "
"will happen now."
msgstr ""
#: ../wxui/memedit.py:1173
#, python-format
msgid ""
@ -937,7 +943,7 @@ msgstr ""
msgid "Erased memory %s"
msgstr "E_xchange"
#: ../wxui/settingsedit.py:114
#: ../wxui/settingsedit.py:116
msgid "Error applying settings"
msgstr ""
@ -1189,7 +1195,7 @@ msgstr ""
msgid "GMRS"
msgstr ""
#: ../wxui/settingsedit.py:54
#: ../wxui/settingsedit.py:55
msgid "Getting settings"
msgstr ""
@ -1533,7 +1539,7 @@ msgstr ""
msgid "Pasted memory will overwrite memory %s"
msgstr ""
#: ../wxui/common.py:564
#: ../wxui/common.py:596
#, python-format
msgid "Path %s does not exist"
msgstr ""
@ -1646,6 +1652,10 @@ msgstr ""
msgid "RadioReference Canada requires a login before you can query"
msgstr ""
#: ../wxui/common.py:422
msgid "Refresh required"
msgstr ""
#: ../wxui/common.py:310
#, python-format
msgid "Refreshed memory %s"
@ -1868,6 +1878,14 @@ msgid ""
"If you can get into it, please check the radio and cable.\n"
msgstr ""
#: ../drivers/uvk5.py:1866
msgid ""
"This should only be enabled if you are using modified firmware that supports "
"wider frequency coverage. Enabling this will cause CHIRP not to enforce OEM "
"restrictions and may lead to undefined or unregulated behavior. Use at your "
"own risk!"
msgstr ""
#: ../wxui/developer.py:484
msgid "This will load a module from a website issue"
msgstr ""
@ -1918,7 +1936,7 @@ msgid ""
"model and try again."
msgstr ""
#: ../wxui/common.py:571
#: ../wxui/common.py:603
#, python-format
msgid "Unable to reveal %s on this system"
msgstr ""
@ -1963,12 +1981,12 @@ msgstr ""
msgid "Value does not fit in %i bits"
msgstr ""
#: ../wxui/common.py:422
#: ../wxui/common.py:454
#, python-format
msgid "Value must be at least %.4f"
msgstr ""
#: ../wxui/common.py:426
#: ../wxui/common.py:458
#, python-format
msgid "Value must be at most %.4f"
msgstr ""
@ -1991,6 +2009,10 @@ msgstr ""
msgid "View"
msgstr "_View"
#: ../wxui/common.py:406
msgid "WARNING!"
msgstr ""
#: ../wxui/memedit.py:1324
msgid "Warning"
msgstr ""

View File

@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: CHIRP\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-06-28 17:09-0700\n"
"POT-Creation-Date: 2023-07-02 14:20-0700\n"
"PO-Revision-Date: 2023-06-29 01:01-0400\n"
"Last-Translator: MELERIX\n"
"Language-Team: \n"
@ -1021,7 +1021,7 @@ msgstr "Todos los formatos soportados|"
msgid "Amateur"
msgstr "Aficionado"
#: ../wxui/common.py:499 ../wxui/common.py:525
#: ../wxui/common.py:531 ../wxui/common.py:557
msgid "An error has occurred"
msgstr "Ha ocurrido un error"
@ -1061,6 +1061,12 @@ msgstr "Construyendo navegador de radio"
msgid "Canada"
msgstr "Canada"
#: ../wxui/common.py:420
msgid ""
"Changing this setting requires refreshing the settings from the image, which "
"will happen now."
msgstr ""
#: ../wxui/memedit.py:1173
#, python-format
msgid ""
@ -1318,7 +1324,7 @@ msgstr "Ingresar puerto personalizado:"
msgid "Erased memory %s"
msgstr "Memoria borrada %s"
#: ../wxui/settingsedit.py:114
#: ../wxui/settingsedit.py:116
msgid "Error applying settings"
msgstr "Error aplicando ajustes"
@ -1663,7 +1669,7 @@ msgstr "Frecuencia"
msgid "GMRS"
msgstr "GMRS"
#: ../wxui/settingsedit.py:54
#: ../wxui/settingsedit.py:55
msgid "Getting settings"
msgstr "Obteniendo ajustes"
@ -2007,7 +2013,7 @@ msgstr "Las memorias pegadas sobrescribirán la memoria %s"
msgid "Pasted memory will overwrite memory %s"
msgstr "La memoria pegada sobrescribirá la memoria %s"
#: ../wxui/common.py:564
#: ../wxui/common.py:596
#, python-format
msgid "Path %s does not exist"
msgstr "La ruta %s no existe"
@ -2148,6 +2154,11 @@ msgstr ""
"RadioReference Canadá requiere un inicio de sesión antes de que puedas "
"consultar"
#: ../wxui/common.py:422
#, fuzzy
msgid "Refresh required"
msgstr "Reinicio requerido"
#: ../wxui/common.py:310
#, python-format
msgid "Refreshed memory %s"
@ -2401,6 +2412,14 @@ msgstr ""
"veces.\n"
"Si puede ingresar, por favor comprueba la radio y el cable.\n"
#: ../drivers/uvk5.py:1866
msgid ""
"This should only be enabled if you are using modified firmware that supports "
"wider frequency coverage. Enabling this will cause CHIRP not to enforce OEM "
"restrictions and may lead to undefined or unregulated behavior. Use at your "
"own risk!"
msgstr ""
#: ../wxui/developer.py:484
msgid "This will load a module from a website issue"
msgstr "Esto va a cargar un módulo desde un problema del sitio web"
@ -2456,7 +2475,7 @@ msgstr ""
"seleccionado es de EE.UU pero la radio no es una de EE.UU (o de banda "
"ancha). Por favor elije el modelo correcto e intenta de nuevo."
#: ../wxui/common.py:571
#: ../wxui/common.py:603
#, python-format
msgid "Unable to reveal %s on this system"
msgstr "No se puede revelar %s en este sistema"
@ -2500,12 +2519,12 @@ msgstr "Usar fuente más grande"
msgid "Value does not fit in %i bits"
msgstr "Valor no cabe en %i bits"
#: ../wxui/common.py:422
#: ../wxui/common.py:454
#, python-format
msgid "Value must be at least %.4f"
msgstr "Valor debe ser al menos %.4f"
#: ../wxui/common.py:426
#: ../wxui/common.py:458
#, python-format
msgid "Value must be at most %.4f"
msgstr "Valor debe ser como máximo %.4f"
@ -2527,6 +2546,10 @@ msgstr "Vendedor"
msgid "View"
msgstr "Ver"
#: ../wxui/common.py:406
msgid "WARNING!"
msgstr ""
#: ../wxui/memedit.py:1324
msgid "Warning"
msgstr "Advertencia"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: CHIRP\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-06-28 17:09-0700\n"
"POT-Creation-Date: 2023-07-02 14:20-0700\n"
"PO-Revision-Date: 2014-04-05 22:18+0100\n"
"Last-Translator: Matthieu Lapadu-Hargues <mlhpub@free.fr>\n"
"Language-Team: French\n"
@ -648,7 +648,7 @@ msgstr ""
msgid "Amateur"
msgstr ""
#: ../wxui/common.py:499 ../wxui/common.py:525
#: ../wxui/common.py:531 ../wxui/common.py:557
msgid "An error has occurred"
msgstr "Une erreur s'est produite"
@ -688,6 +688,12 @@ msgstr ""
msgid "Canada"
msgstr ""
#: ../wxui/common.py:420
msgid ""
"Changing this setting requires refreshing the settings from the image, which "
"will happen now."
msgstr ""
#: ../wxui/memedit.py:1173
#, python-format
msgid ""
@ -942,7 +948,7 @@ msgstr ""
msgid "Erased memory %s"
msgstr "Effacer la memoire {loc}"
#: ../wxui/settingsedit.py:114
#: ../wxui/settingsedit.py:116
#, fuzzy
msgid "Error applying settings"
msgstr "Erreur ecriture memoire"
@ -1195,7 +1201,7 @@ msgstr "Frequence"
msgid "GMRS"
msgstr ""
#: ../wxui/settingsedit.py:54
#: ../wxui/settingsedit.py:55
msgid "Getting settings"
msgstr ""
@ -1546,7 +1552,7 @@ msgstr ""
msgid "Pasted memory will overwrite memory %s"
msgstr ""
#: ../wxui/common.py:564
#: ../wxui/common.py:596
#, python-format
msgid "Path %s does not exist"
msgstr ""
@ -1660,6 +1666,10 @@ msgstr ""
msgid "RadioReference Canada requires a login before you can query"
msgstr ""
#: ../wxui/common.py:422
msgid "Refresh required"
msgstr ""
#: ../wxui/common.py:310
#, python-format
msgid "Refreshed memory %s"
@ -1883,6 +1893,14 @@ msgid ""
"If you can get into it, please check the radio and cable.\n"
msgstr ""
#: ../drivers/uvk5.py:1866
msgid ""
"This should only be enabled if you are using modified firmware that supports "
"wider frequency coverage. Enabling this will cause CHIRP not to enforce OEM "
"restrictions and may lead to undefined or unregulated behavior. Use at your "
"own risk!"
msgstr ""
#: ../wxui/developer.py:484
msgid "This will load a module from a website issue"
msgstr ""
@ -1936,7 +1954,7 @@ msgid ""
"model and try again."
msgstr ""
#: ../wxui/common.py:571
#: ../wxui/common.py:603
#, fuzzy, python-format
msgid "Unable to reveal %s on this system"
msgstr "Impossible de realiser des changements pour ce modele"
@ -1981,12 +1999,12 @@ msgstr ""
msgid "Value does not fit in %i bits"
msgstr ""
#: ../wxui/common.py:422
#: ../wxui/common.py:454
#, python-format
msgid "Value must be at least %.4f"
msgstr ""
#: ../wxui/common.py:426
#: ../wxui/common.py:458
#, python-format
msgid "Value must be at most %.4f"
msgstr ""
@ -2009,6 +2027,10 @@ msgstr "Fabricant"
msgid "View"
msgstr "_Voir"
#: ../wxui/common.py:406
msgid "WARNING!"
msgstr ""
#: ../wxui/memedit.py:1324
msgid "Warning"
msgstr ""

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: CHIRP\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-06-28 17:09-0700\n"
"POT-Creation-Date: 2023-07-02 14:20-0700\n"
"PO-Revision-Date: 2015-01-28 13:47+0100\n"
"Last-Translator: Attila Joubert <joubert.attila@gmail.com>\n"
"Language-Team: English\n"
@ -647,7 +647,7 @@ msgstr ""
msgid "Amateur"
msgstr ""
#: ../wxui/common.py:499 ../wxui/common.py:525
#: ../wxui/common.py:531 ../wxui/common.py:557
msgid "An error has occurred"
msgstr "Hiba történt"
@ -687,6 +687,12 @@ msgstr ""
msgid "Canada"
msgstr ""
#: ../wxui/common.py:420
msgid ""
"Changing this setting requires refreshing the settings from the image, which "
"will happen now."
msgstr ""
#: ../wxui/memedit.py:1173
#, python-format
msgid ""
@ -943,7 +949,7 @@ msgstr ""
msgid "Erased memory %s"
msgstr "A(z) {loc}. memóriahely törlése"
#: ../wxui/settingsedit.py:114
#: ../wxui/settingsedit.py:116
#, fuzzy
msgid "Error applying settings"
msgstr "Hiba a(z) %s érték beállításakor"
@ -1199,7 +1205,7 @@ msgstr "Frekvencia"
msgid "GMRS"
msgstr ""
#: ../wxui/settingsedit.py:54
#: ../wxui/settingsedit.py:55
#, fuzzy
msgid "Getting settings"
msgstr "%s információk beolvasása"
@ -1554,7 +1560,7 @@ msgstr ""
msgid "Pasted memory will overwrite memory %s"
msgstr ""
#: ../wxui/common.py:564
#: ../wxui/common.py:596
#, python-format
msgid "Path %s does not exist"
msgstr ""
@ -1670,6 +1676,10 @@ msgstr ""
msgid "RadioReference Canada requires a login before you can query"
msgstr ""
#: ../wxui/common.py:422
msgid "Refresh required"
msgstr ""
#: ../wxui/common.py:310
#, fuzzy, python-format
msgid "Refreshed memory %s"
@ -1895,6 +1905,14 @@ msgid ""
"If you can get into it, please check the radio and cable.\n"
msgstr ""
#: ../drivers/uvk5.py:1866
msgid ""
"This should only be enabled if you are using modified firmware that supports "
"wider frequency coverage. Enabling this will cause CHIRP not to enforce OEM "
"restrictions and may lead to undefined or unregulated behavior. Use at your "
"own risk!"
msgstr ""
#: ../wxui/developer.py:484
msgid "This will load a module from a website issue"
msgstr ""
@ -1948,7 +1966,7 @@ msgid ""
"model and try again."
msgstr ""
#: ../wxui/common.py:571
#: ../wxui/common.py:603
#, fuzzy, python-format
msgid "Unable to reveal %s on this system"
msgstr "Ennél a modellnél nem változtatható"
@ -1994,12 +2012,12 @@ msgstr ""
msgid "Value does not fit in %i bits"
msgstr ""
#: ../wxui/common.py:422
#: ../wxui/common.py:454
#, python-format
msgid "Value must be at least %.4f"
msgstr ""
#: ../wxui/common.py:426
#: ../wxui/common.py:458
#, python-format
msgid "Value must be at most %.4f"
msgstr ""
@ -2022,6 +2040,10 @@ msgstr "Gyártó"
msgid "View"
msgstr "Né_zet"
#: ../wxui/common.py:406
msgid "WARNING!"
msgstr ""
#: ../wxui/memedit.py:1324
msgid "Warning"
msgstr ""

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: CHIRP\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-06-28 17:09-0700\n"
"POT-Creation-Date: 2023-07-02 14:20-0700\n"
"PO-Revision-Date: 2014-11-08 17:58+0100\n"
"Last-Translator: Dan Smith <dan@theine>\n"
"Language-Team: English\n"
@ -647,7 +647,7 @@ msgstr ""
msgid "Amateur"
msgstr ""
#: ../wxui/common.py:499 ../wxui/common.py:525
#: ../wxui/common.py:531 ../wxui/common.py:557
msgid "An error has occurred"
msgstr "Si e' verificato un errore"
@ -687,6 +687,12 @@ msgstr ""
msgid "Canada"
msgstr ""
#: ../wxui/common.py:420
msgid ""
"Changing this setting requires refreshing the settings from the image, which "
"will happen now."
msgstr ""
#: ../wxui/memedit.py:1173
#, python-format
msgid ""
@ -941,7 +947,7 @@ msgstr ""
msgid "Erased memory %s"
msgstr "Cancellazione memoria {loc}"
#: ../wxui/settingsedit.py:114
#: ../wxui/settingsedit.py:116
#, fuzzy
msgid "Error applying settings"
msgstr "Errore di scrittura della memoria"
@ -1194,7 +1200,7 @@ msgstr "Frequenza"
msgid "GMRS"
msgstr ""
#: ../wxui/settingsedit.py:54
#: ../wxui/settingsedit.py:55
msgid "Getting settings"
msgstr ""
@ -1545,7 +1551,7 @@ msgstr ""
msgid "Pasted memory will overwrite memory %s"
msgstr ""
#: ../wxui/common.py:564
#: ../wxui/common.py:596
#, python-format
msgid "Path %s does not exist"
msgstr ""
@ -1659,6 +1665,10 @@ msgstr ""
msgid "RadioReference Canada requires a login before you can query"
msgstr ""
#: ../wxui/common.py:422
msgid "Refresh required"
msgstr ""
#: ../wxui/common.py:310
#, python-format
msgid "Refreshed memory %s"
@ -1883,6 +1893,14 @@ msgid ""
"If you can get into it, please check the radio and cable.\n"
msgstr ""
#: ../drivers/uvk5.py:1866
msgid ""
"This should only be enabled if you are using modified firmware that supports "
"wider frequency coverage. Enabling this will cause CHIRP not to enforce OEM "
"restrictions and may lead to undefined or unregulated behavior. Use at your "
"own risk!"
msgstr ""
#: ../wxui/developer.py:484
msgid "This will load a module from a website issue"
msgstr ""
@ -1936,7 +1954,7 @@ msgid ""
"model and try again."
msgstr ""
#: ../wxui/common.py:571
#: ../wxui/common.py:603
#, fuzzy, python-format
msgid "Unable to reveal %s on this system"
msgstr "Impossibile effettuare modifiche su questo modello"
@ -1981,12 +1999,12 @@ msgstr ""
msgid "Value does not fit in %i bits"
msgstr ""
#: ../wxui/common.py:422
#: ../wxui/common.py:454
#, python-format
msgid "Value must be at least %.4f"
msgstr ""
#: ../wxui/common.py:426
#: ../wxui/common.py:458
#, python-format
msgid "Value must be at most %.4f"
msgstr ""
@ -2009,6 +2027,10 @@ msgstr "Produttore"
msgid "View"
msgstr "Vista"
#: ../wxui/common.py:406
msgid "WARNING!"
msgstr ""
#: ../wxui/memedit.py:1324
msgid "Warning"
msgstr ""

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: CHIRP\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-06-28 17:09-0700\n"
"POT-Creation-Date: 2023-07-02 14:20-0700\n"
"PO-Revision-Date: 2012-03-18 12:01+0100\n"
"Last-Translator: Michael Tel <m.tel@xs4all.nl>\n"
"Language-Team: Dutch\n"
@ -647,7 +647,7 @@ msgstr ""
msgid "Amateur"
msgstr ""
#: ../wxui/common.py:499 ../wxui/common.py:525
#: ../wxui/common.py:531 ../wxui/common.py:557
msgid "An error has occurred"
msgstr "Er is een fout opgetreden"
@ -687,6 +687,12 @@ msgstr ""
msgid "Canada"
msgstr ""
#: ../wxui/common.py:420
msgid ""
"Changing this setting requires refreshing the settings from the image, which "
"will happen now."
msgstr ""
#: ../wxui/memedit.py:1173
#, python-format
msgid ""
@ -941,7 +947,7 @@ msgstr ""
msgid "Erased memory %s"
msgstr "Wis kanaal {loc}"
#: ../wxui/settingsedit.py:114
#: ../wxui/settingsedit.py:116
#, fuzzy
msgid "Error applying settings"
msgstr "Fout bij het instellen van het geheugen"
@ -1194,7 +1200,7 @@ msgstr "Frequentie"
msgid "GMRS"
msgstr ""
#: ../wxui/settingsedit.py:54
#: ../wxui/settingsedit.py:55
msgid "Getting settings"
msgstr ""
@ -1545,7 +1551,7 @@ msgstr ""
msgid "Pasted memory will overwrite memory %s"
msgstr ""
#: ../wxui/common.py:564
#: ../wxui/common.py:596
#, python-format
msgid "Path %s does not exist"
msgstr ""
@ -1659,6 +1665,10 @@ msgstr ""
msgid "RadioReference Canada requires a login before you can query"
msgstr ""
#: ../wxui/common.py:422
msgid "Refresh required"
msgstr ""
#: ../wxui/common.py:310
#, python-format
msgid "Refreshed memory %s"
@ -1882,6 +1892,14 @@ msgid ""
"If you can get into it, please check the radio and cable.\n"
msgstr ""
#: ../drivers/uvk5.py:1866
msgid ""
"This should only be enabled if you are using modified firmware that supports "
"wider frequency coverage. Enabling this will cause CHIRP not to enforce OEM "
"restrictions and may lead to undefined or unregulated behavior. Use at your "
"own risk!"
msgstr ""
#: ../wxui/developer.py:484
msgid "This will load a module from a website issue"
msgstr ""
@ -1935,7 +1953,7 @@ msgid ""
"model and try again."
msgstr ""
#: ../wxui/common.py:571
#: ../wxui/common.py:603
#, fuzzy, python-format
msgid "Unable to reveal %s on this system"
msgstr "Niet in staat om wijzigingen voor dit model te maken"
@ -1980,12 +1998,12 @@ msgstr ""
msgid "Value does not fit in %i bits"
msgstr ""
#: ../wxui/common.py:422
#: ../wxui/common.py:454
#, python-format
msgid "Value must be at least %.4f"
msgstr ""
#: ../wxui/common.py:426
#: ../wxui/common.py:458
#, python-format
msgid "Value must be at most %.4f"
msgstr ""
@ -2008,6 +2026,10 @@ msgstr "Merk"
msgid "View"
msgstr "Bee_ld"
#: ../wxui/common.py:406
msgid "WARNING!"
msgstr ""
#: ../wxui/memedit.py:1324
msgid "Warning"
msgstr ""

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: CHIRP\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-06-28 17:09-0700\n"
"POT-Creation-Date: 2023-07-02 14:20-0700\n"
"PO-Revision-Date: 2011-12-07 11:35+0100\n"
"Last-Translator: Grzegorz Błoński-Kubiak <mancymonek@wp.pl>\n"
"Language-Team: Polish\n"
@ -647,7 +647,7 @@ msgstr ""
msgid "Amateur"
msgstr ""
#: ../wxui/common.py:499 ../wxui/common.py:525
#: ../wxui/common.py:531 ../wxui/common.py:557
msgid "An error has occurred"
msgstr "Wystąpił błąd"
@ -688,6 +688,12 @@ msgstr ""
msgid "Canada"
msgstr ""
#: ../wxui/common.py:420
msgid ""
"Changing this setting requires refreshing the settings from the image, which "
"will happen now."
msgstr ""
#: ../wxui/memedit.py:1173
#, python-format
msgid ""
@ -946,7 +952,7 @@ msgstr ""
msgid "Erased memory %s"
msgstr "Kasowanie pamięci {loc}"
#: ../wxui/settingsedit.py:114
#: ../wxui/settingsedit.py:116
#, fuzzy
msgid "Error applying settings"
msgstr "Błąd ustawiania pamięci"
@ -1199,7 +1205,7 @@ msgstr "Częstotliwość"
msgid "GMRS"
msgstr ""
#: ../wxui/settingsedit.py:54
#: ../wxui/settingsedit.py:55
msgid "Getting settings"
msgstr ""
@ -1553,7 +1559,7 @@ msgstr ""
msgid "Pasted memory will overwrite memory %s"
msgstr ""
#: ../wxui/common.py:564
#: ../wxui/common.py:596
#, python-format
msgid "Path %s does not exist"
msgstr ""
@ -1668,6 +1674,10 @@ msgstr ""
msgid "RadioReference Canada requires a login before you can query"
msgstr ""
#: ../wxui/common.py:422
msgid "Refresh required"
msgstr ""
#: ../wxui/common.py:310
#, python-format
msgid "Refreshed memory %s"
@ -1893,6 +1903,14 @@ msgid ""
"If you can get into it, please check the radio and cable.\n"
msgstr ""
#: ../drivers/uvk5.py:1866
msgid ""
"This should only be enabled if you are using modified firmware that supports "
"wider frequency coverage. Enabling this will cause CHIRP not to enforce OEM "
"restrictions and may lead to undefined or unregulated behavior. Use at your "
"own risk!"
msgstr ""
#: ../wxui/developer.py:484
msgid "This will load a module from a website issue"
msgstr ""
@ -1946,7 +1964,7 @@ msgid ""
"model and try again."
msgstr ""
#: ../wxui/common.py:571
#: ../wxui/common.py:603
#, fuzzy, python-format
msgid "Unable to reveal %s on this system"
msgstr "Nie potrafię wprowadzić zmian w tym modelu"
@ -1991,12 +2009,12 @@ msgstr ""
msgid "Value does not fit in %i bits"
msgstr ""
#: ../wxui/common.py:422
#: ../wxui/common.py:454
#, python-format
msgid "Value must be at least %.4f"
msgstr ""
#: ../wxui/common.py:426
#: ../wxui/common.py:458
#, python-format
msgid "Value must be at most %.4f"
msgstr ""
@ -2019,6 +2037,10 @@ msgstr "Producent"
msgid "View"
msgstr "_Podgląd"
#: ../wxui/common.py:406
msgid "WARNING!"
msgstr ""
#: ../wxui/memedit.py:1324
msgid "Warning"
msgstr ""

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: CHIRP\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-06-28 17:09-0700\n"
"POT-Creation-Date: 2023-07-02 14:20-0700\n"
"PO-Revision-Date: 2013-03-30 22:04-0300\n"
"Last-Translator: Crezivando <crezivando@gmail.com>\n"
"Language-Team: Language pt-BR\n"
@ -646,7 +646,7 @@ msgstr ""
msgid "Amateur"
msgstr ""
#: ../wxui/common.py:499 ../wxui/common.py:525
#: ../wxui/common.py:531 ../wxui/common.py:557
msgid "An error has occurred"
msgstr "Ocorreu um erro"
@ -686,6 +686,12 @@ msgstr ""
msgid "Canada"
msgstr ""
#: ../wxui/common.py:420
msgid ""
"Changing this setting requires refreshing the settings from the image, which "
"will happen now."
msgstr ""
#: ../wxui/memedit.py:1173
#, python-format
msgid ""
@ -940,7 +946,7 @@ msgstr ""
msgid "Erased memory %s"
msgstr "Apagando memória {loc}"
#: ../wxui/settingsedit.py:114
#: ../wxui/settingsedit.py:116
#, fuzzy
msgid "Error applying settings"
msgstr "Erro gravando memória"
@ -1193,7 +1199,7 @@ msgstr "Frequ
msgid "GMRS"
msgstr ""
#: ../wxui/settingsedit.py:54
#: ../wxui/settingsedit.py:55
msgid "Getting settings"
msgstr ""
@ -1544,7 +1550,7 @@ msgstr ""
msgid "Pasted memory will overwrite memory %s"
msgstr ""
#: ../wxui/common.py:564
#: ../wxui/common.py:596
#, python-format
msgid "Path %s does not exist"
msgstr ""
@ -1658,6 +1664,10 @@ msgstr ""
msgid "RadioReference Canada requires a login before you can query"
msgstr ""
#: ../wxui/common.py:422
msgid "Refresh required"
msgstr ""
#: ../wxui/common.py:310
#, python-format
msgid "Refreshed memory %s"
@ -1881,6 +1891,14 @@ msgid ""
"If you can get into it, please check the radio and cable.\n"
msgstr ""
#: ../drivers/uvk5.py:1866
msgid ""
"This should only be enabled if you are using modified firmware that supports "
"wider frequency coverage. Enabling this will cause CHIRP not to enforce OEM "
"restrictions and may lead to undefined or unregulated behavior. Use at your "
"own risk!"
msgstr ""
#: ../wxui/developer.py:484
msgid "This will load a module from a website issue"
msgstr ""
@ -1934,7 +1952,7 @@ msgid ""
"model and try again."
msgstr ""
#: ../wxui/common.py:571
#: ../wxui/common.py:603
#, fuzzy, python-format
msgid "Unable to reveal %s on this system"
msgstr "Incapaz de efetuar alterações para este modelo"
@ -1979,12 +1997,12 @@ msgstr ""
msgid "Value does not fit in %i bits"
msgstr ""
#: ../wxui/common.py:422
#: ../wxui/common.py:454
#, python-format
msgid "Value must be at least %.4f"
msgstr ""
#: ../wxui/common.py:426
#: ../wxui/common.py:458
#, python-format
msgid "Value must be at most %.4f"
msgstr ""
@ -2007,6 +2025,10 @@ msgstr "Fornecedor"
msgid "View"
msgstr "_Visualizar"
#: ../wxui/common.py:406
msgid "WARNING!"
msgstr ""
#: ../wxui/memedit.py:1324
msgid "Warning"
msgstr ""

View File

@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: CHIRP\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-06-28 17:09-0700\n"
"POT-Creation-Date: 2023-07-02 14:20-0700\n"
"Language: ru\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@ -638,7 +638,7 @@ msgstr ""
msgid "Amateur"
msgstr ""
#: ../wxui/common.py:499 ../wxui/common.py:525
#: ../wxui/common.py:531 ../wxui/common.py:557
msgid "An error has occurred"
msgstr "Ошибка"
@ -678,6 +678,12 @@ msgstr ""
msgid "Canada"
msgstr ""
#: ../wxui/common.py:420
msgid ""
"Changing this setting requires refreshing the settings from the image, which "
"will happen now."
msgstr ""
#: ../wxui/memedit.py:1173
#, python-format
msgid ""
@ -936,7 +942,7 @@ msgstr ""
msgid "Erased memory %s"
msgstr "Стирание памяти {loc}"
#: ../wxui/settingsedit.py:114
#: ../wxui/settingsedit.py:116
#, fuzzy
msgid "Error applying settings"
msgstr "Ошибка установки памяти"
@ -1189,7 +1195,7 @@ msgstr "Частота"
msgid "GMRS"
msgstr ""
#: ../wxui/settingsedit.py:54
#: ../wxui/settingsedit.py:55
msgid "Getting settings"
msgstr ""
@ -1542,7 +1548,7 @@ msgstr ""
msgid "Pasted memory will overwrite memory %s"
msgstr ""
#: ../wxui/common.py:564
#: ../wxui/common.py:596
#, python-format
msgid "Path %s does not exist"
msgstr ""
@ -1657,6 +1663,10 @@ msgstr ""
msgid "RadioReference Canada requires a login before you can query"
msgstr ""
#: ../wxui/common.py:422
msgid "Refresh required"
msgstr ""
#: ../wxui/common.py:310
#, python-format
msgid "Refreshed memory %s"
@ -1881,6 +1891,14 @@ msgid ""
"If you can get into it, please check the radio and cable.\n"
msgstr ""
#: ../drivers/uvk5.py:1866
msgid ""
"This should only be enabled if you are using modified firmware that supports "
"wider frequency coverage. Enabling this will cause CHIRP not to enforce OEM "
"restrictions and may lead to undefined or unregulated behavior. Use at your "
"own risk!"
msgstr ""
#: ../wxui/developer.py:484
msgid "This will load a module from a website issue"
msgstr ""
@ -1934,7 +1952,7 @@ msgid ""
"model and try again."
msgstr ""
#: ../wxui/common.py:571
#: ../wxui/common.py:603
#, fuzzy, python-format
msgid "Unable to reveal %s on this system"
msgstr "Невозможно внести изменения в эту модель"
@ -1979,12 +1997,12 @@ msgstr ""
msgid "Value does not fit in %i bits"
msgstr ""
#: ../wxui/common.py:422
#: ../wxui/common.py:454
#, python-format
msgid "Value must be at least %.4f"
msgstr ""
#: ../wxui/common.py:426
#: ../wxui/common.py:458
#, python-format
msgid "Value must be at most %.4f"
msgstr ""
@ -2007,6 +2025,10 @@ msgstr "Изготовитель"
msgid "View"
msgstr "Вид_"
#: ../wxui/common.py:406
msgid "WARNING!"
msgstr ""
#: ../wxui/memedit.py:1324
msgid "Warning"
msgstr ""

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: CHIRP\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-06-28 17:09-0700\n"
"POT-Creation-Date: 2023-07-02 14:20-0700\n"
"PO-Revision-Date: 2023-03-11 18:37+0300\n"
"Last-Translator: Abdullah YILMAZ (TA1AUB) <h.abdullahyilmaz@hotmail.com>\n"
"Language-Team: TURKISH\n"
@ -988,7 +988,7 @@ msgstr "Desteklenen tüm biçimler|"
msgid "Amateur"
msgstr "Amatör"
#: ../wxui/common.py:499 ../wxui/common.py:525
#: ../wxui/common.py:531 ../wxui/common.py:557
msgid "An error has occurred"
msgstr "Bir hata oluştu"
@ -1028,6 +1028,12 @@ msgstr "Telsiz Tarayıcısı oluşturuluyor"
msgid "Canada"
msgstr "Kanada"
#: ../wxui/common.py:420
msgid ""
"Changing this setting requires refreshing the settings from the image, which "
"will happen now."
msgstr ""
#: ../wxui/memedit.py:1173
#, python-format
msgid ""
@ -1286,7 +1292,7 @@ msgstr "Özel bağlantı noktasını girin:"
msgid "Erased memory %s"
msgstr "%s kaydı silindi"
#: ../wxui/settingsedit.py:114
#: ../wxui/settingsedit.py:116
msgid "Error applying settings"
msgstr "Ayarlar uygulanırken hata oluştu"
@ -1625,7 +1631,7 @@ msgstr "Frekans"
msgid "GMRS"
msgstr "GMRS"
#: ../wxui/settingsedit.py:54
#: ../wxui/settingsedit.py:55
msgid "Getting settings"
msgstr "Ayarlar alınıyor"
@ -1976,7 +1982,7 @@ msgstr "Yapıştırılan kayıtlar, %s kaydının üzerine yazılacak"
msgid "Pasted memory will overwrite memory %s"
msgstr "Yapıştırılan kayıt, %s kaydının üzerine yazacak"
#: ../wxui/common.py:564
#: ../wxui/common.py:596
#, fuzzy, python-format
msgid "Path %s does not exist"
msgstr "Dosya mevcut değil: %s"
@ -2115,6 +2121,11 @@ msgid "RadioReference Canada requires a login before you can query"
msgstr ""
"RadioReference Kanada, sorgulayabilmeniz için önce oturum açmanız gerekir"
#: ../wxui/common.py:422
#, fuzzy
msgid "Refresh required"
msgstr "Yeniden Başlatma Gerekiyor"
#: ../wxui/common.py:310
#, python-format
msgid "Refreshed memory %s"
@ -2358,6 +2369,14 @@ msgstr ""
"birkaç saniye sürebilir, işe yaramazsa birkaç kez tekrar deneyin.\n"
"İşe yaramazsa, lütfen telsizi ve kabloyu kontrol edin.\n"
#: ../drivers/uvk5.py:1866
msgid ""
"This should only be enabled if you are using modified firmware that supports "
"wider frequency coverage. Enabling this will cause CHIRP not to enforce OEM "
"restrictions and may lead to undefined or unregulated behavior. Use at your "
"own risk!"
msgstr ""
#: ../wxui/developer.py:484
msgid "This will load a module from a website issue"
msgstr "Bu, bir web sitesi kaydından bir modül yükleyecektir"
@ -2413,7 +2432,7 @@ msgstr ""
"telsiz ABD dışı bir telsizdir (veya geniş bantlıdır). Lütfen doğru modeli "
"seçin ve tekrar deneyin."
#: ../wxui/common.py:571
#: ../wxui/common.py:603
#, python-format
msgid "Unable to reveal %s on this system"
msgstr "%s bu sistemde gösterilemiyor"
@ -2457,12 +2476,12 @@ msgstr "Daha büyük yazı tipi kullan"
msgid "Value does not fit in %i bits"
msgstr "Değer %i bit'e sığmıyor"
#: ../wxui/common.py:422
#: ../wxui/common.py:454
#, python-format
msgid "Value must be at least %.4f"
msgstr "Değer en az %.4f olmalıdır"
#: ../wxui/common.py:426
#: ../wxui/common.py:458
#, python-format
msgid "Value must be at most %.4f"
msgstr "Değer en fazla %.4f olmalıdır"
@ -2484,6 +2503,10 @@ msgstr "Tedarikçi"
msgid "View"
msgstr "Göster"
#: ../wxui/common.py:406
msgid "WARNING!"
msgstr ""
#: ../wxui/memedit.py:1324
msgid "Warning"
msgstr "Uyarı"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: CHIRP\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-06-28 17:09-0700\n"
"POT-Creation-Date: 2023-07-02 14:20-0700\n"
"PO-Revision-Date: 2015-11-30 10:36+0200\n"
"Last-Translator: laser <student.laser@gmail.com>\n"
"Language-Team: laser <student.laser@gmail.com>\n"
@ -646,7 +646,7 @@ msgstr ""
msgid "Amateur"
msgstr ""
#: ../wxui/common.py:499 ../wxui/common.py:525
#: ../wxui/common.py:531 ../wxui/common.py:557
msgid "An error has occurred"
msgstr "Сталася помилка"
@ -686,6 +686,12 @@ msgstr ""
msgid "Canada"
msgstr ""
#: ../wxui/common.py:420
msgid ""
"Changing this setting requires refreshing the settings from the image, which "
"will happen now."
msgstr ""
#: ../wxui/memedit.py:1173
#, python-format
msgid ""
@ -944,7 +950,7 @@ msgstr ""
msgid "Erased memory %s"
msgstr "Стирання пам'яті {loc}"
#: ../wxui/settingsedit.py:114
#: ../wxui/settingsedit.py:116
#, fuzzy
msgid "Error applying settings"
msgstr "Помилка настройки пам'яті"
@ -1197,7 +1203,7 @@ msgstr "Частота"
msgid "GMRS"
msgstr ""
#: ../wxui/settingsedit.py:54
#: ../wxui/settingsedit.py:55
msgid "Getting settings"
msgstr ""
@ -1550,7 +1556,7 @@ msgstr ""
msgid "Pasted memory will overwrite memory %s"
msgstr ""
#: ../wxui/common.py:564
#: ../wxui/common.py:596
#, python-format
msgid "Path %s does not exist"
msgstr ""
@ -1665,6 +1671,10 @@ msgstr ""
msgid "RadioReference Canada requires a login before you can query"
msgstr ""
#: ../wxui/common.py:422
msgid "Refresh required"
msgstr ""
#: ../wxui/common.py:310
#, python-format
msgid "Refreshed memory %s"
@ -1889,6 +1899,14 @@ msgid ""
"If you can get into it, please check the radio and cable.\n"
msgstr ""
#: ../drivers/uvk5.py:1866
msgid ""
"This should only be enabled if you are using modified firmware that supports "
"wider frequency coverage. Enabling this will cause CHIRP not to enforce OEM "
"restrictions and may lead to undefined or unregulated behavior. Use at your "
"own risk!"
msgstr ""
#: ../wxui/developer.py:484
msgid "This will load a module from a website issue"
msgstr ""
@ -1942,7 +1960,7 @@ msgid ""
"model and try again."
msgstr ""
#: ../wxui/common.py:571
#: ../wxui/common.py:603
#, fuzzy, python-format
msgid "Unable to reveal %s on this system"
msgstr "Не вдається внести зміни до цієї моделі"
@ -1987,12 +2005,12 @@ msgstr ""
msgid "Value does not fit in %i bits"
msgstr ""
#: ../wxui/common.py:422
#: ../wxui/common.py:454
#, python-format
msgid "Value must be at least %.4f"
msgstr ""
#: ../wxui/common.py:426
#: ../wxui/common.py:458
#, python-format
msgid "Value must be at most %.4f"
msgstr ""
@ -2015,6 +2033,10 @@ msgstr "Виробник"
msgid "View"
msgstr "Вгляд"
#: ../wxui/common.py:406
msgid "WARNING!"
msgstr ""
#: ../wxui/memedit.py:1324
msgid "Warning"
msgstr ""

View File

@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: CHIRP\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-06-28 17:09-0700\n"
"POT-Creation-Date: 2023-07-02 14:20-0700\n"
"PO-Revision-Date: 2022-06-04 02:01+0800\n"
"Last-Translator: DuckSoft, BH2UEP <realducksoft@gmail.com>\n"
"Language: zh_CN\n"
@ -645,7 +645,7 @@ msgstr ""
msgid "Amateur"
msgstr ""
#: ../wxui/common.py:499 ../wxui/common.py:525
#: ../wxui/common.py:531 ../wxui/common.py:557
msgid "An error has occurred"
msgstr "发生错误"
@ -685,6 +685,12 @@ msgstr ""
msgid "Canada"
msgstr ""
#: ../wxui/common.py:420
msgid ""
"Changing this setting requires refreshing the settings from the image, which "
"will happen now."
msgstr ""
#: ../wxui/memedit.py:1173
#, python-format
msgid ""
@ -943,7 +949,7 @@ msgstr ""
msgid "Erased memory %s"
msgstr "正在擦除存储 {loc}"
#: ../wxui/settingsedit.py:114
#: ../wxui/settingsedit.py:116
#, fuzzy
msgid "Error applying settings"
msgstr "设置值有误:%s"
@ -1199,7 +1205,7 @@ msgstr "频率"
msgid "GMRS"
msgstr ""
#: ../wxui/settingsedit.py:54
#: ../wxui/settingsedit.py:55
#, fuzzy
msgid "Getting settings"
msgstr "正在获取 %s 信息"
@ -1555,7 +1561,7 @@ msgstr ""
msgid "Pasted memory will overwrite memory %s"
msgstr ""
#: ../wxui/common.py:564
#: ../wxui/common.py:596
#, python-format
msgid "Path %s does not exist"
msgstr ""
@ -1671,6 +1677,11 @@ msgstr ""
msgid "RadioReference Canada requires a login before you can query"
msgstr ""
#: ../wxui/common.py:422
#, fuzzy
msgid "Refresh required"
msgstr "刷新"
#: ../wxui/common.py:310
#, fuzzy, python-format
msgid "Refreshed memory %s"
@ -1894,6 +1905,14 @@ msgid ""
"If you can get into it, please check the radio and cable.\n"
msgstr ""
#: ../drivers/uvk5.py:1866
msgid ""
"This should only be enabled if you are using modified firmware that supports "
"wider frequency coverage. Enabling this will cause CHIRP not to enforce OEM "
"restrictions and may lead to undefined or unregulated behavior. Use at your "
"own risk!"
msgstr ""
#: ../wxui/developer.py:484
msgid "This will load a module from a website issue"
msgstr ""
@ -1947,7 +1966,7 @@ msgid ""
"model and try again."
msgstr ""
#: ../wxui/common.py:571
#: ../wxui/common.py:603
#, fuzzy, python-format
msgid "Unable to reveal %s on this system"
msgstr "无法变更此型号电台"
@ -1993,12 +2012,12 @@ msgstr ""
msgid "Value does not fit in %i bits"
msgstr ""
#: ../wxui/common.py:422
#: ../wxui/common.py:454
#, python-format
msgid "Value must be at least %.4f"
msgstr ""
#: ../wxui/common.py:426
#: ../wxui/common.py:458
#, python-format
msgid "Value must be at most %.4f"
msgstr ""
@ -2021,6 +2040,10 @@ msgstr "厂商"
msgid "View"
msgstr "查看 (_V)"
#: ../wxui/common.py:406
msgid "WARNING!"
msgstr ""
#: ../wxui/memedit.py:1324
msgid "Warning"
msgstr ""
@ -2433,9 +2456,6 @@ msgstr ""
#~ msgid "Raw memory {number}"
#~ msgstr "原始存储 {number}"
#~ msgid "Refresh"
#~ msgstr "刷新"
#~ msgid "Repeater callsign"
#~ msgstr "中继台的呼号"

View File

@ -430,6 +430,16 @@ class RadioSetting(RadioSettingGroup):
def __init__(self, *args):
super(RadioSetting, self).__init__(*args)
self._apply_callback = None
self._warning_text = None
self._safe_value = None
self._volatile = False
@property
def volatile(self):
return self._volatile
def set_volatile(self, value):
self._volatile = value
def set_apply_callback(self, callback, *args):
self._apply_callback = lambda: callback(self, *args)
@ -440,6 +450,22 @@ class RadioSetting(RadioSettingGroup):
def run_apply_callback(self):
return self._apply_callback()
def set_warning(self, warning_text, safe_value=None):
"""Set a warning message to be shown to the user when changed.
This should not be over-used as it will be annoying (on purpose). This
message will be shown to the user with an option to continue to abort.
It should be used to warn the user of potential invalid operation or
compatibility issues. If safe_value is set, this will only warn the
user if the value is changed *to* something other than the safe_value.
"""
self._warning_text = warning_text
self._safe_value = safe_value
def get_warning(self, value):
if value != self._safe_value:
return self._warning_text
def _validate(self, value):
# RadioSetting can only contain RadioSettingValue objects
if not isinstance(value, RadioSettingValue):

View File

@ -349,6 +349,7 @@ class ChirpSettingGrid(wx.Panel):
def __init__(self, settinggroup, *a, **k):
super(ChirpSettingGrid, self).__init__(*a, **k)
self._group = settinggroup
self._needs_reload = False
self.pg = wx.propgrid.PropertyGrid(
self,
@ -386,17 +387,48 @@ class ChirpSettingGrid(wx.Panel):
else:
LOG.warning('Unsupported setting type %r' % value)
editor = None
if editor:
editor.SetName('%s%s%i' % (name, INDEX_CHAR, i))
if len(element.keys()) > 1:
editor.SetLabel('')
editor.Enable(value.get_mutable())
self.pg.Append(editor)
if not editor:
continue
editor.SetName('%s%s%i' % (name, INDEX_CHAR, i))
if len(element.keys()) > 1:
editor.SetLabel('')
editor.Enable(value.get_mutable())
self.pg.Append(editor)
if element.get_warning(None) or element.volatile:
self.pg.Bind(wx.propgrid.EVT_PG_CHANGING,
lambda evt: self._check_change(evt, element))
def _check_change(self, event, setting):
warning = setting.get_warning(event.GetValue())
if warning:
r = wx.MessageBox(warning, _('WARNING!'),
wx.OK | wx.CANCEL | wx.CANCEL_DEFAULT)
if r == wx.CANCEL:
LOG.info('User aborted setting %s=%s with warning message',
event.GetPropertyName(), event.GetValue())
event.SetValidationFailureBehavior(0)
event.Veto()
return
else:
LOG.info('User made change to %s=%s despite warning',
event.GetPropertyName(), event.GetValue())
self._needs_reload = setting.volatile
if self.needs_reload:
wx.MessageBox(_(
'Changing this setting requires refreshing the settings from '
'the image, which will happen now.'),
_('Refresh required'), wx.OK)
@property
def name(self):
return self._group.get_name()
@property
def needs_reload(self):
return self._needs_reload
@property
def propgrid(self):
return self.pg

View File

@ -30,6 +30,7 @@ class ChirpSettingsEdit(common.ChirpEditor):
self._radio = radio
self._settings = None
self._propgrid = None
sizer = wx.BoxSizer(wx.VERTICAL)
self.SetSizer(sizer)
@ -67,6 +68,7 @@ class ChirpSettingsEdit(common.ChirpEditor):
def _add_group(self, group, parent=None):
propgrid = common.ChirpSettingGrid(group, self._group_control)
self._propgrid = propgrid
self.Bind(common.EVT_EDITOR_CHANGED, self._changed, propgrid)
LOG.debug('Adding page for %s (parent=%s)' % (group.get_shortname(),
parent))
@ -128,11 +130,18 @@ class ChirpSettingsEdit(common.ChirpEditor):
if isinstance(job.result, Exception):
common.error_proof.show_error(str(job.result))
def _reload(self):
self.refresh()
self.selected()
def _changed(self, event):
if not self._apply_settings():
return
self.do_radio(self._set_settings_cb, 'set_settings', self._settings)
wx.PostEvent(self, common.EditorChanged(self.GetId()))
if self._propgrid.needs_reload:
LOG.warning('Settings grid needs a reload')
wx.CallAfter(self._reload)
def saved(self):
for i in range(self._group_control.GetPageCount()):

View File

@ -1,6 +1,8 @@
from chirp import directory
from tests import load_tests
__builtins__['_'] = lambda s: s
class TestSuiteAdapter(object):
"""Adapter for pytest since it doesn't support the loadTests() protocol"""