Skip to content

Commit

Permalink
chore: Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
aXenDeveloper committed Sep 9, 2024
1 parent 95bdb9d commit aa1d084
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export async function generateMetadataDevPluginAdminLayout({
}: DevPluginAdminLayoutProps): Promise<Metadata> {
const [t, tCore, config] = await Promise.all([
getTranslations('admin'),
getTranslations('core.admin'),
getTranslations('admin_core'),
getGlobalData(),
]);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const getData = async () => {

export const generateMetadataAuthorizationSettingsAdmin =
async (): Promise<Metadata> => {
const t = await getTranslations('core.admin.nav');
const t = await getTranslations('admin_core.nav');

return {
title: t('settings_authorization'),
Expand All @@ -30,7 +30,7 @@ export const generateMetadataAuthorizationSettingsAdmin =

export const AuthorizationSettingsCoreAdminView = async () => {
const [t, data] = await Promise.all([
getTranslations('core.admin.nav'),
getTranslations('admin_core.nav'),
getData(),
]);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const getData = async () => {

export const generateMetadataEmailSettingsAdmin =
async (): Promise<Metadata> => {
const t = await getTranslations('core.admin.nav');
const t = await getTranslations('admin_core.nav');

return {
title: t('settings_email'),
Expand All @@ -35,7 +35,7 @@ export const generateMetadataEmailSettingsAdmin =

export const EmailSettingsAdminView = async () => {
const [t, data] = await Promise.all([
getTranslations('core.admin.nav'),
getTranslations('admin_core.nav'),
getData(),
]);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const getData = async () => {

export const generateMetadataMainSettingsCoreAdmin =
async (): Promise<Metadata> => {
const t = await getTranslations('core.admin.nav');
const t = await getTranslations('admin_core.nav');

return {
title: t('settings_general'),
Expand All @@ -33,7 +33,7 @@ export const generateMetadataMainSettingsCoreAdmin =

export const MainSettingsCoreAdminView = async () => {
const [t, data] = await Promise.all([
getTranslations('core.admin.nav'),
getTranslations('admin_core.nav'),
getData(),
]);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const getData = async () => {
};

export const generateMetadataThemeEditor = async (): Promise<Metadata> => {
const t = await getTranslations('core.admin.nav');
const t = await getTranslations('admin_core.nav');

return {
title: t('styles_theme-editor'),
Expand Down

0 comments on commit aa1d084

Please sign in to comment.