[FIX] web: consistent capital letters in domain selector

"All" is capitalized but not "records".
It should be consistent: either all capitalized, none, or only the first word

closes odoo/odoo#94963

Related: odoo/enterprise#28990
Signed-off-by: Pierre Rousseau (pro) <pro@odoo.com>
This commit is contained in:
Lucas Lefèvre
2022-06-30 18:52:37 +02:00
parent 09f3ff6baf
commit 579486a034
2 changed files with 2 additions and 2 deletions
@@ -8,7 +8,7 @@
t-attf-class="{{ props.className }} {{ props.readonly ? 'o_read_mode' : 'o_edit_mode'}}"
>
<t t-if="!hasNode">
<span>Match <strong>All records</strong></span>
<span>Match <strong>all records</strong></span>
<t t-if="!props.readonly">
<button
class="btn btn-sm btn-primary o_domain_add_first_node_button"
@@ -791,7 +791,7 @@ QUnit.module("Fields", (hooks) => {
},
});
assert.strictEqual(target.querySelector(".o_read_mode").textContent, "Match All records");
assert.strictEqual(target.querySelector(".o_read_mode").textContent, "Match all records");
await click(target.querySelector(".o_domain_show_selection_button"));
assert.containsOnce(