0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-21 23:03:04 -05:00

i18n: avoid storing i18n linter exceptions for <filename> (#6237)

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6237
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
This commit is contained in:
0ko 2024-12-11 16:38:42 +00:00
parent 0c74cde4e6
commit ac6f9ea17d
33 changed files with 74 additions and 62 deletions

View file

@ -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")
}

View file

@ -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 = أضف '<filename>'
editor.add_tmpl = أضف '<%s>'
editor.new_branch_name_desc = اسم الفرع الجديد…
release = إصدار
editor.delete_this_file = احذف الملف

View file

@ -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

View file

@ -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 „<filename>“
editor.add_tmpl=Přidán „<%s>“
editor.add=Přidat %s
editor.update=Aktualizovat %s
editor.delete=Odstranit %s

View file

@ -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=„<filename>“ hinzufügen
editor.add_tmpl=„<%s>“ hinzufügen
editor.add=%s hinzugefügt
editor.update=%s aktualisiert
editor.delete=%s gelöscht

View file

@ -1340,7 +1340,7 @@ editor.or=ή
editor.cancel_lower=Ακύρωση
editor.commit_signed_changes=Υποβολή υπογεγραμμένων αλλαγών
editor.commit_changes=Υποβολή αλλαγών
editor.add_tmpl=Προσθήκη «<filename
editor.add_tmpl=Προσθήκη «<%s
editor.add=Προσθήκη %s
editor.update=Ενημέρωση %s
editor.delete=Διαγραφή %s

View file

@ -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 "<filename>"
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 :)

View file

@ -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 "<filename>"
editor.add_tmpl=Añadir "<%s>"
editor.add=Añadir %s
editor.update=Actualizar %s
editor.delete=Eliminar %s

View file

@ -981,7 +981,7 @@ editor.or=یا
editor.cancel_lower=انصراف
editor.commit_signed_changes=اعمال تغییرات امضا شده
editor.commit_changes=تغییرات کامیت
editor.add_tmpl=افزودن '<filename>'
editor.add_tmpl=افزودن '<%s>'
editor.commit_message_desc=توضیحی تخصصی به دلخواه اضافه نمایید…
editor.signoff_desc=یک تریلر Signed-off-by توسط committer در انتهای پیام گزارش commit اضافه کنید.
editor.commit_directly_to_this_branch=ثبت کامیت به صورت مستقیم در انشعاب <strong class="%[2]s">%[1]s</strong>.

View file

@ -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ää "<filename>"
editor.add_tmpl=Lisää "<%s>"
editor.commit_directly_to_this_branch=Commitoi suoraan <strong class="%[2]s">%[1]s</strong> haaraan.
editor.create_new_branch=Luo <strong>uusi haara</strong> tälle commitille ja aloita vetopyyntö.
editor.create_new_branch_np=Luo <strong>uusi haara</strong> tälle commitille.

View file

@ -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 "<filename>"
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

View file

@ -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 "<filename>"
editor.add_tmpl=Ajouter "<%s>"
editor.add=Ajouter %s
editor.update=Actualiser %s
editor.delete=Supprimer %s

View file

@ -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='<filename>' 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) <strong class="%[2]s">%[1]s</strong> ágba.
editor.create_new_branch=Hozzon létre egy <strong>új ágat</strong> ennek a commit-nak és indíts egy egyesítési kérést.

View file

@ -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 '<filename>'
editor.add_tmpl=Tambahkan '<%s>'
editor.commit_message_desc=Tambahkan deskripsi opsional yang panjang…
editor.commit_directly_to_this_branch=Komitmen langsung ke <strong class="%[2]s">%[1]s</strong> cabang.
editor.create_new_branch=Membuat <strong>new branch</strong> untuk tarik komit ini mulai permintaan.

View file

@ -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ð „<filename>“
editor.add_tmpl=Bæta við „<%s>“
editor.create_new_branch=Búðu til <strong>nýja grein</strong> og sameiningarbeiðni fyrir þetta framlag.
editor.create_new_branch_np=Búðu til <strong>nýja grein</strong> fyrir þetta framlag.
editor.new_branch_name_desc=Heiti nýjar greinar…

View file

@ -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 "<filename>"
editor.add_tmpl=Aggiungi "<%s>"
editor.patch=Applica Patch
editor.patching=Patching:
editor.new_patch=Nuova Patch

View file

@ -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 を削除

View file

@ -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 '<datnes nosaukums>'
editor.add_tmpl=Pievienot '<%s>'
editor.add_tmpl.filename = datnes nosaukums
editor.add=Pievienot %s
editor.update=Atjaunot %s
editor.delete=Dzēst %s

View file

@ -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 നീക്കം ചെയ്യുക

View file

@ -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

View file

@ -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="<bestandsnaam>" toevoegen
editor.add_tmpl="<%s>" toevoegen
editor.add_tmpl.filename = bestandsnaam
editor.patch=Patch toepassen
editor.patching=Patchen:
editor.new_patch=Nieuwe patch

View file

@ -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 '<filename>'
editor.add_tmpl=Dodanie '<%s>'
editor.commit_message_desc=Dodaj dodatkowy rozszerzony opis…
editor.commit_directly_to_this_branch=Zmieniaj bezpośrednio gałąź <strong class="%[2]s">%[1]s</strong>.
editor.create_new_branch=Stwórz <strong>nową gałąź</strong> dla tego commita i rozpocznij Pull Request.

View file

@ -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 "<nome do arquivo>"
editor.add_tmpl=Adicionar "<%s>"
editor.add_tmpl.filename = nome do arquivo
editor.add=Adicionar %s
editor.update=Atualizar %s
editor.delete=Excluir %s

View file

@ -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 "<filename>"
editor.add_tmpl=Adicionar "<%s>"
editor.add=Adicionar %s
editor.update=Modificar %s
editor.delete=Eliminar %s

View file

@ -1337,7 +1337,7 @@ editor.or=или
editor.cancel_lower=Отменить
editor.commit_signed_changes=Зафиксировать подписанные изменения
editor.commit_changes=Сохранить правки
editor.add_tmpl=Добавить «<filename
editor.add_tmpl=Добавить «<%s
editor.add=Добавить %s
editor.update=Обновить %s
editor.delete=Удалить %s

View file

@ -919,7 +919,7 @@ editor.or=හෝ
editor.cancel_lower=අවලංගු කරන්න
editor.commit_signed_changes=අත්සන් කළ වෙනස්කම් සිදු කරන්න
editor.commit_changes=වෙනස්කම් සිදු කරන්න
editor.add_tmpl='<filename>' එකතු කරන්න
editor.add_tmpl='<%s>' එකතු කරන්න
editor.commit_message_desc=විකල්ප දීර්ඝ විස්තරයක් එක් කරන්න…
editor.signoff_desc=කැපවූ ලොග් පණිවිඩය අවසානයේ දී කැපකරු විසින් සිග්නෙඩ්-ඕෆ්-විසින් ට්රේලරයක් එක් කරන්න.
editor.commit_directly_to_this_branch=<strong class="%[2]s">%[1]s</strong> ශාඛාවට කෙලින්ම කැප කරන්න.

View file

@ -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 '<filename>'
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 <strong class="%[2]s">%[1]s</strong>.
editor.create_new_branch=Skapa en <strong>ny gren</strong> för denna incheckning och påbörja en hämtningsbegäran.

View file

@ -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='<dosyaadi>' eklendi
editor.add_tmpl='<%s>' eklendi
editor.add_tmpl.filename = dosyaadi
editor.add=%s Ekle
editor.update=%s Güncelle
editor.delete=%s Sil

View file

@ -1203,7 +1203,7 @@ editor.or=або
editor.cancel_lower=Скасувати
editor.commit_signed_changes=Внести підписані зміни
editor.commit_changes=Закомітити зміни
editor.add_tmpl=Додати «<filename
editor.add_tmpl=Додати «<%s
editor.commit_message_desc=Додати необов'язковий розширений опис…
editor.signoff_desc=Додати повідомленню в журналі комітів рядок Signed-off-by від свого імені.
editor.commit_directly_to_this_branch=Зробіть коміт прямо в гілку <strong class="%[2]s">%[1]s</strong>.

View file

@ -1354,7 +1354,7 @@ editor.or=或
editor.cancel_lower=取消
editor.commit_signed_changes=提交已签名的更改
editor.commit_changes=提交变更
editor.add_tmpl=添加 “<filename>”
editor.add_tmpl=添加 “<%s>”
editor.add=添加 %s
editor.update=更新 %s
editor.delete=删除 %s

View file

@ -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

View file

@ -9,7 +9,7 @@
{{ctx.Locale.Tr "repo.editor.commit_changes"}}
{{- end}}</h3>
<div class="field">
<input name="commit_summary" maxlength="100" placeholder="{{if .PageIsDelete}}{{ctx.Locale.Tr "repo.editor.delete" .TreePath}}{{else if .PageIsUpload}}{{ctx.Locale.Tr "repo.editor.upload_files_to_dir" .TreePath}}{{else if .IsNewFile}}{{ctx.Locale.TrString "repo.editor.add_tmpl"}}{{else if .PageIsPatch}}{{ctx.Locale.Tr "repo.editor.patch"}}{{else}}{{ctx.Locale.Tr "repo.editor.update" .TreePath}}{{end}}" value="{{.commit_summary}}" autofocus>
<input name="commit_summary" maxlength="100" placeholder="{{if .PageIsDelete}}{{ctx.Locale.Tr "repo.editor.delete" .TreePath}}{{else if .PageIsUpload}}{{ctx.Locale.Tr "repo.editor.upload_files_to_dir" .TreePath}}{{else if .IsNewFile}}{{ctx.Locale.TrString "repo.editor.add_tmpl" (ctx.Locale.TrString "repo.editor.add_tmpl.filename")}}{{else if .PageIsPatch}}{{ctx.Locale.Tr "repo.editor.patch"}}{{else}}{{ctx.Locale.Tr "repo.editor.update" .TreePath}}{{end}}" value="{{.commit_summary}}" autofocus>
</div>
<div class="field">
<textarea name="commit_message" placeholder="{{ctx.Locale.Tr "repo.editor.commit_message_desc"}}" rows="5">{{.commit_message}}</textarea>

View file

@ -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