Hi @Masashi Fujita,
Thanks for catching this so quickly!
This is now fixed in Bitbucket Server 4.10.1.
Hi @Masashi Fujita,
Looks like we've got a broken translation. We are tracking this here https://jira.atlassian.com/browse/BSERV-9226.
In the interest of getting it fixed ASAP, I was wondering if you could give us a hand with it? It would help if you understand how Choice Format works.
The English translation is
You have {0} pull {0,choice,1#request|1<requests} that {0,choice,1#has|1<have} been merged or declined in the last 7 days
This can produce
You have 1 pull request that has been merged or declined in the last 7 days
and
You have 2 pull requests that have been merged or declined in the last 7 days
for 1+ closed pull requests.
The Japanese translation that we have is
あなたの {0} 個のプル {0,choice,1\#リクエスト|1<リクエスト} が {0,choice,1\#|1<} この7日間にマージまたは拒否されています。
We think there are 2 problems with it.
The first choice format block seems to be redundant as both 1 and 1+ produce the same output. I think the start of the line should just be あなたの {0} 個のプルリクエスト
The second choice format block ({0,choice,1\#|1<}) is broken because it doesn't have any values supplied. I suspect that's because it's not needed in Japanese?
My guess at what the translation should be is
あなたの {0} 個のプルリクエスト この7日間にマージまたは拒否されています。
Can you confirm that the translation makes sense and works for both of the use cases (1 and 1+) described in English above?
Thank you very much for your help if you are able
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.