Compare commits

...

2 Commits

Author SHA1 Message Date
semantic-release-bot c0fb34fa50 🔖 chore(release): v1.0.0-beta.22 [skip ci]
# [1.0.0-beta.22](https://github.com/perfect-panel/ppanel-web/compare/v1.0.0-beta.21...v1.0.0-beta.22) (2025-02-23)

### 🐛 Bug Fixes

* **locales**: Removed language file import to clean up unnecessary language support ([68f6ab2](https://github.com/perfect-panel/ppanel-web/commit/68f6ab2))
2025-02-23 15:06:05 +00:00
web@ppanel 68f6ab2e6c 🐛 fix(locales): Removed language file import to clean up unnecessary language support 2025-02-23 22:03:15 +07:00
4 changed files with 8 additions and 3 deletions
+7
View File
@@ -1,6 +1,13 @@
<a name="readme-top"></a> <a name="readme-top"></a>
# Changelog # Changelog
# [1.0.0-beta.22](https://github.com/perfect-panel/ppanel-web/compare/v1.0.0-beta.21...v1.0.0-beta.22) (2025-02-23)
### 🐛 Bug Fixes
* **locales**: Removed language file import to clean up unnecessary language support ([68f6ab2](https://github.com/perfect-panel/ppanel-web/commit/68f6ab2))
# [1.0.0-beta.21](https://github.com/perfect-panel/ppanel-web/compare/v1.0.0-beta.20...v1.0.0-beta.21) (2025-02-23) # [1.0.0-beta.21](https://github.com/perfect-panel/ppanel-web/compare/v1.0.0-beta.20...v1.0.0-beta.21) (2025-02-23)
-1
View File
@@ -10,7 +10,6 @@ export default getRequestConfig(async () => {
const locale = cookieLocale || defaultLocale || NEXT_PUBLIC_DEFAULT_LANGUAGE; const locale = cookieLocale || defaultLocale || NEXT_PUBLIC_DEFAULT_LANGUAGE;
const messages = { const messages = {
'language': (await import(`./${locale}/language.json`)).default,
'menu': (await import(`./${locale}/menu.json`)).default, 'menu': (await import(`./${locale}/menu.json`)).default,
'auth': (await import(`./${locale}/auth.json`)).default, 'auth': (await import(`./${locale}/auth.json`)).default,
'common': (await import(`./${locale}/common.json`)).default, 'common': (await import(`./${locale}/common.json`)).default,
-1
View File
@@ -10,7 +10,6 @@ export default getRequestConfig(async () => {
const locale = cookieLocale || defaultLocale || NEXT_PUBLIC_DEFAULT_LANGUAGE; const locale = cookieLocale || defaultLocale || NEXT_PUBLIC_DEFAULT_LANGUAGE;
const messages = { const messages = {
language: (await import(`./${locale}/language.json`)).default,
menu: (await import(`./${locale}/menu.json`)).default, menu: (await import(`./${locale}/menu.json`)).default,
auth: (await import(`./${locale}/auth.json`)).default, auth: (await import(`./${locale}/auth.json`)).default,
common: (await import(`./${locale}/common.json`)).default, common: (await import(`./${locale}/common.json`)).default,
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "ppanel-web", "name": "ppanel-web",
"version": "1.0.0-beta.21", "version": "1.0.0-beta.22",
"private": true, "private": true,
"homepage": "https://github.com/perfect-panel/ppanel-web", "homepage": "https://github.com/perfect-panel/ppanel-web",
"bugs": { "bugs": {