Skip to content

Commit

Permalink
1.0.83 release
Browse files Browse the repository at this point in the history
  • Loading branch information
ventoy committed Dec 4, 2022
1 parent c1d68bd commit e85c027
Show file tree
Hide file tree
Showing 12 changed files with 11 additions and 9 deletions.
4 changes: 0 additions & 4 deletions GRUB2/MOD_SRC/grub-2.04/grub-core/ventoy/ventoy_plugin.c
Original file line number Diff line number Diff line change
Expand Up @@ -2448,7 +2448,6 @@ grub_err_t ventoy_cmd_load_plugin(grub_extcmd_context_t ctxt, int argc, char **a
int ret = 0;
int offset = 0;
char *buf = NULL;
const char *env = NULL;
grub_uint8_t *code = NULL;
grub_file_t file;
VTOY_JSON *json = NULL;
Expand Down Expand Up @@ -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");
}

env = grub_env_get("VTOY_MENU_LANGUAGE");
ventoy_plugin_load_menu_lang(env ? env : "en_US");

VENTOY_CMD_RETURN(GRUB_ERR_NONE);
}

Expand Down
Binary file modified INSTALL/EFI/BOOT/BOOTIA32.EFI
Binary file not shown.
Binary file modified INSTALL/EFI/BOOT/BOOTX64.EFI
Binary file not shown.
Binary file added INSTALL/EFI/BOOT/MokManager.efi
Binary file not shown.
Binary file added INSTALL/EFI/BOOT/grub.efi
Binary file not shown.
Binary file removed INSTALL/EFI/BOOT/mmx64.efi
Binary file not shown.
5 changes: 5 additions & 0 deletions INSTALL/grub/grub.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2456,6 +2456,11 @@ else
vt_check_json_path_case $vtoy_iso_part
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
set timeout=$VTOY_MENU_TIMEOUT
Expand Down
3 changes: 2 additions & 1 deletion INSTALL/ventoy_pack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ cd ../../
#tar menu txt & update menulang.cfg
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 "}" >> menulang.cfg

Expand Down
2 changes: 1 addition & 1 deletion Plugson/www/buildtime
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20221117 18:12:12
20221204 12:35:33
2 changes: 1 addition & 1 deletion Plugson/www/helplist
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion Plugson/www/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -757,7 +757,7 @@ <h4>

<footer class="main-footer">
<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>
<strong><a href="https://www.ventoy.net" target="_blank">https://www.ventoy.net</a></strong>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion Plugson/www/menulist
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit e85c027

Please sign in to comment.