Skip to content

Commit 39b6abf

Browse files
GiteaBotwkelly17silverwind
authored
remove hardcoded 'code' string in clone_panel.tmpl (#34153) (#34158)
Backport #34153 by @wkelly17 This commit replaces the hardcoded string "code" in the clone panel button with the i18n local for repo.code. Co-authored-by: Will Kelly <[email protected]> Co-authored-by: silverwind <[email protected]>
1 parent 3eda796 commit 39b6abf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/repo/clone_panel.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<button class="ui primary button js-btn-clone-panel">
22
{{svg "octicon-code" 16}}
3-
<span>Code</span>
3+
<span>{{ctx.Locale.Tr "repo.code"}}</span>
44
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
55
</button>
66
<div class="clone-panel-popup tippy-target">

0 commit comments

Comments
 (0)