New repo: Rework initialization

- only show settings when ticked
- only offer README selection when there are multiple options

(cherry picked from commit 8d32ca32c2)
This commit is contained in:
Otto Richter 2024-12-27 16:11:45 +01:00 committed by forgejo-backport-action
parent 023aaef2b9
commit 662b385596
4 changed files with 67 additions and 58 deletions

View file

@ -1103,7 +1103,8 @@ object_format_helper = Object format of the repository. Cannot be changed later.
readme = README
readme_helper = Select a README file template
readme_helper_desc = This is the place where you can write a complete description for your project.
auto_init = Initialize repository (Adds .gitignore, License and README)
auto_init = Initialize repository
auto_init_description = Start the Git history with a README and optionally add License and .gitignore files.
create_repo = Create repository
default_branch = Default branch
default_branch_label = default