Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

option tagline "video info dialog" added (In Skin-Settings) #213

Merged
merged 2 commits into from May 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion 1080i/Includes.xml
Expand Up @@ -2012,7 +2012,7 @@
<height>36</height>
<font>Tiny</font>
<textcolor>Dark1</textcolor>
<label fallback="19055">$VAR[LabelWIPDialogVideoInfoTagline]</label>
<label>$VAR[LabelWIPDialogVideoInfoTagline]</label>
<aligny>center</aligny>
</control>
</include>
Expand Down
11 changes: 9 additions & 2 deletions 1080i/Includes_Labels.xml
Expand Up @@ -1356,8 +1356,9 @@
<value condition="Window.IsVisible(script-embuary-video.xml)">$INFO[Container(10051).ListItem.Tagline]</value>
<value condition="String.IsEqual(Window.Property(moviecontent),3)">$INFO[ListItem.Genre]</value>
<value condition="String.IsEqual(Window.Property(moviecontent),2)">$INFO[ListItem.Genre]</value>
<value condition="String.IsEmpty(Window.Property(moviecontent))">$INFO[ListItem.Tagline]</value>
<value>$INFO[ListItem.Tagline]</value>
<value condition="String.IsEmpty(Window.Property(moviecontent) + !String.IsEmpty(ListItem.Tagline) + !Skin.HasSetting(show.tagline.never) + !Skin.HasSetting(show.tagline.notempty))">$INFO[ListItem.Tagline]</value>
<value condition="!String.IsEmpty(ListItem.Tagline) + !Skin.HasSetting(show.tagline.never) + !Skin.HasSetting(show.tagline.notempty)">$INFO[ListItem.Tagline]</value>
<value condition="String.IsEmpty(ListItem.Tagline) + !Skin.HasSetting(show.tagline.never) + !Skin.HasSetting(show.tagline.notempty)">$LOCALIZE[19055]</value>
</variable>

<variable name="ListInfoUpdatingLabel">
Expand Down Expand Up @@ -1457,6 +1458,12 @@
<value>$LOCALIZE[37799]</value>
</variable>

<variable name="InfoTypeLabelTagline">
<value condition="Skin.HasSetting(show.tagline.notempty)">$LOCALIZE[37996]</value>
<value condition="Skin.HasSetting(show.tagline.never)">$LOCALIZE[37997]</value>
<value>$LOCALIZE[37643]</value>
</variable>

<variable name="OSDMusicTypeLabel">
<value condition="Skin.HasSetting(osd.usethemeNewOSDMusic)">$LOCALIZE[37738]</value>
<value>$LOCALIZE[10037]</value>
Expand Down
10 changes: 10 additions & 0 deletions 1080i/SkinSettings.xml
Expand Up @@ -1086,6 +1086,16 @@
<onclick condition="Skin.HasSetting(show.clearart)">Skin.Reset(show.clearart)</onclick>
<onclick condition="Skin.HasSetting(show.studiologos)">Skin.Reset(show.studiologos)</onclick>
</control>
<control type="button" id="9312" description="SELECT TAGLINE">
<include>DefSettingsButtonGradient</include>
<visible>ControlGroup(9100).HasFocus(9109)</visible>
<label>202</label>
<label2>$VAR[InfoTypeLabelTagline]</label2>
<onclick condition="!Skin.HasSetting(show.tagline.never) + !Skin.HasSetting(show.tagline.notempty)">Skin.ToggleSetting(show.tagline.notempty)</onclick>
<onclick condition="Skin.HasSetting(show.tagline.notempty)">Skin.ToggleSetting(show.tagline.never)</onclick>
<onclick condition="Skin.HasSetting(show.tagline.notempty)">Skin.Reset(show.tagline.notempty)</onclick>
<onclick condition="Skin.HasSetting(show.tagline.never)">Skin.Reset(show.tagline.never)</onclick>
</control>
<control type="button" id="9319">
<visible>ControlGroup(9100).HasFocus(9109)</visible>
<include>DefSettingsLabel</include>
Expand Down
8 changes: 8 additions & 0 deletions language/English/strings.po
Expand Up @@ -2690,6 +2690,14 @@ msgctxt "#37994"
msgid "Override play function with TMDB helper play function"
msgstr ""

msgctxt "#37996"
msgid "Show, if not empty"
msgstr ""

msgctxt "#37997"
msgid "Hide"
msgstr ""

msgctxt "#31001"
msgid "Backup / Restore"
msgstr "Backup / Restore"
Expand Down