From 48210f2d71b82d01b960d75b44d577f8918f394c Mon Sep 17 00:00:00 2001 From: melvinchia3636 Date: Mon, 8 Sep 2025 18:43:58 +0800 Subject: [PATCH] feat(server): move all localization files into client Former-commit-id: 75c6fa78efdb42f7bd65c59cb4e3467aabadcad5 [formerly d9e692745e63aa781d7cf12908d792b0deacdfb1] [formerly 2b3d798425ffcd7064fac640433366b7a574fd29 [formerly d9856e49f19341a8413d5b9391fac940305b5678]] Former-commit-id: 8389997051cd928e4b60287e42177e0f233575b8 [formerly 429a8e32277f66a69bb00368765dc719a8da5313] Former-commit-id: 12a8c5cd96e1bf0880c509b54bc34b7bba76e976 --- apps/api-explorer/tsconfig.tsbuildinfo | 1 - apps/{api-builder => apiBuilder}/.gitignore | 0 apps/{api-builder => apiBuilder}/README.md | 0 apps/{api-builder => apiBuilder}/index.html | 0 .../apiBuilder/locales/en.json | 0 .../apiBuilder/locales/ms.json | 0 .../apiBuilder/locales/zh-CN.json | 0 .../apiBuilder/locales/zh-TW.json | 0 apps/{api-builder => apiBuilder}/package.json | 0 .../public/vite.svg | 0 .../components/DownloadImageButton.tsx | 0 .../ControlPanel/components/ExportButton.tsx | 0 .../ControlPanel/components/SaveButton.tsx | 0 .../components/ControlPanel/index.tsx | 0 .../components/Flow/ConnectionLine.tsx | 0 .../FlowEditor/components/Flow/Edge.tsx | 0 .../components/GroupNodeConfigModal.tsx | 6 +- .../components/Node/GroupNode/index.tsx | 0 .../FlowEditor/components/Node/Node.tsx | 2 +- .../FlowEditor/components/Node/NodeColumn.tsx | 2 +- .../Node/NodeColumnValueWrapper.tsx | 0 .../components/Node/NodeColumnWrapper.tsx | 0 .../components/Node/NodeConfigButton.tsx | 0 .../components/Node/NodeListbox.tsx | 2 +- .../components/Node/NodeListboxOption.tsx | 0 .../components/Node/NodeSelector.tsx | 6 +- .../components/Node/NodeTextInput.tsx | 0 .../hooks/useFlowKeyboardHandlers.ts | 0 .../FlowEditor/hooks/useFlowPersistence.ts | 0 .../FlowEditor/hooks/useFlowState.ts | 0 .../FlowEditor/hooks/useFlowStateContext.ts | 0 .../src/components/FlowEditor/index.tsx | 0 .../components/CollectionSelector.tsx | 2 +- .../FlowEditor/nodes/CollectionNode/config.ts | 0 .../FlowEditor/nodes/CollectionNode/index.tsx | 0 .../FlowEditor/nodes/CollectionNode/types.ts | 0 .../nodes/CollectionPickFieldsNode/config.ts | 0 .../nodes/CollectionPickFieldsNode/index.tsx | 2 +- .../nodes/CollectionPickFieldsNode/types.ts | 0 .../FlowEditor/nodes/ControllerNode/config.ts | 0 .../FlowEditor/nodes/ControllerNode/index.tsx | 0 .../FlowEditor/nodes/ControllerNode/types.ts | 0 .../components/FieldValueColumn.tsx | 2 +- .../nodes/CreateRecordNode/config.ts | 0 .../nodes/CreateRecordNode/index.tsx | 2 +- .../nodes/DatabaseCRUDActionNode/config.ts | 0 .../nodes/DatabaseCRUDActionNode/index.tsx | 0 .../nodes/DeleteRecordNode/config.ts | 0 .../nodes/DeleteRecordNode/index.tsx | 0 .../DeriveSchemaFromCollectionNode/config.ts | 0 .../DeriveSchemaFromCollectionNode/index.tsx | 2 +- .../DeriveSchemaFromCollectionNode/types.ts | 0 .../FlowEditor/nodes/FilterNode/config.ts | 0 .../FlowEditor/nodes/FilterNode/index.tsx | 2 +- .../FlowEditor/nodes/FilterNode/types.ts | 0 .../nodes/GetFullListNode/config.ts | 0 .../nodes/GetFullListNode/index.tsx | 0 .../nodes/RequestSchemaNode/config.ts | 0 .../nodes/RequestSchemaNode/index.tsx | 0 .../FlowEditor/nodes/RouteNode/config.ts | 0 .../RouteNode/constants/method_colors.ts | 0 .../FlowEditor/nodes/RouteNode/index.tsx | 0 .../FlowEditor/nodes/RouteNode/types.ts | 0 .../FlowEditor/nodes/RouterNode/config.ts | 0 .../FlowEditor/nodes/RouterNode/index.tsx | 0 .../FlowEditor/nodes/RouterNode/types.ts | 0 .../nodes/SchemaArrayNode/config.ts | 0 .../nodes/SchemaArrayNode/index.tsx | 2 +- .../components/EditSchemaBlockModal.tsx | 12 +-- .../SchemaNode/components/FieldColumn.tsx | 0 .../SchemaNode/components/FieldsColumn.tsx | 2 +- .../FlowEditor/nodes/SchemaNode/config.ts | 0 .../nodes/SchemaNode/constants/field_types.ts | 0 .../FlowEditor/nodes/SchemaNode/index.tsx | 0 .../FlowEditor/nodes/SchemaNode/types.ts | 0 .../nodes/SchemaPickFieldsNode/config.ts | 0 .../nodes/SchemaPickFieldsNode/index.tsx | 2 +- .../nodes/SchemaPickFieldsNode/types.ts | 0 .../FlowEditor/nodes/ServiceNode/config.ts | 0 .../FlowEditor/nodes/ServiceNode/index.tsx | 0 .../FlowEditor/nodes/SorterNode/config.ts | 0 .../FlowEditor/nodes/SorterNode/index.tsx | 2 +- .../FlowEditor/nodes/SorterNode/types.ts | 0 .../nodes/UpdateRecordNode/config.ts | 0 .../nodes/UpdateRecordNode/index.tsx | 2 +- .../nodes/ValueFromRequestNode/config.ts | 0 .../nodes/ValueFromRequestNode/index.tsx | 2 +- .../nodes/ValueFromRequestNode/types.ts | 0 .../FlowEditor/nodes/ValueNode/config.ts | 0 .../FlowEditor/nodes/ValueNode/index.tsx | 0 .../FlowEditor/nodes/ValueNode/types.ts | 0 .../FlowEditor/nodes/WithPBNode/config.ts | 0 .../FlowEditor/nodes/WithPBNode/index.tsx | 2 +- .../src/components/FlowEditor/nodes/index.ts | 0 .../providers/FlowStateProvider.tsx | 0 .../components/FlowEditor/typescript/node.ts | 0 .../FlowEditor/utils/createNodeTypes.tsx | 0 .../FlowEditor/utils/defineConfig.ts | 0 .../FlowEditor/utils/findNodeTypeInGraph.ts | 0 .../FlowEditor/utils/getNodeBounds.ts | 0 .../utils/getNodeConnectedToHandler.ts | 0 .../FlowEditor/utils/isValidConnection.ts | 0 .../FlowEditor/utils/traverseGraph.ts | 0 .../src/components/Header.tsx | 2 +- apps/{api-builder => apiBuilder}/src/i18n.ts | 0 .../{api-builder => apiBuilder}/src/index.css | 0 apps/{api-builder => apiBuilder}/src/main.tsx | 2 +- .../src/utils/colors.ts | 0 .../src/utils/forgeAPI.tsx | 0 .../src/vite-env.d.ts | 0 .../tsconfig.app.json | 0 .../{api-builder => apiBuilder}/tsconfig.json | 0 .../tsconfig.node.json | 0 .../vite.config.ts | 0 apps/{api-explorer => apiExplorer}/README.md | 0 apps/{api-explorer => apiExplorer}/index.html | 0 .../apiExplorer/locales/en.json | 0 .../apiExplorer/locales/ms.json | 0 .../apiExplorer/locales/zh-CN.json | 0 .../apiExplorer/locales/zh-TW.json | 0 .../package.json | 0 .../public/vite.svg | 0 .../{api-explorer => apiExplorer}/src/App.tsx | 0 .../src/components/Sidebar.tsx | 6 +- .../src/constants/methodColors.tsx | 0 .../{api-explorer => apiExplorer}/src/i18n.ts | 0 .../src/index.css | 0 .../src/main.tsx | 2 +- .../src/utils/forgeAPI.tsx | 0 .../src/vite-env.d.ts | 0 .../tsconfig.json | 0 .../vite.config.ts | 0 .../.gitignore | 0 .../README.md | 0 .../index.html | 0 .../localizationManager/locales/en.json | 7 +- .../localizationManager/locales/ms.json | 7 +- .../localizationManager/locales/zh-CN.json | 7 +- .../localizationManager/locales/zh-TW.json | 7 +- .../package.json | 0 .../src/App.tsx | 12 ++- .../src/components/CreateEntryModal.tsx | 2 +- .../src/components/LocaleEditor.tsx | 0 .../src/components/LocaleInput.tsx | 2 +- .../src/components/NamespaceSelector.tsx | 6 +- .../src/components/NestedItem.tsx | 0 .../src/i18n.ts | 20 ++++- .../src/index.css | 0 .../src/main.tsx | 2 +- .../src/utils/forgeAPI.tsx | 0 .../src/utils/locales.ts | 0 .../src/vite-env.d.ts | 0 .../tsconfig.json | 0 .../vite.config.ts | 0 .../00/Dashboard/components/DashboardGrid.tsx | 4 +- client/src/apps/00/Dashboard/index.tsx | 4 +- .../src/apps/00/Dashboard/locales/en.json | 0 .../src/apps/00/Dashboard/locales/ms.json | 0 .../src/apps/00/Dashboard/locales/zh-CN.json | 0 .../src/apps/00/Dashboard/locales/zh-TW.json | 0 .../components/ComponentItem.tsx | 2 +- .../modals/ManageWidgetsModal/index.tsx | 2 +- .../components/AgendaView/AgendaEventItem.tsx | 4 +- .../components/EventDetailsHeader.tsx | 4 +- .../Calendar/components/EventItem/index.tsx | 2 +- .../Headers/CalendarHeader/index.tsx | 4 +- .../Calendar/components/Calendar/index.tsx | 2 +- .../components/CalendarListItem.tsx | 4 +- .../Sidebar/components/CalendarList/index.tsx | 4 +- .../components/CategoryListItem.tsx | 4 +- .../Sidebar/components/CategoryList/index.tsx | 6 +- .../components/MiniCalendarContent.tsx | 2 +- .../components/MiniCalendarDateItem.tsx | 4 +- .../components/MiniCalendarEventDetails.tsx | 2 +- .../components/MiniCalendarEventIndicator.tsx | 2 +- .../01.Productivity/Calendar}/locales/en.json | 0 .../01.Productivity/Calendar}/locales/ms.json | 0 .../Calendar}/locales/zh-CN.json | 0 .../Calendar}/locales/zh-TW.json | 0 .../Calendar/widgets/MiniCalendar.tsx | 9 +- .../Calendar/widgets/TodaysEvent.tsx | 11 +-- .../01.Productivity/CodeTime}/locales/en.json | 0 .../01.Productivity/CodeTime}/locales/ms.json | 0 .../CodeTime}/locales/zh-CN.json | 0 .../CodeTime}/locales/zh-TW.json | 0 .../CodeTime/widgets/CodeTime.tsx | 4 +- .../01.Productivity/IdeaBox}/locales/en.json | 0 .../01.Productivity/IdeaBox}/locales/ms.json | 0 .../IdeaBox}/locales/zh-CN.json | 0 .../IdeaBox}/locales/zh-TW.json | 0 .../components/ContainerItem.tsx | 2 +- .../components/ContainerList/index.tsx | 2 +- .../components/ModifyContainerModal.tsx | 2 +- .../IdeaBox/pages/Ideas/components/FAB.tsx | 2 +- .../Header/components/ContainerName.tsx | 2 +- .../Header/components/GoBackButtonAndMenu.tsx | 2 +- .../pages/Ideas/components/Header/index.tsx | 2 +- .../components/FolderContextMenu.tsx | 2 +- .../FolderList/components/FolderItem.tsx | 2 +- .../components/FolderList/index.tsx | 2 +- .../components/IdeaEntry/EntryImage.tsx | 2 +- .../EntryLink/components/EntryContent.tsx | 2 +- .../components/IdeaEntry/EntryLink/index.tsx | 2 +- .../components/IdeaEntry/EntryText.tsx | 2 +- .../IdeaEntry/components/EntryContextMenu.tsx | 2 +- .../IdeaEntry/components/IdeaWrapper.tsx | 2 +- .../IdeaEntry/components/InFolderChip.tsx | 2 +- .../IdeaEntry/components/TagChip.tsx | 2 +- .../IdeaAndFolderList/components/IdeaList.tsx | 2 +- .../components/IdeaAndFolderList/index.tsx | 2 +- .../Ideas/components/TagsSelector/index.tsx | 2 +- .../components/modals/ModifyFolderModal.tsx | 2 +- .../components/modals/ModifyTagModal.tsx | 2 +- .../IdeaBox/pages/Ideas/index.tsx | 2 +- .../TodoList/components/Header.tsx | 2 +- .../components/ListSelector.tsx | 2 +- .../components/PrioritySelector.tsx | 2 +- .../components/TagsSelector.tsx | 2 +- .../components/ModifyTaskDrawer/index.tsx | 2 +- .../Sidebar/components/TaskListList.tsx | 4 +- .../Sidebar/components/TaskListListItem.tsx | 4 +- .../Sidebar/components/TaskPriorityList.tsx | 4 +- .../components/TaskPriorityListItem.tsx | 4 +- .../Sidebar/components/TaskStatusList.tsx | 2 +- .../Sidebar/components/TaskTagList.tsx | 4 +- .../Sidebar/components/TaskTagListItem.tsx | 4 +- .../TodoList/components/TodoListContainer.tsx | 2 +- .../tasks/TaskItem/components/TaskDueDate.tsx | 2 +- .../tasks/TaskItem/components/TaskHeader.tsx | 2 +- .../tasks/TaskItem/components/TaskTags.tsx | 2 +- .../components/tasks/TaskItem/index.tsx | 2 +- .../TodoList/components/tasks/TaskList.tsx | 2 +- .../apps/01.Productivity/TodoList/config.tsx | 2 +- .../apps/01.Productivity/TodoList/index.tsx | 2 +- .../01.Productivity/TodoList}/locales/en.json | 0 .../01.Productivity/TodoList}/locales/ms.json | 0 .../TodoList}/locales/zh-CN.json | 0 .../TodoList}/locales/zh-TW.json | 0 .../TodoList/widgets/TodoList.tsx | 8 +- .../EntryItem/components/ActionMenu.tsx | 2 +- .../EntryItem/components/AwardIcon.tsx | 2 +- .../Achievements}/locales/en.json | 0 .../Achievements}/locales/ms.json | 0 .../Achievements}/locales/zh-CN.json | 0 .../Achievements}/locales/zh-TW.json | 0 .../apps/02.Lifestyle/Blog}/locales/en.json | 0 .../apps/02.Lifestyle/Blog}/locales/ms.json | 0 .../02.Lifestyle/Blog}/locales/zh-CN.json | 0 .../02.Lifestyle/Blog}/locales/zh-TW.json | 0 .../components/entries/AudioEntry.tsx | 2 +- .../components/entries/PhotosEntry.tsx | 2 +- .../components/entries/TextEntry.tsx | 4 +- .../02.Lifestyle/MomentVault}/locales/en.json | 0 .../02.Lifestyle/MomentVault}/locales/ms.json | 0 .../MomentVault}/locales/zh-CN.json | 0 .../MomentVault}/locales/zh-TW.json | 0 .../apps/02.Lifestyle/Movies}/locales/en.json | 0 .../apps/02.Lifestyle/Movies}/locales/ms.json | 0 .../02.Lifestyle/Movies}/locales/zh-CN.json | 0 .../02.Lifestyle/Movies}/locales/zh-TW.json | 0 .../03.Finance/Wallet/hooks/useWalletData.ts | 2 +- .../apps/03.Finance/Wallet}/locales/en.json | 0 .../apps/03.Finance/Wallet}/locales/ms.json | 0 .../03.Finance/Wallet}/locales/zh-CN.json | 0 .../03.Finance/Wallet}/locales/zh-TW.json | 0 .../pages/Assets/components/AssetItem.tsx | 6 +- .../03.Finance/Wallet/pages/Assets/index.tsx | 4 +- .../pages/Assets/modals/BalanceChartModal.tsx | 4 +- .../pages/Assets/modals/ModifyAssetModal.tsx | 2 +- .../components/AssetsBalanceCard.tsx | 6 +- .../components/BreakdownDetails.tsx | 4 +- .../components/BreakdownDoughnutChart.tsx | 4 +- .../ExpensesBreakdownCard/index.tsx | 8 +- .../components/IncomeExpensesCard.tsx | 6 +- .../components/StatisticChartCard.tsx | 2 +- .../components/TransactionAmount.tsx | 4 +- .../components/TransactionParticular.tsx | 4 +- .../components/TransactionsCard/index.tsx | 2 +- .../TransactionsCard/views/ListView/index.tsx | 2 +- .../views/TableView/index.tsx | 2 +- .../components/TransactionsCountCard.tsx | 6 +- .../Wallet/pages/Dashboard/index.tsx | 2 +- .../pages/Ledgers/components/LedgerItem.tsx | 2 +- .../03.Finance/Wallet/pages/Ledgers/index.tsx | 2 +- .../Ledgers/modals/ModifyLedgerModal.tsx | 2 +- .../Wallet/pages/SpendingHeatmap/index.tsx | 4 +- .../Overview/components/AssetsTable.tsx | 6 +- .../components/IncomeExpensesTable.tsx | 4 +- .../Overview/components/OverviewSummary.tsx | 4 +- .../components/sections/Overview/index.tsx | 2 +- .../components/TransactionList.tsx | 4 +- .../components/TransactionsSummary.tsx | 2 +- .../Statements/components/YearMonthInput.tsx | 2 +- .../Transactions/components/InnerHeader.tsx | 6 +- .../Transactions/components/SearchBar.tsx | 2 +- .../components/AllTransactionsButton.tsx | 2 +- .../Sidebar/components/AssetsSection.tsx | 2 +- .../Sidebar/components/AssetsSectionItem.tsx | 2 +- .../Sidebar/components/CategoriesSection.tsx | 4 +- .../components/CategoriesSectionItem.tsx | 2 +- .../components/CategoriesSectionItemIcon.tsx | 2 +- .../Sidebar/components/DateRangeSelector.tsx | 2 +- .../Sidebar/components/LedgerSection.tsx | 4 +- .../Sidebar/components/LedgerSectionItem.tsx | 2 +- .../components/MiniCalendarContent.tsx | 2 +- .../hooks/useTransactionCountMap.ts | 2 +- .../components/MiniCalendarDateItem/index.tsx | 2 +- .../components/MiniCalendarToggleViewMenu.tsx | 2 +- .../Sidebar/components/MiniCalendar/index.tsx | 2 +- .../Sidebar/components/TypeSection.tsx | 2 +- .../Sidebar/components/TypeSectionItem.tsx | 2 +- .../Transactions/components/Sidebar/index.tsx | 2 +- .../TransactionIncomeExpensesItem.tsx | 4 +- .../components/TransactionTransferItem.tsx | 4 +- .../components/TransactionList/index.tsx | 4 +- .../Wallet/pages/Transactions/index.tsx | 2 +- .../modals/ManageCategoriesModal/index.tsx | 2 +- .../components/Templateitem.tsx | 2 +- .../modals/ModifyTemplatesModal.tsx | 2 +- .../modals/ModifyTransactionsModal.tsx | 2 +- .../components/Details/index.tsx | 4 +- .../components/Header.tsx | 4 +- .../Wallet/widgets/AssetsBalance.tsx | 5 +- .../apps/03.Finance/Wishlist}/locales/en.json | 0 .../apps/03.Finance/Wishlist}/locales/ms.json | 0 .../03.Finance/Wishlist}/locales/zh-CN.json | 0 .../03.Finance/Wishlist}/locales/zh-TW.json | 0 .../Sidebar/components/SidebarItem.tsx | 4 +- .../Sidebar/components/SidebarSection.tsx | 2 +- .../BooksLibrary/components/Sidebar/index.tsx | 2 +- .../04.Storage/BooksLibrary}/locales/en.json | 0 .../04.Storage/BooksLibrary}/locales/ms.json | 0 .../BooksLibrary}/locales/zh-CN.json | 0 .../BooksLibrary}/locales/zh-TW.json | 0 .../views/components/EntryContextMenu.tsx | 6 +- .../views/components/ReadStatusChip.tsx | 2 +- .../Bottombar/components/ControlButtons.tsx | 2 +- .../Bottombar/components/DurationSlider.tsx | 2 +- .../Bottombar/components/MusicInfo.tsx | 2 +- .../Bottombar/components/VolumeControl.tsx | 2 +- .../Music/components/Bottombar/index.tsx | 2 +- .../components/PlayStateIndicator.tsx | 2 +- .../MusicListItem/components/SideButtons.tsx | 2 +- .../components/MusicListItem/index.tsx | 2 +- .../Music/components/MusicList/index.tsx | 2 +- client/src/apps/04.Storage/Music/index.tsx | 2 +- .../apps/04.Storage/Music}/locales/en.json | 0 .../apps/04.Storage/Music}/locales/ms.json | 0 .../apps/04.Storage/Music}/locales/zh-CN.json | 0 .../apps/04.Storage/Music}/locales/zh-TW.json | 0 .../04.Storage/Music/widgets/MusicPlayer.tsx | 8 +- .../Header/components/ActionMenu.tsx | 2 +- .../Sidebar/components/SidebarAuthorItem.tsx | 2 +- .../components/SidebarCategoryItem.tsx | 4 +- .../components/SidebarCollectionItem.tsx | 2 +- .../components/Sidebar/index.tsx | 2 +- .../modals/ModifyCollectionModal.tsx | 2 +- .../components/modals/ModifyEntryModal.tsx | 2 +- .../components/modals/ModifyTypeModal.tsx | 2 +- .../04.Storage/ScoresLibrary}/locales/en.json | 0 .../04.Storage/ScoresLibrary}/locales/ms.json | 0 .../ScoresLibrary}/locales/zh-CN.json | 0 .../ScoresLibrary}/locales/zh-TW.json | 0 .../views/GridView/components/EntryItem.tsx | 4 +- .../ScoresLibrary/views/GridView/index.tsx | 2 +- .../views/ListView/components/EntryItem.tsx | 4 +- .../ScoresLibrary/views/ListView/index.tsx | 2 +- .../APIKeys/components/ContentContainer.tsx | 6 +- .../05.Confidential/APIKeys/locales/en.json | 0 .../05.Confidential/APIKeys/locales/ms.json | 0 .../APIKeys/locales/zh-CN.json | 0 .../APIKeys/locales/zh-TW.json | 0 .../APIKeys/modals/ModifyAPIKeyModal.tsx | 2 +- .../Passwords}/locales/en.json | 0 .../Passwords}/locales/ms.json | 0 .../Passwords}/locales/zh-CN.json | 0 .../Passwords}/locales/zh-TW.json | 0 .../CFOPAlgorithms}/locales/en.json | 0 .../CFOPAlgorithms}/locales/ms.json | 0 .../CFOPAlgorithms}/locales/zh-CN.json | 0 .../CFOPAlgorithms}/locales/zh-TW.json | 0 .../locales/en.json | 0 .../locales/ms.json | 0 .../locales/zh-CN.json | 0 .../locales/zh-TW.json | 0 .../Header/components/DetailBox.tsx | 2 +- .../Header/components/ViewTypeSwitcher.tsx | 2 +- .../RailwayMap/components/Header/index.tsx | 2 +- .../EarthMap/hooks/useEarthMapRenderer.ts | 2 +- .../Maps/maps/EarthMap/utils/mapUtils.ts | 2 +- .../Maps/maps/RouteMap/utils/drawingUtils.ts | 2 +- .../Maps/maps/RouteMap/utils/routeUtils.ts | 2 +- .../maps/RouteMap/utils/selectionUtils.ts | 2 +- .../Maps/maps/RouteMap/utils/stationUtils.ts | 2 +- .../Maps/maps/RouteMap/utils/zoomUtils.ts | 2 +- .../RailwayMap}/locales/en.json | 0 .../RailwayMap}/locales/ms.json | 0 .../RailwayMap}/locales/zh-CN.json | 0 .../RailwayMap}/locales/zh-TW.json | 0 .../components/StationSelector.tsx | 2 +- .../modals/RoutePlannerModal/index.tsx | 2 +- .../RoutePlannerModal/utils/stations.ts | 2 +- .../SinChewDaily}/locales/en.json | 0 .../SinChewDaily}/locales/ms.json | 0 .../SinChewDaily}/locales/zh-CN.json | 0 .../SinChewDaily}/locales/zh-TW.json | 0 .../CurrencyConverter}/locales/en.json | 0 .../CurrencyConverter}/locales/ms.json | 0 .../CurrencyConverter}/locales/zh-CN.json | 0 .../CurrencyConverter}/locales/zh-TW.json | 0 .../apps/07.Utilities/Sudoku}/locales/en.json | 0 .../apps/07.Utilities/Sudoku}/locales/ms.json | 0 .../07.Utilities/Sudoku}/locales/zh-CN.json | 0 .../07.Utilities/Sudoku}/locales/zh-TW.json | 0 .../YoutubeSummarizer}/locales/en.json | 0 .../YoutubeSummarizer}/locales/ms.json | 0 .../YoutubeSummarizer}/locales/zh-CN.json | 0 .../YoutubeSummarizer}/locales/zh-TW.json | 0 .../Backups/components/CreateBackupModal.tsx | 6 +- client/src/apps/08.Settings/Backups/index.tsx | 4 +- .../apps/08.Settings/Backups/locales/en.json | 0 .../apps/08.Settings/Backups/locales/ms.json | 0 .../08.Settings/Backups/locales/zh-CN.json | 0 .../08.Settings/Backups/locales/zh-TW.json | 0 .../apps/08.Settings/Modules/locales/en.json | 0 .../apps/08.Settings/Modules/locales/ms.json | 0 .../08.Settings/Modules/locales/zh-CN.json | 0 .../08.Settings/Modules/locales/zh-TW.json | 0 .../components/BgImageSelector/index.tsx | 2 +- .../components/AdjustmentColumn.tsx | 2 +- .../modals/AdjustBgImageModal/index.tsx | 2 +- .../components/DefaultBgTempSelector.tsx | 2 +- .../components/BgTempSelector/index.tsx | 4 +- .../FontFamilySelectorModal/index.tsx | 8 +- .../components/FontFamilySelector/index.tsx | 2 +- .../components/FontScaleSelector.tsx | 4 +- .../components/LanguageSelector.tsx | 2 +- .../components/DefaultThemeColorSelector.tsx | 2 +- .../components/ThemeColorSelector/index.tsx | 4 +- .../components/ThemeSelector.tsx | 2 +- .../Personalization/locales/en.json | 0 .../Personalization/locales/ms.json | 0 .../Personalization/locales/zh-CN.json | 0 .../Personalization/locales/zh-TW.json | 0 .../components/AvatarColumn.tsx | 2 +- .../components/OrdinaryColumn.tsx | 2 +- .../components/PasswordColumn.tsx | 4 +- .../components/TwoFAColumn.tsx | 2 +- .../apps/99/AccountSettings/locales/en.json | 0 .../apps/99/AccountSettings/locales/ms.json | 0 .../99/AccountSettings/locales/zh-CN.json | 0 .../99/AccountSettings/locales/zh-TW.json | 0 .../modals/DisableTwoFAModal.tsx | 4 +- .../components/OTPConfirmScreen.tsx | 2 +- .../components/TwoFAEnableProcedure.tsx | 2 +- .../modals/EnableTwoFAModal/index.tsx | 4 +- .../99/AccountSettings/modals/ModifyModal.tsx | 2 +- .../src/apps/99/Documentation/locales/en.json | 0 .../src/apps/99/Documentation/locales/ms.json | 0 .../apps/99/Documentation/locales/zh-CN.json | 0 .../apps/99/Documentation/locales/zh-TW.json | 0 client/src/core/App.tsx | 2 +- client/src/core/i18n.ts | 2 +- client/src/core/index.css | 2 +- .../core/providers/APIKeyStatusProvider.tsx | 4 +- .../src/components/layouts/ModuleHeader.tsx | 7 +- .../components/utilities/DashboardItem.tsx | 2 +- packages/lifeforge-ui/src/styles/index.css | 2 +- .../src/core/lib/locales/constants/locales.ts | 2 +- server/src/core/lib/locales/routes/locales.ts | 75 +++++----------- .../core/locales/en/{common => }/auth.json | 0 .../core/locales/en/{common => }/buttons.json | 0 .../locales/en/core/localizationManager.json | 4 - .../core/locales/en/core/serverStatus.json | 49 ----------- .../core/locales/en/{common => }/fetch.json | 0 .../core/locales/en/{common => }/misc.json | 0 .../core/locales/en/{common => }/modals.json | 0 .../core/locales/en/{common => }/sidebar.json | 0 .../core/locales/en/utils/moduleTools.json | 87 ------------------- .../core/locales/en/{common => }/vault.json | 0 .../core/locales/ms/{common => }/auth.json | 0 .../core/locales/ms/{common => }/buttons.json | 0 .../locales/ms/core/localizationManager.json | 4 - .../core/locales/ms/core/serverStatus.json | 49 ----------- .../core/locales/ms/{common => }/fetch.json | 0 .../core/locales/ms/{common => }/misc.json | 0 .../core/locales/ms/{common => }/modals.json | 0 .../core/locales/ms/{common => }/sidebar.json | 0 .../core/locales/ms/utils/moduleTools.json | 87 ------------------- .../core/locales/ms/{common => }/vault.json | 0 .../core/locales/zh-CN/{common => }/auth.json | 0 .../locales/zh-CN/{common => }/buttons.json | 0 .../zh-CN/core/localizationManager.json | 4 - .../core/locales/zh-CN/core/serverStatus.json | 49 ----------- .../locales/zh-CN/{common => }/fetch.json | 0 .../core/locales/zh-CN/{common => }/misc.json | 0 .../locales/zh-CN/{common => }/modals.json | 0 .../locales/zh-CN/{common => }/sidebar.json | 0 .../core/locales/zh-CN/utils/moduleTools.json | 87 ------------------- .../locales/zh-CN/{common => }/vault.json | 0 .../core/locales/zh-TW/{common => }/auth.json | 0 .../locales/zh-TW/{common => }/buttons.json | 0 .../zh-TW/core/localizationManager.json | 4 - .../core/locales/zh-TW/core/serverStatus.json | 49 ----------- .../locales/zh-TW/{common => }/fetch.json | 0 .../core/locales/zh-TW/{common => }/misc.json | 0 .../locales/zh-TW/{common => }/modals.json | 0 .../locales/zh-TW/{common => }/sidebar.json | 0 .../core/locales/zh-TW/utils/moduleTools.json | 87 ------------------- .../locales/zh-TW/{common => }/vault.json | 0 510 files changed, 393 insertions(+), 969 deletions(-) delete mode 100644 apps/api-explorer/tsconfig.tsbuildinfo rename apps/{api-builder => apiBuilder}/.gitignore (100%) rename apps/{api-builder => apiBuilder}/README.md (100%) rename apps/{api-builder => apiBuilder}/index.html (100%) rename server/src/core/locales/en/core/apiBuilder.json => apps/apiBuilder/locales/en.json (100%) rename server/src/core/locales/ms/core/apiBuilder.json => apps/apiBuilder/locales/ms.json (100%) rename server/src/core/locales/zh-CN/core/apiBuilder.json => apps/apiBuilder/locales/zh-CN.json (100%) rename server/src/core/locales/zh-TW/core/apiBuilder.json => apps/apiBuilder/locales/zh-TW.json (100%) rename apps/{api-builder => apiBuilder}/package.json (100%) rename apps/{api-builder => apiBuilder}/public/vite.svg (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/components/ControlPanel/components/DownloadImageButton.tsx (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/components/ControlPanel/components/ExportButton.tsx (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/components/ControlPanel/components/SaveButton.tsx (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/components/ControlPanel/index.tsx (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/components/Flow/ConnectionLine.tsx (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/components/Flow/Edge.tsx (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/components/Node/GroupNode/components/GroupNodeConfigModal.tsx (92%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/components/Node/GroupNode/index.tsx (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/components/Node/Node.tsx (97%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/components/Node/NodeColumn.tsx (98%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/components/Node/NodeColumnValueWrapper.tsx (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/components/Node/NodeColumnWrapper.tsx (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/components/Node/NodeConfigButton.tsx (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/components/Node/NodeListbox.tsx (97%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/components/Node/NodeListboxOption.tsx (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/components/Node/NodeSelector.tsx (95%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/components/Node/NodeTextInput.tsx (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/hooks/useFlowKeyboardHandlers.ts (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/hooks/useFlowPersistence.ts (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/hooks/useFlowState.ts (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/hooks/useFlowStateContext.ts (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/index.tsx (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/CollectionNode/components/CollectionSelector.tsx (98%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/CollectionNode/config.ts (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/CollectionNode/index.tsx (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/CollectionNode/types.ts (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/CollectionPickFieldsNode/config.ts (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/CollectionPickFieldsNode/index.tsx (98%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/CollectionPickFieldsNode/types.ts (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/ControllerNode/config.ts (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/ControllerNode/index.tsx (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/ControllerNode/types.ts (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/CreateRecordNode/components/FieldValueColumn.tsx (97%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/CreateRecordNode/config.ts (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/CreateRecordNode/index.tsx (97%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/DatabaseCRUDActionNode/config.ts (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/DatabaseCRUDActionNode/index.tsx (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/DeleteRecordNode/config.ts (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/DeleteRecordNode/index.tsx (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/DeriveSchemaFromCollectionNode/config.ts (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/DeriveSchemaFromCollectionNode/index.tsx (98%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/DeriveSchemaFromCollectionNode/types.ts (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/FilterNode/config.ts (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/FilterNode/index.tsx (99%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/FilterNode/types.ts (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/GetFullListNode/config.ts (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/GetFullListNode/index.tsx (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/RequestSchemaNode/config.ts (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/RequestSchemaNode/index.tsx (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/RouteNode/config.ts (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/RouteNode/constants/method_colors.ts (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/RouteNode/index.tsx (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/RouteNode/types.ts (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/RouterNode/config.ts (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/RouterNode/index.tsx (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/RouterNode/types.ts (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/SchemaArrayNode/config.ts (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/SchemaArrayNode/index.tsx (96%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/SchemaNode/components/EditSchemaBlockModal.tsx (94%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/SchemaNode/components/FieldColumn.tsx (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/SchemaNode/components/FieldsColumn.tsx (95%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/SchemaNode/config.ts (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/SchemaNode/constants/field_types.ts (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/SchemaNode/index.tsx (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/SchemaNode/types.ts (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/SchemaPickFieldsNode/config.ts (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/SchemaPickFieldsNode/index.tsx (98%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/SchemaPickFieldsNode/types.ts (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/ServiceNode/config.ts (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/ServiceNode/index.tsx (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/SorterNode/config.ts (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/SorterNode/index.tsx (98%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/SorterNode/types.ts (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/UpdateRecordNode/config.ts (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/UpdateRecordNode/index.tsx (97%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/ValueFromRequestNode/config.ts (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/ValueFromRequestNode/index.tsx (99%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/ValueFromRequestNode/types.ts (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/ValueNode/config.ts (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/ValueNode/index.tsx (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/ValueNode/types.ts (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/WithPBNode/config.ts (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/WithPBNode/index.tsx (98%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/nodes/index.ts (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/providers/FlowStateProvider.tsx (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/typescript/node.ts (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/utils/createNodeTypes.tsx (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/utils/defineConfig.ts (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/utils/findNodeTypeInGraph.ts (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/utils/getNodeBounds.ts (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/utils/getNodeConnectedToHandler.ts (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/utils/isValidConnection.ts (100%) rename apps/{api-builder => apiBuilder}/src/components/FlowEditor/utils/traverseGraph.ts (100%) rename apps/{api-builder => apiBuilder}/src/components/Header.tsx (94%) rename apps/{api-builder => apiBuilder}/src/i18n.ts (100%) rename apps/{api-builder => apiBuilder}/src/index.css (100%) rename apps/{api-builder => apiBuilder}/src/main.tsx (95%) rename apps/{api-builder => apiBuilder}/src/utils/colors.ts (100%) rename apps/{api-builder => apiBuilder}/src/utils/forgeAPI.tsx (100%) rename apps/{api-builder => apiBuilder}/src/vite-env.d.ts (100%) rename apps/{api-builder => apiBuilder}/tsconfig.app.json (100%) rename apps/{api-builder => apiBuilder}/tsconfig.json (100%) rename apps/{api-builder => apiBuilder}/tsconfig.node.json (100%) rename apps/{api-builder => apiBuilder}/vite.config.ts (100%) rename apps/{api-explorer => apiExplorer}/README.md (100%) rename apps/{api-explorer => apiExplorer}/index.html (100%) rename server/src/core/locales/en/core/apiExplorer.json => apps/apiExplorer/locales/en.json (100%) rename server/src/core/locales/ms/core/apiExplorer.json => apps/apiExplorer/locales/ms.json (100%) rename server/src/core/locales/zh-CN/core/apiExplorer.json => apps/apiExplorer/locales/zh-CN.json (100%) rename server/src/core/locales/zh-TW/core/apiExplorer.json => apps/apiExplorer/locales/zh-TW.json (100%) rename apps/{api-explorer => apiExplorer}/package.json (100%) rename apps/{api-explorer => apiExplorer}/public/vite.svg (100%) rename apps/{api-explorer => apiExplorer}/src/App.tsx (100%) rename apps/{api-explorer => apiExplorer}/src/components/Sidebar.tsx (95%) rename apps/{api-explorer => apiExplorer}/src/constants/methodColors.tsx (100%) rename apps/{api-explorer => apiExplorer}/src/i18n.ts (100%) rename apps/{api-explorer => apiExplorer}/src/index.css (100%) rename apps/{api-explorer => apiExplorer}/src/main.tsx (94%) rename apps/{api-explorer => apiExplorer}/src/utils/forgeAPI.tsx (100%) rename apps/{api-explorer => apiExplorer}/src/vite-env.d.ts (100%) rename apps/{api-explorer => apiExplorer}/tsconfig.json (100%) rename apps/{api-explorer => apiExplorer}/vite.config.ts (100%) rename apps/{localization-manager => localizationManager}/.gitignore (100%) rename apps/{localization-manager => localizationManager}/README.md (100%) rename apps/{localization-manager => localizationManager}/index.html (100%) rename server/src/core/locales/en/utils/localeAdmin.json => apps/localizationManager/locales/en.json (91%) rename server/src/core/locales/ms/utils/localeAdmin.json => apps/localizationManager/locales/ms.json (91%) rename server/src/core/locales/zh-CN/utils/localeAdmin.json => apps/localizationManager/locales/zh-CN.json (92%) rename server/src/core/locales/zh-TW/utils/localeAdmin.json => apps/localizationManager/locales/zh-TW.json (92%) rename apps/{localization-manager => localizationManager}/package.json (100%) rename apps/{localization-manager => localizationManager}/src/App.tsx (97%) rename apps/{localization-manager => localizationManager}/src/components/CreateEntryModal.tsx (98%) rename apps/{localization-manager => localizationManager}/src/components/LocaleEditor.tsx (100%) rename apps/{localization-manager => localizationManager}/src/components/LocaleInput.tsx (96%) rename apps/{localization-manager => localizationManager}/src/components/NamespaceSelector.tsx (95%) rename apps/{localization-manager => localizationManager}/src/components/NestedItem.tsx (100%) rename apps/{localization-manager => localizationManager}/src/i18n.ts (72%) rename apps/{localization-manager => localizationManager}/src/index.css (100%) rename apps/{localization-manager => localizationManager}/src/main.tsx (93%) rename apps/{localization-manager => localizationManager}/src/utils/forgeAPI.tsx (100%) rename apps/{localization-manager => localizationManager}/src/utils/locales.ts (100%) rename apps/{localization-manager => localizationManager}/src/vite-env.d.ts (100%) rename apps/{localization-manager => localizationManager}/tsconfig.json (100%) rename apps/{localization-manager => localizationManager}/vite.config.ts (100%) rename server/src/core/locales/en/core/dashboard.json => client/src/apps/00/Dashboard/locales/en.json (100%) rename server/src/core/locales/ms/core/dashboard.json => client/src/apps/00/Dashboard/locales/ms.json (100%) rename server/src/core/locales/zh-CN/core/dashboard.json => client/src/apps/00/Dashboard/locales/zh-CN.json (100%) rename server/src/core/locales/zh-TW/core/dashboard.json => client/src/apps/00/Dashboard/locales/zh-TW.json (100%) rename {server/src/apps/calendar => client/src/apps/01.Productivity/Calendar}/locales/en.json (100%) rename {server/src/apps/calendar => client/src/apps/01.Productivity/Calendar}/locales/ms.json (100%) rename {server/src/apps/calendar => client/src/apps/01.Productivity/Calendar}/locales/zh-CN.json (100%) rename {server/src/apps/calendar => client/src/apps/01.Productivity/Calendar}/locales/zh-TW.json (100%) rename {server/src/apps/codeTime => client/src/apps/01.Productivity/CodeTime}/locales/en.json (100%) rename {server/src/apps/codeTime => client/src/apps/01.Productivity/CodeTime}/locales/ms.json (100%) rename {server/src/apps/codeTime => client/src/apps/01.Productivity/CodeTime}/locales/zh-CN.json (100%) rename {server/src/apps/codeTime => client/src/apps/01.Productivity/CodeTime}/locales/zh-TW.json (100%) rename {server/src/apps/ideaBox => client/src/apps/01.Productivity/IdeaBox}/locales/en.json (100%) rename {server/src/apps/ideaBox => client/src/apps/01.Productivity/IdeaBox}/locales/ms.json (100%) rename {server/src/apps/ideaBox => client/src/apps/01.Productivity/IdeaBox}/locales/zh-CN.json (100%) rename {server/src/apps/ideaBox => client/src/apps/01.Productivity/IdeaBox}/locales/zh-TW.json (100%) rename {server/src/apps/todoList => client/src/apps/01.Productivity/TodoList}/locales/en.json (100%) rename {server/src/apps/todoList => client/src/apps/01.Productivity/TodoList}/locales/ms.json (100%) rename {server/src/apps/todoList => client/src/apps/01.Productivity/TodoList}/locales/zh-CN.json (100%) rename {server/src/apps/todoList => client/src/apps/01.Productivity/TodoList}/locales/zh-TW.json (100%) rename {server/src/apps/achievements => client/src/apps/02.Lifestyle/Achievements}/locales/en.json (100%) rename {server/src/apps/achievements => client/src/apps/02.Lifestyle/Achievements}/locales/ms.json (100%) rename {server/src/apps/achievements => client/src/apps/02.Lifestyle/Achievements}/locales/zh-CN.json (100%) rename {server/src/apps/achievements => client/src/apps/02.Lifestyle/Achievements}/locales/zh-TW.json (100%) rename {server/src/apps/blog => client/src/apps/02.Lifestyle/Blog}/locales/en.json (100%) rename {server/src/apps/blog => client/src/apps/02.Lifestyle/Blog}/locales/ms.json (100%) rename {server/src/apps/blog => client/src/apps/02.Lifestyle/Blog}/locales/zh-CN.json (100%) rename {server/src/apps/blog => client/src/apps/02.Lifestyle/Blog}/locales/zh-TW.json (100%) rename {server/src/apps/momentVault => client/src/apps/02.Lifestyle/MomentVault}/locales/en.json (100%) rename {server/src/apps/momentVault => client/src/apps/02.Lifestyle/MomentVault}/locales/ms.json (100%) rename {server/src/apps/momentVault => client/src/apps/02.Lifestyle/MomentVault}/locales/zh-CN.json (100%) rename {server/src/apps/momentVault => client/src/apps/02.Lifestyle/MomentVault}/locales/zh-TW.json (100%) rename {server/src/apps/movies => client/src/apps/02.Lifestyle/Movies}/locales/en.json (100%) rename {server/src/apps/movies => client/src/apps/02.Lifestyle/Movies}/locales/ms.json (100%) rename {server/src/apps/movies => client/src/apps/02.Lifestyle/Movies}/locales/zh-CN.json (100%) rename {server/src/apps/movies => client/src/apps/02.Lifestyle/Movies}/locales/zh-TW.json (100%) rename {server/src/apps/wallet => client/src/apps/03.Finance/Wallet}/locales/en.json (100%) rename {server/src/apps/wallet => client/src/apps/03.Finance/Wallet}/locales/ms.json (100%) rename {server/src/apps/wallet => client/src/apps/03.Finance/Wallet}/locales/zh-CN.json (100%) rename {server/src/apps/wallet => client/src/apps/03.Finance/Wallet}/locales/zh-TW.json (100%) rename {server/src/apps/wishlist => client/src/apps/03.Finance/Wishlist}/locales/en.json (100%) rename {server/src/apps/wishlist => client/src/apps/03.Finance/Wishlist}/locales/ms.json (100%) rename {server/src/apps/wishlist => client/src/apps/03.Finance/Wishlist}/locales/zh-CN.json (100%) rename {server/src/apps/wishlist => client/src/apps/03.Finance/Wishlist}/locales/zh-TW.json (100%) rename {server/src/apps/booksLibrary => client/src/apps/04.Storage/BooksLibrary}/locales/en.json (100%) rename {server/src/apps/booksLibrary => client/src/apps/04.Storage/BooksLibrary}/locales/ms.json (100%) rename {server/src/apps/booksLibrary => client/src/apps/04.Storage/BooksLibrary}/locales/zh-CN.json (100%) rename {server/src/apps/booksLibrary => client/src/apps/04.Storage/BooksLibrary}/locales/zh-TW.json (100%) rename {server/src/apps/music => client/src/apps/04.Storage/Music}/locales/en.json (100%) rename {server/src/apps/music => client/src/apps/04.Storage/Music}/locales/ms.json (100%) rename {server/src/apps/music => client/src/apps/04.Storage/Music}/locales/zh-CN.json (100%) rename {server/src/apps/music => client/src/apps/04.Storage/Music}/locales/zh-TW.json (100%) rename {server/src/apps/scoresLibrary => client/src/apps/04.Storage/ScoresLibrary}/locales/en.json (100%) rename {server/src/apps/scoresLibrary => client/src/apps/04.Storage/ScoresLibrary}/locales/ms.json (100%) rename {server/src/apps/scoresLibrary => client/src/apps/04.Storage/ScoresLibrary}/locales/zh-CN.json (100%) rename {server/src/apps/scoresLibrary => client/src/apps/04.Storage/ScoresLibrary}/locales/zh-TW.json (100%) rename server/src/core/locales/en/core/apiKeys.json => client/src/apps/05.Confidential/APIKeys/locales/en.json (100%) rename server/src/core/locales/ms/core/apiKeys.json => client/src/apps/05.Confidential/APIKeys/locales/ms.json (100%) rename server/src/core/locales/zh-CN/core/apiKeys.json => client/src/apps/05.Confidential/APIKeys/locales/zh-CN.json (100%) rename server/src/core/locales/zh-TW/core/apiKeys.json => client/src/apps/05.Confidential/APIKeys/locales/zh-TW.json (100%) rename {server/src/apps/passwords => client/src/apps/05.Confidential/Passwords}/locales/en.json (100%) rename {server/src/apps/passwords => client/src/apps/05.Confidential/Passwords}/locales/ms.json (100%) rename {server/src/apps/passwords => client/src/apps/05.Confidential/Passwords}/locales/zh-CN.json (100%) rename {server/src/apps/passwords => client/src/apps/05.Confidential/Passwords}/locales/zh-TW.json (100%) rename {server/src/apps/cfopAlgorithms => client/src/apps/06.Information/CFOPAlgorithms}/locales/en.json (100%) rename {server/src/apps/cfopAlgorithms => client/src/apps/06.Information/CFOPAlgorithms}/locales/ms.json (100%) rename {server/src/apps/cfopAlgorithms => client/src/apps/06.Information/CFOPAlgorithms}/locales/zh-CN.json (100%) rename {server/src/apps/cfopAlgorithms => client/src/apps/06.Information/CFOPAlgorithms}/locales/zh-TW.json (100%) rename {server/src/apps/changiAirportFlightStatus => client/src/apps/06.Information/ChangiAirportFlightStatus}/locales/en.json (100%) rename {server/src/apps/changiAirportFlightStatus => client/src/apps/06.Information/ChangiAirportFlightStatus}/locales/ms.json (100%) rename {server/src/apps/changiAirportFlightStatus => client/src/apps/06.Information/ChangiAirportFlightStatus}/locales/zh-CN.json (100%) rename {server/src/apps/changiAirportFlightStatus => client/src/apps/06.Information/ChangiAirportFlightStatus}/locales/zh-TW.json (100%) rename {server/src/apps/railwayMap => client/src/apps/06.Information/RailwayMap}/locales/en.json (100%) rename {server/src/apps/railwayMap => client/src/apps/06.Information/RailwayMap}/locales/ms.json (100%) rename {server/src/apps/railwayMap => client/src/apps/06.Information/RailwayMap}/locales/zh-CN.json (100%) rename {server/src/apps/railwayMap => client/src/apps/06.Information/RailwayMap}/locales/zh-TW.json (100%) rename {server/src/apps/sinChewDaily => client/src/apps/06.Information/SinChewDaily}/locales/en.json (100%) rename {server/src/apps/sinChewDaily => client/src/apps/06.Information/SinChewDaily}/locales/ms.json (100%) rename {server/src/apps/sinChewDaily => client/src/apps/06.Information/SinChewDaily}/locales/zh-CN.json (100%) rename {server/src/apps/sinChewDaily => client/src/apps/06.Information/SinChewDaily}/locales/zh-TW.json (100%) rename {server/src/apps/currencyConverter => client/src/apps/07.Utilities/CurrencyConverter}/locales/en.json (100%) rename {server/src/apps/currencyConverter => client/src/apps/07.Utilities/CurrencyConverter}/locales/ms.json (100%) rename {server/src/apps/currencyConverter => client/src/apps/07.Utilities/CurrencyConverter}/locales/zh-CN.json (100%) rename {server/src/apps/currencyConverter => client/src/apps/07.Utilities/CurrencyConverter}/locales/zh-TW.json (100%) rename {server/src/apps/sudoku => client/src/apps/07.Utilities/Sudoku}/locales/en.json (100%) rename {server/src/apps/sudoku => client/src/apps/07.Utilities/Sudoku}/locales/ms.json (100%) rename {server/src/apps/sudoku => client/src/apps/07.Utilities/Sudoku}/locales/zh-CN.json (100%) rename {server/src/apps/sudoku => client/src/apps/07.Utilities/Sudoku}/locales/zh-TW.json (100%) rename {server/src/apps/youtubeSummarizer => client/src/apps/07.Utilities/YoutubeSummarizer}/locales/en.json (100%) rename {server/src/apps/youtubeSummarizer => client/src/apps/07.Utilities/YoutubeSummarizer}/locales/ms.json (100%) rename {server/src/apps/youtubeSummarizer => client/src/apps/07.Utilities/YoutubeSummarizer}/locales/zh-CN.json (100%) rename {server/src/apps/youtubeSummarizer => client/src/apps/07.Utilities/YoutubeSummarizer}/locales/zh-TW.json (100%) rename server/src/core/locales/en/core/backups.json => client/src/apps/08.Settings/Backups/locales/en.json (100%) rename server/src/core/locales/ms/core/backups.json => client/src/apps/08.Settings/Backups/locales/ms.json (100%) rename server/src/core/locales/zh-CN/core/backups.json => client/src/apps/08.Settings/Backups/locales/zh-CN.json (100%) rename server/src/core/locales/zh-TW/core/backups.json => client/src/apps/08.Settings/Backups/locales/zh-TW.json (100%) rename server/src/core/locales/en/core/modules.json => client/src/apps/08.Settings/Modules/locales/en.json (100%) rename server/src/core/locales/ms/core/modules.json => client/src/apps/08.Settings/Modules/locales/ms.json (100%) rename server/src/core/locales/zh-CN/core/modules.json => client/src/apps/08.Settings/Modules/locales/zh-CN.json (100%) rename server/src/core/locales/zh-TW/core/modules.json => client/src/apps/08.Settings/Modules/locales/zh-TW.json (100%) rename server/src/core/locales/en/core/personalization.json => client/src/apps/08.Settings/Personalization/locales/en.json (100%) rename server/src/core/locales/ms/core/personalization.json => client/src/apps/08.Settings/Personalization/locales/ms.json (100%) rename server/src/core/locales/zh-CN/core/personalization.json => client/src/apps/08.Settings/Personalization/locales/zh-CN.json (100%) rename server/src/core/locales/zh-TW/core/personalization.json => client/src/apps/08.Settings/Personalization/locales/zh-TW.json (100%) rename server/src/core/locales/en/core/accountSettings.json => client/src/apps/99/AccountSettings/locales/en.json (100%) rename server/src/core/locales/ms/core/accountSettings.json => client/src/apps/99/AccountSettings/locales/ms.json (100%) rename server/src/core/locales/zh-CN/core/accountSettings.json => client/src/apps/99/AccountSettings/locales/zh-CN.json (100%) rename server/src/core/locales/zh-TW/core/accountSettings.json => client/src/apps/99/AccountSettings/locales/zh-TW.json (100%) rename server/src/core/locales/en/core/documentation.json => client/src/apps/99/Documentation/locales/en.json (100%) rename server/src/core/locales/ms/core/documentation.json => client/src/apps/99/Documentation/locales/ms.json (100%) rename server/src/core/locales/zh-CN/core/documentation.json => client/src/apps/99/Documentation/locales/zh-CN.json (100%) rename server/src/core/locales/zh-TW/core/documentation.json => client/src/apps/99/Documentation/locales/zh-TW.json (100%) rename server/src/core/locales/en/{common => }/auth.json (100%) rename server/src/core/locales/en/{common => }/buttons.json (100%) delete mode 100644 server/src/core/locales/en/core/localizationManager.json delete mode 100644 server/src/core/locales/en/core/serverStatus.json rename server/src/core/locales/en/{common => }/fetch.json (100%) rename server/src/core/locales/en/{common => }/misc.json (100%) rename server/src/core/locales/en/{common => }/modals.json (100%) rename server/src/core/locales/en/{common => }/sidebar.json (100%) delete mode 100644 server/src/core/locales/en/utils/moduleTools.json rename server/src/core/locales/en/{common => }/vault.json (100%) rename server/src/core/locales/ms/{common => }/auth.json (100%) rename server/src/core/locales/ms/{common => }/buttons.json (100%) delete mode 100644 server/src/core/locales/ms/core/localizationManager.json delete mode 100644 server/src/core/locales/ms/core/serverStatus.json rename server/src/core/locales/ms/{common => }/fetch.json (100%) rename server/src/core/locales/ms/{common => }/misc.json (100%) rename server/src/core/locales/ms/{common => }/modals.json (100%) rename server/src/core/locales/ms/{common => }/sidebar.json (100%) delete mode 100644 server/src/core/locales/ms/utils/moduleTools.json rename server/src/core/locales/ms/{common => }/vault.json (100%) rename server/src/core/locales/zh-CN/{common => }/auth.json (100%) rename server/src/core/locales/zh-CN/{common => }/buttons.json (100%) delete mode 100644 server/src/core/locales/zh-CN/core/localizationManager.json delete mode 100644 server/src/core/locales/zh-CN/core/serverStatus.json rename server/src/core/locales/zh-CN/{common => }/fetch.json (100%) rename server/src/core/locales/zh-CN/{common => }/misc.json (100%) rename server/src/core/locales/zh-CN/{common => }/modals.json (100%) rename server/src/core/locales/zh-CN/{common => }/sidebar.json (100%) delete mode 100644 server/src/core/locales/zh-CN/utils/moduleTools.json rename server/src/core/locales/zh-CN/{common => }/vault.json (100%) rename server/src/core/locales/zh-TW/{common => }/auth.json (100%) rename server/src/core/locales/zh-TW/{common => }/buttons.json (100%) delete mode 100644 server/src/core/locales/zh-TW/core/localizationManager.json delete mode 100644 server/src/core/locales/zh-TW/core/serverStatus.json rename server/src/core/locales/zh-TW/{common => }/fetch.json (100%) rename server/src/core/locales/zh-TW/{common => }/misc.json (100%) rename server/src/core/locales/zh-TW/{common => }/modals.json (100%) rename server/src/core/locales/zh-TW/{common => }/sidebar.json (100%) delete mode 100644 server/src/core/locales/zh-TW/utils/moduleTools.json rename server/src/core/locales/zh-TW/{common => }/vault.json (100%) diff --git a/apps/api-explorer/tsconfig.tsbuildinfo b/apps/api-explorer/tsconfig.tsbuildinfo deleted file mode 100644 index ddc11d69e..000000000 --- a/apps/api-explorer/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"root":["./src/app.tsx","./src/i18n.ts","./src/main.tsx","./src/vite-env.d.ts","./src/components/header.tsx","./src/constants/methodcolors.tsx","./src/content/index.tsx","./src/content/components/sidebar.tsx"],"version":"5.8.3"} \ No newline at end of file diff --git a/apps/api-builder/.gitignore b/apps/apiBuilder/.gitignore similarity index 100% rename from apps/api-builder/.gitignore rename to apps/apiBuilder/.gitignore diff --git a/apps/api-builder/README.md b/apps/apiBuilder/README.md similarity index 100% rename from apps/api-builder/README.md rename to apps/apiBuilder/README.md diff --git a/apps/api-builder/index.html b/apps/apiBuilder/index.html similarity index 100% rename from apps/api-builder/index.html rename to apps/apiBuilder/index.html diff --git a/server/src/core/locales/en/core/apiBuilder.json b/apps/apiBuilder/locales/en.json similarity index 100% rename from server/src/core/locales/en/core/apiBuilder.json rename to apps/apiBuilder/locales/en.json diff --git a/server/src/core/locales/ms/core/apiBuilder.json b/apps/apiBuilder/locales/ms.json similarity index 100% rename from server/src/core/locales/ms/core/apiBuilder.json rename to apps/apiBuilder/locales/ms.json diff --git a/server/src/core/locales/zh-CN/core/apiBuilder.json b/apps/apiBuilder/locales/zh-CN.json similarity index 100% rename from server/src/core/locales/zh-CN/core/apiBuilder.json rename to apps/apiBuilder/locales/zh-CN.json diff --git a/server/src/core/locales/zh-TW/core/apiBuilder.json b/apps/apiBuilder/locales/zh-TW.json similarity index 100% rename from server/src/core/locales/zh-TW/core/apiBuilder.json rename to apps/apiBuilder/locales/zh-TW.json diff --git a/apps/api-builder/package.json b/apps/apiBuilder/package.json similarity index 100% rename from apps/api-builder/package.json rename to apps/apiBuilder/package.json diff --git a/apps/api-builder/public/vite.svg b/apps/apiBuilder/public/vite.svg similarity index 100% rename from apps/api-builder/public/vite.svg rename to apps/apiBuilder/public/vite.svg diff --git a/apps/api-builder/src/components/FlowEditor/components/ControlPanel/components/DownloadImageButton.tsx b/apps/apiBuilder/src/components/FlowEditor/components/ControlPanel/components/DownloadImageButton.tsx similarity index 100% rename from apps/api-builder/src/components/FlowEditor/components/ControlPanel/components/DownloadImageButton.tsx rename to apps/apiBuilder/src/components/FlowEditor/components/ControlPanel/components/DownloadImageButton.tsx diff --git a/apps/api-builder/src/components/FlowEditor/components/ControlPanel/components/ExportButton.tsx b/apps/apiBuilder/src/components/FlowEditor/components/ControlPanel/components/ExportButton.tsx similarity index 100% rename from apps/api-builder/src/components/FlowEditor/components/ControlPanel/components/ExportButton.tsx rename to apps/apiBuilder/src/components/FlowEditor/components/ControlPanel/components/ExportButton.tsx diff --git a/apps/api-builder/src/components/FlowEditor/components/ControlPanel/components/SaveButton.tsx b/apps/apiBuilder/src/components/FlowEditor/components/ControlPanel/components/SaveButton.tsx similarity index 100% rename from apps/api-builder/src/components/FlowEditor/components/ControlPanel/components/SaveButton.tsx rename to apps/apiBuilder/src/components/FlowEditor/components/ControlPanel/components/SaveButton.tsx diff --git a/apps/api-builder/src/components/FlowEditor/components/ControlPanel/index.tsx b/apps/apiBuilder/src/components/FlowEditor/components/ControlPanel/index.tsx similarity index 100% rename from apps/api-builder/src/components/FlowEditor/components/ControlPanel/index.tsx rename to apps/apiBuilder/src/components/FlowEditor/components/ControlPanel/index.tsx diff --git a/apps/api-builder/src/components/FlowEditor/components/Flow/ConnectionLine.tsx b/apps/apiBuilder/src/components/FlowEditor/components/Flow/ConnectionLine.tsx similarity index 100% rename from apps/api-builder/src/components/FlowEditor/components/Flow/ConnectionLine.tsx rename to apps/apiBuilder/src/components/FlowEditor/components/Flow/ConnectionLine.tsx diff --git a/apps/api-builder/src/components/FlowEditor/components/Flow/Edge.tsx b/apps/apiBuilder/src/components/FlowEditor/components/Flow/Edge.tsx similarity index 100% rename from apps/api-builder/src/components/FlowEditor/components/Flow/Edge.tsx rename to apps/apiBuilder/src/components/FlowEditor/components/Flow/Edge.tsx diff --git a/apps/api-builder/src/components/FlowEditor/components/Node/GroupNode/components/GroupNodeConfigModal.tsx b/apps/apiBuilder/src/components/FlowEditor/components/Node/GroupNode/components/GroupNodeConfigModal.tsx similarity index 92% rename from apps/api-builder/src/components/FlowEditor/components/Node/GroupNode/components/GroupNodeConfigModal.tsx rename to apps/apiBuilder/src/components/FlowEditor/components/Node/GroupNode/components/GroupNodeConfigModal.tsx index ad184fcd3..b3242550f 100644 --- a/apps/api-builder/src/components/FlowEditor/components/Node/GroupNode/components/GroupNodeConfigModal.tsx +++ b/apps/apiBuilder/src/components/FlowEditor/components/Node/GroupNode/components/GroupNodeConfigModal.tsx @@ -24,7 +24,7 @@ function GroupNodeConfigModal({
@@ -32,7 +32,7 @@ function GroupNodeConfigModal({ className="mb-4" icon="tabler:article" name="Group Name" - namespace="core.apiBuilder" + namespace="apps.apiBuilder" placeholder="Untitled Group" setValue={_setName} value={_name} @@ -40,7 +40,7 @@ function GroupNodeConfigModal({
) : ( diff --git a/client/src/apps/00/Dashboard/index.tsx b/client/src/apps/00/Dashboard/index.tsx index b02b40993..88b96c378 100644 --- a/client/src/apps/00/Dashboard/index.tsx +++ b/client/src/apps/00/Dashboard/index.tsx @@ -56,7 +56,7 @@ function Dashboard() { { setCanLayoutChange(!canLayoutChange) }} @@ -64,7 +64,7 @@ function Dashboard() { diff --git a/server/src/core/locales/en/core/dashboard.json b/client/src/apps/00/Dashboard/locales/en.json similarity index 100% rename from server/src/core/locales/en/core/dashboard.json rename to client/src/apps/00/Dashboard/locales/en.json diff --git a/server/src/core/locales/ms/core/dashboard.json b/client/src/apps/00/Dashboard/locales/ms.json similarity index 100% rename from server/src/core/locales/ms/core/dashboard.json rename to client/src/apps/00/Dashboard/locales/ms.json diff --git a/server/src/core/locales/zh-CN/core/dashboard.json b/client/src/apps/00/Dashboard/locales/zh-CN.json similarity index 100% rename from server/src/core/locales/zh-CN/core/dashboard.json rename to client/src/apps/00/Dashboard/locales/zh-CN.json diff --git a/server/src/core/locales/zh-TW/core/dashboard.json b/client/src/apps/00/Dashboard/locales/zh-TW.json similarity index 100% rename from server/src/core/locales/zh-TW/core/dashboard.json rename to client/src/apps/00/Dashboard/locales/zh-TW.json diff --git a/client/src/apps/00/Dashboard/modals/ManageWidgetsModal/components/ComponentItem.tsx b/client/src/apps/00/Dashboard/modals/ManageWidgetsModal/components/ComponentItem.tsx index 82e8762c5..ecc5cdae3 100644 --- a/client/src/apps/00/Dashboard/modals/ManageWidgetsModal/components/ComponentItem.tsx +++ b/client/src/apps/00/Dashboard/modals/ManageWidgetsModal/components/ComponentItem.tsx @@ -21,7 +21,7 @@ function ComponentListItem({ namespace?: string setReady: React.Dispatch> }) { - const { t } = useTranslation(namespace ?? 'core.dashboard') + const { t } = useTranslation(namespace ?? 'apps.dashboard') const { dashboardLayout: enabledWidgets, diff --git a/client/src/apps/00/Dashboard/modals/ManageWidgetsModal/index.tsx b/client/src/apps/00/Dashboard/modals/ManageWidgetsModal/index.tsx index 7f6c1d401..2470ad6c8 100644 --- a/client/src/apps/00/Dashboard/modals/ManageWidgetsModal/index.tsx +++ b/client/src/apps/00/Dashboard/modals/ManageWidgetsModal/index.tsx @@ -16,7 +16,7 @@ function ManageWidgetsModal({
diff --git a/client/src/apps/01.Productivity/Calendar/components/Calendar/components/AgendaView/AgendaEventItem.tsx b/client/src/apps/01.Productivity/Calendar/components/Calendar/components/AgendaView/AgendaEventItem.tsx index 12013d47b..d6cdc503b 100644 --- a/client/src/apps/01.Productivity/Calendar/components/Calendar/components/AgendaView/AgendaEventItem.tsx +++ b/client/src/apps/01.Productivity/Calendar/components/Calendar/components/AgendaView/AgendaEventItem.tsx @@ -3,8 +3,8 @@ import forgeAPI from '@utils/forgeAPI' import clsx from 'clsx' import { useMemo } from 'react' -import EventDetails from '@apps/01.Productivity/Calendar/components/Calendar/components/EventDetails.tsx' -import { INTERNAL_CATEGORIES } from '@apps/01.Productivity/Calendar/constants/internalCategories' +import EventDetails from '@apps/01.Productivity/calendar/components/Calendar/components/EventDetails.tsx' +import { INTERNAL_CATEGORIES } from '@apps/01.Productivity/calendar/constants/internalCategories' import type { CalendarCategory, CalendarEvent } from '../..' diff --git a/client/src/apps/01.Productivity/Calendar/components/Calendar/components/EventDetails.tsx/components/EventDetailsHeader.tsx b/client/src/apps/01.Productivity/Calendar/components/Calendar/components/EventDetails.tsx/components/EventDetailsHeader.tsx index d343dd276..ef7498e85 100644 --- a/client/src/apps/01.Productivity/Calendar/components/Calendar/components/EventDetails.tsx/components/EventDetailsHeader.tsx +++ b/client/src/apps/01.Productivity/Calendar/components/Calendar/components/EventDetails.tsx/components/EventDetailsHeader.tsx @@ -9,8 +9,8 @@ import { useCallback } from 'react' import { useTranslation } from 'react-i18next' import { toast } from 'react-toastify' -import ModifyEventModal from '@apps/01.Productivity/Calendar/components/modals/ModifyEventModal' -import { useCalendarStore } from '@apps/01.Productivity/Calendar/stores/useCalendarStore' +import ModifyEventModal from '@apps/01.Productivity/calendar/components/modals/ModifyEventModal' +import { useCalendarStore } from '@apps/01.Productivity/calendar/stores/useCalendarStore' import type { CalendarCategory, CalendarEvent } from '../../..' diff --git a/client/src/apps/01.Productivity/Calendar/components/Calendar/components/EventItem/index.tsx b/client/src/apps/01.Productivity/Calendar/components/Calendar/components/EventItem/index.tsx index bd16ce94f..1fdb19d76 100644 --- a/client/src/apps/01.Productivity/Calendar/components/Calendar/components/EventItem/index.tsx +++ b/client/src/apps/01.Productivity/Calendar/components/Calendar/components/EventItem/index.tsx @@ -2,7 +2,7 @@ import { useQuery } from '@tanstack/react-query' import forgeAPI from '@utils/forgeAPI.js' import { memo, useMemo } from 'react' -import { INTERNAL_CATEGORIES } from '@apps/01.Productivity/Calendar/constants/internalCategories.js' +import { INTERNAL_CATEGORIES } from '@apps/01.Productivity/calendar/constants/internalCategories.js' import type { CalendarCategory, CalendarEvent } from '../../index.js' import EventItemButton from './components/EventItemButton.js' diff --git a/client/src/apps/01.Productivity/Calendar/components/Calendar/components/Headers/CalendarHeader/index.tsx b/client/src/apps/01.Productivity/Calendar/components/Calendar/components/Headers/CalendarHeader/index.tsx index 92038085a..432bb5af9 100644 --- a/client/src/apps/01.Productivity/Calendar/components/Calendar/components/Headers/CalendarHeader/index.tsx +++ b/client/src/apps/01.Productivity/Calendar/components/Calendar/components/Headers/CalendarHeader/index.tsx @@ -9,8 +9,8 @@ import { memo, useCallback } from 'react' import { type NavigateAction, type View } from 'react-big-calendar' import { useTranslation } from 'react-i18next' -import ModifyEventModal from '@apps/01.Productivity/Calendar/components/modals/ModifyEventModal' -import ScanImageModal from '@apps/01.Productivity/Calendar/components/modals/ScanImageModal' +import ModifyEventModal from '@apps/01.Productivity/calendar/components/modals/ModifyEventModal' +import ScanImageModal from '@apps/01.Productivity/calendar/components/modals/ScanImageModal' import NavigationControl from './components/NavigationControl' import ViewSelector from './components/ViewSelector' diff --git a/client/src/apps/01.Productivity/Calendar/components/Calendar/index.tsx b/client/src/apps/01.Productivity/Calendar/components/Calendar/index.tsx index a57e2228c..bd8132efb 100644 --- a/client/src/apps/01.Productivity/Calendar/components/Calendar/index.tsx +++ b/client/src/apps/01.Productivity/Calendar/components/Calendar/index.tsx @@ -9,7 +9,7 @@ import withDragAndDrop, { } from 'react-big-calendar/lib/addons/dragAndDrop' import type { InferOutput } from 'shared' -import { useCalendarStore } from '@apps/01.Productivity/Calendar/stores/useCalendarStore' +import { useCalendarStore } from '@apps/01.Productivity/calendar/stores/useCalendarStore' import ModifyEventModal from '../modals/ModifyEventModal' import AgendaDate from './components/AgendaView/AgendaDate' diff --git a/client/src/apps/01.Productivity/Calendar/components/Sidebar/components/CalendarList/components/CalendarListItem.tsx b/client/src/apps/01.Productivity/Calendar/components/Sidebar/components/CalendarList/components/CalendarListItem.tsx index 1ff1db079..bbfcee60e 100644 --- a/client/src/apps/01.Productivity/Calendar/components/Sidebar/components/CalendarList/components/CalendarListItem.tsx +++ b/client/src/apps/01.Productivity/Calendar/components/Sidebar/components/CalendarList/components/CalendarListItem.tsx @@ -3,8 +3,8 @@ import forgeAPI from '@utils/forgeAPI' import { ConfirmationModal, SidebarItem, useModalStore } from 'lifeforge-ui' import { useCallback, useMemo } from 'react' -import type { CalendarCalendar } from '@apps/01.Productivity/Calendar/components/Calendar' -import ModifyCalendarModal from '@apps/01.Productivity/Calendar/components/modals/ModifyCalendarModal' +import type { CalendarCalendar } from '@apps/01.Productivity/calendar/components/Calendar' +import ModifyCalendarModal from '@apps/01.Productivity/calendar/components/modals/ModifyCalendarModal' import ActionMenu from './ActionMenu' diff --git a/client/src/apps/01.Productivity/Calendar/components/Sidebar/components/CalendarList/index.tsx b/client/src/apps/01.Productivity/Calendar/components/Sidebar/components/CalendarList/index.tsx index f07a2dbed..0ecd0ec05 100644 --- a/client/src/apps/01.Productivity/Calendar/components/Sidebar/components/CalendarList/index.tsx +++ b/client/src/apps/01.Productivity/Calendar/components/Sidebar/components/CalendarList/index.tsx @@ -4,8 +4,8 @@ import forgeAPI from '@utils/forgeAPI' import { SidebarTitle, WithQuery, useModalStore } from 'lifeforge-ui' import { useCallback } from 'react' -import type { CalendarCalendar } from '@apps/01.Productivity/Calendar/components/Calendar' -import ModifyCalendarModal from '@apps/01.Productivity/Calendar/components/modals/ModifyCalendarModal' +import type { CalendarCalendar } from '@apps/01.Productivity/calendar/components/Calendar' +import ModifyCalendarModal from '@apps/01.Productivity/calendar/components/modals/ModifyCalendarModal' import CalendarListItem from './components/CalendarListItem' diff --git a/client/src/apps/01.Productivity/Calendar/components/Sidebar/components/CategoryList/components/CategoryListItem.tsx b/client/src/apps/01.Productivity/Calendar/components/Sidebar/components/CategoryList/components/CategoryListItem.tsx index 9103fbbcf..ecda4c8e1 100644 --- a/client/src/apps/01.Productivity/Calendar/components/Sidebar/components/CategoryList/components/CategoryListItem.tsx +++ b/client/src/apps/01.Productivity/Calendar/components/Sidebar/components/CategoryList/components/CategoryListItem.tsx @@ -4,8 +4,8 @@ import { ConfirmationModal, SidebarItem } from 'lifeforge-ui' import { useModalStore } from 'lifeforge-ui' import { useCallback, useMemo } from 'react' -import type { CalendarCategory } from '@apps/01.Productivity/Calendar/components/Calendar' -import ModifyCategoryModal from '@apps/01.Productivity/Calendar/components/modals/ModifyCategoryModal' +import type { CalendarCategory } from '@apps/01.Productivity/calendar/components/Calendar' +import ModifyCategoryModal from '@apps/01.Productivity/calendar/components/modals/ModifyCategoryModal' import ActionMenu from './ActionMenu' diff --git a/client/src/apps/01.Productivity/Calendar/components/Sidebar/components/CategoryList/index.tsx b/client/src/apps/01.Productivity/Calendar/components/Sidebar/components/CategoryList/index.tsx index 787d72f21..04fdd8533 100644 --- a/client/src/apps/01.Productivity/Calendar/components/Sidebar/components/CategoryList/index.tsx +++ b/client/src/apps/01.Productivity/Calendar/components/Sidebar/components/CategoryList/index.tsx @@ -4,9 +4,9 @@ import forgeAPI from '@utils/forgeAPI' import { SidebarTitle, WithQuery } from 'lifeforge-ui' import { useModalStore } from 'lifeforge-ui' -import type { CalendarCategory } from '@apps/01.Productivity/Calendar/components/Calendar' -import ModifyCategoryModal from '@apps/01.Productivity/Calendar/components/modals/ModifyCategoryModal' -import { INTERNAL_CATEGORIES } from '@apps/01.Productivity/Calendar/constants/internalCategories' +import type { CalendarCategory } from '@apps/01.Productivity/calendar/components/Calendar' +import ModifyCategoryModal from '@apps/01.Productivity/calendar/components/modals/ModifyCategoryModal' +import { INTERNAL_CATEGORIES } from '@apps/01.Productivity/calendar/constants/internalCategories' import CategoryListItem from './components/CategoryListItem' diff --git a/client/src/apps/01.Productivity/Calendar/components/Sidebar/components/MiniCalendar/components/MiniCalendarContent.tsx b/client/src/apps/01.Productivity/Calendar/components/Sidebar/components/MiniCalendar/components/MiniCalendarContent.tsx index da3826001..90915173f 100644 --- a/client/src/apps/01.Productivity/Calendar/components/Sidebar/components/MiniCalendar/components/MiniCalendarContent.tsx +++ b/client/src/apps/01.Productivity/Calendar/components/Sidebar/components/MiniCalendar/components/MiniCalendarContent.tsx @@ -1,7 +1,7 @@ import dayjs from 'dayjs' import { usePersonalization } from 'shared' -import type { CalendarEvent } from '@apps/01.Productivity/Calendar/components/Calendar' +import type { CalendarEvent } from '@apps/01.Productivity/calendar/components/Calendar' import MiniCalendarDateItem from './MiniCalendarDateItem' diff --git a/client/src/apps/01.Productivity/Calendar/components/Sidebar/components/MiniCalendar/components/MiniCalendarDateItem.tsx b/client/src/apps/01.Productivity/Calendar/components/Sidebar/components/MiniCalendar/components/MiniCalendarDateItem.tsx index 866f91b99..94f41c225 100644 --- a/client/src/apps/01.Productivity/Calendar/components/Sidebar/components/MiniCalendar/components/MiniCalendarDateItem.tsx +++ b/client/src/apps/01.Productivity/Calendar/components/Sidebar/components/MiniCalendar/components/MiniCalendarDateItem.tsx @@ -7,8 +7,8 @@ import { useCallback, useMemo } from 'react' import type { CalendarCategory, CalendarEvent -} from '@apps/01.Productivity/Calendar/components/Calendar' -import { INTERNAL_CATEGORIES } from '@apps/01.Productivity/Calendar/constants/internalCategories' +} from '@apps/01.Productivity/calendar/components/Calendar' +import { INTERNAL_CATEGORIES } from '@apps/01.Productivity/calendar/constants/internalCategories' import MiniCalendarEventDetails from './MiniCalendarEventDetails' import MiniCalendarEventIndicator from './MiniCalendarEventIndicator' diff --git a/client/src/apps/01.Productivity/Calendar/components/Sidebar/components/MiniCalendar/components/MiniCalendarEventDetails.tsx b/client/src/apps/01.Productivity/Calendar/components/Sidebar/components/MiniCalendar/components/MiniCalendarEventDetails.tsx index 57e906a02..2785ba5a0 100644 --- a/client/src/apps/01.Productivity/Calendar/components/Sidebar/components/MiniCalendar/components/MiniCalendarEventDetails.tsx +++ b/client/src/apps/01.Productivity/Calendar/components/Sidebar/components/MiniCalendar/components/MiniCalendarEventDetails.tsx @@ -7,7 +7,7 @@ import { Tooltip } from 'react-tooltip' import type { CalendarCategory, CalendarEvent -} from '@apps/01.Productivity/Calendar/components/Calendar' +} from '@apps/01.Productivity/calendar/components/Calendar' function MiniCalendarEventDetails({ index, diff --git a/client/src/apps/01.Productivity/Calendar/components/Sidebar/components/MiniCalendar/components/MiniCalendarEventIndicator.tsx b/client/src/apps/01.Productivity/Calendar/components/Sidebar/components/MiniCalendar/components/MiniCalendarEventIndicator.tsx index 958359869..be2703d56 100644 --- a/client/src/apps/01.Productivity/Calendar/components/Sidebar/components/MiniCalendar/components/MiniCalendarEventIndicator.tsx +++ b/client/src/apps/01.Productivity/Calendar/components/Sidebar/components/MiniCalendar/components/MiniCalendarEventIndicator.tsx @@ -1,7 +1,7 @@ import type { CalendarCategory, CalendarEvent -} from '@apps/01.Productivity/Calendar/components/Calendar' +} from '@apps/01.Productivity/calendar/components/Calendar' function MiniCalendarEventIndicator({ eventsOnTheDay, diff --git a/server/src/apps/calendar/locales/en.json b/client/src/apps/01.Productivity/Calendar/locales/en.json similarity index 100% rename from server/src/apps/calendar/locales/en.json rename to client/src/apps/01.Productivity/Calendar/locales/en.json diff --git a/server/src/apps/calendar/locales/ms.json b/client/src/apps/01.Productivity/Calendar/locales/ms.json similarity index 100% rename from server/src/apps/calendar/locales/ms.json rename to client/src/apps/01.Productivity/Calendar/locales/ms.json diff --git a/server/src/apps/calendar/locales/zh-CN.json b/client/src/apps/01.Productivity/Calendar/locales/zh-CN.json similarity index 100% rename from server/src/apps/calendar/locales/zh-CN.json rename to client/src/apps/01.Productivity/Calendar/locales/zh-CN.json diff --git a/server/src/apps/calendar/locales/zh-TW.json b/client/src/apps/01.Productivity/Calendar/locales/zh-TW.json similarity index 100% rename from server/src/apps/calendar/locales/zh-TW.json rename to client/src/apps/01.Productivity/Calendar/locales/zh-TW.json diff --git a/client/src/apps/01.Productivity/Calendar/widgets/MiniCalendar.tsx b/client/src/apps/01.Productivity/Calendar/widgets/MiniCalendar.tsx index 3b60fe43c..69fac0a7d 100644 --- a/client/src/apps/01.Productivity/Calendar/widgets/MiniCalendar.tsx +++ b/client/src/apps/01.Productivity/Calendar/widgets/MiniCalendar.tsx @@ -5,9 +5,9 @@ import { Button, DashboardItem, WithQuery } from 'lifeforge-ui' import { useState } from 'react' import { Link } from 'react-router' -import type WidgetConfig from '@apps/00/Dashboard/typescript/widgetConfig.types' -import MiniCalendarContent from '@apps/01.Productivity/Calendar/components/Sidebar/components/MiniCalendar/components/MiniCalendarContent' -import MiniCalendarHeader from '@apps/01.Productivity/Calendar/components/Sidebar/components/MiniCalendar/components/MiniCalendarHeader' +import type WidgetConfig from '@apps/00/dashboard/typescript/widgetConfig.types' +import MiniCalendarContent from '@apps/01.Productivity/calendar/components/Sidebar/components/MiniCalendar/components/MiniCalendarContent' +import MiniCalendarHeader from '@apps/01.Productivity/calendar/components/Sidebar/components/MiniCalendar/components/MiniCalendarHeader' export default function MiniCalendar() { const [currentMonth, setCurrentMonth] = useState(dayjs().month()) @@ -48,7 +48,8 @@ export default function MiniCalendar() { /> } icon="tabler:calendar" - title="mini Calendar" + namespace="apps.calendar" + title="Mini Calendar" >
diff --git a/client/src/apps/01.Productivity/Calendar/widgets/TodaysEvent.tsx b/client/src/apps/01.Productivity/Calendar/widgets/TodaysEvent.tsx index 08c78653c..17ea4ac43 100644 --- a/client/src/apps/01.Productivity/Calendar/widgets/TodaysEvent.tsx +++ b/client/src/apps/01.Productivity/Calendar/widgets/TodaysEvent.tsx @@ -16,13 +16,13 @@ import { Tooltip } from 'react-tooltip' import type { InferOutput } from 'shared' import { useSidebarState } from 'shared' -import type WidgetConfig from '@apps/00/Dashboard/typescript/widgetConfig.types' +import type WidgetConfig from '@apps/00/dashboard/typescript/widgetConfig.types' import type { CalendarCategory, CalendarEvent -} from '@apps/01.Productivity/Calendar/components/Calendar' -import EventDetails from '@apps/01.Productivity/Calendar/components/Calendar/components/EventDetails.tsx' -import { INTERNAL_CATEGORIES } from '@apps/01.Productivity/Calendar/constants/internalCategories' +} from '@apps/01.Productivity/calendar/components/Calendar' +import EventDetails from '@apps/01.Productivity/calendar/components/Calendar/components/EventDetails.tsx' +import { INTERNAL_CATEGORIES } from '@apps/01.Productivity/calendar/constants/internalCategories' function EventItem({ categories, @@ -150,6 +150,7 @@ export default function TodaysEvent() { /> } icon="tabler:calendar" + namespace="apps.calendar" title="Todays Event" > @@ -173,7 +174,7 @@ export default function TodaysEvent() { smaller icon="tabler:calendar-off" name="event" - namespace="core.dashboard" + namespace="apps.dashboard" tKey="widgets.todaysEvent" />
diff --git a/server/src/apps/codeTime/locales/en.json b/client/src/apps/01.Productivity/CodeTime/locales/en.json similarity index 100% rename from server/src/apps/codeTime/locales/en.json rename to client/src/apps/01.Productivity/CodeTime/locales/en.json diff --git a/server/src/apps/codeTime/locales/ms.json b/client/src/apps/01.Productivity/CodeTime/locales/ms.json similarity index 100% rename from server/src/apps/codeTime/locales/ms.json rename to client/src/apps/01.Productivity/CodeTime/locales/ms.json diff --git a/server/src/apps/codeTime/locales/zh-CN.json b/client/src/apps/01.Productivity/CodeTime/locales/zh-CN.json similarity index 100% rename from server/src/apps/codeTime/locales/zh-CN.json rename to client/src/apps/01.Productivity/CodeTime/locales/zh-CN.json diff --git a/server/src/apps/codeTime/locales/zh-TW.json b/client/src/apps/01.Productivity/CodeTime/locales/zh-TW.json similarity index 100% rename from server/src/apps/codeTime/locales/zh-TW.json rename to client/src/apps/01.Productivity/CodeTime/locales/zh-TW.json diff --git a/client/src/apps/01.Productivity/CodeTime/widgets/CodeTime.tsx b/client/src/apps/01.Productivity/CodeTime/widgets/CodeTime.tsx index 8b4ae7fce..537ad1c95 100644 --- a/client/src/apps/01.Productivity/CodeTime/widgets/CodeTime.tsx +++ b/client/src/apps/01.Productivity/CodeTime/widgets/CodeTime.tsx @@ -15,7 +15,7 @@ import { Link } from 'react-router' import { usePersonalization } from 'shared' import tinycolor from 'tinycolor2' -import type WidgetConfig from '@apps/00/Dashboard/typescript/widgetConfig.types' +import type WidgetConfig from '@apps/00/dashboard/typescript/widgetConfig.types' const getDatesBetween = (start: Dayjs, end: Dayjs): Dayjs[] => { if (!start.isValid() || !end.isValid() || start.isAfter(end, 'day')) { @@ -156,7 +156,7 @@ const CodeTime = () => { smaller icon="tabler:database-off" name="data" - namespace="core.dashboard" + namespace="apps.dashboard" tKey="widgets.codeTime" /> ) diff --git a/server/src/apps/ideaBox/locales/en.json b/client/src/apps/01.Productivity/IdeaBox/locales/en.json similarity index 100% rename from server/src/apps/ideaBox/locales/en.json rename to client/src/apps/01.Productivity/IdeaBox/locales/en.json diff --git a/server/src/apps/ideaBox/locales/ms.json b/client/src/apps/01.Productivity/IdeaBox/locales/ms.json similarity index 100% rename from server/src/apps/ideaBox/locales/ms.json rename to client/src/apps/01.Productivity/IdeaBox/locales/ms.json diff --git a/server/src/apps/ideaBox/locales/zh-CN.json b/client/src/apps/01.Productivity/IdeaBox/locales/zh-CN.json similarity index 100% rename from server/src/apps/ideaBox/locales/zh-CN.json rename to client/src/apps/01.Productivity/IdeaBox/locales/zh-CN.json diff --git a/server/src/apps/ideaBox/locales/zh-TW.json b/client/src/apps/01.Productivity/IdeaBox/locales/zh-TW.json similarity index 100% rename from server/src/apps/ideaBox/locales/zh-TW.json rename to client/src/apps/01.Productivity/IdeaBox/locales/zh-TW.json diff --git a/client/src/apps/01.Productivity/IdeaBox/pages/Containers/components/ContainerList/components/ContainerItem.tsx b/client/src/apps/01.Productivity/IdeaBox/pages/Containers/components/ContainerList/components/ContainerItem.tsx index 5451ea3dc..204d4e942 100644 --- a/client/src/apps/01.Productivity/IdeaBox/pages/Containers/components/ContainerList/components/ContainerItem.tsx +++ b/client/src/apps/01.Productivity/IdeaBox/pages/Containers/components/ContainerList/components/ContainerItem.tsx @@ -12,7 +12,7 @@ import { useCallback } from 'react' import { Link } from 'react-router' import { toast } from 'react-toastify' -import type { IdeaBoxContainer } from '@apps/01.Productivity/IdeaBox/providers/IdeaBoxProvider' +import type { IdeaBoxContainer } from '@apps/01.Productivity/ideaBox/providers/IdeaBoxProvider' import ModifyContainerModal from '../../ModifyContainerModal' diff --git a/client/src/apps/01.Productivity/IdeaBox/pages/Containers/components/ContainerList/index.tsx b/client/src/apps/01.Productivity/IdeaBox/pages/Containers/components/ContainerList/index.tsx index f84464d3f..fc3f6392f 100644 --- a/client/src/apps/01.Productivity/IdeaBox/pages/Containers/components/ContainerList/index.tsx +++ b/client/src/apps/01.Productivity/IdeaBox/pages/Containers/components/ContainerList/index.tsx @@ -1,4 +1,4 @@ -import type { IdeaBoxContainer } from '@apps/01.Productivity/IdeaBox/providers/IdeaBoxProvider' +import type { IdeaBoxContainer } from '@apps/01.Productivity/ideaBox/providers/IdeaBoxProvider' import ContainerItem from './components/ContainerItem' diff --git a/client/src/apps/01.Productivity/IdeaBox/pages/Containers/components/ModifyContainerModal.tsx b/client/src/apps/01.Productivity/IdeaBox/pages/Containers/components/ModifyContainerModal.tsx index 9a9d47c88..553ca1905 100644 --- a/client/src/apps/01.Productivity/IdeaBox/pages/Containers/components/ModifyContainerModal.tsx +++ b/client/src/apps/01.Productivity/IdeaBox/pages/Containers/components/ModifyContainerModal.tsx @@ -4,7 +4,7 @@ import { FormModal, defineForm } from 'lifeforge-ui' import { toast } from 'react-toastify' import type { InferInput } from 'shared' -import type { IdeaBoxContainer } from '@apps/01.Productivity/IdeaBox/providers/IdeaBoxProvider' +import type { IdeaBoxContainer } from '@apps/01.Productivity/ideaBox/providers/IdeaBoxProvider' function ModifyContainerModal({ data: { type, initialData }, diff --git a/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/FAB.tsx b/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/FAB.tsx index c4ffc1d2a..0fdbc4cc9 100644 --- a/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/FAB.tsx +++ b/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/FAB.tsx @@ -7,7 +7,7 @@ import { useCallback } from 'react' import { createPortal } from 'react-dom' import { useTranslation } from 'react-i18next' -import { useIdeaBoxContext } from '@apps/01.Productivity/IdeaBox/providers/IdeaBoxProvider' +import { useIdeaBoxContext } from '@apps/01.Productivity/ideaBox/providers/IdeaBoxProvider' import ModifyFolderModal from './modals/ModifyFolderModal' import ModifyIdeaModal from './modals/ModifyIdeaModal' diff --git a/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/Header/components/ContainerName.tsx b/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/Header/components/ContainerName.tsx index 98001ef89..321721296 100644 --- a/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/Header/components/ContainerName.tsx +++ b/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/Header/components/ContainerName.tsx @@ -2,7 +2,7 @@ import { Icon } from '@iconify/react' import { useCallback } from 'react' import { Link } from 'react-router' -import { useIdeaBoxContext } from '@apps/01.Productivity/IdeaBox/providers/IdeaBoxProvider' +import { useIdeaBoxContext } from '@apps/01.Productivity/ideaBox/providers/IdeaBoxProvider' function ContainerName({ id, diff --git a/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/Header/components/GoBackButtonAndMenu.tsx b/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/Header/components/GoBackButtonAndMenu.tsx index 891a58d43..d4f9a0bc7 100644 --- a/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/Header/components/GoBackButtonAndMenu.tsx +++ b/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/Header/components/GoBackButtonAndMenu.tsx @@ -2,7 +2,7 @@ import { ContextMenu, ContextMenuItem, GoBackButton } from 'lifeforge-ui' import { memo, useCallback } from 'react' import { useLocation, useNavigate } from 'react-router' -import { useIdeaBoxContext } from '@apps/01.Productivity/IdeaBox/providers/IdeaBoxProvider' +import { useIdeaBoxContext } from '@apps/01.Productivity/ideaBox/providers/IdeaBoxProvider' function GoBackButtonAndMenu() { const navigate = useNavigate() diff --git a/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/Header/index.tsx b/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/Header/index.tsx index 8bafe9731..9a4ddf97d 100644 --- a/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/Header/index.tsx +++ b/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/Header/index.tsx @@ -2,7 +2,7 @@ import { Icon } from '@iconify/react' import forgeAPI from '@utils/forgeAPI' import { Link, useParams } from 'react-router' -import { useIdeaBoxContext } from '@apps/01.Productivity/IdeaBox/providers/IdeaBoxProvider' +import { useIdeaBoxContext } from '@apps/01.Productivity/ideaBox/providers/IdeaBoxProvider' import ContainerName from './components/ContainerName' import GoBackButtonAndMenu from './components/GoBackButtonAndMenu' diff --git a/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/components/FolderList/components/FolderContextMenu.tsx b/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/components/FolderList/components/FolderContextMenu.tsx index 345e44b67..d3b7b98e4 100644 --- a/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/components/FolderList/components/FolderContextMenu.tsx +++ b/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/components/FolderList/components/FolderContextMenu.tsx @@ -10,7 +10,7 @@ import { useCallback } from 'react' import { toast } from 'react-toastify' import tinycolor from 'tinycolor2' -import type { IdeaBoxFolder } from '@apps/01.Productivity/IdeaBox/providers/IdeaBoxProvider' +import type { IdeaBoxFolder } from '@apps/01.Productivity/ideaBox/providers/IdeaBoxProvider' import ModifyFolderModal from '../../../../modals/ModifyFolderModal' diff --git a/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/components/FolderList/components/FolderItem.tsx b/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/components/FolderList/components/FolderItem.tsx index 6ee1ac443..3c4898be4 100644 --- a/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/components/FolderList/components/FolderItem.tsx +++ b/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/components/FolderList/components/FolderItem.tsx @@ -6,7 +6,7 @@ import { useDrag, useDrop } from 'react-dnd' import { Link, useParams } from 'react-router' import { toast } from 'react-toastify' -import type { IdeaBoxFolder } from '@apps/01.Productivity/IdeaBox/providers/IdeaBoxProvider' +import type { IdeaBoxFolder } from '@apps/01.Productivity/ideaBox/providers/IdeaBoxProvider' import FolderContextMenu from './FolderContextMenu' diff --git a/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/components/FolderList/index.tsx b/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/components/FolderList/index.tsx index 85ee01bcc..5221c70bd 100644 --- a/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/components/FolderList/index.tsx +++ b/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/components/FolderList/index.tsx @@ -2,7 +2,7 @@ import { Icon } from '@iconify/react' import { WithQuery } from 'lifeforge-ui' import { useTranslation } from 'react-i18next' -import { useIdeaBoxContext } from '@apps/01.Productivity/IdeaBox/providers/IdeaBoxProvider' +import { useIdeaBoxContext } from '@apps/01.Productivity/ideaBox/providers/IdeaBoxProvider' import FolderItem from './components/FolderItem' diff --git a/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/components/IdeaEntry/EntryImage.tsx b/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/components/IdeaEntry/EntryImage.tsx index 797f760be..95b596ee6 100644 --- a/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/components/IdeaEntry/EntryImage.tsx +++ b/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/components/IdeaEntry/EntryImage.tsx @@ -1,7 +1,7 @@ import forgeAPI from '@utils/forgeAPI' import Zoom from 'react-medium-image-zoom' -import type { IdeaBoxIdea } from '@apps/01.Productivity/IdeaBox/providers/IdeaBoxProvider' +import type { IdeaBoxIdea } from '@apps/01.Productivity/ideaBox/providers/IdeaBoxProvider' import CustomZoomContent from './components/CustomZoomContent' import IdeaWrapper from './components/IdeaWrapper' diff --git a/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/components/IdeaEntry/EntryLink/components/EntryContent.tsx b/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/components/IdeaEntry/EntryLink/components/EntryContent.tsx index d6141664b..3962ac5c1 100644 --- a/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/components/IdeaEntry/EntryLink/components/EntryContent.tsx +++ b/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/components/IdeaEntry/EntryLink/components/EntryContent.tsx @@ -2,7 +2,7 @@ import { useQuery } from '@tanstack/react-query' import forgeAPI from '@utils/forgeAPI' import { memo } from 'react' -import type { IdeaBoxIdea } from '@apps/01.Productivity/IdeaBox/providers/IdeaBoxProvider' +import type { IdeaBoxIdea } from '@apps/01.Productivity/ideaBox/providers/IdeaBoxProvider' function EntryContent({ entry }: { entry: IdeaBoxIdea }) { const OGQuery = useQuery( diff --git a/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/components/IdeaEntry/EntryLink/index.tsx b/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/components/IdeaEntry/EntryLink/index.tsx index 30420cd8f..6a95e3967 100644 --- a/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/components/IdeaEntry/EntryLink/index.tsx +++ b/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/components/IdeaEntry/EntryLink/index.tsx @@ -1,4 +1,4 @@ -import type { IdeaBoxIdea } from '@apps/01.Productivity/IdeaBox/providers/IdeaBoxProvider' +import type { IdeaBoxIdea } from '@apps/01.Productivity/ideaBox/providers/IdeaBoxProvider' import IdeaWrapper from '../components/IdeaWrapper' import EntryContent from './components/EntryContent' diff --git a/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/components/IdeaEntry/EntryText.tsx b/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/components/IdeaEntry/EntryText.tsx index b1c02f70a..f02c8504b 100644 --- a/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/components/IdeaEntry/EntryText.tsx +++ b/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/components/IdeaEntry/EntryText.tsx @@ -1,7 +1,7 @@ import { useState } from 'react' import Markdown from 'react-markdown' -import type { IdeaBoxIdea } from '@apps/01.Productivity/IdeaBox/providers/IdeaBoxProvider' +import type { IdeaBoxIdea } from '@apps/01.Productivity/ideaBox/providers/IdeaBoxProvider' import IdeaWrapper from './components/IdeaWrapper' diff --git a/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/components/IdeaEntry/components/EntryContextMenu.tsx b/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/components/IdeaEntry/components/EntryContextMenu.tsx index 98e97b371..418e9dfe1 100644 --- a/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/components/IdeaEntry/components/EntryContextMenu.tsx +++ b/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/components/IdeaEntry/components/EntryContextMenu.tsx @@ -9,7 +9,7 @@ import { toast } from 'react-toastify' import { type IdeaBoxIdea, useIdeaBoxContext -} from '@apps/01.Productivity/IdeaBox/providers/IdeaBoxProvider' +} from '@apps/01.Productivity/ideaBox/providers/IdeaBoxProvider' import ModifyIdeaModal from '../../../../modals/ModifyIdeaModal' diff --git a/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/components/IdeaEntry/components/IdeaWrapper.tsx b/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/components/IdeaEntry/components/IdeaWrapper.tsx index fbb403401..58e7b34be 100644 --- a/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/components/IdeaEntry/components/IdeaWrapper.tsx +++ b/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/components/IdeaEntry/components/IdeaWrapper.tsx @@ -5,7 +5,7 @@ import { ItemWrapper } from 'lifeforge-ui' import { useDrag } from 'react-dnd' import { useTranslation } from 'react-i18next' -import type { IdeaBoxIdea } from '@apps/01.Productivity/IdeaBox/providers/IdeaBoxProvider' +import type { IdeaBoxIdea } from '@apps/01.Productivity/ideaBox/providers/IdeaBoxProvider' import EntryContextMenu from './EntryContextMenu' import InFolderChip from './InFolderChip' diff --git a/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/components/IdeaEntry/components/InFolderChip.tsx b/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/components/IdeaEntry/components/InFolderChip.tsx index 6afb40da0..130de5ab6 100644 --- a/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/components/IdeaEntry/components/InFolderChip.tsx +++ b/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/components/IdeaEntry/components/InFolderChip.tsx @@ -4,7 +4,7 @@ import { Link, useParams } from 'react-router' import { type IdeaBoxIdea, useIdeaBoxContext -} from '@apps/01.Productivity/IdeaBox/providers/IdeaBoxProvider' +} from '@apps/01.Productivity/ideaBox/providers/IdeaBoxProvider' function InFolderChip({ entry }: { entry: IdeaBoxIdea }) { const { setSearchQuery, setSelectedTags } = useIdeaBoxContext() diff --git a/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/components/IdeaEntry/components/TagChip.tsx b/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/components/IdeaEntry/components/TagChip.tsx index 0794923e4..ee19598c2 100644 --- a/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/components/IdeaEntry/components/TagChip.tsx +++ b/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/components/IdeaEntry/components/TagChip.tsx @@ -3,7 +3,7 @@ import clsx from 'clsx' import { memo, useMemo } from 'react' import tinycolor from 'tinycolor2' -import { useIdeaBoxContext } from '@apps/01.Productivity/IdeaBox/providers/IdeaBoxProvider' +import { useIdeaBoxContext } from '@apps/01.Productivity/ideaBox/providers/IdeaBoxProvider' function TagChip({ text }: { text: string }) { const { selectedTags, tagsQuery } = useIdeaBoxContext() diff --git a/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/components/IdeaList.tsx b/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/components/IdeaList.tsx index eae140641..38d1a5cf1 100644 --- a/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/components/IdeaList.tsx +++ b/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/components/IdeaList.tsx @@ -4,7 +4,7 @@ import Column from 'react-columns' import { type IdeaBoxIdea, useIdeaBoxContext -} from '@apps/01.Productivity/IdeaBox/providers/IdeaBoxProvider' +} from '@apps/01.Productivity/ideaBox/providers/IdeaBoxProvider' import EntryImage from './IdeaEntry/EntryImage' import EntryLink from './IdeaEntry/EntryLink' diff --git a/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/index.tsx b/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/index.tsx index 4cd43b58e..f1e1aa8a2 100644 --- a/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/index.tsx +++ b/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/IdeaAndFolderList/index.tsx @@ -3,7 +3,7 @@ import { useModalStore } from 'lifeforge-ui' import { useCallback } from 'react' import { useTranslation } from 'react-i18next' -import { useIdeaBoxContext } from '@apps/01.Productivity/IdeaBox/providers/IdeaBoxProvider' +import { useIdeaBoxContext } from '@apps/01.Productivity/ideaBox/providers/IdeaBoxProvider' import ModifyIdeaModal from '../modals/ModifyIdeaModal' import FolderList from './components/FolderList' diff --git a/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/TagsSelector/index.tsx b/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/TagsSelector/index.tsx index 5a3395c80..e06e551a0 100644 --- a/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/TagsSelector/index.tsx +++ b/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/TagsSelector/index.tsx @@ -5,7 +5,7 @@ import { useParams } from 'react-router' import { type IdeaBoxTag, useIdeaBoxContext -} from '@apps/01.Productivity/IdeaBox/providers/IdeaBoxProvider' +} from '@apps/01.Productivity/ideaBox/providers/IdeaBoxProvider' import ModifyTagModal from '../modals/ModifyTagModal' import TagItem from './components/TagItem' diff --git a/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/modals/ModifyFolderModal.tsx b/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/modals/ModifyFolderModal.tsx index 4ede042b7..b5f68c7e1 100644 --- a/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/modals/ModifyFolderModal.tsx +++ b/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/modals/ModifyFolderModal.tsx @@ -5,7 +5,7 @@ import { useParams } from 'react-router' import { toast } from 'react-toastify' import type { InferInput } from 'shared' -import type { IdeaBoxFolder } from '@apps/01.Productivity/IdeaBox/providers/IdeaBoxProvider' +import type { IdeaBoxFolder } from '@apps/01.Productivity/ideaBox/providers/IdeaBoxProvider' function ModifyFolderModal({ data: { type, initialData }, diff --git a/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/modals/ModifyTagModal.tsx b/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/modals/ModifyTagModal.tsx index c7b223cb3..d152a4bbd 100644 --- a/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/modals/ModifyTagModal.tsx +++ b/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/components/modals/ModifyTagModal.tsx @@ -5,7 +5,7 @@ import { useParams } from 'react-router' import { toast } from 'react-toastify' import type { InferInput } from 'shared' -import type { IdeaBoxTag } from '@apps/01.Productivity/IdeaBox/providers/IdeaBoxProvider' +import type { IdeaBoxTag } from '@apps/01.Productivity/ideaBox/providers/IdeaBoxProvider' function ModifyTagModal({ data: { type, initialData }, diff --git a/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/index.tsx b/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/index.tsx index 0099c9076..42c9cd232 100644 --- a/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/index.tsx +++ b/client/src/apps/01.Productivity/IdeaBox/pages/Ideas/index.tsx @@ -3,7 +3,7 @@ import { useParams } from 'react-router' import IdeaBoxProvider, { useIdeaBoxContext -} from '@apps/01.Productivity/IdeaBox/providers/IdeaBoxProvider' +} from '@apps/01.Productivity/ideaBox/providers/IdeaBoxProvider' import FAB from './components/FAB' import Header from './components/Header' diff --git a/client/src/apps/01.Productivity/TodoList/components/Header.tsx b/client/src/apps/01.Productivity/TodoList/components/Header.tsx index 5a76c2aba..635dbdf44 100644 --- a/client/src/apps/01.Productivity/TodoList/components/Header.tsx +++ b/client/src/apps/01.Productivity/TodoList/components/Header.tsx @@ -1,7 +1,7 @@ import { Button, HeaderFilter, useModuleSidebarState } from 'lifeforge-ui' import { useTranslation } from 'react-i18next' -import { useTodoListContext } from '@apps/01.Productivity/TodoList/providers/TodoListProvider' +import { useTodoListContext } from '@apps/01.Productivity/todoList/providers/TodoListProvider' function Header() { const { t } = useTranslation('apps.todoList') diff --git a/client/src/apps/01.Productivity/TodoList/components/ModifyTaskDrawer/components/ListSelector.tsx b/client/src/apps/01.Productivity/TodoList/components/ModifyTaskDrawer/components/ListSelector.tsx index 39dc91457..ad72ea863 100644 --- a/client/src/apps/01.Productivity/TodoList/components/ModifyTaskDrawer/components/ListSelector.tsx +++ b/client/src/apps/01.Productivity/TodoList/components/ModifyTaskDrawer/components/ListSelector.tsx @@ -1,6 +1,6 @@ import { ListboxInput, ListboxOption } from 'lifeforge-ui' -import { useTodoListContext } from '@apps/01.Productivity/TodoList/providers/TodoListProvider' +import { useTodoListContext } from '@apps/01.Productivity/todoList/providers/TodoListProvider' function ListSelector({ list, diff --git a/client/src/apps/01.Productivity/TodoList/components/ModifyTaskDrawer/components/PrioritySelector.tsx b/client/src/apps/01.Productivity/TodoList/components/ModifyTaskDrawer/components/PrioritySelector.tsx index 6712cf744..ce98f1e2f 100644 --- a/client/src/apps/01.Productivity/TodoList/components/ModifyTaskDrawer/components/PrioritySelector.tsx +++ b/client/src/apps/01.Productivity/TodoList/components/ModifyTaskDrawer/components/PrioritySelector.tsx @@ -1,7 +1,7 @@ // PriorityListbox.tsx import { ListboxInput, ListboxOption } from 'lifeforge-ui' -import { useTodoListContext } from '@apps/01.Productivity/TodoList/providers/TodoListProvider' +import { useTodoListContext } from '@apps/01.Productivity/todoList/providers/TodoListProvider' function PrioritySelector({ priority, diff --git a/client/src/apps/01.Productivity/TodoList/components/ModifyTaskDrawer/components/TagsSelector.tsx b/client/src/apps/01.Productivity/TodoList/components/ModifyTaskDrawer/components/TagsSelector.tsx index ed7e9a549..a74f5d85e 100644 --- a/client/src/apps/01.Productivity/TodoList/components/ModifyTaskDrawer/components/TagsSelector.tsx +++ b/client/src/apps/01.Productivity/TodoList/components/ModifyTaskDrawer/components/TagsSelector.tsx @@ -1,6 +1,6 @@ import { ListboxInput, ListboxOption } from 'lifeforge-ui' -import { useTodoListContext } from '@apps/01.Productivity/TodoList/providers/TodoListProvider' +import { useTodoListContext } from '@apps/01.Productivity/todoList/providers/TodoListProvider' function TagsSelector({ tags, diff --git a/client/src/apps/01.Productivity/TodoList/components/ModifyTaskDrawer/index.tsx b/client/src/apps/01.Productivity/TodoList/components/ModifyTaskDrawer/index.tsx index a85657c29..60615e0bf 100644 --- a/client/src/apps/01.Productivity/TodoList/components/ModifyTaskDrawer/index.tsx +++ b/client/src/apps/01.Productivity/TodoList/components/ModifyTaskDrawer/index.tsx @@ -20,7 +20,7 @@ import { useTranslation } from 'react-i18next' import { toast } from 'react-toastify' import { usePromiseLoading } from 'shared' -import { useTodoListContext } from '@apps/01.Productivity/TodoList/providers/TodoListProvider' +import { useTodoListContext } from '@apps/01.Productivity/todoList/providers/TodoListProvider' import ListSelector from './components/ListSelector' import PrioritySelector from './components/PrioritySelector' diff --git a/client/src/apps/01.Productivity/TodoList/components/Sidebar/components/TaskListList.tsx b/client/src/apps/01.Productivity/TodoList/components/Sidebar/components/TaskListList.tsx index 6d79bae51..7c605cf26 100644 --- a/client/src/apps/01.Productivity/TodoList/components/Sidebar/components/TaskListList.tsx +++ b/client/src/apps/01.Productivity/TodoList/components/Sidebar/components/TaskListList.tsx @@ -3,8 +3,8 @@ import { useModalStore } from 'lifeforge-ui' import { useCallback } from 'react' import { useTranslation } from 'react-i18next' -import ModifyListModal from '@apps/01.Productivity/TodoList/modals/ModifyListModal' -import { useTodoListContext } from '@apps/01.Productivity/TodoList/providers/TodoListProvider' +import ModifyListModal from '@apps/01.Productivity/todoList/modals/ModifyListModal' +import { useTodoListContext } from '@apps/01.Productivity/todoList/providers/TodoListProvider' import TaskListListItem from './TaskListListItem' diff --git a/client/src/apps/01.Productivity/TodoList/components/Sidebar/components/TaskListListItem.tsx b/client/src/apps/01.Productivity/TodoList/components/Sidebar/components/TaskListListItem.tsx index 455ddfa8b..bdab200b6 100644 --- a/client/src/apps/01.Productivity/TodoList/components/Sidebar/components/TaskListListItem.tsx +++ b/client/src/apps/01.Productivity/TodoList/components/Sidebar/components/TaskListListItem.tsx @@ -9,11 +9,11 @@ import { import { useCallback } from 'react' import { toast } from 'react-toastify' -import ModifyListModal from '@apps/01.Productivity/TodoList/modals/ModifyListModal' +import ModifyListModal from '@apps/01.Productivity/todoList/modals/ModifyListModal' import { type TodoListList, useTodoListContext -} from '@apps/01.Productivity/TodoList/providers/TodoListProvider' +} from '@apps/01.Productivity/todoList/providers/TodoListProvider' function TaskListListItem({ item }: { item: TodoListList }) { const queryClient = useQueryClient() diff --git a/client/src/apps/01.Productivity/TodoList/components/Sidebar/components/TaskPriorityList.tsx b/client/src/apps/01.Productivity/TodoList/components/Sidebar/components/TaskPriorityList.tsx index d92d47811..73c7a6d3d 100644 --- a/client/src/apps/01.Productivity/TodoList/components/Sidebar/components/TaskPriorityList.tsx +++ b/client/src/apps/01.Productivity/TodoList/components/Sidebar/components/TaskPriorityList.tsx @@ -3,8 +3,8 @@ import { useModalStore } from 'lifeforge-ui' import { useCallback } from 'react' import { useTranslation } from 'react-i18next' -import ModifyPriorityModal from '@apps/01.Productivity/TodoList/modals/ModifyPriorityModal' -import { useTodoListContext } from '@apps/01.Productivity/TodoList/providers/TodoListProvider' +import ModifyPriorityModal from '@apps/01.Productivity/todoList/modals/ModifyPriorityModal' +import { useTodoListContext } from '@apps/01.Productivity/todoList/providers/TodoListProvider' import TaskPriorityListItem from './TaskPriorityListItem' diff --git a/client/src/apps/01.Productivity/TodoList/components/Sidebar/components/TaskPriorityListItem.tsx b/client/src/apps/01.Productivity/TodoList/components/Sidebar/components/TaskPriorityListItem.tsx index 7221acba3..a0b4b7068 100644 --- a/client/src/apps/01.Productivity/TodoList/components/Sidebar/components/TaskPriorityListItem.tsx +++ b/client/src/apps/01.Productivity/TodoList/components/Sidebar/components/TaskPriorityListItem.tsx @@ -9,11 +9,11 @@ import { import { useCallback } from 'react' import { toast } from 'react-toastify' -import ModifyPriorityModal from '@apps/01.Productivity/TodoList/modals/ModifyPriorityModal' +import ModifyPriorityModal from '@apps/01.Productivity/todoList/modals/ModifyPriorityModal' import { type TodoListPriority, useTodoListContext -} from '@apps/01.Productivity/TodoList/providers/TodoListProvider' +} from '@apps/01.Productivity/todoList/providers/TodoListProvider' function TaskPriorityListItem({ item }: { item: TodoListPriority }) { const queryClient = useQueryClient() diff --git a/client/src/apps/01.Productivity/TodoList/components/Sidebar/components/TaskStatusList.tsx b/client/src/apps/01.Productivity/TodoList/components/Sidebar/components/TaskStatusList.tsx index f2381d384..73259d1b2 100644 --- a/client/src/apps/01.Productivity/TodoList/components/Sidebar/components/TaskStatusList.tsx +++ b/client/src/apps/01.Productivity/TodoList/components/Sidebar/components/TaskStatusList.tsx @@ -1,6 +1,6 @@ import { SidebarItem, WithQuery } from 'lifeforge-ui' -import { useTodoListContext } from '@apps/01.Productivity/TodoList/providers/TodoListProvider' +import { useTodoListContext } from '@apps/01.Productivity/todoList/providers/TodoListProvider' function TaskStatusList() { const { statusCounterQuery, filter, setFilter } = useTodoListContext() diff --git a/client/src/apps/01.Productivity/TodoList/components/Sidebar/components/TaskTagList.tsx b/client/src/apps/01.Productivity/TodoList/components/Sidebar/components/TaskTagList.tsx index 464d9d228..8eb7fbb88 100644 --- a/client/src/apps/01.Productivity/TodoList/components/Sidebar/components/TaskTagList.tsx +++ b/client/src/apps/01.Productivity/TodoList/components/Sidebar/components/TaskTagList.tsx @@ -3,8 +3,8 @@ import { useModalStore } from 'lifeforge-ui' import { useCallback } from 'react' import { useTranslation } from 'react-i18next' -import ModifyTagModal from '@apps/01.Productivity/TodoList/modals/ModifyTagModal' -import { useTodoListContext } from '@apps/01.Productivity/TodoList/providers/TodoListProvider' +import ModifyTagModal from '@apps/01.Productivity/todoList/modals/ModifyTagModal' +import { useTodoListContext } from '@apps/01.Productivity/todoList/providers/TodoListProvider' import TaskTagListItem from './TaskTagListItem' diff --git a/client/src/apps/01.Productivity/TodoList/components/Sidebar/components/TaskTagListItem.tsx b/client/src/apps/01.Productivity/TodoList/components/Sidebar/components/TaskTagListItem.tsx index 5d382c752..aca2dff06 100644 --- a/client/src/apps/01.Productivity/TodoList/components/Sidebar/components/TaskTagListItem.tsx +++ b/client/src/apps/01.Productivity/TodoList/components/Sidebar/components/TaskTagListItem.tsx @@ -9,11 +9,11 @@ import { import { useCallback } from 'react' import { toast } from 'react-toastify' -import ModifyTagModal from '@apps/01.Productivity/TodoList/modals/ModifyTagModal' +import ModifyTagModal from '@apps/01.Productivity/todoList/modals/ModifyTagModal' import { type TodoListTag, useTodoListContext -} from '@apps/01.Productivity/TodoList/providers/TodoListProvider' +} from '@apps/01.Productivity/todoList/providers/TodoListProvider' function TaskTagListItem({ item }: { item: TodoListTag }) { const queryClient = useQueryClient() diff --git a/client/src/apps/01.Productivity/TodoList/components/TodoListContainer.tsx b/client/src/apps/01.Productivity/TodoList/components/TodoListContainer.tsx index b779a7933..3b6b6203e 100644 --- a/client/src/apps/01.Productivity/TodoList/components/TodoListContainer.tsx +++ b/client/src/apps/01.Productivity/TodoList/components/TodoListContainer.tsx @@ -8,7 +8,7 @@ import { toast } from 'react-toastify' import { type TodoListEntry, useTodoListContext -} from '@apps/01.Productivity/TodoList/providers/TodoListProvider' +} from '@apps/01.Productivity/todoList/providers/TodoListProvider' import Header from './Header' import ModifyTaskDrawer from './ModifyTaskDrawer' diff --git a/client/src/apps/01.Productivity/TodoList/components/tasks/TaskItem/components/TaskDueDate.tsx b/client/src/apps/01.Productivity/TodoList/components/tasks/TaskItem/components/TaskDueDate.tsx index 473cf166c..1db5e8422 100644 --- a/client/src/apps/01.Productivity/TodoList/components/tasks/TaskItem/components/TaskDueDate.tsx +++ b/client/src/apps/01.Productivity/TodoList/components/tasks/TaskItem/components/TaskDueDate.tsx @@ -1,7 +1,7 @@ import clsx from 'clsx' import dayjs from 'dayjs' -import type { TodoListEntry } from '@apps/01.Productivity/TodoList/providers/TodoListProvider' +import type { TodoListEntry } from '@apps/01.Productivity/todoList/providers/TodoListProvider' function TaskDueDate({ entry }: { entry: TodoListEntry }) { return ( diff --git a/client/src/apps/01.Productivity/TodoList/components/tasks/TaskItem/components/TaskHeader.tsx b/client/src/apps/01.Productivity/TodoList/components/tasks/TaskItem/components/TaskHeader.tsx index 916dc0f46..07031c222 100644 --- a/client/src/apps/01.Productivity/TodoList/components/tasks/TaskItem/components/TaskHeader.tsx +++ b/client/src/apps/01.Productivity/TodoList/components/tasks/TaskItem/components/TaskHeader.tsx @@ -1,7 +1,7 @@ import { type TodoListEntry, useTodoListContext -} from '@apps/01.Productivity/TodoList/providers/TodoListProvider' +} from '@apps/01.Productivity/todoList/providers/TodoListProvider' function TaskHeader({ entry }: { entry: TodoListEntry }) { const { prioritiesQuery } = useTodoListContext() diff --git a/client/src/apps/01.Productivity/TodoList/components/tasks/TaskItem/components/TaskTags.tsx b/client/src/apps/01.Productivity/TodoList/components/tasks/TaskItem/components/TaskTags.tsx index 4dbd2a370..79d6cb69c 100644 --- a/client/src/apps/01.Productivity/TodoList/components/tasks/TaskItem/components/TaskTags.tsx +++ b/client/src/apps/01.Productivity/TodoList/components/tasks/TaskItem/components/TaskTags.tsx @@ -1,7 +1,7 @@ import { type TodoListEntry, useTodoListContext -} from '@apps/01.Productivity/TodoList/providers/TodoListProvider' +} from '@apps/01.Productivity/todoList/providers/TodoListProvider' function TaskTags({ entry }: { entry: TodoListEntry }) { const { tagsListQuery } = useTodoListContext() diff --git a/client/src/apps/01.Productivity/TodoList/components/tasks/TaskItem/index.tsx b/client/src/apps/01.Productivity/TodoList/components/tasks/TaskItem/index.tsx index 28a734b73..e62532879 100644 --- a/client/src/apps/01.Productivity/TodoList/components/tasks/TaskItem/index.tsx +++ b/client/src/apps/01.Productivity/TodoList/components/tasks/TaskItem/index.tsx @@ -7,7 +7,7 @@ import { toast } from 'react-toastify' import { type TodoListEntry, useTodoListContext -} from '@apps/01.Productivity/TodoList/providers/TodoListProvider' +} from '@apps/01.Productivity/todoList/providers/TodoListProvider' import TaskDueDate from './components/TaskDueDate' import TaskHeader from './components/TaskHeader' diff --git a/client/src/apps/01.Productivity/TodoList/components/tasks/TaskList.tsx b/client/src/apps/01.Productivity/TodoList/components/tasks/TaskList.tsx index 2333b8ec4..6b1c8fa2f 100644 --- a/client/src/apps/01.Productivity/TodoList/components/tasks/TaskList.tsx +++ b/client/src/apps/01.Productivity/TodoList/components/tasks/TaskList.tsx @@ -1,6 +1,6 @@ import { Scrollbar } from 'lifeforge-ui' -import type { TodoListEntry } from '@apps/01.Productivity/TodoList/providers/TodoListProvider' +import type { TodoListEntry } from '@apps/01.Productivity/todoList/providers/TodoListProvider' import TaskItem from './TaskItem' diff --git a/client/src/apps/01.Productivity/TodoList/config.tsx b/client/src/apps/01.Productivity/TodoList/config.tsx index 9ca422110..ae5ace95f 100644 --- a/client/src/apps/01.Productivity/TodoList/config.tsx +++ b/client/src/apps/01.Productivity/TodoList/config.tsx @@ -6,7 +6,7 @@ export default { name: 'Todo List', icon: 'tabler:list-check', routes: { - 'todo-list': lazy(() => import('@apps/01.Productivity/TodoList')) + 'todo-list': lazy(() => import('@apps/01.Productivity/todoList')) }, togglable: true, hasAI: true, diff --git a/client/src/apps/01.Productivity/TodoList/index.tsx b/client/src/apps/01.Productivity/TodoList/index.tsx index e07ce39d6..eb2cef5cc 100644 --- a/client/src/apps/01.Productivity/TodoList/index.tsx +++ b/client/src/apps/01.Productivity/TodoList/index.tsx @@ -1,6 +1,6 @@ import { ModuleHeader } from 'lifeforge-ui' -import { TodoListProvider } from '@apps/01.Productivity/TodoList/providers/TodoListProvider' +import { TodoListProvider } from '@apps/01.Productivity/todoList/providers/TodoListProvider' import TodoListContainer from './components/TodoListContainer' diff --git a/server/src/apps/todoList/locales/en.json b/client/src/apps/01.Productivity/TodoList/locales/en.json similarity index 100% rename from server/src/apps/todoList/locales/en.json rename to client/src/apps/01.Productivity/TodoList/locales/en.json diff --git a/server/src/apps/todoList/locales/ms.json b/client/src/apps/01.Productivity/TodoList/locales/ms.json similarity index 100% rename from server/src/apps/todoList/locales/ms.json rename to client/src/apps/01.Productivity/TodoList/locales/ms.json diff --git a/server/src/apps/todoList/locales/zh-CN.json b/client/src/apps/01.Productivity/TodoList/locales/zh-CN.json similarity index 100% rename from server/src/apps/todoList/locales/zh-CN.json rename to client/src/apps/01.Productivity/TodoList/locales/zh-CN.json diff --git a/server/src/apps/todoList/locales/zh-TW.json b/client/src/apps/01.Productivity/TodoList/locales/zh-TW.json similarity index 100% rename from server/src/apps/todoList/locales/zh-TW.json rename to client/src/apps/01.Productivity/TodoList/locales/zh-TW.json diff --git a/client/src/apps/01.Productivity/TodoList/widgets/TodoList.tsx b/client/src/apps/01.Productivity/TodoList/widgets/TodoList.tsx index 6e09854bf..a6eb273e7 100644 --- a/client/src/apps/01.Productivity/TodoList/widgets/TodoList.tsx +++ b/client/src/apps/01.Productivity/TodoList/widgets/TodoList.tsx @@ -8,12 +8,12 @@ import { import { useTranslation } from 'react-i18next' import { Link, useNavigate } from 'react-router' -import type WidgetConfig from '@apps/00/Dashboard/typescript/widgetConfig.types' -import TaskItem from '@apps/01.Productivity/TodoList/components/tasks/TaskItem' +import type WidgetConfig from '@apps/00/dashboard/typescript/widgetConfig.types' +import TaskItem from '@apps/01.Productivity/todoList/components/tasks/TaskItem' import { TodoListProvider, useTodoListContext -} from '@apps/01.Productivity/TodoList/providers/TodoListProvider' +} from '@apps/01.Productivity/todoList/providers/TodoListProvider' function TodoListContent() { const { t } = useTranslation('apps.todoList') @@ -48,7 +48,7 @@ function TodoListContent() { }} icon="tabler:calendar-smile" name="today" - namespace="core.dashboard" + namespace="apps.dashboard" tKey="widgets.todoList" /> )} diff --git a/client/src/apps/02.Lifestyle/Achievements/components/EntryItem/components/ActionMenu.tsx b/client/src/apps/02.Lifestyle/Achievements/components/EntryItem/components/ActionMenu.tsx index 272506875..6fe3ba493 100644 --- a/client/src/apps/02.Lifestyle/Achievements/components/EntryItem/components/ActionMenu.tsx +++ b/client/src/apps/02.Lifestyle/Achievements/components/EntryItem/components/ActionMenu.tsx @@ -8,7 +8,7 @@ import { } from 'lifeforge-ui' import { useCallback } from 'react' -import type { Achievement } from '@apps/02.Lifestyle/Achievements' +import type { Achievement } from '@apps/02.Lifestyle/achievements' import ModifyAchievementModal from '../../ModifyAchievementModal' diff --git a/client/src/apps/02.Lifestyle/Achievements/components/EntryItem/components/AwardIcon.tsx b/client/src/apps/02.Lifestyle/Achievements/components/EntryItem/components/AwardIcon.tsx index 8eae4c76c..4dce40636 100644 --- a/client/src/apps/02.Lifestyle/Achievements/components/EntryItem/components/AwardIcon.tsx +++ b/client/src/apps/02.Lifestyle/Achievements/components/EntryItem/components/AwardIcon.tsx @@ -1,7 +1,7 @@ import { Icon } from '@iconify/react/dist/iconify.js' import clsx from 'clsx' -import type { Achievement } from '@apps/02.Lifestyle/Achievements' +import type { Achievement } from '@apps/02.Lifestyle/achievements' function AwardIcon({ difficulty }: { difficulty: Achievement['difficulty'] }) { return ( diff --git a/server/src/apps/achievements/locales/en.json b/client/src/apps/02.Lifestyle/Achievements/locales/en.json similarity index 100% rename from server/src/apps/achievements/locales/en.json rename to client/src/apps/02.Lifestyle/Achievements/locales/en.json diff --git a/server/src/apps/achievements/locales/ms.json b/client/src/apps/02.Lifestyle/Achievements/locales/ms.json similarity index 100% rename from server/src/apps/achievements/locales/ms.json rename to client/src/apps/02.Lifestyle/Achievements/locales/ms.json diff --git a/server/src/apps/achievements/locales/zh-CN.json b/client/src/apps/02.Lifestyle/Achievements/locales/zh-CN.json similarity index 100% rename from server/src/apps/achievements/locales/zh-CN.json rename to client/src/apps/02.Lifestyle/Achievements/locales/zh-CN.json diff --git a/server/src/apps/achievements/locales/zh-TW.json b/client/src/apps/02.Lifestyle/Achievements/locales/zh-TW.json similarity index 100% rename from server/src/apps/achievements/locales/zh-TW.json rename to client/src/apps/02.Lifestyle/Achievements/locales/zh-TW.json diff --git a/server/src/apps/blog/locales/en.json b/client/src/apps/02.Lifestyle/Blog/locales/en.json similarity index 100% rename from server/src/apps/blog/locales/en.json rename to client/src/apps/02.Lifestyle/Blog/locales/en.json diff --git a/server/src/apps/blog/locales/ms.json b/client/src/apps/02.Lifestyle/Blog/locales/ms.json similarity index 100% rename from server/src/apps/blog/locales/ms.json rename to client/src/apps/02.Lifestyle/Blog/locales/ms.json diff --git a/server/src/apps/blog/locales/zh-CN.json b/client/src/apps/02.Lifestyle/Blog/locales/zh-CN.json similarity index 100% rename from server/src/apps/blog/locales/zh-CN.json rename to client/src/apps/02.Lifestyle/Blog/locales/zh-CN.json diff --git a/server/src/apps/blog/locales/zh-TW.json b/client/src/apps/02.Lifestyle/Blog/locales/zh-TW.json similarity index 100% rename from server/src/apps/blog/locales/zh-TW.json rename to client/src/apps/02.Lifestyle/Blog/locales/zh-TW.json diff --git a/client/src/apps/02.Lifestyle/MomentVault/components/entries/AudioEntry.tsx b/client/src/apps/02.Lifestyle/MomentVault/components/entries/AudioEntry.tsx index ab77ff78c..7743b677e 100644 --- a/client/src/apps/02.Lifestyle/MomentVault/components/entries/AudioEntry.tsx +++ b/client/src/apps/02.Lifestyle/MomentVault/components/entries/AudioEntry.tsx @@ -11,7 +11,7 @@ import type { InferOutput } from 'shared' import { usePersonalization } from 'shared' import WaveSurfer from 'wavesurfer.js' -import type { MomentVaultEntry } from '@apps/02.Lifestyle/MomentVault' +import type { MomentVaultEntry } from '@apps/02.Lifestyle/momentVault' function AudioEntry({ currentPage, diff --git a/client/src/apps/02.Lifestyle/MomentVault/components/entries/PhotosEntry.tsx b/client/src/apps/02.Lifestyle/MomentVault/components/entries/PhotosEntry.tsx index 0fcd912cf..b465f3a5c 100644 --- a/client/src/apps/02.Lifestyle/MomentVault/components/entries/PhotosEntry.tsx +++ b/client/src/apps/02.Lifestyle/MomentVault/components/entries/PhotosEntry.tsx @@ -6,7 +6,7 @@ import { useEffect, useState } from 'react' import Zoom from 'react-medium-image-zoom' import PhotoAlbum from 'react-photo-album' -import type { MomentVaultEntry } from '@apps/02.Lifestyle/MomentVault' +import type { MomentVaultEntry } from '@apps/02.Lifestyle/momentVault' async function getNaturalHeightWidth(file: string) { return new Promise<{ height: number; width: number }>((resolve, reject) => { diff --git a/client/src/apps/02.Lifestyle/MomentVault/components/entries/TextEntry.tsx b/client/src/apps/02.Lifestyle/MomentVault/components/entries/TextEntry.tsx index 5d2d179ed..f61f2bf65 100644 --- a/client/src/apps/02.Lifestyle/MomentVault/components/entries/TextEntry.tsx +++ b/client/src/apps/02.Lifestyle/MomentVault/components/entries/TextEntry.tsx @@ -4,8 +4,8 @@ import { ContextMenu, ContextMenuItem, ItemWrapper } from 'lifeforge-ui' import { useModalStore } from 'lifeforge-ui' import { useCallback } from 'react' -import type { MomentVaultEntry } from '@apps/02.Lifestyle/MomentVault' -import ModifyTextEntryModal from '@apps/02.Lifestyle/MomentVault/modals/ModifyTextEntryModal' +import type { MomentVaultEntry } from '@apps/02.Lifestyle/momentVault' +import ModifyTextEntryModal from '@apps/02.Lifestyle/momentVault/modals/ModifyTextEntryModal' function TextEntry({ entry, diff --git a/server/src/apps/momentVault/locales/en.json b/client/src/apps/02.Lifestyle/MomentVault/locales/en.json similarity index 100% rename from server/src/apps/momentVault/locales/en.json rename to client/src/apps/02.Lifestyle/MomentVault/locales/en.json diff --git a/server/src/apps/momentVault/locales/ms.json b/client/src/apps/02.Lifestyle/MomentVault/locales/ms.json similarity index 100% rename from server/src/apps/momentVault/locales/ms.json rename to client/src/apps/02.Lifestyle/MomentVault/locales/ms.json diff --git a/server/src/apps/momentVault/locales/zh-CN.json b/client/src/apps/02.Lifestyle/MomentVault/locales/zh-CN.json similarity index 100% rename from server/src/apps/momentVault/locales/zh-CN.json rename to client/src/apps/02.Lifestyle/MomentVault/locales/zh-CN.json diff --git a/server/src/apps/momentVault/locales/zh-TW.json b/client/src/apps/02.Lifestyle/MomentVault/locales/zh-TW.json similarity index 100% rename from server/src/apps/momentVault/locales/zh-TW.json rename to client/src/apps/02.Lifestyle/MomentVault/locales/zh-TW.json diff --git a/server/src/apps/movies/locales/en.json b/client/src/apps/02.Lifestyle/Movies/locales/en.json similarity index 100% rename from server/src/apps/movies/locales/en.json rename to client/src/apps/02.Lifestyle/Movies/locales/en.json diff --git a/server/src/apps/movies/locales/ms.json b/client/src/apps/02.Lifestyle/Movies/locales/ms.json similarity index 100% rename from server/src/apps/movies/locales/ms.json rename to client/src/apps/02.Lifestyle/Movies/locales/ms.json diff --git a/server/src/apps/movies/locales/zh-CN.json b/client/src/apps/02.Lifestyle/Movies/locales/zh-CN.json similarity index 100% rename from server/src/apps/movies/locales/zh-CN.json rename to client/src/apps/02.Lifestyle/Movies/locales/zh-CN.json diff --git a/server/src/apps/movies/locales/zh-TW.json b/client/src/apps/02.Lifestyle/Movies/locales/zh-TW.json similarity index 100% rename from server/src/apps/movies/locales/zh-TW.json rename to client/src/apps/02.Lifestyle/Movies/locales/zh-TW.json diff --git a/client/src/apps/03.Finance/Wallet/hooks/useWalletData.ts b/client/src/apps/03.Finance/Wallet/hooks/useWalletData.ts index 41c8a504b..04f926e45 100644 --- a/client/src/apps/03.Finance/Wallet/hooks/useWalletData.ts +++ b/client/src/apps/03.Finance/Wallet/hooks/useWalletData.ts @@ -40,7 +40,7 @@ export function useWalletData() { const templatesQuery = useQuery(forgeAPI.wallet.templates.list.queryOptions()) const typesCountQuery = useQuery( - forgeAPI.wallet.utils.getTypesCount.queryOptions() + forgeAPI.wallet.apps.getTypesCount.queryOptions() ) const filteredTransactions = useFilteredTransactions( diff --git a/server/src/apps/wallet/locales/en.json b/client/src/apps/03.Finance/Wallet/locales/en.json similarity index 100% rename from server/src/apps/wallet/locales/en.json rename to client/src/apps/03.Finance/Wallet/locales/en.json diff --git a/server/src/apps/wallet/locales/ms.json b/client/src/apps/03.Finance/Wallet/locales/ms.json similarity index 100% rename from server/src/apps/wallet/locales/ms.json rename to client/src/apps/03.Finance/Wallet/locales/ms.json diff --git a/server/src/apps/wallet/locales/zh-CN.json b/client/src/apps/03.Finance/Wallet/locales/zh-CN.json similarity index 100% rename from server/src/apps/wallet/locales/zh-CN.json rename to client/src/apps/03.Finance/Wallet/locales/zh-CN.json diff --git a/server/src/apps/wallet/locales/zh-TW.json b/client/src/apps/03.Finance/Wallet/locales/zh-TW.json similarity index 100% rename from server/src/apps/wallet/locales/zh-TW.json rename to client/src/apps/03.Finance/Wallet/locales/zh-TW.json diff --git a/client/src/apps/03.Finance/Wallet/pages/Assets/components/AssetItem.tsx b/client/src/apps/03.Finance/Wallet/pages/Assets/components/AssetItem.tsx index 7b635f5ec..49e9d2120 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Assets/components/AssetItem.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Assets/components/AssetItem.tsx @@ -13,9 +13,9 @@ import { import { useNavigate } from 'react-router' import { toast } from 'react-toastify' -import type { WalletAsset } from '@apps/03.Finance/Wallet/hooks/useWalletData' -import { useWalletStore } from '@apps/03.Finance/Wallet/stores/useWalletStore' -import numberToCurrency from '@apps/03.Finance/Wallet/utils/numberToCurrency' +import type { WalletAsset } from '@apps/03.Finance/wallet/hooks/useWalletData' +import { useWalletStore } from '@apps/03.Finance/wallet/stores/useWalletStore' +import numberToCurrency from '@apps/03.Finance/wallet/utils/numberToCurrency' import BalanceChartModal from '../modals/BalanceChartModal' import ModifyAssetModal from '../modals/ModifyAssetModal' diff --git a/client/src/apps/03.Finance/Wallet/pages/Assets/index.tsx b/client/src/apps/03.Finance/Wallet/pages/Assets/index.tsx index afda443f8..c6285fe2a 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Assets/index.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Assets/index.tsx @@ -12,8 +12,8 @@ import { useCallback, useEffect } from 'react' import { useTranslation } from 'react-i18next' import { useLocation } from 'react-router' -import { useWalletData } from '@apps/03.Finance/Wallet/hooks/useWalletData' -import { useWalletStore } from '@apps/03.Finance/Wallet/stores/useWalletStore' +import { useWalletData } from '@apps/03.Finance/wallet/hooks/useWalletData' +import { useWalletStore } from '@apps/03.Finance/wallet/stores/useWalletStore' import AssetItem from './components/AssetItem' import ModifyAssetModal from './modals/ModifyAssetModal' diff --git a/client/src/apps/03.Finance/Wallet/pages/Assets/modals/BalanceChartModal.tsx b/client/src/apps/03.Finance/Wallet/pages/Assets/modals/BalanceChartModal.tsx index 5d191cc6a..d97d385df 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Assets/modals/BalanceChartModal.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Assets/modals/BalanceChartModal.tsx @@ -17,8 +17,8 @@ import { Line } from 'react-chartjs-2' import { usePersonalization } from 'shared' import tinycolor from 'tinycolor2' -import type { WalletAsset } from '@apps/03.Finance/Wallet/hooks/useWalletData' -import numberToCurrency from '@apps/03.Finance/Wallet/utils/numberToCurrency' +import type { WalletAsset } from '@apps/03.Finance/wallet/hooks/useWalletData' +import numberToCurrency from '@apps/03.Finance/wallet/utils/numberToCurrency' // Register Chart.js components ChartJS.register( diff --git a/client/src/apps/03.Finance/Wallet/pages/Assets/modals/ModifyAssetModal.tsx b/client/src/apps/03.Finance/Wallet/pages/Assets/modals/ModifyAssetModal.tsx index 82fd4ad10..2573b9b8d 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Assets/modals/ModifyAssetModal.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Assets/modals/ModifyAssetModal.tsx @@ -4,7 +4,7 @@ import { FormModal, defineForm } from 'lifeforge-ui' import { toast } from 'react-toastify' import { type InferInput } from 'shared' -import type { WalletAsset } from '@apps/03.Finance/Wallet/hooks/useWalletData' +import type { WalletAsset } from '@apps/03.Finance/wallet/hooks/useWalletData' function ModifyAssetModal({ data: { type, initialData }, diff --git a/client/src/apps/03.Finance/Wallet/pages/Dashboard/components/AssetsBalanceCard.tsx b/client/src/apps/03.Finance/Wallet/pages/Dashboard/components/AssetsBalanceCard.tsx index 76cc70234..b2b80c713 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Dashboard/components/AssetsBalanceCard.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Dashboard/components/AssetsBalanceCard.tsx @@ -9,9 +9,9 @@ import { import { useTranslation } from 'react-i18next' import { Link, useNavigate } from 'react-router' -import { useWalletData } from '@apps/03.Finance/Wallet/hooks/useWalletData' -import { useWalletStore } from '@apps/03.Finance/Wallet/stores/useWalletStore' -import numberToCurrency from '@apps/03.Finance/Wallet/utils/numberToCurrency' +import { useWalletData } from '@apps/03.Finance/wallet/hooks/useWalletData' +import { useWalletStore } from '@apps/03.Finance/wallet/stores/useWalletStore' +import numberToCurrency from '@apps/03.Finance/wallet/utils/numberToCurrency' function AssetsBalanceCard() { const navigate = useNavigate() diff --git a/client/src/apps/03.Finance/Wallet/pages/Dashboard/components/ExpensesBreakdownCard/components/BreakdownDetails.tsx b/client/src/apps/03.Finance/Wallet/pages/Dashboard/components/ExpensesBreakdownCard/components/BreakdownDetails.tsx index 15b8e8093..fdadf3a12 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Dashboard/components/ExpensesBreakdownCard/components/BreakdownDetails.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Dashboard/components/ExpensesBreakdownCard/components/BreakdownDetails.tsx @@ -5,8 +5,8 @@ import { useContext } from 'react' import { useTranslation } from 'react-i18next' import { Link } from 'react-router' -import { useWalletStore } from '@apps/03.Finance/Wallet/stores/useWalletStore' -import numberToCurrency from '@apps/03.Finance/Wallet/utils/numberToCurrency' +import { useWalletStore } from '@apps/03.Finance/wallet/stores/useWalletStore' +import numberToCurrency from '@apps/03.Finance/wallet/utils/numberToCurrency' import { ExpensesBreakdownContext } from '..' diff --git a/client/src/apps/03.Finance/Wallet/pages/Dashboard/components/ExpensesBreakdownCard/components/BreakdownDoughnutChart.tsx b/client/src/apps/03.Finance/Wallet/pages/Dashboard/components/ExpensesBreakdownCard/components/BreakdownDoughnutChart.tsx index af898cac2..60b623b6a 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Dashboard/components/ExpensesBreakdownCard/components/BreakdownDoughnutChart.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Dashboard/components/ExpensesBreakdownCard/components/BreakdownDoughnutChart.tsx @@ -4,8 +4,8 @@ import { useContext } from 'react' import { Doughnut } from 'react-chartjs-2' import { useTranslation } from 'react-i18next' -import { useWalletStore } from '@apps/03.Finance/Wallet/stores/useWalletStore' -import numberToCurrency from '@apps/03.Finance/Wallet/utils/numberToCurrency' +import { useWalletStore } from '@apps/03.Finance/wallet/stores/useWalletStore' +import numberToCurrency from '@apps/03.Finance/wallet/utils/numberToCurrency' import { ExpensesBreakdownContext } from '..' diff --git a/client/src/apps/03.Finance/Wallet/pages/Dashboard/components/ExpensesBreakdownCard/index.tsx b/client/src/apps/03.Finance/Wallet/pages/Dashboard/components/ExpensesBreakdownCard/index.tsx index 902135f55..8bc12ad79 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Dashboard/components/ExpensesBreakdownCard/index.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Dashboard/components/ExpensesBreakdownCard/index.tsx @@ -7,8 +7,8 @@ import { createContext, useMemo, useState } from 'react' import { Link } from 'react-router' import type { InferOutput } from 'shared' -import { useWalletData } from '@apps/03.Finance/Wallet/hooks/useWalletData' -import type { WalletCategory } from '@apps/03.Finance/Wallet/pages/Transactions' +import { useWalletData } from '@apps/03.Finance/wallet/hooks/useWalletData' +import type { WalletCategory } from '@apps/03.Finance/wallet/pages/Transactions' import BreakdownChartLegend from './components/BreakdownChartLegend' import BreakdownDetails from './components/BreakdownDetails' @@ -16,7 +16,7 @@ import BreakdownDoughnutChart from './components/BreakdownDoughnutChart' export const ExpensesBreakdownContext = createContext<{ spentOnEachCategory: InferOutput< - typeof forgeAPI.wallet.utils.getExpensesBreakdown + typeof forgeAPI.wallet.apps.getExpensesBreakdown > expensesCategories: WalletCategory[] }>({ @@ -33,7 +33,7 @@ function ExpensesBreakdownCard() { const [month] = useState(dayjs().month() + 1) const expensesBreakdownQuery = useQuery( - forgeAPI.wallet.utils.getExpensesBreakdown + forgeAPI.wallet.apps.getExpensesBreakdown .input({ year: year.toString(), month: month.toString() }) .queryOptions() ) diff --git a/client/src/apps/03.Finance/Wallet/pages/Dashboard/components/IncomeExpensesCard.tsx b/client/src/apps/03.Finance/Wallet/pages/Dashboard/components/IncomeExpensesCard.tsx index 697e45395..da6e6aa33 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Dashboard/components/IncomeExpensesCard.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Dashboard/components/IncomeExpensesCard.tsx @@ -4,8 +4,8 @@ import forgeAPI from '@utils/forgeAPI' import clsx from 'clsx' import { DashboardItem, WithQuery } from 'lifeforge-ui' -import { useWalletStore } from '@apps/03.Finance/Wallet/stores/useWalletStore' -import numberToCurrency from '@apps/03.Finance/Wallet/utils/numberToCurrency' +import { useWalletStore } from '@apps/03.Finance/wallet/stores/useWalletStore' +import numberToCurrency from '@apps/03.Finance/wallet/utils/numberToCurrency' function IncomeExpenseCard({ title, icon }: { title: string; icon: string }) { const isIncome = title.toLowerCase() === 'income' @@ -13,7 +13,7 @@ function IncomeExpenseCard({ title, icon }: { title: string; icon: string }) { const { isAmountHidden } = useWalletStore() const incomeExpensesQuery = useQuery( - forgeAPI.wallet.utils.getIncomeExpensesSummary + forgeAPI.wallet.apps.getIncomeExpensesSummary .input({ year: new Date().getFullYear().toString(), month: (new Date().getMonth() + 1).toString() diff --git a/client/src/apps/03.Finance/Wallet/pages/Dashboard/components/StatisticChartCard.tsx b/client/src/apps/03.Finance/Wallet/pages/Dashboard/components/StatisticChartCard.tsx index d1c94de80..7058b375d 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Dashboard/components/StatisticChartCard.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Dashboard/components/StatisticChartCard.tsx @@ -5,7 +5,7 @@ import { useMemo } from 'react' import { Line } from 'react-chartjs-2' import { useTranslation } from 'react-i18next' -import { useWalletData } from '@apps/03.Finance/Wallet/hooks/useWalletData' +import { useWalletData } from '@apps/03.Finance/wallet/hooks/useWalletData' const options = { maintainAspectRatio: false, diff --git a/client/src/apps/03.Finance/Wallet/pages/Dashboard/components/TransactionsCard/components/TransactionAmount.tsx b/client/src/apps/03.Finance/Wallet/pages/Dashboard/components/TransactionsCard/components/TransactionAmount.tsx index b6e617d42..b545a536b 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Dashboard/components/TransactionsCard/components/TransactionAmount.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Dashboard/components/TransactionsCard/components/TransactionAmount.tsx @@ -1,7 +1,7 @@ import clsx from 'clsx' -import type { WalletTransaction } from '@apps/03.Finance/Wallet/pages/Transactions' -import numberToCurrency from '@apps/03.Finance/Wallet/utils/numberToCurrency' +import type { WalletTransaction } from '@apps/03.Finance/wallet/pages/Transactions' +import numberToCurrency from '@apps/03.Finance/wallet/utils/numberToCurrency' function TransactionAmount({ type, diff --git a/client/src/apps/03.Finance/Wallet/pages/Dashboard/components/TransactionsCard/components/TransactionParticular.tsx b/client/src/apps/03.Finance/Wallet/pages/Dashboard/components/TransactionsCard/components/TransactionParticular.tsx index c3b6c91ae..5f73f2231 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Dashboard/components/TransactionsCard/components/TransactionParticular.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Dashboard/components/TransactionsCard/components/TransactionParticular.tsx @@ -1,5 +1,5 @@ -import { useWalletData } from '@apps/03.Finance/Wallet/hooks/useWalletData' -import type { WalletTransaction } from '@apps/03.Finance/Wallet/pages/Transactions' +import { useWalletData } from '@apps/03.Finance/wallet/hooks/useWalletData' +import type { WalletTransaction } from '@apps/03.Finance/wallet/pages/Transactions' function TransactionParticular({ transaction diff --git a/client/src/apps/03.Finance/Wallet/pages/Dashboard/components/TransactionsCard/index.tsx b/client/src/apps/03.Finance/Wallet/pages/Dashboard/components/TransactionsCard/index.tsx index efe3ea5f0..3008f9c5f 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Dashboard/components/TransactionsCard/index.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Dashboard/components/TransactionsCard/index.tsx @@ -7,7 +7,7 @@ import { } from 'lifeforge-ui' import { Link } from 'react-router' -import { useWalletData } from '@apps/03.Finance/Wallet/hooks/useWalletData' +import { useWalletData } from '@apps/03.Finance/wallet/hooks/useWalletData' import ListView from './views/ListView' import TableView from './views/TableView' diff --git a/client/src/apps/03.Finance/Wallet/pages/Dashboard/components/TransactionsCard/views/ListView/index.tsx b/client/src/apps/03.Finance/Wallet/pages/Dashboard/components/TransactionsCard/views/ListView/index.tsx index 0f779666b..a4092662d 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Dashboard/components/TransactionsCard/views/ListView/index.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Dashboard/components/TransactionsCard/views/ListView/index.tsx @@ -3,7 +3,7 @@ import clsx from 'clsx' import dayjs from 'dayjs' import { WithQuery } from 'lifeforge-ui' -import { useWalletData } from '@apps/03.Finance/Wallet/hooks/useWalletData' +import { useWalletData } from '@apps/03.Finance/wallet/hooks/useWalletData' import TransactionAmount from '../../components/TransactionAmount' import TransactionParticular from '../../components/TransactionParticular' diff --git a/client/src/apps/03.Finance/Wallet/pages/Dashboard/components/TransactionsCard/views/TableView/index.tsx b/client/src/apps/03.Finance/Wallet/pages/Dashboard/components/TransactionsCard/views/TableView/index.tsx index cecb414fb..0d8265ed9 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Dashboard/components/TransactionsCard/views/TableView/index.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Dashboard/components/TransactionsCard/views/TableView/index.tsx @@ -5,7 +5,7 @@ import { WithQuery } from 'lifeforge-ui' import { useTranslation } from 'react-i18next' import { Link } from 'react-router' -import { useWalletData } from '@apps/03.Finance/Wallet/hooks/useWalletData' +import { useWalletData } from '@apps/03.Finance/wallet/hooks/useWalletData' import TransactionAmount from '../../components/TransactionAmount' import TransactionParticular from '../../components/TransactionParticular' diff --git a/client/src/apps/03.Finance/Wallet/pages/Dashboard/components/TransactionsCountCard.tsx b/client/src/apps/03.Finance/Wallet/pages/Dashboard/components/TransactionsCountCard.tsx index b2b23e2a2..89d95bbba 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Dashboard/components/TransactionsCountCard.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Dashboard/components/TransactionsCountCard.tsx @@ -4,9 +4,9 @@ import { DashboardItem, Scrollbar, WithQuery } from 'lifeforge-ui' import { useTranslation } from 'react-i18next' import { Link } from 'react-router' -import { useWalletData } from '@apps/03.Finance/Wallet/hooks/useWalletData' -import { useWalletStore } from '@apps/03.Finance/Wallet/stores/useWalletStore' -import numberToCurrency from '@apps/03.Finance/Wallet/utils/numberToCurrency' +import { useWalletData } from '@apps/03.Finance/wallet/hooks/useWalletData' +import { useWalletStore } from '@apps/03.Finance/wallet/stores/useWalletStore' +import numberToCurrency from '@apps/03.Finance/wallet/utils/numberToCurrency' function TransactionsCountCard() { const { transactionsQuery, typesCountQuery } = useWalletData() diff --git a/client/src/apps/03.Finance/Wallet/pages/Dashboard/index.tsx b/client/src/apps/03.Finance/Wallet/pages/Dashboard/index.tsx index a2bd834d1..2046e941d 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Dashboard/index.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Dashboard/index.tsx @@ -21,7 +21,7 @@ import { import { useTranslation } from 'react-i18next' import { useNavigate } from 'react-router' -import { useWalletStore } from '@apps/03.Finance/Wallet/stores/useWalletStore' +import { useWalletStore } from '@apps/03.Finance/wallet/stores/useWalletStore' import AssetsBalanceCard from './components/AssetsBalanceCard' import ExpensesBreakdownCard from './components/ExpensesBreakdownCard' diff --git a/client/src/apps/03.Finance/Wallet/pages/Ledgers/components/LedgerItem.tsx b/client/src/apps/03.Finance/Wallet/pages/Ledgers/components/LedgerItem.tsx index d6f2be0ed..4b2f2f674 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Ledgers/components/LedgerItem.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Ledgers/components/LedgerItem.tsx @@ -12,7 +12,7 @@ import { useTranslation } from 'react-i18next' import { useNavigate } from 'react-router' import { toast } from 'react-toastify' -import type { WalletLedger } from '@apps/03.Finance/Wallet/hooks/useWalletData' +import type { WalletLedger } from '@apps/03.Finance/wallet/hooks/useWalletData' import ModifyLedgerModal from '../modals/ModifyLedgerModal' diff --git a/client/src/apps/03.Finance/Wallet/pages/Ledgers/index.tsx b/client/src/apps/03.Finance/Wallet/pages/Ledgers/index.tsx index 573e3a3f0..809588721 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Ledgers/index.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Ledgers/index.tsx @@ -10,7 +10,7 @@ import { useEffect } from 'react' import { useTranslation } from 'react-i18next' import { useLocation } from 'react-router' -import { useWalletData } from '@apps/03.Finance/Wallet/hooks/useWalletData' +import { useWalletData } from '@apps/03.Finance/wallet/hooks/useWalletData' import LedgerItem from './components/LedgerItem' import ModifyLedgerModal from './modals/ModifyLedgerModal' diff --git a/client/src/apps/03.Finance/Wallet/pages/Ledgers/modals/ModifyLedgerModal.tsx b/client/src/apps/03.Finance/Wallet/pages/Ledgers/modals/ModifyLedgerModal.tsx index 9a0df59a6..88e4a66ca 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Ledgers/modals/ModifyLedgerModal.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Ledgers/modals/ModifyLedgerModal.tsx @@ -4,7 +4,7 @@ import { FormModal, defineForm } from 'lifeforge-ui' import { toast } from 'react-toastify' import { type InferInput } from 'shared' -import type { WalletLedger } from '@apps/03.Finance/Wallet/hooks/useWalletData' +import type { WalletLedger } from '@apps/03.Finance/wallet/hooks/useWalletData' function ModifyLedgerModal({ data: { type, initialData }, diff --git a/client/src/apps/03.Finance/Wallet/pages/SpendingHeatmap/index.tsx b/client/src/apps/03.Finance/Wallet/pages/SpendingHeatmap/index.tsx index 160f6fded..56da9e512 100644 --- a/client/src/apps/03.Finance/Wallet/pages/SpendingHeatmap/index.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/SpendingHeatmap/index.tsx @@ -4,8 +4,8 @@ import { useMemo } from 'react' import { useNavigate } from 'react-router' import colors from 'tailwindcss/colors' -import { useWalletData } from '@apps/03.Finance/Wallet/hooks/useWalletData' -import numberToCurrency from '@apps/03.Finance/Wallet/utils/numberToCurrency' +import { useWalletData } from '@apps/03.Finance/wallet/hooks/useWalletData' +import numberToCurrency from '@apps/03.Finance/wallet/utils/numberToCurrency' interface SpendingLocationData { lat: number diff --git a/client/src/apps/03.Finance/Wallet/pages/Statements/components/StatementContent/components/sections/Overview/components/AssetsTable.tsx b/client/src/apps/03.Finance/Wallet/pages/Statements/components/StatementContent/components/sections/Overview/components/AssetsTable.tsx index 2038cbe37..817498f0c 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Statements/components/StatementContent/components/sections/Overview/components/AssetsTable.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Statements/components/StatementContent/components/sections/Overview/components/AssetsTable.tsx @@ -6,9 +6,9 @@ import { WithQuery } from 'lifeforge-ui' import { type WalletAsset, useWalletData -} from '@apps/03.Finance/Wallet/hooks/useWalletData' -import type { WalletTransaction } from '@apps/03.Finance/Wallet/pages/Transactions' -import numberToCurrency from '@apps/03.Finance/Wallet/utils/numberToCurrency' +} from '@apps/03.Finance/wallet/hooks/useWalletData' +import type { WalletTransaction } from '@apps/03.Finance/wallet/pages/Transactions' +import numberToCurrency from '@apps/03.Finance/wallet/utils/numberToCurrency' function getAmounts({ asset, diff --git a/client/src/apps/03.Finance/Wallet/pages/Statements/components/StatementContent/components/sections/Overview/components/IncomeExpensesTable.tsx b/client/src/apps/03.Finance/Wallet/pages/Statements/components/StatementContent/components/sections/Overview/components/IncomeExpensesTable.tsx index f4cc2392b..065fa033a 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Statements/components/StatementContent/components/sections/Overview/components/IncomeExpensesTable.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Statements/components/StatementContent/components/sections/Overview/components/IncomeExpensesTable.tsx @@ -2,8 +2,8 @@ import { Icon } from '@iconify/react' import clsx from 'clsx' import dayjs from 'dayjs' -import { useWalletData } from '@apps/03.Finance/Wallet/hooks/useWalletData' -import numberToCurrency from '@apps/03.Finance/Wallet/utils/numberToCurrency' +import { useWalletData } from '@apps/03.Finance/wallet/hooks/useWalletData' +import numberToCurrency from '@apps/03.Finance/wallet/utils/numberToCurrency' function IncomeExpensesTable({ month, diff --git a/client/src/apps/03.Finance/Wallet/pages/Statements/components/StatementContent/components/sections/Overview/components/OverviewSummary.tsx b/client/src/apps/03.Finance/Wallet/pages/Statements/components/StatementContent/components/sections/Overview/components/OverviewSummary.tsx index c260a191f..dbcb24b23 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Statements/components/StatementContent/components/sections/Overview/components/OverviewSummary.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Statements/components/StatementContent/components/sections/Overview/components/OverviewSummary.tsx @@ -1,7 +1,7 @@ import clsx from 'clsx' -import type { WalletTransaction } from '@apps/03.Finance/Wallet/pages/Transactions' -import numberToCurrency from '@apps/03.Finance/Wallet/utils/numberToCurrency' +import type { WalletTransaction } from '@apps/03.Finance/wallet/pages/Transactions' +import numberToCurrency from '@apps/03.Finance/wallet/utils/numberToCurrency' function OverviewSummary({ filteredTransactions diff --git a/client/src/apps/03.Finance/Wallet/pages/Statements/components/StatementContent/components/sections/Overview/index.tsx b/client/src/apps/03.Finance/Wallet/pages/Statements/components/StatementContent/components/sections/Overview/index.tsx index 390d60497..1657fd2c0 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Statements/components/StatementContent/components/sections/Overview/index.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Statements/components/StatementContent/components/sections/Overview/index.tsx @@ -1,7 +1,7 @@ import dayjs from 'dayjs' import { useMemo } from 'react' -import { useWalletData } from '@apps/03.Finance/Wallet/hooks/useWalletData' +import { useWalletData } from '@apps/03.Finance/wallet/hooks/useWalletData' import AssetsTable from './components/AssetsTable' import IncomeExpensesTable from './components/IncomeExpensesTable' diff --git a/client/src/apps/03.Finance/Wallet/pages/Statements/components/StatementContent/components/sections/Transactions/components/TransactionList.tsx b/client/src/apps/03.Finance/Wallet/pages/Statements/components/StatementContent/components/sections/Transactions/components/TransactionList.tsx index 0e1c9e282..6ce80d7ca 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Statements/components/StatementContent/components/sections/Transactions/components/TransactionList.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Statements/components/StatementContent/components/sections/Transactions/components/TransactionList.tsx @@ -1,8 +1,8 @@ import { Icon } from '@iconify/react' import dayjs from 'dayjs' -import { useWalletData } from '@apps/03.Finance/Wallet/hooks/useWalletData' -import numberToCurrency from '@apps/03.Finance/Wallet/utils/numberToCurrency' +import { useWalletData } from '@apps/03.Finance/wallet/hooks/useWalletData' +import numberToCurrency from '@apps/03.Finance/wallet/utils/numberToCurrency' function TransactionList({ type, diff --git a/client/src/apps/03.Finance/Wallet/pages/Statements/components/StatementContent/components/sections/Transactions/components/TransactionsSummary.tsx b/client/src/apps/03.Finance/Wallet/pages/Statements/components/StatementContent/components/sections/Transactions/components/TransactionsSummary.tsx index ace9cb066..4d14895a9 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Statements/components/StatementContent/components/sections/Transactions/components/TransactionsSummary.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Statements/components/StatementContent/components/sections/Transactions/components/TransactionsSummary.tsx @@ -2,7 +2,7 @@ import { Icon } from '@iconify/react/dist/iconify.js' import clsx from 'clsx' import dayjs from 'dayjs' -import { useWalletData } from '@apps/03.Finance/Wallet/hooks/useWalletData' +import { useWalletData } from '@apps/03.Finance/wallet/hooks/useWalletData' function TransactionsSummary({ month, year }: { month: number; year: number }) { const { transactionsQuery } = useWalletData() diff --git a/client/src/apps/03.Finance/Wallet/pages/Statements/components/YearMonthInput.tsx b/client/src/apps/03.Finance/Wallet/pages/Statements/components/YearMonthInput.tsx index ddc49d0d2..8c2e7c051 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Statements/components/YearMonthInput.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Statements/components/YearMonthInput.tsx @@ -2,7 +2,7 @@ import dayjs from 'dayjs' import { ListboxInput, ListboxOption } from 'lifeforge-ui' import { useEffect, useMemo } from 'react' -import { useWalletData } from '@apps/03.Finance/Wallet/hooks/useWalletData' +import { useWalletData } from '@apps/03.Finance/wallet/hooks/useWalletData' function YearMonthInput({ month, diff --git a/client/src/apps/03.Finance/Wallet/pages/Transactions/components/InnerHeader.tsx b/client/src/apps/03.Finance/Wallet/pages/Transactions/components/InnerHeader.tsx index 1508ff11a..cb5d59a8b 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Transactions/components/InnerHeader.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Transactions/components/InnerHeader.tsx @@ -1,9 +1,9 @@ import { Button, HeaderFilter, useModuleSidebarState } from 'lifeforge-ui' import { useTranslation } from 'react-i18next' -import { useFilteredTransactions } from '@apps/03.Finance/Wallet/hooks/useFilteredTransactions' -import { useWalletData } from '@apps/03.Finance/Wallet/hooks/useWalletData' -import { useWalletStore } from '@apps/03.Finance/Wallet/stores/useWalletStore' +import { useFilteredTransactions } from '@apps/03.Finance/wallet/hooks/useFilteredTransactions' +import { useWalletData } from '@apps/03.Finance/wallet/hooks/useWalletData' +import { useWalletStore } from '@apps/03.Finance/wallet/stores/useWalletStore' function InnerHeader() { const { transactionsQuery, assetsQuery, categoriesQuery, ledgersQuery } = diff --git a/client/src/apps/03.Finance/Wallet/pages/Transactions/components/SearchBar.tsx b/client/src/apps/03.Finance/Wallet/pages/Transactions/components/SearchBar.tsx index 388bb3873..fe65184bd 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Transactions/components/SearchBar.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Transactions/components/SearchBar.tsx @@ -1,6 +1,6 @@ import { SearchInput } from 'lifeforge-ui' -import { useWalletStore } from '@apps/03.Finance/Wallet/stores/useWalletStore' +import { useWalletStore } from '@apps/03.Finance/wallet/stores/useWalletStore' function SearchBar() { const { searchQuery, setSearchQuery } = useWalletStore() diff --git a/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/AllTransactionsButton.tsx b/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/AllTransactionsButton.tsx index bce67e6a3..06f9f6508 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/AllTransactionsButton.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/AllTransactionsButton.tsx @@ -2,7 +2,7 @@ import { SidebarItem } from 'lifeforge-ui' import { useCallback, useMemo } from 'react' import { useTranslation } from 'react-i18next' -import { useWalletStore } from '@apps/03.Finance/Wallet/stores/useWalletStore' +import { useWalletStore } from '@apps/03.Finance/wallet/stores/useWalletStore' function AllTransactionsButton() { const { t } = useTranslation('apps.wallet') diff --git a/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/AssetsSection.tsx b/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/AssetsSection.tsx index 82ef0331c..6931cfd23 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/AssetsSection.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/AssetsSection.tsx @@ -3,7 +3,7 @@ import { useCallback, useMemo } from 'react' import { useTranslation } from 'react-i18next' import { useNavigate } from 'react-router' -import { useWalletData } from '@apps/03.Finance/Wallet/hooks/useWalletData' +import { useWalletData } from '@apps/03.Finance/wallet/hooks/useWalletData' import AssetsSectionItem from './AssetsSectionItem' diff --git a/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/AssetsSectionItem.tsx b/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/AssetsSectionItem.tsx index 7734c3b65..e5bc5444a 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/AssetsSectionItem.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/AssetsSectionItem.tsx @@ -1,7 +1,7 @@ import { SidebarItem } from 'lifeforge-ui' import { useCallback } from 'react' -import { useWalletStore } from '@apps/03.Finance/Wallet/stores/useWalletStore' +import { useWalletStore } from '@apps/03.Finance/wallet/stores/useWalletStore' function AssetsSectionItem({ icon, diff --git a/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/CategoriesSection.tsx b/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/CategoriesSection.tsx index 343493793..53131caf2 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/CategoriesSection.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/CategoriesSection.tsx @@ -3,8 +3,8 @@ import { useModalStore } from 'lifeforge-ui' import { useCallback, useMemo } from 'react' import { useTranslation } from 'react-i18next' -import { useWalletData } from '@apps/03.Finance/Wallet/hooks/useWalletData' -import { useWalletStore } from '@apps/03.Finance/Wallet/stores/useWalletStore' +import { useWalletData } from '@apps/03.Finance/wallet/hooks/useWalletData' +import { useWalletStore } from '@apps/03.Finance/wallet/stores/useWalletStore' import ModifyCategoryModal from '../../../modals/ModifyCategoryModal' import CategoriesSectionItem from './CategoriesSectionItem' diff --git a/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/CategoriesSectionItem.tsx b/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/CategoriesSectionItem.tsx index edaf964bf..495e24c31 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/CategoriesSectionItem.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/CategoriesSectionItem.tsx @@ -1,7 +1,7 @@ import { SidebarItem } from 'lifeforge-ui' import { useCallback, useMemo } from 'react' -import { useWalletStore } from '@apps/03.Finance/Wallet/stores/useWalletStore' +import { useWalletStore } from '@apps/03.Finance/wallet/stores/useWalletStore' import CategoriesSectionItemIcon from './CategoriesSectionItemIcon' diff --git a/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/CategoriesSectionItemIcon.tsx b/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/CategoriesSectionItemIcon.tsx index cde46cc17..28290de7e 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/CategoriesSectionItemIcon.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/CategoriesSectionItemIcon.tsx @@ -1,7 +1,7 @@ import { Icon } from '@iconify/react' import clsx from 'clsx' -import { useWalletStore } from '@apps/03.Finance/Wallet/stores/useWalletStore' +import { useWalletStore } from '@apps/03.Finance/wallet/stores/useWalletStore' function CategoriesSectionItemIcon({ icon, diff --git a/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/DateRangeSelector.tsx b/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/DateRangeSelector.tsx index a6bd3f6e9..74075f652 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/DateRangeSelector.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/DateRangeSelector.tsx @@ -3,7 +3,7 @@ import dayjs from 'dayjs' import { DateInput, SidebarTitle } from 'lifeforge-ui' import { useTranslation } from 'react-i18next' -import { useWalletStore } from '@apps/03.Finance/Wallet/stores/useWalletStore' +import { useWalletStore } from '@apps/03.Finance/wallet/stores/useWalletStore' function DateRangeSelector() { const { t } = useTranslation('apps.wallet') diff --git a/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/LedgerSection.tsx b/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/LedgerSection.tsx index ca8ba0bad..9c5508935 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/LedgerSection.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/LedgerSection.tsx @@ -3,8 +3,8 @@ import { useMemo } from 'react' import { useTranslation } from 'react-i18next' import { useNavigate } from 'react-router' -import { useWalletData } from '@apps/03.Finance/Wallet/hooks/useWalletData' -import { useWalletStore } from '@apps/03.Finance/Wallet/stores/useWalletStore' +import { useWalletData } from '@apps/03.Finance/wallet/hooks/useWalletData' +import { useWalletStore } from '@apps/03.Finance/wallet/stores/useWalletStore' import LedgerSectionItem from './LedgerSectionItem' diff --git a/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/LedgerSectionItem.tsx b/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/LedgerSectionItem.tsx index d99865e90..2db9123a7 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/LedgerSectionItem.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/LedgerSectionItem.tsx @@ -1,7 +1,7 @@ import { SidebarItem } from 'lifeforge-ui' import { useCallback } from 'react' -import { useWalletStore } from '@apps/03.Finance/Wallet/stores/useWalletStore' +import { useWalletStore } from '@apps/03.Finance/wallet/stores/useWalletStore' export default function LedgerSectionItem({ icon, diff --git a/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/MiniCalendar/components/MiniCalendarContent.tsx b/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/MiniCalendar/components/MiniCalendarContent.tsx index 686e4d634..c6794665a 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/MiniCalendar/components/MiniCalendarContent.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/MiniCalendar/components/MiniCalendarContent.tsx @@ -2,7 +2,7 @@ import dayjs from 'dayjs' import { useMemo, useState } from 'react' import { usePersonalization } from 'shared' -import { useWalletData } from '@apps/03.Finance/Wallet/hooks/useWalletData' +import { useWalletData } from '@apps/03.Finance/wallet/hooks/useWalletData' import MiniCalendarDateItem from './MiniCalendarDateItem' import useTransactionCountMap from './MiniCalendarDateItem/hooks/useTransactionCountMap' diff --git a/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/MiniCalendar/components/MiniCalendarDateItem/hooks/useTransactionCountMap.ts b/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/MiniCalendar/components/MiniCalendarDateItem/hooks/useTransactionCountMap.ts index 33a68623d..eab1d5759 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/MiniCalendar/components/MiniCalendarDateItem/hooks/useTransactionCountMap.ts +++ b/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/MiniCalendar/components/MiniCalendarDateItem/hooks/useTransactionCountMap.ts @@ -1,7 +1,7 @@ import dayjs from 'dayjs' import { useMemo } from 'react' -import type { WalletTransaction } from '@apps/03.Finance/Wallet/pages/Transactions' +import type { WalletTransaction } from '@apps/03.Finance/wallet/pages/Transactions' interface TransactionCount { income: number diff --git a/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/MiniCalendar/components/MiniCalendarDateItem/index.tsx b/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/MiniCalendar/components/MiniCalendarDateItem/index.tsx index ea1406c42..2e9e82bdf 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/MiniCalendar/components/MiniCalendarDateItem/index.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/MiniCalendar/components/MiniCalendarDateItem/index.tsx @@ -2,7 +2,7 @@ import clsx from 'clsx' import dayjs from 'dayjs' import { useMemo } from 'react' -import { useWalletStore } from '@apps/03.Finance/Wallet/stores/useWalletStore' +import { useWalletStore } from '@apps/03.Finance/wallet/stores/useWalletStore' import getDayClassName from './utils/getDayClassName' import getTransactionClassName from './utils/getTransactionClassName' diff --git a/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/MiniCalendar/components/MiniCalendarToggleViewMenu.tsx b/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/MiniCalendar/components/MiniCalendarToggleViewMenu.tsx index 6b4c0757c..c3ca32d4e 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/MiniCalendar/components/MiniCalendarToggleViewMenu.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/MiniCalendar/components/MiniCalendarToggleViewMenu.tsx @@ -1,7 +1,7 @@ import { ContextMenu, ContextMenuGroup, ContextMenuItem } from 'lifeforge-ui' import { useTranslation } from 'react-i18next' -import type { WalletTransaction } from '@apps/03.Finance/Wallet/pages/Transactions' +import type { WalletTransaction } from '@apps/03.Finance/wallet/pages/Transactions' const VIEWS = [ ['tabler:login-2', 'income'], diff --git a/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/MiniCalendar/index.tsx b/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/MiniCalendar/index.tsx index 932c66a4a..d940c4afc 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/MiniCalendar/index.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/MiniCalendar/index.tsx @@ -3,7 +3,7 @@ import { SidebarTitle } from 'lifeforge-ui' import { useCallback, useState } from 'react' import { useTranslation } from 'react-i18next' -import type { WalletTransaction } from '@apps/03.Finance/Wallet/pages/Transactions' +import type { WalletTransaction } from '@apps/03.Finance/wallet/pages/Transactions' import MiniCalendarContent from './components/MiniCalendarContent' import MiniCalendarHeader from './components/MiniCalendarHeader' diff --git a/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/TypeSection.tsx b/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/TypeSection.tsx index ce34011cc..ed872a29f 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/TypeSection.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/TypeSection.tsx @@ -1,7 +1,7 @@ import { SidebarTitle } from 'lifeforge-ui' import { useTranslation } from 'react-i18next' -import { useWalletData } from '@apps/03.Finance/Wallet/hooks/useWalletData' +import { useWalletData } from '@apps/03.Finance/wallet/hooks/useWalletData' import TypeSectionItem from './TypeSectionItem' diff --git a/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/TypeSectionItem.tsx b/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/TypeSectionItem.tsx index e67bbbc97..1bc420495 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/TypeSectionItem.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/components/TypeSectionItem.tsx @@ -5,7 +5,7 @@ import { useTranslation } from 'react-i18next' import { usePersonalization } from 'shared' import colors from 'tailwindcss/colors' -import { useWalletStore } from '@apps/03.Finance/Wallet/stores/useWalletStore' +import { useWalletStore } from '@apps/03.Finance/wallet/stores/useWalletStore' function TypeSectionItem({ icon, diff --git a/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/index.tsx b/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/index.tsx index caa3bb9cc..d401d86c3 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/index.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Transactions/components/Sidebar/index.tsx @@ -1,6 +1,6 @@ import { SidebarDivider, SidebarWrapper } from 'lifeforge-ui' -import { useWalletStore } from '@apps/03.Finance/Wallet/stores/useWalletStore' +import { useWalletStore } from '@apps/03.Finance/wallet/stores/useWalletStore' import AllTransactionsButton from './components/AllTransactionsButton' import AssetsSection from './components/AssetsSection' diff --git a/client/src/apps/03.Finance/Wallet/pages/Transactions/components/TransactionList/components/TransactionIncomeExpensesItem.tsx b/client/src/apps/03.Finance/Wallet/pages/Transactions/components/TransactionList/components/TransactionIncomeExpensesItem.tsx index 8f7f6e52f..c5b3948e8 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Transactions/components/TransactionList/components/TransactionIncomeExpensesItem.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Transactions/components/TransactionList/components/TransactionIncomeExpensesItem.tsx @@ -5,8 +5,8 @@ import dayjs from 'dayjs' import { useModalStore } from 'lifeforge-ui' import { useCallback } from 'react' -import { useWalletData } from '@apps/03.Finance/Wallet/hooks/useWalletData' -import numberToCurrency from '@apps/03.Finance/Wallet/utils/numberToCurrency' +import { useWalletData } from '@apps/03.Finance/wallet/hooks/useWalletData' +import numberToCurrency from '@apps/03.Finance/wallet/utils/numberToCurrency' import type { WalletTransaction } from '../../..' import ViewReceiptModal from '../../../modals/ViewReceiptModal' diff --git a/client/src/apps/03.Finance/Wallet/pages/Transactions/components/TransactionList/components/TransactionTransferItem.tsx b/client/src/apps/03.Finance/Wallet/pages/Transactions/components/TransactionList/components/TransactionTransferItem.tsx index 477264cc4..8f43861aa 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Transactions/components/TransactionList/components/TransactionTransferItem.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Transactions/components/TransactionList/components/TransactionTransferItem.tsx @@ -4,8 +4,8 @@ import dayjs from 'dayjs' import { useModalStore } from 'lifeforge-ui' import { useCallback } from 'react' -import { useWalletData } from '@apps/03.Finance/Wallet/hooks/useWalletData' -import numberToCurrency from '@apps/03.Finance/Wallet/utils/numberToCurrency' +import { useWalletData } from '@apps/03.Finance/wallet/hooks/useWalletData' +import numberToCurrency from '@apps/03.Finance/wallet/utils/numberToCurrency' import type { WalletTransaction } from '../../..' import ViewReceiptModal from '../../../modals/ViewReceiptModal' diff --git a/client/src/apps/03.Finance/Wallet/pages/Transactions/components/TransactionList/index.tsx b/client/src/apps/03.Finance/Wallet/pages/Transactions/components/TransactionList/index.tsx index 24b4f8313..6bf192564 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Transactions/components/TransactionList/index.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Transactions/components/TransactionList/index.tsx @@ -1,8 +1,8 @@ import { EmptyStateScreen, Pagination, Scrollbar } from 'lifeforge-ui' import { useEffect, useState } from 'react' -import { useFilteredTransactions } from '@apps/03.Finance/Wallet/hooks/useFilteredTransactions' -import { useWalletData } from '@apps/03.Finance/Wallet/hooks/useWalletData' +import { useFilteredTransactions } from '@apps/03.Finance/wallet/hooks/useFilteredTransactions' +import { useWalletData } from '@apps/03.Finance/wallet/hooks/useWalletData' import TransactionItem from './components/TransactionItem' diff --git a/client/src/apps/03.Finance/Wallet/pages/Transactions/index.tsx b/client/src/apps/03.Finance/Wallet/pages/Transactions/index.tsx index 98d289ba7..c855b0c27 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Transactions/index.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Transactions/index.tsx @@ -15,7 +15,7 @@ import { useTranslation } from 'react-i18next' import { useLocation, useNavigate, useSearchParams } from 'react-router' import type { InferOutput } from 'shared' -import { useWalletStore } from '@apps/03.Finance/Wallet/stores/useWalletStore' +import { useWalletStore } from '@apps/03.Finance/wallet/stores/useWalletStore' import HeaderMenu from './components/HeaderMenu' import InnerHeader from './components/InnerHeader' diff --git a/client/src/apps/03.Finance/Wallet/pages/Transactions/modals/ManageCategoriesModal/index.tsx b/client/src/apps/03.Finance/Wallet/pages/Transactions/modals/ManageCategoriesModal/index.tsx index 60d948dc1..e083a59d7 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Transactions/modals/ManageCategoriesModal/index.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Transactions/modals/ManageCategoriesModal/index.tsx @@ -10,7 +10,7 @@ import { useState } from 'react' import { useTranslation } from 'react-i18next' import { AutoSizer } from 'react-virtualized' -import { useWalletData } from '@apps/03.Finance/Wallet/hooks/useWalletData' +import { useWalletData } from '@apps/03.Finance/wallet/hooks/useWalletData' import ModifyCategoryModal from '../ModifyCategoryModal' import CategoryItem from './components/CategoryItem' diff --git a/client/src/apps/03.Finance/Wallet/pages/Transactions/modals/ManageTemplatesModal/components/Templateitem.tsx b/client/src/apps/03.Finance/Wallet/pages/Transactions/modals/ManageTemplatesModal/components/Templateitem.tsx index 1a86a8f54..23a1624dd 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Transactions/modals/ManageTemplatesModal/components/Templateitem.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Transactions/modals/ManageTemplatesModal/components/Templateitem.tsx @@ -11,7 +11,7 @@ import { import { useCallback } from 'react' import { toast } from 'react-toastify' -import type { WalletTemplate } from '@apps/03.Finance/Wallet/hooks/useWalletData' +import type { WalletTemplate } from '@apps/03.Finance/wallet/hooks/useWalletData' import ModifyTemplatesModal from '../../ModifyTemplatesModal' import ModifyTransactionsModal from '../../ModifyTransactionsModal' diff --git a/client/src/apps/03.Finance/Wallet/pages/Transactions/modals/ModifyTemplatesModal.tsx b/client/src/apps/03.Finance/Wallet/pages/Transactions/modals/ModifyTemplatesModal.tsx index 344e7ebb1..718b96aa2 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Transactions/modals/ModifyTemplatesModal.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Transactions/modals/ModifyTemplatesModal.tsx @@ -9,7 +9,7 @@ import colors from 'tailwindcss/colors' import { type WalletTemplate, useWalletData -} from '@apps/03.Finance/Wallet/hooks/useWalletData' +} from '@apps/03.Finance/wallet/hooks/useWalletData' function ModifyTemplatesModal({ onClose, diff --git a/client/src/apps/03.Finance/Wallet/pages/Transactions/modals/ModifyTransactionsModal.tsx b/client/src/apps/03.Finance/Wallet/pages/Transactions/modals/ModifyTransactionsModal.tsx index 4af62ef64..bb3a83eb2 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Transactions/modals/ModifyTransactionsModal.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Transactions/modals/ModifyTransactionsModal.tsx @@ -7,7 +7,7 @@ import { toast } from 'react-toastify' import type { InferInput } from 'shared' import colors from 'tailwindcss/colors' -import { useWalletData } from '@apps/03.Finance/Wallet/hooks/useWalletData' +import { useWalletData } from '@apps/03.Finance/wallet/hooks/useWalletData' import type { WalletTransaction } from '..' diff --git a/client/src/apps/03.Finance/Wallet/pages/Transactions/modals/ViewTransactionModal/components/Details/index.tsx b/client/src/apps/03.Finance/Wallet/pages/Transactions/modals/ViewTransactionModal/components/Details/index.tsx index 5ccc1a952..fcd08a8bc 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Transactions/modals/ViewTransactionModal/components/Details/index.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Transactions/modals/ViewTransactionModal/components/Details/index.tsx @@ -5,8 +5,8 @@ import clsx from 'clsx' import dayjs from 'dayjs' import { Button, useModalStore } from 'lifeforge-ui' -import { useWalletData } from '@apps/03.Finance/Wallet/hooks/useWalletData' -import type { WalletTransaction } from '@apps/03.Finance/Wallet/pages/Transactions' +import { useWalletData } from '@apps/03.Finance/wallet/hooks/useWalletData' +import type { WalletTransaction } from '@apps/03.Finance/wallet/pages/Transactions' import ViewReceiptModal from '../../../ViewReceiptModal' import DetailItem from './components/DetailItem' diff --git a/client/src/apps/03.Finance/Wallet/pages/Transactions/modals/ViewTransactionModal/components/Header.tsx b/client/src/apps/03.Finance/Wallet/pages/Transactions/modals/ViewTransactionModal/components/Header.tsx index 6c13adb0d..40dc41e75 100644 --- a/client/src/apps/03.Finance/Wallet/pages/Transactions/modals/ViewTransactionModal/components/Header.tsx +++ b/client/src/apps/03.Finance/Wallet/pages/Transactions/modals/ViewTransactionModal/components/Header.tsx @@ -2,8 +2,8 @@ import { Icon } from '@iconify/react' import dayjs from 'dayjs' import { useMemo } from 'react' -import { useWalletData } from '@apps/03.Finance/Wallet/hooks/useWalletData' -import TransactionAmount from '@apps/03.Finance/Wallet/pages/Dashboard/components/TransactionsCard/components/TransactionAmount' +import { useWalletData } from '@apps/03.Finance/wallet/hooks/useWalletData' +import TransactionAmount from '@apps/03.Finance/wallet/pages/Dashboard/components/TransactionsCard/components/TransactionAmount' import type { WalletTransaction } from '../../..' diff --git a/client/src/apps/03.Finance/Wallet/widgets/AssetsBalance.tsx b/client/src/apps/03.Finance/Wallet/widgets/AssetsBalance.tsx index 6ddb09eb1..8c26cd954 100644 --- a/client/src/apps/03.Finance/Wallet/widgets/AssetsBalance.tsx +++ b/client/src/apps/03.Finance/Wallet/widgets/AssetsBalance.tsx @@ -3,8 +3,8 @@ import { Button, DashboardItem, WithQuery } from 'lifeforge-ui' import { useState } from 'react' import { Link } from 'react-router' -import type WidgetConfig from '@apps/00/Dashboard/typescript/widgetConfig.types' -import { useWalletData } from '@apps/03.Finance/Wallet/hooks/useWalletData' +import type WidgetConfig from '@apps/00/dashboard/typescript/widgetConfig.types' +import { useWalletData } from '@apps/03.Finance/wallet/hooks/useWalletData' export default function AssetsBalance() { const { assetsQuery } = useWalletData() @@ -24,6 +24,7 @@ export default function AssetsBalance() { /> } icon="tabler:wallet" + namespace="apps.wallet" title="Assets Balance" > diff --git a/server/src/apps/wishlist/locales/en.json b/client/src/apps/03.Finance/Wishlist/locales/en.json similarity index 100% rename from server/src/apps/wishlist/locales/en.json rename to client/src/apps/03.Finance/Wishlist/locales/en.json diff --git a/server/src/apps/wishlist/locales/ms.json b/client/src/apps/03.Finance/Wishlist/locales/ms.json similarity index 100% rename from server/src/apps/wishlist/locales/ms.json rename to client/src/apps/03.Finance/Wishlist/locales/ms.json diff --git a/server/src/apps/wishlist/locales/zh-CN.json b/client/src/apps/03.Finance/Wishlist/locales/zh-CN.json similarity index 100% rename from server/src/apps/wishlist/locales/zh-CN.json rename to client/src/apps/03.Finance/Wishlist/locales/zh-CN.json diff --git a/server/src/apps/wishlist/locales/zh-TW.json b/client/src/apps/03.Finance/Wishlist/locales/zh-TW.json similarity index 100% rename from server/src/apps/wishlist/locales/zh-TW.json rename to client/src/apps/03.Finance/Wishlist/locales/zh-TW.json diff --git a/client/src/apps/04.Storage/BooksLibrary/components/Sidebar/components/SidebarItem.tsx b/client/src/apps/04.Storage/BooksLibrary/components/Sidebar/components/SidebarItem.tsx index c60734deb..087154e7b 100644 --- a/client/src/apps/04.Storage/BooksLibrary/components/Sidebar/components/SidebarItem.tsx +++ b/client/src/apps/04.Storage/BooksLibrary/components/Sidebar/components/SidebarItem.tsx @@ -5,8 +5,8 @@ import { useModalStore } from 'lifeforge-ui' import { useCallback } from 'react' import { toast } from 'react-toastify' -import ModifyModal from '@apps/04.Storage/BooksLibrary/components/modals/ModifyModal' -import useFilter from '@apps/04.Storage/BooksLibrary/hooks/useFilter' +import ModifyModal from '@apps/04.Storage/booksLibrary/components/modals/ModifyModal' +import useFilter from '@apps/04.Storage/booksLibrary/hooks/useFilter' import { type BooksLibraryCollection, diff --git a/client/src/apps/04.Storage/BooksLibrary/components/Sidebar/components/SidebarSection.tsx b/client/src/apps/04.Storage/BooksLibrary/components/Sidebar/components/SidebarSection.tsx index bce8e1910..52621ee33 100644 --- a/client/src/apps/04.Storage/BooksLibrary/components/Sidebar/components/SidebarSection.tsx +++ b/client/src/apps/04.Storage/BooksLibrary/components/Sidebar/components/SidebarSection.tsx @@ -4,7 +4,7 @@ import { useModalStore } from 'lifeforge-ui' import { useCallback } from 'react' import { useTranslation } from 'react-i18next' -import ModifyModal from '@apps/04.Storage/BooksLibrary/components/modals/ModifyModal' +import ModifyModal from '@apps/04.Storage/booksLibrary/components/modals/ModifyModal' import SidebarItem from './SidebarItem' diff --git a/client/src/apps/04.Storage/BooksLibrary/components/Sidebar/index.tsx b/client/src/apps/04.Storage/BooksLibrary/components/Sidebar/index.tsx index 123092620..d176d3427 100644 --- a/client/src/apps/04.Storage/BooksLibrary/components/Sidebar/index.tsx +++ b/client/src/apps/04.Storage/BooksLibrary/components/Sidebar/index.tsx @@ -2,7 +2,7 @@ import { useQuery } from '@tanstack/react-query' import forgeAPI from '@utils/forgeAPI' import { SidebarDivider, SidebarItem, SidebarWrapper } from 'lifeforge-ui' -import useFilter from '@apps/04.Storage/BooksLibrary/hooks/useFilter' +import useFilter from '@apps/04.Storage/booksLibrary/hooks/useFilter' import SidebarSection from './components/SidebarSection' diff --git a/server/src/apps/booksLibrary/locales/en.json b/client/src/apps/04.Storage/BooksLibrary/locales/en.json similarity index 100% rename from server/src/apps/booksLibrary/locales/en.json rename to client/src/apps/04.Storage/BooksLibrary/locales/en.json diff --git a/server/src/apps/booksLibrary/locales/ms.json b/client/src/apps/04.Storage/BooksLibrary/locales/ms.json similarity index 100% rename from server/src/apps/booksLibrary/locales/ms.json rename to client/src/apps/04.Storage/BooksLibrary/locales/ms.json diff --git a/server/src/apps/booksLibrary/locales/zh-CN.json b/client/src/apps/04.Storage/BooksLibrary/locales/zh-CN.json similarity index 100% rename from server/src/apps/booksLibrary/locales/zh-CN.json rename to client/src/apps/04.Storage/BooksLibrary/locales/zh-CN.json diff --git a/server/src/apps/booksLibrary/locales/zh-TW.json b/client/src/apps/04.Storage/BooksLibrary/locales/zh-TW.json similarity index 100% rename from server/src/apps/booksLibrary/locales/zh-TW.json rename to client/src/apps/04.Storage/BooksLibrary/locales/zh-TW.json diff --git a/client/src/apps/04.Storage/BooksLibrary/views/components/EntryContextMenu.tsx b/client/src/apps/04.Storage/BooksLibrary/views/components/EntryContextMenu.tsx index beadf96c6..706fa6310 100644 --- a/client/src/apps/04.Storage/BooksLibrary/views/components/EntryContextMenu.tsx +++ b/client/src/apps/04.Storage/BooksLibrary/views/components/EntryContextMenu.tsx @@ -6,9 +6,9 @@ import { useModalStore } from 'lifeforge-ui' import { useCallback, useState } from 'react' import { toast } from 'react-toastify' -import ModifyBookModal from '@apps/04.Storage/BooksLibrary/components/modals/ModifyBookModal' -import SendToKindleModal from '@apps/04.Storage/BooksLibrary/components/modals/SendToKindleModal' -import type { BooksLibraryEntry } from '@apps/04.Storage/BooksLibrary/providers/BooksLibraryProvider' +import ModifyBookModal from '@apps/04.Storage/booksLibrary/components/modals/ModifyBookModal' +import SendToKindleModal from '@apps/04.Storage/booksLibrary/components/modals/SendToKindleModal' +import type { BooksLibraryEntry } from '@apps/04.Storage/booksLibrary/providers/BooksLibraryProvider' export default function EntryContextMenu({ item diff --git a/client/src/apps/04.Storage/BooksLibrary/views/components/ReadStatusChip.tsx b/client/src/apps/04.Storage/BooksLibrary/views/components/ReadStatusChip.tsx index 8ff4a6054..5e3baa4f5 100644 --- a/client/src/apps/04.Storage/BooksLibrary/views/components/ReadStatusChip.tsx +++ b/client/src/apps/04.Storage/BooksLibrary/views/components/ReadStatusChip.tsx @@ -5,7 +5,7 @@ import { useTranslation } from 'react-i18next' import { usePersonalization } from 'shared' import tinycolor from 'tinycolor2' -import type { BooksLibraryEntry } from '@apps/04.Storage/BooksLibrary/providers/BooksLibraryProvider' +import type { BooksLibraryEntry } from '@apps/04.Storage/booksLibrary/providers/BooksLibraryProvider' function ReadStatusChip({ item }: { item: BooksLibraryEntry }) { const { t } = useTranslation('apps.booksLibrary') diff --git a/client/src/apps/04.Storage/Music/components/Bottombar/components/ControlButtons.tsx b/client/src/apps/04.Storage/Music/components/Bottombar/components/ControlButtons.tsx index 73f62d7b9..d90d2adb2 100644 --- a/client/src/apps/04.Storage/Music/components/Bottombar/components/ControlButtons.tsx +++ b/client/src/apps/04.Storage/Music/components/Bottombar/components/ControlButtons.tsx @@ -2,7 +2,7 @@ import clsx from 'clsx' import { Button } from 'lifeforge-ui' import { toast } from 'react-toastify' -import { useMusicContext } from '@apps/04.Storage/Music/providers/MusicProvider' +import { useMusicContext } from '@apps/04.Storage/music/providers/MusicProvider' export default function ControlButtons({ isWidget = false, diff --git a/client/src/apps/04.Storage/Music/components/Bottombar/components/DurationSlider.tsx b/client/src/apps/04.Storage/Music/components/Bottombar/components/DurationSlider.tsx index bc5dacb06..51c38a330 100644 --- a/client/src/apps/04.Storage/Music/components/Bottombar/components/DurationSlider.tsx +++ b/client/src/apps/04.Storage/Music/components/Bottombar/components/DurationSlider.tsx @@ -1,7 +1,7 @@ /* eslint-disable react-compiler/react-compiler */ import dayjs from 'dayjs' -import { useMusicContext } from '@apps/04.Storage/Music/providers/MusicProvider' +import { useMusicContext } from '@apps/04.Storage/music/providers/MusicProvider' function DurationSlider() { const { audio, currentDuration, setCurrentDuration, currentMusic } = diff --git a/client/src/apps/04.Storage/Music/components/Bottombar/components/MusicInfo.tsx b/client/src/apps/04.Storage/Music/components/Bottombar/components/MusicInfo.tsx index 04f84cfde..57392f0cd 100644 --- a/client/src/apps/04.Storage/Music/components/Bottombar/components/MusicInfo.tsx +++ b/client/src/apps/04.Storage/Music/components/Bottombar/components/MusicInfo.tsx @@ -5,7 +5,7 @@ import clsx from 'clsx' import { Button } from 'lifeforge-ui' import { toast } from 'react-toastify' -import { useMusicContext } from '@apps/04.Storage/Music/providers/MusicProvider' +import { useMusicContext } from '@apps/04.Storage/music/providers/MusicProvider' export default function MusicInfo() { const queryClient = useQueryClient() diff --git a/client/src/apps/04.Storage/Music/components/Bottombar/components/VolumeControl.tsx b/client/src/apps/04.Storage/Music/components/Bottombar/components/VolumeControl.tsx index ff00e5124..84957d877 100644 --- a/client/src/apps/04.Storage/Music/components/Bottombar/components/VolumeControl.tsx +++ b/client/src/apps/04.Storage/Music/components/Bottombar/components/VolumeControl.tsx @@ -4,7 +4,7 @@ import forgeAPI from '@utils/forgeAPI' import { Button } from 'lifeforge-ui' import { toast } from 'react-toastify' -import { useMusicContext } from '@apps/04.Storage/Music/providers/MusicProvider' +import { useMusicContext } from '@apps/04.Storage/music/providers/MusicProvider' export default function VolumeControl() { const queryClient = useQueryClient() diff --git a/client/src/apps/04.Storage/Music/components/Bottombar/index.tsx b/client/src/apps/04.Storage/Music/components/Bottombar/index.tsx index aca77f210..4557a9612 100644 --- a/client/src/apps/04.Storage/Music/components/Bottombar/index.tsx +++ b/client/src/apps/04.Storage/Music/components/Bottombar/index.tsx @@ -1,7 +1,7 @@ import { Menu, MenuButton, MenuItems } from '@headlessui/react' import { Button, ContextMenuItem, useModalStore } from 'lifeforge-ui' -import { useMusicContext } from '@apps/04.Storage/Music/providers/MusicProvider' +import { useMusicContext } from '@apps/04.Storage/music/providers/MusicProvider' import YoutubeDownloaderModal from '../modals/YoutubeDownloaderModal' import ControlButtons from './components/ControlButtons' diff --git a/client/src/apps/04.Storage/Music/components/MusicList/components/MusicListItem/components/PlayStateIndicator.tsx b/client/src/apps/04.Storage/Music/components/MusicList/components/MusicListItem/components/PlayStateIndicator.tsx index d884d1b6c..56daee79b 100644 --- a/client/src/apps/04.Storage/Music/components/MusicList/components/MusicListItem/components/PlayStateIndicator.tsx +++ b/client/src/apps/04.Storage/Music/components/MusicList/components/MusicListItem/components/PlayStateIndicator.tsx @@ -6,7 +6,7 @@ import { toast } from 'react-toastify' import { type MusicEntry, useMusicContext -} from '@apps/04.Storage/Music/providers/MusicProvider' +} from '@apps/04.Storage/music/providers/MusicProvider' function PlayStateIndicator({ music }: { music: MusicEntry }) { const { currentMusic, isPlaying, togglePlay } = useMusicContext() diff --git a/client/src/apps/04.Storage/Music/components/MusicList/components/MusicListItem/components/SideButtons.tsx b/client/src/apps/04.Storage/Music/components/MusicList/components/MusicListItem/components/SideButtons.tsx index 9fd9e9069..2fc12f809 100644 --- a/client/src/apps/04.Storage/Music/components/MusicList/components/MusicListItem/components/SideButtons.tsx +++ b/client/src/apps/04.Storage/Music/components/MusicList/components/MusicListItem/components/SideButtons.tsx @@ -11,7 +11,7 @@ import { toast } from 'react-toastify' import { type MusicEntry, useMusicContext -} from '@apps/04.Storage/Music/providers/MusicProvider' +} from '@apps/04.Storage/music/providers/MusicProvider' import UpdateMusicModal from '../../../../modals/UpdateMusicModal' diff --git a/client/src/apps/04.Storage/Music/components/MusicList/components/MusicListItem/index.tsx b/client/src/apps/04.Storage/Music/components/MusicList/components/MusicListItem/index.tsx index 0f5d1ff5f..f4f36d155 100644 --- a/client/src/apps/04.Storage/Music/components/MusicList/components/MusicListItem/index.tsx +++ b/client/src/apps/04.Storage/Music/components/MusicList/components/MusicListItem/index.tsx @@ -1,7 +1,7 @@ import dayjs from 'dayjs' import { ItemWrapper } from 'lifeforge-ui' -import type { MusicEntry } from '@apps/04.Storage/Music/providers/MusicProvider' +import type { MusicEntry } from '@apps/04.Storage/music/providers/MusicProvider' import PlayStateIndicator from './components/PlayStateIndicator' import SideButtons from './components/SideButtons' diff --git a/client/src/apps/04.Storage/Music/components/MusicList/index.tsx b/client/src/apps/04.Storage/Music/components/MusicList/index.tsx index c6a050e62..e6f03e7ee 100644 --- a/client/src/apps/04.Storage/Music/components/MusicList/index.tsx +++ b/client/src/apps/04.Storage/Music/components/MusicList/index.tsx @@ -1,6 +1,6 @@ import { WithQuery } from 'lifeforge-ui' -import { useMusicContext } from '@apps/04.Storage/Music/providers/MusicProvider' +import { useMusicContext } from '@apps/04.Storage/music/providers/MusicProvider' import MusicListItem from './components/MusicListItem' diff --git a/client/src/apps/04.Storage/Music/index.tsx b/client/src/apps/04.Storage/Music/index.tsx index bb5cc7178..254cd7dbd 100644 --- a/client/src/apps/04.Storage/Music/index.tsx +++ b/client/src/apps/04.Storage/Music/index.tsx @@ -8,7 +8,7 @@ import { } from 'lifeforge-ui' import { useEffect } from 'react' -import { useMusicContext } from '@apps/04.Storage/Music/providers/MusicProvider' +import { useMusicContext } from '@apps/04.Storage/music/providers/MusicProvider' import AddMusicButton from './components/AddMusicButton' import BottomBar from './components/Bottombar' diff --git a/server/src/apps/music/locales/en.json b/client/src/apps/04.Storage/Music/locales/en.json similarity index 100% rename from server/src/apps/music/locales/en.json rename to client/src/apps/04.Storage/Music/locales/en.json diff --git a/server/src/apps/music/locales/ms.json b/client/src/apps/04.Storage/Music/locales/ms.json similarity index 100% rename from server/src/apps/music/locales/ms.json rename to client/src/apps/04.Storage/Music/locales/ms.json diff --git a/server/src/apps/music/locales/zh-CN.json b/client/src/apps/04.Storage/Music/locales/zh-CN.json similarity index 100% rename from server/src/apps/music/locales/zh-CN.json rename to client/src/apps/04.Storage/Music/locales/zh-CN.json diff --git a/server/src/apps/music/locales/zh-TW.json b/client/src/apps/04.Storage/Music/locales/zh-TW.json similarity index 100% rename from server/src/apps/music/locales/zh-TW.json rename to client/src/apps/04.Storage/Music/locales/zh-TW.json diff --git a/client/src/apps/04.Storage/Music/widgets/MusicPlayer.tsx b/client/src/apps/04.Storage/Music/widgets/MusicPlayer.tsx index f8462532b..6251b949e 100644 --- a/client/src/apps/04.Storage/Music/widgets/MusicPlayer.tsx +++ b/client/src/apps/04.Storage/Music/widgets/MusicPlayer.tsx @@ -4,9 +4,9 @@ import { Button, DashboardItem, EmptyStateScreen } from 'lifeforge-ui' import { useRef } from 'react' import { Link, useNavigate } from 'react-router' -import type WidgetConfig from '@apps/00/Dashboard/typescript/widgetConfig.types' -import ControlButtons from '@apps/04.Storage/Music/components/Bottombar/components/ControlButtons' -import { useMusicContext } from '@apps/04.Storage/Music/providers/MusicProvider' +import type WidgetConfig from '@apps/00/dashboard/typescript/widgetConfig.types' +import ControlButtons from '@apps/04.Storage/music/components/Bottombar/components/ControlButtons' +import { useMusicContext } from '@apps/04.Storage/music/providers/MusicProvider' export default function MusicPlayer() { const { currentMusic, isPlaying } = useMusicContext() @@ -71,7 +71,7 @@ export default function MusicPlayer() { }} icon="tabler:disc-off" name="music" - namespace="core.dashboard" + namespace="apps.dashboard" tKey="widgets.musicPlayer" /> )} diff --git a/client/src/apps/04.Storage/ScoresLibrary/components/Header/components/ActionMenu.tsx b/client/src/apps/04.Storage/ScoresLibrary/components/Header/components/ActionMenu.tsx index 3a53a6f7e..bea0b91b3 100644 --- a/client/src/apps/04.Storage/ScoresLibrary/components/Header/components/ActionMenu.tsx +++ b/client/src/apps/04.Storage/ScoresLibrary/components/Header/components/ActionMenu.tsx @@ -1,7 +1,7 @@ import { ContextMenuGroup, ContextMenuItem, SidebarDivider } from 'lifeforge-ui' import { useTranslation } from 'react-i18next' -import useFilter from '@apps/04.Storage/ScoresLibrary/hooks/useFilter' +import useFilter from '@apps/04.Storage/scoresLibrary/hooks/useFilter' const SORT_TYPE = [ ['tabler:clock', 'newest'], diff --git a/client/src/apps/04.Storage/ScoresLibrary/components/Sidebar/components/SidebarAuthorItem.tsx b/client/src/apps/04.Storage/ScoresLibrary/components/Sidebar/components/SidebarAuthorItem.tsx index e0091953a..88f716af6 100644 --- a/client/src/apps/04.Storage/ScoresLibrary/components/Sidebar/components/SidebarAuthorItem.tsx +++ b/client/src/apps/04.Storage/ScoresLibrary/components/Sidebar/components/SidebarAuthorItem.tsx @@ -1,7 +1,7 @@ import { SidebarItem } from 'lifeforge-ui' import { useTranslation } from 'react-i18next' -import useFilter from '@apps/04.Storage/ScoresLibrary/hooks/useFilter' +import useFilter from '@apps/04.Storage/scoresLibrary/hooks/useFilter' function SidebarAuthorItem({ author, diff --git a/client/src/apps/04.Storage/ScoresLibrary/components/Sidebar/components/SidebarCategoryItem.tsx b/client/src/apps/04.Storage/ScoresLibrary/components/Sidebar/components/SidebarCategoryItem.tsx index 8c3f37d01..943408842 100644 --- a/client/src/apps/04.Storage/ScoresLibrary/components/Sidebar/components/SidebarCategoryItem.tsx +++ b/client/src/apps/04.Storage/ScoresLibrary/components/Sidebar/components/SidebarCategoryItem.tsx @@ -9,8 +9,8 @@ import { import { useCallback } from 'react' import { toast } from 'react-toastify' -import type { ScoreLibraryType } from '@apps/04.Storage/ScoresLibrary' -import useFilter from '@apps/04.Storage/ScoresLibrary/hooks/useFilter' +import type { ScoreLibraryType } from '@apps/04.Storage/scoresLibrary' +import useFilter from '@apps/04.Storage/scoresLibrary/hooks/useFilter' import ModifyTypeModal from '../../modals/ModifyTypeModal' diff --git a/client/src/apps/04.Storage/ScoresLibrary/components/Sidebar/components/SidebarCollectionItem.tsx b/client/src/apps/04.Storage/ScoresLibrary/components/Sidebar/components/SidebarCollectionItem.tsx index 0b3350e8a..0030512f5 100644 --- a/client/src/apps/04.Storage/ScoresLibrary/components/Sidebar/components/SidebarCollectionItem.tsx +++ b/client/src/apps/04.Storage/ScoresLibrary/components/Sidebar/components/SidebarCollectionItem.tsx @@ -9,7 +9,7 @@ import { import { useCallback } from 'react' import { toast } from 'react-toastify' -import type { ScoreLibraryCollection } from '@apps/04.Storage/ScoresLibrary' +import type { ScoreLibraryCollection } from '@apps/04.Storage/scoresLibrary' import ModifyCollectionModal from '../../modals/ModifyCollectionModal' diff --git a/client/src/apps/04.Storage/ScoresLibrary/components/Sidebar/index.tsx b/client/src/apps/04.Storage/ScoresLibrary/components/Sidebar/index.tsx index f10e2f465..428d54681 100644 --- a/client/src/apps/04.Storage/ScoresLibrary/components/Sidebar/index.tsx +++ b/client/src/apps/04.Storage/ScoresLibrary/components/Sidebar/index.tsx @@ -10,7 +10,7 @@ import { } from 'lifeforge-ui' import { useMemo } from 'react' -import useFilter from '@apps/04.Storage/ScoresLibrary/hooks/useFilter' +import useFilter from '@apps/04.Storage/scoresLibrary/hooks/useFilter' import ModifyCollectionModal from '../modals/ModifyCollectionModal' import ModifyTypeModal from '../modals/ModifyTypeModal' diff --git a/client/src/apps/04.Storage/ScoresLibrary/components/modals/ModifyCollectionModal.tsx b/client/src/apps/04.Storage/ScoresLibrary/components/modals/ModifyCollectionModal.tsx index a5b64b323..b33587143 100644 --- a/client/src/apps/04.Storage/ScoresLibrary/components/modals/ModifyCollectionModal.tsx +++ b/client/src/apps/04.Storage/ScoresLibrary/components/modals/ModifyCollectionModal.tsx @@ -4,7 +4,7 @@ import { FormModal, defineForm } from 'lifeforge-ui' import { toast } from 'react-toastify' import { type InferInput } from 'shared' -import type { ScoreLibraryCollection } from '@apps/04.Storage/ScoresLibrary' +import type { ScoreLibraryCollection } from '@apps/04.Storage/scoresLibrary' function ModifyCollectionModal({ onClose, diff --git a/client/src/apps/04.Storage/ScoresLibrary/components/modals/ModifyEntryModal.tsx b/client/src/apps/04.Storage/ScoresLibrary/components/modals/ModifyEntryModal.tsx index 52072f1f2..01efffd39 100644 --- a/client/src/apps/04.Storage/ScoresLibrary/components/modals/ModifyEntryModal.tsx +++ b/client/src/apps/04.Storage/ScoresLibrary/components/modals/ModifyEntryModal.tsx @@ -4,7 +4,7 @@ import { FormModal, defineForm } from 'lifeforge-ui' import { useTranslation } from 'react-i18next' import type { InferInput } from 'shared' -import type { ScoreLibraryEntry } from '@apps/04.Storage/ScoresLibrary' +import type { ScoreLibraryEntry } from '@apps/04.Storage/scoresLibrary' function ModifyEntryModal({ onClose, diff --git a/client/src/apps/04.Storage/ScoresLibrary/components/modals/ModifyTypeModal.tsx b/client/src/apps/04.Storage/ScoresLibrary/components/modals/ModifyTypeModal.tsx index 486c3eed1..fe0e9fc72 100644 --- a/client/src/apps/04.Storage/ScoresLibrary/components/modals/ModifyTypeModal.tsx +++ b/client/src/apps/04.Storage/ScoresLibrary/components/modals/ModifyTypeModal.tsx @@ -3,7 +3,7 @@ import forgeAPI from '@utils/forgeAPI' import { FormModal, defineForm } from 'lifeforge-ui' import type { InferInput } from 'shared' -import type { ScoreLibraryType } from '@apps/04.Storage/ScoresLibrary' +import type { ScoreLibraryType } from '@apps/04.Storage/scoresLibrary' function ModifyTypeModal({ onClose, diff --git a/server/src/apps/scoresLibrary/locales/en.json b/client/src/apps/04.Storage/ScoresLibrary/locales/en.json similarity index 100% rename from server/src/apps/scoresLibrary/locales/en.json rename to client/src/apps/04.Storage/ScoresLibrary/locales/en.json diff --git a/server/src/apps/scoresLibrary/locales/ms.json b/client/src/apps/04.Storage/ScoresLibrary/locales/ms.json similarity index 100% rename from server/src/apps/scoresLibrary/locales/ms.json rename to client/src/apps/04.Storage/ScoresLibrary/locales/ms.json diff --git a/server/src/apps/scoresLibrary/locales/zh-CN.json b/client/src/apps/04.Storage/ScoresLibrary/locales/zh-CN.json similarity index 100% rename from server/src/apps/scoresLibrary/locales/zh-CN.json rename to client/src/apps/04.Storage/ScoresLibrary/locales/zh-CN.json diff --git a/server/src/apps/scoresLibrary/locales/zh-TW.json b/client/src/apps/04.Storage/ScoresLibrary/locales/zh-TW.json similarity index 100% rename from server/src/apps/scoresLibrary/locales/zh-TW.json rename to client/src/apps/04.Storage/ScoresLibrary/locales/zh-TW.json diff --git a/client/src/apps/04.Storage/ScoresLibrary/views/GridView/components/EntryItem.tsx b/client/src/apps/04.Storage/ScoresLibrary/views/GridView/components/EntryItem.tsx index ff9378557..9a2ee8214 100644 --- a/client/src/apps/04.Storage/ScoresLibrary/views/GridView/components/EntryItem.tsx +++ b/client/src/apps/04.Storage/ScoresLibrary/views/GridView/components/EntryItem.tsx @@ -11,8 +11,8 @@ import { import { useCallback, useMemo } from 'react' import { toast } from 'react-toastify' -import type { ScoreLibraryEntry } from '@apps/04.Storage/ScoresLibrary' -import ModifyEntryModal from '@apps/04.Storage/ScoresLibrary/components/modals/ModifyEntryModal' +import type { ScoreLibraryEntry } from '@apps/04.Storage/scoresLibrary' +import ModifyEntryModal from '@apps/04.Storage/scoresLibrary/components/modals/ModifyEntryModal' import AudioPlayer from '../../../components/AudioPlayer' import DownloadMenu from '../../../components/DownloadMenu' diff --git a/client/src/apps/04.Storage/ScoresLibrary/views/GridView/index.tsx b/client/src/apps/04.Storage/ScoresLibrary/views/GridView/index.tsx index ab07f8081..ee1aacf82 100644 --- a/client/src/apps/04.Storage/ScoresLibrary/views/GridView/index.tsx +++ b/client/src/apps/04.Storage/ScoresLibrary/views/GridView/index.tsx @@ -1,4 +1,4 @@ -import type { ScoreLibraryEntry } from '@apps/04.Storage/ScoresLibrary' +import type { ScoreLibraryEntry } from '@apps/04.Storage/scoresLibrary' import EntryItem from './components/EntryItem' diff --git a/client/src/apps/04.Storage/ScoresLibrary/views/ListView/components/EntryItem.tsx b/client/src/apps/04.Storage/ScoresLibrary/views/ListView/components/EntryItem.tsx index 1c7f5a476..d6cbc2709 100644 --- a/client/src/apps/04.Storage/ScoresLibrary/views/ListView/components/EntryItem.tsx +++ b/client/src/apps/04.Storage/ScoresLibrary/views/ListView/components/EntryItem.tsx @@ -11,8 +11,8 @@ import { import { useCallback, useMemo } from 'react' import { toast } from 'react-toastify' -import type { ScoreLibraryEntry } from '@apps/04.Storage/ScoresLibrary' -import ModifyEntryModal from '@apps/04.Storage/ScoresLibrary/components/modals/ModifyEntryModal' +import type { ScoreLibraryEntry } from '@apps/04.Storage/scoresLibrary' +import ModifyEntryModal from '@apps/04.Storage/scoresLibrary/components/modals/ModifyEntryModal' import AudioPlayer from '../../../components/AudioPlayer' import DownloadMenu from '../../../components/DownloadMenu' diff --git a/client/src/apps/04.Storage/ScoresLibrary/views/ListView/index.tsx b/client/src/apps/04.Storage/ScoresLibrary/views/ListView/index.tsx index f8e6ee6a7..660e875ff 100644 --- a/client/src/apps/04.Storage/ScoresLibrary/views/ListView/index.tsx +++ b/client/src/apps/04.Storage/ScoresLibrary/views/ListView/index.tsx @@ -1,4 +1,4 @@ -import type { ScoreLibraryEntry } from '@apps/04.Storage/ScoresLibrary' +import type { ScoreLibraryEntry } from '@apps/04.Storage/scoresLibrary' import EntryItem from './components/EntryItem' diff --git a/client/src/apps/05.Confidential/APIKeys/components/ContentContainer.tsx b/client/src/apps/05.Confidential/APIKeys/components/ContentContainer.tsx index 25587192b..ab35b0750 100644 --- a/client/src/apps/05.Confidential/APIKeys/components/ContentContainer.tsx +++ b/client/src/apps/05.Confidential/APIKeys/components/ContentContainer.tsx @@ -22,7 +22,7 @@ export type APIKeysEntry = InferOutput< function ContentContainer({ masterPassword }: { masterPassword: string }) { const open = useModalStore(state => state.open) - const { t } = useTranslation('core.apiKeys') + const { t } = useTranslation('apps.apiKeys') const challengeQuery = useQuery( forgeAPI.apiKeys.auth.getChallenge.queryOptions() @@ -53,7 +53,7 @@ function ContentContainer({ masterPassword }: { masterPassword: string }) { className="hidden lg:flex" icon="tabler:plus" tProps={{ - item: t('core.apiKeys:items.apiKey') + item: t('apps.apiKeys:items.apiKey') }} onClick={handleCreateAPIKey} > @@ -76,7 +76,7 @@ function ContentContainer({ masterPassword }: { masterPassword: string }) { )}
diff --git a/server/src/core/locales/en/core/apiKeys.json b/client/src/apps/05.Confidential/APIKeys/locales/en.json similarity index 100% rename from server/src/core/locales/en/core/apiKeys.json rename to client/src/apps/05.Confidential/APIKeys/locales/en.json diff --git a/server/src/core/locales/ms/core/apiKeys.json b/client/src/apps/05.Confidential/APIKeys/locales/ms.json similarity index 100% rename from server/src/core/locales/ms/core/apiKeys.json rename to client/src/apps/05.Confidential/APIKeys/locales/ms.json diff --git a/server/src/core/locales/zh-CN/core/apiKeys.json b/client/src/apps/05.Confidential/APIKeys/locales/zh-CN.json similarity index 100% rename from server/src/core/locales/zh-CN/core/apiKeys.json rename to client/src/apps/05.Confidential/APIKeys/locales/zh-CN.json diff --git a/server/src/core/locales/zh-TW/core/apiKeys.json b/client/src/apps/05.Confidential/APIKeys/locales/zh-TW.json similarity index 100% rename from server/src/core/locales/zh-TW/core/apiKeys.json rename to client/src/apps/05.Confidential/APIKeys/locales/zh-TW.json diff --git a/client/src/apps/05.Confidential/APIKeys/modals/ModifyAPIKeyModal.tsx b/client/src/apps/05.Confidential/APIKeys/modals/ModifyAPIKeyModal.tsx index cc2e61457..44b66627d 100644 --- a/client/src/apps/05.Confidential/APIKeys/modals/ModifyAPIKeyModal.tsx +++ b/client/src/apps/05.Confidential/APIKeys/modals/ModifyAPIKeyModal.tsx @@ -43,7 +43,7 @@ function ModifyAPIKeyModal({ key: string }>({ icon: type === 'create' ? 'tabler:plus' : 'tabler:pencil', - namespace: 'core.apiKeys', + namespace: 'apps.apiKeys', title: `apiKey.${type}`, onClose, submitButton: type diff --git a/server/src/apps/passwords/locales/en.json b/client/src/apps/05.Confidential/Passwords/locales/en.json similarity index 100% rename from server/src/apps/passwords/locales/en.json rename to client/src/apps/05.Confidential/Passwords/locales/en.json diff --git a/server/src/apps/passwords/locales/ms.json b/client/src/apps/05.Confidential/Passwords/locales/ms.json similarity index 100% rename from server/src/apps/passwords/locales/ms.json rename to client/src/apps/05.Confidential/Passwords/locales/ms.json diff --git a/server/src/apps/passwords/locales/zh-CN.json b/client/src/apps/05.Confidential/Passwords/locales/zh-CN.json similarity index 100% rename from server/src/apps/passwords/locales/zh-CN.json rename to client/src/apps/05.Confidential/Passwords/locales/zh-CN.json diff --git a/server/src/apps/passwords/locales/zh-TW.json b/client/src/apps/05.Confidential/Passwords/locales/zh-TW.json similarity index 100% rename from server/src/apps/passwords/locales/zh-TW.json rename to client/src/apps/05.Confidential/Passwords/locales/zh-TW.json diff --git a/server/src/apps/cfopAlgorithms/locales/en.json b/client/src/apps/06.Information/CFOPAlgorithms/locales/en.json similarity index 100% rename from server/src/apps/cfopAlgorithms/locales/en.json rename to client/src/apps/06.Information/CFOPAlgorithms/locales/en.json diff --git a/server/src/apps/cfopAlgorithms/locales/ms.json b/client/src/apps/06.Information/CFOPAlgorithms/locales/ms.json similarity index 100% rename from server/src/apps/cfopAlgorithms/locales/ms.json rename to client/src/apps/06.Information/CFOPAlgorithms/locales/ms.json diff --git a/server/src/apps/cfopAlgorithms/locales/zh-CN.json b/client/src/apps/06.Information/CFOPAlgorithms/locales/zh-CN.json similarity index 100% rename from server/src/apps/cfopAlgorithms/locales/zh-CN.json rename to client/src/apps/06.Information/CFOPAlgorithms/locales/zh-CN.json diff --git a/server/src/apps/cfopAlgorithms/locales/zh-TW.json b/client/src/apps/06.Information/CFOPAlgorithms/locales/zh-TW.json similarity index 100% rename from server/src/apps/cfopAlgorithms/locales/zh-TW.json rename to client/src/apps/06.Information/CFOPAlgorithms/locales/zh-TW.json diff --git a/server/src/apps/changiAirportFlightStatus/locales/en.json b/client/src/apps/06.Information/ChangiAirportFlightStatus/locales/en.json similarity index 100% rename from server/src/apps/changiAirportFlightStatus/locales/en.json rename to client/src/apps/06.Information/ChangiAirportFlightStatus/locales/en.json diff --git a/server/src/apps/changiAirportFlightStatus/locales/ms.json b/client/src/apps/06.Information/ChangiAirportFlightStatus/locales/ms.json similarity index 100% rename from server/src/apps/changiAirportFlightStatus/locales/ms.json rename to client/src/apps/06.Information/ChangiAirportFlightStatus/locales/ms.json diff --git a/server/src/apps/changiAirportFlightStatus/locales/zh-CN.json b/client/src/apps/06.Information/ChangiAirportFlightStatus/locales/zh-CN.json similarity index 100% rename from server/src/apps/changiAirportFlightStatus/locales/zh-CN.json rename to client/src/apps/06.Information/ChangiAirportFlightStatus/locales/zh-CN.json diff --git a/server/src/apps/changiAirportFlightStatus/locales/zh-TW.json b/client/src/apps/06.Information/ChangiAirportFlightStatus/locales/zh-TW.json similarity index 100% rename from server/src/apps/changiAirportFlightStatus/locales/zh-TW.json rename to client/src/apps/06.Information/ChangiAirportFlightStatus/locales/zh-TW.json diff --git a/client/src/apps/06.Information/RailwayMap/components/Header/components/DetailBox.tsx b/client/src/apps/06.Information/RailwayMap/components/Header/components/DetailBox.tsx index 0e3a32854..cc69f2ca7 100644 --- a/client/src/apps/06.Information/RailwayMap/components/Header/components/DetailBox.tsx +++ b/client/src/apps/06.Information/RailwayMap/components/Header/components/DetailBox.tsx @@ -5,7 +5,7 @@ import { Button } from 'lifeforge-ui' import { useModalStore } from 'lifeforge-ui' import { useCallback } from 'react' -import RoutePlannerModal from '@apps/06.Information/RailwayMap/modals/RoutePlannerModal' +import RoutePlannerModal from '@apps/06.Information/railwayMap/modals/RoutePlannerModal' import { useRailwayMapContext } from '../../../providers/RailwayMapProvider' import StationCodes from '../../StationCode' diff --git a/client/src/apps/06.Information/RailwayMap/components/Header/components/ViewTypeSwitcher.tsx b/client/src/apps/06.Information/RailwayMap/components/Header/components/ViewTypeSwitcher.tsx index 30b7ed639..44e7b67fd 100644 --- a/client/src/apps/06.Information/RailwayMap/components/Header/components/ViewTypeSwitcher.tsx +++ b/client/src/apps/06.Information/RailwayMap/components/Header/components/ViewTypeSwitcher.tsx @@ -3,7 +3,7 @@ import { Listbox, ListboxOption } from 'lifeforge-ui' import _ from 'lodash' import { useTranslation } from 'react-i18next' -import type { RailwayMapViewType } from '@apps/06.Information/RailwayMap/providers/RailwayMapProvider' +import type { RailwayMapViewType } from '@apps/06.Information/railwayMap/providers/RailwayMapProvider' export const VIEW_TYPES = [ ['tabler:route-alt-left', 'Route Map', 'route'], diff --git a/client/src/apps/06.Information/RailwayMap/components/Header/index.tsx b/client/src/apps/06.Information/RailwayMap/components/Header/index.tsx index 720d1291e..eb591ced2 100644 --- a/client/src/apps/06.Information/RailwayMap/components/Header/index.tsx +++ b/client/src/apps/06.Information/RailwayMap/components/Header/index.tsx @@ -10,7 +10,7 @@ import _ from 'lodash' import { useCallback, useMemo } from 'react' import { useTranslation } from 'react-i18next' -import RoutePlannerModal from '@apps/06.Information/RailwayMap/modals/RoutePlannerModal' +import RoutePlannerModal from '@apps/06.Information/railwayMap/modals/RoutePlannerModal' import { useRailwayMapContext } from '../../providers/RailwayMapProvider' import DetailBox from './components/DetailBox' diff --git a/client/src/apps/06.Information/RailwayMap/components/Maps/maps/EarthMap/hooks/useEarthMapRenderer.ts b/client/src/apps/06.Information/RailwayMap/components/Maps/maps/EarthMap/hooks/useEarthMapRenderer.ts index 28905ad9e..0a4dc7a50 100644 --- a/client/src/apps/06.Information/RailwayMap/components/Maps/maps/EarthMap/hooks/useEarthMapRenderer.ts +++ b/client/src/apps/06.Information/RailwayMap/components/Maps/maps/EarthMap/hooks/useEarthMapRenderer.ts @@ -4,7 +4,7 @@ import { type RefObject, useEffect, useRef } from 'react' import type { RailwayMapLine, RailwayMapStation -} from '@apps/06.Information/RailwayMap/providers/RailwayMapProvider' +} from '@apps/06.Information/railwayMap/providers/RailwayMapProvider' import { initializeMap, renderLines, renderStations } from '../utils/mapUtils' diff --git a/client/src/apps/06.Information/RailwayMap/components/Maps/maps/EarthMap/utils/mapUtils.ts b/client/src/apps/06.Information/RailwayMap/components/Maps/maps/EarthMap/utils/mapUtils.ts index e5d61d539..0a0a87793 100644 --- a/client/src/apps/06.Information/RailwayMap/components/Maps/maps/EarthMap/utils/mapUtils.ts +++ b/client/src/apps/06.Information/RailwayMap/components/Maps/maps/EarthMap/utils/mapUtils.ts @@ -3,7 +3,7 @@ import L from 'leaflet' import type { RailwayMapLine, RailwayMapStation -} from '@apps/06.Information/RailwayMap/providers/RailwayMapProvider' +} from '@apps/06.Information/railwayMap/providers/RailwayMapProvider' export const initializeMap = (element: HTMLDivElement): L.Map => { const map = L.map(element).setView([1.3521, 103.8198], 12) diff --git a/client/src/apps/06.Information/RailwayMap/components/Maps/maps/RouteMap/utils/drawingUtils.ts b/client/src/apps/06.Information/RailwayMap/components/Maps/maps/RouteMap/utils/drawingUtils.ts index 5c8cc1bc6..9158a0aca 100644 --- a/client/src/apps/06.Information/RailwayMap/components/Maps/maps/RouteMap/utils/drawingUtils.ts +++ b/client/src/apps/06.Information/RailwayMap/components/Maps/maps/RouteMap/utils/drawingUtils.ts @@ -3,7 +3,7 @@ import * as d3 from 'd3' import type { RailwayMapLine, RailwayMapStation -} from '@apps/06.Information/RailwayMap/providers/RailwayMapProvider' +} from '@apps/06.Information/railwayMap/providers/RailwayMapProvider' import { roundedPolygon } from './geometryUtils' import { getLinesRequired } from './routeUtils' diff --git a/client/src/apps/06.Information/RailwayMap/components/Maps/maps/RouteMap/utils/routeUtils.ts b/client/src/apps/06.Information/RailwayMap/components/Maps/maps/RouteMap/utils/routeUtils.ts index debc66deb..02f58b4a0 100644 --- a/client/src/apps/06.Information/RailwayMap/components/Maps/maps/RouteMap/utils/routeUtils.ts +++ b/client/src/apps/06.Information/RailwayMap/components/Maps/maps/RouteMap/utils/routeUtils.ts @@ -1,4 +1,4 @@ -import type { RailwayMapStation } from '@apps/06.Information/RailwayMap/providers/RailwayMapProvider' +import type { RailwayMapStation } from '@apps/06.Information/railwayMap/providers/RailwayMapProvider' export const getConsecutiveLine = ( station: RailwayMapStation, diff --git a/client/src/apps/06.Information/RailwayMap/components/Maps/maps/RouteMap/utils/selectionUtils.ts b/client/src/apps/06.Information/RailwayMap/components/Maps/maps/RouteMap/utils/selectionUtils.ts index 9a64c1d7a..c5560eab8 100644 --- a/client/src/apps/06.Information/RailwayMap/components/Maps/maps/RouteMap/utils/selectionUtils.ts +++ b/client/src/apps/06.Information/RailwayMap/components/Maps/maps/RouteMap/utils/selectionUtils.ts @@ -3,7 +3,7 @@ import * as d3 from 'd3' import type { RailwayMapLine, RailwayMapStation -} from '@apps/06.Information/RailwayMap/providers/RailwayMapProvider' +} from '@apps/06.Information/railwayMap/providers/RailwayMapProvider' import { getLine } from './stationUtils' diff --git a/client/src/apps/06.Information/RailwayMap/components/Maps/maps/RouteMap/utils/stationUtils.ts b/client/src/apps/06.Information/RailwayMap/components/Maps/maps/RouteMap/utils/stationUtils.ts index 0ff32fe22..42ebada18 100644 --- a/client/src/apps/06.Information/RailwayMap/components/Maps/maps/RouteMap/utils/stationUtils.ts +++ b/client/src/apps/06.Information/RailwayMap/components/Maps/maps/RouteMap/utils/stationUtils.ts @@ -1,7 +1,7 @@ import type { RailwayMapLine, RailwayMapStation -} from '@apps/06.Information/RailwayMap/providers/RailwayMapProvider' +} from '@apps/06.Information/railwayMap/providers/RailwayMapProvider' export type RouteData = RailwayMapStation[] | 'loading' | 'error' diff --git a/client/src/apps/06.Information/RailwayMap/components/Maps/maps/RouteMap/utils/zoomUtils.ts b/client/src/apps/06.Information/RailwayMap/components/Maps/maps/RouteMap/utils/zoomUtils.ts index 8dad74191..f532e893b 100644 --- a/client/src/apps/06.Information/RailwayMap/components/Maps/maps/RouteMap/utils/zoomUtils.ts +++ b/client/src/apps/06.Information/RailwayMap/components/Maps/maps/RouteMap/utils/zoomUtils.ts @@ -1,6 +1,6 @@ import * as d3 from 'd3' -import type { RailwayMapStation } from '@apps/06.Information/RailwayMap/providers/RailwayMapProvider' +import type { RailwayMapStation } from '@apps/06.Information/railwayMap/providers/RailwayMapProvider' let zoomBehavior: d3.ZoomBehavior diff --git a/server/src/apps/railwayMap/locales/en.json b/client/src/apps/06.Information/RailwayMap/locales/en.json similarity index 100% rename from server/src/apps/railwayMap/locales/en.json rename to client/src/apps/06.Information/RailwayMap/locales/en.json diff --git a/server/src/apps/railwayMap/locales/ms.json b/client/src/apps/06.Information/RailwayMap/locales/ms.json similarity index 100% rename from server/src/apps/railwayMap/locales/ms.json rename to client/src/apps/06.Information/RailwayMap/locales/ms.json diff --git a/server/src/apps/railwayMap/locales/zh-CN.json b/client/src/apps/06.Information/RailwayMap/locales/zh-CN.json similarity index 100% rename from server/src/apps/railwayMap/locales/zh-CN.json rename to client/src/apps/06.Information/RailwayMap/locales/zh-CN.json diff --git a/server/src/apps/railwayMap/locales/zh-TW.json b/client/src/apps/06.Information/RailwayMap/locales/zh-TW.json similarity index 100% rename from server/src/apps/railwayMap/locales/zh-TW.json rename to client/src/apps/06.Information/RailwayMap/locales/zh-TW.json diff --git a/client/src/apps/06.Information/RailwayMap/modals/RoutePlannerModal/components/StationSelector.tsx b/client/src/apps/06.Information/RailwayMap/modals/RoutePlannerModal/components/StationSelector.tsx index 80505cc86..1f7e59041 100644 --- a/client/src/apps/06.Information/RailwayMap/modals/RoutePlannerModal/components/StationSelector.tsx +++ b/client/src/apps/06.Information/RailwayMap/modals/RoutePlannerModal/components/StationSelector.tsx @@ -1,6 +1,6 @@ import { ComboboxInput, ComboboxOption } from 'lifeforge-ui' -import type { RailwayMapStation } from '@apps/06.Information/RailwayMap/providers/RailwayMapProvider' +import type { RailwayMapStation } from '@apps/06.Information/railwayMap/providers/RailwayMapProvider' import StationCodes from '../../../components/StationCode' import { formatStationDisplay } from '../utils/stations' diff --git a/client/src/apps/06.Information/RailwayMap/modals/RoutePlannerModal/index.tsx b/client/src/apps/06.Information/RailwayMap/modals/RoutePlannerModal/index.tsx index 0812a634a..ae2961d09 100644 --- a/client/src/apps/06.Information/RailwayMap/modals/RoutePlannerModal/index.tsx +++ b/client/src/apps/06.Information/RailwayMap/modals/RoutePlannerModal/index.tsx @@ -1,7 +1,7 @@ import { ModalHeader } from 'lifeforge-ui' import { useEffect, useState } from 'react' -import { useRailwayMapContext } from '@apps/06.Information/RailwayMap/providers/RailwayMapProvider' +import { useRailwayMapContext } from '@apps/06.Information/railwayMap/providers/RailwayMapProvider' import PlannerContent from './components/PlannerContent' diff --git a/client/src/apps/06.Information/RailwayMap/modals/RoutePlannerModal/utils/stations.ts b/client/src/apps/06.Information/RailwayMap/modals/RoutePlannerModal/utils/stations.ts index 1f17cf117..8b9af2587 100644 --- a/client/src/apps/06.Information/RailwayMap/modals/RoutePlannerModal/utils/stations.ts +++ b/client/src/apps/06.Information/RailwayMap/modals/RoutePlannerModal/utils/stations.ts @@ -1,4 +1,4 @@ -import type { RailwayMapStation } from '@apps/06.Information/RailwayMap/providers/RailwayMapProvider' +import type { RailwayMapStation } from '@apps/06.Information/railwayMap/providers/RailwayMapProvider' export const filterStations = (stations: RailwayMapStation[], query: string) => stations.filter( diff --git a/server/src/apps/sinChewDaily/locales/en.json b/client/src/apps/06.Information/SinChewDaily/locales/en.json similarity index 100% rename from server/src/apps/sinChewDaily/locales/en.json rename to client/src/apps/06.Information/SinChewDaily/locales/en.json diff --git a/server/src/apps/sinChewDaily/locales/ms.json b/client/src/apps/06.Information/SinChewDaily/locales/ms.json similarity index 100% rename from server/src/apps/sinChewDaily/locales/ms.json rename to client/src/apps/06.Information/SinChewDaily/locales/ms.json diff --git a/server/src/apps/sinChewDaily/locales/zh-CN.json b/client/src/apps/06.Information/SinChewDaily/locales/zh-CN.json similarity index 100% rename from server/src/apps/sinChewDaily/locales/zh-CN.json rename to client/src/apps/06.Information/SinChewDaily/locales/zh-CN.json diff --git a/server/src/apps/sinChewDaily/locales/zh-TW.json b/client/src/apps/06.Information/SinChewDaily/locales/zh-TW.json similarity index 100% rename from server/src/apps/sinChewDaily/locales/zh-TW.json rename to client/src/apps/06.Information/SinChewDaily/locales/zh-TW.json diff --git a/server/src/apps/currencyConverter/locales/en.json b/client/src/apps/07.Utilities/CurrencyConverter/locales/en.json similarity index 100% rename from server/src/apps/currencyConverter/locales/en.json rename to client/src/apps/07.Utilities/CurrencyConverter/locales/en.json diff --git a/server/src/apps/currencyConverter/locales/ms.json b/client/src/apps/07.Utilities/CurrencyConverter/locales/ms.json similarity index 100% rename from server/src/apps/currencyConverter/locales/ms.json rename to client/src/apps/07.Utilities/CurrencyConverter/locales/ms.json diff --git a/server/src/apps/currencyConverter/locales/zh-CN.json b/client/src/apps/07.Utilities/CurrencyConverter/locales/zh-CN.json similarity index 100% rename from server/src/apps/currencyConverter/locales/zh-CN.json rename to client/src/apps/07.Utilities/CurrencyConverter/locales/zh-CN.json diff --git a/server/src/apps/currencyConverter/locales/zh-TW.json b/client/src/apps/07.Utilities/CurrencyConverter/locales/zh-TW.json similarity index 100% rename from server/src/apps/currencyConverter/locales/zh-TW.json rename to client/src/apps/07.Utilities/CurrencyConverter/locales/zh-TW.json diff --git a/server/src/apps/sudoku/locales/en.json b/client/src/apps/07.Utilities/Sudoku/locales/en.json similarity index 100% rename from server/src/apps/sudoku/locales/en.json rename to client/src/apps/07.Utilities/Sudoku/locales/en.json diff --git a/server/src/apps/sudoku/locales/ms.json b/client/src/apps/07.Utilities/Sudoku/locales/ms.json similarity index 100% rename from server/src/apps/sudoku/locales/ms.json rename to client/src/apps/07.Utilities/Sudoku/locales/ms.json diff --git a/server/src/apps/sudoku/locales/zh-CN.json b/client/src/apps/07.Utilities/Sudoku/locales/zh-CN.json similarity index 100% rename from server/src/apps/sudoku/locales/zh-CN.json rename to client/src/apps/07.Utilities/Sudoku/locales/zh-CN.json diff --git a/server/src/apps/sudoku/locales/zh-TW.json b/client/src/apps/07.Utilities/Sudoku/locales/zh-TW.json similarity index 100% rename from server/src/apps/sudoku/locales/zh-TW.json rename to client/src/apps/07.Utilities/Sudoku/locales/zh-TW.json diff --git a/server/src/apps/youtubeSummarizer/locales/en.json b/client/src/apps/07.Utilities/YoutubeSummarizer/locales/en.json similarity index 100% rename from server/src/apps/youtubeSummarizer/locales/en.json rename to client/src/apps/07.Utilities/YoutubeSummarizer/locales/en.json diff --git a/server/src/apps/youtubeSummarizer/locales/ms.json b/client/src/apps/07.Utilities/YoutubeSummarizer/locales/ms.json similarity index 100% rename from server/src/apps/youtubeSummarizer/locales/ms.json rename to client/src/apps/07.Utilities/YoutubeSummarizer/locales/ms.json diff --git a/server/src/apps/youtubeSummarizer/locales/zh-CN.json b/client/src/apps/07.Utilities/YoutubeSummarizer/locales/zh-CN.json similarity index 100% rename from server/src/apps/youtubeSummarizer/locales/zh-CN.json rename to client/src/apps/07.Utilities/YoutubeSummarizer/locales/zh-CN.json diff --git a/server/src/apps/youtubeSummarizer/locales/zh-TW.json b/client/src/apps/07.Utilities/YoutubeSummarizer/locales/zh-TW.json similarity index 100% rename from server/src/apps/youtubeSummarizer/locales/zh-TW.json rename to client/src/apps/07.Utilities/YoutubeSummarizer/locales/zh-TW.json diff --git a/client/src/apps/08.Settings/Backups/components/CreateBackupModal.tsx b/client/src/apps/08.Settings/Backups/components/CreateBackupModal.tsx index afd99dc01..345c534d0 100644 --- a/client/src/apps/08.Settings/Backups/components/CreateBackupModal.tsx +++ b/client/src/apps/08.Settings/Backups/components/CreateBackupModal.tsx @@ -6,7 +6,7 @@ import { toast } from 'react-toastify' import type { InferInput } from 'shared' function CreateBackupModal({ onClose }: { onClose: () => void }) { - const { t } = useTranslation('core.backups') + const { t } = useTranslation('apps.backups') const queryClient = useQueryClient() @@ -25,11 +25,11 @@ function CreateBackupModal({ onClose }: { onClose: () => void }) { InferInput['body'] >({ icon: 'tabler:plus', - namespace: 'core.backups', + namespace: 'apps.backups', submitButton: { children: 'Start Backup', icon: 'tabler:arrow-right', - namespace: 'core.backups', + namespace: 'apps.backups', iconPosition: 'end' }, title: 'Create Backup', diff --git a/client/src/apps/08.Settings/Backups/index.tsx b/client/src/apps/08.Settings/Backups/index.tsx index 4bd7449e6..dba5cc402 100644 --- a/client/src/apps/08.Settings/Backups/index.tsx +++ b/client/src/apps/08.Settings/Backups/index.tsx @@ -14,7 +14,7 @@ import BackupItem from './components/BackupItem' import CreateBackupModal from './components/CreateBackupModal' function Backups() { - const { t } = useTranslation('core.backups') + const { t } = useTranslation('apps.backups') const open = useModalStore(state => state.open) @@ -52,7 +52,7 @@ function Backups() { ) } diff --git a/server/src/core/locales/en/core/backups.json b/client/src/apps/08.Settings/Backups/locales/en.json similarity index 100% rename from server/src/core/locales/en/core/backups.json rename to client/src/apps/08.Settings/Backups/locales/en.json diff --git a/server/src/core/locales/ms/core/backups.json b/client/src/apps/08.Settings/Backups/locales/ms.json similarity index 100% rename from server/src/core/locales/ms/core/backups.json rename to client/src/apps/08.Settings/Backups/locales/ms.json diff --git a/server/src/core/locales/zh-CN/core/backups.json b/client/src/apps/08.Settings/Backups/locales/zh-CN.json similarity index 100% rename from server/src/core/locales/zh-CN/core/backups.json rename to client/src/apps/08.Settings/Backups/locales/zh-CN.json diff --git a/server/src/core/locales/zh-TW/core/backups.json b/client/src/apps/08.Settings/Backups/locales/zh-TW.json similarity index 100% rename from server/src/core/locales/zh-TW/core/backups.json rename to client/src/apps/08.Settings/Backups/locales/zh-TW.json diff --git a/server/src/core/locales/en/core/modules.json b/client/src/apps/08.Settings/Modules/locales/en.json similarity index 100% rename from server/src/core/locales/en/core/modules.json rename to client/src/apps/08.Settings/Modules/locales/en.json diff --git a/server/src/core/locales/ms/core/modules.json b/client/src/apps/08.Settings/Modules/locales/ms.json similarity index 100% rename from server/src/core/locales/ms/core/modules.json rename to client/src/apps/08.Settings/Modules/locales/ms.json diff --git a/server/src/core/locales/zh-CN/core/modules.json b/client/src/apps/08.Settings/Modules/locales/zh-CN.json similarity index 100% rename from server/src/core/locales/zh-CN/core/modules.json rename to client/src/apps/08.Settings/Modules/locales/zh-CN.json diff --git a/server/src/core/locales/zh-TW/core/modules.json b/client/src/apps/08.Settings/Modules/locales/zh-TW.json similarity index 100% rename from server/src/core/locales/zh-TW/core/modules.json rename to client/src/apps/08.Settings/Modules/locales/zh-TW.json diff --git a/client/src/apps/08.Settings/Personalization/components/BgImageSelector/index.tsx b/client/src/apps/08.Settings/Personalization/components/BgImageSelector/index.tsx index 2cabeb160..c52b50e33 100644 --- a/client/src/apps/08.Settings/Personalization/components/BgImageSelector/index.tsx +++ b/client/src/apps/08.Settings/Personalization/components/BgImageSelector/index.tsx @@ -19,7 +19,7 @@ import AdjustBgImageModal from './modals/AdjustBgImageModal' function BgImageSelector() { const open = useModalStore(state => state.open) - const { t } = useTranslation('core.personalization') + const { t } = useTranslation('apps.personalization') const pixabayEnabledQuery = useQuery( forgeAPI.pixabay.verifyAPIKey.queryOptions() diff --git a/client/src/apps/08.Settings/Personalization/components/BgImageSelector/modals/AdjustBgImageModal/components/AdjustmentColumn.tsx b/client/src/apps/08.Settings/Personalization/components/BgImageSelector/modals/AdjustBgImageModal/components/AdjustmentColumn.tsx index e5026382d..6f7338e64 100644 --- a/client/src/apps/08.Settings/Personalization/components/BgImageSelector/modals/AdjustBgImageModal/components/AdjustmentColumn.tsx +++ b/client/src/apps/08.Settings/Personalization/components/BgImageSelector/modals/AdjustBgImageModal/components/AdjustmentColumn.tsx @@ -17,7 +17,7 @@ function AdjustmentColumn({ labels: string[] max: number }) { - const { t } = useTranslation('core.personalization') + const { t } = useTranslation('apps.personalization') return ( void }) { - const { t } = useTranslation('core.personalization') + const { t } = useTranslation('apps.personalization') const { backdropFilters } = usePersonalization() diff --git a/client/src/apps/08.Settings/Personalization/components/BgTempSelector/components/DefaultBgTempSelector.tsx b/client/src/apps/08.Settings/Personalization/components/BgTempSelector/components/DefaultBgTempSelector.tsx index cfebcab85..264632137 100644 --- a/client/src/apps/08.Settings/Personalization/components/BgTempSelector/components/DefaultBgTempSelector.tsx +++ b/client/src/apps/08.Settings/Personalization/components/BgTempSelector/components/DefaultBgTempSelector.tsx @@ -6,7 +6,7 @@ import { useTranslation } from 'react-i18next' const COLORS = ['bg-slate', 'bg-gray', 'bg-zinc', 'bg-neutral', 'bg-stone'] function DefaultBgTempSelector({ bgTemp }: { bgTemp: string }) { - const { t } = useTranslation('core.personalization') + const { t } = useTranslation('apps.personalization') const { changeBgTemp } = useUserPersonalization() diff --git a/client/src/apps/08.Settings/Personalization/components/BgTempSelector/index.tsx b/client/src/apps/08.Settings/Personalization/components/BgTempSelector/index.tsx index 219a68525..f3717c76d 100644 --- a/client/src/apps/08.Settings/Personalization/components/BgTempSelector/index.tsx +++ b/client/src/apps/08.Settings/Personalization/components/BgTempSelector/index.tsx @@ -17,7 +17,7 @@ function BgTempSelector() { bgTemp.startsWith('#') ? bgTemp : '#000000' ) - const { t } = useTranslation(['core.personalization', 'common.buttons']) + const { t } = useTranslation(['apps.personalization', 'common.buttons']) return ( diff --git a/client/src/apps/08.Settings/Personalization/components/FontFamilySelector/components/FontFamilySelectorModal/index.tsx b/client/src/apps/08.Settings/Personalization/components/FontFamilySelector/components/FontFamilySelectorModal/index.tsx index 7a3303d1a..504f82560 100644 --- a/client/src/apps/08.Settings/Personalization/components/FontFamilySelector/components/FontFamilySelectorModal/index.tsx +++ b/client/src/apps/08.Settings/Personalization/components/FontFamilySelector/components/FontFamilySelectorModal/index.tsx @@ -81,7 +81,7 @@ function FontFamilySelectorModal({ onClose }: { onClose: () => void }) {
@@ -107,7 +107,7 @@ function FontFamilySelectorModal({ onClose }: { onClose: () => void }) { void }) { ) : filteredFonts!.length > 0 ? ( @@ -170,7 +170,7 @@ function FontFamilySelectorModal({ onClose }: { onClose: () => void }) {
diff --git a/client/src/apps/08.Settings/Personalization/components/FontFamilySelector/index.tsx b/client/src/apps/08.Settings/Personalization/components/FontFamilySelector/index.tsx index 168c259af..ec64e84bd 100644 --- a/client/src/apps/08.Settings/Personalization/components/FontFamilySelector/index.tsx +++ b/client/src/apps/08.Settings/Personalization/components/FontFamilySelector/index.tsx @@ -6,7 +6,7 @@ import { usePersonalization } from 'shared' import FontFamilySelectorModal from './components/FontFamilySelectorModal' function FontFamilySelector() { - const { t } = useTranslation('core.personalization') + const { t } = useTranslation('apps.personalization') const open = useModalStore(state => state.open) diff --git a/client/src/apps/08.Settings/Personalization/components/FontScaleSelector.tsx b/client/src/apps/08.Settings/Personalization/components/FontScaleSelector.tsx index 6a51f37c9..5111b434a 100644 --- a/client/src/apps/08.Settings/Personalization/components/FontScaleSelector.tsx +++ b/client/src/apps/08.Settings/Personalization/components/FontScaleSelector.tsx @@ -9,7 +9,7 @@ function FontScaleSelector() { const { changeFontScale } = useUserPersonalization() - const { t } = useTranslation('core.personalization') + const { t } = useTranslation('apps.personalization') const [selectedFontScale, setSelectedFontScale] = useState(fontScale) @@ -24,7 +24,7 @@ function FontScaleSelector() { className="w-full" max={2} min={0.5} - namespace="core.personalization" + namespace="apps.personalization" setValue={value => { setSelectedFontScale(value) }} diff --git a/client/src/apps/08.Settings/Personalization/components/LanguageSelector.tsx b/client/src/apps/08.Settings/Personalization/components/LanguageSelector.tsx index dbc74f8ba..96f7f024a 100644 --- a/client/src/apps/08.Settings/Personalization/components/LanguageSelector.tsx +++ b/client/src/apps/08.Settings/Personalization/components/LanguageSelector.tsx @@ -36,7 +36,7 @@ function LanguageSelector() { const { changeLanguage } = useUserPersonalization() - const { t } = useTranslation('core.personalization') + const { t } = useTranslation('apps.personalization') return ( diff --git a/client/src/apps/08.Settings/Personalization/components/ThemeSelector.tsx b/client/src/apps/08.Settings/Personalization/components/ThemeSelector.tsx index 8ee116132..079cf4700 100644 --- a/client/src/apps/08.Settings/Personalization/components/ThemeSelector.tsx +++ b/client/src/apps/08.Settings/Personalization/components/ThemeSelector.tsx @@ -8,7 +8,7 @@ import { usePersonalization } from 'shared' function ThemeSelector() { const { theme } = usePersonalization() - const { t } = useTranslation('core.personalization') + const { t } = useTranslation('apps.personalization') const { changeTheme } = useUserPersonalization() diff --git a/server/src/core/locales/en/core/personalization.json b/client/src/apps/08.Settings/Personalization/locales/en.json similarity index 100% rename from server/src/core/locales/en/core/personalization.json rename to client/src/apps/08.Settings/Personalization/locales/en.json diff --git a/server/src/core/locales/ms/core/personalization.json b/client/src/apps/08.Settings/Personalization/locales/ms.json similarity index 100% rename from server/src/core/locales/ms/core/personalization.json rename to client/src/apps/08.Settings/Personalization/locales/ms.json diff --git a/server/src/core/locales/zh-CN/core/personalization.json b/client/src/apps/08.Settings/Personalization/locales/zh-CN.json similarity index 100% rename from server/src/core/locales/zh-CN/core/personalization.json rename to client/src/apps/08.Settings/Personalization/locales/zh-CN.json diff --git a/server/src/core/locales/zh-TW/core/personalization.json b/client/src/apps/08.Settings/Personalization/locales/zh-TW.json similarity index 100% rename from server/src/core/locales/zh-TW/core/personalization.json rename to client/src/apps/08.Settings/Personalization/locales/zh-TW.json diff --git a/client/src/apps/99/AccountSettings/components/AvatarColumn.tsx b/client/src/apps/99/AccountSettings/components/AvatarColumn.tsx index 3d70715cb..0fd9714f6 100644 --- a/client/src/apps/99/AccountSettings/components/AvatarColumn.tsx +++ b/client/src/apps/99/AccountSettings/components/AvatarColumn.tsx @@ -17,7 +17,7 @@ import { useAuth } from '../../../../core/providers/AuthProvider' function AvatarColumn() { const open = useModalStore(state => state.open) - const { t } = useTranslation('core.accountSettings') + const { t } = useTranslation('apps.accountSettings') const { getAvatarURL, userData, setUserData } = useAuth() diff --git a/client/src/apps/99/AccountSettings/components/OrdinaryColumn.tsx b/client/src/apps/99/AccountSettings/components/OrdinaryColumn.tsx index cb3c8dcb3..8c11db10f 100644 --- a/client/src/apps/99/AccountSettings/components/OrdinaryColumn.tsx +++ b/client/src/apps/99/AccountSettings/components/OrdinaryColumn.tsx @@ -23,7 +23,7 @@ function OrdinaryColumn({ const { userData } = useAuth() - const { t } = useTranslation('core.accountSettings') + const { t } = useTranslation('apps.accountSettings') const handleOpenModifyModal = useCallback(() => { open(ModifyModal, { diff --git a/client/src/apps/99/AccountSettings/components/PasswordColumn.tsx b/client/src/apps/99/AccountSettings/components/PasswordColumn.tsx index 1ddcec249..61ea24931 100644 --- a/client/src/apps/99/AccountSettings/components/PasswordColumn.tsx +++ b/client/src/apps/99/AccountSettings/components/PasswordColumn.tsx @@ -5,7 +5,7 @@ import { toast } from 'react-toastify' import { usePromiseLoading } from 'shared' function PasswordColumn() { - const { t } = useTranslation('core.accountSettings') + const { t } = useTranslation('apps.accountSettings') async function handlePasswordChange() { try { @@ -29,7 +29,7 @@ function PasswordColumn() { className="w-full whitespace-nowrap md:w-auto" icon="tabler:key" loading={loading} - namespace="core.accountSettings" + namespace="apps.accountSettings" variant="secondary" onClick={onSubmit} > diff --git a/client/src/apps/99/AccountSettings/components/TwoFAColumn.tsx b/client/src/apps/99/AccountSettings/components/TwoFAColumn.tsx index 807b7cb74..2f6d1ef9f 100644 --- a/client/src/apps/99/AccountSettings/components/TwoFAColumn.tsx +++ b/client/src/apps/99/AccountSettings/components/TwoFAColumn.tsx @@ -10,7 +10,7 @@ import EnableTwoFAModal from '../modals/EnableTwoFAModal' function TwoFAColumn() { const open = useModalStore(state => state.open) - const { t } = useTranslation('core.accountSettings') + const { t } = useTranslation('apps.accountSettings') const { userData } = useAuth() diff --git a/server/src/core/locales/en/core/accountSettings.json b/client/src/apps/99/AccountSettings/locales/en.json similarity index 100% rename from server/src/core/locales/en/core/accountSettings.json rename to client/src/apps/99/AccountSettings/locales/en.json diff --git a/server/src/core/locales/ms/core/accountSettings.json b/client/src/apps/99/AccountSettings/locales/ms.json similarity index 100% rename from server/src/core/locales/ms/core/accountSettings.json rename to client/src/apps/99/AccountSettings/locales/ms.json diff --git a/server/src/core/locales/zh-CN/core/accountSettings.json b/client/src/apps/99/AccountSettings/locales/zh-CN.json similarity index 100% rename from server/src/core/locales/zh-CN/core/accountSettings.json rename to client/src/apps/99/AccountSettings/locales/zh-CN.json diff --git a/server/src/core/locales/zh-TW/core/accountSettings.json b/client/src/apps/99/AccountSettings/locales/zh-TW.json similarity index 100% rename from server/src/core/locales/zh-TW/core/accountSettings.json rename to client/src/apps/99/AccountSettings/locales/zh-TW.json diff --git a/client/src/apps/99/AccountSettings/modals/DisableTwoFAModal.tsx b/client/src/apps/99/AccountSettings/modals/DisableTwoFAModal.tsx index 005fb33f3..e4380dfe6 100644 --- a/client/src/apps/99/AccountSettings/modals/DisableTwoFAModal.tsx +++ b/client/src/apps/99/AccountSettings/modals/DisableTwoFAModal.tsx @@ -7,7 +7,7 @@ import { usePromiseLoading } from 'shared' import { useAuth } from '../../../../core/providers/AuthProvider' function DisableTwoFAModal({ onClose }: { onClose: () => void }) { - const { t } = useTranslation('core.accountSettings') + const { t } = useTranslation('apps.accountSettings') const { setUserData } = useAuth() @@ -31,7 +31,7 @@ function DisableTwoFAModal({ onClose }: { onClose: () => void }) {
diff --git a/client/src/apps/99/AccountSettings/modals/EnableTwoFAModal/components/OTPConfirmScreen.tsx b/client/src/apps/99/AccountSettings/modals/EnableTwoFAModal/components/OTPConfirmScreen.tsx index 797faaf7d..879079c33 100644 --- a/client/src/apps/99/AccountSettings/modals/EnableTwoFAModal/components/OTPConfirmScreen.tsx +++ b/client/src/apps/99/AccountSettings/modals/EnableTwoFAModal/components/OTPConfirmScreen.tsx @@ -7,7 +7,7 @@ import { useTranslation } from 'react-i18next' import { toast } from 'react-toastify' function OTPConfirmScreen({ onSuccess }: { onSuccess: () => void }) { - const { t } = useTranslation('core.accountSettings') + const { t } = useTranslation('apps.accountSettings') const [otp, setOtp] = useState('') diff --git a/client/src/apps/99/AccountSettings/modals/EnableTwoFAModal/components/TwoFAEnableProcedure.tsx b/client/src/apps/99/AccountSettings/modals/EnableTwoFAModal/components/TwoFAEnableProcedure.tsx index d192cc353..2c002bf28 100644 --- a/client/src/apps/99/AccountSettings/modals/EnableTwoFAModal/components/TwoFAEnableProcedure.tsx +++ b/client/src/apps/99/AccountSettings/modals/EnableTwoFAModal/components/TwoFAEnableProcedure.tsx @@ -6,7 +6,7 @@ import OTPConfirmScreen from './OTPConfirmScreen' import QRCodeDisplay from './QRCodeDisplay' function TwoFAEnableProcedure({ onSuccess }: { onSuccess: () => void }) { - const { t } = useTranslation('core.accountSettings') + const { t } = useTranslation('apps.accountSettings') const [proceeded, setProceeded] = useState(false) diff --git a/client/src/apps/99/AccountSettings/modals/EnableTwoFAModal/index.tsx b/client/src/apps/99/AccountSettings/modals/EnableTwoFAModal/index.tsx index ef18b90f2..353a850b6 100644 --- a/client/src/apps/99/AccountSettings/modals/EnableTwoFAModal/index.tsx +++ b/client/src/apps/99/AccountSettings/modals/EnableTwoFAModal/index.tsx @@ -8,7 +8,7 @@ import { useAuth } from '../../../../../core/providers/AuthProvider' import TwoFAEnableProcedure from './components/TwoFAEnableProcedure' function EnableTwoFAModal({ onClose }: { onClose: () => void }) { - const { t } = useTranslation('core.accountSettings') + const { t } = useTranslation('apps.accountSettings') const { setUserData } = useAuth() @@ -24,7 +24,7 @@ function EnableTwoFAModal({ onClose }: { onClose: () => void }) {
diff --git a/client/src/apps/99/AccountSettings/modals/ModifyModal.tsx b/client/src/apps/99/AccountSettings/modals/ModifyModal.tsx index 48c6e4dcf..33da1b22d 100644 --- a/client/src/apps/99/AccountSettings/modals/ModifyModal.tsx +++ b/client/src/apps/99/AccountSettings/modals/ModifyModal.tsx @@ -40,7 +40,7 @@ function ModifyModal({ const { formProps } = defineForm<{ [key in string]: string }>({ - namespace: 'core.accountSettings', + namespace: 'apps.accountSettings', icon: 'tabler:pencil', title: `${_.camelCase(title)}.update`, onClose, diff --git a/server/src/core/locales/en/core/documentation.json b/client/src/apps/99/Documentation/locales/en.json similarity index 100% rename from server/src/core/locales/en/core/documentation.json rename to client/src/apps/99/Documentation/locales/en.json diff --git a/server/src/core/locales/ms/core/documentation.json b/client/src/apps/99/Documentation/locales/ms.json similarity index 100% rename from server/src/core/locales/ms/core/documentation.json rename to client/src/apps/99/Documentation/locales/ms.json diff --git a/server/src/core/locales/zh-CN/core/documentation.json b/client/src/apps/99/Documentation/locales/zh-CN.json similarity index 100% rename from server/src/core/locales/zh-CN/core/documentation.json rename to client/src/apps/99/Documentation/locales/zh-CN.json diff --git a/server/src/core/locales/zh-TW/core/documentation.json b/client/src/apps/99/Documentation/locales/zh-TW.json similarity index 100% rename from server/src/core/locales/zh-TW/core/documentation.json rename to client/src/apps/99/Documentation/locales/zh-TW.json diff --git a/client/src/core/App.tsx b/client/src/core/App.tsx index 1c3b7a15b..e7fd4a835 100644 --- a/client/src/core/App.tsx +++ b/client/src/core/App.tsx @@ -18,7 +18,7 @@ import { ToastProvider } from 'shared' -import { MusicProvider } from '@apps/04.Storage/Music/providers/MusicProvider' +import { MusicProvider } from '@apps/04.Storage/music/providers/MusicProvider' import './i18n' import './index.css' diff --git a/client/src/core/i18n.ts b/client/src/core/i18n.ts index 59fddacae..d2043eb85 100644 --- a/client/src/core/i18n.ts +++ b/client/src/core/i18n.ts @@ -57,7 +57,7 @@ i18n return forgeAPI.locales.getLocale.input({ lang: langs[0] as 'en' | 'zh' | 'zh-TW' | 'zh-CN' | 'ms', - namespace: namespace as 'utils' | 'apps' | 'common' | 'core', + namespace: namespace as 'apps' | 'common', subnamespace: subnamespace }).endpoint }, diff --git a/client/src/core/index.css b/client/src/core/index.css index d1e7304dd..90d4da975 100644 --- a/client/src/core/index.css +++ b/client/src/core/index.css @@ -25,7 +25,7 @@ layer(base); @source '../../../node_modules/lifeforge-ui/dist'; /* App styles */ -@import '@apps/00/Dashboard/index.css'; +@import '@apps/00/dashboard/index.css'; @import '@apps/01.Productivity/Calendar/index.css'; @import '@apps/06.Information/RailwayMap/index.css'; @import '@apps/04.Storage/Music/index.css'; diff --git a/client/src/core/providers/APIKeyStatusProvider.tsx b/client/src/core/providers/APIKeyStatusProvider.tsx index 1f112245c..ca44c6ec6 100644 --- a/client/src/core/providers/APIKeyStatusProvider.tsx +++ b/client/src/core/providers/APIKeyStatusProvider.tsx @@ -11,7 +11,7 @@ function APIKeyStatusProvider({ APIKeys: string[] children: React.ReactNode }) { - const { t } = useTranslation('core.apiKeys') + const { t } = useTranslation('apps.apiKeys') const hasRequiredAPIKeysQuery = useQuery( forgeAPI.apiKeys.entries.checkKeys @@ -38,7 +38,7 @@ function APIKeyStatusProvider({ iconPosition: 'end', to: '/api-keys', children: 'configAPIKeys', - namespace: 'core.apiKeys' + namespace: 'apps.apiKeys' }} description={ <> diff --git a/packages/lifeforge-ui/src/components/layouts/ModuleHeader.tsx b/packages/lifeforge-ui/src/components/layouts/ModuleHeader.tsx index b0411e3db..1e99168c4 100644 --- a/packages/lifeforge-ui/src/components/layouts/ModuleHeader.tsx +++ b/packages/lifeforge-ui/src/components/layouts/ModuleHeader.tsx @@ -37,7 +37,6 @@ function ModuleHeader({ const { t } = useTranslation([ `apps.${_.camelCase(title?.toString() ?? '')}`, - `core.${_.camelCase(title?.toString() ?? '')}`, 'common.misc', namespace ?? '' ]) @@ -66,8 +65,7 @@ function ModuleHeader({ {t([ `${namespace}:${tKey}.${_.camelCase(title?.toString() ?? '')}.title`, `${namespace}:${_.camelCase(title?.toString() ?? '')}.title`, - `apps..camelCase(title?.toString() ?? '')}:title`, - `core.${_.camelCase(title?.toString() ?? '')}:title`, + `apps.${_.camelCase(title?.toString() ?? '')}:title`, 'common.misc:title', 'title', title?.toString() ?? '' @@ -83,8 +81,7 @@ function ModuleHeader({ {t([ `${namespace}:${tKey}.${_.camelCase(title?.toString() ?? '')}.description`, `${namespace}:${_.camelCase(title?.toString() ?? '')}.description`, - `apps..camelCase(title?.toString() ?? '')}:description`, - `core.${_.camelCase(title?.toString() ?? '')}:description`, + `apps.${_.camelCase(title?.toString() ?? '')}:description`, 'common.misc:description', 'description', `Description for ${title?.toString() ?? ''}` diff --git a/packages/lifeforge-ui/src/components/utilities/DashboardItem.tsx b/packages/lifeforge-ui/src/components/utilities/DashboardItem.tsx index 80d7fc7d0..027775244 100644 --- a/packages/lifeforge-ui/src/components/utilities/DashboardItem.tsx +++ b/packages/lifeforge-ui/src/components/utilities/DashboardItem.tsx @@ -10,7 +10,7 @@ function DashboardItem({ title, children, componentBesideTitle, - namespace = 'core.dashboard' + namespace = 'apps.dashboard' }: { ref?: React.Ref className?: string diff --git a/packages/lifeforge-ui/src/styles/index.css b/packages/lifeforge-ui/src/styles/index.css index 2b24c4abe..ae0093cc3 100644 --- a/packages/lifeforge-ui/src/styles/index.css +++ b/packages/lifeforge-ui/src/styles/index.css @@ -3,7 +3,7 @@ @import './global.css'; @import './prose.css'; @import './daisyui.css'; -@import './utils.css'; +@import './apps.css'; @import 'react-grid-layout/css/styles.css'; @import 'react-medium-image-zoom/dist/styles.css'; diff --git a/server/src/core/lib/locales/constants/locales.ts b/server/src/core/lib/locales/constants/locales.ts index 475bfef75..247722153 100644 --- a/server/src/core/lib/locales/constants/locales.ts +++ b/server/src/core/lib/locales/constants/locales.ts @@ -1,3 +1,3 @@ -export const ALLOWED_NAMESPACE = ['apps', 'common', 'utils', 'core'] as const +export const ALLOWED_NAMESPACE = ['apps', 'common'] as const export const ALLOWED_LANG = ['en', 'ms', 'zh-CN', 'zh-TW', 'zh'] as const diff --git a/server/src/core/lib/locales/routes/locales.ts b/server/src/core/lib/locales/routes/locales.ts index 22cff393d..070e752ad 100644 --- a/server/src/core/lib/locales/routes/locales.ts +++ b/server/src/core/lib/locales/routes/locales.ts @@ -7,6 +7,13 @@ import { z } from 'zod/v4' import { ALLOWED_LANG, ALLOWED_NAMESPACE } from '../constants/locales' +const allApps = fs + .globSync(`../client/src/apps/*/*`, { + withFileTypes: true + }) + .filter(e => fs.existsSync(`${e.parentPath}/${e.name}/locales`)) + .map(e => `${e.parentPath}/${e.name}`) + const getLocale = forgeController.query .noAuth() .description( @@ -25,7 +32,7 @@ const getLocale = forgeController.query let data if (namespace === 'apps') { - if (!fs.existsSync(`${process.cwd()}/src/apps/${subnamespace}/locales`)) { + if (!allApps.includes(subnamespace)) { throw new ClientError( `Subnamespace ${subnamespace} does not exist in apps`, 404 @@ -34,14 +41,14 @@ const getLocale = forgeController.query data = JSON.parse( fs.readFileSync( - `${process.cwd()}/src/apps/${subnamespace}/locales/${finalLang}.json`, + `../client/src/apps/${subnamespace}/locales/${finalLang}.json`, 'utf-8' ) ) } else { if ( !fs.existsSync( - `${process.cwd()}/src/core/locales/${finalLang}/${namespace}/${subnamespace}.json` + `${process.cwd()}/src/core/locales/${finalLang}/${subnamespace}.json` ) ) { throw new ClientError( @@ -52,64 +59,28 @@ const getLocale = forgeController.query data = JSON.parse( fs.readFileSync( - `${process.cwd()}/src/core/locales/${finalLang}/${namespace}/${subnamespace}.json`, + `${process.cwd()}/src/core/locales/${finalLang}/${subnamespace}.json`, 'utf-8' ) ) } if (namespace === 'common' && subnamespace === 'sidebar') { - const moduleLocales = Object.fromEntries( - fs - .readdirSync(`${process.cwd()}/src/apps`) - .filter(module => - fs.existsSync( - `${process.cwd()}/src/apps/${module}/locales/${finalLang}.json` - ) + data.apps = Object.fromEntries( + allApps.map(module => { + const data = JSON.parse( + fs.readFileSync(`${module}/locales/${finalLang}.json`, 'utf-8') ) - .map(module => { - const data = JSON.parse( - fs.readFileSync( - `${process.cwd()}/src/apps/${module}/locales/${finalLang}.json`, - 'utf-8' - ) - ) - return [ - module.replace('.json', ''), - { - title: data.title ?? '', - subsections: data.subsections ?? {} - } - ] - }) + return [ + module.replace('.json', '').split('/').pop(), + { + title: data.title ?? '', + subsections: data.subsections ?? {} + } + ] + }) ) - - const coreLocales = Object.fromEntries( - fs - .readdirSync(`${process.cwd()}/src/core/locales/${finalLang}/core`) - .map(file => { - const data = JSON.parse( - fs.readFileSync( - `${process.cwd()}/src/core/locales/${finalLang}/core/${file}`, - 'utf-8' - ) - ) - - return [ - file.replace('.json', ''), - { - title: data.title ?? '', - subsections: data.subsections ?? {} - } - ] - }) - ) - - data.apps = { - ...moduleLocales, - ...coreLocales - } } return data diff --git a/server/src/core/locales/en/common/auth.json b/server/src/core/locales/en/auth.json similarity index 100% rename from server/src/core/locales/en/common/auth.json rename to server/src/core/locales/en/auth.json diff --git a/server/src/core/locales/en/common/buttons.json b/server/src/core/locales/en/buttons.json similarity index 100% rename from server/src/core/locales/en/common/buttons.json rename to server/src/core/locales/en/buttons.json diff --git a/server/src/core/locales/en/core/localizationManager.json b/server/src/core/locales/en/core/localizationManager.json deleted file mode 100644 index adee891e5..000000000 --- a/server/src/core/locales/en/core/localizationManager.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "title": "Localization Manager", - "description": "Manage translations and language settings for the system." -} diff --git a/server/src/core/locales/en/core/serverStatus.json b/server/src/core/locales/en/core/serverStatus.json deleted file mode 100644 index b91c118e9..000000000 --- a/server/src/core/locales/en/core/serverStatus.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "Server Status", - "description": "Monitor and manage server performance and resources.", - "sections": { - "systemResources": "System Resources", - "activeServices": "Active Services", - "recentLogs": "Recent Logs", - "networkStatus": "Network Status" - }, - "metrics": { - "cpu": "CPU Usage", - "memory": "Memory Usage", - "disk": "Disk Space", - "network": "Network Traffic", - "uptime": "Uptime" - }, - "buttons": { - "refreshStatus": "Refresh Status", - "viewDetailedStats": "View Detailed Statistics", - "downloadLogs": "Download Logs", - "restartService": "Restart Service" - }, - "modals": { - "serviceDetails": { - "title": "Service Details", - "description": "Detailed information about the service." - }, - "confirmRestart": { - "title": "Restart Service", - "description": "Are you sure you want to restart this service?" - } - }, - "messages": { - "serviceRestarted": "Service restarted successfully.", - "refreshSuccess": "Server status refreshed successfully." - }, - "statuses": { - "online": "Online", - "offline": "Offline", - "warning": "Warning", - "critical": "Critical" - }, - "empty": { - "storageStatus": { - "title": "No Storage Found", - "description": "No storage found. Please check your API configuration or server setup." - } - } -} diff --git a/server/src/core/locales/en/common/fetch.json b/server/src/core/locales/en/fetch.json similarity index 100% rename from server/src/core/locales/en/common/fetch.json rename to server/src/core/locales/en/fetch.json diff --git a/server/src/core/locales/en/common/misc.json b/server/src/core/locales/en/misc.json similarity index 100% rename from server/src/core/locales/en/common/misc.json rename to server/src/core/locales/en/misc.json diff --git a/server/src/core/locales/en/common/modals.json b/server/src/core/locales/en/modals.json similarity index 100% rename from server/src/core/locales/en/common/modals.json rename to server/src/core/locales/en/modals.json diff --git a/server/src/core/locales/en/common/sidebar.json b/server/src/core/locales/en/sidebar.json similarity index 100% rename from server/src/core/locales/en/common/sidebar.json rename to server/src/core/locales/en/sidebar.json diff --git a/server/src/core/locales/en/utils/moduleTools.json b/server/src/core/locales/en/utils/moduleTools.json deleted file mode 100644 index c392943e8..000000000 --- a/server/src/core/locales/en/utils/moduleTools.json +++ /dev/null @@ -1,87 +0,0 @@ -{ - "title": "Module Tools", - "description": "Easily manage all modules", - "menu": { - "title": "Available Commands", - "commandCategories": { - "modulesManagement": "Modules Management", - "misc": "Miscellaneous" - }, - "commandDescription": { - "logout": "Logout from this module-tools", - "installModule": "Install modules from local zip file", - "uninstallModule": "Uninstall and remove module from the system", - "exit": "Exit module tools", - "packageModule": "Package modules into a zip file" - }, - "frontendFolderPath": "Frontend Folder Path" - }, - "prompts": { - "command": "Enter a command", - "logoutConfirmation": "Are you sure you want to log out?", - "selectFrontendFolder": "Select the folder where your frontend code is located", - "selectModuleZip": "Select the zip file of the module you want to install", - "selectCategory": "Select the category to add the module to", - "confirmManifest": "Does this manifest data look correct to you?", - "selectThisFolder": "Select this folder", - "fileSelectorNavigationZip": "Select folder or zip File", - "fileSelectorNavigationFolder": "Select folder", - "selectModule": "Select a module", - "selectSavePath": "Select the folder to save your module", - "backToIconSets": "Back to icon sets list", - "selectIcon": "Select an icon", - "selectIconCollection": "Select an icon collection", - "selectBackendModulePath": "Select backend module path", - "confirmModulePaths": "Does this paths data look correct to you?", - "hasBackend": "Does this module have a backend?" - }, - "messages": { - "exit": "Program terminated", - "invalidCommand": "Invalid command", - "notImplemented": "Feature not yet implemented", - "operationCancelled": "Operation cancelled", - "currentDirectory": "Current directory", - "loggingOut": "Logging out...", - "logoutSuccess": "Logout successful", - "unzippingFile": "Unzipping file...", - "unzipSuccess": "Unzipping completed successfully", - "invalidOption": "Invalid option", - "validatingZip": "Validating module zip file...", - "zipValidated": "Zip validated successfully", - "key": "Key", - "value": "Value", - "copyingFiles": "Copying files...", - "copyFilesSuccess": "Files successfully copied to destination folder", - "copyFilesFailed": "Failed to copy files", - "configuringRoutes": "Configuring routes...", - "configRoutesSuccess": "Routes configured successfully", - "configRoutesFailed": "Failed to configure routes", - "frontendInstallationSuccess": "Frontend installation successfully for:", - "zippingFile": "Zipping file...", - "zipSuccess": "Files zipped successfully", - "zipError": "Error zipping file", - "failedToUploadBackend": "Failed to upload to the backend", - "uploadingToBackend": "Uploading files to backend...", - "uploadToBackendSuccess": "Successfully uploaded files to backend", - "backendInstallationSuccess": "Backend installation successful for: ", - "pressAnyKeyToContinue": "Press any key to continue...", - "assetsFolderFound": "Assets folder found for the module", - "fetchingBackendModulePath": "Fetching module paths from backend server...", - "backendModulePathsFetched": "Successfully fetched data from backend server", - "fetchingIconSetsFromIconify": "Fetching icon sets from Iconify...", - "fetchingIconsFromIconify": "Fetching icons from Iconify...", - "failedToFetchIconSets": "Failed to fetch icon sets", - "failedToFetchIcons": "Failed to fetch icons", - "frontendPackagingSuccess": "Successfully added frontend files into package", - "assetsPackagingSuccess": "Successfully added asset files into package", - "fetchingBackendFiles": "Fetching files from backend server...", - "backendPackagingError": "Error packaging backend files", - "successfullyFetchedBackendFiles": "Successfully fetched files from backend server", - "backendPackagingSuccess": "Successfully added backend files into package", - "manifestPackagingSuccess": "Successfully added manifest file into package", - "zipSavedTo": "Zipped file saved to", - "checkModulePaths": "Please check if the following data is correct:", - "moduleAlreadyExistsInCategory": "Module with the same name already exists in the category.", - "frontendFolderStoredAs": "Frontend folder stored as" - } -} diff --git a/server/src/core/locales/en/common/vault.json b/server/src/core/locales/en/vault.json similarity index 100% rename from server/src/core/locales/en/common/vault.json rename to server/src/core/locales/en/vault.json diff --git a/server/src/core/locales/ms/common/auth.json b/server/src/core/locales/ms/auth.json similarity index 100% rename from server/src/core/locales/ms/common/auth.json rename to server/src/core/locales/ms/auth.json diff --git a/server/src/core/locales/ms/common/buttons.json b/server/src/core/locales/ms/buttons.json similarity index 100% rename from server/src/core/locales/ms/common/buttons.json rename to server/src/core/locales/ms/buttons.json diff --git a/server/src/core/locales/ms/core/localizationManager.json b/server/src/core/locales/ms/core/localizationManager.json deleted file mode 100644 index 4a720a62e..000000000 --- a/server/src/core/locales/ms/core/localizationManager.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "title": "Pengurus Penyetempatan", - "description": "Urus terjemahan dan tetapan bahasa untuk sistem." -} diff --git a/server/src/core/locales/ms/core/serverStatus.json b/server/src/core/locales/ms/core/serverStatus.json deleted file mode 100644 index 18cf48e4e..000000000 --- a/server/src/core/locales/ms/core/serverStatus.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "Status Pelayan", - "description": "Pantau dan urus prestasi dan sumber pelayan.", - "sections": { - "systemResources": "Sumber Sistem", - "activeServices": "Perkhidmatan Aktif", - "recentLogs": "Log Terkini", - "networkStatus": "Status Rangkaian" - }, - "metrics": { - "cpu": "Penggunaan CPU", - "memory": "Penggunaan Memori", - "disk": "Ruang Cakera", - "network": "Trafik Rangkaian", - "uptime": "Masa Beroperasi" - }, - "buttons": { - "refreshStatus": "Muat Semula Status", - "viewDetailedStats": "Lihat Statistik Terperinci", - "downloadLogs": "Muat Turun Log", - "restartService": "Mulakan Semula Perkhidmatan" - }, - "modals": { - "serviceDetails": { - "title": "Butiran Perkhidmatan", - "description": "Maklumat terperinci tentang perkhidmatan." - }, - "confirmRestart": { - "title": "Mulakan Semula Perkhidmatan", - "description": "Adakah anda pasti mahu memulakan semula perkhidmatan ini?" - } - }, - "messages": { - "serviceRestarted": "Perkhidmatan berjaya dimulakan semula.", - "refreshSuccess": "Status pelayan berjaya dimuat semula." - }, - "statuses": { - "online": "Dalam Talian", - "offline": "Luar Talian", - "warning": "Amaran", - "critical": "Kritikal" - }, - "empty": { - "storageStatus": { - "title": "Tiada Penyimpanan Ditemui", - "description": "Tiada storan dijumpai. Sila semak konfigurasi API atau tetapan pelayan anda." - } - } -} diff --git a/server/src/core/locales/ms/common/fetch.json b/server/src/core/locales/ms/fetch.json similarity index 100% rename from server/src/core/locales/ms/common/fetch.json rename to server/src/core/locales/ms/fetch.json diff --git a/server/src/core/locales/ms/common/misc.json b/server/src/core/locales/ms/misc.json similarity index 100% rename from server/src/core/locales/ms/common/misc.json rename to server/src/core/locales/ms/misc.json diff --git a/server/src/core/locales/ms/common/modals.json b/server/src/core/locales/ms/modals.json similarity index 100% rename from server/src/core/locales/ms/common/modals.json rename to server/src/core/locales/ms/modals.json diff --git a/server/src/core/locales/ms/common/sidebar.json b/server/src/core/locales/ms/sidebar.json similarity index 100% rename from server/src/core/locales/ms/common/sidebar.json rename to server/src/core/locales/ms/sidebar.json diff --git a/server/src/core/locales/ms/utils/moduleTools.json b/server/src/core/locales/ms/utils/moduleTools.json deleted file mode 100644 index 69eb987d8..000000000 --- a/server/src/core/locales/ms/utils/moduleTools.json +++ /dev/null @@ -1,87 +0,0 @@ -{ - "title": "Alat Modul", - "description": "Urus semua modul dengan mudah", - "menu": { - "title": "Perintah Tersedia", - "commandCategories": { - "modulesManagement": "Pengurusan Modul", - "misc": "Pelbagai" - }, - "commandDescription": { - "logout": "Log keluar ddaripada alat-modul ini", - "installModule": "Pasang modul daripada fail zip tempatan", - "uninstallModule": "Nyahpasang dan keluarkan modul daripada sistem", - "exit": "Keluar dari alat modul", - "packageModule": "Pakej modul ke dalam fail zip" - }, - "frontendFolderPath": "Path Folder Frontend" - }, - "prompts": { - "command": "Masukkan arahan", - "logoutConfirmation": "Adakah anda pasti ingin log keluar?", - "selectFrontendFolder": "Pilih folder di mana kod frontend anda berada", - "selectModuleZip": "Pilih fail zip bagi modul yang anda ingin pasang", - "selectCategory": "Pilih kategori untuk menambah modul ke", - "confirmManifest": "Adakah data manifest ini kelihatan betul kepada anda?", - "selectThisFolder": "Pilih folder ini", - "fileSelectorNavigationZip": "Pilih folder atau nama fail zip", - "fileSelectorNavigationFolder": "Pilih folder", - "selectModule": "Pilih modul", - "selectSavePath": "Pilih folder untuk menyimpan modul anda", - "backToIconSets": "Kembali ke senarai set ikon", - "selectIcon": "Pilih ikon", - "selectIconCollection": "Pilih koleksi ikon", - "selectBackendModulePath": "Pilih laluan modul backend", - "confirmModulePaths": "Adakah data laluan ini kelihatan betul kepada anda?", - "hasBackend": "Adakah modul ini mempunyai backend?" - }, - "messages": { - "exit": "Program dihentikan", - "invalidCommand": "Perintah tidak sah", - "notImplemented": "Ciri belum dilaksanakan", - "operationCancelled": "Operasi dibatalkan", - "currentDirectory": "Direktori semasa", - "loggingOut": "Sedang log keluar...", - "logoutSuccess": "Log keluar berjaya", - "unzippingFile": "Membuka fail...", - "unzipSuccess": "Pemecahan zip berjaya", - "invalidOption": "Pilihan tidak sah", - "validatingZip": "Mengesahkan fail zip modul...", - "zipValidated": "Zip disahkan dengan jayanya", - "key": "Kunci", - "value": "Nilai", - "copyingFiles": "Menyalin fail...", - "copyFilesSuccess": "Fail telah berjaya disalin ke folder destinasi", - "copyFilesFailed": "Gagal untuk menyalin fail", - "configuringRoutes": "Mengkonfigurasi laluan...", - "configRoutesSuccess": "Rute telah dikonfigurasi dengan jayanya", - "configRoutesFailed": "Gagal untuk mengkonfigurasi laluan", - "frontendInstallationSuccess": "Pemasangan frontend berjaya untuk: ", - "zippingFile": "Mengempal fail...", - "zipSuccess": "Fail telah dimampatkan dengan jayanya", - "zipError": "Ralat ketika mengzip fail", - "failedToUploadBackend": "Gagal memuat naik ke backend", - "uploadingToBackend": "Mengunggah fail ke backend...", - "uploadToBackendSuccess": "Berjaya memuat naik fail ke backend", - "backendInstallationSuccess": "Pemasangan backend berjaya untuk: ", - "pressAnyKeyToContinue": "Tekan sebarang kekunci untuk meneruskan...", - "assetsFolderFound": "Folder aset ditemui untuk modul", - "fetchingBackendModulePath": "Sedang mengambil laluan modul dari pelayan backend...", - "backendModulePathsFetched": "Berjaya mendapatkan data dari server belakang", - "fetchingIconSetsFromIconify": "Sedang mengambil set ikon dari Iconify...", - "fetchingIconsFromIconify": "Sedang mengambil ikon dari Iconify...", - "failedToFetchIconSets": "Gagal memuat ikon set", - "failedToFetchIcons": "Gagal untuk memuatkan ikon", - "frontendPackagingSuccess": "Faila frontend berjaya ditambahkan ke dalam bungkusan", - "assetsPackagingSuccess": "Fail aset berjaya ditambahkan ke dalam bungkusan", - "fetchingBackendFiles": "Mengambil fail dari pelayan belakang...", - "backendPackagingError": "Ralat membungkus fail backend", - "successfullyFetchedBackendFiles": "Berjaya mendapatkan fail dari pelayan backend", - "backendPackagingSuccess": "Faila backend berjaya ditambahkan ke dalam bungkusan", - "manifestPackagingSuccess": "Berjaya menambah fail manifest ke dalam pakej", - "zipSavedTo": "Fail zip telah disimpan ke", - "checkModulePaths": "Sila semak jika data berikut adalah betul:", - "moduleAlreadyExistsInCategory": "Modul dengan nama yang sama sudah wujud dalam kategori.", - "frontendFolderStoredAs": "Folder frontend disimpan sebagai" - } -} diff --git a/server/src/core/locales/ms/common/vault.json b/server/src/core/locales/ms/vault.json similarity index 100% rename from server/src/core/locales/ms/common/vault.json rename to server/src/core/locales/ms/vault.json diff --git a/server/src/core/locales/zh-CN/common/auth.json b/server/src/core/locales/zh-CN/auth.json similarity index 100% rename from server/src/core/locales/zh-CN/common/auth.json rename to server/src/core/locales/zh-CN/auth.json diff --git a/server/src/core/locales/zh-CN/common/buttons.json b/server/src/core/locales/zh-CN/buttons.json similarity index 100% rename from server/src/core/locales/zh-CN/common/buttons.json rename to server/src/core/locales/zh-CN/buttons.json diff --git a/server/src/core/locales/zh-CN/core/localizationManager.json b/server/src/core/locales/zh-CN/core/localizationManager.json deleted file mode 100644 index fed5880e1..000000000 --- a/server/src/core/locales/zh-CN/core/localizationManager.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "title": "本地化管理器", - "description": "管理系统的翻译和语言设置。" -} diff --git a/server/src/core/locales/zh-CN/core/serverStatus.json b/server/src/core/locales/zh-CN/core/serverStatus.json deleted file mode 100644 index 9ace9f293..000000000 --- a/server/src/core/locales/zh-CN/core/serverStatus.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "服务器状态", - "description": "监控和管理服务器性能和资源。", - "sections": { - "systemResources": "系统资源", - "activeServices": "活跃服务", - "recentLogs": "最近日志", - "networkStatus": "网络状态" - }, - "metrics": { - "cpu": "CPU使用率", - "memory": "内存使用率", - "disk": "磁盘空间", - "network": "网络流量", - "uptime": "运行时间" - }, - "buttons": { - "refreshStatus": "刷新状态", - "viewDetailedStats": "查看详细统计", - "downloadLogs": "下载日志", - "restartService": "重启服务" - }, - "modals": { - "serviceDetails": { - "title": "服务详情", - "description": "关于该服务的详细信息。" - }, - "confirmRestart": { - "title": "重启服务", - "description": "您确定要重启此服务吗?" - } - }, - "messages": { - "serviceRestarted": "服务已成功重启。", - "refreshSuccess": "服务器状态已成功刷新。" - }, - "statuses": { - "online": "在线", - "offline": "离线", - "warning": "警告", - "critical": "危险" - }, - "empty": { - "storageStatus": { - "title": "未找到存储", - "description": "未找到存储,请检查您的API配置或服务器设置。" - } - } -} diff --git a/server/src/core/locales/zh-CN/common/fetch.json b/server/src/core/locales/zh-CN/fetch.json similarity index 100% rename from server/src/core/locales/zh-CN/common/fetch.json rename to server/src/core/locales/zh-CN/fetch.json diff --git a/server/src/core/locales/zh-CN/common/misc.json b/server/src/core/locales/zh-CN/misc.json similarity index 100% rename from server/src/core/locales/zh-CN/common/misc.json rename to server/src/core/locales/zh-CN/misc.json diff --git a/server/src/core/locales/zh-CN/common/modals.json b/server/src/core/locales/zh-CN/modals.json similarity index 100% rename from server/src/core/locales/zh-CN/common/modals.json rename to server/src/core/locales/zh-CN/modals.json diff --git a/server/src/core/locales/zh-CN/common/sidebar.json b/server/src/core/locales/zh-CN/sidebar.json similarity index 100% rename from server/src/core/locales/zh-CN/common/sidebar.json rename to server/src/core/locales/zh-CN/sidebar.json diff --git a/server/src/core/locales/zh-CN/utils/moduleTools.json b/server/src/core/locales/zh-CN/utils/moduleTools.json deleted file mode 100644 index 40b22466b..000000000 --- a/server/src/core/locales/zh-CN/utils/moduleTools.json +++ /dev/null @@ -1,87 +0,0 @@ -{ - "title": "模块工具", - "description": "轻松管理所有模块", - "menu": { - "title": "可用命令", - "commandCategories": { - "modulesManagement": "模块管理", - "misc": "杂项" - }, - "commandDescription": { - "logout": "登出并从这个模块工具", - "installModule": "从本地 zip 文件安装模块", - "uninstallModule": "从系统中卸载并删除模块", - "exit": "退出模块工具", - "packageModule": "将模块打包成zip文件" - }, - "frontendFolderPath": "前端文件夹路径" - }, - "prompts": { - "command": "输入命令", - "logoutConfirmation": "您确定要注销吗?", - "selectFrontendFolder": "选择前端代码所在的文件夹", - "selectModuleZip": "选择您要安装的模块的zip文件", - "selectCategory": "选择要将模块添加到的类别", - "confirmManifest": "这些清单数据看起来正确吗?", - "selectThisFolder": "选择此文件夹", - "fileSelectorNavigationZip": "选择文件夹或压缩文件", - "fileSelectorNavigationFolder": "选择文件夹", - "selectModule": "选择模块", - "selectSavePath": "选择保存模块的文件夹", - "backToIconSets": "返回图标集合列表", - "selectIcon": "选择图标", - "selectIconCollection": "选择图标集合", - "selectBackendModulePath": "选择后端模块路径", - "confirmModulePaths": "这些路径数据看起来正确吗?", - "hasBackend": "这个模块有后台吗?" - }, - "messages": { - "exit": "程序已终止", - "invalidCommand": "无效命令", - "notImplemented": "功能尚未实现", - "operationCancelled": "操作已取消", - "currentDirectory": "当前目录", - "loggingOut": "正在退出登录...", - "logoutSuccess": "注销成功", - "unzippingFile": "正在解压文件...", - "unzipSuccess": "解压成功", - "invalidOption": "无效的选项", - "validatingZip": "正在验证模块 ZIP 文件...", - "zipValidated": "压缩文件验证成功", - "key": "键", - "value": "值", - "copyingFiles": "正在复制文件...", - "copyFilesSuccess": "文件已成功复制到目标文件夹", - "copyFilesFailed": "复制文件失败", - "configuringRoutes": "正在配置路由...", - "configRoutesSuccess": "路由配置成功", - "configRoutesFailed": "配置路由失败", - "frontendInstallationSuccess": "前端安装成功:", - "zippingFile": "正在压缩文件...", - "zipSuccess": "文件已成功压缩", - "zipError": "压缩文件时出错", - "failedToUploadBackend": "无法上传到后端", - "uploadingToBackend": "正在将文件上传到后台...", - "uploadToBackendSuccess": "成功将文件上传到后台", - "backendInstallationSuccess": "后端安装成功: ", - "pressAnyKeyToContinue": "按任意键继续...", - "assetsFolderFound": "找到模块的资产文件夹", - "fetchingBackendModulePath": "正在从后端服务器获取模块路径...", - "backendModulePathsFetched": "成功从后端服务器获取数据", - "fetchingIconSetsFromIconify": "正在从 Iconify 获取图标集...", - "fetchingIconsFromIconify": "正在从 Iconify 获取图标...", - "failedToFetchIconSets": "无法获取图标集", - "failedToFetchIcons": "无法获取图标", - "frontendPackagingSuccess": "前端文件已成功添加到包中", - "assetsPackagingSuccess": "资产文件已成功添加到包中", - "fetchingBackendFiles": "正在从后端服务器获取文件...", - "backendPackagingError": "打包后端文件时出错", - "successfullyFetchedBackendFiles": "成功从后端服务器获取文件", - "backendPackagingSuccess": "后端文件已成功添加到包中", - "manifestPackagingSuccess": "清单文件已成功添加到包中", - "zipSavedTo": "已将压缩文件保存到", - "checkModulePaths": "请检查以下数据是否正确:", - "moduleAlreadyExistsInCategory": "类别中已经存在同名模块。", - "frontendFolderStoredAs": "前端文件夹存储为" - } -} diff --git a/server/src/core/locales/zh-CN/common/vault.json b/server/src/core/locales/zh-CN/vault.json similarity index 100% rename from server/src/core/locales/zh-CN/common/vault.json rename to server/src/core/locales/zh-CN/vault.json diff --git a/server/src/core/locales/zh-TW/common/auth.json b/server/src/core/locales/zh-TW/auth.json similarity index 100% rename from server/src/core/locales/zh-TW/common/auth.json rename to server/src/core/locales/zh-TW/auth.json diff --git a/server/src/core/locales/zh-TW/common/buttons.json b/server/src/core/locales/zh-TW/buttons.json similarity index 100% rename from server/src/core/locales/zh-TW/common/buttons.json rename to server/src/core/locales/zh-TW/buttons.json diff --git a/server/src/core/locales/zh-TW/core/localizationManager.json b/server/src/core/locales/zh-TW/core/localizationManager.json deleted file mode 100644 index d5d5cb447..000000000 --- a/server/src/core/locales/zh-TW/core/localizationManager.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "title": "本地化管理器", - "description": "管理系統的翻譯和語言設置。" -} diff --git a/server/src/core/locales/zh-TW/core/serverStatus.json b/server/src/core/locales/zh-TW/core/serverStatus.json deleted file mode 100644 index 4130ac4f3..000000000 --- a/server/src/core/locales/zh-TW/core/serverStatus.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "伺服器狀態", - "description": "監控和管理伺服器效能和資源。", - "sections": { - "systemResources": "系統資源", - "activeServices": "活躍服務", - "recentLogs": "最近日誌", - "networkStatus": "網絡狀態" - }, - "metrics": { - "cpu": "CPU使用率", - "memory": "記憶體使用率", - "disk": "硬碟空間", - "network": "網絡流量", - "uptime": "運行時間" - }, - "buttons": { - "refreshStatus": "刷新狀態", - "viewDetailedStats": "查看詳細統計", - "downloadLogs": "下載日誌", - "restartService": "重啟服務" - }, - "modals": { - "serviceDetails": { - "title": "服務詳情", - "description": "關於該服務的詳細資訊。" - }, - "confirmRestart": { - "title": "重啟服務", - "description": "您確定要重啟此服務嗎?" - } - }, - "messages": { - "serviceRestarted": "服務已成功重啟。", - "refreshSuccess": "伺服器狀態已成功刷新。" - }, - "statuses": { - "online": "線上", - "offline": "離線", - "warning": "警告", - "critical": "危險" - }, - "empty": { - "storageStatus": { - "title": "未找到儲存空間", - "description": "未找到儲存,請檢查您的API配置或伺服器設置。" - } - } -} diff --git a/server/src/core/locales/zh-TW/common/fetch.json b/server/src/core/locales/zh-TW/fetch.json similarity index 100% rename from server/src/core/locales/zh-TW/common/fetch.json rename to server/src/core/locales/zh-TW/fetch.json diff --git a/server/src/core/locales/zh-TW/common/misc.json b/server/src/core/locales/zh-TW/misc.json similarity index 100% rename from server/src/core/locales/zh-TW/common/misc.json rename to server/src/core/locales/zh-TW/misc.json diff --git a/server/src/core/locales/zh-TW/common/modals.json b/server/src/core/locales/zh-TW/modals.json similarity index 100% rename from server/src/core/locales/zh-TW/common/modals.json rename to server/src/core/locales/zh-TW/modals.json diff --git a/server/src/core/locales/zh-TW/common/sidebar.json b/server/src/core/locales/zh-TW/sidebar.json similarity index 100% rename from server/src/core/locales/zh-TW/common/sidebar.json rename to server/src/core/locales/zh-TW/sidebar.json diff --git a/server/src/core/locales/zh-TW/utils/moduleTools.json b/server/src/core/locales/zh-TW/utils/moduleTools.json deleted file mode 100644 index e60c0bbe5..000000000 --- a/server/src/core/locales/zh-TW/utils/moduleTools.json +++ /dev/null @@ -1,87 +0,0 @@ -{ - "title": "模組工具", - "description": "輕鬆管理所有模組", - "menu": { - "title": "可用指令", - "commandCategories": { - "modulesManagement": "模塊管理", - "misc": "雜項" - }, - "commandDescription": { - "logout": "登出並從此模組工具", - "installModule": "從本機 zip 檔案安裝模組", - "uninstallModule": "從系統中卸載並刪除模組", - "exit": "退出模組工具", - "packageModule": "將模塊打包為zip檔案" - }, - "frontendFolderPath": "前端資料夾路徑" - }, - "prompts": { - "command": "輸入指令", - "logoutConfirmation": "您確定要登出嗎?", - "selectFrontendFolder": "選擇前端程式碼所在的資料夾", - "selectModuleZip": "選擇您要安裝的模組的zip檔案", - "selectCategory": "選擇要將模塊添加到的類別", - "confirmManifest": "這些清單數據看起來正確嗎?", - "selectThisFolder": "選擇此資料夾", - "fileSelectorNavigationZip": "選擇資料夾或壓縮文件", - "fileSelectorNavigationFolder": "選擇資料夾", - "selectModule": "選擇模組", - "selectSavePath": "選擇保存模組的資料夾", - "backToIconSets": "返回圖示集列表", - "selectIcon": "選擇圖示", - "selectIconCollection": "選擇圖示集合", - "selectBackendModulePath": "選擇後端模組路徑", - "confirmModulePaths": "這些路徑資料看起來正確嗎?", - "hasBackend": "這個模塊有後端嗎?" - }, - "messages": { - "exit": "程序已終止", - "invalidCommand": "無效命令", - "notImplemented": "功能尚未實現", - "operationCancelled": "操作已取消", - "currentDirectory": "當前目錄", - "loggingOut": "正在登出...", - "logoutSuccess": "登出成功", - "unzippingFile": "正在解壓檔案...", - "unzipSuccess": "解壓成功", - "invalidOption": "無效的選項", - "validatingZip": "正在驗證模組 ZIP 檔案...", - "zipValidated": "壓縮檔驗證成功", - "key": "鍵", - "value": "值", - "copyingFiles": "正在複製檔案...", - "copyFilesSuccess": "檔案已成功複製到目標資料夾", - "copyFilesFailed": "複製檔案失敗", - "configuringRoutes": "正在配置路由...", - "configRoutesSuccess": "路由配置成功", - "configRoutesFailed": "路由配置失敗", - "frontendInstallationSuccess": "前端安裝成功:", - "zippingFile": "正在壓縮檔案...", - "zipSuccess": "檔案已成功壓縮", - "zipError": "壓縮檔案時出錯", - "failedToUploadBackend": "無法上傳到後端", - "uploadingToBackend": "正在將檔案上傳到後端...", - "uploadToBackendSuccess": "成功將文件上傳到後台", - "backendInstallationSuccess": "後端安裝成功: ", - "pressAnyKeyToContinue": "按任意鍵繼續...", - "assetsFolderFound": "找到模組的資產資料夾", - "fetchingBackendModulePath": "正在從後端伺服器獲取模組路徑...", - "backendModulePathsFetched": "成功從後端伺服器獲取數據", - "fetchingIconSetsFromIconify": "正在從 Iconify 獲取圖示集...", - "fetchingIconsFromIconify": "正在從 Iconify 獲取圖標...", - "failedToFetchIconSets": "無法獲取圖標集", - "failedToFetchIcons": "無法獲取圖示", - "frontendPackagingSuccess": "前端檔案已成功添加至包裡", - "assetsPackagingSuccess": "資產檔案已成功添加至包裡", - "fetchingBackendFiles": "正在從後端伺服器獲取檔案...", - "backendPackagingError": "打包後端檔案時出錯", - "successfullyFetchedBackendFiles": "成功從後端伺服器獲取文件", - "backendPackagingSuccess": "後端文件已成功添加到包中", - "manifestPackagingSuccess": "清單檔案已成功添加至包裡", - "zipSavedTo": "壓縮檔已儲存至", - "checkModulePaths": "請檢查以下資料是否正確:", - "moduleAlreadyExistsInCategory": "類別中已經存在同名模組。", - "frontendFolderStoredAs": "前端資料夾儲存為" - } -} diff --git a/server/src/core/locales/zh-TW/common/vault.json b/server/src/core/locales/zh-TW/vault.json similarity index 100% rename from server/src/core/locales/zh-TW/common/vault.json rename to server/src/core/locales/zh-TW/vault.json