ccgf-game-tool 1.0.7 → 1.0.8
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/i18n/en.js +1 -0
- package/i18n/zh.js +1 -0
- package/package.json +1 -1
- package/static/template/workbench/panel.html +2 -0
package/i18n/en.js
CHANGED
|
@@ -19,6 +19,7 @@ module.exports = {
|
|
|
19
19
|
ui_versions_unknown: "Unknown (offline, or version unreadable)",
|
|
20
20
|
ui_versions_not_installed: "Not installed",
|
|
21
21
|
ui_versions_workspace: "Dev workspace (source, not npm)",
|
|
22
|
+
ui_versions_workspace_disabled: "Update is disabled in the dev workspace: it would overwrite the extension source you are editing. Use a project created by create.bat to try updating.",
|
|
22
23
|
ui_update_framework: "Update framework",
|
|
23
24
|
ui_update_extension: "Update extension",
|
|
24
25
|
ui_update_running: "Updating…",
|
package/i18n/zh.js
CHANGED
|
@@ -19,6 +19,7 @@ module.exports = {
|
|
|
19
19
|
ui_versions_unknown: "无法确认(离线,或读不到版本)",
|
|
20
20
|
ui_versions_not_installed: "未安装",
|
|
21
21
|
ui_versions_workspace: "开发工作区(框架是源码,不走 npm)",
|
|
22
|
+
ui_versions_workspace_disabled: "开发工作区里不能更新:那会把 extensions/ 下你正在编辑的源码整个覆盖掉。要试更新,请用 create.bat 建一个工程。",
|
|
22
23
|
ui_update_framework: "更新框架",
|
|
23
24
|
ui_update_extension: "更新扩展",
|
|
24
25
|
ui_update_running: "正在更新…",
|
package/package.json
CHANGED
|
@@ -65,6 +65,8 @@
|
|
|
65
65
|
<span class="base-class">{{ updateOf(versions?.extension) ? t('ui_versions_available', { latest: versions?.extension?.latest }) : t('ui_versions_up_to_date') }}</span>
|
|
66
66
|
</div>
|
|
67
67
|
</div>
|
|
68
|
+
<div class="empty-hint" v-if="versions?.framework?.workspace">{{ t('ui_versions_workspace_disabled') }}</div>
|
|
69
|
+
<div v-if="message" :class="isError ? 'result error' : 'result success'">{{ message }}</div>
|
|
68
70
|
<div class="empty-hint">{{ t('ui_versions_restart_hint') }}</div>
|
|
69
71
|
</div>
|
|
70
72
|
</template>
|