Fix translations
This commit is contained in:
@@ -8,7 +8,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Cartridges\n"
|
"Project-Id-Version: Cartridges\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2023-07-01 11:15+0200\n"
|
"POT-Creation-Date: 2023-07-01 11:30+0200\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
@@ -494,6 +494,22 @@ msgid ""
|
|||||||
"An API key is required to use SteamGridDB. You can generate one {}here{}."
|
"An API key is required to use SteamGridDB. You can generate one {}here{}."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/preferences.py:289
|
||||||
|
msgid "Cache directory not found"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/preferences.py:290
|
||||||
|
msgid "Select the {} cache directory."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/preferences.py:292
|
||||||
|
msgid "Installation directory not found"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/preferences.py:293
|
||||||
|
msgid "Select the {} installation directory."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/preferences.py:299
|
#: src/preferences.py:299
|
||||||
msgid "Set Location"
|
msgid "Set Location"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|||||||
@@ -286,15 +286,15 @@ class PreferencesWindow(Adw.PreferencesWindow):
|
|||||||
# Bad picked location, inform user
|
# Bad picked location, inform user
|
||||||
else:
|
else:
|
||||||
if location_name == "cache":
|
if location_name == "cache":
|
||||||
title = "Cache directory not found"
|
title = _("Cache directory not found")
|
||||||
subtitle_format = "Select the {} cache directory."
|
subtitle_format = _("Select the {} cache directory.")
|
||||||
else:
|
else:
|
||||||
title = "Installation directory not found"
|
title = _("Installation directory not found")
|
||||||
subtitle_format = "Select the {} installation directory."
|
subtitle_format = _("Select the {} installation directory.")
|
||||||
dialog = create_dialog(
|
dialog = create_dialog(
|
||||||
self,
|
self,
|
||||||
_(title),
|
title,
|
||||||
_(subtitle_format).format(source.name),
|
subtitle_format.format(source.name),
|
||||||
"choose_folder",
|
"choose_folder",
|
||||||
_("Set Location"),
|
_("Set Location"),
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user