Skip to content

Commit fda68dd

Browse files
author
0ko
committed
i18n(en): add positional hints to sync_fork placeholders (go-gitea#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 <[email protected]>
1 parent a0c9e81 commit fda68dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

options/locale/locale_en-US.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1220,8 +1220,8 @@ archive.title_date = This repository has been archived on %s. You can view files
12201220
archive.nocomment = Commenting is not possible because the repository is archived.
12211221
archive.pull.noreview = This repository is archived. You cannot review pull requests.
12221222

1223-
sync_fork.branch_behind_one = This branch is %d commit behind %s
1224-
sync_fork.branch_behind_few = This branch is %d commits behind %s
1223+
sync_fork.branch_behind_one = This branch is %[1]d commit behind %[2]s
1224+
sync_fork.branch_behind_few = This branch is %[1]d commits behind %[2]s
12251225
sync_fork.button = Sync
12261226

12271227
form.reach_limit_of_creation_1 = The owner has already reached the limit of %d repository.

0 commit comments

Comments
 (0)