[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Enigma-devel] Some i18n issues - code for ngettext
From: |
Fòram na Gàidhlig |
Subject: |
Re: [Enigma-devel] Some i18n issues - code for ngettext |
Date: |
Fri, 01 Aug 2014 16:23:36 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
Here's the line that would need to be changed in C++:
--- src/gui/LevelMenu.cc (revision 2441)
+++ src/gui/LevelMenu.cc (working copy)
@@ -312 +312 @@
- lbl_lpinfo->set_text(ecl::strf(_("%s: %d levels"),
+ lbl_lpinfo->set_text(ecl::strf(ngettext("%s: %d level", "%s: %d
levels", size),
ind->getName().c_str(), size));
I don't know how to get that into the catalog though, and I also can't
test anything, because all languages just load English for me.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Enigma-devel] Some i18n issues - code for ngettext,
Fòram na Gàidhlig <=