1.0.83 release

This commit is contained in:
longpanda 2022-12-04 13:15:18 +08:00
parent c1d68bd787
commit e85c02756b
12 changed files with 11 additions and 9 deletions

View File

@ -2448,7 +2448,6 @@ grub_err_t ventoy_cmd_load_plugin(grub_extcmd_context_t ctxt, int argc, char **a
int ret = 0; int ret = 0;
int offset = 0; int offset = 0;
char *buf = NULL; char *buf = NULL;
const char *env = NULL;
grub_uint8_t *code = NULL; grub_uint8_t *code = NULL;
grub_file_t file; grub_file_t file;
VTOY_JSON *json = NULL; VTOY_JSON *json = NULL;
@ -2542,9 +2541,6 @@ grub_err_t ventoy_cmd_load_plugin(grub_extcmd_context_t ctxt, int argc, char **a
grub_env_unset("VTOY_MENU_TIP_ENABLE"); grub_env_unset("VTOY_MENU_TIP_ENABLE");
} }
env = grub_env_get("VTOY_MENU_LANGUAGE");
ventoy_plugin_load_menu_lang(env ? env : "en_US");
VENTOY_CMD_RETURN(GRUB_ERR_NONE); VENTOY_CMD_RETURN(GRUB_ERR_NONE);
} }

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
INSTALL/EFI/BOOT/grub.efi Normal file

Binary file not shown.

Binary file not shown.

View File

@ -2456,6 +2456,11 @@ else
vt_check_json_path_case $vtoy_iso_part vt_check_json_path_case $vtoy_iso_part
fi fi
if [ -n "$VTOY_MENU_LANGUAGE" ]; then
vt_load_menu_lang "$VTOY_MENU_LANGUAGE"
else
vt_load_menu_lang en_US
fi
if [ -n "$VTOY_MENU_TIMEOUT" ]; then if [ -n "$VTOY_MENU_TIMEOUT" ]; then
set timeout=$VTOY_MENU_TIMEOUT set timeout=$VTOY_MENU_TIMEOUT

View File

@ -91,7 +91,8 @@ cd ../../
#tar menu txt & update menulang.cfg #tar menu txt & update menulang.cfg
cd $tmpmnt/grub/ cd $tmpmnt/grub/
echo "menuentry \"zh_CN - Chinese Simplified (简体中文)\" --class=menu_lang_item --class=debug_menu_lang --class=F5tool {" >> menulang.cfg vtlangtitle=$(grep VTMENU_LANGUAGE_NAME menu/zh_CN.json | awk -F\" '{print $4}')
echo "menuentry \"zh_CN - $vtlangtitle\" --class=menu_lang_item --class=debug_menu_lang --class=F5tool {" >> menulang.cfg
echo " vt_load_menu_lang zh_CN" >> menulang.cfg echo " vt_load_menu_lang zh_CN" >> menulang.cfg
echo "}" >> menulang.cfg echo "}" >> menulang.cfg

View File

@ -1 +1 @@
20221117 18:12:12 20221204 12:35:33

View File

@ -1 +1 @@
de_DEen_USfr_FRhi_HIhr_HRid_IDja_JPko_KRpt_PTsr_RStr_TRzh_CN bn_BNde_DEen_USfr_FRhi_HIhr_HRid_IDja_JPko_KRpt_PTru_RUsr_RStr_TRzh_CN

View File

@ -757,7 +757,7 @@
<footer class="main-footer"> <footer class="main-footer">
<div class="pull-right hidden-xs"> <div class="pull-right hidden-xs">
<b id="plugson_build_date">20221117 18:12:12</b> <b id="plugson_build_date">20221204 12:35:33</b>
</div> </div>
<strong><a href="https://www.ventoy.net" target="_blank">https://www.ventoy.net</a></strong> <strong><a href="https://www.ventoy.net" target="_blank">https://www.ventoy.net</a></strong>
</footer> </footer>

View File

@ -1 +1 @@
de_DEen_USfr_FRhi_HIhr_HRid_IDja_JPko_KRpt_PTsr_RStr_TRzh_CN bn_BNde_DEen_USfr_FRhi_HIhr_HRid_IDja_JPko_KRpt_PTru_RUsr_RStr_TRzh_CN