Add translation comments

This commit is contained in:
kramo
2023-07-01 11:36:45 +02:00
parent 772bf30468
commit 95d47815ab
2 changed files with 12 additions and 8 deletions

View File

@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Cartridges\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-01 11:35+0200\n"
"POT-Creation-Date: 2023-07-01 11:36+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,19 +494,21 @@ msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
#: src/preferences.py:289 src/preferences.py:292
msgid "Directory not Valid"
#: src/preferences.py:289 src/preferences.py:293
msgid "Invalid Directory"
msgstr ""
#: src/preferences.py:290
#. The variable is the name of the source
#: src/preferences.py:291
msgid "Select the {} cache directory."
msgstr ""
#: src/preferences.py:293
#. The variable is the name of the source
#: src/preferences.py:295
msgid "Select the {} installation directory."
msgstr ""
#: src/preferences.py:299
#: src/preferences.py:301
msgid "Set Location"
msgstr ""

View File

@@ -286,10 +286,12 @@ class PreferencesWindow(Adw.PreferencesWindow):
# Bad picked location, inform user
else:
if location_name == "cache":
title = _("Directory not Valid")
title = _("Invalid Directory")
# The variable is the name of the source
subtitle_format = _("Select the {} cache directory.")
else:
title = _("Directory not Valid")
title = _("Invalid Directory")
# The variable is the name of the source
subtitle_format = _("Select the {} installation directory.")
dialog = create_dialog(
self,