Skip to content

Commit

Permalink
[ButtonSetup.py] add teletext_long
Browse files Browse the repository at this point in the history
  • Loading branch information
hd75hd committed Apr 3, 2021
1 parent 9d1772f commit 990c01f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
5 changes: 3 additions & 2 deletions data/keymap.ntr
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@
</map>

<map context="InfobarTeletextActions">
<key id="KEY_TEXT" mapto="startTeletext" flags="m" />
<key id="KEY_TEXT" mapto="startTeletext" flags="b" />
</map>

<map context="TeletextActions">
Expand Down Expand Up @@ -993,7 +993,8 @@
<key id="KEY_RADIO" mapto="radio" flags="b"/>
<key id="KEY_RADIO" mapto="radio_long" flags="l"/>
<key id="KEY_TV" mapto="showTv" flags="b"/>
<key id="KEY_TEXT" mapto="text" flags="m"/>
<key id="KEY_TEXT" mapto="text" flags="b" />
<key id="KEY_TEXT" mapto="text_long" flags="l" />
<key id="KEY_HELP" mapto="displayHelp" flags="b"/>
<key id="KEY_HELP" mapto="displayHelp_long" flags="l"/>
<key id="KEY_SUBTITLE" mapto="subtitle" flags="b"/>
Expand Down
5 changes: 3 additions & 2 deletions data/keymap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@
</map>

<map context="InfobarTeletextActions">
<key id="KEY_TEXT" mapto="startTeletext" flags="m" />
<key id="KEY_TEXT" mapto="startTeletext" flags="b" />
</map>

<map context="TeletextActions">
Expand Down Expand Up @@ -1102,7 +1102,8 @@
<key id="KEY_RADIO" mapto="radio" flags="b" />
<key id="KEY_RADIO" mapto="radio_long" flags="l" />
<key id="KEY_TV" mapto="showTv" flags="b" />
<key id="KEY_TEXT" mapto="text" flags="m" />
<key id="KEY_TEXT" mapto="text" flags="b" />
<key id="KEY_TEXT" mapto="text_long" flags="l" />
<key id="KEY_HELP" mapto="displayHelp" flags="b" />
<key id="KEY_HELP" mapto="displayHelp_long" flags="l" />
<key id="KEY_SUBTITLE" mapto="subtitle" flags="b" />
Expand Down
1 change: 1 addition & 0 deletions lib/python/Screens/ButtonSetup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ def getButtonSetupKeys():
(_("Rec"), "rec", ""),
(_("Rec long"), "rec_long", ""),
(_("Teletext"), "text", ""),
(_("Teletext long"), "text_long", ""),
(_("Help"), "displayHelp", ""),
(_("Help long"), "displayHelp_long", ""),
(_("Subtitle"), "subtitle", ""),
Expand Down
3 changes: 3 additions & 0 deletions po/de.po
Original file line number Diff line number Diff line change
Expand Up @@ -22214,6 +22214,9 @@ msgstr ""
msgid "Teletext"
msgstr "Videotext"

msgid "Teletext long"
msgstr "Videotext lang"

#: setup.xml
msgid "Teletext CleanAlgo (resolution reset algorithm)"
msgstr "Videotext CleanAlgo (Algorithmus zum Rücksetzen der Auflösung)"
Expand Down

0 comments on commit 990c01f

Please sign in to comment.