From 027b49919ff703213113e8b5579b8c3b3a83ac8d Mon Sep 17 00:00:00 2001 From: DaVukovic Date: Thu, 1 Nov 2018 09:49:46 +0100 Subject: [PATCH] Add setting for profile identification (#40) Many thanks. --- 720p/Includes.xml | 33 +++++++++++++++++++++ 720p/SkinSettings.xml | 12 ++++++++ language/resource.language.en_gb/strings.po | 19 ++++++++++++ 3 files changed, 64 insertions(+) diff --git a/720p/Includes.xml b/720p/Includes.xml index c09d751..a9abc70 100644 --- a/720p/Includes.xml +++ b/720p/Includes.xml @@ -534,6 +534,11 @@ $LOCALIZE[19057] $LOCALIZE[31510] + + $LOCALIZE[31963] + $LOCALIZE[31964] + $LOCALIZE[16018] + @@ -1496,6 +1501,34 @@ conditional + + Integer.IsGreater(System.ProfileCount,1) + + Skin.HasSetting(show_profileavatar) + 5 + 1105 + 30 + 30 + conditional + $INFO[System.ProfileThumb] + scale + + + Skin.HasSetting(show_profilename) + font28_title + right + 5 + 540 + white + black + center + 30 + auto + conditional + + + + Window_OpenClose_Animation diff --git a/720p/SkinSettings.xml b/720p/SkinSettings.xml index e0f280e..98c894f 100644 --- a/720p/SkinSettings.xml +++ b/720p/SkinSettings.xml @@ -269,6 +269,18 @@ Skin.ToggleSetting(HideEPGwithRDS) Skin.HasSetting(HideEPGwithRDS) + + 750 + 40 + font13 + + grey2 + white + MenuItemFO.png + MenuItemNF.png + Skin.SelectBool(31962, 31963|show_profilename, 31964|show_profileavatar, 16018|show_none) + $VAR[ProfileIdentificationLabel2Var] + 1060 diff --git a/language/resource.language.en_gb/strings.po b/language/resource.language.en_gb/strings.po index d4db38d..f9eebe8 100644 --- a/language/resource.language.en_gb/strings.po +++ b/language/resource.language.en_gb/strings.po @@ -701,3 +701,22 @@ msgstr "" msgctxt "#31961" msgid "Timeshift" msgstr "" + +#. Choose profile identifier +#: /720p/SkinSettings.xml +msgctxt "#31962" +msgid "Choose kind of profile identification" +msgstr "" + +#. Label for the kind of profile identification +#: /720p/SkinSettings.xml +msgctxt "#31963" +msgid "Profile name" +msgstr "" + +#. Label for the kind of profile identification +#: /720p/SkinSettings.xml +msgctxt "#31964" +msgid "Profile avatar" +msgstr "" +