i18n(en): add positional hints to sync_fork placeholders (#7579)

Followup to https://codeberg.org/forgejo/forgejo/pulls/2364.

It's only possible to use them without hints in the correct order in the string, because our i18n is not smart enough to figure out types in such strings on it's own.

In some languages translators preferred to first specify branch name and then amount of commits without hints and got broken strings.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7579
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
This commit is contained in:
0ko 2025-04-20 07:06:03 +00:00
parent a0c9e81611
commit fda68ddf20

View file

@ -1220,8 +1220,8 @@ archive.title_date = This repository has been archived on %s. You can view files
archive.nocomment = Commenting is not possible because the repository is archived.
archive.pull.noreview = This repository is archived. You cannot review pull requests.
sync_fork.branch_behind_one = This branch is %d commit behind %s
sync_fork.branch_behind_few = This branch is %d commits behind %s
sync_fork.branch_behind_one = This branch is %[1]d commit behind %[2]s
sync_fork.branch_behind_few = This branch is %[1]d commits behind %[2]s
sync_fork.button = Sync
form.reach_limit_of_creation_1 = The owner has already reached the limit of %d repository.