You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
session-desktop/ts/test/session/unit/utils/i18n/util.ts

18 lines
418 B
TypeScript

import { setupI18n } from '../../../../../util/i18n/i18n';
export const testDictionary = {
greeting: 'Hello, {name}!',
search: '{found_count} of {count} match',
noArgs: 'No args',
args: 'Hello, {name}!',
tag: 'Hello, {name}! <b>Welcome!</b>',
argInTag: 'Hello, {name}! <b>Welcome, {arg}!</b>',
} as const;
export function initI18n() {
return setupI18n({
// testing
crowdinLocale: 'en',
});
}