bajo 1.1.5 → 1.1.6
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/bajo/intl/en-US.json +7 -1
- package/bajo/intl/id.json +7 -1
- package/boot/class/bajo-plugin.js +2 -2
- package/package.json +1 -1
package/bajo/intl/en-US.json
CHANGED
|
@@ -157,5 +157,11 @@
|
|
|
157
157
|
"fileNotModuleHandler%s": "File '%s' is NOT a module handler",
|
|
158
158
|
"error%s%s%s": "%s error (%s): %s",
|
|
159
159
|
"invalid%s%s": "Invalid %s (%s)",
|
|
160
|
-
"demo": "Demo"
|
|
160
|
+
"demo": "Demo",
|
|
161
|
+
"documentation": "Documentation",
|
|
162
|
+
"info": "Info",
|
|
163
|
+
"main": "Main",
|
|
164
|
+
"usage": "Usage",
|
|
165
|
+
"monitoring": "Monitoring",
|
|
166
|
+
"faq": "F.A.Q"
|
|
161
167
|
}
|
package/bajo/intl/id.json
CHANGED
|
@@ -157,5 +157,11 @@
|
|
|
157
157
|
"fileNotModuleHandler%s": "Berkas '%s' BUKAN merupakan module handler",
|
|
158
158
|
"error%s%s%s": "Kesalahan %s (%s): %s",
|
|
159
159
|
"invalid%s%s": "%s tidak valid (%s)",
|
|
160
|
-
"demo": "Demo"
|
|
160
|
+
"demo": "Demo",
|
|
161
|
+
"documentation": "Dokumentasi",
|
|
162
|
+
"info": "Info",
|
|
163
|
+
"main": "Utama",
|
|
164
|
+
"usage": "Pemakaian",
|
|
165
|
+
"monitoring": "Pemantauan",
|
|
166
|
+
"faq": "Tanya Jawab"
|
|
161
167
|
}
|
|
@@ -32,7 +32,7 @@ class BajoPlugin extends Plugin {
|
|
|
32
32
|
['name', 'version', 'description', 'author', 'license', 'homepage'])
|
|
33
33
|
if (this.name === this.app.bajo.mainNs) {
|
|
34
34
|
this.alias = this.app.bajo.mainNs
|
|
35
|
-
this.title =
|
|
35
|
+
this.title = this.alias
|
|
36
36
|
}
|
|
37
37
|
// merge with config from datadir
|
|
38
38
|
try {
|
|
@@ -41,7 +41,7 @@ class BajoPlugin extends Plugin {
|
|
|
41
41
|
} catch (err) {}
|
|
42
42
|
const envArgv = defaultsDeep({}, omit(this.app.env[this.name] ?? {}, omittedPluginKeys) ?? {}, omit(this.app.argv[this.name] ?? {}, omittedPluginKeys) ?? {})
|
|
43
43
|
cfg = defaultsDeep({}, envArgv ?? {}, cfg ?? {}, this.config ?? {})
|
|
44
|
-
this.title = this.title ?? cfg.title ?? this.
|
|
44
|
+
this.title = this.title ?? cfg.title ?? this.alias
|
|
45
45
|
|
|
46
46
|
this.dependencies = this.dependencies ?? []
|
|
47
47
|
const depFile = `${dir}/plugin/.dependencies`
|