]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - INSTALL/grub/debug.cfg
Merge branch 'master' of https://github.com/Ventoy/Ventoy
[Ventoy.git] / INSTALL / grub / debug.cfg
index 1bf076d703733da08a301e05bb7a127af204b6d8..09b1992f898b4ad91091ac7249359e7a69a13656 100644 (file)
@@ -1,5 +1,5 @@
 #
-# VTLANG_TEMP_SETTING must be the first
+# VTLANG_CTRL_TEMP_SET must be the first
 # And the inside item order can not be changed
 #
 submenu "$VTLANG_CTRL_TEMP_SET" --class=debug_temp_set --class=F5tool {
@@ -12,17 +12,17 @@ submenu "$VTLANG_CTRL_TEMP_SET" --class=debug_temp_set --class=F5tool {
         fi
     }
     
-    menuentry "[ $VTOY_LINUX_REMOUNT ]  $VTLANG_LINUX_REMOUNT" --class=debug_temp_linux_remount --class=debug_temp_set --class=F5tool \
+    menuentry "[ $VTOY_WIN11_BYPASS_NRO ]  $VTLANG_WIN11_BYPASS_NRO" --class=debug_temp_win11_nro --class=debug_temp_set --class=F5tool \
         VTOY_RUN_SET1 {
-        if [ "$VTOY_LINUX_REMOUNT" = "0" ]; then
-            set VTOY_LINUX_REMOUNT=1
+        if [ "$VTOY_WIN11_BYPASS_NRO" = "0" ]; then
+            set VTOY_WIN11_BYPASS_NRO=1
         else
-            set VTOY_LINUX_REMOUNT=0
+            set VTOY_WIN11_BYPASS_NRO=0
         fi
-    }
+    }    
     
     menuentry "[ $VTOY_SECONDARY_BOOT_MENU ]  $VTLANG_SECONDARY_BOOT_MENU" --class=debug_temp_second_menu --class=debug_temp_set --class=F5tool \
-        VTOY_RUN_SET2 {
+        VTOY_RUN_SET3 {
         if [ "$VTOY_SECONDARY_BOOT_MENU" = "0" ]; then
             set VTOY_SECONDARY_BOOT_MENU=1
         else
@@ -74,10 +74,12 @@ submenu "$VTLANG_RESOLUTION_CFG" --class=debug_resolution --class=F5tool {
 
 submenu "$VTLANG_SCREEN_MODE" --class=debug_screen_mode --class=F5tool {
     menuentry "$VTLANG_SCREEN_TEXT_MODE" --class=debug_text_mode --class=debug_screen_mode --class=F5tool {
+        vt_push_menu_lang en_US
         terminal_output console
     }
     menuentry "$VTLANG_SCREEN_GUI_MODE" --class=debug_gui_mode --class=debug_screen_mode --class=F5tool {
         terminal_output gfxterm
+        vt_pop_menu_lang
     }
     menuentry "$VTLANG_RETURN_PREVIOUS" --class=vtoyret VTOY_RET {
         echo "Return ..."