From 8dea5a4778d904e7616da0028b4fa79711e717a0 Mon Sep 17 00:00:00 2001 From: louis Date: Tue, 27 Jan 2015 17:46:21 +0100 Subject: [PATCH] added finnish translation --- HISTORY | 1 + po/de_DE.po | 34 ++++++++++----- po/fi_FI.po | 91 +++++++++++++++++++++++++++++++++++++++ setup.c | 16 +++---- skindesigner.c | 5 +-- skins/blackhole/setup.xml | 10 ++++- skins/metrixhd/setup.xml | 2 + 7 files changed, 136 insertions(+), 23 deletions(-) create mode 100644 po/fi_FI.po diff --git a/HISTORY b/HISTORY index 88ca447..6e37536 100644 --- a/HISTORY +++ b/HISTORY @@ -191,3 +191,4 @@ Version 0.2.0 Version 0.2.1 - fixed bug that global tokens were not parsed correctly +- added finnish translation diff --git a/po/de_DE.po b/po/de_DE.po index ff7d3d1..d3bc9d2 100644 --- a/po/de_DE.po +++ b/po/de_DE.po @@ -24,17 +24,29 @@ msgstr "alle auf einmal" msgid "Skin" msgstr "" +msgid "Plugin Setup" +msgstr "" + msgid "Menu Item display method" msgstr "Art der Ausgabe der Menüelemente" +msgid "Reruns" +msgstr "Wiederholungen" + msgid "Maximum number of reruns to display" msgstr "Anzahl anzuzeigender Wiederholungen" msgid "Minimum timely distance of rerun (in hours)" msgstr "Zeitl. Abstand der Wiederholung (in h)" -msgid "Limit Channel Numbers (0 = no limit)" -msgstr "Kanalnummern begrenzen (0 = unbegrenzt)" +msgid "Limit Channel Numbers" +msgstr "Kanalnummern begrenzen" + +msgid "no limit" +msgstr "unbegrenzt" + +msgid "Image Loading" +msgstr "Bilder" msgid "Debug Image Loading" msgstr "Debugausgabe für das Laden der Bilder" @@ -48,9 +60,15 @@ msgstr "Anzahl der initial zu cachenden Logos" msgid "Number to cache in maximum" msgstr "Maximale Anzahl zu cachender Logos" -msgid "has no setup" +msgid "Skin Setup" msgstr "" +msgid "has no setup" +msgstr "hat kein Setup" + +msgid "Cache Statistics" +msgstr "Cache Statistik" + msgid "cached" msgstr "cached" @@ -69,11 +87,5 @@ msgstr "Logos" msgid "skinparts" msgstr "Skinparts" -#~ msgid "Reruns" -#~ msgstr "Wiederholungen" - -#~ msgid "Image Loading" -#~ msgstr "Bilder" - -#~ msgid "Cache Statistics" -#~ msgstr "Cache Statistik" +msgid "Skin Designer" +msgstr "Skin Designer" diff --git a/po/fi_FI.po b/po/fi_FI.po new file mode 100644 index 0000000..93872ef --- /dev/null +++ b/po/fi_FI.po @@ -0,0 +1,91 @@ +# Copyright (C) 2014-2015 +# This file is distributed under the same license as the PACKAGE package. +# Rolf Ahrenberg , 2015. +# +msgid "" +msgstr "" +"Project-Id-Version: vdr-skindesigner 0.2.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-01-25 01:25+0200\n" +"PO-Revision-Date: 2015-01-25 01:25+0200\n" +"Last-Translator: Rolf Ahrenberg\n" +"Language-Team: Finnish\n" +"Language: fi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +msgid "after one another" +msgstr "yksi kerrallaan" + +msgid "at one go" +msgstr "kaikki kerralla" + +msgid "Skin" +msgstr "Ulkoasu" + +msgid "Plugin Setup" +msgstr "Yleiset" + +msgid "Menu Item display method" +msgstr "Valikkorivien esitystapa" + +msgid "Reruns" +msgstr "Uusinnat" + +msgid "Maximum number of reruns to display" +msgstr "Maksimissaan näytettävät uusinnat" + +msgid "Minimum timely distance of rerun (in hours)" +msgstr "Minimikesto uusintojen välillä [h]" + +msgid "Limit Channel Numbers" +msgstr "Aseta rajoitus kanavanumeroille" + +msgid "no limit" +msgstr "ei rajoitusta" + +msgid "Image Loading" +msgstr "Kuvat" + +msgid "Debug Image Loading" +msgstr "Debuggaa kuvien latausta" + +msgid "Limit Channel Logo Cache" +msgstr "Rajoita kanavalogojen välimuistia" + +msgid "Number to cache initially (per size)" +msgstr "Oletuksena välimuistissa pidettävät logot" + +msgid "Number to cache in maximum" +msgstr "Maksimissaan välimuistissa pidettävät logot" + +msgid "Skin Setup" +msgstr "Ulkoasut" + +msgid "has no setup" +msgstr "ei asetuksia" + +msgid "Cache Statistics" +msgstr "Välimuisti" + +msgid "cached" +msgstr "välimuistissa" + +msgid "icons" +msgstr "ikoni(a)" + +msgid "size" +msgstr "koko" + +msgid "byte" +msgstr "tavu(a)" + +msgid "logos" +msgstr "logo(a)" + +msgid "skinparts" +msgstr "osasta" + +msgid "Skin Designer" +msgstr "Skin Designer -ulkoasu" diff --git a/setup.c b/setup.c index a7290b1..4523adf 100644 --- a/setup.c +++ b/setup.c @@ -97,16 +97,16 @@ cOsdItem *cSkinDesignerSetup::InfoItem(const char *label) { } void cSkinDesignerSetup::PluginSetup(void) { - Add(InfoItem("Plugin Setup")); + Add(InfoItem(tr("Plugin Setup"))); Add(new cMenuEditStraItem(tr("Menu Item display method"), &blockFlush, 2, menuDisplayStyle)); - Add(InfoItem("Reruns")); + Add(InfoItem(tr("Reruns"))); Add(new cMenuEditIntItem(tr("Maximum number of reruns to display"), &rerunAmount, 1, 100)); Add(new cMenuEditIntItem(tr("Minimum timely distance of rerun (in hours)"), &rerunDistance, 0, 1000)); - Add(new cMenuEditIntItem(tr("Limit Channel Numbers (0 = no limit)"), &rerunMaxChannel, 0, 1000)); + Add(new cMenuEditIntItem(tr("Limit Channel Numbers"), &rerunMaxChannel, 0, 1000, tr("no limit"))); - Add(InfoItem("Image Loading")); + Add(InfoItem(tr("Image Loading"))); Add(new cMenuEditBoolItem(tr("Debug Image Loading"), &debugImageLoading)); Add(new cMenuEditBoolItem(tr("Limit Channel Logo Cache"), &limitLogoCache)); Add(new cMenuEditIntItem(tr("Number to cache initially (per size)"), &numLogosPerSizeInitial, 0, 1000)); @@ -114,14 +114,14 @@ void cSkinDesignerSetup::PluginSetup(void) { } void cSkinDesignerSetup::SkinSetup(void) { - Add(InfoItem("Skin Setup")); + Add(InfoItem(tr("Skin Setup"))); config.InitSkinIterator(); string skin = ""; while (config.GetSkin(skin)) { cSkinSetup *skinSetup = config.GetSkinSetup(skin); if (!skinSetup) { - Add(new cOsdItem(cString::sprintf("%s %s %s", tr("Skin"), skin.c_str(), tr("has no setup")))); + Add(new cOsdItem(cString::sprintf("%s %s\t%s", tr("Skin"), skin.c_str(), tr("has no setup")))); cList::Last()->SetSelectable(false); } else { Add(new cOsdItem(cString::sprintf("%s %s", tr("Skin"), skin.c_str()))); @@ -134,7 +134,7 @@ void cSkinDesignerSetup::ImageCacheStatistics(void) { return; } - Add(InfoItem("Cache Statistics")); + Add(InfoItem(tr("Cache Statistics"))); int sizeIconCache = 0; int numIcons = 0; imgCache->GetIconCacheSize(numIcons, sizeIconCache); @@ -195,4 +195,4 @@ void cSkindesignerSkinSetup::Set(void) { } } -} \ No newline at end of file +} diff --git a/skindesigner.c b/skindesigner.c index dbab31a..5961e46 100644 --- a/skindesigner.c +++ b/skindesigner.c @@ -20,8 +20,7 @@ static const char *VERSION = "0.2.1"; -static const char *DESCRIPTION = "SkinDesigner"; -static const char *MAINMENUENTRY = "Skin Designer"; +static const char *DESCRIPTION = trNOOP("Skin Designer"); class cPluginSkinDesigner : public cPlugin { private: @@ -30,7 +29,7 @@ public: cPluginSkinDesigner(void); virtual ~cPluginSkinDesigner(); virtual const char *Version(void) { return VERSION; } - virtual const char *Description(void) { return DESCRIPTION; } + virtual const char *Description(void) { return tr(DESCRIPTION); } virtual const char *CommandLineHelp(void); virtual bool ProcessArgs(int argc, char *argv[]); virtual bool Initialize(void); diff --git a/skins/blackhole/setup.xml b/skins/blackhole/setup.xml index af5d2e6..d9b8875 100644 --- a/skins/blackhole/setup.xml +++ b/skins/blackhole/setup.xml @@ -30,34 +30,42 @@ Show DVB device info when switching channel DVB Karten Info beim Umschalten anzeigen + Näytä DVB-tiedot kanavanvaihdossa Show Poster when switching channel Poster beim Umschalten anzeigen + Näytä posterit kanavanvaihdossa Show Icons in Main Menu Icons im Hauptmenü anzeigen + Näytä ikonit päävalikossa Fade time in ms (needs VDR restart) Einblendzeit in ms (erfordert VDR Neustart) + Häivytyksen kesto [ms] (uud.käynnistys) Items in main menu (needs VDR restart) Elemente im Hauptmenü (erfordert VDR Neustart) + Valinnat päävalikossa (uud.käynnistys) - Items in sdchedules, timers, ... menus (needs VDR restart) + Items in schedules, timers, ... menus (needs VDR restart) Elemente in Programm, Timer, ... Menüs (erfordert VDR Neustart) + Valinnat alivalikoissa (uud.käynnistys) Items in default list menu (needs VDR restart) Elemente im Standard ListenMenü (erfordert VDR Neustart) + Valinnat valikkolistoissa (uud.käynnistys) Show shorttexts in schedules menus Kurztexte im Programm Menü anzeigen + Näytä lyhyet kuvaukset ohjelmaoppaassa diff --git a/skins/metrixhd/setup.xml b/skins/metrixhd/setup.xml index 52bde41..034d0c0 100644 --- a/skins/metrixhd/setup.xml +++ b/skins/metrixhd/setup.xml @@ -24,10 +24,12 @@ Fade time in ms (needs VDR restart) Einblendzeit in ms (erfordert VDR Neustart) + Häivytyksen kesto [ms] (uud.käynnistys) Show DVB device info when switching channel DVB Karten Info beim Umschalten anzeigen + Näytä DVB-tiedot kanavanvaihdossa