Move to smartling for translation services
This commit is contained in:
parent
620067342a
commit
5957c111cf
73 changed files with 1394 additions and 64465 deletions
|
@ -92,7 +92,7 @@ describe('getFontNameByTextScript', () => {
|
|||
it('returns the correct font names (chinese simplified)', () => {
|
||||
const text = '敏捷的棕色狐狸跳过了懒狗';
|
||||
|
||||
const actual = getFontNameByTextScript(text, 0, setupI18n('zh_CN', {}));
|
||||
const actual = getFontNameByTextScript(text, 0, setupI18n('zh-CN', {}));
|
||||
const expected = '"PingFang SC Regular", SimHei, sans-serif';
|
||||
assert.equal(actual, expected);
|
||||
});
|
||||
|
@ -100,7 +100,7 @@ describe('getFontNameByTextScript', () => {
|
|||
it('returns the correct font names (chinese traditional)', () => {
|
||||
const text = '敏捷的棕色狐狸跳過了懶狗';
|
||||
|
||||
const actual = getFontNameByTextScript(text, 0, setupI18n('zh_TW', {}));
|
||||
const actual = getFontNameByTextScript(text, 0, setupI18n('zh-TW', {}));
|
||||
const expected = '"PingFang TC Regular", "JhengHei TC Regular", sans-serif';
|
||||
assert.equal(actual, expected);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue