BH official French Translation

niglou

BH Lover
@Shiro

Thank you for your interest in our problem.

Regarding modification of plugins, I know they are grabbed as they are from different sources.
My idea to make them properly working regarding translation was to make a python script, using function "Fileinput", then "line.replace(<old string>, <new string>)", and finaly "nextfile" to patch the few python files causing problems.
This script being applied either before building image, or once image already installed on the receiver.

I think it should be the quickest and easiest solution as translations of all plugins permanently present on image Black Hole are already included in the main translation file..... But you are the Boss, and then up to you to decide.
 

niglou

BH Lover
@Tamaki

Here is latest French translation with new strings from BH 2.0.8

You can give to coder.
 

Attachments

  • French BH-208-25-12-2013.zip
    219 KB · Views: 28

saraghon

Vu+ Newbie
Hi guys. Thanks for the good work. I found an transcription mistake in the french translation by niglou. It's related to the translation of the 'Setup' string. niglou writes it 'Paramètrer'. The correct transcription is 'Paramétrer' (avec un accent aigu et pas un accent grave).
I hope I can help you with this modified enigma.po file.
I replaced ' Paramétrer ' with ' Paramètrer ' in all the stings to be grammatically correct.
Thanks.
PO file attached in ZIP archive.
 

Attachments

  • enigma2.zip
    92.1 KB · Views: 5

saraghon

Vu+ Newbie
I replaced 'Paramètrer' with 'Paramétrer' in all stings.
Here is the modified mo file too. I tried it and it's working perfect. Thanks! :)
 

Attachments

  • enigma2.zip
    115.9 KB · Views: 3

Tamaki

Administrator
Tnx saraghon for advice, but i have to wait for niglou correction as he well knows how to do it.
If there is any mistake in your job it could block all imgs compile.
 

niglou

BH Lover
@Tamaki

Here is latest French for BH 2.0.9, you can give to coder.

Also one question : do you consider Meoboot is an "External" plugin or is maintained by Black Hole Team ?
 

Attachments

  • French BH 209 - 09-02-2014.zip
    220.6 KB · Views: 6

Tamaki

Administrator
@Tamaki

Here is latest French for BH 2.0.9, you can give to coder.

Also one question : do you consider Meoboot is an "External" plugin or is maintained by Black Hole Team ?
Meoboot is made by the same coder as BH, it is an external plugin that you can active using speedup menu.
 

niglou

BH Lover
@Tamaki

I was asking because there is a mistake in the coding of the _init_.py file of meoboot (and also from same author in openwebif). You can see that Meoboot is no more translated in any language although all strings are present in every translation files.

Could you please report him that the plugin does not revert to main translation file if its own locale is not present ?

Here is part of the actual and not working _init_.py

Code:
def _(txt):
            t = gettext.dgettext(PluginLanguageDomain, txt)
            if t == txt:
                print "[MeoBoot] fallback to default translation for", txt
            t = gettext.dgettext('enigma2', txt)

            return t

Here is a modified working code :

Code:
def _(txt):
    lang = language.getLanguage()[:2]
    t = gettext.dgettext(PluginLanguageDomain, txt)
    if  t == txt:
        print "[" + PluginLanguageDomain + "] fallback to default translation for " , txt
    t = gettext.dgettext('/usr/share/enigma2/po/' + lang + '/LC_MESSAGES/enigma2', txt)
    return t

7 plugins used in Black Hole default image are affected by this mistake. Could be a good start if meoboot (and may be openwebif) are corrected in next image.
 

xommit

Vu+ Newbie
Hello
Just spell checking for Blackhole 3.0.1C

Bonjour
Correction juste orthographique pour Blackhole 3.0.1C

Le 31/12/2015
 

Attachments

  • enigma2_fr_blackhole3.0.1C_31-12-2015.zip
    90 KB · Views: 3

xommit

Vu+ Newbie
Hi !
Can you add English string "Use Manual dns-nameserver" in mo file.
You can see in network interface configuration.

The translation is : "Utiliser un DNS manuel"

Thanks
 
Top