Localisation, using Locale class

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@113 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2006-12-12 16:09:05 +00:00
parent c2a03bc445
commit ca42f31ccc
24 changed files with 540 additions and 40 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ shared_ptr<SymbolFilter> read_new<SymbolFilter>(Reader& reader) {
else if (fill_type == _("linear gradient")) return new_shared<LinearGradientSymbolFilter>();
else if (fill_type == _("radial gradient")) return new_shared<RadialGradientSymbolFilter>();
else {
throw ParseError(_("Unsupported fill type: '") + fill_type + _("'"));
throw ParseError(_ERROR_1_("unsupported fill type", fill_type));
}
}