From c73c6b62067cef765a85dd2a19dcc7296b813b2c Mon Sep 17 00:00:00 2001 From: lordjaxom Date: Fri, 11 Jun 2004 15:32:39 +0000 Subject: - fixed VPSTime which was displayed on channels that didn't even have VPS - 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) --- i18n.c | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) (limited to 'i18n.c') 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; } -- cgit v1.2.3