nextjs-cms 0.5.101 → 0.5.102

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -990,7 +990,7 @@ export const getSidebar = async (session) => {
990
990
  * Add the default dashboard section
991
991
  */
992
992
  {
993
- title: 'Dashboard',
993
+ title: getString('dashboard', session.user.locale),
994
994
  path: '/dashboard',
995
995
  icon: 'home',
996
996
  },
@@ -998,7 +998,7 @@ export const getSidebar = async (session) => {
998
998
  * Add the plugin sections
999
999
  */
1000
1000
  ...pluginSections,
1001
- ...fixed.map((section) => ({ title: section, path: `/${section}`, icon: '' })),
1001
+ ...fixed.map((section) => ({ title: getString(section, session.user.locale), path: `/${section}`, icon: '' })),
1002
1002
  ];
1003
1003
  return {
1004
1004
  fixed_sections: fixedSections,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nextjs-cms",
3
- "version": "0.5.101",
3
+ "version": "0.5.102",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "type": "module",