This repository has been archived on 2025-03-19. You can view files and clone it, but cannot push or open issues or pull requests.
feishin/src/renderer/features/shared/utils.ts
Jeff 8430b1ec95
Add localization support (#333)
* Add updated i18n config and en locale
2023-10-30 19:22:45 -07:00

17 lines
439 B
TypeScript

import i18n from '/@/i18n/i18n';
import { Play } from '/@/renderer/types';
export const PLAY_TYPES = [
{
label: i18n.t('player.play', { postProcess: 'sentenceCase' }),
play: Play.NOW,
},
{
label: i18n.t('player.addLast', { postProcess: 'sentenceCase' }),
play: Play.LAST,
},
{
label: i18n.t('player.addNext', { postProcess: 'sentenceCase' }),
play: Play.NEXT,
},
];