|
4 | 4 | <context>
|
5 | 5 | <name>main</name>
|
6 | 6 | <message>
|
7 |
| - <location filename="../main.cpp" line="358"/> |
| 7 | + <location filename="../main.cpp" line="365"/> |
8 | 8 | <source>A console tool to get and set configuration items for DTK Config.</source>
|
9 | 9 | <translation>用于管理DTK提供的配置策略的CLI工具</translation>
|
10 | 10 | </message>
|
11 | 11 | <message>
|
12 |
| - <location filename="../main.cpp" line="361"/> |
| 12 | + <location filename="../main.cpp" line="368"/> |
13 | 13 | <source>operate configure items of the user uid.</source>
|
14 | 14 | <translation>用户uid, 用户的唯一ID,对指定用户的配置项进行读写等操作</translation>
|
15 | 15 | </message>
|
16 | 16 | <message>
|
17 |
| - <location filename="../main.cpp" line="364"/> |
| 17 | + <location filename="../main.cpp" line="371"/> |
18 | 18 | <source>appid for a specific application,
|
19 | 19 | it is empty string if we need to manage application independent configuration.
|
20 | 20 | second positional argument as appid if not the option</source>
|
21 | 21 | <translation>应用Id,应用程序的唯一ID,当管理应用无关配置时此值为空,如果没有设置这个选项,则使用第二个位置参数当作此选项值</translation>
|
22 | 22 | </message>
|
23 | 23 | <message>
|
24 |
| - <location filename="../main.cpp" line="369"/> |
| 24 | + <location filename="../main.cpp" line="376"/> |
25 | 25 | <source>resource id for configure name,
|
26 | 26 | it's value is same as `a` option if not the option.</source>
|
27 | 27 | <translation>配置Id,配置描述文件的唯一标识,是配置描述文件的文件名,如果没有设置这个选项,则值与应用Id的值相同</translation>
|
28 | 28 | </message>
|
29 | 29 | <message>
|
30 |
| - <location filename="../main.cpp" line="373"/> |
| 30 | + <location filename="../main.cpp" line="380"/> |
31 | 31 | <source>subpath for configure.</source>
|
32 | 32 | <translation>子目录,配置描述文件安装可包含子路径,支持配置描述文件的优先级,通常情况下不设置此值</translation>
|
33 | 33 | </message>
|
34 | 34 | <message>
|
35 |
| - <location filename="../main.cpp" line="376"/> |
| 35 | + <location filename="../main.cpp" line="383"/> |
36 | 36 | <source>configure item's key.
|
37 | 37 | three positional argument as key if not the option</source>
|
38 | 38 | <translation>配置项Key值,如果没有设置这个选项,则使用第三个位置参数当作此选项值</translation>
|
39 | 39 | </message>
|
40 | 40 | <message>
|
41 |
| - <location filename="../main.cpp" line="380"/> |
| 41 | + <location filename="../main.cpp" line="387"/> |
42 | 42 | <source>new value to set configure item.</source>
|
43 | 43 | <translation>需要设置的配置项值,此选项在set模式下工作</translation>
|
44 | 44 | </message>
|
45 | 45 | <message>
|
46 |
| - <location filename="../main.cpp" line="383"/> |
| 46 | + <location filename="../main.cpp" line="390"/> |
47 | 47 | <source>working prefix directory.</source>
|
48 | 48 | <translation>配置策略的工作目录前缀,通常情况下不设置此值</translation>
|
49 | 49 | </message>
|
50 | 50 | <message>
|
51 |
| - <location filename="../main.cpp" line="386"/> |
| 51 | + <location filename="../main.cpp" line="393"/> |
52 | 52 | <source>method for the configure item.</source>
|
53 | 53 | <translation>指定配置项的字段信息,用于获取配置项的详细信息,值为{name | discription | visibility | permissions | version | isDefaultValue}其中一个,此选项在get模式下工作</translation>
|
54 | 54 | </message>
|
55 | 55 | <message>
|
56 |
| - <location filename="../main.cpp" line="389"/> |
| 56 | + <location filename="../main.cpp" line="396"/> |
57 | 57 | <source>language for the configuration item.</source>
|
58 | 58 | <translation>指定语言,此选项在get模式下工作,并且需要指定method选项</translation>
|
59 | 59 | </message>
|
60 | 60 | <message>
|
61 |
| - <location filename="../main.cpp" line="392"/> |
| 61 | + <location filename="../main.cpp" line="399"/> |
62 | 62 | <source>list configure information with appid, resource or subpath.</source>
|
63 | 63 | <translation>list模式,列出可配置的应用Id,配置Id,及子目录</translation>
|
64 | 64 | </message>
|
65 | 65 | <message>
|
66 |
| - <location filename="../main.cpp" line="396"/> |
| 66 | + <location filename="../main.cpp" line="403"/> |
67 | 67 | <source>query content for configure, including the configure item's all keys, value ...</source>
|
68 | 68 | <translation>get模式,用于查询指定配置项的信息</translation>
|
69 | 69 | </message>
|
70 | 70 | <message>
|
71 |
| - <location filename="../main.cpp" line="400"/> |
| 71 | + <location filename="../main.cpp" line="407"/> |
72 | 72 | <source>set configure item 's value.</source>
|
73 | 73 | <translation>set模式,用于设置配置项的值</translation>
|
74 | 74 | </message>
|
75 | 75 | <message>
|
76 |
| - <location filename="../main.cpp" line="404"/> |
77 |
| - <source>reset configure item 's value.</source> |
78 |
| - <translation>reset模式,用于重置配置项的值,此会清除对应的缓存值</translation> |
| 76 | + <location filename="../main.cpp" line="411"/> |
| 77 | + <source>reset configure item's value, reset all configure item's value if not `-k` option.</source> |
| 78 | + <translation>reset模式,用于重置配置项的值,此会清除对应的缓存值,若没有指定`-k`选项,则重置此配置文件的所有缓存值</translation> |
79 | 79 | </message>
|
80 | 80 | <message>
|
81 |
| - <location filename="../main.cpp" line="408"/> |
| 81 | + <location filename="../main.cpp" line="415"/> |
82 | 82 | <source>watch value changed for some configure item.</source>
|
83 | 83 | <translation>watch模式,用于监听配置项的更改</translation>
|
84 | 84 | </message>
|
85 | 85 | <message>
|
86 |
| - <location filename="../main.cpp" line="412"/> |
| 86 | + <location filename="../main.cpp" line="419"/> |
87 | 87 | <source>start dde-dconfig-editor as a gui configure tool.</source>
|
88 | 88 | <translation>gui模式,用于启动GUI工具,需要安装对应的GUI工具dde-dconfig-editor</translation>
|
89 | 89 | </message>
|
|
0 commit comments