From 9e22b0328f046a2e046df096a5c299d626a43f2d Mon Sep 17 00:00:00 2001 From: Maarten ter Huurne Date: Sun, 17 Aug 2014 08:41:09 +0200 Subject: [PATCH] Made new "no items" text in Selector translatable --- src/selector.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/selector.cpp b/src/selector.cpp index 0965b8e..13adcfc 100644 --- a/src/selector.cpp +++ b/src/selector.cpp @@ -99,7 +99,8 @@ int Selector::exec(int startSelection) { bg.blit(s, 0, 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); } else { if (selected >= firstElement + nb_elements)