musescore-downloader/src/i18n/en.ts

34 lines
806 B
TypeScript
Raw Normal View History

2020-11-05 05:22:15 +00:00
import { createLocale } from './utils'
2020-11-05 05:22:15 +00:00
export default createLocale({
'PROCESSING' () {
return 'Processing…' as const
},
'BTN_ERROR' () {
return '❌Download Failed!' as const
},
'DEPRECATION_NOTICE' (btnName: string) {
return `DEPRECATED!\nUse \`${btnName}\` inside \`Individual Parts\` instead.\n(This may still work. Click \`OK\` to continue.)` as const
},
'DOWNLOAD' <T extends string> (fileType: T) {
return `Download ${fileType}` as const
},
'DOWNLOAD_AUDIO' <T extends string> (fileType: T) {
return `Download ${fileType} Audio` as const
},
'IND_PARTS' () {
return 'Individual Parts' as const
},
'IND_PARTS_TOOLTIP' () {
return 'Download individual parts (BETA)' as const
},
'FULL_SCORE' () {
return 'Full score' as const
},
})