summaryrefslogtreecommitdiff
path: root/i18n.c
diff options
context:
space:
mode:
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;
}