mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
fix localization issues (#148)
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user