Update error string

This commit is contained in:
kramo
2023-06-26 12:01:14 +02:00
parent 18858edcd4
commit 08da6b8e3f
2 changed files with 5 additions and 5 deletions

View File

@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Cartridges\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-06-26 11:37+0200\n"
"POT-Creation-Date: 2023-06-26 12:01+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -501,13 +501,13 @@ msgstr ""
msgid "Configuration"
msgstr ""
#. The variables are the type of location (eg. cache) and the source's name
#. The variables are the type of location (eg. cache) and the source's name (eg. Steam)
#: src/importer/sources/source.py:119
msgid "Invalid {} Location for {{}}"
msgstr ""
#: src/importer/sources/source.py:120
msgid "Change it or disable the source in preferences"
msgid "Pick a new one or disable the source in preferences"
msgstr ""
#: src/store/managers/sgdb_manager.py:47

View File

@@ -115,9 +115,9 @@ class Source(Iterable):
location.resolve()
except UnresolvableLocationError as error:
raise FriendlyError(
# The variables are the type of location (eg. cache) and the source's name
# The variables are the type of location (eg. cache) and the source's name (eg. Steam)
_("Invalid {} Location for {{}}").format(locations[location_name]),
_("Change it or disable the source in preferences"),
_("Pick a new one or disable the source in preferences"),
(self.name,),
(self.name,),
) from error