Example #1
0
            'the locale messages are set and changed.', function() {
            i18n.setLanguage('en');
            expect(i18n.get('display.noData')).toBe('No data.');

            i18n.setLanguage('ko');
            expect(i18n.get('display.noData')).toBe('데이터가 존재하지 않습니다.');
        });
Example #2
0
     'the locale messages are set and changed.', function() {
     i18n.setLanguage('fr', {
         display: {
             noData: 'empty2'
         }
     });
     expect(i18n.get('display.noData')).toBe('empty2');
 });