mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-24 03:29:50 +02:00
Revert unnecessary locale key rename
This commit is contained in:
1 parent
e960fe34c5
commit
02fe2dbe37
2 files changed
+2
-2
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user