zet-lib 1.0.46 → 1.0.48

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.
package/lib/zCache.js CHANGED
@@ -231,19 +231,19 @@ zCache.MENU = async() => {
231
231
  zCache.MENU_SYSTEMS = () => {
232
232
  let obj = {};
233
233
  obj.users = [{
234
- text: LANGUAGE.users,
234
+ text: 'LANGUAGE.users',
235
235
  href: "zuser",
236
236
  },
237
237
  {
238
- text: LANGUAGE.company,
238
+ text: 'LANGUAGE.company',
239
239
  href: "zcompany",
240
240
  },
241
241
  {
242
- text: LANGUAGE.user_access,
242
+ text: 'LANGUAGE.user_access',
243
243
  href: "zuser_company",
244
244
  },
245
245
  {
246
- text: LANGUAGE.access_role,
246
+ text: 'LANGUAGE.access_role',
247
247
  href: "zrole",
248
248
  }];
249
249
  obj.systems = [
package/lib/zRole.js CHANGED
@@ -178,7 +178,7 @@ a.menuSystems = (req,res) => {
178
178
  delete menus.users;
179
179
  } else {
180
180
  let userManagament = {
181
- text: "Users",
181
+ text: "LANGUAGE.users",
182
182
  icon: "tabler-users-plus",
183
183
  children: children
184
184
  };
@@ -194,7 +194,7 @@ a.menuSystems = (req,res) => {
194
194
  delete menus.systems;
195
195
  } else {
196
196
  let settings = {
197
- text: "Systems",
197
+ text: "LANGUAGE.systems",
198
198
  icon: "tabler-settings-check",
199
199
  children: children
200
200
  };