Skip to content
Snippets Groups Projects
Commit 98e4c95a authored by Luc Maisonobe's avatar Luc Maisonobe
Browse files

Fixed locale for identification of non-translated messages.

parent d4c9560f
No related branches found
No related tags found
No related merge requests found
......@@ -116,7 +116,7 @@ public enum RuggedMessages implements Localizable {
final String translated = bundle.getString(name());
if ((translated != null) &&
(translated.length() > 0) &&
(!translated.toLowerCase().contains("missing translation"))) {
(!translated.toLowerCase(locale).contains("missing translation"))) {
// the value of the resource is the translated format
return translated;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment