From c860ce255dc33051f7d397c753cec2e1eaeb5673 Mon Sep 17 00:00:00 2001 From: sTiKyt Date: Wed, 13 May 2020 18:45:30 +0300 Subject: [PATCH] Localization for new methods --- .../lang_simple_informant.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Defs/LocalizationManager/lang_action_manager/lang_simple_informant.py b/Defs/LocalizationManager/lang_action_manager/lang_simple_informant.py index cc953b2..88e2204 100644 --- a/Defs/LocalizationManager/lang_action_manager/lang_simple_informant.py +++ b/Defs/LocalizationManager/lang_action_manager/lang_simple_informant.py @@ -14,12 +14,30 @@ default_palette = theme.default_palette text_to_confirm_license = _('Yes, i do') + write_eula = _(""" # To Accept EULA set eula to True # Don't accept EULA if you didn't read LICENSE """) +lang_check_php = { + "found" : _('\n {0}[{1}*{0}] PHP has been found. Proceeding.').format(default_palette[0], default_palette[2]), + "not-found" : _('\n {0}[{1}*{0}] Unable to find PHP, please install PHP and try again.').format(default_palette[0], default_palette[2]) +} + +lang_check_permissions = { + "permissions_granted" : _('{0}Permissions granted!').format(default_palette[0]), + "permissions_denied" : _('{0}Permissions denied! Please run as {1}sudo{0}').format(default_palette[0], default_palette[2]), + "windows_warning" : _("\n{0}[{1}!{0}] {1}Windows systems {0}aren't compatible yet. Make sure you're using a {1}Linux/GNU{0} system.").format(default_palette[0], default_palette[2]) +} + +lang_verify_connection = { + "connected" : _('\n {0}[{1}*{0}] INTERNET - {1}[CONNECTED]').format(default_palette[0], default_palette[2]), + "disconnected" : _('\n {0}[{1}*{0}] INTERNET - {1}[DISCONNECTED]').format(default_palette[0], default_palette[2]), + "verify_your_connection" : _('\n{0}[{1}!{0}] Network error. Please verify your internet connection.').format(default_palette[2], default_palette[0]) +} + lang_module_loading_message = { "select_any_mode" : _('\n {0}[{1}*{0}] SELECT ANY MODE...{0}\n--------------------------------').format(default_palette[0], default_palette[2]) }