mirror of
https://github.com/go-gitea/gitea.git
synced 2025-09-13 18:06:32 +00:00
Backport #27231 #27259 manually --------- Co-authored-by: delvh <dev.lh@web.de>
This commit is contained in:
@@ -34,13 +34,13 @@ If you introduce mistakes in it, Gitea JavaScript code wouldn't run correctly.
|
||||
mermaidMaxSourceCharacters: {{MermaidMaxSourceCharacters}},
|
||||
{{/* this global i18n object should only contain general texts. for specialized texts, it should be provided inside the related modules by: (1) API response (2) HTML data-attribute (3) PageData */}}
|
||||
i18n: {
|
||||
copy_success: {{.locale.Tr "copy_success"}},
|
||||
copy_error: {{.locale.Tr "copy_error"}},
|
||||
error_occurred: {{.locale.Tr "error.occurred"}},
|
||||
network_error: {{.locale.Tr "error.network_error"}},
|
||||
remove_label_str: {{.locale.Tr "remove_label_str"}},
|
||||
modal_confirm: {{.locale.Tr "modal.confirm"}},
|
||||
modal_cancel: {{.locale.Tr "modal.cancel"}},
|
||||
copy_success: {{ctx.Locale.Tr "copy_success"}},
|
||||
copy_error: {{ctx.Locale.Tr "copy_error"}},
|
||||
error_occurred: {{ctx.Locale.Tr "error.occurred"}},
|
||||
network_error: {{ctx.Locale.Tr "error.network_error"}},
|
||||
remove_label_str: {{ctx.Locale.Tr "remove_label_str"}},
|
||||
modal_confirm: {{ctx.Locale.Tr "modal.confirm"}},
|
||||
modal_cancel: {{ctx.Locale.Tr "modal.cancel"}},
|
||||
},
|
||||
};
|
||||
{{/* in case some pages don't render the pageData, we make sure it is an object to prevent null access */}}
|
||||
|
Reference in New Issue
Block a user