Re: Foreca plugin EN and PL #21
Posted 6 November 2011 - 16:08
Re: Foreca plugin EN and PL #22
Posted 6 November 2011 - 16:49
unfortunately full Polish 'localization' it's impossible because of pl diacritics on the site /see the screenshot/
//in previous Polish version it was worked around by using (sed) filter.sh script (probably not the nicest way /?/ but was doing the job)
so, to make plugin fully usable for people here on the wild east this issue would has to be somehow resolved...
but of course for now mixed english-polish version can be used, I'll try to provide pl.po asap
Re: Foreca plugin EN and PL #23
Posted 6 November 2011 - 17:05
Re: Foreca plugin EN and PL #24
Posted 6 November 2011 - 18:04
and just for clarifying, it's not a problem with .po transaltion - that strings with Polish diacritics are displayed ok,
problem is with those that are parsed /?/ directly from foreca.pl (eg. 'wilgotność')
see attachement - that is how same fragment looks at foreca.pl (and as it should look in the plugin)
Attached Files
Re: Foreca plugin EN and PL #25
Posted 6 November 2011 - 18:40
Re: Foreca plugin EN and PL #26
Posted 6 November 2011 - 20:52
so am II am not so strong in Polish myself.
//and if you couln't find any polite Pole nearby down there in the Netherlands (which I totally do not believe ) who would give you a hand, here's the clue:
Menu > Ustawienia > System > Język > ...
Re: Foreca plugin EN and PL #27
Posted 6 November 2011 - 21:30
Attached Files
Re: Foreca plugin EN and PL #28
Posted 6 November 2011 - 23:28
Polish translations attached
one remark:
found few untranslated strings:
"(Menu) Weather charts"
"(info) Legend"
^pretty important, both on the main page,
and in general all screen titles eg.:
"Satelite photo's"
"Select a city"
problem is that for some reason, after I added them manually, they remain untranslated...
any ideas why?
Attached Files
Re: Foreca plugin EN and PL #29
Re: Foreca plugin EN and PL #30
Posted 7 November 2011 - 09:33
Re: Foreca plugin EN and PL #31
Re: Foreca plugin EN and PL #32
Re: Foreca plugin EN and PL #33
Posted 8 November 2011 - 07:36
there is a little bug in your last version 1.7.2
in the plugin.py line 640 you use the fixed language setting "nl" for downloading the graphic forecast. This should depends on the used plugin language
def red(self): if not self.working: #self.loc_id = current id self.url=_("http://www.foreca.com") + "/meteogram.php?loc_id=" + self.loc_id + "&lang=[color=#ff0000]nl[/color]&units=metrickmh/meteogram.png" self.loadPicture(self.url)
Re: Foreca plugin EN and PL #34
Posted 8 November 2011 - 08:18
def red(self):
if not self.working:
#self.loc_id = current id
self.url=_("http://www.foreca.com") + "/meteogram.php?loc_id=" + self.loc_id + "&lang=nl&units=metrickmh/meteogram.png"
self.loadPicture(self.url)
Edited by Steffen, 8 November 2011 - 08:19.
Re: Foreca plugin EN and PL #35
Re: Foreca plugin EN and PL #36
Re: Foreca plugin EN and PL #37
Re: Foreca plugin EN and PL #38
Posted 9 November 2011 - 10:34
that's not a good idea to call a version 1.6 on the feed 1.9
You're absolutely right. So I'll repeat what I wrote on the Dutch forum for the Foreca plugin.
If you want to make changes to the plugin, and include them in the feed, do the following:
- Install GIT on your PC (on Windows, I recommend using tortoiseGIT which integrates into explorer)
- Clone the Foreca repository to your PC: https://github.com/E...enplugin-Foreca
- Make your changes (e.g. copy your plugin.py over the one in the GIT directory)
- Create a GIT patch and post it here.
- "Pull" the repository and synchronize with the central version as often as possible.
If you want to work in a more structured way, do as follows:
- Create an account on github
- Mail or PM me with the account name
- I'll arrange "write" permissions on the repository
- You can then push directly, without help from PLi member
- But be careful - what you do will directly affect the nightly build...
I'm willing to help out - thus extending the howto above - but I'm no longer willing to manually inject modified files or disect ipk packages, because that takes too much of my limited time. Committing git patches is the only way to post changes. And i'm happy to explain further how to build such a git patch.
Re: Foreca plugin EN and PL #39
Posted 11 November 2011 - 23:46
When the new version is finished (read fully tested) I will place its IPK here on the forum. The people who want to use it can then download it and install it through Telnet. Since its version has now been incremented to 2.0, in my opinion it should no longer be overwritten by the version 1.9 in the Git. Please be patient for a little longer.
@Milo: I do not expect you to take action to put such a new version in the Git, however, were you prepared to do so once more I think a lot of people would appreciate that very much. I honestly did make an attempt to understand how to get the updated version in my local Git, but since the changes are much more than just an updated plugin.py so far I haven't got a clue what to do.
Re: Foreca plugin EN and PL #40
2 user(s) are reading this topic
0 members, 2 guests, 0 anonymous users