waibu 2.19.1 → 2.20.0
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.
|
@@ -17,5 +17,9 @@
|
|
|
17
17
|
"httpReq%s%s%s%s": "%s %s%s from IP %s",
|
|
18
18
|
"httpReqExt%s": ", content length: %s",
|
|
19
19
|
"internalServerError": "Internal Server Error",
|
|
20
|
-
"pageNotFound": "Page Not Found"
|
|
20
|
+
"pageNotFound": "Page Not Found",
|
|
21
|
+
"pageNotFoundDesc": "Sorry, the page you're looking for is nowhere to be found!",
|
|
22
|
+
"accessDenied": "Access Denied",
|
|
23
|
+
"accessDeniedDesc": "Sorry, you don't have permission to access this page!",
|
|
24
|
+
"internalServerErrorDesc": "Sorry, something went wrong on our end. Please try again later or contact support if the problem persists."
|
|
21
25
|
}
|
package/extend/bajo/intl/id.json
CHANGED
|
@@ -17,5 +17,9 @@
|
|
|
17
17
|
"httpReq%s%s%s%s": "%s %s:%s dari IP %s",
|
|
18
18
|
"httpReqExt%s": ", panjang konten: %s",
|
|
19
19
|
"internalServerError": "Kesalahan Internal Server",
|
|
20
|
-
"pageNotFound": "Halaman Tidak Ditemukan"
|
|
20
|
+
"pageNotFound": "Halaman Tidak Ditemukan",
|
|
21
|
+
"pageNotFoundDesc": "Maaf, halaman yang akan Anda tuju tidak bisa ditemukan dimanapun!",
|
|
22
|
+
"accessDenied": "Akses Ditolak",
|
|
23
|
+
"accessDeniedDesc": "Maaf, Anda tidak memiliki izin untuk mengakses halaman ini!",
|
|
24
|
+
"internalServerErrorDesc": "Maaf, terjadi kesalahan di pihak kami. Silakan coba lagi nanti atau hubungi dukungan jika masalah ini terus berlanjut."
|
|
21
25
|
}
|
package/lib/decorate.js
CHANGED
|
@@ -7,6 +7,7 @@ async function decorate () {
|
|
|
7
7
|
this.instance.decorateRequest('langDetector', null)
|
|
8
8
|
this.instance.decorateRequest('site', null)
|
|
9
9
|
this.instance.decorateRequest('ns', null)
|
|
10
|
+
this.instance.decorateRequest('webApp', null)
|
|
10
11
|
this.instance.decorateRequest('getSetting', function (key, defValue) {
|
|
11
12
|
return me.app.waibu.getSetting(key, { req: this, defValue })
|
|
12
13
|
})
|
package/package.json
CHANGED
package/wiki/CHANGES.md
CHANGED
|
File without changes
|