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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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