浏览代码

Show usb drive path

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

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

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