Skip to content

Commit 5d71ee4

Browse files
author
Ernest Chen
committed
【添加】中文软件包描述说明
1 parent b166a36 commit 5d71ee4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

cmds/cmd_package.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -886,7 +886,7 @@ def package_wizard():
886886
print ('\033[1;31;40mError: you must input a package name. Try again.\033[0m')
887887
name = raw_input()
888888

889-
default_description = 'a ' + name + ' package for rt-thread'
889+
default_description = 'Please add description of ' + name + ' in English.'
890890
#description = user_input('menuconfig option name,default:\n',default_description)
891891
description = default_description
892892

package.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@
8383
Package_json_file = '''{
8484
"name": "${name}",
8585
"description": "${description}",
86+
"description_zh": "请添加软件包 ${name} 的中文描述",
8687
"keywords": [
8788
"${keyword}"
8889
],

0 commit comments

Comments
 (0)