zet-lib 1.0.39 → 1.0.41
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/debug.js +2 -2
- package/lib/languages/lang_en.js +3 -0
- package/lib/languages/lang_fr.js +5 -1
- package/lib/languages/lang_id.js +3 -1
- package/lib/languages/lang_jp.js +5 -1
- package/lib/zRoute.js +0 -1
- package/package.json +1 -1
package/lib/debug.js
CHANGED
|
@@ -7,10 +7,10 @@ const connection = require("./connection");
|
|
|
7
7
|
module.exports = (req, res, err) => {
|
|
8
8
|
let post = {
|
|
9
9
|
table: res.locals.routeName || "",
|
|
10
|
-
company_id: res.locals.companyId,
|
|
10
|
+
company_id: res.locals.companyId || 1,
|
|
11
11
|
route: res.locals.routeName || "",
|
|
12
12
|
description : err.toString(),
|
|
13
|
-
created_by : res.locals.userId
|
|
13
|
+
created_by : res.locals.userId || 1
|
|
14
14
|
};
|
|
15
15
|
connection.insert({
|
|
16
16
|
table : "zerror",
|
package/lib/languages/lang_en.js
CHANGED
|
@@ -84,6 +84,9 @@ langs.change_password_success = 'successfully change your password';
|
|
|
84
84
|
langs.link_expired = 'Your link has expired!!!';
|
|
85
85
|
langs.password_combine = 'password combine char and number, min 6 chars';
|
|
86
86
|
langs.user_access = "User Access";
|
|
87
|
+
langs.help_center = 'Help Center';
|
|
88
|
+
langs.base_currency = 'Base Currency';
|
|
89
|
+
langs.settings_and_privacy = 'Settings and Privacy';
|
|
87
90
|
|
|
88
91
|
langs['required_not_empty'] ='Required & can not empty ';
|
|
89
92
|
langs['delete_confirm'] = 'Do you really want to delete selected ?';
|
package/lib/languages/lang_fr.js
CHANGED
|
@@ -61,7 +61,8 @@ langs['update'] = 'Update';
|
|
|
61
61
|
langs['delete'] = 'Delete';
|
|
62
62
|
langs['view'] = 'View';
|
|
63
63
|
langs['upload'] = 'Upload';
|
|
64
|
-
langs['
|
|
64
|
+
langs['approval'] = 'Approval';
|
|
65
|
+
langs['approve'] = 'Approve';
|
|
65
66
|
langs['logout'] = 'Logout';
|
|
66
67
|
langs.download = 'Download';
|
|
67
68
|
langs.all = 'all';
|
|
@@ -83,6 +84,9 @@ langs.change_password_success = 'successfully change your password';
|
|
|
83
84
|
langs.link_expired = 'Your link has expired!!!';
|
|
84
85
|
langs.password_combine = 'password combine char and number, min 6 chars';
|
|
85
86
|
langs.user_access = "User Access";
|
|
87
|
+
langs.help_center = 'Help Center';
|
|
88
|
+
langs.base_currency = 'Base Currency';
|
|
89
|
+
langs.settings_and_privacy = 'Settings and Privacy';
|
|
86
90
|
|
|
87
91
|
langs['required_not_empty'] ='Required & can not empty ';
|
|
88
92
|
langs['delete_confirm'] = 'Do you really want to delete selected ?';
|
package/lib/languages/lang_id.js
CHANGED
|
@@ -84,7 +84,9 @@ langs.change_password_success = 'Sukses merubah password anda';
|
|
|
84
84
|
langs.link_expired = 'Tautan telah kadaluarsa!!!';
|
|
85
85
|
langs.password_combine = 'Kombinasi pasword huruf dan angka, minimal 6 karakter ';
|
|
86
86
|
langs.user_access = "Akses Pengguna";
|
|
87
|
-
|
|
87
|
+
langs.help_center = 'Pusat Bantuan';
|
|
88
|
+
langs.base_currency = 'Mata uang dasar';
|
|
89
|
+
langs.settings_and_privacy = 'Pengaturan dan Kerahasiaan';
|
|
88
90
|
|
|
89
91
|
langs['required_not_empty'] ='Wajib diisi ';
|
|
90
92
|
langs['delete_confirm'] = 'Hapus data ?';
|
package/lib/languages/lang_jp.js
CHANGED
|
@@ -61,7 +61,8 @@ langs['update'] = 'Update';
|
|
|
61
61
|
langs['delete'] = 'Delete';
|
|
62
62
|
langs['view'] = 'View';
|
|
63
63
|
langs['upload'] = 'Upload';
|
|
64
|
-
langs['
|
|
64
|
+
langs['approval'] = 'Approval';
|
|
65
|
+
langs['approve'] = 'Approve';
|
|
65
66
|
langs['logout'] = 'Logout';
|
|
66
67
|
langs.download = 'Download';
|
|
67
68
|
langs.all = 'all';
|
|
@@ -83,6 +84,9 @@ langs.change_password_success = 'successfully change your password';
|
|
|
83
84
|
langs.link_expired = 'Your link has expired!!!';
|
|
84
85
|
langs.password_combine = 'password combine char and number, min 6 chars';
|
|
85
86
|
langs.user_access = "User Access";
|
|
87
|
+
langs.help_center = 'Help Center';
|
|
88
|
+
langs.base_currency = 'Base Currency';
|
|
89
|
+
langs.settings_and_privacy = 'Settings and Privacy';
|
|
86
90
|
|
|
87
91
|
langs['required_not_empty'] ='Required & can not empty ';
|
|
88
92
|
langs['delete_confirm'] = 'Do you really want to delete selected ?';
|
package/lib/zRoute.js
CHANGED