-
Notifications
You must be signed in to change notification settings - Fork 255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Language strings too fine-grained in default theme's forum statistics #1872
Comments
Would merging all the text strings into a single one and use sprintf() work for you? I know it will work for Spanish. Something like: $txt['blabla'] = '%1$d Posts in %2$d Topics by %3$d Members - Latest Member %4$s' |
That's what I was thinking as well |
Yes, that would work. |
Sounds good to me as well. |
It seems this has already been solved: or is there another place where the sprintf() needs to be applied? |
Oh, you're right! I was looking at the 2.0.8 sources. Sorry for the noise. |
The issue is with this line in
Themes/default/BoardIndex.template.php
:Correct translation to, say, German is impossible because a different inflected form of
$txt['members']
is required in this context than in others. I guess the whole message should be a single string.This has been discussed before, and similar issues have apparently been resolved in other places: http://dev.simplemachines.org/mantis/view.php?id=4822
The text was updated successfully, but these errors were encountered: