mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-17 16:50:22 +00:00
@uppy/locales: remove hacks for legacy bundle (#5200)
This commit is contained in:
parent
49f7c91a8e
commit
8650bdb9d0
41 changed files with 0 additions and 288 deletions
|
|
@ -137,11 +137,4 @@ ar_SA.strings = {
|
|||
openFolderNamed: '%{name} افتح المجلد',
|
||||
}
|
||||
|
||||
// TODO: remove this in the next major?
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
if (typeof Uppy !== 'undefined') {
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
globalThis.Uppy.locales.ar_SA = ar_SA
|
||||
}
|
||||
|
||||
export default ar_SA
|
||||
|
|
|
|||
|
|
@ -166,11 +166,4 @@ bg_BG.strings = {
|
|||
},
|
||||
}
|
||||
|
||||
// TODO: remove this in the next major?
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
if (typeof Uppy !== 'undefined') {
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
globalThis.Uppy.locales.bg_BG = bg_BG
|
||||
}
|
||||
|
||||
export default bg_BG
|
||||
|
|
|
|||
|
|
@ -232,11 +232,4 @@ ca_ES.strings = {
|
|||
unselectFileNamed: 'Desselecciona arxiu %{name}',
|
||||
}
|
||||
|
||||
// TODO: remove this in the next major?
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
if (typeof Uppy !== 'undefined') {
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
globalThis.Uppy.locales.ca_ES = ca_ES
|
||||
}
|
||||
|
||||
export default ca_ES
|
||||
|
|
|
|||
|
|
@ -162,11 +162,4 @@ cs_CZ.strings = {
|
|||
},
|
||||
}
|
||||
|
||||
// TODO: remove this in the next major?
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
if (typeof Uppy !== 'undefined') {
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
globalThis.Uppy.locales.cs_CZ = cs_CZ
|
||||
}
|
||||
|
||||
export default cs_CZ
|
||||
|
|
|
|||
|
|
@ -143,11 +143,4 @@ da_DK.strings = {
|
|||
},
|
||||
}
|
||||
|
||||
// TODO: remove this in the next major?
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
if (typeof Uppy !== 'undefined') {
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
globalThis.Uppy.locales.da_DK = da_DK
|
||||
}
|
||||
|
||||
export default da_DK
|
||||
|
|
|
|||
|
|
@ -213,11 +213,4 @@ de_DE.strings = {
|
|||
zoomOut: 'Verkleinern',
|
||||
}
|
||||
|
||||
// TODO: remove this in the next major?
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
if (typeof Uppy !== 'undefined') {
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
globalThis.Uppy.locales.de_DE = de_DE
|
||||
}
|
||||
|
||||
export default de_DE
|
||||
|
|
|
|||
|
|
@ -147,11 +147,4 @@ el_GR.strings = {
|
|||
},
|
||||
}
|
||||
|
||||
// TODO: remove this in the next major?
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
if (typeof Uppy !== 'undefined') {
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
globalThis.Uppy.locales.el_GR = el_GR
|
||||
}
|
||||
|
||||
export default el_GR
|
||||
|
|
|
|||
|
|
@ -227,11 +227,4 @@ en_US.strings = {
|
|||
zoomOut: 'Zoom out',
|
||||
}
|
||||
|
||||
// TODO: remove this in the next major?
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
if (typeof Uppy !== 'undefined') {
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
globalThis.Uppy.locales.en_US = en_US
|
||||
}
|
||||
|
||||
export default en_US
|
||||
|
|
|
|||
|
|
@ -235,11 +235,4 @@ es_ES.strings = {
|
|||
unselectFileNamed: 'Deseleccionar archivo %{name}',
|
||||
}
|
||||
|
||||
// TODO: remove this in the next major?
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
if (typeof Uppy !== 'undefined') {
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
globalThis.Uppy.locales.es_ES = es_ES
|
||||
}
|
||||
|
||||
export default es_ES
|
||||
|
|
|
|||
|
|
@ -200,11 +200,4 @@ es_MX.strings = {
|
|||
zoomOut: 'Alejar',
|
||||
}
|
||||
|
||||
// TODO: remove this in the next major?
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
if (typeof Uppy !== 'undefined') {
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
globalThis.Uppy.locales.es_MX = es_MX
|
||||
}
|
||||
|
||||
export default es_MX
|
||||
|
|
|
|||
|
|
@ -223,11 +223,3 @@ fa_IR.strings = {
|
|||
zoomIn: 'بزرگنمایی',
|
||||
zoomOut: 'کوچکنمایی',
|
||||
}
|
||||
|
||||
// TODO: remove this in the next major?
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
if (typeof Uppy !== 'undefined') {
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
globalThis.Uppy.locales.fa_IR = fa_IR
|
||||
}
|
||||
export default fa_IR
|
||||
|
|
|
|||
|
|
@ -148,11 +148,4 @@ fi_FI.strings = {
|
|||
recording: 'Tallennetaan',
|
||||
}
|
||||
|
||||
// TODO: remove this in the next major?
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
if (typeof Uppy !== 'undefined') {
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
globalThis.Uppy.locales.fi_FI = fi_FI
|
||||
}
|
||||
|
||||
export default fi_FI
|
||||
|
|
|
|||
|
|
@ -172,11 +172,4 @@ fr_FR.strings = {
|
|||
},
|
||||
}
|
||||
|
||||
// TODO: remove this in the next major?
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
if (typeof Uppy !== 'undefined') {
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
globalThis.Uppy.locales.fr_FR = fr_FR
|
||||
}
|
||||
|
||||
export default fr_FR
|
||||
|
|
|
|||
|
|
@ -145,11 +145,4 @@ gl_ES.strings = {
|
|||
openFolderNamed: 'Cartafol aberto %{name}',
|
||||
}
|
||||
|
||||
// TODO: remove this in the next major?
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
if (typeof Uppy !== 'undefined') {
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
globalThis.Uppy.locales.gl_ES = gl_ES
|
||||
}
|
||||
|
||||
export default gl_ES
|
||||
|
|
|
|||
|
|
@ -141,11 +141,4 @@ he_IL.strings = {
|
|||
},
|
||||
}
|
||||
|
||||
// TODO: remove this in the next major?
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
if (typeof Uppy !== 'undefined') {
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
globalThis.Uppy.locales.he_IL = he_IL
|
||||
}
|
||||
|
||||
export default he_IL
|
||||
|
|
|
|||
|
|
@ -196,11 +196,4 @@ hi_IN.strings = {
|
|||
zoomOut: 'ज़ूम आउट',
|
||||
}
|
||||
|
||||
// TODO: remove this in the next major?
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
if (typeof Uppy !== 'undefined') {
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
globalThis.Uppy.locales.hi_IN = hi_IN
|
||||
}
|
||||
|
||||
export default hi_IN
|
||||
|
|
|
|||
|
|
@ -145,11 +145,4 @@ hr_HR.strings = {
|
|||
openFolderNamed: 'Otvori mapu %{name}',
|
||||
}
|
||||
|
||||
// TODO: remove this in the next major?
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
if (typeof Uppy !== 'undefined') {
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
globalThis.Uppy.locales.hr_HR = hr_HR
|
||||
}
|
||||
|
||||
export default hr_HR
|
||||
|
|
|
|||
|
|
@ -107,11 +107,4 @@ hu_HU.strings = {
|
|||
openFolderNamed: 'Nyitott mappa %{name}',
|
||||
}
|
||||
|
||||
// TODO: remove this in the next major?
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
if (typeof Uppy !== 'undefined') {
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
globalThis.Uppy.locales.hu_HU = hu_HU
|
||||
}
|
||||
|
||||
export default hu_HU
|
||||
|
|
|
|||
|
|
@ -142,11 +142,4 @@ id_ID.strings = {
|
|||
},
|
||||
}
|
||||
|
||||
// TODO: remove this in the next major?
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
if (typeof Uppy !== 'undefined') {
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
globalThis.Uppy.locales.id_ID = id_ID
|
||||
}
|
||||
|
||||
export default id_ID
|
||||
|
|
|
|||
|
|
@ -147,11 +147,4 @@ is_IS.strings = {
|
|||
},
|
||||
}
|
||||
|
||||
// TODO: remove this in the next major?
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
if (typeof Uppy !== 'undefined') {
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
globalThis.Uppy.locales.is_IS = is_IS
|
||||
}
|
||||
|
||||
export default is_IS
|
||||
|
|
|
|||
|
|
@ -141,11 +141,4 @@ it_IT.strings = {
|
|||
openFolderNamed: 'Cartella aperta %{name}',
|
||||
}
|
||||
|
||||
// TODO: remove this in the next major?
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
if (typeof Uppy !== 'undefined') {
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
globalThis.Uppy.locales.it_IT = it_IT
|
||||
}
|
||||
|
||||
export default it_IT
|
||||
|
|
|
|||
|
|
@ -150,11 +150,4 @@ ja_JP.strings = {
|
|||
openFolderNamed: '開いたフォルダ %{name}',
|
||||
}
|
||||
|
||||
// TODO: remove this in the next major?
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
if (typeof Uppy !== 'undefined') {
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
globalThis.Uppy.locales.ja_JP = ja_JP
|
||||
}
|
||||
|
||||
export default ja_JP
|
||||
|
|
|
|||
|
|
@ -110,11 +110,4 @@ ko_KR.strings = {
|
|||
youHaveToAtLeastSelectX: '최소 %{smart_count}개의 파일을 선택해야 합니다',
|
||||
}
|
||||
|
||||
// TODO: remove this in the next major?
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
if (typeof Uppy !== 'undefined') {
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
globalThis.Uppy.locales.ko_KR = ko_KR
|
||||
}
|
||||
|
||||
export default ko_KR
|
||||
|
|
|
|||
|
|
@ -177,11 +177,4 @@ nb_NO.strings = {
|
|||
zoomOut: 'Zoom ut',
|
||||
}
|
||||
|
||||
// TODO: remove this in the next major?
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
if (typeof Uppy !== 'undefined') {
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
globalThis.Uppy.locales.nb_NO = nb_NO
|
||||
}
|
||||
|
||||
export default nb_NO
|
||||
|
|
|
|||
|
|
@ -215,11 +215,4 @@ nl_NL.strings = {
|
|||
zoomOut: 'Zoom uit',
|
||||
}
|
||||
|
||||
// TODO: remove this in the next major?
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
if (typeof Uppy !== 'undefined') {
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
globalThis.Uppy.locales.nl_NL = nl_NL
|
||||
}
|
||||
|
||||
export default nl_NL
|
||||
|
|
|
|||
|
|
@ -153,11 +153,4 @@ pl_PL.strings = {
|
|||
},
|
||||
}
|
||||
|
||||
// TODO: remove this in the next major?
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
if (typeof Uppy !== 'undefined') {
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
globalThis.Uppy.locales.pl_PL = pl_PL
|
||||
}
|
||||
|
||||
export default pl_PL
|
||||
|
|
|
|||
|
|
@ -151,11 +151,4 @@ pt_BR.strings = {
|
|||
openFolderNamed: 'Pasta aberta %{name}',
|
||||
}
|
||||
|
||||
// TODO: remove this in the next major?
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
if (typeof Uppy !== 'undefined') {
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
globalThis.Uppy.locales.pt_BR = pt_BR
|
||||
}
|
||||
|
||||
export default pt_BR
|
||||
|
|
|
|||
|
|
@ -142,11 +142,4 @@ pt_PT.strings = {
|
|||
openFolderNamed: 'Pasta aberta %{name}',
|
||||
}
|
||||
|
||||
// TODO: remove this in the next major?
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
if (typeof Uppy !== 'undefined') {
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
globalThis.Uppy.locales.pt_PT = pt_PT
|
||||
}
|
||||
|
||||
export default pt_PT
|
||||
|
|
|
|||
|
|
@ -156,11 +156,4 @@ ro_RO.strings = {
|
|||
},
|
||||
}
|
||||
|
||||
// TODO: remove this in the next major?
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
if (typeof Uppy !== 'undefined') {
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
globalThis.Uppy.locales.ro_RO = ro_RO
|
||||
}
|
||||
|
||||
export default ro_RO
|
||||
|
|
|
|||
|
|
@ -255,11 +255,4 @@ ru_RU.strings = {
|
|||
zoomOut: 'Отдалить',
|
||||
}
|
||||
|
||||
// TODO: remove this in the next major?
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
if (typeof Uppy !== 'undefined') {
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
globalThis.Uppy.locales.ru_RU = ru_RU
|
||||
}
|
||||
|
||||
export default ru_RU
|
||||
|
|
|
|||
|
|
@ -179,11 +179,4 @@ sk_SK.strings = {
|
|||
zoomOut: 'Oddialiť',
|
||||
}
|
||||
|
||||
// TODO: remove this in the next major?
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
if (typeof Uppy !== 'undefined') {
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
globalThis.Uppy.locales.sk_SK = sk_SK
|
||||
}
|
||||
|
||||
export default sk_SK
|
||||
|
|
|
|||
|
|
@ -145,11 +145,4 @@ sr_RS_Cyrillic.strings = {
|
|||
openFolderNamed: 'Отвори фолдер %{name}',
|
||||
}
|
||||
|
||||
// TODO: remove this in the next major?
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
if (typeof Uppy !== 'undefined') {
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
globalThis.Uppy.locales.sr_RS_Cyrillic = sr_RS_Cyrillic
|
||||
}
|
||||
|
||||
export default sr_RS_Cyrillic
|
||||
|
|
|
|||
|
|
@ -145,11 +145,4 @@ sr_RS_Latin.strings = {
|
|||
openFolderNamed: 'Otvori folder %{name}',
|
||||
}
|
||||
|
||||
// TODO: remove this in the next major?
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
if (typeof Uppy !== 'undefined') {
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
globalThis.Uppy.locales.sr_RS_Latin = sr_RS_Latin
|
||||
}
|
||||
|
||||
export default sr_RS_Latin
|
||||
|
|
|
|||
|
|
@ -145,11 +145,4 @@ sv_SE.strings = {
|
|||
},
|
||||
}
|
||||
|
||||
// TODO: remove this in the next major?
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
if (typeof Uppy !== 'undefined') {
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
globalThis.Uppy.locales.sv_SE = sv_SE
|
||||
}
|
||||
|
||||
export default sv_SE
|
||||
|
|
|
|||
|
|
@ -170,11 +170,4 @@ th_TH.strings = {
|
|||
zoomOut: 'ซูมออก',
|
||||
}
|
||||
|
||||
// TODO: remove this in the next major?
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
if (typeof Uppy !== 'undefined') {
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
globalThis.Uppy.locales.th_TH = th_TH
|
||||
}
|
||||
|
||||
export default th_TH
|
||||
|
|
|
|||
|
|
@ -143,11 +143,4 @@ tr_TR.strings = {
|
|||
openFolderNamed: 'Açık dosya %{name}',
|
||||
}
|
||||
|
||||
// TODO: remove this in the next major?
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
if (typeof Uppy !== 'undefined') {
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
globalThis.Uppy.locales.tr_TR = tr_TR
|
||||
}
|
||||
|
||||
export default tr_TR
|
||||
|
|
|
|||
|
|
@ -241,11 +241,4 @@ uk_UA.strings = {
|
|||
zoomOut: 'Зменшити',
|
||||
}
|
||||
|
||||
// TODO: remove this in the next major?
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
if (typeof Uppy !== 'undefined') {
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
globalThis.Uppy.locales.uk_UA = uk_UA
|
||||
}
|
||||
|
||||
export default uk_UA
|
||||
|
|
|
|||
|
|
@ -224,11 +224,4 @@ uz_UZ.strings = {
|
|||
zoomOut: 'Kichraytirish',
|
||||
}
|
||||
|
||||
// TODO: remove this in the next major?
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
if (typeof Uppy !== 'undefined') {
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
globalThis.Uppy.locales.uz_UZ = uz_UZ
|
||||
}
|
||||
|
||||
export default uz_UZ
|
||||
|
|
|
|||
|
|
@ -227,11 +227,4 @@ vi_VN.strings = {
|
|||
zoomOut: 'Thu nhỏ',
|
||||
}
|
||||
|
||||
// TODO: remove this in the next major?
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
if (typeof Uppy !== 'undefined') {
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
globalThis.Uppy.locales.vi_VN = vi_VN
|
||||
}
|
||||
|
||||
export default vi_VN
|
||||
|
|
|
|||
|
|
@ -119,11 +119,4 @@ zh_CN.strings = {
|
|||
youHaveToAtLeastSelectX: '您至少要选择 %{smart_count} 个文件',
|
||||
}
|
||||
|
||||
// TODO: remove this in the next major?
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
if (typeof Uppy !== 'undefined') {
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
globalThis.Uppy.locales.zh_CN = zh_CN
|
||||
}
|
||||
|
||||
export default zh_CN
|
||||
|
|
|
|||
|
|
@ -169,11 +169,4 @@ zh_TW.strings = {
|
|||
zoomOut: '縮小',
|
||||
}
|
||||
|
||||
// TODO: remove this in the next major?
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
if (typeof Uppy !== 'undefined') {
|
||||
// @ts-expect-error Uppy can be a global in legacy bundle
|
||||
globalThis.Uppy.locales.zh_TW = zh_TW
|
||||
}
|
||||
|
||||
export default zh_TW
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue