faberNovel / ad_localize

ADLocalize is a simple way to manage your localization files. Supported wording sources : CSVs and Google Sheets. Localization file generation available for iOS, Android, JSON (i18next), YAML and Java properties
https://rubygems.org/gems/ad_localize
MIT License
24 stars 8 forks source link

Gestion de caractères spécifiques #8

Closed Loruki closed 5 years ago

Loruki commented 5 years ago

When I use the script, I got some sonar errors for some string in ukrainian :

Format string 's_deficiency_question_title' is not a valid format string so it should not be passed to String.format

"Вибрати потенційний дефіцит"
Nooba commented 5 years ago

Hello @Loruki

I don't see any format specifier in your ukrainian string. Thus it should use String.init instead of String.format. I believe this is the reason you are triggering a sonar warning, not the script itself.