1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-11-22 11:46:14 +02:00

Made new "no items" text in Selector translatable

This commit is contained in:
Maarten ter Huurne 2014-08-17 08:41:09 +02:00
parent e2382e11fd
commit 9e22b0328f

View File

@ -99,7 +99,8 @@ int Selector::exec(int startSelection) {
bg.blit(s, 0, 0); bg.blit(s, 0, 0);
if (fl.size() == 0) { if (fl.size() == 0) {
gmenu2x->font->write(s, "(no items)", 4, top + lineHeight / 2, gmenu2x->font->write(s, "(" + gmenu2x->tr["no items"] + ")",
4, top + lineHeight / 2,
Font::HAlignLeft, Font::VAlignMiddle); Font::HAlignLeft, Font::VAlignMiddle);
} else { } else {
if (selected >= firstElement + nb_elements) if (selected >= firstElement + nb_elements)