mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 21:06:59 -04:00
Implement unique IDs and card linking
This commit is contained in:
+4
-4
@@ -118,8 +118,8 @@ String tr(const Package& pkg, const String& subcat, const String& key, DefaultLo
|
||||
loc = find_wildcard_and_set(the_locale->package_translations, pkg.relativeFilename());
|
||||
}
|
||||
return loc->tr(subcat, key, def);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
String tr(const String& pkg_relative_filename, const String& key, DefaultLocaleFun def) {
|
||||
if (!the_locale) return def(key);
|
||||
SubLocaleP loc = the_locale->package_translations[pkg_relative_filename];
|
||||
@@ -127,8 +127,8 @@ String tr(const String& pkg_relative_filename, const String& key, DefaultLocaleF
|
||||
loc = find_wildcard_and_set(the_locale->package_translations, pkg_relative_filename);
|
||||
}
|
||||
return loc->tr(key, def);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
String tr(const String& pkg_relative_filename, const String& subcat, const String& key, DefaultLocaleFun def) {
|
||||
if (!the_locale) return def(key);
|
||||
SubLocaleP loc = the_locale->package_translations[pkg_relative_filename];
|
||||
|
||||
Reference in New Issue
Block a user