forked from kevadesu/forgejo
Backport #27231 #27259 manually --------- Co-authored-by: delvh <dev.lh@web.de>
This commit is contained in:
parent
2774a2afc6
commit
597b04fe2f
314 changed files with 3888 additions and 3889 deletions
|
@ -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 */}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue