mirror of
https://github.com/nexu-io/open-design.git
synced 2026-06-01 03:14:35 +07:00
35 lines
963 B
TypeScript
35 lines
963 B
TypeScript
import { describe, expect, it } from 'vitest';
|
|
|
|
import { de } from '../../src/i18n/locales/de';
|
|
import { en } from '../../src/i18n/locales/en';
|
|
import { esES } from '../../src/i18n/locales/es-ES';
|
|
import { fa } from '../../src/i18n/locales/fa';
|
|
import { fr } from '../../src/i18n/locales/fr';
|
|
import { id } from '../../src/i18n/locales/id';
|
|
import { ja } from '../../src/i18n/locales/ja';
|
|
import { ptBR } from '../../src/i18n/locales/pt-BR';
|
|
import { ru } from '../../src/i18n/locales/ru';
|
|
import { zhCN } from '../../src/i18n/locales/zh-CN';
|
|
import { zhTW } from '../../src/i18n/locales/zh-TW';
|
|
|
|
const LOCALE_DICTS = {
|
|
de,
|
|
en,
|
|
esES,
|
|
fa,
|
|
fr,
|
|
id,
|
|
ja,
|
|
ptBR,
|
|
ru,
|
|
zhCN,
|
|
zhTW,
|
|
};
|
|
|
|
describe('Design Files agent copy', () => {
|
|
it('uses neutral agent wording in shared helper text', () => {
|
|
for (const [locale, dict] of Object.entries(LOCALE_DICTS)) {
|
|
expect(dict['designFiles.dropDesc'], locale).not.toMatch(/claude/i);
|
|
}
|
|
});
|
|
});
|