mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
Stick to bformat
This commit is contained in:
parent
7c8f4d57a7
commit
c85135090e
@ -493,7 +493,9 @@ void CategorizedCombo::addItemSort(QString const & item, QString const & guiname
|
||||
bool sorted, bool sortedByCat, bool sortCats,
|
||||
bool available)
|
||||
{
|
||||
QString titem = available ? guiname : qt_("Unavailable: %1").arg(guiname);
|
||||
QString titem = available ? guiname
|
||||
: toqstr(bformat(_("Unavailable: %1$s"),
|
||||
qstring_to_ucs4(guiname)));
|
||||
bool const uncategorized = category.isEmpty();
|
||||
QString qcat = uncategorized ? qt_("Uncategorized") : category;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user