This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree:

Subject: dvb-sat: fix translation issues at LNBf settings
Author:  Mauro Carvalho Chehab <mche...@s-opensource.com>
Date:    Wed Feb 15 12:32:06 2017 -0200

POLARIZATION_OFF value has a string "". That causes i18n
to print useless info:

        Project-Id-Version: libdvbv5 1.7.0
        Report-Msgid-Bugs-To: linux-me...@vger.kernel.org
        POT-Creation-Date: 2016-01-24 08:42+0100
        PO-Revision-Date: 2015-05-13 19:33-0300
        Last-Translator: Mauro Carvalho Chehab <mche...@osg.samsung.com>
        Language-Team: Brazilian Portuguese
        Language: pt_BR
        MIME-Version: 1.0
        Content-Type: text/plain; charset=UTF-8
        Content-Transfer-Encoding: 8bit
        Plural-Forms: nplurals=2; plural=(n > 1);
        X-Generator: Poedit 1.7.5
        X-Poedit-KeywordsList: _;N_
        X-Poedit-Basepath: ../
        X-Poedit-SourceCharset: UTF-8
        X-Poedit-SearchPath-0: lib/libdvbv5

Fix it by adding a real string there to be translated.

Tested with the portuguese translation. With such patch, it
will properly display the entries:

    UNIVERSAL
        Universal, Europa
        FrequĂȘncias: de 10800 a 11800 MHz, LO: 9750 MHz
        FrequĂȘncias: de 11600 a 12700 MHz, LO: 10600 MHz

Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com>

 lib/libdvbv5/dvb-sat.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

---

http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=f85ffa4f5dcc92bdfad445ed562c5723804621ba
diff --git a/lib/libdvbv5/dvb-sat.c b/lib/libdvbv5/dvb-sat.c
index af9afb8d9498..59cb7a69aa6e 100644
--- a/lib/libdvbv5/dvb-sat.c
+++ b/lib/libdvbv5/dvb-sat.c
@@ -310,11 +310,11 @@ int dvb_sat_search_lnb(const char *name)
 }
 
 static char *pol_name[] = {
-       [POLARIZATION_OFF] = "",
-       [POLARIZATION_H] = N_("Horizontal: "),
-       [POLARIZATION_V] = N_("Vertical  : "),
-       [POLARIZATION_L] = N_("Left      : "),
-       [POLARIZATION_R] = N_("Right     : "),
+       [POLARIZATION_OFF] = N_("Freqs     : "),
+       [POLARIZATION_H]   = N_("Horizontal: "),
+       [POLARIZATION_V]   = N_("Vertical  : "),
+       [POLARIZATION_L]   = N_("Left      : "),
+       [POLARIZATION_R]   = N_("Right     : "),
 };
 
 int dvb_print_lnb(int i)

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to