Skip to content

Commit 298a88a

Browse files
strings.po cosmetic changes
1 parent fa0f39e commit 298a88a

File tree

3 files changed

+21
-4
lines changed

3 files changed

+21
-4
lines changed

lib/inputstreamhelper.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ def _update_widevine(self):
566566
if LooseVersion(latest_version) > LooseVersion(current_version):
567567
self._log('There is an update available for {0}'.format(component))
568568
dialog = xbmcgui.Dialog()
569-
if dialog.yesno(LANGUAGE(30001), LANGUAGE(30033), yeslabel=LANGUAGE(30034), nolabel=LANGUAGE(30028)):
569+
if dialog.yesno(LANGUAGE(30040), LANGUAGE(30033), yeslabel=LANGUAGE(30034), nolabel=LANGUAGE(30028)):
570570
self._install_widevine()
571571
else:
572572
self._log('User declined to update {0}.'.format(component))
@@ -733,7 +733,7 @@ def _check_drm(self):
733733
if self.drm == 'widevine':
734734
if not self._has_widevine():
735735
dialog = xbmcgui.Dialog()
736-
if dialog.yesno(LANGUAGE(30001), LANGUAGE(30002), yeslabel=LANGUAGE(30038), nolabel=LANGUAGE(30028)):
736+
if dialog.yesno(LANGUAGE(30041), LANGUAGE(30002), yeslabel=LANGUAGE(30038), nolabel=LANGUAGE(30028)):
737737
return self._install_widevine()
738738
else:
739739
return False
@@ -755,6 +755,7 @@ def check_inputstream(self):
755755
else:
756756
return False
757757
self._log('{0} {1} is installed and enabled.'.format(self.inputstream_addon, self._inputstream_version()))
758+
dialog = xbmcgui.Dialog()
758759
if self.protocol == 'hls' and not self._supports_hls():
759760
dialog.ok(LANGUAGE(30004),
760761
LANGUAGE(30017).format(self.inputstream_addon, config.HLS_MINIMUM_IA_VERSION))

resources/language/resource.language.de_de/strings.po

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,3 +168,11 @@ msgstr ""
168168
msgctxt "#30039"
169169
msgid "[B]Widevine CDM[/B] is currently not available natively on ARM64. Please switch to a 32-bit userspace for [B]Widevine CDM[/B] support."
170170
msgstr ""
171+
172+
msgctxt "#30040"
173+
msgid "Update available"
174+
msgstr ""
175+
176+
msgctxt "#30041"
177+
msgid "Widevine CDM is required"
178+
msgstr ""

resources/language/resource.language.en_gb/strings.po

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ msgid "Information"
1818
msgstr ""
1919

2020
msgctxt "#30002"
21-
msgid "This content is DRM protected and requires the proprietary decryption module [B]Widevine CDM[/B] for playback."
21+
msgid "This add-on relies on the proprietary decryption module [B]Widevine CDM[/B] for playback."
2222
msgstr ""
2323

2424
msgctxt "#30003"
@@ -142,7 +142,7 @@ msgid "Your system is missing the following libraries required by Widevine CDM:
142142
msgstr ""
143143

144144
msgctxt "#30033"
145-
msgid "There is an update available for [B]Widevine CDM[/B].[CR][CR]Do you want to install the update?"
145+
msgid "There is an update available for [B]Widevine CDM[/B]."
146146
msgstr ""
147147

148148
msgctxt "#30034"
@@ -168,3 +168,11 @@ msgstr ""
168168
msgctxt "#30039"
169169
msgid "[B]Widevine CDM[/B] is currently not available natively on ARM64. Please switch to a 32-bit userspace for [B]Widevine CDM[/B] support."
170170
msgstr ""
171+
172+
msgctxt "#30040"
173+
msgid "Update available"
174+
msgstr ""
175+
176+
msgctxt "#30041"
177+
msgid "Widevine CDM is required"
178+
msgstr ""

0 commit comments

Comments
 (0)