summaryrefslogtreecommitdiff
path: root/i18n.c
diff options
context:
space:
mode:
authorlordjaxom <lordjaxom>2004-06-11 15:32:39 +0000
committerlordjaxom <lordjaxom>2004-06-11 15:32:39 +0000
commitc73c6b62067cef765a85dd2a19dcc7296b813b2c (patch)
tree7e340834d60d30a50b682c3e00c6f09eabeacf2e /i18n.c
parente0de96fc7168daeaf414fb6196e08969468427d2 (diff)
downloadvdr-plugin-text2skin-c73c6b62067cef765a85dd2a19dcc7296b813b2c.tar.gz
vdr-plugin-text2skin-c73c6b62067cef765a85dd2a19dcc7296b813b2c.tar.bz2
- fixed VPSTime which was displayed on channels that didn't even have VPSv0.0.3
- fixed Symbols in channel display when viewing a group - fixed text translation if no translation is present - fixed compile error with gcc 3.4 (thanks to Gregoire Favre for reporting this) - restructured Skin (now the official Skin version is 0.0.2) it is now possible to control visibility of all items - added a script to convert 0.0.1 themes to 0.0.2 - added support for animated logos (mng or gif files) ONLY IMAGEMAGICK!!! - added finnish language translations (thanks to Rolf Ahrenberg)
Diffstat (limited to 'i18n.c')
-rw-r--r--i18n.c28
1 files changed, 24 insertions, 4 deletions
diff --git a/i18n.c b/i18n.c
index 469bf7b..5b9cceb 100644
--- a/i18n.c
+++ b/i18n.c
@@ -1,10 +1,29 @@
/*
- * $Id: i18n.c,v 1.3 2004/06/07 18:23:11 lordjaxom Exp $
+ * $Id: i18n.c,v 1.5 2004/06/08 20:45:52 lordjaxom Exp $
*/
#include "i18n.h"
const tI18nPhrase Phrases[] = {
+ { "Loader for text-based skins",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "Helposti muokattavat ulkoasut",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ ""
+ },
{ "Flush image cache",
"Bildspeicher leeren",
"",
@@ -13,7 +32,7 @@ const tI18nPhrase Phrases[] = {
"",
"",
"",
- "",
+ "Tyhjennä kuvat välimuistista",
"",
"",
"",
@@ -32,7 +51,7 @@ const tI18nPhrase Phrases[] = {
"",
"",
"",
- "",
+ "Tyhjennetään välimuistia...",
"",
"",
"",
@@ -104,5 +123,6 @@ bool cText2SkinI18n::Load(const string &Filename) {
}
string cText2SkinI18n::Translate(const string &Text) {
- return I18nTranslate(Text.c_str(), mIdentity.c_str());
+ string s = I18nTranslate(Text.c_str(), mIdentity.c_str());
+ return s != "" ? s : Text;
}