remove hardcoded 'code' string in clone_panel.tmpl (#34153)

This commit replaces the hardcoded string "code" in the clone panel
button with the i18n local for repo.code.
This commit is contained in:
Will Kelly
2025-04-09 01:34:50 -05:00
committed by GitHub
parent c0898f7ed9
commit 1b2d8df13d

View File

@ -1,6 +1,6 @@
<button class="ui primary button js-btn-clone-panel"> <button class="ui primary button js-btn-clone-panel">
{{svg "octicon-code" 16}} {{svg "octicon-code" 16}}
<span>Code</span> <span>{{ctx.Locale.Tr "repo.code"}}</span>
{{svg "octicon-triangle-down" 14 "dropdown icon"}} {{svg "octicon-triangle-down" 14 "dropdown icon"}}
</button> </button>
<div class="clone-panel-popup tippy-target"> <div class="clone-panel-popup tippy-target">