Simplify error message

- Fixes #435
This commit is contained in:
Croneter 2018-03-22 17:25:21 +01:00
parent 1a7ac665db
commit baf60c2cc8
2 changed files with 5 additions and 9 deletions

View file

@ -1428,12 +1428,9 @@ msgctxt "#39030"
msgid "Add network credentials to allow Kodi access to your content? Note: Skipping this step may generate a message during the initial scan of your content if Kodi can't locate your content."
msgstr ""
# Error message displayed when verifying Direct Path sync paths passed by Plex
msgctxt "#39031"
msgid "Kodi can't locate file: "
msgstr ""
msgctxt "#39032"
msgid "Please verify the path. You may need to verify your network credentials in the add-on settings or use different Plex paths. Stop syncing?"
msgid "Kodi cannot locate the file %s. Please verify your PKC settings. Stop syncing?"
msgstr ""
msgctxt "#39033"

View file

@ -1540,10 +1540,9 @@ class API(object):
Returns True if sync should stop, else False
"""
LOG.warn('Cannot access file: %s', url)
resp = dialog('yesno',
heading=lang(29999),
line1=lang(39031) + url,
line2=lang(39032))
# Kodi cannot locate the file #s. Please verify your PKC settings. Stop
# syncing?
resp = dialog('yesno', heading='{plex}', line1=lang(39031) % url)
return resp
def set_listitem_artwork(self, listitem):