diff --git a/po/cartridges.pot b/po/cartridges.pot index a176789..51141b0 100644 --- a/po/cartridges.pot +++ b/po/cartridges.pot @@ -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 \n" "Language-Team: LANGUAGE \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 "" diff --git a/src/preferences.py b/src/preferences.py index d42443f..5db7667 100644 --- a/src/preferences.py +++ b/src/preferences.py @@ -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"), )