Make default category translatable (with dev warning) (#4712)
This commit is contained in:
@@ -415,7 +415,8 @@ void MdiChild::generalEdit()
|
||||
|
||||
void MdiChild::categoryAdd()
|
||||
{
|
||||
CategoryData category("New category");
|
||||
/*: Translators do NOT use accent for this, this is the default category name on Horus. */
|
||||
CategoryData category(qPrintable(tr("New category")));
|
||||
radioData.categories.push_back(category);
|
||||
setModified();
|
||||
emit copyAvailable(false); // workaround : nothing is selected after model creation
|
||||
|
||||
Reference in New Issue
Block a user