Skip to content

Commit

Permalink
Closes issue #4: no more German stuff except for the UI strings that …
Browse files Browse the repository at this point in the history
…need localicalization.

* Localization addressed in isssue #22
  • Loading branch information
ottlinger committed Dec 24, 2015
1 parent 5e0aea2 commit 09c1067
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,12 @@ public static String toPlain(String input) {
StringBuilder result = new StringBuilder();

while (!Strings.isNullOrEmpty(lowerCase)) {

int lengthBeforeConversion = lowerCase.length();

for (String prefix : ENCODED.keySet()) {
// cut out any found items
if (lowerCase.startsWith(prefix)) {
result.append(ENCODED.get(prefix).getPlain());
// cut out any found items
lowerCase = lowerCase.substring(prefix.length(), lowerCase.length());
}
}
Expand Down

0 comments on commit 09c1067

Please sign in to comment.