]> git.lyx.org Git - features.git/commitdiff
Stick to bformat
authorJuergen Spitzmueller <spitz@lyx.org>
Tue, 9 Oct 2012 14:12:32 +0000 (16:12 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Tue, 9 Oct 2012 14:12:32 +0000 (16:12 +0200)
src/frontends/qt4/CategorizedCombo.cpp

index d4410cf16896fa57dde76698c3e3332e660f3380..878d277aceb1e47d03ca5b2187b2064e47154817 100644 (file)
@@ -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;