Unused i18n keys

This commit is contained in:
Alexandre Aubin 2021-08-27 19:02:16 +02:00
parent 049523f2b6
commit b54f35dc32
2 changed files with 1 additions and 6 deletions

View file

@ -11,8 +11,6 @@
"info": "Info:",
"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_password": "Invalid password",
"invalid_token": "Invalid token - please authenticate",
"invalid_usage": "Invalid usage, pass --help to see help",
"logged_in": "Logged in",
"logged_out": "Logged out",
@ -24,12 +22,9 @@
"server_already_running": "A server is already running on that port",
"success": "Success!",
"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_user": "Unknown '{user}' user",
"values_mismatch": "Values don't match",
"info": "Info:",
"warning": "Warning:",
"websocket_request_expected": "Expected a WebSocket request",
"cannot_open_file": "Could not open file {file} (reason: {error})",

View file

@ -554,7 +554,7 @@ class Interface:
return value
def display(self, message, style="info"):
def display(self, message, style="info"): # m18n: info
"""Display a message"""
if style == "success":
print("{} {}".format(colorize(m18n.g("success"), "green"), message))