From 10513df1bf1edd43f175991c9ce79967b001bc27 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Sat, 15 Mar 2025 11:55:58 -0700 Subject: [PATCH] Add missing translation (#33900) --- options/locale/locale_en-US.ini | 1 + templates/repo/view_file_tree.tmpl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index f1ce4b244f..3ee7c8818c 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -113,6 +113,7 @@ copy_type_unsupported = This file type cannot be copied write = Write preview = Preview loading = Loading… +files = Files error = Error error404 = The page you are trying to reach either does not exist or you are not authorized to view it. diff --git a/templates/repo/view_file_tree.tmpl b/templates/repo/view_file_tree.tmpl index 6e5d504a47..ce9b2e4d11 100644 --- a/templates/repo/view_file_tree.tmpl +++ b/templates/repo/view_file_tree.tmpl @@ -4,7 +4,7 @@ data-tooltip-content="{{ctx.Locale.Tr "repo.diff.hide_file_tree"}}"> {{svg "octicon-sidebar-expand"}} - Files + {{ctx.Locale.Tr "files"}} {{/* TODO: Dynamically move components such as refSelector and createPR here */}}