Fix translations
This commit is contained in:
@@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Cartridges\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"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\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{}."
|
||||
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
|
||||
msgid "Set Location"
|
||||
msgstr ""
|
||||
|
||||
@@ -286,15 +286,15 @@ class PreferencesWindow(Adw.PreferencesWindow):
|
||||
# Bad picked location, inform user
|
||||
else:
|
||||
if location_name == "cache":
|
||||
title = "Cache directory not found"
|
||||
subtitle_format = "Select the {} cache directory."
|
||||
title = _("Cache directory not found")
|
||||
subtitle_format = _("Select the {} cache directory.")
|
||||
else:
|
||||
title = "Installation directory not found"
|
||||
subtitle_format = "Select the {} installation directory."
|
||||
title = _("Installation directory not found")
|
||||
subtitle_format = _("Select the {} installation directory.")
|
||||
dialog = create_dialog(
|
||||
self,
|
||||
_(title),
|
||||
_(subtitle_format).format(source.name),
|
||||
title,
|
||||
subtitle_format.format(source.name),
|
||||
"choose_folder",
|
||||
_("Set Location"),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user