Skip to content

Commit

Permalink
Show status for ended or cancelled shows
Browse files Browse the repository at this point in the history
  • Loading branch information
Hitcher committed Jul 18, 2024
1 parent b7abc13 commit bdcfc0f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 9 additions & 1 deletion language/resource.language.en_gb/strings.po
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,15 @@ msgctxt "#31194"
msgid "Submit"
msgstr ""

#empty strings from id 31195 to 31197
msgctxt "#31195"
msgid "Ended"
msgstr ""

msgctxt "#31196"
msgid "Cancelled"
msgstr ""

#empty string with id 31197

msgctxt "#31198"
msgid "View Type"
Expand Down
2 changes: 2 additions & 0 deletions xml/Includes_Variables.xml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@
<value condition="Window.IsVisible(10032)">(interfacesettings)</value>
</variable>
<variable name="AiredPrefix">
<value condition="String.IsEqual(ListItem.Status,ended)">$LOCALIZE[31195]:</value>
<value condition="String.IsEqual(ListItem.Status,canceled)">$LOCALIZE[31196]:</value>
<value condition="!String.IsEmpty(Container(99950).ListItem.Property(Next_Aired.Custom))">$LOCALIZE[31073]:</value>
<value condition="!String.IsEmpty(Container(99950).ListItem.Property(Last_Aired.Custom))">$LOCALIZE[31082]:</value>
</variable>
Expand Down

0 comments on commit bdcfc0f

Please sign in to comment.