Refactor admin dashboard loader and update translations

The admin-dashboard.loader file was refactored to use a newly created AdminDashboardService. This service encapsulates the logic for fetching dashboard data. Translations related to account settings, privacy policy, terms of service, and cookie policy were updated for better readability. Changes also include minor reorganizing of code files for clearer structure.
This commit is contained in:
giancarlo
2024-04-22 20:30:21 +08:00
parent 8c5b0496da
commit 8e1d7ad1f5
18 changed files with 120 additions and 68 deletions

View File

@@ -1,6 +1,6 @@
{
"generalTab": "My Details",
"generalTabSubheading": "Manage your profile details",
"accountTabLabel": "Account Settings",
"accountTabDescription": "Manage your account settings",
"emailTab": "Email",
"emailTabTabSubheading": "Update your email address",
"passwordTab": "Password",

View File

@@ -5,7 +5,6 @@
"membersTabDescription": "Here you can manage the members of your team.",
"billingTabLabel": "Billing",
"billingTabDescription": "Manage your billing and subscription",
"yourAccountTabLabel": "Account Settings",
"dashboardTabLabel": "Dashboard",
"settingsTabLabel": "Settings",
"profileSettingsTabLabel": "Profile",

View File

@@ -18,6 +18,11 @@
"product": "Product",
"legal": "Legal",
"termsOfService": "Terms of Service",
"termsOfServiceDescription": "Our terms and conditions",
"cookiePolicy": "Cookie Policy",
"privacyPolicy": "Privacy Policy"
"cookiePolicyDescription": "Our cookie policy and how we use them",
"privacyPolicy": "Privacy Policy",
"privacyPolicyDescription": "Our privacy policy and how we use your data"
}