From ac6f9ea17d46ecc1d61767673648d7d8767215ea Mon Sep 17 00:00:00 2001 From: 0ko <0ko@noreply.codeberg.org> Date: Wed, 11 Dec 2024 16:38:42 +0000 Subject: [PATCH] i18n: avoid storing i18n linter exceptions for (#6237) Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6237 Reviewed-by: Earl Warren --- build/lint-locale.go | 1 - options/locale/locale_ar.ini | 4 ++-- options/locale/locale_bg.ini | 5 +++-- options/locale/locale_cs-CZ.ini | 4 ++-- options/locale/locale_de-DE.ini | 4 ++-- options/locale/locale_el-GR.ini | 4 ++-- options/locale/locale_en-US.ini | 5 ++++- options/locale/locale_es-ES.ini | 4 ++-- options/locale/locale_fa-IR.ini | 4 ++-- options/locale/locale_fi-FI.ini | 4 ++-- options/locale/locale_fil.ini | 4 ++-- options/locale/locale_fr-FR.ini | 4 ++-- options/locale/locale_hu-HU.ini | 4 ++-- options/locale/locale_id-ID.ini | 4 ++-- options/locale/locale_is-IS.ini | 4 ++-- options/locale/locale_it-IT.ini | 4 ++-- options/locale/locale_ja-JP.ini | 5 +++-- options/locale/locale_lv-LV.ini | 5 +++-- options/locale/locale_ml-IN.ini | 5 +++-- options/locale/locale_nds.ini | 5 +++-- options/locale/locale_nl-NL.ini | 7 ++++--- options/locale/locale_pl-PL.ini | 4 ++-- options/locale/locale_pt-BR.ini | 5 +++-- options/locale/locale_pt-PT.ini | 4 ++-- options/locale/locale_ru-RU.ini | 4 ++-- options/locale/locale_si-LK.ini | 4 ++-- options/locale/locale_sv-SE.ini | 4 ++-- options/locale/locale_tr-TR.ini | 5 +++-- options/locale/locale_uk-UA.ini | 4 ++-- options/locale/locale_zh-CN.ini | 4 ++-- options/locale/locale_zh-TW.ini | 5 +++-- templates/repo/editor/commit_form.tmpl | 2 +- tests/integration/editor_test.go | 1 + 33 files changed, 74 insertions(+), 62 deletions(-) diff --git a/build/lint-locale.go b/build/lint-locale.go index 3f44e1d5f9..c49e236938 100644 --- a/build/lint-locale.go +++ b/build/lint-locale.go @@ -62,7 +62,6 @@ func initRemoveTags() { "user", "utente", "lietotājs", "gebruiker", "usuário", "Benutzer", "Bruker", "server", "servidor", "kiszolgáló", "serveris", "label", "etichetta", "etiķete", "rótulo", "Label", "utilizador", - "filename", "bestandsnaam", "dosyaadi", "fails", "nome do arquivo", "datnes nosaukums", } { oldnew = append(oldnew, "<"+el+">", "REPLACED-TAG") } diff --git a/options/locale/locale_ar.ini b/options/locale/locale_ar.ini index d30a27a44a..b7b3a0c883 100644 --- a/options/locale/locale_ar.ini +++ b/options/locale/locale_ar.ini @@ -1017,7 +1017,7 @@ commit.revert-header = إرجاع: %s editor.file_already_exists = يوجد فعلا في هذا المستودع ملف باسم "%s". settings.web_hook_name_matrix = متركس editor.filename_cannot_be_empty = لا يمكن ترك اسم الملف فارغا. -editor.add_tmpl = أضف '' +editor.add_tmpl = أضف '<%s>' editor.new_branch_name_desc = اسم الفرع الجديد… release = إصدار editor.delete_this_file = احذف الملف @@ -1990,4 +1990,4 @@ branch_kind = البحث ضمن الفروع... no_results = لا توجد نتائج مطابقة. issue_kind = البحث ضمن الأعطال... pull_kind = البحث ضمن طلبات السحب... -keyword_search_unavailable = البحث من خلال الكلمات المفتاحية ليس متوفر حالياً. رجاءاً تواصل مع مشرف الموقع. \ No newline at end of file +keyword_search_unavailable = البحث من خلال الكلمات المفتاحية ليس متوفر حالياً. رجاءاً تواصل مع مشرف الموقع. diff --git a/options/locale/locale_bg.ini b/options/locale/locale_bg.ini index 94d8b1db1d..924ce710e0 100644 --- a/options/locale/locale_bg.ini +++ b/options/locale/locale_bg.ini @@ -831,7 +831,8 @@ file_too_large = Файлът е твърде голям, за да бъде п commits = Подавания commit = Подаване editor.commit_changes = Подаване на промените -editor.add_tmpl = Добавяне на "<име на файла>" +editor.add_tmpl = Добавяне на "<%s>" +editor.add_tmpl.filename = име на файла editor.add = Добавяне на %s editor.delete = Изтриване на %s editor.update = Обновяване на %s @@ -1729,4 +1730,4 @@ eib = ЕиБ [translation_meta] -test = окей \ No newline at end of file +test = окей diff --git a/options/locale/locale_cs-CZ.ini b/options/locale/locale_cs-CZ.ini index c7f57cb7a7..13e554281d 100644 --- a/options/locale/locale_cs-CZ.ini +++ b/options/locale/locale_cs-CZ.ini @@ -1352,7 +1352,7 @@ editor.or=nebo editor.cancel_lower=Zrušit editor.commit_signed_changes=Odeslat podepsané změny editor.commit_changes=Odeslat změny -editor.add_tmpl=Přidán „“ +editor.add_tmpl=Přidán „<%s>“ editor.add=Přidat %s editor.update=Aktualizovat %s editor.delete=Odstranit %s @@ -4003,4 +4003,4 @@ actions.write = Zapisovat: Ručně spouštět, restartovat, rušit nebo s ext_wiki = Přístup k odkazu v externí wiki. Oprávnění jsou spravována externě. code.read = Číst: Přístup a klonování kódu v repozitáři. issues.read = Číst: Číst a vytvářet problémy a komentáře. -ext_issues = Přístup k odkazu v externím sledovacím systému problémů. Oprávnění jsou spravována externě. \ No newline at end of file +ext_issues = Přístup k odkazu v externím sledovacím systému problémů. Oprávnění jsou spravována externě. diff --git a/options/locale/locale_de-DE.ini b/options/locale/locale_de-DE.ini index 9512bb8e20..710cff0cdb 100644 --- a/options/locale/locale_de-DE.ini +++ b/options/locale/locale_de-DE.ini @@ -1350,7 +1350,7 @@ editor.or=oder editor.cancel_lower=Abbrechen editor.commit_signed_changes=Committe signierte Änderungen editor.commit_changes=Änderungen committen -editor.add_tmpl=„“ hinzufügen +editor.add_tmpl=„<%s>“ hinzufügen editor.add=%s hinzugefügt editor.update=%s aktualisiert editor.delete=%s gelöscht @@ -4007,4 +4007,4 @@ actions.read = Lesen: Integrierte CI/CD-Pipelines und ihre Logs betrachte actions.write = Schreiben: Ausstehende CI/CD-Pipelines manuell auslösen, neustarten, abbrechen oder genehmigen. ext_issues = Zugriff auf den Link zu einem externen Issue-Tracker. Die Berechtigungen werden extern verwaltet. ext_wiki = Zugriff auf den Link zu einem externen Wiki. Die Berechtigungen werden extern verwaltet. -pulls.write = Schreiben: Pull-Requests schließen und Metadaten wie Labels, Meilensteine, Zuweisungen, Fälligkeitsdaten und Abhängigkeiten verwalten. \ No newline at end of file +pulls.write = Schreiben: Pull-Requests schließen und Metadaten wie Labels, Meilensteine, Zuweisungen, Fälligkeitsdaten und Abhängigkeiten verwalten. diff --git a/options/locale/locale_el-GR.ini b/options/locale/locale_el-GR.ini index 1a2abd311a..a32d616814 100644 --- a/options/locale/locale_el-GR.ini +++ b/options/locale/locale_el-GR.ini @@ -1340,7 +1340,7 @@ editor.or=ή editor.cancel_lower=Ακύρωση editor.commit_signed_changes=Υποβολή υπογεγραμμένων αλλαγών editor.commit_changes=Υποβολή αλλαγών -editor.add_tmpl=Προσθήκη «» +editor.add_tmpl=Προσθήκη «<%s>» editor.add=Προσθήκη %s editor.update=Ενημέρωση %s editor.delete=Διαγραφή %s @@ -3945,4 +3945,4 @@ filepreview.lines = Γραμμές %[1]d έως %[2]d στο αρχείο %[3]s filepreview.truncated = Η προεπισκόπηση έχει περικοπεί [translation_meta] -test = ok \ No newline at end of file +test = ok diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index b063ae02f2..91ff922026 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -1370,7 +1370,8 @@ editor.or = or editor.cancel_lower = Cancel editor.commit_signed_changes = Commit signed changes editor.commit_changes = Commit changes -editor.add_tmpl = Add "" +editor.add_tmpl = Add "<%s>" +editor.add_tmpl.filename = filename editor.add = Add %s editor.update = Update %s editor.delete = Delete %s @@ -3903,3 +3904,5 @@ filepreview.truncated = Preview has been truncated [translation_meta] test = This is a test string. It is not displayed in Forgejo UI but is used for testing purposes. Feel free to enter "ok" to save time (or a fun fact of your choice) to hit that sweet 100% completion mark :) + + diff --git a/options/locale/locale_es-ES.ini b/options/locale/locale_es-ES.ini index 1bb64625e5..4f9d141423 100644 --- a/options/locale/locale_es-ES.ini +++ b/options/locale/locale_es-ES.ini @@ -1347,7 +1347,7 @@ editor.or=o editor.cancel_lower=Cancelar editor.commit_signed_changes=Crear commit firmado de los cambios editor.commit_changes=Crear commit de los cambios -editor.add_tmpl=Añadir "" +editor.add_tmpl=Añadir "<%s>" editor.add=Añadir %s editor.update=Actualizar %s editor.delete=Eliminar %s @@ -3880,4 +3880,4 @@ code.read = Lectura: Acceso y clonar el codigo del repositorio. ext_wiki = Acceder al enlace de la wiki externa. Los permisos se gestionan de forma externa. code.write = Escritura: Push al repositorio, crear ramas y tags. issues.write = Escritura: Cerrar incidencias y gestion de metadatos como etiquetas, hitos, asignaciones, fechas de vencimiento y dependencias. -packages.write = Escritura: Publicar y eliminar paquetes asignados al repositorio. \ No newline at end of file +packages.write = Escritura: Publicar y eliminar paquetes asignados al repositorio. diff --git a/options/locale/locale_fa-IR.ini b/options/locale/locale_fa-IR.ini index b6cb469f54..8960be8bf4 100644 --- a/options/locale/locale_fa-IR.ini +++ b/options/locale/locale_fa-IR.ini @@ -981,7 +981,7 @@ editor.or=یا editor.cancel_lower=انصراف editor.commit_signed_changes=اعمال تغییرات امضا شده editor.commit_changes=تغییرات کامیت -editor.add_tmpl=افزودن '' +editor.add_tmpl=افزودن '<%s>' editor.commit_message_desc=توضیحی تخصصی به دلخواه اضافه نمایید… editor.signoff_desc=یک تریلر Signed-off-by توسط committer در انتهای پیام گزارش commit اضافه کنید. editor.commit_directly_to_this_branch=ثبت کامیت به صورت مستقیم در انشعاب %[1]s. @@ -2668,4 +2668,4 @@ symbolic_link=پیوند نمادین executable_file = فایل اجرایی normal_file = فایل معمولی changed_filemode = %[1] ها ← %[2] ها -directory = پوشه \ No newline at end of file +directory = پوشه diff --git a/options/locale/locale_fi-FI.ini b/options/locale/locale_fi-FI.ini index f28086e09b..ee70bafa04 100644 --- a/options/locale/locale_fi-FI.ini +++ b/options/locale/locale_fi-FI.ini @@ -972,7 +972,7 @@ editor.or=tai editor.cancel_lower=Peru editor.commit_signed_changes=Commitoi vahvistetut muutokset editor.commit_changes=Kommitoi muutokset -editor.add_tmpl=Lisää "" +editor.add_tmpl=Lisää "<%s>" editor.commit_directly_to_this_branch=Commitoi suoraan %[1]s haaraan. editor.create_new_branch=Luo uusi haara tälle commitille ja aloita vetopyyntö. editor.create_new_branch_np=Luo uusi haara tälle commitille. @@ -2592,4 +2592,4 @@ milestone_kind = Etsi merkkipaaluja... pull_kind = Etsi pull-vetoja... commit_kind = Etsi kommitteja... fuzzy = Sumea -runner_kind = Etsi ajajia... \ No newline at end of file +runner_kind = Etsi ajajia... diff --git a/options/locale/locale_fil.ini b/options/locale/locale_fil.ini index b480aa5776..08396db59f 100644 --- a/options/locale/locale_fil.ini +++ b/options/locale/locale_fil.ini @@ -1121,7 +1121,7 @@ editor.preview_changes = I-preview ang mga pagbago editor.edit_this_file = Baguhin ang file commits.author = May-akda commits.older = Mas luma -editor.add_tmpl = Idagdag ang "" +editor.add_tmpl = Idagdag ang "<%s>" delete_preexisting = Burahin ang mga dating umiiral na file delete_preexisting_content = Burahin ang mga file sa %s tree_path_not_found_commit = Hindi umiiral ang path na %[1]s sa commit %[2]s @@ -3093,4 +3093,4 @@ filepreview.line = Linya %[1]d sa %[2]s deleted.display_name = Binurang Proyekto [translation_meta] -test = I love Forgejo and Bocchi The Rock! -- Ikuyo Kita \ No newline at end of file +test = I love Forgejo and Bocchi The Rock! -- Ikuyo Kita diff --git a/options/locale/locale_fr-FR.ini b/options/locale/locale_fr-FR.ini index 309cec61be..e45e27e7f0 100644 --- a/options/locale/locale_fr-FR.ini +++ b/options/locale/locale_fr-FR.ini @@ -1351,7 +1351,7 @@ editor.or=ou editor.cancel_lower=Annuler editor.commit_signed_changes=Réviser les changements (signé) editor.commit_changes=Réviser les changements -editor.add_tmpl=Ajouter "" +editor.add_tmpl=Ajouter "<%s>" editor.add=Ajouter %s editor.update=Actualiser %s editor.delete=Supprimer %s @@ -4001,4 +4001,4 @@ issues.write = Écrire : Fermer des tickets et gérer les métadonnées t pulls.read = Lire : Lire et créer des demandes de tirage. [translation_meta] -test = Ceci est une chaîne de test. Elle n'est pas affichée dans l'interface de Forgejo mais est utilisée à des fins de test. N'hésitez pas à entrer 'ok' pour gagner du temps (ou un fait amusant de votre choix) pour atteindre ce doux 100 % de complétion :) \ No newline at end of file +test = Ceci est une chaîne de test. Elle n'est pas affichée dans l'interface de Forgejo mais est utilisée à des fins de test. N'hésitez pas à entrer 'ok' pour gagner du temps (ou un fait amusant de votre choix) pour atteindre ce doux 100 % de complétion :) diff --git a/options/locale/locale_hu-HU.ini b/options/locale/locale_hu-HU.ini index c7fec13fe6..57555b90a2 100644 --- a/options/locale/locale_hu-HU.ini +++ b/options/locale/locale_hu-HU.ini @@ -808,7 +808,7 @@ editor.name_your_file=Fájl elnevezése… editor.or=vagy editor.cancel_lower=Mégse editor.commit_changes=Változások Véglegesítése -editor.add_tmpl='' hozzáadása +editor.add_tmpl='<%s>' hozzáadása editor.commit_message_desc=Opcionális hosszabb leírás hozzáadása… editor.commit_directly_to_this_branch=Mentés egyenesen a(z) %[1]s ágba. editor.create_new_branch=Hozzon létre egy új ágat ennek a commit-nak és indíts egy egyesítési kérést. @@ -1793,4 +1793,4 @@ branch_kind = Ágak keresése... no_results = Nincsenek megfelelő találatok. issue_kind = Hibajegyek keresése... exact_tooltip = Csak a keresési kifejezést pontosan tartalmazó találatok mutatása -keyword_search_unavailable = A kulcsszó alapú keresés jelenleg nem elérhető. Kérlek értesítsd az oldal rendszergazdáját. \ No newline at end of file +keyword_search_unavailable = A kulcsszó alapú keresés jelenleg nem elérhető. Kérlek értesítsd az oldal rendszergazdáját. diff --git a/options/locale/locale_id-ID.ini b/options/locale/locale_id-ID.ini index 071fe356a6..1e0044e4ce 100644 --- a/options/locale/locale_id-ID.ini +++ b/options/locale/locale_id-ID.ini @@ -619,7 +619,7 @@ editor.filename_help=Tambahkan direktori dengan mengetikkan nama direktori diiku editor.or=atau editor.cancel_lower=Batalkan editor.commit_changes=Perubahan komitmen -editor.add_tmpl=Tambahkan '' +editor.add_tmpl=Tambahkan '<%s>' editor.commit_message_desc=Tambahkan deskripsi opsional yang panjang… editor.commit_directly_to_this_branch=Komitmen langsung ke %[1]s cabang. editor.create_new_branch=Membuat new branch untuk tarik komit ini mulai permintaan. @@ -1344,4 +1344,4 @@ runs.commit=Memperbuat [projects] -[git.filemode] \ No newline at end of file +[git.filemode] diff --git a/options/locale/locale_is-IS.ini b/options/locale/locale_is-IS.ini index c194da87f0..3a6e844de2 100644 --- a/options/locale/locale_is-IS.ini +++ b/options/locale/locale_is-IS.ini @@ -698,7 +698,7 @@ editor.delete_this_file=Eyða Skrá editor.name_your_file=Nefndu skrána þína… editor.or=eða editor.cancel_lower=Hætta við -editor.add_tmpl=Bæta við „“ +editor.add_tmpl=Bæta við „<%s>“ editor.create_new_branch=Búðu til nýja grein og sameiningarbeiðni fyrir þetta framlag. editor.create_new_branch_np=Búðu til nýja grein fyrir þetta framlag. editor.new_branch_name_desc=Heiti nýjar greinar… @@ -1370,4 +1370,4 @@ runs.commit=Framlag [projects] -[git.filemode] \ No newline at end of file +[git.filemode] diff --git a/options/locale/locale_it-IT.ini b/options/locale/locale_it-IT.ini index f4fb34b95f..e462cc17f2 100644 --- a/options/locale/locale_it-IT.ini +++ b/options/locale/locale_it-IT.ini @@ -1298,7 +1298,7 @@ editor.or=o editor.cancel_lower=Annulla editor.commit_signed_changes=Conferma modifiche firmate editor.commit_changes=Conferma le modifiche -editor.add_tmpl=Aggiungi "" +editor.add_tmpl=Aggiungi "<%s>" editor.patch=Applica Patch editor.patching=Patching: editor.new_patch=Nuova Patch @@ -3894,4 +3894,4 @@ b = B [markup] filepreview.lines = Linee da %[1]d a %[2]d in %[3]s filepreview.truncated = L'anteprima è stata troncata -filepreview.line = Linea %[1]d in %[2]s \ No newline at end of file +filepreview.line = Linea %[1]d in %[2]s diff --git a/options/locale/locale_ja-JP.ini b/options/locale/locale_ja-JP.ini index 551df52979..b0fc38d911 100644 --- a/options/locale/locale_ja-JP.ini +++ b/options/locale/locale_ja-JP.ini @@ -1342,7 +1342,8 @@ editor.or=または editor.cancel_lower=キャンセル editor.commit_signed_changes=署名した変更をコミット editor.commit_changes=変更をコミット -editor.add_tmpl="<ファイル名>" を追加 +editor.add_tmpl="<%s>" を追加 +editor.add_tmpl.filename = ファイル名 editor.add=%s を追加 editor.update=%s を更新 editor.delete=%s を削除 @@ -3955,4 +3956,4 @@ projects.read = 読み取り: リポジトリ プロジェクト ボー actions.read = 読み取り: 統合された CI/CD パイプラインとそのログを表示します。 [translation_meta] -test = これはテスト文字列です。Forgejo UI には表示されませんが、テスト目的で使用されます。早く済ませるために"ok"と入力するか楽しかった出来事を入力して下さい。そうすれば、完了することができます :) \ No newline at end of file +test = これはテスト文字列です。Forgejo UI には表示されませんが、テスト目的で使用されます。早く済ませるために"ok"と入力するか楽しかった出来事を入力して下さい。そうすれば、完了することができます :) diff --git a/options/locale/locale_lv-LV.ini b/options/locale/locale_lv-LV.ini index 5910df4138..5cd31445b2 100644 --- a/options/locale/locale_lv-LV.ini +++ b/options/locale/locale_lv-LV.ini @@ -1297,7 +1297,8 @@ editor.or=vai editor.cancel_lower=Atcelt editor.commit_signed_changes=Iesūtīt parakstītas izmaiņas editor.commit_changes=Iesūtīt izmaiņas -editor.add_tmpl=Pievienot '' +editor.add_tmpl=Pievienot '<%s>' +editor.add_tmpl.filename = datnes nosaukums editor.add=Pievienot %s editor.update=Atjaunot %s editor.delete=Dzēst %s @@ -3772,4 +3773,4 @@ actions.write = Rakstīt: pašrocīgi izsaukt, pārsāktnēt, atcelt vai ext_wiki = Piekļūt ārējas vikivietnes saitei. Atļaujas tiek pārvaldītas ārēji. ext_issues = Piekļūt ārēja pieteikumu izsekotāja saitei. Atļaujas tiek pārvaldītas ārēji. packages.write = Rakstīt: pievienot un izdzēst glabātavai piesaistītās pakotnes. -actions.read = Lasīt: skatīt iekļautos CI/CD cauruļvadus un to žurnālus. \ No newline at end of file +actions.read = Lasīt: skatīt iekļautos CI/CD cauruļvadus un to žurnālus. diff --git a/options/locale/locale_ml-IN.ini b/options/locale/locale_ml-IN.ini index 559cacac94..fcc9888d8e 100644 --- a/options/locale/locale_ml-IN.ini +++ b/options/locale/locale_ml-IN.ini @@ -673,7 +673,8 @@ editor.filename_help=ഒരു ഡയറക്‌ടറിയുടെ പേര editor.or=അഥവാ editor.cancel_lower=റദ്ദാക്കുക editor.commit_changes=മാറ്റങ്ങൾ വരുത്തുക -editor.add_tmpl='<ഫയല്‍>' ചേർക്കുക +editor.add_tmpl='<%s>' ചേർക്കുക +editor.add_tmpl.filename = ഫയല്‍ editor.add=%s ചേര്‍ക്കുക editor.update=%s പുതുക്കുക editor.delete=%s നീക്കം ചെയ്യുക @@ -783,4 +784,4 @@ repos.issues=ഇഷ്യൂകള്‍ [units] -[packages] \ No newline at end of file +[packages] diff --git a/options/locale/locale_nds.ini b/options/locale/locale_nds.ini index fc386c2e9e..5e8910788e 100644 --- a/options/locale/locale_nds.ini +++ b/options/locale/locale_nds.ini @@ -1121,7 +1121,8 @@ editor.or = of editor.cancel_lower = Ofbreken editor.commit_signed_changes = Unnerschrieven Ännerns kommitteren editor.commit_changes = Ännerns kommitteren -editor.add_tmpl = »›Dateinaam‹« hentofögen +editor.add_tmpl = »<%s>« hentofögen +editor.add_tmpl.filename = Dateinaam editor.add = %s hentofögen editor.update = %s vernejen editor.delete = %s lösken @@ -3732,4 +3733,4 @@ filepreview.truncated = Utkiek is ofsneden worden filepreview.line = Rieg %[1]d in %[2]s [translation_meta] -test = Moin! \ No newline at end of file +test = Moin! diff --git a/options/locale/locale_nl-NL.ini b/options/locale/locale_nl-NL.ini index b4470281ba..c3738a5347 100644 --- a/options/locale/locale_nl-NL.ini +++ b/options/locale/locale_nl-NL.ini @@ -554,7 +554,7 @@ team_invite.text_2 = Klik alstublieft op de volgende link om aan het team deel t admin.new_user.text = Klik hier om deze gebruiker te beheren vanuit het beheerderspaneel. password_change.subject = Uw wachtwoord is gewijzigd password_change.text_1 = Het wachtwoord voor je account is zojuist gewijzigd. -reset_password.text_1 = +reset_password.text_1 = totp_disabled.subject = TOTP is uitgeschakeld primary_mail_change.subject = Uw primaire e-mail is gewijzigd totp_disabled.no_2fa = Er zijn geen andere 2FA methodes meer geconfigureerd, wat betekent dat het niet langer nodig is om in te loggen op uw account met 2FA. @@ -1310,7 +1310,8 @@ editor.or=of editor.cancel_lower=Annuleer editor.commit_signed_changes=Commit ondertekende wijzigingen editor.commit_changes=Wijzigingen doorvoeren -editor.add_tmpl="" toevoegen +editor.add_tmpl="<%s>" toevoegen +editor.add_tmpl.filename = bestandsnaam editor.patch=Patch toepassen editor.patching=Patchen: editor.new_patch=Nieuwe patch @@ -4000,4 +4001,4 @@ projects.write = Schrijven: Projecten en kolommen maken en bewerken. packages.read = Lezen: Bekijk en download pakketten die aan de repository is toegewezen. packages.write = Schrijven: Publiceer en verwijder pakketten die aan de repository is toegewezen. actions.read = Lezen: Bekijk geïntegreerde CI/CD-pijplijnen en hun logboeken. -issues.write = Schrijven: Sluit issues af en beheer metadata zoals labels, mijlpalen, verantwoordelijken, vervaldatums en afhankelijkheden. \ No newline at end of file +issues.write = Schrijven: Sluit issues af en beheer metadata zoals labels, mijlpalen, verantwoordelijken, vervaldatums en afhankelijkheden. diff --git a/options/locale/locale_pl-PL.ini b/options/locale/locale_pl-PL.ini index be16561d8d..ef20124ec9 100644 --- a/options/locale/locale_pl-PL.ini +++ b/options/locale/locale_pl-PL.ini @@ -1174,7 +1174,7 @@ editor.or=lub editor.cancel_lower=Anuluj editor.commit_signed_changes=Zatwierdź podpisane zmiany editor.commit_changes=Zatwierdź zmiany -editor.add_tmpl=Dodanie '' +editor.add_tmpl=Dodanie '<%s>' editor.commit_message_desc=Dodaj dodatkowy rozszerzony opis… editor.commit_directly_to_this_branch=Zmieniaj bezpośrednio gałąź %[1]s. editor.create_new_branch=Stwórz nową gałąź dla tego commita i rozpocznij Pull Request. @@ -2889,4 +2889,4 @@ issue_kind = Wyszukaj problemy... pull_kind = Wyszukaj pull requesty... union = Unia regexp = RegExp -regexp_tooltip = Interpretuj wyszukiwane hasło jako wyrażenie regularne \ No newline at end of file +regexp_tooltip = Interpretuj wyszukiwane hasło jako wyrażenie regularne diff --git a/options/locale/locale_pt-BR.ini b/options/locale/locale_pt-BR.ini index 7d075da987..e336cda08c 100644 --- a/options/locale/locale_pt-BR.ini +++ b/options/locale/locale_pt-BR.ini @@ -1341,7 +1341,8 @@ editor.or=ou editor.cancel_lower=Cancelar editor.commit_signed_changes=Criar commit das modificações assinadas editor.commit_changes=Criar commit das modificações -editor.add_tmpl=Adicionar "" +editor.add_tmpl=Adicionar "<%s>" +editor.add_tmpl.filename = nome do arquivo editor.add=Adicionar %s editor.update=Atualizar %s editor.delete=Excluir %s @@ -4001,4 +4002,4 @@ packages.write = Escrever: Publique e delete pacotes atribuídos ao repos ext_issues = Acesse o link para um issue tracker externo. As permissões são gerenciadas externamente. [translation_meta] -test = To preserve its claws, the giant anteater walks on its front knuckles, like gorillas \ No newline at end of file +test = To preserve its claws, the giant anteater walks on its front knuckles, like gorillas diff --git a/options/locale/locale_pt-PT.ini b/options/locale/locale_pt-PT.ini index c69883c235..aa1d844175 100644 --- a/options/locale/locale_pt-PT.ini +++ b/options/locale/locale_pt-PT.ini @@ -1355,7 +1355,7 @@ editor.or=ou editor.cancel_lower=Cancelar editor.commit_signed_changes=Cometer modificações assinadas editor.commit_changes=Cometer modificações -editor.add_tmpl=Adicionar "" +editor.add_tmpl=Adicionar "<%s>" editor.add=Adicionar %s editor.update=Modificar %s editor.delete=Eliminar %s @@ -4002,4 +4002,4 @@ wiki.read = Ler: Ler o wiki integrado e o seu histórico. wiki.write = Escrever: Criar, modificar e eliminar páginas no wiki integrado. code.write = Escrever: Enviar para o repositório, criar ramos e etiquetas. issues.read = Ler: Ler e criar questões e comentários. -pulls.write = Escrever: Fechar pedidos de integração e gerir metadados, tais como rótulos, etapas, encarregados, datas de vencimento e dependências. \ No newline at end of file +pulls.write = Escrever: Fechar pedidos de integração e gerir metadados, tais como rótulos, etapas, encarregados, datas de vencimento e dependências. diff --git a/options/locale/locale_ru-RU.ini b/options/locale/locale_ru-RU.ini index f1f8f2b5fa..68572beb11 100644 --- a/options/locale/locale_ru-RU.ini +++ b/options/locale/locale_ru-RU.ini @@ -1337,7 +1337,7 @@ editor.or=или editor.cancel_lower=Отменить editor.commit_signed_changes=Зафиксировать подписанные изменения editor.commit_changes=Сохранить правки -editor.add_tmpl=Добавить «» +editor.add_tmpl=Добавить «<%s>» editor.add=Добавить %s editor.update=Обновить %s editor.delete=Удалить %s @@ -4006,4 +4006,4 @@ issues.write = Запись: закрытие задач и измене actions.write = Запись: ручной запуск, перезапуск, отмена и одобрение работы конвейеров CI/CD. wiki.write = Запись: создание, изменение и удаление страниц во встроенной вики. packages.read = Чтение: просмотр и скачивание пакетов в репозитории. -ext_issues = Доступ к ссылке на внешний трекер задач. Настройка разрешений выполняется вне сайта. \ No newline at end of file +ext_issues = Доступ к ссылке на внешний трекер задач. Настройка разрешений выполняется вне сайта. diff --git a/options/locale/locale_si-LK.ini b/options/locale/locale_si-LK.ini index 4f18024e86..ac7627ca80 100644 --- a/options/locale/locale_si-LK.ini +++ b/options/locale/locale_si-LK.ini @@ -919,7 +919,7 @@ editor.or=හෝ editor.cancel_lower=අවලංගු කරන්න editor.commit_signed_changes=අත්සන් කළ වෙනස්කම් සිදු කරන්න editor.commit_changes=වෙනස්කම් සිදු කරන්න -editor.add_tmpl='' එකතු කරන්න +editor.add_tmpl='<%s>' එකතු කරන්න editor.commit_message_desc=විකල්ප දීර්ඝ විස්තරයක් එක් කරන්න… editor.signoff_desc=කැපවූ ලොග් පණිවිඩය අවසානයේ දී කැපකරු විසින් සිග්නෙඩ්-ඕෆ්-විසින් ට්රේලරයක් එක් කරන්න. editor.commit_directly_to_this_branch=%[1]s ශාඛාවට කෙලින්ම කැප කරන්න. @@ -2553,4 +2553,4 @@ runs.commit=කැප [projects] [git.filemode] -symbolic_link=සංකේතාත්මක සබැඳිය \ No newline at end of file +symbolic_link=සංකේතාත්මක සබැඳිය diff --git a/options/locale/locale_sv-SE.ini b/options/locale/locale_sv-SE.ini index 52630ce71d..4d460273cc 100644 --- a/options/locale/locale_sv-SE.ini +++ b/options/locale/locale_sv-SE.ini @@ -847,7 +847,7 @@ editor.or=eller editor.cancel_lower=Avbryt editor.commit_signed_changes=Committa signerade ändringar editor.commit_changes=Checka in ändringar -editor.add_tmpl=Lägg till '' +editor.add_tmpl=Lägg till '<%s>' editor.commit_message_desc=Lägg till en valfri utökad beskrivning… editor.commit_directly_to_this_branch=Checka in direkt till grenen %[1]s. editor.create_new_branch=Skapa en ny gren för denna incheckning och påbörja en hämtningsbegäran. @@ -2144,4 +2144,4 @@ symbolic_link=Symbolisk länk [search] milestone_kind = Sök milstolpar... exact = Exakt -exact_tooltip = Inkludera bara resultat som exakt matchar söktermen \ No newline at end of file +exact_tooltip = Inkludera bara resultat som exakt matchar söktermen diff --git a/options/locale/locale_tr-TR.ini b/options/locale/locale_tr-TR.ini index acbf59bf2d..e596b05878 100644 --- a/options/locale/locale_tr-TR.ini +++ b/options/locale/locale_tr-TR.ini @@ -1307,7 +1307,8 @@ editor.or=veya editor.cancel_lower=İptal editor.commit_signed_changes=İmzalı Değişiklikleri İşle editor.commit_changes=Değişiklikleri Uygula -editor.add_tmpl='' eklendi +editor.add_tmpl='<%s>' eklendi +editor.add_tmpl.filename = dosyaadi editor.add=%s Ekle editor.update=%s Güncelle editor.delete=%s Sil @@ -3712,4 +3713,4 @@ code_search_unavailable = Kod araması şu anda kullanıma açık değildir. Lü issue_kind = Sorunları ara... pull_kind = Birleştirme isteklerini ara... code_search_by_git_grep = Anlık kod araması sonuçları "git grep" komutu tarafından sağlanmaktadır. Site yöneticisinin kod endekslemesini açması durumunda daha iyi sonuçlar verilmesi mümkün olabilir. -keyword_search_unavailable = Anahtar kelime ile arama şu anda kullanıma açık değildir. Lütfen site yöneticisi ile iletişime geçin. \ No newline at end of file +keyword_search_unavailable = Anahtar kelime ile arama şu anda kullanıma açık değildir. Lütfen site yöneticisi ile iletişime geçin. diff --git a/options/locale/locale_uk-UA.ini b/options/locale/locale_uk-UA.ini index 7a7c4b00f2..a36626c0e5 100644 --- a/options/locale/locale_uk-UA.ini +++ b/options/locale/locale_uk-UA.ini @@ -1203,7 +1203,7 @@ editor.or=або editor.cancel_lower=Скасувати editor.commit_signed_changes=Внести підписані зміни editor.commit_changes=Закомітити зміни -editor.add_tmpl=Додати «» +editor.add_tmpl=Додати «<%s>» editor.commit_message_desc=Додати необов'язковий розширений опис… editor.signoff_desc=Додати повідомленню в журналі комітів рядок Signed-off-by від свого імені. editor.commit_directly_to_this_branch=Зробіть коміт прямо в гілку %[1]s. @@ -3326,4 +3326,4 @@ kib = КіБ mib = МіБ gib = ГіБ tib = ТіБ -b = Б \ No newline at end of file +b = Б diff --git a/options/locale/locale_zh-CN.ini b/options/locale/locale_zh-CN.ini index 21c238329b..49cec399f2 100644 --- a/options/locale/locale_zh-CN.ini +++ b/options/locale/locale_zh-CN.ini @@ -1354,7 +1354,7 @@ editor.or=或 editor.cancel_lower=取消 editor.commit_signed_changes=提交已签名的更改 editor.commit_changes=提交变更 -editor.add_tmpl=添加 “” +editor.add_tmpl=添加 “<%s>” editor.add=添加 %s editor.update=更新 %s editor.delete=删除 %s @@ -4003,4 +4003,4 @@ actions.write = 写入:手动触发、重启、取消或批准待处理 ext_issues = 访问外部工单系统的链接。权限由外部管理。 ext_wiki = 访问外部百科的链接。权限由外部管理。 projects.write = 写入:创建项目和列并进行编辑。 -pulls.write = 写入:关闭合并请求并管理元数据,如标签、里程碑、指派成员、截止日期和依赖。 \ No newline at end of file +pulls.write = 写入:关闭合并请求并管理元数据,如标签、里程碑、指派成员、截止日期和依赖。 diff --git a/options/locale/locale_zh-TW.ini b/options/locale/locale_zh-TW.ini index f43b6e2469..5caafacce1 100644 --- a/options/locale/locale_zh-TW.ini +++ b/options/locale/locale_zh-TW.ini @@ -1296,7 +1296,8 @@ editor.or=或 editor.cancel_lower=取消 editor.commit_signed_changes=提交簽署的變更 editor.commit_changes=提交變更 -editor.add_tmpl=新增「<檔案>」 +editor.add_tmpl=新增「<%s>」 +editor.add_tmpl.filename = 檔案 editor.add=新增 %s editor.update=更新 %s editor.delete=刪除 %s @@ -3808,4 +3809,4 @@ filepreview.lines = %[3]s 中的第 %[1]d 至 %[2]d 行 filepreview.line = %[2]s 中的第 %[1]d 行 [translation_meta] -test = 好的 \ No newline at end of file +test = 好的 diff --git a/templates/repo/editor/commit_form.tmpl b/templates/repo/editor/commit_form.tmpl index f8c1beb027..fc04289b70 100644 --- a/templates/repo/editor/commit_form.tmpl +++ b/templates/repo/editor/commit_form.tmpl @@ -9,7 +9,7 @@ {{ctx.Locale.Tr "repo.editor.commit_changes"}} {{- end}}
- +
diff --git a/tests/integration/editor_test.go b/tests/integration/editor_test.go index 4b35dac1bf..96d388ddb9 100644 --- a/tests/integration/editor_test.go +++ b/tests/integration/editor_test.go @@ -1,4 +1,5 @@ // Copyright 2017 The Gitea Authors. All rights reserved. +// Copyright 2024 The Forgejo Authors. All rights reserved. // SPDX-License-Identifier: MIT package integration