浏览代码

English translation and typo

Maniack Crudelis 7 年之前
父节点
当前提交
f52393388a
共有 3 个文件被更改,包括 7 次插入14 次删除
  1. 3 3
      scripts/install
  2. 3 3
      scripts/restore
  3. 1 8
      scripts/upgrade

+ 3 - 3
scripts/install

@@ -183,7 +183,7 @@ mkdir -p /var/log/$app
 ynh_use_logrotate
 
 #=================================================
-# PRINT INFORMATIONS
+# PRINT INFORMATION
 #=================================================
 
 Informations="To add recipients or to modify the files or apps to backup,
@@ -209,9 +209,9 @@ message="${encrypt_message}Archivist is going to run $run_freq.
 If you want to change the frequency, have a look to the file /etc/cron.d/$app.
 
 $Informations
-Please read the documentation (https://github.com/maniackcrudelis/archivist/blob/master/Configuration.md) about the configuration of archivist for more informations.
+Please read the documentation (https://github.com/maniackcrudelis/archivist/blob/master/Configuration.md) about the configuration of archivist for more information.
 
-If you facing an issue or want to improve this app, please open a new issue in this project: https://github.com/YunoHost-Apps/archivist_ynh"
+If you're facing an issue or want to improve this app, please open a new issue in this project: https://github.com/YunoHost-Apps/archivist_ynh"
 
 ynh_send_readme_to_admin --app_message="$message" --recipients="root"
 ynh_print_ON

+ 3 - 3
scripts/restore

@@ -64,7 +64,7 @@ echo "encfs encfs/security-information boolean true" | debconf-set-selections
 ynh_install_app_dependencies $app_depencencies
 
 #=================================================
-# RESTORE LOGROTATE
+# RESTORE THE LOGROTATE CONFIGURATION
 #=================================================
 
 mkdir -p /var/log/$app
@@ -89,8 +89,8 @@ mkdir -p "/home/yunohost.app/${app}/backup"
 message="If you want to change the frequency of Archivist, have a look to the file /etc/cron.d/$app.
 
 The configuration file of Archivist has been restored at $final_path/Backup_list.conf
-Please read the documentation (https://github.com/maniackcrudelis/archivist/blob/master/Configuration.md) about the configuration of archivist for more informations.
+Please read the documentation (https://github.com/maniackcrudelis/archivist/blob/master/Configuration.md) about the configuration of archivist for more information.
 
-If you facing an issue or want to improve this app, please open a new issue in this project: https://github.com/YunoHost-Apps/archivist_ynh"
+If you're facing an issue or want to improve this app, please open a new issue in this project: https://github.com/YunoHost-Apps/archivist_ynh"
 
 ynh_send_readme_to_admin --app_message="$message" --recipients="root"

+ 1 - 8
scripts/upgrade

@@ -11,13 +11,6 @@ source /usr/share/yunohost/helpers
 # Load common variables for all scripts.
 source _variables
 
-#=================================================
-# MANAGE SCRIPT FAILURE
-#=================================================
-
-# Exit if an error occurs during the execution of the script
-ynh_abort_if_errors
-
 #=================================================
 # LOAD SETTINGS
 #=================================================
@@ -156,5 +149,5 @@ ynh_use_logrotate --non-append
 # SECURE FILES AND DIRECTORIES
 #=================================================
 
-# Set right permissions for curl installation
+# Set permissions on app files
 chown -R root: $final_path