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

MX Adriatic Blue & MX Red Diamond

Discussion in 'Vu+ Skins & Bootlogos' started by Matrix10, May 9, 2013.

  1. Matrix10

    Matrix10 Administrator

    Messages:
    8,849
    Both skins you can download from BH Image server

    MX Red Diamond BH 2.0.X Hi-color (Black Hole OE 2.0)
    MX AdriaticBlue BH 2.0.X Hi-color (Black Hole OE 2.0)
     
    biscamax, newgolfer, Foreman and 10 others like this.
  2. yummer

    yummer BH Lover

    Messages:
    963
    Awesome I shall be downloading them tomorrow for a try. Thanks matrix
     
    Foreman and juanen like this.
  3. Matrix10

    Matrix10 Administrator

    Messages:
    8,849
    To answer here

    All my skins new and old with reference for BH 2.0.x can be used in BH 2.0.3
     
  4. messale8080

    messale8080 Vu+ Newbie

    Messages:
    14
    Great stuff Matrix10, great looking skins and as you promised you've realesed them when the new image came out. Good on ya mate!
     
    juanen and Matrix10 like this.
  5. niglou

    niglou BH Lover

    Messages:
    449
    Hello Matrix10,

    In all your skin.xml, you call for the title of the screen a widget named "Title" like that :

    widget source="Title" render="Label"........

    As I would like to try to make it translatable, which is not the case now, could you please tell me where is located the python file "Title" you are calling ? I did never find it.....Does it really exist ?
     
    Foreman likes this.
  6. juanen

    juanen Vu+ Newbie

    Messages:
    5
    graciasss
     
    Foreman likes this.
  7. Matrix10

    Matrix10 Administrator

    Messages:
    8,849
    If that does not exist, then you will not have any Title in the skin.
     
    Foreman likes this.
  8. niglou

    niglou BH Lover

    Messages:
    449
    Yes, but you did not tell me WHERE is the python file matching with widget "Title"

    It seems only working if the screen is present in Menu.xml (/usr/share/enigma2/)..... every stuff not present here return not translated.
    May be you could use text labels like Army does, therefore provided we add them in the .po file, all your screen titles will be translated.
     
  9. Matrix10

    Matrix10 Administrator

    Messages:
    8,849
    Look in Meny.py

    Im sorry but I really do not intend to use
    text labels.It is not correct coding for Title/title

    Do you you manage to translate " title" ???
     
  10. Matrix10

    Matrix10 Administrator

    Messages:
    8,849
    Now I looked

    Croatian language is translated correctly i all Menu Panels ( and in the majority of the panels)
    then is not a problem in the skin coding,but in the translation and maybe in image coding
    for some panels.Suppose for some panels I can put a name xxxxx
    but the name will not be displayed but the name that is in the image coding.
    It is an advantage for title coding instead label coding.
    I the label you can put any name
    but then it will be not translated, if not in accordance with image
    coding on one side and the translation on the other.
    For comparison Title (Glavni izbornik >>> Main menu) in Default skin is not translated into Croatian language ,
    I think, because of these labels.

    So I do not know what is your problem then ???


    shot1.jpg






    shot1a.jpg
     
    Foreman and korn like this.
  11. niglou

    niglou BH Lover

    Messages:
    449
    Hello Master,

    To highlight what I am speaking about, try to select French as language on your receiver.
    You will see that Army skin is totaly translated.
    Your skins are only partly translated : Every stuff coming from "official" image is ok plus the shutdown menu (it is ok because every thing is present in the file menu.xml). If you try to go on any black kole menu, you will see that all the screen titles remain in English.
     
  12. Matrix10

    Matrix10 Administrator

    Messages:
    8,849
    I'm not sure that's a correct way to code skin
    and the use of double coding for panel titles.
    We have already discussed abt this problem.

    For now, I have no intention to change
    until they are clear rules.

    So we need to make a decision where is what changed and how
    inside image , skin or both
    not that we have three different situations .

    I will start again this question
    but not now because we have some other important stuff.
     
    Foreman and niglou like this.
  13. Matrix10

    Matrix10 Administrator

    Messages:
    8,849
    Example

    Is correctly translated and use <widget source="Title" render="Label" the same as in example Blue Panel .Which is not translated.
     
    Foreman likes this.
  14. niglou

    niglou BH Lover

    Messages:
    449
    Yes Matrix10, but language selection is a part of "official"image" and therefore properly translated.
    I did select Croatian language, and I see, as in French the Screens titles are stiil in English with black hole menus :

    eg : Black Hole Settings, Black Hole Blue Panel ..... and so on.

    I might be wrong but I am pretty sure the widget "Title" looks if it can find the screen tiltle into menu.xml, then the title will be returned translated, and if not present then it is the title name you gave in your skin.xml which will be returned, but as a static text not translated.

    You can easyly play to confirm that :
    If you change the title in your skin xml on first line of a sceen like :
    <screen name="LanguageSelection" position="0,0" size="1280,720" title="Language selection" flags="wfNoBorder"> Replace "Language selection" by "BlaBlaBla"
    The title on the TV will still be "Language selection" translated into your language,
    But if you do the same for "Black Hole Blue Panel", the return on your TV will be "BlaBlaBla"
     
  15. enrico001uk

    enrico001uk Vu+ Newbie

    Messages:
    76
    Thanks matrix sexy skins!

    Any chance of 2x ok = programme info on adriatic blue skin??

    PLEEEEASE!
     
  16. Matrix10

    Matrix10 Administrator

    Messages:
    8,849
    But it's a question that I have re-launched
    because the problem can be solved
    within the image coding or within the skin coding with <eLabel text="bla blaa".

    I am not satisfied with this skin solutions
    but if it can not be otherwise, and if that's the case, ...
    I'm waiting for answer from our Coder.
     
    Foreman and niglou like this.
  17. Matrix10

    Matrix10 Administrator

    Messages:
    8,849
    I need to find free time to make this.
     
    Foreman likes this.
  18. enrico001uk

    enrico001uk Vu+ Newbie

    Messages:
    76
    Ok thanks for consideration!!
     
  19. niglou

    niglou BH Lover

    Messages:
    449
    Hello Matrix10

    As the coders do not seem higly motivated, I finally did the trick.

    The mistake lies in Line 94 of the file "GUISkin.py" located in /usr/lib/python/Components , in "def applySkin(self):" chapter.

    I did put in red what has to be added :

    def applySkin(self):
    z = 0
    baseres = (720, 576) # FIXME: a skin might have set another resolution, which should be the base res
    idx = 0
    skin_title_idx = -1
    title = self.title
    for (key, value) in self.skinAttributes:
    if key == "zPosition":
    z = int(value)
    elif key == "title":
    skin_title_idx = idx
    if title:
    self.skinAttributes[skin_title_idx] = ("title", title)
    else:
    self["Title"].text = value and _(value)
    self.summaries.setTitle(value)
    elif key == "baseResolution":
    baseres = tuple([int(x) for x in value.split(',')])
    idx += 1
    self.scale = ((baseres[0], baseres[0]), (baseres[1], baseres[1]))


    I did also extract from your skin.xml 91 strings which need to be added to the language .po file (and translated into each language of course).

    Now ALL your skins are translatable !!!

    I join here the modified "GUISkin.py" and the list of strings to be added to each translation files.

    I hope every one will enjoy your skins finally translated in next image update ;)
     

    Attached Files:

  20. Matrix10

    Matrix10 Administrator

    Messages:
    8,849
    Nice,
    but I m not image coder and I do not know if it's all good,
    and if the coder will accept as a solution.
    I must say that this, at this moment have no priority

    because we have some other major works.
    But to leave this to Coder, because I do not cod image.
     
    Foreman likes this.

Share This Page