Vu+
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

BH Non Translatable Strings

Discussion in 'Black Hole Translations' started by paolino, May 16, 2013.

  1. niglou

    niglou BH Lover

    Messages:
    449
    You are right, this string comes with yellow button (from audioselection.py)

    So we must add 2 new strings from this file I did not notice before :

    msgid "Dolby Digital / DTS downmix"
    msgstr ""
    msgid "<unknown>"
    msgstr ""


    It is like mushroom picking in the forest ...... you never find them all :D
     
  2. roddiss

    roddiss BH Lover

    Messages:
    348
    Why two?
     
  3. niglou

    niglou BH Lover

    Messages:
    449
    ....Because it is like this....It is written in audioselection.py
    <unknown> will appear if there is no description about language both for audio and subtitles.

    I do not only search new strings by looking at the TV on different screens, but mainly by exploring every single python and .xml files. ;)
     
    roddiss likes this.
  4. roddiss

    roddiss BH Lover

    Messages:
    348
    So I add it like this?

    msgid "Dolby Digital / DTS downmix"
    msgstr ""
    msgid "<unknown>"
    msgstr ""
     
  5. niglou

    niglou BH Lover

    Messages:
    449
    At the end of your .po file, skip a line then write:

    msgid "Dolby Digital / DTS downmix"
    msgstr "" -> put your tranlation between the two "

    Then skip a line and do the same for the second string.
     
  6. roddiss

    roddiss BH Lover

    Messages:
    348
    So new strings should be at the bottom? I have added them on the top, but it works...
     
  7. niglou

    niglou BH Lover

    Messages:
    449
    You can put them where ever you want : when you compile them to make a .mo file, they are automatically alphabetically sorted out.

    By the way, there is no need of the second string <unknown> as it was already present in the list.... The mistake is that probably the coder did not use the correct coding font in the .py file when he wrote that line as if I select the string in the python file and make a search for it in the .po file, notepad++ tells me it does not exist....
     
  8. roddiss

    roddiss BH Lover

    Messages:
    348
    I couldnt find it when I searhed for it either...
     
  9. paolino

    paolino Vu+ User+++

    Messages:
    4,189
    @niglou : Do you have some list of new strings from 2.0.7, .1, .2 ?
    I'll be very glad to have them for all translators.
    Thank you :thanks:.
     
    Tamaki likes this.
  10. niglou

    niglou BH Lover

    Messages:
    449
    Here are the few new strings I found in BH 2.0.7

    Unfortunately things are getting worse because someone did introduce in some plugins a new line :

    from ..... import _

    Which has the effect to make the plugin no more translatable from the main enigma2.mo translation file (if this line is removed, of course every thing become translatable again)
    For example : MyTube, OpenWebif, CrossEpg.

    We really need the help of a coder ...... It will not take more than half an hour for him if I give all details to have at last a bug free image regarding translation. We are just looking for a volunteer ;)
     

    Attached Files:

    roddiss likes this.
  11. paolino

    paolino Vu+ User+++

    Messages:
    4,189
    @niglou : Thank you for a file :thanks:. Regarding 3rd party plugins - I think it's better to keep translations separated.

    I'll try to do some tests ASAP how to install/use plugins translations as easy as possible ;).
     
  12. niglou

    niglou BH Lover

    Messages:
    449
    I do not totally agree with you as from my point of view there are 2 kinds of plugins:

    The ones which are ALWAYS included in every Black Hole image (eg CrossEpg) : for me they are part of Black Hole, and therefore the translation should be in main translation file (it will save memory as a lot of strings already exist in main image; and they are also already included in the main file as you (and other translators) are using my base-file). Also in general, the translation strings do not change very much from a version to another.

    For The other plugins we can download from server, I agree they need their own translation file.
     
    roddiss likes this.
  13. niglou

    niglou BH Lover

    Messages:
    449
    Here are new strings I found again in BH 2.0.7.3

    If the coder can apply the modifications I gave in French translation section, hopefully we will have a high quality level of translation in BH image .
     

    Attached Files:

    paolino likes this.
  14. roddiss

    roddiss BH Lover

    Messages:
    348
    "Umount!?
     
  15. roddiss

    roddiss BH Lover

    Messages:
    348
    Good job, what are these modifications ?
     
  16. niglou

    niglou BH Lover

    Messages:
    449
  17. roddiss

    roddiss BH Lover

    Messages:
    348
    Ok, also "Serial log enabled" is not translatable.
     
  18. niglou

    niglou BH Lover

    Messages:
    449
    Little mistake in my last new strings list :

    Add a dot at the end of "Expand your universe"

    Must be like this :
    msgid "Expand your universe."
    msgstr ""
     
  19. niglou

    niglou BH Lover

    Messages:
    449
    Here are new strings found in BH 2.0.8

    @roddis and @paolino :
    Tell me when you are ready.... I have a surprise for you.;)
     

    Attached Files:

    paolino likes this.
  20. roddiss

    roddiss BH Lover

    Messages:
    348
    What do you mean ready? When I am done translating these strings?
     

Share This Page