ccgf-game-tool 1.0.21 → 1.0.23

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 CHANGED
@@ -1,170 +1,215 @@
1
- "use strict";
2
- module.exports = {
3
- open_workbench: "Workbench",
4
- description: "Game framework tooling: module/view code generation, convention doctor, startup order and layer overview",
5
- workbench_title: "Workbench",
6
-
7
- /* ---- toolbar ---- */
8
- ui_module: "Modules",
9
- ui_overview: "Overview",
10
- ui_doctor: "Doctor",
11
- ui_versions: "Versions",
12
- ui_versions_framework: "Framework",
13
- ui_versions_extension: "Extension",
14
- ui_versions_local: "Installed",
15
- ui_versions_latest: "Latest",
16
- ui_versions_state: "Status",
17
- ui_versions_up_to_date: "Up to date",
18
- ui_versions_already_latest: "Already the latest version, nothing to update",
19
- ui_versions_available: "Update available: {latest}",
20
- ui_versions_unknown: "Unknown (offline, or version unreadable)",
21
- ui_versions_not_installed: "Not installed",
22
- ui_versions_workspace: "Dev workspace (source, not npm)",
23
- 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.",
24
- ui_update_framework: "Update framework",
25
- ui_update_extension: "Update extension",
26
- ui_update_running: "Updating…",
27
- ui_versions_restart_hint: "Both updates need a Cocos Creator restart to take effect: the extension is only loaded at editor startup, and the editor does not watch node_modules, so it will not recompile the project scripts by itself.",
28
- ui_msg_framework_updated: "Framework updated: {version}",
29
- ui_msg_extension_updated: "Extension updated: {version} (restart the editor)",
30
- ui_doctor_running: "Checking…",
31
-
32
- /* ---- left column ---- */
33
- ui_new: "New",
34
- ui_module_name: "Module",
35
- ui_module_name_placeholder: "e.g. bag",
36
- ui_create_module: "Create Module",
37
- ui_empty_no_module: "No modules yet",
38
- ui_empty_no_module_hint: "Click \"New\" above to create one",
39
- ui_model_missing: "Model script is missing",
40
- ui_model_missing_short: "no Model",
41
-
42
- /* ---- right column ---- */
43
- ui_delete_module: "Delete Module",
44
- ui_save: "Save",
45
- ui_view_list: "Views",
46
- ui_create_view: "Create View",
47
- ui_prefab_missing: "prefab missing",
48
- ui_prefab_missing_full: "Prefab missing (the prefab that @RegisterView.path points to does not exist)",
49
- ui_delete: "Delete",
50
- ui_empty_no_view: "No views in this module",
51
- ui_empty_no_view_hint: "Click \"Create View\" above to generate a script and a prefab",
52
- ui_empty_no_selection: "No module selected",
53
- ui_empty_no_selection_hint: "Select or create a module on the left",
54
-
55
- /* ---- create view dialog ---- */
56
- ui_view_name: "View",
57
- ui_view_name_placeholder: "e.g. Shop (the \"View\" suffix is added automatically)",
58
- ui_layer: "Layer",
59
- ui_template: "Template",
60
- ui_cancel: "Cancel",
61
- ui_create: "Create",
62
-
63
- /* ---- doctor ---- */
64
- ui_doctor_title: "Project Doctor",
65
- ui_severity_error: "error",
66
- ui_severity_warn: "warning",
67
- ui_severity_info: "note",
68
- ui_doctor_clean: "No problems found",
69
- ui_doctor_clean_title: "All convention checks passed",
70
- ui_doctor_clean_hint: "Layer sync, view uniqueness, prefab mounting, import paths and startup order are all fine",
71
- ui_doctor_rerun: "Re-check",
72
- ui_click_to_open: "Click to open: ",
73
-
74
- /* ---- overview ---- */
75
- ui_overview_title: "Project Overview",
76
- ui_order_caption: "Startup order (ascending by order; ties are listed by directory name — the real order depends on script load order)",
77
- ui_no_module_yet: "No modules yet",
78
- ui_layer_caption: "Layer usage (which views live on each of the framework's 5 ELayers)",
79
- ui_refresh: "Refresh",
80
- ui_close: "Close",
81
-
82
- /* ---- manager tab ---- */
83
- ui_manager: "Managers",
84
- ui_manager_name: "Manager",
85
- ui_manager_name_placeholder: "e.g. config",
86
- ui_manager_extend_hint: "The generated script extends the framework's ASingleton; use XxxManager.getInstance()",
87
- ui_create_manager: "Create Manager",
88
- ui_delete_manager: "Delete Manager",
89
- ui_empty_no_manager: "No managers yet",
90
- ui_empty_no_manager_hint: "Click \"New\" above to create one",
91
- ui_empty_no_manager_selection_hint: "Select or create a manager on the left",
92
- ui_manager_not_singleton: "does not extend ASingleton",
93
- ui_manager_not_singleton_short: "not an ASingleton",
94
- ui_manager_usage: "Get the instance",
95
- ui_file: "File",
96
- ui_base_class: "Base class",
97
- ui_none: "(none)",
98
- ui_need_manager_name: "Please enter a manager name",
99
- ui_msg_manager_created: "Manager created: {name}",
1
+ "use strict";
2
+ module.exports = {
3
+ open_workbench: "Workbench",
4
+ description: "Game framework tooling: module/view code generation, convention doctor, startup order and layer overview",
5
+ workbench_title: "Workbench",
6
+
7
+ /* ---- toolbar ---- */
8
+ ui_module: "Modules",
9
+ ui_overview: "Overview",
10
+ ui_doctor: "Doctor",
11
+ ui_versions: "Versions",
12
+ ui_versions_framework: "Framework",
13
+ ui_versions_extension: "Extension",
14
+ ui_versions_local: "Installed",
15
+ ui_versions_latest: "Latest",
16
+ ui_versions_state: "Status",
17
+ ui_versions_up_to_date: "Up to date",
18
+ ui_versions_already_latest: "Already the latest version, nothing to update",
19
+ ui_versions_available: "Update available: {latest}",
20
+ ui_versions_unknown: "Unknown (offline, or version unreadable)",
21
+ ui_versions_not_installed: "Not installed",
22
+ ui_versions_workspace: "Dev workspace (source, not npm)",
23
+ 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.",
24
+ ui_update_framework: "Update framework",
25
+ ui_update_extension: "Update extension",
26
+ ui_update_running: "Updating…",
27
+ ui_versions_restart_hint: "Both updates need a Cocos Creator restart to take effect: the extension is only loaded at editor startup, and the editor does not watch node_modules, so it will not recompile the project scripts by itself.",
28
+ ui_msg_framework_updated: "Framework updated: {version}",
29
+ ui_msg_extension_updated: "Extension updated: {version} (restart the editor)",
30
+ ui_doctor_running: "Checking…",
31
+
32
+ /* ---- target bundle ---- */
33
+ ui_bundle_target: "Target bundle",
34
+ ui_bundle_main: "Main package",
35
+ ui_bundle_new: "+ New Bundle",
36
+ ui_bundle_name_placeholder: "e.g. candy_crash",
37
+ ui_bundle_create: "Create bundle",
38
+ ui_bundle_delete: "Delete Bundle",
39
+ ui_bundle_delete_main: "The main package cannot be deleted",
40
+ ui_confirm_delete_bundle: "Delete bundle \"{name}\"? Everything under its scripts/ and views/ (module scripts, prefabs) will be removed.",
41
+ ui_bundle_hint: "New modules / Views go into this bundle's folder; lists and Doctor follow the selected bundle",
42
+ ui_need_bundle_name: "Please enter a bundle name",
43
+ ui_msg_bundle_created: "Bundle created: {name} ({dir}), marked as a Bundle",
44
+ ui_msg_bundle_created_unmarked: "Bundle created: {name} ({dir}), but it could not be marked as a Bundle — tick \"Configure as Bundle\" in the Assets panel",
45
+ ui_msg_bundle_repaired: "Repaired bundle {name} ({dir}): folders and the Bundle flag are complete now",
46
+ ui_msg_bundle_exists_switched: "Bundle already exists: {name} ({dir}); target switched to it",
47
+ ui_msg_bundle_switched: "Target bundle switched to: {name}",
48
+ ui_msg_bundle_switched_main: "Target bundle switched back to the main package",
49
+ ui_msg_bundle_deleted: "Bundle deleted: {name} (target switched back to main)",
50
+
51
+ /* ---- left column ---- */
52
+ ui_new: "New",
53
+ ui_module_name: "Module",
54
+ ui_module_name_placeholder: "e.g. bag",
55
+ ui_create_module: "Create Module",
56
+ ui_empty_no_module: "No modules yet",
57
+ ui_empty_no_module_hint: "Click \"New\" above to create one",
58
+ ui_model_missing: "Model script is missing",
59
+ ui_model_missing_short: "no Model",
60
+
61
+ /* ---- right column ---- */
62
+ ui_delete_module: "Delete Module",
63
+ ui_save: "Save",
64
+ ui_view_list: "Views",
65
+ ui_create_view: "Create View",
66
+ ui_prefab_missing: "prefab missing",
67
+ ui_prefab_missing_full: "Prefab missing (the prefab that @RegisterView.path points to does not exist)",
68
+ ui_delete: "Delete",
69
+ ui_empty_no_view: "No views in this module",
70
+ ui_empty_no_view_hint: "Click \"Create View\" above to generate a script and a prefab",
71
+ ui_empty_no_selection: "No module selected",
72
+ ui_empty_no_selection_hint: "Select or create a module on the left",
73
+
74
+ /* ---- create view dialog ---- */
75
+ ui_view_name: "View",
76
+ ui_view_name_placeholder: "e.g. Shop (the \"View\" suffix is added automatically)",
77
+ ui_layer: "Layer",
78
+ ui_template: "Template",
79
+ ui_cancel: "Cancel",
80
+ ui_create: "Create",
81
+
82
+ /* ---- doctor ---- */
83
+ ui_doctor_title: "Project Doctor",
84
+ ui_severity_error: "error",
85
+ ui_severity_warn: "warning",
86
+ ui_severity_info: "note",
87
+ ui_doctor_clean: "No problems found",
88
+ ui_doctor_clean_title: "All convention checks passed",
89
+ ui_doctor_clean_hint: "Layer sync, view uniqueness, prefab mounting, import paths and startup order are all fine",
90
+ ui_doctor_rerun: "Re-check",
91
+ ui_click_to_open: "Click to open: ",
92
+
93
+ /* ---- overview ---- */
94
+ ui_overview_title: "Project Overview",
95
+ ui_order_caption: "Startup order (ascending by order; ties are listed by directory name — the real order depends on script load order)",
96
+ ui_no_module_yet: "No modules yet",
97
+ ui_layer_caption: "Layer usage (which views live on each of the framework's 5 ELayers)",
98
+ ui_refresh: "Refresh",
99
+ ui_close: "Close",
100
+
101
+ /* ---- manager tab ---- */
102
+ ui_manager: "Managers",
103
+ ui_manager_name: "Manager",
104
+ ui_manager_name_placeholder: "e.g. config",
105
+ ui_manager_extend_hint: "The generated script extends the framework's ASingleton; use XxxManager.getInstance()",
106
+ ui_create_manager: "Create Manager",
107
+ ui_delete_manager: "Delete Manager",
108
+ ui_empty_no_manager: "No managers yet",
109
+ ui_empty_no_manager_hint: "Click \"New\" above to create one",
110
+ ui_empty_no_manager_selection_hint: "Select or create a manager on the left",
111
+ ui_manager_not_singleton: "does not extend ASingleton",
112
+ ui_manager_not_singleton_short: "not an ASingleton",
113
+ ui_manager_usage: "Get the instance",
114
+ ui_file: "File",
115
+ ui_base_class: "Base class",
116
+ ui_none: "(none)",
117
+ ui_need_manager_name: "Please enter a manager name",
118
+ ui_msg_manager_created: "Manager created: {name}",
100
119
  ui_msg_manager_order_saved: "Saved: {name} order = {order}",
101
- ui_msg_manager_deleted: "Manager deleted: {name}",
102
- ui_confirm_delete_manager: "Delete manager \"{name}\"? Its script will be removed.",
103
-
104
- /* ---- messages and confirmations ---- */
105
- ui_need_module_name: "Please enter a module name",
106
- ui_need_view_name: "Please enter a view name",
107
- ui_need_select_module: "Please select a module first",
108
- ui_msg_module_created: "Module created: {name}",
109
- ui_msg_order_updated: "order updated: {name} → {order}",
110
- ui_msg_module_deleted: "Module deleted: {name}",
111
- ui_msg_view_deleted: "View deleted: {name}",
112
- ui_msg_view_created: "View created: {name} (template {template})",
113
- ui_confirm_delete_module: "Delete module \"{name}\"? Its {count} view(s) (script + prefab) will be removed too!",
114
- ui_confirm_delete_view: "Delete view \"{name}\"? Its script and prefab will be removed.",
115
- ui_confirm_refs: "{count} asset(s) reference this module's scripts and will be left dangling:",
116
-
117
- /* ---- Shared modules tab ---- */
118
- ui_shared: "Shared Modules",
119
- ui_shared_installed: "Installed",
120
- ui_shared_available: "Available",
121
- ui_shared_empty_catalog: "No shared modules available",
122
- ui_shared_empty_catalog_hint: "There are no shared modules in the remote registry yet.",
123
- ui_shared_registry_loading: "Fetching the list from the remote registry…",
124
- ui_shared_registry_error: "Could not fetch the remote list: {reason} (the rest of the panel still works)",
125
- ui_shared_registry_pending: "Fetching remote info… (updates by itself in a few seconds; or press Refresh)",
126
- ui_shared_deps_after_install: "Not installed yet, so its dependencies cannot be read — install it to see them.",
127
- ui_shared_update_available: "New version available: {latest} (currently {current})",
128
- ui_shared_up_to_date: "Up to date",
129
- ui_shared_update_unknown: "Cannot tell whether an update exists (offline, or a version cannot be read)",
130
- ui_shared_update_to: "Update to {version}",
131
- ui_shared_reinstall: "Reinstall",
132
- ui_shared_latest: "Latest",
133
- ui_shared_update_hint: "New version {version}",
134
- ui_shared_empty_selection_hint: "Select a shared module on the left",
135
- ui_shared_install: "Install",
136
- ui_shared_uninstall: "Uninstall",
137
- ui_shared_install_running: "Installing…",
138
- ui_shared_uninstall_running: "Uninstalling…",
139
- ui_shared_version: "Package version",
140
- ui_shared_installed_version: "Installed version",
141
- ui_shared_declared: "Declared range",
142
- ui_shared_source: "Source",
143
- /* Only ever rendered inside the framework's own dev repo (in a user project, source is always 'registry') */
144
- ui_shared_source_local: "Local workspace",
145
- ui_shared_source_registry: "Remote registry",
146
- ui_shared_spec: "Install specifier",
147
- ui_shared_command: "npm command",
148
- ui_shared_manual_hint: "If automatic install/uninstall fails, copy the command above and run it in the project root.",
149
- ui_shared_refs: "Scripts referencing it",
150
- ui_shared_refs_none: "No script references it",
151
- ui_shared_refs_warn: "These scripts still use it — their imports break after uninstalling:",
152
- ui_shared_state_declared: "Declared as a dependency but missing from node_modules (the last npm install probably failed)",
153
- ui_shared_state_missing: "Not installed",
154
- ui_shared_reload_hint: "If scripts still report a missing module after installing/uninstalling, let the editor recompile (or restart it).",
155
- ui_shared_deps: "Dependencies",
156
- ui_shared_deps_none: "No declared dependencies",
157
- ui_shared_dependents: "Required by",
158
- ui_shared_dep_missing: "not installed",
159
- ui_shared_dep_unknown: "version unknown",
160
- ui_shared_dep_is_shared: "This is also a shared module — click to view it",
161
- ui_shared_dep_required_by: "requires it",
162
- ui_shared_deps_warn: "These shared modules depend on it — their imports break after uninstalling:",
163
- ui_msg_shared_installed: "Installed: {name}",
164
- ui_msg_shared_uninstalled: "Uninstalled: {name}",
165
- ui_confirm_uninstall_shared: "Uninstall \"{name}\"?",
166
- ui_npm_failed_title: "npm failed",
167
- ui_npm_output: "npm output",
168
- ui_npm_exit_code: "Exit code",
169
- ui_shared_view_output: "View npm output",
170
- };
120
+ ui_msg_manager_deleted: "Manager deleted: {name}",
121
+ ui_confirm_delete_manager: "Delete manager \"{name}\"? Its script will be removed.",
122
+
123
+ /* ---- messages and confirmations ---- */
124
+ ui_need_module_name: "Please enter a module name",
125
+ ui_need_view_name: "Please enter a view name",
126
+ ui_need_select_module: "Please select a module first",
127
+ ui_msg_module_created: "Module created: {name}",
128
+ ui_msg_order_updated: "order updated: {name} → {order}",
129
+ ui_msg_module_deleted: "Module deleted: {name}",
130
+ ui_msg_view_deleted: "View deleted: {name}",
131
+ ui_msg_view_created: "View created: {name} (template {template})",
132
+ ui_confirm_delete_module: "Delete module \"{name}\"? Its {count} view(s) (script + prefab) will be removed too!",
133
+ ui_confirm_delete_view: "Delete view \"{name}\"? Its script and prefab will be removed.",
134
+ ui_confirm_refs: "{count} asset(s) reference this module's scripts and will be left dangling:",
135
+
136
+ /* ---- Shared modules tab ---- */
137
+ ui_shared: "Shared Modules",
138
+ ui_shared_installed: "Installed",
139
+ ui_shared_available: "Available",
140
+ ui_shared_empty_catalog: "No shared modules available",
141
+ ui_shared_empty_catalog_hint: "There are no shared modules in the remote registry yet.",
142
+ ui_shared_registry_loading: "Fetching the list from the remote registry…",
143
+ ui_shared_registry_error: "Could not fetch the remote list: {reason} (the rest of the panel still works)",
144
+ ui_shared_registry_pending: "Fetching remote info… (updates by itself in a few seconds; or press Refresh)",
145
+ ui_shared_deps_after_install: "Not installed yet, so its dependencies cannot be read — install it to see them.",
146
+ ui_shared_update_available: "New version available: {latest} (currently {current})",
147
+ ui_shared_up_to_date: "Up to date",
148
+ ui_shared_update_unknown: "Cannot tell whether an update exists (offline, or a version cannot be read)",
149
+ ui_shared_update_to: "Update to {version}",
150
+ ui_shared_reinstall: "Reinstall",
151
+ ui_shared_latest: "Latest",
152
+ ui_shared_update_hint: "New version {version}",
153
+ ui_shared_empty_selection_hint: "Select a shared module on the left",
154
+ ui_shared_install: "Install",
155
+ ui_shared_uninstall: "Uninstall",
156
+ ui_shared_install_running: "Installing…",
157
+ ui_shared_uninstall_running: "Uninstalling…",
158
+ ui_shared_version: "Package version",
159
+ ui_shared_installed_version: "Installed version",
160
+ ui_shared_declared: "Declared range",
161
+ ui_shared_source: "Source",
162
+ /* Only ever rendered inside the framework's own dev repo (in a user project, source is always 'registry') */
163
+ ui_shared_source_local: "Local workspace",
164
+ ui_shared_source_registry: "Remote registry",
165
+ ui_shared_spec: "Install specifier",
166
+ ui_shared_command: "npm command",
167
+ ui_shared_manual_hint: "If automatic install/uninstall fails, copy the command above and run it in the project root.",
168
+ ui_shared_refs: "Scripts referencing it",
169
+ ui_shared_refs_none: "No script references it",
170
+ ui_shared_refs_warn: "These scripts still use it — their imports break after uninstalling:",
171
+ ui_shared_state_declared: "Declared as a dependency but missing from node_modules (the last npm install probably failed)",
172
+ ui_shared_state_missing: "Not installed",
173
+ ui_shared_reload_hint: "If scripts still report a missing module after installing/uninstalling, let the editor recompile (or restart it).",
174
+ ui_shared_deps: "Dependencies",
175
+ ui_shared_deps_none: "No declared dependencies",
176
+ ui_shared_dependents: "Required by",
177
+ ui_shared_dep_missing: "not installed",
178
+ ui_shared_dep_unknown: "version unknown",
179
+ ui_shared_dep_is_shared: "This is also a shared module — click to view it",
180
+ ui_shared_dep_required_by: "requires it",
181
+ ui_shared_deps_warn: "These shared modules depend on it — their imports break after uninstalling:",
182
+ ui_msg_shared_installed: "Installed: {name}",
183
+ ui_msg_shared_uninstalled: "Uninstalled: {name}",
184
+ ui_confirm_uninstall_shared: "Uninstall \"{name}\"?",
185
+ ui_npm_failed_title: "npm failed",
186
+ ui_npm_output: "npm output",
187
+ ui_npm_exit_code: "Exit code",
188
+ ui_shared_view_output: "View npm output",
189
+
190
+ /* ---- data tables ---- */
191
+ open_table_tool: "Data Tables",
192
+ table_tool_title: "Data Tables",
193
+ ui_table_refresh: "Refresh",
194
+ ui_table_new: "+ New table",
195
+ ui_table_dir: "Directory (relative to tables/)",
196
+ ui_table_subdir: "Subdirectory (optional)",
197
+ ui_table_name: "File name (Table_Note)",
198
+ ui_table_filter: "Filter",
199
+ ui_table_filter_all: "All tables",
200
+ ui_table_filter_main: "Main bundle",
201
+ ui_table_create: "Create",
202
+ ui_table_export_all: "Export all",
203
+ ui_table_export_filtered: "Export filtered",
204
+ ui_table_export_selected: "Export selected",
205
+ ui_table_select_all: "Select all",
206
+ ui_table_empty: "No CSV under tables/; create one first",
207
+ ui_table_selected: "Selected {selected} / {total}",
208
+ ui_table_busy: "Working…",
209
+ ui_table_ok: "Done: {ok} exported, {fail} failed",
210
+ ui_table_created: "Created: {path}",
211
+ ui_table_need_dir: "Directory is required",
212
+ ui_table_need_name: "File name is required",
213
+ ui_table_none_selected: "No table selected",
214
+ ui_table_failed: "Operation failed",
215
+ };