Steps to repeat:
1. Set up a site with base (English) and one other language (Swedish for example)
2. Visit admin/config/regional/translate/translate and search for
- String contains: "" (empty)
- Language: "Swedish"
- Search in: "Only untranslated strings"
- Limit search to: "Built-in interface"
I expect to receive a list of strings that haven't been translated into Swedish.
"No strings available."
I wanted to keep the steps to repeat fairly short, so here goes a longer description.
I'm assuming that my expectation is correct - the "Language" filter is meant to filter on target language, and in combination with the "Search in" filter we should be able to find either strings that have been translated into that language, or strings that haven't been translated into that language.
The way it currently works, the "Only untranslated strings" filter will only return strings when paired with the "English" or "All languages" settings for the Language filter. And in that case it will return "all strings that haven't been translated into any language". Which doesn't seem like a reasonable use case to me. Thus bug.
|#12||drupal-fix_searching_for_untranslated_strings-1664528-12-complete.patch||2.69 KB||Carl Johan|
PASSED: [[SimpleTest]]: [MySQL] 39,253 pass(es).
|#12||drupal-fix_searching_for_untranslated_strings-1664528-12-test.patch||1.44 KB||Carl Johan|
FAILED: [[SimpleTest]]: [MySQL] 39,222 pass(es), 16 fail(s), and 4 exception(s).
|#9||drupal-fix_searching_for_untranslated_strings-1664528-9-test.patch||1002 bytes||Carl Johan|
FAILED: [[SimpleTest]]: [MySQL] 39,224 pass(es), 16 fail(s), and 4 exception(s).
|#9||drupal-fix_searching_for_untranslated_strings-1664528-9-complete.patch||2.23 KB||Carl Johan|
PASSED: [[SimpleTest]]: [MySQL] 39,242 pass(es).
|#6||drupal-fix_searching_for_untranslated_strings-1664528-6.patch||1.25 KB||Carl Johan|
PASSED: [[SimpleTest]]: [MySQL] 39,209 pass(es).