Localized the (modified) profile indicator

This commit is contained in:
YuSanka 2018-07-23 15:44:01 +02:00
parent 40b55a3818
commit dd088ba0cc
7 changed files with 3867 additions and 2185 deletions

View file

@ -146,6 +146,11 @@ const std::string& Preset::suffix_modified()
{
return g_suffix_modified;
}
void Preset::update_suffix_modified()
{
g_suffix_modified = (" (" + _(L("modified")) + ")").ToUTF8().data();
}
// Remove an optional "(modified)" suffix from a name.
// This converts a UI name to a unique preset identifier.
std::string Preset::remove_suffix_modified(const std::string &name)