Refactor i18n structure and update language files

- Removed old validation and common language files for English and Indonesian.
- Created new language files for English and Indonesian under the updated directory structure.
- Updated setup to reflect new language file paths and changed default language to English.
- Modified storage keys from 'locale' to 'language' for consistency.
- Added new language files for various modules including bookmarks, history, navigation, and system settings.
- Introduced new booking module language files for both English and Indonesian.
- Implemented a login page component with basic structure.
This commit is contained in:
Firman Ramdhani
2026-07-16 10:35:08 +07:00
parent 03eb4a803b
commit 9b09938a50
44 changed files with 147 additions and 99 deletions
@@ -0,0 +1,115 @@
{
"common": {
"save": "Save",
"cancel": "Cancel",
"success": "Success",
"error": "Error",
"settings": "Settings",
"loading": "Loading",
"delete": "Delete",
"edit": "Edit",
"duplicate": "Duplicate",
"view": "View",
"preferences": "Preferences",
"language": "Language",
"theme": "Theme",
"lightMode": "Light",
"darkMode": "Dark",
"application": "Application",
"myProfile": "My Profile",
"workspace": "Workspace",
"switchWorkspace": "Switch Workspace",
"signOut": "Sign Out",
"english": "English",
"indonesian": "Indonesia",
"notificationsTitle": "Notifications",
"unread": "Unread",
"all": "All",
"markAllAsRead": "Mark all as read",
"viewAll": "View all notifications",
"emptyState": "No new notifications",
"justNow": "Just now",
"hoursAgo": "hours ago",
"configuration": "System Configuration",
"configurationDesc": "Manage your system settings and preferences here.",
"systemInformation": "System Information",
"systemInformationDesc": "View details about the system version and status.",
"systemNotifications": "All Notifications",
"systemNotificationsDesc": "View and manage all system notifications.",
"expandAll": "Expand all menu",
"collapseAll": "Collapse all menu",
"searchMenu": "Search menu",
"collapse": "Collapse",
"expandSidebar": "Expand Sidebar",
"actions": {
"create": "Create New",
"edit": "Edit",
"delete": "Delete",
"save": "Save",
"print": "Print",
"confirm": "Confirm",
"cancel": "Cancel",
"activate": "Activate",
"deactivate": "Deactivate",
"duplicate": "Duplicate",
"rollback": "Rollback",
"hold": "Hold",
"back": "Back",
"reload": "Reload"
},
"confirmDialog": {
"delete": {
"title": "Delete Item",
"description": "Are you sure you want to delete this item? This action cannot be undone."
},
"activate": {
"title": "Activate Item",
"description": "Are you sure you want to activate this item?"
},
"deactivate": {
"title": "Deactivate Item",
"description": "Are you sure you want to deactivate this item?"
},
"confirm": {
"title": "Confirm Data",
"description": "Are you sure you want to confirm this data?"
},
"cancel": {
"title": "Cancel Data",
"description": "Are you sure you want to cancel this data?"
},
"rollback": {
"title": "Rollback Data",
"description": "Are you sure you want to rollback this data?"
},
"hold": {
"title": "Hold Data",
"description": "Are you sure you want to hold this data?"
}
},
"draft": {
"recoveryTitle": "Draft Found",
"recoveryMessage": "You have an unsaved draft from {{date}}. Would you like to continue editing?",
"continueEditing": "Continue Editing",
"discardDraft": "Start Fresh"
},
"notifications": {
"successTitle": "Success",
"errorTitle": "Error",
"saveSuccess": "Data saved successfully",
"deleteSuccess": "Data deleted successfully",
"actionSuccess": "{{action}} completed successfully",
"actionFailed": "Failed to {{action}}: {{message}}"
},
"privilege": {
"error": {
"accessDeniedTitle": "Access Denied",
"noCreateAccess": "You do not have the required permission to create data in this module."
}
},
"system_menu": {
"history": "History",
"bookmark": "Bookmark"
}
}
}