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:
parent
e2382e11fd
commit
9e22b0328f
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user