fix localization issues (#148)

This commit is contained in:
Athou
2013-05-24 12:34:04 +02:00
parent 8039915bcf
commit f5951f178c
6 changed files with 9 additions and 9 deletions

View File

@@ -101,7 +101,7 @@ public class InternationalizationDevelopmentFilter implements Filter {
String var = m.group(1);
Object replacement = props.get(var);
String replacementValue = replacement == null ? var : replacement
.toString().split("#")[0].trim();
.toString().split("#")[0];
m.appendReplacement(sb, replacementValue);
}
m.appendTail(sb);

View File

@@ -87,7 +87,7 @@ about.keyboard_shortcuts=Keyboard shortcuts
about.line1_prefix=CommaFeed is an open-source project. Sources are hosted on
about.line1_suffix=.
about.line2_prefix=If you encounter an issue, please report it on the issues page of the
about.line2_suffix= project.
about.line2_suffix=\ project.
about.line3=If you like this project, please consider a donation to support the developer and help cover the costs of keeping this website online.
about.goodies=Goodies
about.goodies.subscribe_url=Subscribe URL

View File

@@ -44,7 +44,7 @@ public class HTMLConcat {
while (m.find()) {
String var = m.group(1);
Object replacement = props.get(var);
m.appendReplacement(sb, replacement == null ? var : replacement.toString().split("#")[0].trim());
m.appendReplacement(sb, replacement == null ? var : replacement.toString().split("#")[0]);
}
m.appendTail(sb);
return sb.toString();