Make templates localizable (Closes #100)

This commit is contained in:
Twan van Laarhoven
2020-10-03 14:38:39 +02:00
parent f2ae3ae43b
commit c7377303cf
23 changed files with 155 additions and 63 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ String InfoValue::toString() const {
return value;
}
bool InfoValue::update(Context& ctx) {
if (value.empty()) value = field().caption;
if (value.empty()) value = field().caption.get();
bool change = field().script.invokeOn(ctx, value);
Value::update(ctx);
return change;