From 85172b356fb7cab87dd9f30cff5008b039e46205 Mon Sep 17 00:00:00 2001 From: dgaponov Date: Thu, 8 Aug 2024 14:46:16 +0300 Subject: [PATCH] fix: rename themes to themer (#250) --- public/locales/en/common.json | 2 +- public/locales/en/themes.json | 2 +- public/locales/ru/common.json | 2 +- public/locales/ru/themes.json | 2 +- src/[locale]/{themes => themer}/index.tsx | 0 src/content/menu.ts | 4 ++-- src/pages/themer.tsx | 2 ++ src/pages/themes.tsx | 2 -- 8 files changed, 8 insertions(+), 8 deletions(-) rename src/[locale]/{themes => themer}/index.tsx (100%) create mode 100644 src/pages/themer.tsx delete mode 100644 src/pages/themes.tsx diff --git a/public/locales/en/common.json b/public/locales/en/common.json index af08e007f8e3..6ac5a5515d25 100644 --- a/public/locales/en/common.json +++ b/public/locales/en/common.json @@ -8,7 +8,7 @@ "menu_components": "Components", "menu_design": "Design", "menu_icons": "Icons", - "menu_themes": "Themes", + "menu_themer": "Themer", "roadmap_inProgress": "In progress", "navigation_previous": "Previous", "navigation_next": "Next", diff --git a/public/locales/en/themes.json b/public/locales/en/themes.json index 6d4b05d103ad..8a9ba664f597 100644 --- a/public/locales/en/themes.json +++ b/public/locales/en/themes.json @@ -1,5 +1,5 @@ { - "title": "Themes", + "title": "Themer", "tags_colors": "Colors", "tags_typography": "Typography", "tags_borderRadius": "Border Radius", diff --git a/public/locales/ru/common.json b/public/locales/ru/common.json index 03868dceecc1..2bcff4b68778 100644 --- a/public/locales/ru/common.json +++ b/public/locales/ru/common.json @@ -8,7 +8,7 @@ "menu_components": "Компоненты", "menu_design": "Дизайн", "menu_icons": "Иконки", - "menu_themes": "Темы", + "menu_themer": "Темизатор", "roadmap_inProgress": "В работе", "navigation_previous": "Назад", "navigation_next": "Далее", diff --git a/public/locales/ru/themes.json b/public/locales/ru/themes.json index 09a7c078c348..6c017a5d3c5d 100644 --- a/public/locales/ru/themes.json +++ b/public/locales/ru/themes.json @@ -1,5 +1,5 @@ { - "title": "Темы", + "title": "Темизатор", "tags_colors": "Цвета", "tags_typography": "Шрифты", "tags_borderRadius": "Радиусы границ", diff --git a/src/[locale]/themes/index.tsx b/src/[locale]/themer/index.tsx similarity index 100% rename from src/[locale]/themes/index.tsx rename to src/[locale]/themer/index.tsx diff --git a/src/content/menu.ts b/src/content/menu.ts index 27ee9c12c70a..cf40a34008ec 100644 --- a/src/content/menu.ts +++ b/src/content/menu.ts @@ -23,7 +23,7 @@ export const menu: MenuItem[] = [ url: '/icons', }, { - titleKey: 'menu_themes', - url: '/themes', + titleKey: 'menu_themer', + url: '/themer', }, ]; diff --git a/src/pages/themer.tsx b/src/pages/themer.tsx new file mode 100644 index 000000000000..a7eaa92965aa --- /dev/null +++ b/src/pages/themer.tsx @@ -0,0 +1,2 @@ +// Support for default locale without path prefix +export {default, getStaticProps} from '../[locale]/themer'; diff --git a/src/pages/themes.tsx b/src/pages/themes.tsx deleted file mode 100644 index 9550d64b404c..000000000000 --- a/src/pages/themes.tsx +++ /dev/null @@ -1,2 +0,0 @@ -// Support for default locale without path prefix -export {default, getStaticProps} from '../[locale]/themes';