mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
Unused i18n keys
This commit is contained in:
parent
049523f2b6
commit
b54f35dc32
2 changed files with 1 additions and 6 deletions
|
@ -11,8 +11,6 @@
|
||||||
"info": "Info:",
|
"info": "Info:",
|
||||||
"instance_already_running": "There is already a YunoHost operation running. Please wait for it to finish before running another one.",
|
"instance_already_running": "There is already a YunoHost operation running. Please wait for it to finish before running another one.",
|
||||||
"invalid_argument": "Invalid argument '{argument}': {error}",
|
"invalid_argument": "Invalid argument '{argument}': {error}",
|
||||||
"invalid_password": "Invalid password",
|
|
||||||
"invalid_token": "Invalid token - please authenticate",
|
|
||||||
"invalid_usage": "Invalid usage, pass --help to see help",
|
"invalid_usage": "Invalid usage, pass --help to see help",
|
||||||
"logged_in": "Logged in",
|
"logged_in": "Logged in",
|
||||||
"logged_out": "Logged out",
|
"logged_out": "Logged out",
|
||||||
|
@ -24,12 +22,9 @@
|
||||||
"server_already_running": "A server is already running on that port",
|
"server_already_running": "A server is already running on that port",
|
||||||
"success": "Success!",
|
"success": "Success!",
|
||||||
"unable_authenticate": "Unable to authenticate",
|
"unable_authenticate": "Unable to authenticate",
|
||||||
"unable_retrieve_session": "Unable to retrieve the session because '{exception}'",
|
|
||||||
"session_expired": "The session expired. Please re-authenticate.",
|
|
||||||
"unknown_group": "Unknown '{group}' group",
|
"unknown_group": "Unknown '{group}' group",
|
||||||
"unknown_user": "Unknown '{user}' user",
|
"unknown_user": "Unknown '{user}' user",
|
||||||
"values_mismatch": "Values don't match",
|
"values_mismatch": "Values don't match",
|
||||||
"info": "Info:",
|
|
||||||
"warning": "Warning:",
|
"warning": "Warning:",
|
||||||
"websocket_request_expected": "Expected a WebSocket request",
|
"websocket_request_expected": "Expected a WebSocket request",
|
||||||
"cannot_open_file": "Could not open file {file} (reason: {error})",
|
"cannot_open_file": "Could not open file {file} (reason: {error})",
|
||||||
|
|
|
@ -554,7 +554,7 @@ class Interface:
|
||||||
|
|
||||||
return value
|
return value
|
||||||
|
|
||||||
def display(self, message, style="info"):
|
def display(self, message, style="info"): # m18n: info
|
||||||
"""Display a message"""
|
"""Display a message"""
|
||||||
if style == "success":
|
if style == "success":
|
||||||
print("{} {}".format(colorize(m18n.g("success"), "green"), message))
|
print("{} {}".format(colorize(m18n.g("success"), "green"), message))
|
||||||
|
|
Loading…
Add table
Reference in a new issue