Federation settigs :: set label name for internationalisation

This commit is contained in:
Mirco 2024-03-19 10:05:31 +01:00
parent 6901ae4b99
commit 3018769d26
3 changed files with 3 additions and 1 deletions

View file

@ -1992,6 +1992,7 @@ settings.hooks=Webhooks
settings.githooks=Git-Hooks
settings.basic_settings=Grundeinstellungen
settings.federation_settings=Federation-Einstellungen
settings.federation_labelname_repo=Federation Repositories
settings.mirror_settings=Mirror-Einstellungen
settings.mirror_settings.docs=Richte Dein Repository so ein, dass es automatisch Commits, Tags und Branches mit einem anderen Repository synchronisieren kann.
settings.mirror_settings.docs.disabled_pull_mirror.instructions=Richte Dein Projekt so ein, dass es automatisch Commits, Tags und Branches in ein anderes Repository pusht. Pull-Mirrors wurden von Deinem Website-Administrator deaktiviert.

View file

@ -2043,6 +2043,7 @@ settings.hooks = Webhooks
settings.githooks = Git Hooks
settings.basic_settings = Basic Settings
settings.federation_settings=Federation Settings
settings.federation_labelname_repo=Federation Repositories
settings.mirror_settings = Mirror Settings
settings.mirror_settings.docs = Set up your repository to automatically synchronize commits, tags and branches with another repository.
settings.mirror_settings.docs.disabled_pull_mirror.instructions = Set up your project to automatically push commits, tags and branches to another repository. Pull mirrors have been disabled by your site administrator.

View file

@ -77,7 +77,7 @@
/* TODO: implement Err_FederationRepos somewhere */
<div class="field {{if .Err_FederationRepos}}error{{end}}">
/* TODO: internationalize text */
<label for="federation_repos">Federation Repositories</label>
<label for="federation_repos">{{ctx.Locale.Tr "settings.federation_labelname_repo"}}</label>
<input id="federation_repos" name="federation_repos" value="{{.Repository.FederationRepos}}" data-repo-name="{{.Repository.FederationRepos}}">
</div>
<div class="field">