diff --git a/locales/ar.json b/locales/ar.json index 5e4b4813..cea71d1a 100644 --- a/locales/ar.json +++ b/locales/ar.json @@ -1,6 +1,5 @@ { "argument_required": "المُعامِل '{argument}' مطلوب", - "authentication_profile_required": "المصادقة مع الملف الشخصي '{profile}' مطلوبة", "authentication_required": "المصادقة مطلوبة", "authentication_required_long": "المصادقة مطلوبة قبل القيام بهذا الإجراء", "colon": "{}: ", @@ -8,11 +7,8 @@ "deprecated_command": "'{prog} {command}' تم التخلي عنه و سوف تتم إزالته مستقبلا", "deprecated_command_alias": "'{prog} {old}' تم التخلي عنه و سوف يتم إزالته مستقبلا، إستخدم '{prog} {new}' بدلا من ذلك", "error": "خطأ :", - "error_see_log": "طرأ هناك خطأ. يرجى الإطلاع على السجلات للمزيد مِن التفاصيل على المسار /var/log/yunohost/.", - "file_exists": "إنّ الملف موجود من قبل : '{path}'", "file_not_exist": "الملف غير موجود : '{path}'", "folder_exists": "إنّ المجلد موجود من قبل : '{path}'", - "folder_not_exist": "المجلد غير موجود", "instance_already_running": "هناك بالفعل عملية YunoHost جارية. الرجاء الانتظار حتى ينتهي الأمر قبل تشغيل آخر.", "invalid_argument": "المُعامِل غير صالح '{argument}': {error}", "invalid_password": "كلمة السر خاطئة", @@ -25,7 +21,6 @@ "operation_interrupted": "تم توقيف العملية", "password": "كلمة السر", "pattern_not_match": "لا يتطابق مع النموذج", - "permission_denied": "رُفض التصريح", "root_required": "يتوجب عليك أن تكون مدير الجذر root للقيام بهذا الإجراء", "server_already_running": "هناك خادم يشتغل على ذاك المنفذ", "success": "تم بنجاح !", @@ -48,7 +43,6 @@ "download_timeout": "{url} استغرق مدة طويلة جدا للإستجابة، فتوقّف.", "download_unknown_error": "خطأ أثناء عملية تنزيل البيانات مِن {url} : {error}", "download_bad_status_code": "{url} أعاد رمز الحالة {code}", - "command_unknown": "الأمر '{command}' مجهول؟", "corrupted_yaml": "قراءة مُشوّهة لنسق yaml مِن {ressource} (السبب : {error})", "info": "معلومة:", "warn_the_user_about_waiting_lock_again": "جارٍ الانتظار…", @@ -57,4 +51,4 @@ "ldap_server_is_down_restart_it": "إنّ خدمة LDAP غير مشغّلة ، نحن بصدد محاولة إعادة تشغيلها…", "session_expired": "لقد انتهت مدة صلاحية الجلسة. رجاءً أعد الإستيثاق.", "invalid_token": "إنّ الرمز المميز غير صالح - يرجى الإستيثاق" -} +} \ No newline at end of file diff --git a/locales/bn_BD.json b/locales/bn_BD.json index d885278e..d0d1f655 100644 --- a/locales/bn_BD.json +++ b/locales/bn_BD.json @@ -1,4 +1,4 @@ { "logged_out": "প্রস্থান", "password": "পাসওয়ার্ড" -} +} \ No newline at end of file diff --git a/locales/br.json b/locales/br.json index 0967ef42..9e26dfee 100644 --- a/locales/br.json +++ b/locales/br.json @@ -1 +1 @@ -{} +{} \ No newline at end of file diff --git a/locales/ca.json b/locales/ca.json index 3d8a05f6..67b530d5 100644 --- a/locales/ca.json +++ b/locales/ca.json @@ -1,6 +1,5 @@ { "argument_required": "Es requereix l'argument {argument}", - "authentication_profile_required": "Autenticació requerida al perfil {profile}", "authentication_required": "Es requereix autenticació", "authentication_required_long": "Es requereix autenticació per realitzar aquesta tasca", "colon": "{}: ", @@ -8,11 +7,8 @@ "deprecated_command": "{prog}{command}és obsolet i es desinstal·larà en el futur", "deprecated_command_alias": "{prog}{old}és obsolet i es desinstal·larà en el futur, utilitzeu {prog}{new}en el seu lloc", "error": "Error:", - "error_see_log": "Hi ha hagut un error. Si us plau verifiqueu el registre per a més informació, són a /var/log/yunohost/.", - "file_exists": "El fitxer ja existeix: '{path}'", "file_not_exist": "El fitxer no existeix: '{path}'", "folder_exists": "La carpeta ja existeix: '{path}'", - "folder_not_exist": "La carpeta no existeix", "instance_already_running": "Ja hi ha una operació de YunoHost en curs. Espereu a que s'acabi abans d'executar-ne una altra.", "invalid_argument": "Argument invàlid '{argument}': {error}", "invalid_password": "Contrasenya invàlida", @@ -25,7 +21,6 @@ "operation_interrupted": "Operació interrompuda", "password": "Contrasenya", "pattern_not_match": "No coincideix amb el patró", - "permission_denied": "Permís denegat", "root_required": "Ha de ser root per realitzar aquesta acció", "server_already_running": "Ja s'està executant un servidor en aquest port", "success": "Èxit!", @@ -49,7 +44,6 @@ "download_timeout": "{url} ha tardat massa en respondre, s'ha deixat d'esperar.", "download_unknown_error": "Error al baixar dades des de {url}: {error}", "download_bad_status_code": "{url} ha retornat el codi d'estat {code}", - "command_unknown": "Ordre '{command}' desconegut?", "info": "Info:", "corrupted_toml": "El fitxer TOML ha estat corromput en la lectura des de {ressource} (motiu: {error})", "warn_the_user_about_waiting_lock": "Hi ha una altra ordre de YunoHost en execució, s'executarà aquesta ordre un cop l'anterior hagi acabat", @@ -58,4 +52,4 @@ "invalid_token": "Testimoni no vàlid - torneu-vos a autenticar", "ldap_server_is_down_restart_it": "El servei LDAP està caigut, s'està intentant tornar-lo a engegar…", "session_expired": "La sessió a expirat. Torneu-vos a autenticar." -} +} \ No newline at end of file diff --git a/locales/cmn.json b/locales/cmn.json index d254ea4f..c7627812 100644 --- a/locales/cmn.json +++ b/locales/cmn.json @@ -1,6 +1,5 @@ { "argument_required": "参数“{argument}”是必须的", - "authentication_profile_required": "必须验证配置文件{profile}", "authentication_required": "需要验证", "authentication_required_long": "此操作需要验证", "colon": "{} ", @@ -8,11 +7,8 @@ "deprecated_command": "{prog}{command}已经放弃使用,将来会删除", "deprecated_command_alias": "{prog}{old}已经放弃使用,将来会删除,请使用{prog}{new}代替", "error": "错误:", - "error_see_log": "发生错误。请参看日志文件获取错误详情,日志文件位于 /var/log/yunohost/。", - "file_exists": "文件已存在: '{path}'", "file_not_exist": "文件不存在: '{path}'", "folder_exists": "目录已存在: '{path}'", - "folder_not_exist": "目录不存在", "info": "信息:", "instance_already_running": "已经有一个YunoHost操作正在运行。 请等待它完成再运行另一个。", "invalid_argument": "参数错误{argument}:{error}", @@ -49,7 +45,6 @@ "download_timeout": "{url}响应超时,放弃。", "download_unknown_error": "下载{url}失败:{error}", "download_bad_status_code": "{url}返回状态码:{code}", - "command_unknown": "命令'{command}'未知?", "warn_the_user_that_lock_is_acquired": "另一个命令刚刚完成,现在启动此命令", "warn_the_user_about_waiting_lock_again": "还在等...", "warn_the_user_about_waiting_lock": "目前正在运行另一个YunoHost命令,我们在运行此命令之前等待它完成", @@ -57,4 +52,4 @@ "invalid_token": "令牌无效-请进行身份验证", "ldap_server_is_down_restart_it": "LDAP服务已下线,正在尝试重启服务……", "session_expired": "会话已过期。请重新进行身份验证。" -} +} \ No newline at end of file diff --git a/locales/cs.json b/locales/cs.json index 9f5f4932..6afbafcd 100644 --- a/locales/cs.json +++ b/locales/cs.json @@ -5,7 +5,6 @@ "warn_the_user_that_lock_is_acquired": "Předchozí operace dokončena, nyní spouštíme tuto", "warn_the_user_about_waiting_lock_again": "Stále čekáme...", "warn_the_user_about_waiting_lock": "Jiná YunoHost operace právě probíhá, před spuštěním této čekáme na její dokončení", - "command_unknown": "Příkaz '{command}' neznámý?", "download_bad_status_code": "{url} vrátil stavový kód {code}", "download_unknown_error": "Chyba při stahování dat z {url}: {error}", "download_timeout": "{url} příliš dlouho neodpovídá, akce přerušena.", @@ -43,10 +42,8 @@ "invalid_argument": "Nesprávný argument '{argument}': {error}", "instance_already_running": "Právě probíhá jiná YunoHost operace. Před spuštěním další operace vyčkejte na její dokončení.", "info": "Info:", - "folder_not_exist": "Adresář neexistuje", "folder_exists": "Adresář již existuje: '{path}'", "file_not_exist": "Soubor neexistuje: '{path}'", - "file_exists": "Soubor již existuje: '{path}'", "error": "Chyba:", "deprecated_command_alias": "'{prog} {old}' je zastaralý a bude odebrán v budoucích verzích, použijte '{prog} {new}'", "deprecated_command": "'{prog} {command}' je zastaralý a bude odebrán v budoucích verzích", @@ -55,4 +52,4 @@ "authentication_required_long": "K provedení této akce je vyžadováno ověření", "authentication_required": "Vyžadováno ověření", "argument_required": "Je vyžadován argument '{argument}'" -} +} \ No newline at end of file diff --git a/locales/de.json b/locales/de.json index 055103ae..72ee01cc 100644 --- a/locales/de.json +++ b/locales/de.json @@ -1,16 +1,12 @@ { "argument_required": "Der Parameter {argument} ist erforderlich", - "authentication_profile_required": "Anmeldung als Nutzer '{profile}' wird benötigt", "authentication_required": "Anmeldung erforderlich", "authentication_required_long": "Bitte erst anmelden um diese Aktion auszuführen", "colon": "{}: ", "confirm": "Bestätige {prompt}", "error": "Fehler:", - "error_see_log": "Ein Fehler ist aufgetreten. Für Details bitte im Log nachsehen.", - "file_exists": "Datei existiert bereits: '{path}'", "file_not_exist": "Datei ist nicht vorhanden: '{path}'", "folder_exists": "Ordner existiert bereits: '{path}'", - "folder_not_exist": "Ordner existiert nicht", "instance_already_running": "Es läuft bereits eine YunoHost-Operation. Bitte warte, bis sie fertig ist, bevor du eine weitere startest.", "invalid_argument": "Argument ungültig '{argument}': {error}", "invalid_password": "Passwort falsch", @@ -23,7 +19,6 @@ "operation_interrupted": "Vorgang unterbrochen", "password": "Passwort", "pattern_not_match": "Entspricht nicht dem Muster", - "permission_denied": "Zugriff verweigert", "root_required": "Nur der Nutzer root kann diesen Vorgang ausführen", "server_already_running": "Einen anderer Dienst arbeitet bereits auf diesem Port", "success": "Erfolg!", @@ -46,7 +41,6 @@ "warn_the_user_that_lock_is_acquired": "Der andere Befehl wurde gerade abgeschlossen, starte jetzt diesen Befehl", "warn_the_user_about_waiting_lock_again": "Immer noch wartend...", "warn_the_user_about_waiting_lock": "Ein anderer YunoHost Befehl läuft gerade, wir warten bis er fertig ist, bevor dieser laufen kann", - "command_unknown": "Befehl '{command}' unbekannt?", "download_bad_status_code": "{url} lieferte folgende(n) Status Code(s) {code}", "download_unknown_error": "Fehler beim Herunterladen von Daten von {url}: {error}", "download_timeout": "{url} brauchte zu lange zum Antworten, hab aufgegeben.", @@ -58,4 +52,4 @@ "corrupted_toml": "Beschädigtes TOML gelesen von {ressource} (reason: {error})", "ldap_server_is_down_restart_it": "Der LDAP-Dienst wurde angehalten. Es wird versucht, ihn erneut zu starten...", "session_expired": "Die Sitzung ist abgelaufen. Bitte authentifizieren Sie sich neu ." -} +} \ No newline at end of file diff --git a/locales/el.json b/locales/el.json index a6f9617e..c53557cc 100644 --- a/locales/el.json +++ b/locales/el.json @@ -1,4 +1,4 @@ { "logged_out": "Αποσυνδέθηκα", "password": "Κωδικός πρόσβασης" -} +} \ No newline at end of file diff --git a/locales/en.json b/locales/en.json index a2c74872..232008a8 100644 --- a/locales/en.json +++ b/locales/en.json @@ -7,10 +7,8 @@ "deprecated_command": "'{prog} {command}' is deprecated and will be removed in the future", "deprecated_command_alias": "'{prog} {old}' is deprecated and will be removed in the future, use '{prog} {new}' instead", "error": "Error:", - "file_exists": "File already exists: '{path}'", "file_not_exist": "File does not exist: '{path}'", "folder_exists": "Folder already exists: '{path}'", - "folder_not_exist": "Folder does not exist", "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}", @@ -51,7 +49,6 @@ "download_timeout": "{url} took too long to answer, gave up.", "download_unknown_error": "Error when downloading data from {url}: {error}", "download_bad_status_code": "{url} returned status code {code}", - "command_unknown": "Command '{command}' unknown?", "warn_the_user_about_waiting_lock": "Another YunoHost command is running right now, we are waiting for it to finish before running this one", "warn_the_user_about_waiting_lock_again": "Still waiting...", "warn_the_user_that_lock_is_acquired": "The other command just completed, now starting this command", diff --git a/locales/eo.json b/locales/eo.json index f46321ea..2a084a14 100644 --- a/locales/eo.json +++ b/locales/eo.json @@ -4,7 +4,6 @@ "warn_the_user_that_lock_is_acquired": "La alia komando ĵus kompletigis, nun komencante ĉi tiun komandon", "warn_the_user_about_waiting_lock_again": "Ankoraŭ atendanta...", "warn_the_user_about_waiting_lock": "Alia komando de YunoHost funkcias ĝuste nun, ni atendas, ke ĝi finiĝos antaŭ ol funkcii ĉi tiu", - "command_unknown": "Komando '{command}' nekonata?", "download_bad_status_code": "{url} redonita statuskodo {code}", "download_unknown_error": "Eraro dum elŝutado de datumoj de {url}: {error}", "download_timeout": "{url} prenis tro da tempo por respondi, rezignis.", @@ -40,21 +39,17 @@ "invalid_argument": "Nevalida argumento '{argument}': {error}", "instance_already_running": "Jam funkcias YunoHost-operacio. Bonvolu atendi, ke ĝi finiĝos antaŭ ol funkcii alia.", "info": "informoj:", - "folder_not_exist": "Dosierujo ne ekzistas", "folder_exists": "Dosierujo jam ekzistas: '{path}'", "file_not_exist": "Dosiero ne ekzistas: '{path}'", - "file_exists": "Dosiero jam ekzistas: '{path}'", - "error_see_log": "Eraro okazis. Bonvolu vidi la protokolojn por detaloj, ili troviĝas en /var/log/yunohost/.", "error": "Eraro:", "deprecated_command_alias": "'{prog} {old}' malakceptas kaj estos forigita estonte, uzu anstataŭe '{prog} {new}'", "deprecated_command": "'{prog} {command}' malakceptas kaj estos forigita estonte", "confirm": "Konfirmu {prompt}", "authentication_required_long": "Aŭtentigo necesas por plenumi ĉi tiun agon", "authentication_required": "Aŭtentigo bezonata", - "authentication_profile_required": "Aŭtentigo al la profilo '{profile}' bezonata", "argument_required": "Argumento '{argument}' estas bezonata", "logged_out": "Ensalutinta", "invalid_token": "Nevalida tokeno - bonvolu autentiki", "ldap_server_is_down_restart_it": "La LDAP-servo malpliiĝas, provu rekomenci ĝin...", "session_expired": "La sesio eksvalidiĝis. Bonvolu re-aŭtentikigi." -} +} \ No newline at end of file diff --git a/locales/es.json b/locales/es.json index ca54ac57..5e76a6b9 100644 --- a/locales/es.json +++ b/locales/es.json @@ -1,6 +1,5 @@ { "argument_required": "Se requiere el argumento «{argument}»", - "authentication_profile_required": "Autentificación requerida para el perfil «{profile}»", "authentication_required": "Se requiere autentificación", "authentication_required_long": "Debe autentificarse para realizar esta acción", "colon": "{}: ", @@ -8,11 +7,8 @@ "deprecated_command": "«{prog} {command}» está obsoleto y será eliminado en el futuro", "deprecated_command_alias": "«{prog} {old}» está obsoleto y se eliminará en el futuro, use «{prog} {new}» en su lugar", "error": "Error:", - "error_see_log": "Ha ocurrido un error. Consulte el registro para obtener más información, localizado en /var/log/yunohost/.", - "file_exists": "El archivo ya existe: «{path}»", "file_not_exist": "El archivo no existe: «{path}»", "folder_exists": "El directorio ya existe: «{path}»", - "folder_not_exist": "La carpeta no existe", "instance_already_running": "Ya se está ejecutando una instancia de YunoHost. Espere a que termine antes de ejecutar otra.", "invalid_argument": "Argumento no válido «{argument}»: {error}", "invalid_password": "Contraseña no válida", @@ -25,7 +21,6 @@ "operation_interrupted": "Operación interrumpida", "password": "Contraseña", "pattern_not_match": "No coincide con el patrón", - "permission_denied": "Permiso denegado", "root_required": "Solo root puede realizar esta acción", "server_already_running": "Ya se está ejecutando un servidor en ese puerto", "success": "¡Éxito!", @@ -48,7 +43,6 @@ "download_timeout": "{url} tardó demasiado en responder, abandono.", "download_unknown_error": "Error al descargar datos desde {url} : {error}", "download_bad_status_code": "{url} devolvió el código de estado {code}", - "command_unknown": "¿Orden «{command}» desconocida?", "corrupted_yaml": "Lectura corrupta de YAML desde {ressource} (motivo: {error})", "info": "Información:", "corrupted_toml": "Lectura corrupta de TOML desde {ressource} (motivo: {error})", @@ -58,4 +52,4 @@ "invalid_token": "Token invalido - vuelva a autenticarte", "ldap_server_is_down_restart_it": "El servicio LDAP está caído, intentando reiniciarlo...", "session_expired": "La sesión expiró. Por favor autenticarse de nuevo." -} +} \ No newline at end of file diff --git a/locales/eu.json b/locales/eu.json index 803f875c..0e752883 100644 --- a/locales/eu.json +++ b/locales/eu.json @@ -3,4 +3,4 @@ "logged_out": "Saioa amaitu", "password": "Pasahitza", "colon": "{}: " -} +} \ No newline at end of file diff --git a/locales/fi.json b/locales/fi.json index 0967ef42..9e26dfee 100644 --- a/locales/fi.json +++ b/locales/fi.json @@ -1 +1 @@ -{} +{} \ No newline at end of file diff --git a/locales/fr.json b/locales/fr.json index 4b08276d..f3d7932c 100644 --- a/locales/fr.json +++ b/locales/fr.json @@ -1,6 +1,5 @@ { "argument_required": "L’argument '{argument}' est requis", - "authentication_profile_required": "L’authentification au profil '{profile}' est requise", "authentication_required": "Authentification requise", "authentication_required_long": "L’authentification est requise pour exécuter cette action", "colon": "{} : ", @@ -8,11 +7,8 @@ "deprecated_command": "'{prog} {command}' est déprécié et sera bientôt supprimé", "deprecated_command_alias": "'{prog} {old}' est déprécié et sera bientôt supprimé, utilisez '{prog} {new}' à la place", "error": "Erreur :", - "error_see_log": "Une erreur est survenue. Veuillez consulter les journaux pour plus de détails, ils sont situés dans /var/log/yunohost/.", - "file_exists": "Le fichier existe déjà : '{path}'", "file_not_exist": "Le fichier '{path}' n’existe pas", "folder_exists": "Le dossier existe déjà : '{path}'", - "folder_not_exist": "Le dossier n’existe pas", "instance_already_running": "Une instance est déjà en cours d’exécution, merci d'attendre sa fin avant d'en lancer une autre.", "invalid_argument": "Argument '{argument}' incorrect : {error}", "invalid_password": "Mot de passe incorrect", @@ -25,7 +21,6 @@ "operation_interrupted": "Opération interrompue", "password": "Mot de passe", "pattern_not_match": "Ne correspond pas au motif", - "permission_denied": "Permission refusée", "root_required": "Vous devez être super-utilisateur pour exécuter cette action", "server_already_running": "Un serveur est déjà en cours d’exécution sur ce port", "success": "Succès !", @@ -48,7 +43,6 @@ "download_timeout": "{url} a pris trop de temps pour répondre : abandon.", "download_unknown_error": "Erreur lors du téléchargement des données à partir de {url} : {error}", "download_bad_status_code": "{url} renvoie le code d'état {code}", - "command_unknown": "Commande '{command}' inconnue ?", "corrupted_yaml": "Fichier YAML corrompu en lecture depuis {ressource} (raison : {error})", "info": "Info :", "corrupted_toml": "Fichier TOML corrompu en lecture depuis {ressource} (cause : {error})", @@ -58,4 +52,4 @@ "invalid_token": "Jeton non valide - veuillez vous authentifier", "ldap_server_is_down_restart_it": "Le service LDAP s'est arrêté, une tentative de redémarrage est en cours...", "session_expired": "La session a expiré. Merci de vous ré-authentifier." -} +} \ No newline at end of file diff --git a/locales/gl.json b/locales/gl.json index 511d8deb..5dc0d1ff 100644 --- a/locales/gl.json +++ b/locales/gl.json @@ -6,10 +6,8 @@ "invalid_argument": "Argumento non válido '{argument}': {error}", "instance_already_running": "Hai unha operación de YunoHost en execución. Por favor agarda a que remate antes de realizar unha nova.", "info": "Info:", - "folder_not_exist": "O cartafol non existe", "folder_exists": "Xa existe o cartafol: '{path}'", "file_not_exist": "Non existe o ficheiro: '{path}'", - "file_exists": "Xa existe o ficheiro: '{path}'", "error": "Erro:", "deprecated_command_alias": "'{prog} {old}' xa non se utiliza e será eliminado no futuro, usa '{prog} {new}' no seu lugar", "deprecated_command": "'{prog} {command}' xa non se utiliza e xa non se usará no futuro", @@ -39,7 +37,6 @@ "warn_the_user_that_lock_is_acquired": "O outro comando rematou, agora executarase este", "warn_the_user_about_waiting_lock_again": "Agardando...", "warn_the_user_about_waiting_lock": "Estase executando outro comando de YunoHost neste intre, estamos agardando a que remate para executar este", - "command_unknown": "Comando '{command}' descoñecido?", "download_bad_status_code": "{url} devolveu o código de estado {code}", "download_unknown_error": "Erro ao descargar os datos desde {url}: {error}", "download_timeout": "{url} está tardando en responder, deixámolo.", @@ -55,4 +52,4 @@ "cannot_write_file": "Non se puido escribir o ficheiro {file} (razón: {error})", "cannot_open_file": "Non se puido abrir o ficheiro {file} (razón: {error})", "websocket_request_expected": "Agardábase unha solicitude WebSocket" -} +} \ No newline at end of file diff --git a/locales/hi.json b/locales/hi.json index 4d4d12d9..4ca0346c 100644 --- a/locales/hi.json +++ b/locales/hi.json @@ -1,6 +1,5 @@ { "argument_required": "तर्क '{argument}' आवश्यक है", - "authentication_profile_required": "{profile} प्रोफ़ाइल के लिए प्रमाणीकरण की आवश्यकता है", "authentication_required": "प्रमाणीकरण आवश्यक", "authentication_required_long": "इस कार्य को करने के लिए प्रमाणीकरण आवश्यक है", "colon": "{}: ", @@ -8,11 +7,8 @@ "deprecated_command": "'{prog}' '{command}' का प्रयोग न करे, भविष्य में इसे हटा दिया जाएगा", "deprecated_command_alias": "'{prog} {old}' अब पुराना हो गया है और इसे भविष्य में हटा दिया जाएगा, इस की जगह '{prog} {new}' का प्रयोग करें", "error": "गलती:", - "error_see_log": "एक त्रुटि पाई गई। कृपया विवरण के लिए लॉग देखें।", - "file_exists": "फ़ाइल पहले से ही मौजूद है:'{path}'", "file_not_exist": "फ़ाइल मौजूद नहीं है: '{path}'", "folder_exists": "फ़ोल्डर में पहले से ही मौजूद है: '{path}'", - "folder_not_exist": "फ़ोल्डर मौजूद नहीं है", "instance_already_running": "यूनोहोस्ट का एक कार्य पहले से चल रहा है। कृपया इस कार्य के समाप्त होने का इंतज़ार करें।", "invalid_argument": "अवैध तर्क '{argument}':'{error}'", "invalid_password": "अवैध पासवर्ड", @@ -25,7 +21,6 @@ "operation_interrupted": "कार्य बाधित", "password": "पासवर्ड", "pattern_not_match": "पैटर्न मेल नहीं खता है।", - "permission_denied": "अनुमति से इनकार।", "root_required": "इस कार्य को करने के लिए ,आप का root होना आवक्षक है।", "server_already_running": "कोई सर्वर पहले से ही इस पोर्ट पर चल रहा है।", "success": "सफलता!", @@ -37,4 +32,4 @@ "warning": "चेतावनी:", "websocket_request_expected": "एक WebSocket अनुरोध की उम्मीद।", "info": "सूचना:" -} +} \ No newline at end of file diff --git a/locales/hu.json b/locales/hu.json index 7e849e7a..83906ecd 100644 --- a/locales/hu.json +++ b/locales/hu.json @@ -14,6 +14,5 @@ "invalid_password": "Helytelen jelszó", "info": "Információ:", "file_not_exist": "A fájl nem létezik: '{path}'", - "file_exists": "A fájl már létezik: '{path}'", "error": "Hiba:" -} +} \ No newline at end of file diff --git a/locales/it.json b/locales/it.json index 3ed3dd23..8cfe815b 100644 --- a/locales/it.json +++ b/locales/it.json @@ -2,7 +2,6 @@ "logged_out": "Disconnesso", "password": "Password", "argument_required": "L'argomento '{argument}' è richiesto", - "authentication_profile_required": "Autenticazione al profilo '{profile}' richiesta", "authentication_required": "Autenticazione richiesta", "authentication_required_long": "Autenticazione richiesta per eseguire questa azione", "colon": "{}: ", @@ -10,11 +9,8 @@ "deprecated_command": "'{prog} {command}' è deprecato e sarà rimosso in futuro", "deprecated_command_alias": "'{prog} {old}' è deprecato e sarà rimosso in futuro, usa invece '{prog} {new}'", "error": "Errore:", - "error_see_log": "Si è verificato un errore. Per favore controlla i registri per i dettagli, sono salvati in /var/log/yunohost/.", - "file_exists": "Il file esiste già: '{path}'", "file_not_exist": "Il file non esiste: '{path}'", "folder_exists": "La cartella esiste già: '{path}'", - "folder_not_exist": "La cartella non esiste", "instance_already_running": "Esiste già un'operazione YunoHost in esecuzione. Attendi il completamento prima di eseguirne un altro.", "invalid_argument": "Argomento non valido '{argument}': {error}", "invalid_password": "Password non valida", @@ -25,7 +21,6 @@ "not_logged_in": "Non hai effettuato l'accesso", "operation_interrupted": "Operazione interrotta", "pattern_not_match": "Non corrisponde al modello", - "permission_denied": "Permesso negato", "root_required": "Devi essere root per eseguire questa azione", "server_already_running": "Un server è già in esecuzione su quella porta", "success": "Riuscito!", @@ -49,7 +44,6 @@ "download_timeout": "{url} ci ha messo troppo a rispondere, abbandonato.", "download_unknown_error": "Errore durante il download di dati da {url} : {error}", "download_bad_status_code": "{url} ha restituito il codice di stato {code}", - "command_unknown": "Comando '{command}' sconosciuto?", "info": "Info:", "warn_the_user_that_lock_is_acquired": "L'altro comando è appena completato, ora avvio questo comando", "warn_the_user_about_waiting_lock_again": "Sto ancora aspettando ...", @@ -58,4 +52,4 @@ "invalid_token": "Token non valido: autenticare", "session_expired": "La sessione è terminata. Sei pregato di autenticarti nuovamente.", "ldap_server_is_down_restart_it": "Il servizio LDAP è terminato, provo a riavviarlo..." -} +} \ No newline at end of file diff --git a/locales/nb_NO.json b/locales/nb_NO.json index 6cb56f66..fc4536ed 100644 --- a/locales/nb_NO.json +++ b/locales/nb_NO.json @@ -13,10 +13,9 @@ "logged_in": "Innlogget", "invalid_password": "Ugyldig passord", "info": "Info:", - "file_exists": "Filen finnes allerede: '{path}'", "error": "Feil:", "confirm": "Bekreft {prompt}", "colon": "{}: ", "logged_out": "Utlogget", "password": "Passord" -} +} \ No newline at end of file diff --git a/locales/ne.json b/locales/ne.json index 457005f4..f0e68fb9 100644 --- a/locales/ne.json +++ b/locales/ne.json @@ -8,4 +8,4 @@ "authentication_required_long": "यस कार्य गर्नको लागि प्रमाणीकरण आवाश्यक हुन्छ", "authentication_required": "प्रमाणीकरण आवाश्यक छ", "argument_required": "तर्क '{argument}' आवश्यक छ" -} +} \ No newline at end of file diff --git a/locales/nl.json b/locales/nl.json index 6f7c084a..b25ac3f3 100644 --- a/locales/nl.json +++ b/locales/nl.json @@ -1,16 +1,12 @@ { "argument_required": "Argument {argument} is vereist", - "authentication_profile_required": "Authenticatie tot profiel '{profile}' is vereist", "authentication_required": "Aanmelding vereist", "authentication_required_long": "Aanmelding is vereist om deze actie uit te voeren", "colon": "{}: ", "confirm": "Bevestig {prompt}", "error": "Fout:", - "error_see_log": "Er is een fout opgetreden, zie logboek voor meer informatie. Je kan deze vinden in /var/log/yunohost/.", - "file_exists": "Kan '{path}' niet aanmaken: bestand bestaat al", "file_not_exist": "Bestand bestaat niet: '{path}'", "folder_exists": "Deze map bestaat al: '{path}'", - "folder_not_exist": "Map bestaat niet", "instance_already_running": "Er is al een instantie actief, bedankt om te wachten tot deze afgesloten is alvorens een andere te starten.", "invalid_argument": "Ongeldig argument '{argument}': {error}", "invalid_password": "Ongeldig wachtwoord", @@ -23,7 +19,6 @@ "operation_interrupted": "Operatie onderbroken", "password": "Wachtwoord", "pattern_not_match": "Past niet in het patroon", - "permission_denied": "Toegang geweigerd", "root_required": "Je moet root zijn om deze actie uit te voeren", "server_already_running": "Er is al een server actief op die poort", "success": "Succes!", @@ -48,7 +43,6 @@ "download_timeout": "{url} neemt te veel tijd om te antwoorden, we geven het op.", "download_unknown_error": "Fout tijdens het downloaden van data van {url}: {error}", "download_bad_status_code": "{url} stuurt status code {code}", - "command_unknown": "Opdracht '{command}' ongekend ?", "warn_the_user_that_lock_is_acquired": "de andere opdracht is zojuist voltooid en start nu deze opdracht", "warn_the_user_about_waiting_lock_again": "Nog steeds aan het wachten...", "warn_the_user_about_waiting_lock": "Een ander YunoHost commando wordt uitgevoerd, we wachten tot het gedaan is alovrens dit te starten", @@ -56,4 +50,4 @@ "corrupted_yaml": "Ongeldig YAML bestand op {ressource} (reason: {error})", "invalid_token": "Ongeldig token - gelieve in te loggen", "info": "Ter info:" -} +} \ No newline at end of file diff --git a/locales/oc.json b/locales/oc.json index 82ac8740..69bfbcd5 100644 --- a/locales/oc.json +++ b/locales/oc.json @@ -1,6 +1,5 @@ { "argument_required": "L’argument {argument} es requesit", - "authentication_profile_required": "L’identificacion del perfil {profile} es requesida", "authentication_required": "Autentificacion requesida", "authentication_required_long": "Una autentificacion es requesida per acomplir aquesta accion", "logged_in": "Connectat", @@ -11,18 +10,14 @@ "deprecated_command": "« {prog} {command} » es despreciat e serà lèu suprimit", "deprecated_command_alias": "« {prog} {old} » es despreciat e serà lèu suprimit, utilizatz « {prog} {new} » allòc", "error": "Error :", - "error_see_log": "Una error s’es producha. Mercés de consultar los jornals per mai detalhs, son plaçats dins /var/log/yunohost/.", - "file_exists": "Lo fichièr existís ja : « {path} »", "file_not_exist": "Lo fichièr « {path} » existís pas", "folder_exists": "Lo repertòri existís ja : « {path} »", - "folder_not_exist": "Lo repertòri existís pas", "instance_already_running": "I a ja una operacion de YunoHost en cors. Mercés d’esperar que s’acabe abans de ne lançar una mai.", "invalid_argument": "Argument « {argument} » incorrècte : {error}", "invalid_password": "Senhal incorrècte", "ldap_server_down": "Impossible d’aténher lo servidor LDAP", "not_logged_in": "Cap de session començada", "pattern_not_match": "Correspond pas al patron", - "permission_denied": "Permission refusada", "root_required": "Cal èsser root per realizar aquesta accion", "unable_retrieve_session": "Recuperacion impossibla de la session a causa de « {exception} »", "unknown_group": "Grop « {group} » desconegut", @@ -47,7 +42,6 @@ "download_timeout": "{url} a trigat per respondre, avèm quitat d’esperar.", "download_unknown_error": "Error en telecargar de donadas de {url} : {error}", "download_bad_status_code": "{url} tòrna lo còdi d’estat {code}", - "command_unknown": "Comanda « {command} » desconeguda ?", "corrupted_json": "Fichièr Json corromput legit de {ressource} (rason : {error})", "corrupted_yaml": "Fichièr YAML corromput legit de {ressource} (rason : {error})", "info": "Info :", @@ -58,4 +52,4 @@ "invalid_token": "Geton invalid - volgatz vos autentificar", "ldap_server_is_down_restart_it": "Lo servici LDAP s’es atudat, ensajam de lo reaviar…", "session_expired": "La session a expirat. Tornatz vos autentificar." -} +} \ No newline at end of file diff --git a/locales/pl.json b/locales/pl.json index 4a6797dd..5a048ca6 100644 --- a/locales/pl.json +++ b/locales/pl.json @@ -4,7 +4,6 @@ "warn_the_user_that_lock_is_acquired": "Inne polecenie właśnie się zakończyło, teraz uruchamiam to polecenie", "warn_the_user_about_waiting_lock_again": "Wciąż czekam...", "warn_the_user_about_waiting_lock": "Kolejne polecenie YunoHost jest teraz uruchomione, czekamy na jego zakończenie przed uruchomieniem tego", - "command_unknown": "Polecenie '{command}' jest nieznane?", "download_bad_status_code": "{url} zwrócił kod stanu {code}", "download_unknown_error": "Błąd podczas pobierania danych z {url}: {error}", "download_timeout": "{url} odpowiedział zbyt długo, poddał się.", @@ -41,11 +40,8 @@ "invalid_argument": "Nieprawidłowy argument „{argument}”: {error}", "instance_already_running": "Trwa już operacja YunoHost. Zaczekaj na zakończenie, zanim uruchomisz kolejny.", "info": "Informacje:", - "folder_not_exist": "Folder nie istnieje", "folder_exists": "Folder już istnieje: „{path}”", "file_not_exist": "Plik nie istnieje: „{path}”", - "file_exists": "Plik już istnieje: „{path}”", - "error_see_log": "Wystąpił błąd. Szczegółowe informacje można znaleźć w dziennikach, znajdują się one w katalogu /var/log/yunohost/.", "error": "Błąd:", "deprecated_command_alias": "„{prog} {old}” jest przestarzałe i zostanie usunięte w przyszłości, zamiast tego użyj „{prog} {new}”", "deprecated_command": "„{prog} {command}” jest przestarzałe i zostanie usunięte w przyszłości", @@ -56,4 +52,4 @@ "argument_required": "Argument „{argument}” jest wymagany", "ldap_server_is_down_restart_it": "Usługa LDAP nie działa, próba restartu...", "session_expired": "Sesja wygasła. Zaloguj się ponownie." -} +} \ No newline at end of file diff --git a/locales/pt.json b/locales/pt.json index 31e1fa2e..d723ef35 100644 --- a/locales/pt.json +++ b/locales/pt.json @@ -1,15 +1,12 @@ { "argument_required": "O argumento '{argument}' é obrigatório", - "authentication_profile_required": "Autenticação requerida para o perfil '{profile}'", "authentication_required": "Autenticação obrigatória", "authentication_required_long": "É preciso autenticar-se para realizar esta ação", "colon": "{}: ", "confirm": "Confirmar {prompt}", "error": "Erro:", - "file_exists": "A pasta já existe: '{path}'", "file_not_exist": "O ficheiro não existe: '{path}'", "folder_exists": "A pasta já existe: '{path}'", - "folder_not_exist": "A pasta não existe", "instance_already_running": "Já existe uma operação YunoHost em execução. Aguarde o término antes de executar outro.", "invalid_argument": "Argumento inválido '{argument}': {error}", "invalid_password": "Senha incorreta", @@ -22,7 +19,6 @@ "operation_interrupted": "Operação cancelada", "password": "Senha", "pattern_not_match": "Não corresponde ao motivo", - "permission_denied": "Permissão revogada", "root_required": "Deve ser root (administrador) para realizar esta ação", "server_already_running": "Existe um servidor ativo nessa porta", "success": "Sucesso!", @@ -33,7 +29,6 @@ "websocket_request_expected": "Esperado um pedido a WebSocket", "deprecated_command": "'{prog} {command}' está obsoleto e será removido no futuro", "deprecated_command_alias": "'{prog} {old}' está obsoleto e será removido no futuro, em vez disso, usa '{prog} {new}'", - "error_see_log": "Ocorreu um erro . Por favor, veja os logs para maiores detalhes, eles estão localizados em /var/log/yunohost/.", "unknown_group": "Grupo '{group}' desconhecido", "unknown_user": "Nome de utilizador '{user}' desconhecido", "cannot_open_file": "Não foi possível abrir o arquivo {file} (reason: {error})", @@ -47,7 +42,6 @@ "download_timeout": "{url} demorou muito para responder, desistiu.", "download_unknown_error": "Erro quando baixando os dados de {url} : {error}", "download_bad_status_code": "{url} retornou o código de status {code}", - "command_unknown": "Comando '{command}' desconhecido ?", "corrupted_json": "JSON corrompido lido do {ressource} (motivo: {error})", "corrupted_yaml": "YAML corrompido lido do {ressource} (motivo: {error})", "warn_the_user_that_lock_is_acquired": "O outro comando acabou de concluir, agora iniciando este comando", @@ -58,4 +52,4 @@ "info": "Informações:", "ldap_server_is_down_restart_it": "O serviço LDAP esta caído, tentando reiniciá-lo...", "session_expired": "A sessão expirou. Se autentique de novo por favor." -} +} \ No newline at end of file diff --git a/locales/ru.json b/locales/ru.json index d9ea637b..6b285b40 100644 --- a/locales/ru.json +++ b/locales/ru.json @@ -1,6 +1,5 @@ { "argument_required": "Требуется'{argument}' аргумент", - "authentication_profile_required": "Для доступа к '{profile}' требуется аутентификация", "authentication_required": "Требуется аутентификация", "authentication_required_long": "Для этого действия требуется аутентификация", "colon": "{}: ", @@ -8,11 +7,8 @@ "deprecated_command": "'{prog} {command}' устарела и будет удалена", "deprecated_command_alias": "'{prog} {old}' устарела и будет удалена, вместо неё используйте '{prog} {new}'", "error": "Ошибка:", - "error_see_log": "Произошла ошибка. Пожалуйста, смотри подробности в логах, находящихся /var/log/yunohost/.", - "file_exists": "Файл уже существует: '{path}'", "file_not_exist": "Файл не существует: '{path}'", "folder_exists": "Каталог уже существует: '{path}'", - "folder_not_exist": "Каталог не существует", "invalid_argument": "Неправильный аргумент '{argument}': {error}", "invalid_password": "Неправильный пароль", "ldap_attribute_already_exists": "Атрибут '{attribute}' уже существует со значением '{value}'", @@ -43,7 +39,6 @@ "instance_already_running": "Операция YunoHost уже запущена. Пожалуйста, подождите, пока он закончится, прежде чем запускать другой.", "root_required": "Чтобы выполнить это действие, вы должны иметь права root", "corrupted_json": "Повреждённый json получен от {ressource} (причина: {error})", - "command_unknown": "Команда '{command}' неизвестна ?", "warn_the_user_that_lock_is_acquired": "другая команда только что завершилась, теперь запускает эту команду", "warn_the_user_about_waiting_lock_again": "Все еще жду...", "warn_the_user_about_waiting_lock": "Сейчас запускается еще одна команда YunoHost, мы ждем ее завершения, прежде чем запустить эту", @@ -55,4 +50,4 @@ "invalid_usage": "Неправильное использование, передайте --help, чтобы увидеть помощь", "invalid_token": "Неверный токен - пожалуйста, авторизуйтесь", "info": "Информация:" -} +} \ No newline at end of file diff --git a/locales/sv.json b/locales/sv.json index ae019e6d..298b1e6b 100644 --- a/locales/sv.json +++ b/locales/sv.json @@ -22,11 +22,8 @@ "invalid_argument": "Ogiltig parameter '{argument}': {error}", "logged_out": "Utloggad", "info": "Info:", - "folder_not_exist": "Katalogen finns inte", "folder_exists": "Katalogen finns redan: '{path}'", "file_not_exist": "Filen finns inte: '{path}'", - "file_exists": "Filen finns redan: '{path}'", - "error_see_log": "Ett fel har inträffat. Kolla gärna i loggfilerna för mer information, de finns i /var/log/yunohost/.", "error": "Fel:", "deprecated_command_alias": "'{prog} {old}' rekommenderas inte längre och kommer tas bort i framtiden, använd '{prog} {new}' istället", "deprecated_command": "'{prog} {command}' rekommenderas inte längre och kommer tas bort i framtiden", @@ -36,7 +33,6 @@ "password": "Lösenord", "warn_the_user_that_lock_is_acquired": "det andra kommandot har bara slutförts, nu startar du det här kommandot", "warn_the_user_about_waiting_lock": "Ett annat YunoHost-kommando körs just nu, vi väntar på att det ska slutföras innan det här körs", - "command_unknown": "Kommando '{command}' okänd?", "download_unknown_error": "Fel vid nedladdning av data från {url}: {error}", "invalid_url": "Ogiltig url {url} (finns den här webbplatsen?)", "error_changing_file_permissions": "Fel vid ändring av behörigheter för {path}: {error}", @@ -54,4 +50,4 @@ "instance_already_running": "Det finns redan en YunoHost-operation. Vänta tills den är klar innan du kör en annan.", "authentication_required_long": "Autentisering krävs för att utföra denna åtgärd", "authentication_required": "Autentisering krävs" -} +} \ No newline at end of file diff --git a/locales/tr.json b/locales/tr.json index 2cd46160..5587d442 100644 --- a/locales/tr.json +++ b/locales/tr.json @@ -1,12 +1,10 @@ { "argument_required": "{argument} argümanı gerekli", - "authentication_profile_required": "'{profile}' profili için yetkilendirme gerekli", "authentication_required": "Yetklendirme gerekli", "authentication_required_long": "Bu işlemi yapmak içi yetkilendirme gerekli", "colon": "{}: ", "confirm": "{prompt}'i doğrulayın", "error": "Hata:", - "error_see_log": "Bir hata oluştu. Ayrıntılar için lütfen günlüklere bakın, bunlar /var/log/yunohost/ dizinindedir.", "instance_already_running": "Halihazırda bir YunoHost operasyonu var. Lütfen başka bir tane çalıştırmadan önce bitmesini bekleyin.", "invalid_argument": "Geçersiz argüman '{argument}': {error}", "invalid_password": "Geçersiz parola", @@ -18,7 +16,6 @@ "operation_interrupted": "İşlem yarıda kesildi", "password": "Parola", "pattern_not_match": "İstenen biçimle uyuşmuyor", - "permission_denied": "Erişim reddedildi", "root_required": "Bu işlemi yapmak için root olmalısınız", "server_already_running": "Bu portta zaten çalışan bir sunucu var", "success": "İşlem Başarılı!", @@ -30,7 +27,6 @@ "warn_the_user_that_lock_is_acquired": "diğer komut şimdi tamamlandı, şimdi bu komutu başlatıyor", "warn_the_user_about_waiting_lock_again": "Hala bekliyor...", "warn_the_user_about_waiting_lock": "Başka bir YunoHost komutu şu anda çalışıyor, bunu çalıştırmadan önce bitmesini bekliyoruz", - "command_unknown": "'{command}' komutu bilinmiyor mu?", "download_bad_status_code": "{url} döndürülen durum kodu {code}", "download_unknown_error": "{url} adresinden veri indirilirken hata oluştu: {error}", "download_timeout": "{url} yanıtlaması çok uzun sürdü, pes etti.", @@ -50,10 +46,8 @@ "invalid_usage": "Geçersiz kullanım, yardım görmek için --help iletin", "invalid_token": "Geçersiz simge - lütfen kimlik doğrulaması yapın", "info": "Bilgi:", - "folder_not_exist": "Klasör mevcut değil", "folder_exists": "Klasör zaten var: '{path}'", "file_not_exist": "Dosya mevcut değil: '{path}'", - "file_exists": "Dosya zaten var: '{path}'", "deprecated_command_alias": "'{prog} {old}' kullanımdan kaldırıldı ve gelecekte kaldırılacak, bunun yerine '{prog} {new}' kullanın", "deprecated_command": "'{prog} {command}' kullanımdan kaldırıldı ve gelecekte kaldırılacak" -} +} \ No newline at end of file diff --git a/locales/uk.json b/locales/uk.json index 0967ef42..9e26dfee 100644 --- a/locales/uk.json +++ b/locales/uk.json @@ -1 +1 @@ -{} +{} \ No newline at end of file diff --git a/moulinette/actionsmap.py b/moulinette/actionsmap.py index fd10ef23..b7dbadfc 100644 --- a/moulinette/actionsmap.py +++ b/moulinette/actionsmap.py @@ -225,7 +225,7 @@ class PatternParameter(_ExtraParameter): "expecting a list as extra parameter 'pattern' of " "argument '%s'", arg_name, ) - value = [value, "pattern_not_match"] + value = [value, "pattern_not_match"] # i18n: pattern_not_match elif not isinstance(value, list) or len(value) != 2: raise TypeError("parameter value must be a list, got %r" % value) return value diff --git a/moulinette/core.py b/moulinette/core.py index 800b8540..61052dce 100644 --- a/moulinette/core.py +++ b/moulinette/core.py @@ -353,7 +353,7 @@ class MoulinetteSignals(object): """ return self._prompt(message, is_password, confirm, color=color) - def display(self, message, style="info"): + def display(self, message, style="info"): # i18n: info """Display a message Display a message with a given style to the user. diff --git a/test/remove_stale_i18n_strings.py b/test/remove_stale_i18n_strings.py new file mode 100644 index 00000000..48f2180e --- /dev/null +++ b/test/remove_stale_i18n_strings.py @@ -0,0 +1,25 @@ +import json +import glob +from collections import OrderedDict + +locale_folder = "../locales/" +locale_files = glob.glob(locale_folder + "*.json") +locale_files = [filename.split("/")[-1] for filename in locale_files] +locale_files.remove("en.json") + +reference = json.loads(open(locale_folder + "en.json").read()) + +for locale_file in locale_files: + + print(locale_file) + this_locale = json.loads( + open(locale_folder + locale_file).read(), object_pairs_hook=OrderedDict + ) + this_locale_fixed = {k: v for k, v in this_locale.items() if k in reference} + + json.dump( + this_locale_fixed, + open(locale_folder + locale_file, "w"), + indent=4, + ensure_ascii=False, + ) diff --git a/test/test_translation_format_consistency.py b/test/test_i18n_format_consistency.py similarity index 100% rename from test/test_translation_format_consistency.py rename to test/test_i18n_format_consistency.py diff --git a/test/test_i18n_keys.py b/test/test_i18n_keys.py index 930d478c..39ae749b 100644 --- a/test/test_i18n_keys.py +++ b/test/test_i18n_keys.py @@ -15,10 +15,10 @@ def find_expected_string_keys(): # Try to find : # m18n.g( "foo" # MoulinetteError("foo" + # # i18n: "some_key" p1 = re.compile(r"m18n\.g\(\s*[\"\'](\w+)[\"\']") - p2 = re.compile(r"MoulinetteError\([\'\"](\w+)[\'\"]") - p3 = re.compile(r"MoulinetteValidationError\([\'\"](\w+)[\'\"]") - p4 = re.compile(r"MoulinetteAuthenticationError\([\'\"](\w+)[\'\"]") + p2 = re.compile(r"Moulinette[a-zA-Z]+\(\s*[\'\"](\w+)[\'\"]") + p3 = re.compile(r"# i18n: [\'\"]?(\w+)[\'\"]?") python_files = glob.glob("moulinette/*.py") python_files.extend(glob.glob("moulinette/*/*.py")) @@ -37,11 +37,6 @@ def find_expected_string_keys(): if m.endswith("_"): continue yield m - for m in p4.findall(content): - if m.endswith("_"): - continue - yield m - ############################################################################### # Load en locale json keys # @@ -60,7 +55,6 @@ def keys_defined_for_en(): expected_string_keys = set(find_expected_string_keys()) keys_defined = set(keys_defined_for_en()) - def test_undefined_i18n_keys(): undefined_keys = expected_string_keys.difference(keys_defined) undefined_keys = sorted(undefined_keys)