Introduced string identifiers for H3 texts, still WIP
This commit is contained in:
1 parent
71bedf130f
commit
bdb8e0ee5c
24 files changed
+387
-314
No files matched your search
@@ -19,7 +19,7 @@ VCMI_LIB_NAMESPACE_BEGIN
|
||||
std::string LogicalExpressionDetail::getTextForOperator(std::string operation)
|
||||
{
|
||||
//placed in cpp mostly to avoid unnecessary includes in header
|
||||
return VLC->generaltexth->localizedTexts["logicalExpressions"][operation].String();
|
||||
return VLC->generaltexth->translate("vcmi.logicalExpressions." + operation);
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
Reference in new issue
Block a user