Fix translations

This commit is contained in:
kramo
2023-07-01 11:30:32 +02:00
parent e7d2f58416
commit 7311015549
2 changed files with 23 additions and 7 deletions

View File

@@ -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"),
)