Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add import assertion for json modules #363

Merged
merged 1 commit into from
Feb 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
132 changes: 66 additions & 66 deletions src/langs/index.ts
Original file line number Diff line number Diff line change
@@ -1,69 +1,69 @@
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 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' };

// define namespaces
export const namespaces = {
Expand Down
Loading