3 test('ts()', function() {
4 equal(ts('Lexicographical enigma'), "Lexicographical enigma", "If a string has no translation, pass it through");
5 equal(ts('One, two, three'), "Un, deux, trois", "We expect translations to work");
6 equal(ts('I know'), "Je sais", "We expect translations to work");
9 test('CRM.ts()', function() {
11 equal(ts('Lexicographical enigma'), "Lexicographical enigma", "If a string has no translation, pass it through");
12 equal(ts('One, two, three'), "Un, deux, trois", "Fallback to translations from default domain");
13 equal(ts('I know'), "Je connais", "We expect translations to work");
14 }(CRM
.ts('org.example.foo')));