[fix] Yypos in en.json (#314)

* serialzed => serialized
* typo close global_settings_key_doesnt_exists
* serialized/serialize & setings/settings
This commit is contained in:
Jean-Baptiste 2017-05-31 17:06:40 +02:00 committed by Alexandre Aubin
parent 7102bf1b0e
commit 64ab4a82b3
2 changed files with 3 additions and 3 deletions

View file

@ -124,9 +124,9 @@
"global_settings_bad_choice_for_enum": "Bad value for setting {setting:s}, received {received_type:s}, except {expected_type:s}",
"global_settings_bad_type_for_setting": "Bad type for setting {setting:s}, received {received_type:s}, except {expected_type:s}",
"global_settings_cant_open_settings": "Failed to open settings file, reason: {reason:s}",
"global_settings_cant_serialize_setings": "Failed to serialzed settings data, reason: {reason:s}",
"global_settings_cant_serialize_settings": "Failed to serialize settings data, reason: {reason:s}",
"global_settings_cant_write_settings": "Failed to write settings file, reason: {reason:s}",
"global_settings_key_doesnt_exists": "The key '{settings_key:s}' doesn't exists in the global settings, you can see all the available keys by doing 'yunohost settings list",
"global_settings_key_doesnt_exists": "The key '{settings_key:s}' doesn't exists in the global settings, you can see all the available keys by doing 'yunohost settings list'",
"global_settings_reset_success": "Success. Your previous settings have been backuped in {path:s}",
"global_settings_setting_example_bool": "Example boolean option",
"global_settings_setting_example_int": "Example int option",

View file

@ -224,7 +224,7 @@ def _save_settings(settings, location=SETTINGS_PATH):
result = json.dumps(settings_without_description, indent=4)
except Exception as e:
raise MoulinetteError(errno.EINVAL,
m18n.n('global_settings_cant_serialize_setings', reason=e),
m18n.n('global_settings_cant_serialize_settings', reason=e),
exc_info=1)
try: