Merge remote-tracking branch 'upstream/4.4' into 4.4-master-2014-06-23-18-25-12
[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 });