12345678910111213141516171819202122 |
- /* eslint-disable @typescript-eslint/ban-ts-comment */
- import type { Locale } from '@uppy/utils/lib/Translator'
- const en_US: Locale<0 | 1> = {
- strings: {},
- pluralize(n) {
- if (n === 1) {
- return 0
- }
- return 1
- },
- }
- en_US.strings = {}
- // @ts-ignore untyped
- if (typeof Uppy !== 'undefined') {
- // @ts-ignore untyped
- globalThis.Uppy.locales.en_US = en_US
- }
- export default en_US
|