FEATURE: Allow showing site text search in selected locale (#28453)

When searching for site texts for admin using the english
version of the text, previously we would show the english
version in the results _even if_ there was another locale
translated version available when a locale was selected
from the dropdown.

This commit adds a "Only show results in selected locale"
checkbox option which will instead make it so the results
shown are in the target locale, making it easier for translators
to tell when there is actually translations vs. missing tranlsations.
This commit is contained in:
Martin Brennan
2024-08-26 11:25:36 +10:00
committed by GitHub
parent ace8db23d2
commit a16faa27cd
12 changed files with 300 additions and 57 deletions

View File

@@ -6890,6 +6890,7 @@ en:
show_overriden: "Only show overridden"
show_outdated: "Only show outdated/invalid"
show_untranslated: "Only show untranslated"
only_show_selected_locale: "Only show results in selected locale"
locale: "Language:"
more_than_50_results: "There are more than 50 results. Please refine your search."
no_results: "No matching site texts found"