grishka
September 25, 2023, 3:47pm
1
Hi. I have a small improvement request.
Java supports using %,d
as a formatting specifier. Compared to %d
, this provides nicer formatting with locale-dependent digit grouping (1,000,000
vs 1000000
). However, Crowdin doesn’t recognize this as a variable like it does %d
or %s
:
Recognized variables are highlighted and produce a warning when missing from translations. I’ve already had several occasions when a translator mistyped %,d
which later resulted in app crashes.
1 Like
Roman
September 25, 2023, 7:00pm
2
Hi @grishka ,
Thank you for your request, really the variable %,d
will not be highlighted in Crowdin like the variable %d
is highlighted
I have forwarded this to our development team and will let you know as soon as I hear back from them.
Will keep you posted
2 Likes
Roman
September 26, 2023, 3:56pm
3
Hi @grishka ,
Highlighted the %,d
variable for you in your project so it should look good on your end now
2 Likes
grishka
September 23, 2024, 1:18pm
4
The variant where the argument index is specified, like %3$,d
, also needs correct highlighting. Example string where only the %3
part is highlighted:
https://crowdin.com/editor/mastodon-for-android/124/en-it?view=comfortable&filter=basic&value=3#29284
1 Like
Tania
September 23, 2024, 2:54pm
5
Hi @grishka !
Let us please consult with our team whether it will be possible.
Will keep you posted!
2 Likes
Tania
September 23, 2024, 3:20pm
6
Dear @grishka !
We are glad to inform you that %3$,d
should already be highlighted in the Editor. You are welcome to check everything from your side!
Thanks,
1 Like
grishka
September 23, 2024, 3:33pm
7
Wow, that was quick. Thank you!
Tania
September 23, 2024, 3:49pm
8
Dear @grishka !
Our pleasure to help you!
Wish you a wonderful week ahead