mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
i18n: fix (un)defined string issues
This commit is contained in:
parent
f2eef6eefe
commit
dd33476fac
2 changed files with 3 additions and 0 deletions
|
@ -151,6 +151,7 @@ def find_expected_string_keys():
|
||||||
global_config = toml.load(open(ROOT + "share/config_global.toml"))
|
global_config = toml.load(open(ROOT + "share/config_global.toml"))
|
||||||
# Boring hard-coding because there's no simple other way idk
|
# Boring hard-coding because there's no simple other way idk
|
||||||
settings_without_help_key = [
|
settings_without_help_key = [
|
||||||
|
"passwordless_sudo",
|
||||||
"smtp_relay_host",
|
"smtp_relay_host",
|
||||||
"smtp_relay_password",
|
"smtp_relay_password",
|
||||||
"smtp_relay_port",
|
"smtp_relay_port",
|
||||||
|
|
|
@ -612,6 +612,7 @@ def app_upgrade(app=[], url=None, file=None, force=False, no_safety_backup=False
|
||||||
):
|
):
|
||||||
if not passed:
|
if not passed:
|
||||||
if name == "ram":
|
if name == "ram":
|
||||||
|
# i18n: confirm_app_insufficient_ram
|
||||||
_ask_confirmation(
|
_ask_confirmation(
|
||||||
"confirm_app_insufficient_ram", params=values, force=force
|
"confirm_app_insufficient_ram", params=values, force=force
|
||||||
)
|
)
|
||||||
|
@ -2961,6 +2962,7 @@ def _display_notifications(notifications, force=False):
|
||||||
print(content)
|
print(content)
|
||||||
print("==========")
|
print("==========")
|
||||||
|
|
||||||
|
# i18n: confirm_notifications_read
|
||||||
_ask_confirmation("confirm_notifications_read", kind="simple", force=force)
|
_ask_confirmation("confirm_notifications_read", kind="simple", force=force)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue