We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 166dae5 commit 5b43ef4Copy full SHA for 5b43ef4
plugins/project_new/project_new.py
@@ -238,7 +238,7 @@ def _scan(self):
238
if len(folders) == 0:
239
cur_engine = "cocos2d-x" if self._lang == "js" else "cocos2d-js"
240
need_engine = "cocos2d-js" if self._lang == "js" else "cocos2d-x"
241
- engine_tip = "You can't create a %s game in %s. Please use %s instead." % (self._lang, cur_engine, need_engine)
+ engine_tip = "You can specify the path of %s by argument '-e'." % need_engine
242
message = "Fatal: can't find any template for <%s> language in %s\n%s" % (self._lang, templates_dir, engine_tip)
243
raise cocos.CCPluginError(message)
244
0 commit comments