aboutsummaryrefslogtreecommitdiff
path: root/addons/skin.estuary/xml
diff options
context:
space:
mode:
authorMartijn Kaijser <martijn@xbmc.org>2018-01-06 13:24:23 +0100
committerGitHub <noreply@github.com>2018-01-06 13:24:23 +0100
commitd41eb5494153df53aab38226cb65365f9e9e1ee0 (patch)
tree2211dabcf5c6e05af9cf19ac394316c41b2a2b30 /addons/skin.estuary/xml
parent0d733517e6b861dad90bc30e15746baac3ef6659 (diff)
parent8ea9602b8950fbb7d2aaca476fba33b60c51ef1e (diff)
Merge pull request #13213 from ronie/estuary-mastermode
[Estuary] fix mastermode label in button menu
Diffstat (limited to 'addons/skin.estuary/xml')
-rw-r--r--addons/skin.estuary/xml/DialogButtonMenu.xml4
-rw-r--r--addons/skin.estuary/xml/Variables.xml4
2 files changed, 5 insertions, 3 deletions
diff --git a/addons/skin.estuary/xml/DialogButtonMenu.xml b/addons/skin.estuary/xml/DialogButtonMenu.xml
index 9d29e01a5c..90839ff75b 100644
--- a/addons/skin.estuary/xml/DialogButtonMenu.xml
+++ b/addons/skin.estuary/xml/DialogButtonMenu.xml
@@ -61,9 +61,7 @@
<visible>System.Loggedon</visible>
</item>
<item>
- <label>$LOCALIZE[20046]</label>
- <altlabel>$LOCALIZE[20045]</altlabel>
- <usealttexture>!System.IsMaster</usealttexture>
+ <label>$VAR[MasterModeLabel]</label>
<onclick>mastermode</onclick>
<visible>System.HasLocks</visible>
</item>
diff --git a/addons/skin.estuary/xml/Variables.xml b/addons/skin.estuary/xml/Variables.xml
index f59f13f5d5..cfdd68872c 100644
--- a/addons/skin.estuary/xml/Variables.xml
+++ b/addons/skin.estuary/xml/Variables.xml
@@ -431,4 +431,8 @@
<value condition="String.IsEqual(Skin.String(background_overlay),0)">$LOCALIZE[231]</value>
<value>$INFO[Skin.String(background_overlay),$LOCALIZE[467] ]</value>
</variable>
+ <variable name="MasterModeLabel">
+ <value condition="!System.IsMaster">$LOCALIZE[20045]</value>
+ <value>$LOCALIZE[20046]</value>
+ </variable>
</includes>