mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
enlgish language stuff for keywords
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@264 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -405,8 +405,12 @@ String KeywordDatabase::expand(const String& text,
|
||||
ctx.setVariable(_("input"), to_script(part));
|
||||
param = kwp.script.invoke(ctx)->toString();
|
||||
}
|
||||
part = _("<param-") + kwp.name + _(">") + part + _("</param-") + kwp.name + _(">");
|
||||
param = _("<param-") + kwp.name + _(">") + param + _("</param-") + kwp.name + _(">");
|
||||
String param_type = replace_all(replace_all(replace_all(kwp.name,
|
||||
_("("),_("-")),
|
||||
_(")"),_("-")),
|
||||
_(" "),_("-"));
|
||||
part = _("<param-") + param_type + _(">") + part + _("</param-") + param_type + _(">");
|
||||
param = _("<param-") + param_type + _(">") + param + _("</param-") + param_type + _(">");
|
||||
ctx.setVariable(String(_("param")) << (int)(j/2), to_script(param));
|
||||
}
|
||||
total += part;
|
||||
|
||||
Reference in New Issue
Block a user