1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-21 08:31:27 -05:00

Add a field for listing the federated repos

This commit is contained in:
erik 2024-03-19 13:17:27 +01:00
parent a6d45f8b97
commit 09cac163e0
3 changed files with 10 additions and 2 deletions

View file

@ -1991,8 +1991,10 @@ settings.collaboration.undefined=Nicht definiert
settings.hooks=Webhooks settings.hooks=Webhooks
settings.githooks=Git-Hooks settings.githooks=Git-Hooks
settings.basic_settings=Grundeinstellungen settings.basic_settings=Grundeinstellungen
settings.federation_settings=Federation-Einstellungen settings.federation_settings=Föderationseinstellungen
settings.federation_labelname_repo=Federation Repositories settings.federation_labelname_repo=Föderierte Repositories
settings.federation_federated_repo_list=Föderierte Repositories: Dieses Repo auf anderen Servern.
settings.federation_repo_list_empty=Dieses Repo ist noch nicht mit anderen Repos föderiert...
settings.mirror_settings=Mirror-Einstellungen 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=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. 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

@ -2044,6 +2044,8 @@ settings.githooks = Git Hooks
settings.basic_settings = Basic Settings settings.basic_settings = Basic Settings
settings.federation_settings=Federation Settings settings.federation_settings=Federation Settings
settings.federation_labelname_repo=Federation Repositories settings.federation_labelname_repo=Federation Repositories
settings.federation_federated_repo_list=Federated repositories: This repo on other servers.
settings.federation_repo_list_empty=This repository has not federated with other repos yet...
settings.mirror_settings = Mirror Settings 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 = 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. 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

@ -80,6 +80,10 @@
<div class="field"> <div class="field">
<button class="ui primary button">{{ctx.Locale.Tr "repo.settings.update_settings"}}</button> <button class="ui primary button">{{ctx.Locale.Tr "repo.settings.update_settings"}}</button>
</div> </div>
<div class="field {{if .Err_FederationRepos}}error{{end}}">
<label for="description">{{ctx.Locale.Tr "repo.settings.federation_federated_repo_list"}}</label>
<textarea id="description" name="description" rows="2" placeholder="{{ctx.Locale.Tr "repo.settings.federation_repo_list_empty"}}" maxlength="255">{{.Repository.FederationRepos}}</textarea>
</div>
</form> </form>
</div> </div>
{{end}} {{end}}