浏览代码

Show usb drive path

Bob Mottram 8 年前
父节点
当前提交
79c5113a0f
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3
    1
      src/freedombone-controlpanel

+ 3
- 1
src/freedombone-controlpanel 查看文件

871
 
871
 
872
     AllStr=$"all"
872
     AllStr=$"all"
873
     ExitStr=$"Exit"
873
     ExitStr=$"Exit"
874
+    RestoreStr=$"Restore apps"
874
 
875
 
875
     if [[ $restore_type != "local" ]]; then
876
     if [[ $restore_type != "local" ]]; then
876
         restore_command="${PROJECT_NAME}-restore-remote $remote_domain_name configuration;;"
877
         restore_command="${PROJECT_NAME}-restore-remote $remote_domain_name configuration;;"
878
         remote_domain_name="$1"
879
         remote_domain_name="$1"
879
         detect_usb_drive
880
         detect_usb_drive
880
         restore_command="${PROJECT_NAME}-restore-local $USB_DRIVE"
881
         restore_command="${PROJECT_NAME}-restore-local $USB_DRIVE"
882
+        RestoreStr=$"Restore apps from USB drive $USB_DRIVE"
881
     fi
883
     fi
882
 
884
 
883
     utils_installed=(configfiles
885
     utils_installed=(configfiles
930
         app_list+=("$ExitStr")
932
         app_list+=("$ExitStr")
931
 
933
 
932
         choice=$(dialog --stdout --backtitle $"Freedombone" \
934
         choice=$(dialog --stdout --backtitle $"Freedombone" \
933
-                        --title $"Restore apps" \
935
+                        --title "$RestoreStr" \
934
                         --radiolist $'Choose:' \
936
                         --radiolist $'Choose:' \
935
                         30 40 20 $applist)
937
                         30 40 20 $applist)
936
 
938