mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-09-15 18:56:59 +00:00
Improve translatability of "Transfer ownership" (#3739)
This text can have different forms in other languages depending on context. The commit also contains a change to .editorconfig to prevent EoF changes when mass-replacing strings, as that causes unintentional merge conflicts with Weblate. Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3739 Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
This commit is contained in:
parent
61643a698c
commit
e4e84a7ecf
31 changed files with 37 additions and 32 deletions
|
@ -439,7 +439,7 @@
|
|||
{{end}}
|
||||
<div class="flex-item">
|
||||
<div class="flex-item-main">
|
||||
<div class="flex-item-title">{{ctx.Locale.Tr "repo.settings.transfer"}}</div>
|
||||
<div class="flex-item-title">{{ctx.Locale.Tr "repo.settings.transfer.title"}}</div>
|
||||
<div class="flex-item-body">
|
||||
{{if .RepoTransfer}}
|
||||
{{ctx.Locale.Tr "repo.settings.transfer_started" .RepoTransfer.Recipient.DisplayName}}
|
||||
|
@ -456,7 +456,7 @@
|
|||
<button class="ui red button">{{ctx.Locale.Tr "repo.settings.transfer_abort"}}</button>
|
||||
</form>
|
||||
{{else}}
|
||||
<button class="ui basic red show-modal button" data-modal="#transfer-repo-modal">{{ctx.Locale.Tr "repo.settings.transfer"}}</button>
|
||||
<button class="ui basic red show-modal button" data-modal="#transfer-repo-modal">{{ctx.Locale.Tr "repo.settings.transfer.button"}}</button>
|
||||
{{end}}
|
||||
</div>
|
||||
</div>
|
||||
|
@ -584,7 +584,7 @@
|
|||
{{end}}
|
||||
<div class="ui small modal" id="transfer-repo-modal">
|
||||
<div class="header">
|
||||
{{ctx.Locale.Tr "repo.settings.transfer"}}
|
||||
{{ctx.Locale.Tr "repo.settings.transfer.modal.title"}}
|
||||
</div>
|
||||
<div class="content">
|
||||
<div class="ui warning message">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue