Revert unnecessary locale key rename

This commit is contained in:
bytedream committed 2025-05-05 20:43:20 +02:00
1 parent e960fe34c5
commit 02fe2dbe37
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -178,7 +178,7 @@ func editFile(ctx *context.Context, isNewFile bool) {
if fInfo.isLFSFile {
ctx.Data["NotEditableReason"] = ctx.Tr("repo.editor.cannot_edit_lfs_files")
} else if !fInfo.isTextFile {
ctx.Data["NotEditableReason"] = ctx.Tr("repo.editor.cannot_edit_binary_files")
ctx.Data["NotEditableReason"] = ctx.Tr("repo.editor.cannot_edit_non_text_files")
}
if blob.Size() >= setting.UI.MaxDisplayFileSize {