Posts by Lululla

    the online compiler doesn't work well.. it cuts the code and doesn't align it well

    An error occurred during compilation of the patch at line number: 434


    use the attachment and debug


    which skin are you using?


    put code
    screen name="Infobar"


    here



    new .pot locale attached

    MIX SCANNER V3.0 BY HOMERDHALOR


    With this tool you can scan:

    M3U - MAC

    Or you can Convert MAc To M3U

    Also MPV PLAYER


    Code
    https://www.virustotal.com/gui/file/07231b1c966bcc790d4d7558e821d7e3ed7415283d1fd972786b3c76f6fc1d56


    Download:

    Code
    https://www.swisstransfer.com/d/b7b61565-24f7-4849-a347-4788ba99611f

    i have applied your suggest ;)

    thank's


    you just need to update the .pot in your language, I can't do it..

    if you attach it I can insert it in git and plugin

    to be clearer


    I attach the dictionary

    English=German


    if the box is configured for German language = de

    will take the attached file that starts with dedict.txt


    and foreca work total 100%


    get box language

    Code
    try:
        lng = config.osd.language.value
        lng = lng[:-3]
    except:
        lng = 'en'
        pass



    command for description

    Code
                # translate_description
                translation_dict = self.load_translation_dict(lng)
                description[x] = self.konvert_uml(str(sub(r'<[^>]*>', "", description[x])))
                description[x] = self.translate_description(description[x], translation_dict)



    def for dict and value




    :smiling face with sunglasses:

    the local .po automatically updates the words contained in the code via a program if supported and anticipated by _ (gettext())

    Actually I was working on an external system, because if the .po were updated, it would pause the words that you will add, so I created a dictionary in multiple languages in


    language_en=lang_trad (lang_box locale)


    so it is only valid for description:

    I created a definition that I am testing.



    it's only test but work


    how it works:

    in the folder you will put a file

    the words are in the file in English. only those, if you add or change them you must notify me, it must be done for all dictionary files

    in my case in itdict.txt

    english=italian

    the program finds the word in English and translates it into Italian

    there is no alternative as far as I'm concerned

    Try if you want



    screenshot (1).png


    2 test:


    feedback please

    read first post of topic please

    I changed the code, it becomes like this, it shows duplicates ....

    no, it doesn't work like that. .You can't think only to yourself, then we would have 1000 ui.py code..

    Let's leave it..


    Read Discussion with pr2

    Translations for Enigma 2: Please post them here! - Page 108 - [EN] Enduser support
    Page 108 of 108 - Translations for Enigma 2: Please post them here! - posted in [EN] Enduser support: Every plugin came with its own po file for translation.…
    forums.openpli.org

    well my friend


    although I put a gettext() code to translate, the .pot file does not take this code and so it will be the only part not translated, unless we directly give it the translation..

    Maybe try it, it might work.





    :goodluck:



    description[x] = _(description[x])

    feels[x] = _(feels[x])
    precip[x] = _(precip[x])
    humidity[x] = _(humidity[x])
    windSpeed[x] = _(windSpeed[x])



    Other .po and .pot are here on Git


    Belfagor2005/e2openplugin-Foreca: Weather forecast