Replace v-html with v-text in search inputbox (#31966) (#31973) (#31975)

Backport #31966, #31973
Cherry-pick 30da734f37,
74b1c589c6
Replace #31972

---------

Co-authored-by: techknowlogick <techknowlogick@noreply.gitea.com>
pull/31982/head
Lunny Xiao 2 months ago committed by GitHub
parent 9c990ac043
commit 244fb11c6b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      options/locale/locale_cs-CZ.ini
  2. 4
      options/locale/locale_de-DE.ini
  3. 4
      options/locale/locale_el-GR.ini
  4. 4
      options/locale/locale_en-US.ini
  5. 4
      options/locale/locale_es-ES.ini
  6. 4
      options/locale/locale_fa-IR.ini
  7. 2
      options/locale/locale_fi-FI.ini
  8. 4
      options/locale/locale_fr-FR.ini
  9. 2
      options/locale/locale_hu-HU.ini
  10. 2
      options/locale/locale_id-ID.ini
  11. 4
      options/locale/locale_it-IT.ini
  12. 4
      options/locale/locale_ja-JP.ini
  13. 2
      options/locale/locale_ko-KR.ini
  14. 4
      options/locale/locale_lv-LV.ini
  15. 3
      options/locale/locale_nl-NL.ini
  16. 4
      options/locale/locale_pl-PL.ini
  17. 4
      options/locale/locale_pt-BR.ini
  18. 4
      options/locale/locale_pt-PT.ini
  19. 4
      options/locale/locale_ru-RU.ini
  20. 4
      options/locale/locale_si-LK.ini
  21. 2
      options/locale/locale_sv-SE.ini
  22. 4
      options/locale/locale_tr-TR.ini
  23. 4
      options/locale/locale_uk-UA.ini
  24. 4
      options/locale/locale_zh-CN.ini
  25. 4
      options/locale/locale_zh-TW.ini
  26. 6
      web_src/js/components/RepoBranchTagSelector.vue

@ -2583,7 +2583,7 @@ branch.delete_desc=Smazání větve je trvalé. Přestože zrušená větev mů
branch.deletion_success=Větev „%s“ byla smazána.
branch.deletion_failed=Nepodařilo se odstranit větev „%s“.
branch.delete_branch_has_new_commits=Větev „%s“ nemůže být smazána, protože byly přidány nové commity po sloučení.
branch.create_branch=Vytvořit větev <strong>%s</strong>
branch.create_branch=Vytvořit větev %s
branch.create_from=z „%s“
branch.create_success=Větev „%s“ byla vytvořena.
branch.branch_already_exists=Větev „%s“ již existuje v tomto repozitáři.
@ -2609,7 +2609,7 @@ branch.new_branch=Vytvořit novou větev
branch.new_branch_from=Vytvořit novou větev z „%s“
branch.renamed=Větev %s byla přejmenována na %s.
tag.create_tag=Vytvořit značku <strong>%s</strong>
tag.create_tag=Vytvořit značku %s
tag.create_tag_operation=Vytvořit značku
tag.confirm_create_tag=Vytvořit značku
tag.create_tag_from=Vytvořit novou značku z „%s“

@ -2590,7 +2590,7 @@ branch.delete_desc=Das Löschen eines Branches ist permanent. Obwohl der Branch
branch.deletion_success=Branch "%s" wurde gelöscht.
branch.deletion_failed=Branch "%s" konnte nicht gelöscht werden.
branch.delete_branch_has_new_commits=Der Branch "%s" kann nicht gelöscht werden, da seit dem letzten Merge neue Commits hinzugefügt wurden.
branch.create_branch=Erstelle Branch <strong>%s</strong>
branch.create_branch=Erstelle Branch %s
branch.create_from=`von "%s"`
branch.create_success=Branch "%s" wurde erstellt.
branch.branch_already_exists=Branch "%s" existiert bereits in diesem Repository.
@ -2616,7 +2616,7 @@ branch.new_branch=Neue Branch erstellen
branch.new_branch_from=Neuen Branch von "%s" erstellen
branch.renamed=Branch %s wurde in %s umbenannt.
tag.create_tag=Tag <strong>%s</strong> erstellen
tag.create_tag=Tag %s erstellen
tag.create_tag_operation=Tag erstellen
tag.confirm_create_tag=Tag erstellen
tag.create_tag_from=Neuen Tag von "%s" erstellen

@ -2491,7 +2491,7 @@ branch.delete_desc=Η διαγραφή ενός κλάδου είναι μόνι
branch.deletion_success=Ο κλάδος "%s" διαγράφηκε.
branch.deletion_failed=Αποτυχία διαγραφής του κλάδου "%s".
branch.delete_branch_has_new_commits=Ο κλάδος "%s" δεν μπορεί να διαγραφεί επειδή προστέθηκαν νέες υποβολές μετά τη συγχώνευση.
branch.create_branch=Δημιουργία κλάδου <strong>%s</strong>
branch.create_branch=Δημιουργία κλάδου %s
branch.create_from=`από το "%s"`
branch.create_success=Ο κλάδος "%s" δημιουργήθηκε.
branch.branch_already_exists=Ο κλάδος "%s" υπάρχει ήδη σε αυτό το αποθετήριο.
@ -2517,7 +2517,7 @@ branch.new_branch=Δημιουργία νέου κλάδου
branch.new_branch_from=`Δημιουργία νέου κλάδου από το "%s"`
branch.renamed=Ο κλάδος %s μετονομάστηκε σε %s.
tag.create_tag=Δημιουργία ετικέτας <strong>%s</strong>
tag.create_tag=Δημιουργία ετικέτας %s
tag.create_tag_operation=Δημιουργία ετικέτας
tag.confirm_create_tag=Δημιουργία ετικέτας
tag.create_tag_from=`Δημιουργία νέας ετικέτας από το "%s"`

@ -2605,7 +2605,7 @@ branch.delete_desc = Deleting a branch is permanent. Although the deleted branch
branch.deletion_success = Branch "%s" has been deleted.
branch.deletion_failed = Failed to delete branch "%s".
branch.delete_branch_has_new_commits = Branch "%s" cannot be deleted because new commits have been added after merging.
branch.create_branch = Create branch <strong>%s</strong>
branch.create_branch = Create branch %s
branch.create_from = from "%s"
branch.create_success = Branch "%s" has been created.
branch.branch_already_exists = Branch "%s" already exists in this repository.
@ -2631,7 +2631,7 @@ branch.new_branch = Create new branch
branch.new_branch_from = Create new branch from "%s"
branch.renamed = Branch %s was renamed to %s.
tag.create_tag = Create tag <strong>%s</strong>
tag.create_tag = Create tag %s
tag.create_tag_operation = Create tag
tag.confirm_create_tag = Create tag
tag.create_tag_from = Create new tag from "%s"

@ -2476,7 +2476,7 @@ branch.delete_desc=Eliminar una rama es permanente. Aunque la rama eliminada pue
branch.deletion_success=La rama "%s" ha sido eliminada.
branch.deletion_failed=Error al eliminar la rama "%s".
branch.delete_branch_has_new_commits=La rama "%s" no se puede eliminar porque se han añadido nuevos commits después de la fusión.
branch.create_branch=Crear rama <strong>%s</strong>
branch.create_branch=Crear rama %s
branch.create_from=`de "%s"`
branch.create_success=La rama "%s" ha sido creada.
branch.branch_already_exists=La rama "%s" ya existe en este repositorio.
@ -2502,7 +2502,7 @@ branch.new_branch=Crear nueva rama
branch.new_branch_from=`Crear nueva rama de "%s"`
branch.renamed=La rama %s fue renombrada a %s.
tag.create_tag=Crear etiqueta <strong>%s</strong>
tag.create_tag=Crear etiqueta %s
tag.create_tag_operation=Crear etiqueta
tag.confirm_create_tag=Crear etiqueta
tag.create_tag_from=`Crear nueva etiqueta de "%s"`

@ -1913,7 +1913,7 @@ release.add_tag=فقط تگ ایجاد کنید
branch.name=نام شاخه
branch.delete_head=حذف
branch.delete_html=حذف شاخه
branch.create_branch=ساختن شاخه <strong>%s</strong>
branch.create_branch=ساختن شاخه %s
branch.deleted_by=حذف شده توسط %s
branch.included_desc=این شاخه بخشی از شاخه پیش فرض است
branch.included=مشمول شده
@ -1924,7 +1924,7 @@ branch.create_branch_operation=ایجاد شاخه
branch.new_branch=شاخه جدید ایجاد کنید
branch.renamed=شاخه %s قبلا به %s تغییر کرده است.
tag.create_tag=تگ <strong>%s</strong> ایجاد کنید
tag.create_tag=تگ %s ایجاد کنید
topic.manage_topics=مدیریت موضوعات

@ -1297,7 +1297,7 @@ release.downloads=Lataukset
branch.name=Haaran nimi
branch.delete_head=Poista
branch.create_branch=Luo haara <strong>%s</strong>
branch.create_branch=Luo haara %s

@ -2516,7 +2516,7 @@ branch.delete_desc=La suppression d’une branche est permanente. Bien qu’une
branch.deletion_success=La branche "%s" a été supprimée.
branch.deletion_failed=Impossible de supprimer la branche "%s".
branch.delete_branch_has_new_commits=La branche "%s" ne peut être supprimé, car de nouvelles révisions ont été ajoutées après la fusion.
branch.create_branch=Créer la branche <strong>%s</strong>
branch.create_branch=Créer la branche %s
branch.create_from=`de "%s"`
branch.create_success=La branche "%s" a été créée.
branch.branch_already_exists=La branche "%s" existe déjà dans ce dépôt.
@ -2542,7 +2542,7 @@ branch.new_branch=Créer une nouvelle branche
branch.new_branch_from=`Créer une nouvelle branche à partir de "%s"`
branch.renamed=La branche %s à été renommée en %s.
tag.create_tag=Créer l'étiquette <strong>%s</strong>
tag.create_tag=Créer l'étiquette %s
tag.create_tag_operation=Créer une étiquette
tag.confirm_create_tag=Créer une étiquette
tag.create_tag_from=`Créer une nouvelle étiquette à partir de "%s"`

@ -1151,7 +1151,7 @@ release.download_count=Letöltések: %s
branch.delete_head=Törlés
branch.delete_html=Ág törlése
branch.create_branch=Ág <strong>%s</strong> létrehozása
branch.create_branch=Ág %s létrehozása
branch.deleted_by=Törölve %s által

@ -938,7 +938,7 @@ release.downloads=Unduhan
branch.delete_head=Hapus
branch.delete_html=Hapus cabang
branch.create_branch=Membuat cabang <strong>%s</strong>
branch.create_branch=Membuat cabang %s
branch.deleted_by=Dihapus oleh %s

@ -2073,7 +2073,7 @@ release.add_tag=Crea Solo Branch
branch.name=Nome branch
branch.delete_head=Elimina
branch.delete_html=Elimina branch
branch.create_branch=Crea branch <strong>%s</strong>
branch.create_branch=Crea branch %s
branch.deleted_by=Eliminato da %s
branch.included_desc=Questo ramo fa parte del ramo predefinito
branch.included=Incluso
@ -2084,7 +2084,7 @@ branch.create_branch_operation=Crea ramo
branch.new_branch=Crea nuovo ramo
branch.renamed=Il ramo %s è stato rinominato in %s.
tag.create_tag=Crea branch <strong>%s</strong>
tag.create_tag=Crea branch %s
tag.create_tag_operation=Crea etichetta
tag.confirm_create_tag=Crea etichetta

@ -2594,7 +2594,7 @@ branch.delete_desc=ブランチの削除は恒久的です。 実際に削除さ
branch.deletion_success=ブランチ "%s" を削除しました。
branch.deletion_failed=ブランチ "%s" の削除に失敗しました。
branch.delete_branch_has_new_commits=マージ後に新しいコミットが追加されているため、ブランチ "%s" を削除できません。
branch.create_branch=ブランチ <strong>%s</strong> を作成
branch.create_branch=ブランチ %s を作成
branch.create_from=`"%s" から`
branch.create_success=ブランチ "%s" を作成しました。
branch.branch_already_exists=ブランチ "%s" は、このリポジトリに既に存在します。
@ -2620,7 +2620,7 @@ branch.new_branch=新しいブランチの作成
branch.new_branch_from=`"%s" から新しいブランチを作成`
branch.renamed=ブランチ %s は %s にリネームされました。
tag.create_tag=タグ <strong>%s</strong> を作成
tag.create_tag=タグ %s を作成
tag.create_tag_operation=タグの作成
tag.confirm_create_tag=タグを作成
tag.create_tag_from=`"%s" から新しいタグを作成`

@ -1141,7 +1141,7 @@ release.downloads=다운로드
branch.name=브랜치명
branch.delete_head=삭제
branch.delete_html=브랜치 삭제
branch.create_branch=<strong>%s</strong> 브랜치 생성
branch.create_branch=%s 브랜치 생성
branch.deleted_by=%s 에 의해 삭제되었습니다.

@ -2492,7 +2492,7 @@ branch.delete_desc=Atzara dzēšana ir neatgriezeniska. Kaut arī izdzēstais za
branch.deletion_success=Atzars "%s" tika izdzēsts.
branch.deletion_failed=Neizdevās izdzēst atzaru "%s".
branch.delete_branch_has_new_commits=Atzars "%s" nevar tik dzēsts, jo pēc sapludināšanas, tam ir pievienotas jaunas revīzijas.
branch.create_branch=Izveidot atzaru <strong>%s</strong>
branch.create_branch=Izveidot atzaru %s
branch.create_from=`no "%s"`
branch.create_success=Tika izveidots atzars "%s".
branch.branch_already_exists=Atzars "%s" šajā repozitorijā jau eksistē.
@ -2518,7 +2518,7 @@ branch.new_branch=Izveidot jaunu atzaru
branch.new_branch_from=`Izveidot jaunu atzaru no "%s"`
branch.renamed=Atzars %s tika pārsaukts par %s.
tag.create_tag=Izveidot tagu <strong>%s</strong>
tag.create_tag=Izveidot tagu %s
tag.create_tag_operation=Izveidot tagu
tag.confirm_create_tag=Izveidot tagu
tag.create_tag_from=`Izveidot tagu no "%s"`

@ -2000,12 +2000,13 @@ release.download_count=Downloads: %s
branch.name=Branch naam
branch.delete_head=Verwijder
branch.delete_html=Verwijder branch
branch.create_branch=Maak branch <strong>%s</strong>
branch.create_branch=Maak branch %s
branch.deleted_by=Verwijderd door %s
branch.included_desc=Deze branch maakt deel uit van de standaard branch
branch.included=Inbegrepen
branch.confirm_rename_branch=Hernoem branch
tag.create_tag=Maak tag %s
topic.manage_topics=Beheer topics

@ -1862,7 +1862,7 @@ release.add_tag=Utwórz tylko znacznik
branch.name=Nazwa gałęzi
branch.delete_head=Usuń
branch.delete_html=Usuń gałąź
branch.create_branch=Utwórz gałąź <strong>%s</strong>
branch.create_branch=Utwórz gałąź %s
branch.deleted_by=Usunięta przez %s
branch.included_desc=Ta gałąź jest częścią domyślnej gałęzi
branch.included=Zawarte
@ -1871,7 +1871,7 @@ branch.confirm_create_branch=Utwórz gałąź
branch.create_branch_operation=Utwórz gałąź
branch.new_branch=Utwórz nową gałąź
tag.create_tag=Utwóz tag <strong>%s</strong>
tag.create_tag=Utwóz tag %s
topic.manage_topics=Zarządzaj tematami

@ -2455,7 +2455,7 @@ branch.delete_html=Excluir Branch
branch.deletion_success=Branch "%s" excluído.
branch.deletion_failed=Falha ao excluir o branch "%s".
branch.delete_branch_has_new_commits=O branch "%s" não pode ser excluído porque novos commits foram feitos após o merge.
branch.create_branch=Criar branch <strong>%s</strong>
branch.create_branch=Criar branch %s
branch.create_from=`a partir de "%s"`
branch.create_success=Branch "%s" criado.
branch.branch_already_exists=Branch "%s" já existe neste repositório.
@ -2479,7 +2479,7 @@ branch.new_branch=Criar novo branch
branch.new_branch_from=`Criar novo branch a partir de "%s"`
branch.renamed=Branch %s foi renomeado para %s.
tag.create_tag=Criar tag <strong>%s</strong>
tag.create_tag=Criar tag %s
tag.create_tag_operation=Criar tag
tag.confirm_create_tag=Criar tag
tag.create_tag_from=`Criar nova tag a partir de "%s"`

@ -2603,7 +2603,7 @@ branch.delete_desc=Eliminar um ramo é algo permanente. Embora o ramo eliminado
branch.deletion_success=O ramo "%s" foi eliminado.
branch.deletion_failed=Falhou a eliminação do ramo "%s".
branch.delete_branch_has_new_commits=O ramo "%s" não pode ser eliminado porque foram adicionados novos cometimentos após a integração.
branch.create_branch=Criar ramo <strong>%s</strong>
branch.create_branch=Criar ramo %s
branch.create_from=`a partir de "%s"`
branch.create_success=O ramo "%s" foi criado.
branch.branch_already_exists=O ramo "%s" já existe neste repositório.
@ -2629,7 +2629,7 @@ branch.new_branch=Criar um novo ramo
branch.new_branch_from=`Criar um novo ramo a partir do ramo "%s"`
branch.renamed=O ramo %s foi renomeado para %s.
tag.create_tag=Criar etiqueta <strong>%s</strong>
tag.create_tag=Criar etiqueta %s
tag.create_tag_operation=Criar etiqueta
tag.confirm_create_tag=Criar etiqueta
tag.create_tag_from=`Criar uma etiqueta nova a partir do ramo "%s"`

@ -2441,7 +2441,7 @@ branch.delete_desc=Удаление ветки необратимо. Несмо
branch.deletion_success=Ветка «%s» удалена.
branch.deletion_failed=Не удалось удалить ветку «%s».
branch.delete_branch_has_new_commits=Ветку «%s» нельзя удалить, поскольку после слияния были добавлены новые коммиты.
branch.create_branch=Создать ветку <strong>%s</strong>
branch.create_branch=Создать ветку %s
branch.create_from=от «%s»
branch.create_success=Ветка «%s» создана.
branch.branch_already_exists=Ветка «%s» уже существует в этом репозитории.
@ -2467,7 +2467,7 @@ branch.new_branch=Создать новую ветку
branch.new_branch_from=Создать новую ветку из «%s»
branch.renamed=Ветка %s была переименована в %s.
tag.create_tag=Создать тег <strong>%s</strong>
tag.create_tag=Создать тег %s
tag.create_tag_operation=Создать тег
tag.confirm_create_tag=Создать тег
tag.create_tag_from=Создать новый тег из «%s»

@ -1873,7 +1873,7 @@ release.add_tag=ටග පමණකදන
branch.name= නම
branch.delete_head=මකන
branch.delete_html=ව මකන
branch.create_branch=<strong>%s</strong>ව සදන
branch.create_branch=%s ශව සදන
branch.deleted_by=%sව මක දමන ලද
branch.included_desc=ම ශව පරනටසක
branch.included=ඇතළත
@ -1884,7 +1884,7 @@ branch.create_branch_operation=ශව සදන
branch.new_branch=නව ශවකදන
branch.renamed=ව %s %sලස නම කරන ලද.
tag.create_tag=ගය නණය <strong>%s</strong>
tag.create_tag=ගය නණය %s
topic.manage_topics= කළමනකරණය

@ -1515,7 +1515,7 @@ release.download_count=Nedladdningar: %s
branch.name=Branch namn
branch.delete_head=Radera
branch.delete_html=Radera branch
branch.create_branch=Skapa branchen <strong>%s</strong>
branch.create_branch=Skapa branchen %s
branch.deleted_by=Raderad av %s

@ -2600,7 +2600,7 @@ branch.delete_desc=Bir dalı silmek kalıcıdır. Her ne kadar silinen dal tamam
branch.deletion_success=`"%s" dalı silindi.`
branch.deletion_failed=`"%s" dalı silinemedi.`
branch.delete_branch_has_new_commits=`"%s" dalı silinemedi çünkü birleştirme sonrasında yeni işlemeler eklendi.`
branch.create_branch=<strong>%s</strong> dalı oluştur
branch.create_branch=%s dalı oluştur
branch.create_from=`"%s"den`
branch.create_success=`"%s" dalı oluşturuldu.`
branch.branch_already_exists=Bu depoda "%s" dalı zaten var.
@ -2626,7 +2626,7 @@ branch.new_branch=Yeni dal oluştur
branch.new_branch_from=`"%s" dalından yeni dal oluştur`
branch.renamed=%s dalının adı %s olarak değiştirildi.
tag.create_tag=<strong>%s</strong> etiketi oluştur
tag.create_tag=%s etiketi oluştur
tag.create_tag_operation=Etiket oluştur
tag.confirm_create_tag=Etiket oluştur
tag.create_tag_from=`"%s" kullanarak yeni etiket oluştur`

@ -1923,7 +1923,7 @@ release.add_tag=Створити тільки мітку
branch.name=Ім'я гілки
branch.delete_head=Видалити
branch.delete_html=Видалити гілку
branch.create_branch=Створити гілку <strong>%s</strong>
branch.create_branch=Створити гілку %s
branch.deleted_by=Видалено %s
branch.included_desc=Ця гілка є частиною типової гілки
branch.included=Включено
@ -1934,7 +1934,7 @@ branch.create_branch_operation=Створити гілку
branch.new_branch=Створити нову гілку
branch.renamed=Гілку %s перейменовано на %s.
tag.create_tag=Створити тег <strong>%s</strong>
tag.create_tag=Створити тег %s
topic.manage_topics=Керувати тематичними мітками

@ -2600,7 +2600,7 @@ branch.delete_desc=删除分支是永久的。虽然已删除的分支在实际
branch.deletion_success=分支 %s 已被删除。
branch.deletion_failed=删除分支 %s 失败。
branch.delete_branch_has_new_commits=因为合并之后有新的提交,分支 %s 无法被删除。
branch.create_branch=创建分支 <strong>%s</strong>
branch.create_branch=创建分支 %s
branch.create_from=从 %s
branch.create_success=分支 '%s' 已创建。
branch.branch_already_exists=此仓库已存在名为 %s 的分支。
@ -2626,7 +2626,7 @@ branch.new_branch=创建新分支
branch.new_branch_from=基于"%s"创建新分支
branch.renamed=分支 %s 被重命名为 %s。
tag.create_tag=创建标签 <strong>%s</strong>
tag.create_tag=创建标签 %s
tag.create_tag_operation=创建标签
tag.confirm_create_tag=创建标签
tag.create_tag_from=基于"%s"创建新标签

@ -2257,7 +2257,7 @@ branch.delete_html=刪除分支
branch.deletion_success=已刪除分支「%s」。
branch.deletion_failed=刪除分支「%s」失敗。
branch.delete_branch_has_new_commits=因為合併後已加入了新的提交,「%s」分支無法被刪除。
branch.create_branch=建立分支 <strong>%s</strong>
branch.create_branch=建立分支 %s
branch.create_from=從「%s」
branch.create_success=已建立分支「%s」。
branch.branch_already_exists=此儲存庫已有名為「%s」的分支。
@ -2279,7 +2279,7 @@ branch.new_branch=建立新分支
branch.new_branch_from=從「%s」建立新分支
branch.renamed=分支 %s 被重新命名為 %s。
tag.create_tag=建立標籤 <strong>%s</strong>
tag.create_tag=建立標籤 %s
tag.create_tag_operation=建立標籤
tag.confirm_create_tag=建立標籤
tag.create_tag_from=從「%s」建立新標籤

@ -289,13 +289,11 @@ export default sfc; // activate IDE's Vue plugin
<a href="#" @click="createNewBranch()">
<div v-show="shouldCreateTag">
<i class="reference tags icon"/>
<!-- eslint-disable-next-line vue/no-v-html -->
<span v-html="textCreateTag.replace('%s', searchTerm)"/>
<span v-text="textCreateTag.replace('%s', searchTerm)"/>
</div>
<div v-show="!shouldCreateTag">
<svg-icon name="octicon-git-branch"/>
<!-- eslint-disable-next-line vue/no-v-html -->
<span v-html="textCreateBranch.replace('%s', searchTerm)"/>
<span v-text="textCreateBranch.replace('%s', searchTerm)"/>
</div>
<div class="text small">
<span v-if="isViewBranch || release">{{ textCreateBranchFrom.replace('%s', branchName) }}</span>

Loading…
Cancel
Save