[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: [Panel-devel] getThemePath broken in SK
From: p0z3r () earthlink ! net (R ! )
Date: 2005-06-06 18:17:36
Message-ID: 1895026.1118074650697.JavaMail.root () wamui-norfolk ! atl ! sa ! earthlink ! net
[Download RAW message or body]
On Monday 06 June 2005 00:09, Petri wrote:
>On Monday 06 June 2005 00:09, Matt wrote:
>> I'm not sure that that will help either of my issues. The codecs.open()
>> function is what I use to be able to use utf-8 encoded translation files.
>> In the second example, is the new object 's' an unadulterated version of
>> maindata.xml?
>
>I should be the same as read using the f.read(). As Ryan pointed out python
>has functions to read zip files directly, so if getThemePath returns path to
>a zip (skz) file those can be used. getThemeFile is just an easier way to do
>the reading if whole file has to be read.
>
>I was also thinking something like karamba.i18n() function. I have done
>earlier a class that reads mo files from zip and uses those to translate
>things, so that would be easily translated to superkaramba. What do you
>think?
Is it possible to embed i18n() calls into our text functions such as createText()?
That way translations are handled inside SuperKaramba instead of by the theme writers.
>
>Petri
Ryan
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic