Skip to content

Commit

Permalink
chore: restructure directory
Browse files Browse the repository at this point in the history
- Remove redundant ui files
- organise component files
- correct imports
  • Loading branch information
d-rita committed Dec 11, 2024
1 parent c080598 commit 26867e5
Show file tree
Hide file tree
Showing 42 changed files with 150 additions and 1,345 deletions.
88 changes: 29 additions & 59 deletions i18n/en.pot
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,23 @@ msgstr ""
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"POT-Creation-Date: 2024-12-06T20:56:19.444Z\n"
"PO-Revision-Date: 2024-12-06T20:56:19.445Z\n"
"POT-Creation-Date: 2024-12-11T00:48:22.223Z\n"
"PO-Revision-Date: 2024-12-11T00:48:22.223Z\n"

msgid "View keys"
msgstr "View keys"

msgid "Click a namespace to view its keys"
msgstr "Click a namespace to view its keys"

msgid "Select a namespace and key to edit its values"
msgstr "Select a namespace and key to edit its values"

msgid "An error occurred"
msgstr "An error occurred"

msgid "Add New Key"
msgstr "Add New Key"

msgid "Add New Namespace"
msgstr "Add New Namespace"
msgid "Error"
msgstr "Error"

msgid "Namespace"
msgstr "Namespace"
Expand All @@ -32,33 +32,6 @@ msgstr "Key"
msgid "Cancel"
msgstr "Cancel"

msgid "Add Key"
msgstr "Add Key"

msgid "Add Namespace"
msgstr "Add Namespace"

msgid "Key created successfully"
msgstr "Key created successfully"

msgid "There was an error creating the key"
msgstr "There was an error creating the key"

msgid "Add new namespace"
msgstr "Add new namespace"

msgid "New namespace"
msgstr "New namespace"

msgid "Add new key"
msgstr "Add new key"

msgid "New key"
msgstr "New key"

msgid "Delete"
msgstr "Delete"

msgid "Key successfully updated"
msgstr "Key successfully updated"

Expand All @@ -71,38 +44,35 @@ msgstr "Loading"
msgid "Save changes"
msgstr "Save changes"

msgid "Key deleted successfully"
msgstr "Key deleted successfully"

msgid "There was an error deleting the key"
msgstr "There was an error deleting the key"
msgid "create"
msgstr "create"

msgid "There was an error while deleting the key"
msgstr "There was an error while deleting the key"
msgid "DataStore"
msgstr "DataStore"

msgid "Error fetching namespaces"
msgstr "Error fetching namespaces"
msgid "UserDataStore"
msgstr "UserDataStore"

msgid "Namespaces"
msgstr "Namespaces"
msgid "Search"
msgstr "Search"

msgid "This will delete all the keys in this namespace"
msgstr "This will delete all the keys in this namespace"
msgid "Key created successfully"
msgstr "Key created successfully"

msgid "Select a namespace and key to edit its values"
msgstr "Select a namespace and key to edit its values"
msgid "Add New Namespace"
msgstr "Add New Namespace"

msgid "Error"
msgstr "Error"
msgid "Add New Key"
msgstr "Add New Key"

msgid "New"
msgstr "New"
msgid "Add Namespace"
msgstr "Add Namespace"

msgid "DataStore"
msgstr "DataStore"
msgid "Add Key"
msgstr "Add Key"

msgid "User DataStore"
msgstr "User DataStore"
msgid "New namespace"
msgstr "New namespace"

msgid "Search"
msgstr "Search"
msgid "New key"
msgstr "New key"
113 changes: 0 additions & 113 deletions src/App.module.css

This file was deleted.

4 changes: 1 addition & 3 deletions src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
import React, { FC } from 'react'
import { RouterProvider } from 'react-router-dom'
import AppWrapper from './components/AppWrapper'
import { threePanelRouter } from './components/panel/routes/PanelRouter'
// import { router } from './routes/Router'
import { threePanelRouter } from './routes/PanelRouter'

const App: FC = () => {
return (
<AppWrapper>
{/* <RouterProvider router={router} /> */}
<RouterProvider router={threePanelRouter} />
</AppWrapper>
)
Expand Down
20 changes: 0 additions & 20 deletions src/components/EmptyArea.tsx

This file was deleted.

74 changes: 0 additions & 74 deletions src/components/Error.tsx

This file was deleted.

Loading

0 comments on commit 26867e5

Please sign in to comment.