}
public void add(String text, String line) {
+ if(text.contains("\r") || text.contains("\n")){
+ throw new Error("Malformed translation in " + line);
+ }
TranslationEntry i = translations.get(text);
if (i == null) {
translations.put(text, new TranslationEntry(text, line));
add(string,
file.getAbsolutePath().substring(
base.getAbsolutePath().length() + 1)
- + ":0");
+ + ":1");
}
}
}