#1467 Fix error in placeholder migration, create and fix tests

This commit is contained in:
ljacqu
2018-01-29 22:15:39 +01:00
parent 760a2a909c
commit abd19cdb86
8 changed files with 193 additions and 37 deletions
@@ -158,7 +158,7 @@ final class OldMessageKeysMigrater {
String newText = text;
for (Map.Entry<String, String> replacement : replacements.entrySet()) {
text = text.replace(replacement.getKey(), replacement.getValue());
newText = newText.replace(replacement.getKey(), replacement.getValue());
}
return newText;
}