This commit is contained in:
Stephan Richter
2021-01-04 08:42:35 +01:00
parent a74070ea80
commit 54a83d7280
3 changed files with 7 additions and 4 deletions

View File

@@ -499,6 +499,9 @@ public abstract class BaseClass implements Constants{
protected void removeChild(BaseClass child) {}
protected static String t(String txt, Object...fills) {
if (isSet(fills)) for (int i=0; i<fills.length; i++) {
if ("\\".equals(fills[i])) fills[i]="\\\\";
}
return Translation.get(Application.class, txt, fills);
}