From 4b68cae054b9cbccf361122573645ef614d505d0 Mon Sep 17 00:00:00 2001 From: spaenleh Date: Wed, 19 Jun 2024 11:04:35 +0200 Subject: [PATCH] fix: remove json assertions --- src/langs/index.ts | 144 ++++++++++++++++++++++----------------------- 1 file changed, 72 insertions(+), 72 deletions(-) diff --git a/src/langs/index.ts b/src/langs/index.ts index f398285b..53efea96 100644 --- a/src/langs/index.ts +++ b/src/langs/index.ts @@ -1,75 +1,75 @@ -import messagesEN from './en/messages.json' with { type: 'json' }; -import messagesFR from './fr/messages.json' with { type: 'json' }; -import messagesDE from './de/messages.json' with { type: 'json' }; -import messagesIT from './it/messages.json' with { type: 'json' }; -import messagesAR from './ar/messages.json' with { type: 'json' }; -import messagesES from './es/messages.json' with { type: 'json' }; -import chatboxEN from './en/chatbox.json' with { type: 'json' }; -import chatboxFR from './fr/chatbox.json' with { type: 'json' }; -import chatboxDE from './de/chatbox.json' with { type: 'json' }; -import chatboxIT from './it/chatbox.json' with { type: 'json' }; -import chatboxAR from './ar/chatbox.json' with { type: 'json' }; -import chatboxES from './es/chatbox.json' with { type: 'json' }; -import categoriesEN from './en/categories.json' with { type: 'json' }; -import categoriesFR from './fr/categories.json' with { type: 'json' }; -import categoriesDE from './de/categories.json' with { type: 'json' }; -import categoriesIT from './it/categories.json' with { type: 'json' }; -import categoriesAR from './ar/categories.json' with { type: 'json' }; -import categoriesES from './es/categories.json' with { type: 'json' }; -import commonEN from './en/common.json' with { type: 'json' }; -import commonFR from './fr/common.json' with { type: 'json' }; -import commonDE from './de/common.json' with { type: 'json' }; -import commonIT from './it/common.json' with { type: 'json' }; -import commonAR from './ar/common.json' with { type: 'json' }; -import commonES from './es/common.json' with { type: 'json' }; -import permissionLevelEN from './en/permissionLevel.json' with { type: 'json' }; -import permissionLevelFR from './fr/permissionLevel.json' with { type: 'json' }; -import permissionLevelDE from './de/permissionLevel.json' with { type: 'json' }; -import permissionLevelIT from './it/permissionLevel.json' with { type: 'json' }; -import permissionLevelAR from './ar/permissionLevel.json' with { type: 'json' }; -import permissionLevelES from './es/permissionLevel.json' with { type: 'json' }; -import itemTypeEN from './en/itemType.json' with { type: 'json' }; -import itemTypeFR from './fr/itemType.json' with { type: 'json' }; -import itemTypeDE from './de/itemType.json' with { type: 'json' }; -import itemTypeIT from './it/itemType.json' with { type: 'json' }; -import itemTypeAR from './ar/itemType.json' with { type: 'json' }; -import itemTypeES from './es/itemType.json' with { type: 'json' }; -import contextEN from './en/context.json' with { type: 'json' }; -import contextFR from './fr/context.json' with { type: 'json' }; -import contextDE from './de/context.json' with { type: 'json' }; -import contextIT from './it/context.json' with { type: 'json' }; -import contextAR from './ar/context.json' with { type: 'json' }; -import contextES from './es/context.json' with { type: 'json' }; -import uppyEN from './en/uppy.json' with { type: 'json' }; -import uppyFR from './fr/uppy.json' with { type: 'json' }; -import uppyDE from './de/uppy.json' with { type: 'json' }; -import uppyIT from './it/uppy.json' with { type: 'json' }; -import uppyAR from './ar/uppy.json' with { type: 'json' }; -import uppyES from './es/uppy.json' with { type: 'json' }; -import associationEN from './en/association.json' with { type: 'json' }; -import associationFR from './fr/association.json' with { type: 'json' }; -import associationDE from './de/association.json' with { type: 'json' }; -import associationIT from './it/association.json' with { type: 'json' }; -import associationAR from './ar/association.json' with { type: 'json' }; -import associationES from './es/association.json' with { type: 'json' }; -import flagEN from './en/flag.json' with { type: 'json' }; -import flagFR from './fr/flag.json' with { type: 'json' }; -import flagDE from './de/flag.json' with { type: 'json' }; -import flagIT from './it/flag.json' with { type: 'json' }; -import flagAR from './ar/flag.json' with { type: 'json' }; -import flagES from './es/flag.json' with { type: 'json' }; -import maxWidthEN from './en/maxWidth.json' with { type: 'json' }; -import maxWidthFR from './fr/maxWidth.json' with { type: 'json' }; -import maxWidthDE from './de/maxWidth.json' with { type: 'json' }; -import maxWidthIT from './it/maxWidth.json' with { type: 'json' }; -import maxWidthAR from './ar/maxWidth.json' with { type: 'json' }; -import maxWidthES from './es/maxWidth.json' with { type: 'json' }; -import actionTypesEN from './en/actionTypes.json' with { type: 'json' }; -import actionTypesFR from './fr/actionTypes.json' with { type: 'json' }; -import actionTypesDE from './de/actionTypes.json' with { type: 'json' }; -import actionTypesIT from './it/actionTypes.json' with { type: 'json' }; -import actionTypesAR from './ar/actionTypes.json' with { type: 'json' }; -import actionTypesES from './es/actionTypes.json' with { type: 'json' }; +import messagesEN from './en/messages.json'; +import messagesFR from './fr/messages.json'; +import messagesDE from './de/messages.json'; +import messagesIT from './it/messages.json'; +import messagesAR from './ar/messages.json'; +import messagesES from './es/messages.json'; +import chatboxEN from './en/chatbox.json'; +import chatboxFR from './fr/chatbox.json'; +import chatboxDE from './de/chatbox.json'; +import chatboxIT from './it/chatbox.json'; +import chatboxAR from './ar/chatbox.json'; +import chatboxES from './es/chatbox.json'; +import categoriesEN from './en/categories.json'; +import categoriesFR from './fr/categories.json'; +import categoriesDE from './de/categories.json'; +import categoriesIT from './it/categories.json'; +import categoriesAR from './ar/categories.json'; +import categoriesES from './es/categories.json'; +import commonEN from './en/common.json'; +import commonFR from './fr/common.json'; +import commonDE from './de/common.json'; +import commonIT from './it/common.json'; +import commonAR from './ar/common.json'; +import commonES from './es/common.json'; +import permissionLevelEN from './en/permissionLevel.json'; +import permissionLevelFR from './fr/permissionLevel.json'; +import permissionLevelDE from './de/permissionLevel.json'; +import permissionLevelIT from './it/permissionLevel.json'; +import permissionLevelAR from './ar/permissionLevel.json'; +import permissionLevelES from './es/permissionLevel.json'; +import itemTypeEN from './en/itemType.json'; +import itemTypeFR from './fr/itemType.json'; +import itemTypeDE from './de/itemType.json'; +import itemTypeIT from './it/itemType.json'; +import itemTypeAR from './ar/itemType.json'; +import itemTypeES from './es/itemType.json'; +import contextEN from './en/context.json'; +import contextFR from './fr/context.json'; +import contextDE from './de/context.json'; +import contextIT from './it/context.json'; +import contextAR from './ar/context.json'; +import contextES from './es/context.json'; +import uppyEN from './en/uppy.json'; +import uppyFR from './fr/uppy.json'; +import uppyDE from './de/uppy.json'; +import uppyIT from './it/uppy.json'; +import uppyAR from './ar/uppy.json'; +import uppyES from './es/uppy.json'; +import associationEN from './en/association.json'; +import associationFR from './fr/association.json'; +import associationDE from './de/association.json'; +import associationIT from './it/association.json'; +import associationAR from './ar/association.json'; +import associationES from './es/association.json'; +import flagEN from './en/flag.json'; +import flagFR from './fr/flag.json'; +import flagDE from './de/flag.json'; +import flagIT from './it/flag.json'; +import flagAR from './ar/flag.json'; +import flagES from './es/flag.json'; +import maxWidthEN from './en/maxWidth.json'; +import maxWidthFR from './fr/maxWidth.json'; +import maxWidthDE from './de/maxWidth.json'; +import maxWidthIT from './it/maxWidth.json'; +import maxWidthAR from './ar/maxWidth.json'; +import maxWidthES from './es/maxWidth.json'; +import actionTypesEN from './en/actionTypes.json'; +import actionTypesFR from './fr/actionTypes.json'; +import actionTypesDE from './de/actionTypes.json'; +import actionTypesIT from './it/actionTypes.json'; +import actionTypesAR from './ar/actionTypes.json'; +import actionTypesES from './es/actionTypes.json'; // define namespaces export const namespaces = {