2023-10-22 20:18:12 +03:00
|
|
|
{{emit_if (and (not features.typescript) features.i18n)}}
|
|
|
|
|
|
|
|
import { createMtcuteI18n } from '@mtcute/i18n'
|
2024-06-24 00:20:10 +03:00
|
|
|
|
|
|
|
{{#if (eq runtime "node")}}
|
2023-10-22 20:18:12 +03:00
|
|
|
import { en } from './en.js'
|
|
|
|
import { ru } from './ru.js'
|
2024-06-24 00:20:10 +03:00
|
|
|
{{else}}
|
|
|
|
import { en } from './en.ts'
|
|
|
|
import { ru } from './ru.ts'
|
|
|
|
{{/if}}
|
2023-10-22 20:18:12 +03:00
|
|
|
|
|
|
|
export const tr = createMtcuteI18n({
|
|
|
|
primaryLanguage: {
|
|
|
|
name: 'en',
|
|
|
|
strings: en,
|
|
|
|
},
|
|
|
|
otherLanguages: { ru }
|
|
|
|
})
|