Merge pull request #4124 from tohojo/adv-search-fix
[civicrm-core.git] / tests / qunit / crm-translate / test.js
1 module('Translation');
2
3 test('ts()', function() {
4 equal(ts('One, two, three'), "Un, deux, trois", "We expect translations to work");
5 });
6
7 test('CRM.ts()', function() {
8 (function (ts) {
9 equal(ts('One, two, three'), "Un, deux, trois", "We expect translations to work");
10 }(CRM.ts('org.example.foo')));
11 });