|
@@ -945,27 +945,13 @@ void disp_language_init() {
|
945
|
945
|
filesys_menu.usb_sys = U_DISK_TEXT_CN;
|
946
|
946
|
//
|
947
|
947
|
more_menu.title = TITLE_MORE_CN;
|
948
|
|
- #if ENABLED(USER_CMD_1_ENABLE)
|
949
|
|
- more_menu.custom1 = MORE_CUSTOM1_TEXT_CN;
|
950
|
|
- #endif
|
951
|
|
- #if ENABLED(USER_CMD_2_ENABLE)
|
952
|
|
- more_menu.custom2 = MORE_CUSTOM2_TEXT_CN;
|
953
|
|
- #endif
|
954
|
|
- #if ENABLED(USER_CMD_3_ENABLE)
|
955
|
|
- more_menu.custom3 = MORE_CUSTOM3_TEXT_CN;
|
956
|
|
- #endif
|
957
|
|
- #if ENABLED(USER_CMD_4_ENABLE)
|
958
|
|
- more_menu.custom4 = MORE_CUSTOM4_TEXT_CN;
|
959
|
|
- #endif
|
960
|
|
- #if ENABLED(USER_CMD_5_ENABLE)
|
961
|
|
- more_menu.custom5 = MORE_CUSTOM5_TEXT_CN;
|
962
|
|
- #endif
|
963
|
|
- #if ENABLED(USER_CMD_6_ENABLE)
|
964
|
|
- more_menu.custom6 = MORE_CUSTOM6_TEXT_CN;
|
965
|
|
- #endif
|
966
|
|
- #if ENABLED(USER_CMD_7_ENABLE)
|
967
|
|
- more_menu.custom7 = MORE_CUSTOM7_TEXT_CN;
|
968
|
|
- #endif
|
|
948
|
+ TERN_(USER_CMD_1_ENABLE, more_menu.custom1 = MORE_CUSTOM1_TEXT_CN);
|
|
949
|
+ TERN_(USER_CMD_2_ENABLE, more_menu.custom2 = MORE_CUSTOM2_TEXT_CN);
|
|
950
|
+ TERN_(USER_CMD_3_ENABLE, more_menu.custom3 = MORE_CUSTOM3_TEXT_CN);
|
|
951
|
+ TERN_(USER_CMD_4_ENABLE, more_menu.custom4 = MORE_CUSTOM4_TEXT_CN);
|
|
952
|
+ TERN_(USER_CMD_5_ENABLE, more_menu.custom5 = MORE_CUSTOM5_TEXT_CN);
|
|
953
|
+ TERN_(USER_CMD_6_ENABLE, more_menu.custom6 = MORE_CUSTOM6_TEXT_CN);
|
|
954
|
+ TERN_(USER_CMD_7_ENABLE, more_menu.custom7 = MORE_CUSTOM7_TEXT_CN);
|
969
|
955
|
// WIFI
|
970
|
956
|
wifi_menu.title = WIFI_TEXT;
|
971
|
957
|
wifi_menu.cloud = CLOUD_TEXT_CN;
|
|
@@ -1191,27 +1177,13 @@ void disp_language_init() {
|
1191
|
1177
|
filesys_menu.usb_sys = U_DISK_TEXT_T_CN;
|
1192
|
1178
|
//
|
1193
|
1179
|
more_menu.title = TITLE_MORE_T_CN;
|
1194
|
|
- #if ENABLED(USER_CMD_1_ENABLE)
|
1195
|
|
- more_menu.custom1 = MORE_CUSTOM1_TEXT_T_CN;
|
1196
|
|
- #endif
|
1197
|
|
- #if ENABLED(USER_CMD_2_ENABLE)
|
1198
|
|
- more_menu.custom2 = MORE_CUSTOM2_TEXT_T_CN;
|
1199
|
|
- #endif
|
1200
|
|
- #if ENABLED(USER_CMD_3_ENABLE)
|
1201
|
|
- more_menu.custom3 = MORE_CUSTOM3_TEXT_T_CN;
|
1202
|
|
- #endif
|
1203
|
|
- #if ENABLED(USER_CMD_4_ENABLE)
|
1204
|
|
- more_menu.custom4 = MORE_CUSTOM4_TEXT_T_CN;
|
1205
|
|
- #endif
|
1206
|
|
- #if ENABLED(USER_CMD_5_ENABLE)
|
1207
|
|
- more_menu.custom5 = MORE_CUSTOM5_TEXT_T_CN;
|
1208
|
|
- #endif
|
1209
|
|
- #if ENABLED(USER_CMD_6_ENABLE)
|
1210
|
|
- more_menu.custom6 = MORE_CUSTOM6_TEXT_T_CN;
|
1211
|
|
- #endif
|
1212
|
|
- #if ENABLED(USER_CMD_7_ENABLE)
|
1213
|
|
- more_menu.custom7 = MORE_CUSTOM7_TEXT_T_CN;
|
1214
|
|
- #endif
|
|
1180
|
+ TERN_(USER_CMD_1_ENABLE, more_menu.custom1 = MORE_CUSTOM1_TEXT_T_CN);
|
|
1181
|
+ TERN_(USER_CMD_2_ENABLE, more_menu.custom2 = MORE_CUSTOM2_TEXT_T_CN);
|
|
1182
|
+ TERN_(USER_CMD_3_ENABLE, more_menu.custom3 = MORE_CUSTOM3_TEXT_T_CN);
|
|
1183
|
+ TERN_(USER_CMD_4_ENABLE, more_menu.custom4 = MORE_CUSTOM4_TEXT_T_CN);
|
|
1184
|
+ TERN_(USER_CMD_5_ENABLE, more_menu.custom5 = MORE_CUSTOM5_TEXT_T_CN);
|
|
1185
|
+ TERN_(USER_CMD_6_ENABLE, more_menu.custom6 = MORE_CUSTOM6_TEXT_T_CN);
|
|
1186
|
+ TERN_(USER_CMD_7_ENABLE, more_menu.custom7 = MORE_CUSTOM7_TEXT_T_CN);
|
1215
|
1187
|
// WIFI
|
1216
|
1188
|
wifi_menu.title = WIFI_TEXT;
|
1217
|
1189
|
wifi_menu.cloud = CLOUD_TEXT_T_CN;
|