Explorar el Código

More translations

Bob Mottram hace 9 años
padre
commit
60a9924298

+ 1
- 0
locale/de/freedombone-backup-local.json Ver fichero

21
     "Backing up spamassassin settings for $USERNAME": "",
21
     "Backing up spamassassin settings for $USERNAME": "",
22
     "Backing up procmail settings for $USERNAME": "",
22
     "Backing up procmail settings for $USERNAME": "",
23
     "Backing up $source_directory to $dest_directory": "",
23
     "Backing up $source_directory to $dest_directory": "",
24
+    "Backing up ${PROJECT_NAME} configuration files": "",
24
     "Backing up README": "",
25
     "Backing up README": "",
25
     "Backing up VoIP settings": "",
26
     "Backing up VoIP settings": "",
26
     "Unable to backup mysql settings": ""
27
     "Unable to backup mysql settings": ""

+ 1
- 0
locale/de/freedombone-backup-remote.json Ver fichero

5
     "${1} database could not be saved": "",
5
     "${1} database could not be saved": "",
6
     "Unable to export ${1} database": "",
6
     "Unable to export ${1} database": "",
7
     "${PROJECT_NAME} backup to friends": "",
7
     "${PROJECT_NAME} backup to friends": "",
8
+    "Backing up ${PROJECT_NAME} configuration files": "",
8
     "Backing up personal settings for $USERNAME": "",
9
     "Backing up personal settings for $USERNAME": "",
9
     "Backing up gpg keys for $USERNAME": "",
10
     "Backing up gpg keys for $USERNAME": "",
10
     "Backing up ssh keys for $USERNAME": "",
11
     "Backing up ssh keys for $USERNAME": "",

+ 9
- 1
locale/de/freedombone-controlpanel.json Ver fichero

21
     "Username not found": "",
21
     "Username not found": "",
22
     "Home directory not found": "",
22
     "Home directory not found": "",
23
     "Change password for": "",
23
     "Change password for": "",
24
+    "IRC Password": "",
25
+    "Password for all IRC users": "",
26
+    "The IRC password was changed": "",
24
     "Change ssh public key": "",
27
     "Change ssh public key": "",
25
     "\\nThis is the administrator user.\\n\\nAre you sure you want to change the ssh public key for the administrator?": "",
28
     "\\nThis is the administrator user.\\n\\nAre you sure you want to change the ssh public key for the administrator?": "",
26
     "Change ssh public key for $SELECTED_USERNAME": "",
29
     "Change ssh public key for $SELECTED_USERNAME": "",
86
     "Back to Backup and Restore menu": "",
89
     "Back to Backup and Restore menu": "",
87
     "Format USB drive": "",
90
     "Format USB drive": "",
88
     "\\nPlease confirm that you wish to format drive\\n\\n    ${drive}\\n\\nAll current data on the drive will be lost, and you will be prompted to give a password used to encrypt the drive.\\n\\nDANGER: If you screw up here and format the wrong drive it's your own fault!": "",
91
     "\\nPlease confirm that you wish to format drive\\n\\n    ${drive}\\n\\nAll current data on the drive will be lost, and you will be prompted to give a password used to encrypt the drive.\\n\\nDANGER: If you screw up here and format the wrong drive it's your own fault!": "",
92
+    "Remove backups from a USB drive": "",
93
+    "\\nPlease confirm that you wish to remove backups from this drive\\n\\n    ${drive}\\n\\nYou will not be able to recover them afterwards.": "",
89
     "Power off the system": "",
94
     "Power off the system": "",
90
     "\\nPlease confirm that you wish to power off the system.\\n\\nWARNING: to power on again you will need to have physical access to the hardware.": "",
95
     "\\nPlease confirm that you wish to power off the system.\\n\\nWARNING: to power on again you will need to have physical access to the hardware.": "",
91
     "Restart the system": "",
96
     "Restart the system": "",
129
     "Attach a drive containing playable media": "",
134
     "Attach a drive containing playable media": "",
130
     "Remove a drive containing playable media": "",
135
     "Remove a drive containing playable media": "",
131
     "Exit": "",
136
     "Exit": "",
137
+    "IRC Menu": "",
138
+    "Set a password for all IRC users": "",
132
     "Control Panel": "",
139
     "Control Panel": "",
133
     "Show SIP Phone Extensions": "",
140
     "Show SIP Phone Extensions": "",
134
     "Reset Tripwire": "",
141
     "Reset Tripwire": "",
135
     "Logging on/off": "",
142
     "Logging on/off": "",
136
     "Security Settings": "",
143
     "Security Settings": "",
137
-    "Media menu": ""
144
+    "Media menu": "",
145
+    "IRC menu": ""
138
 }
146
 }

+ 6
- 0
locale/de/freedombone-recoverkey.json Ver fichero

1
 {
1
 {
2
     "${PROJECT_NAME}-recoverkey -u [username] -d [drive]": "",
2
     "${PROJECT_NAME}-recoverkey -u [username] -d [drive]": "",
3
     "User $MY_USERNAME does not exist on the system": "",
3
     "User $MY_USERNAME does not exist on the system": "",
4
+    "Encryption keys": "",
5
+    "There was a problem mounting the USB drive to $GPG_USB_MOUNT": "",
6
+    "The directory $GPG_USB_MOUNT/.gnupg or $GPG_USB_MOUNT/.gnupg_fragments was not found": "",
7
+    "GPG Keyring loaded to $HOME_DIR": "",
8
+    "ssh keys imported": "",
9
+    "Now remove the USB drive. Insert the next drive containing a key fragment, or select Ok to finish": "",
4
     "Starting key retrieval from $REMOTE_SERVER...": ""
10
     "Starting key retrieval from $REMOTE_SERVER...": ""
5
 }
11
 }

+ 8
- 4
locale/de/freedombone-restore-local.json Ver fichero

1
 {
1
 {
2
     "Please attach a USB drive": "",
2
     "Please attach a USB drive": "",
3
+    "There was a problem mounting the USB drive to $USB_MOUNT": "",
4
+    "Unable to unmount the drive. This means that the backup did not work": "",
5
+    "Setting permissions": "",
6
+    "Unmount encrypted USB": "",
3
     "No backup directory found on the USB drive.": "",
7
     "No backup directory found on the USB drive.": "",
4
     "Checking that admin user exists": "",
8
     "Checking that admin user exists": "",
5
     "Username $ADMIN_USERNAME not found. Reinstall ${PROJECT_NAME} with this username.": "",
9
     "Username $ADMIN_USERNAME not found. Reinstall ${PROJECT_NAME} with this username.": "",
6
-    "Copying GPG keys to root": "",
10
+    "Copying GPG keys from admin user to root": "",
7
     "Restoring ${1} database": "",
11
     "Restoring ${1} database": "",
8
     "Unable to restore ${1} database": "",
12
     "Unable to restore ${1} database": "",
9
     "Restoring ${1} installation": "",
13
     "Restoring ${1} installation": "",
14
+    "Restoring configuration files": "",
15
+    "The admin username has changed from $PREV_ADMIN_USERNAME to $ADMIN_USERNAME. To restore you will first need to install a new ${PROJECT_NAME} system with an initial admin user named $PREV_ADMIN_USERNAME": "",
10
     "Restoring mysql settings": "",
16
     "Restoring mysql settings": "",
11
     "Get the MariaDB password from the backup": "",
17
     "Get the MariaDB password from the backup": "",
12
     "MariaDB password file not found": "",
18
     "MariaDB password file not found": "",
39
     "Restoring DLNA cache": "",
45
     "Restoring DLNA cache": "",
40
     "Restoring VoIP settings": "",
46
     "Restoring VoIP settings": "",
41
     "Restoring Tox node settings": "",
47
     "Restoring Tox node settings": "",
42
-    "Setting permissions": "",
43
-    "Unmount encrypted USB": "",
44
-    "Restore from USB drive is complete. You can now remove it.": ""
48
+    "Restore from USB drive is complete. You can now unplug it.": ""
45
 }
49
 }

+ 2
- 0
locale/de/freedombone-restore-remote.json Ver fichero

1
 {
1
 {
2
     "No friends list found at /home/${ADMIN_USERNAME}/backup.list": "",
2
     "No friends list found at /home/${ADMIN_USERNAME}/backup.list": "",
3
     "Server not found within the friends list": "",
3
     "Server not found within the friends list": "",
4
+    "Copying GPG keys from admin user to root": "",
4
     "Restoring ${1} database": "",
5
     "Restoring ${1} database": "",
5
     "Unable to restore ${1} database": "",
6
     "Unable to restore ${1} database": "",
6
     "Restoring ${1} installation": "",
7
     "Restoring ${1} installation": "",
8
+    "Restoring configuration files": "",
7
     "Restoring MariaDB settings": "",
9
     "Restoring MariaDB settings": "",
8
     "Get the MariaDB password from the backup": "",
10
     "Get the MariaDB password from the backup": "",
9
     "MariaDB password file not found": "",
11
     "MariaDB password file not found": "",

+ 1
- 0
locale/es/freedombone-backup-local.json Ver fichero

21
     "Backing up spamassassin settings for $USERNAME": "",
21
     "Backing up spamassassin settings for $USERNAME": "",
22
     "Backing up procmail settings for $USERNAME": "",
22
     "Backing up procmail settings for $USERNAME": "",
23
     "Backing up $source_directory to $dest_directory": "",
23
     "Backing up $source_directory to $dest_directory": "",
24
+    "Backing up ${PROJECT_NAME} configuration files": "",
24
     "Backing up README": "",
25
     "Backing up README": "",
25
     "Backing up VoIP settings": "",
26
     "Backing up VoIP settings": "",
26
     "Unable to backup mysql settings": ""
27
     "Unable to backup mysql settings": ""

+ 1
- 0
locale/es/freedombone-backup-remote.json Ver fichero

5
     "${1} database could not be saved": "",
5
     "${1} database could not be saved": "",
6
     "Unable to export ${1} database": "",
6
     "Unable to export ${1} database": "",
7
     "${PROJECT_NAME} backup to friends": "",
7
     "${PROJECT_NAME} backup to friends": "",
8
+    "Backing up ${PROJECT_NAME} configuration files": "",
8
     "Backing up personal settings for $USERNAME": "",
9
     "Backing up personal settings for $USERNAME": "",
9
     "Backing up gpg keys for $USERNAME": "",
10
     "Backing up gpg keys for $USERNAME": "",
10
     "Backing up ssh keys for $USERNAME": "",
11
     "Backing up ssh keys for $USERNAME": "",

+ 9
- 1
locale/es/freedombone-controlpanel.json Ver fichero

21
     "Username not found": "",
21
     "Username not found": "",
22
     "Home directory not found": "",
22
     "Home directory not found": "",
23
     "Change password for": "",
23
     "Change password for": "",
24
+    "IRC Password": "",
25
+    "Password for all IRC users": "",
26
+    "The IRC password was changed": "",
24
     "Change ssh public key": "",
27
     "Change ssh public key": "",
25
     "\\nThis is the administrator user.\\n\\nAre you sure you want to change the ssh public key for the administrator?": "",
28
     "\\nThis is the administrator user.\\n\\nAre you sure you want to change the ssh public key for the administrator?": "",
26
     "Change ssh public key for $SELECTED_USERNAME": "",
29
     "Change ssh public key for $SELECTED_USERNAME": "",
86
     "Back to Backup and Restore menu": "",
89
     "Back to Backup and Restore menu": "",
87
     "Format USB drive": "",
90
     "Format USB drive": "",
88
     "\\nPlease confirm that you wish to format drive\\n\\n    ${drive}\\n\\nAll current data on the drive will be lost, and you will be prompted to give a password used to encrypt the drive.\\n\\nDANGER: If you screw up here and format the wrong drive it's your own fault!": "",
91
     "\\nPlease confirm that you wish to format drive\\n\\n    ${drive}\\n\\nAll current data on the drive will be lost, and you will be prompted to give a password used to encrypt the drive.\\n\\nDANGER: If you screw up here and format the wrong drive it's your own fault!": "",
92
+    "Remove backups from a USB drive": "",
93
+    "\\nPlease confirm that you wish to remove backups from this drive\\n\\n    ${drive}\\n\\nYou will not be able to recover them afterwards.": "",
89
     "Power off the system": "",
94
     "Power off the system": "",
90
     "\\nPlease confirm that you wish to power off the system.\\n\\nWARNING: to power on again you will need to have physical access to the hardware.": "",
95
     "\\nPlease confirm that you wish to power off the system.\\n\\nWARNING: to power on again you will need to have physical access to the hardware.": "",
91
     "Restart the system": "",
96
     "Restart the system": "",
129
     "Attach a drive containing playable media": "",
134
     "Attach a drive containing playable media": "",
130
     "Remove a drive containing playable media": "",
135
     "Remove a drive containing playable media": "",
131
     "Exit": "",
136
     "Exit": "",
137
+    "IRC Menu": "",
138
+    "Set a password for all IRC users": "",
132
     "Control Panel": "",
139
     "Control Panel": "",
133
     "Show SIP Phone Extensions": "",
140
     "Show SIP Phone Extensions": "",
134
     "Reset Tripwire": "",
141
     "Reset Tripwire": "",
135
     "Logging on/off": "",
142
     "Logging on/off": "",
136
     "Security Settings": "",
143
     "Security Settings": "",
137
-    "Media menu": ""
144
+    "Media menu": "",
145
+    "IRC menu": ""
138
 }
146
 }

+ 6
- 0
locale/es/freedombone-recoverkey.json Ver fichero

1
 {
1
 {
2
     "${PROJECT_NAME}-recoverkey -u [username] -d [drive]": "",
2
     "${PROJECT_NAME}-recoverkey -u [username] -d [drive]": "",
3
     "User $MY_USERNAME does not exist on the system": "",
3
     "User $MY_USERNAME does not exist on the system": "",
4
+    "Encryption keys": "",
5
+    "There was a problem mounting the USB drive to $GPG_USB_MOUNT": "",
6
+    "The directory $GPG_USB_MOUNT/.gnupg or $GPG_USB_MOUNT/.gnupg_fragments was not found": "",
7
+    "GPG Keyring loaded to $HOME_DIR": "",
8
+    "ssh keys imported": "",
9
+    "Now remove the USB drive. Insert the next drive containing a key fragment, or select Ok to finish": "",
4
     "Starting key retrieval from $REMOTE_SERVER...": ""
10
     "Starting key retrieval from $REMOTE_SERVER...": ""
5
 }
11
 }

+ 8
- 4
locale/es/freedombone-restore-local.json Ver fichero

1
 {
1
 {
2
     "Please attach a USB drive": "",
2
     "Please attach a USB drive": "",
3
+    "There was a problem mounting the USB drive to $USB_MOUNT": "",
4
+    "Unable to unmount the drive. This means that the backup did not work": "",
5
+    "Setting permissions": "",
6
+    "Unmount encrypted USB": "",
3
     "No backup directory found on the USB drive.": "",
7
     "No backup directory found on the USB drive.": "",
4
     "Checking that admin user exists": "",
8
     "Checking that admin user exists": "",
5
     "Username $ADMIN_USERNAME not found. Reinstall ${PROJECT_NAME} with this username.": "",
9
     "Username $ADMIN_USERNAME not found. Reinstall ${PROJECT_NAME} with this username.": "",
6
-    "Copying GPG keys to root": "",
10
+    "Copying GPG keys from admin user to root": "",
7
     "Restoring ${1} database": "",
11
     "Restoring ${1} database": "",
8
     "Unable to restore ${1} database": "",
12
     "Unable to restore ${1} database": "",
9
     "Restoring ${1} installation": "",
13
     "Restoring ${1} installation": "",
14
+    "Restoring configuration files": "",
15
+    "The admin username has changed from $PREV_ADMIN_USERNAME to $ADMIN_USERNAME. To restore you will first need to install a new ${PROJECT_NAME} system with an initial admin user named $PREV_ADMIN_USERNAME": "",
10
     "Restoring mysql settings": "",
16
     "Restoring mysql settings": "",
11
     "Get the MariaDB password from the backup": "",
17
     "Get the MariaDB password from the backup": "",
12
     "MariaDB password file not found": "",
18
     "MariaDB password file not found": "",
39
     "Restoring DLNA cache": "",
45
     "Restoring DLNA cache": "",
40
     "Restoring VoIP settings": "",
46
     "Restoring VoIP settings": "",
41
     "Restoring Tox node settings": "",
47
     "Restoring Tox node settings": "",
42
-    "Setting permissions": "",
43
-    "Unmount encrypted USB": "",
44
-    "Restore from USB drive is complete. You can now remove it.": ""
48
+    "Restore from USB drive is complete. You can now unplug it.": ""
45
 }
49
 }

+ 2
- 0
locale/es/freedombone-restore-remote.json Ver fichero

1
 {
1
 {
2
     "No friends list found at /home/${ADMIN_USERNAME}/backup.list": "",
2
     "No friends list found at /home/${ADMIN_USERNAME}/backup.list": "",
3
     "Server not found within the friends list": "",
3
     "Server not found within the friends list": "",
4
+    "Copying GPG keys from admin user to root": "",
4
     "Restoring ${1} database": "",
5
     "Restoring ${1} database": "",
5
     "Unable to restore ${1} database": "",
6
     "Unable to restore ${1} database": "",
6
     "Restoring ${1} installation": "",
7
     "Restoring ${1} installation": "",
8
+    "Restoring configuration files": "",
7
     "Restoring MariaDB settings": "",
9
     "Restoring MariaDB settings": "",
8
     "Get the MariaDB password from the backup": "",
10
     "Get the MariaDB password from the backup": "",
9
     "MariaDB password file not found": "",
11
     "MariaDB password file not found": "",

+ 1
- 0
locale/fr/freedombone-backup-local.json Ver fichero

21
     "Backing up spamassassin settings for $USERNAME": "",
21
     "Backing up spamassassin settings for $USERNAME": "",
22
     "Backing up procmail settings for $USERNAME": "",
22
     "Backing up procmail settings for $USERNAME": "",
23
     "Backing up $source_directory to $dest_directory": "",
23
     "Backing up $source_directory to $dest_directory": "",
24
+    "Backing up ${PROJECT_NAME} configuration files": "",
24
     "Backing up README": "",
25
     "Backing up README": "",
25
     "Backing up VoIP settings": "",
26
     "Backing up VoIP settings": "",
26
     "Unable to backup mysql settings": ""
27
     "Unable to backup mysql settings": ""

+ 1
- 0
locale/fr/freedombone-backup-remote.json Ver fichero

5
     "${1} database could not be saved": "",
5
     "${1} database could not be saved": "",
6
     "Unable to export ${1} database": "",
6
     "Unable to export ${1} database": "",
7
     "${PROJECT_NAME} backup to friends": "",
7
     "${PROJECT_NAME} backup to friends": "",
8
+    "Backing up ${PROJECT_NAME} configuration files": "",
8
     "Backing up personal settings for $USERNAME": "",
9
     "Backing up personal settings for $USERNAME": "",
9
     "Backing up gpg keys for $USERNAME": "",
10
     "Backing up gpg keys for $USERNAME": "",
10
     "Backing up ssh keys for $USERNAME": "",
11
     "Backing up ssh keys for $USERNAME": "",

+ 9
- 1
locale/fr/freedombone-controlpanel.json Ver fichero

21
     "Username not found": "",
21
     "Username not found": "",
22
     "Home directory not found": "",
22
     "Home directory not found": "",
23
     "Change password for": "",
23
     "Change password for": "",
24
+    "IRC Password": "",
25
+    "Password for all IRC users": "",
26
+    "The IRC password was changed": "",
24
     "Change ssh public key": "",
27
     "Change ssh public key": "",
25
     "\\nThis is the administrator user.\\n\\nAre you sure you want to change the ssh public key for the administrator?": "",
28
     "\\nThis is the administrator user.\\n\\nAre you sure you want to change the ssh public key for the administrator?": "",
26
     "Change ssh public key for $SELECTED_USERNAME": "",
29
     "Change ssh public key for $SELECTED_USERNAME": "",
86
     "Back to Backup and Restore menu": "",
89
     "Back to Backup and Restore menu": "",
87
     "Format USB drive": "",
90
     "Format USB drive": "",
88
     "\\nPlease confirm that you wish to format drive\\n\\n    ${drive}\\n\\nAll current data on the drive will be lost, and you will be prompted to give a password used to encrypt the drive.\\n\\nDANGER: If you screw up here and format the wrong drive it's your own fault!": "",
91
     "\\nPlease confirm that you wish to format drive\\n\\n    ${drive}\\n\\nAll current data on the drive will be lost, and you will be prompted to give a password used to encrypt the drive.\\n\\nDANGER: If you screw up here and format the wrong drive it's your own fault!": "",
92
+    "Remove backups from a USB drive": "",
93
+    "\\nPlease confirm that you wish to remove backups from this drive\\n\\n    ${drive}\\n\\nYou will not be able to recover them afterwards.": "",
89
     "Power off the system": "",
94
     "Power off the system": "",
90
     "\\nPlease confirm that you wish to power off the system.\\n\\nWARNING: to power on again you will need to have physical access to the hardware.": "",
95
     "\\nPlease confirm that you wish to power off the system.\\n\\nWARNING: to power on again you will need to have physical access to the hardware.": "",
91
     "Restart the system": "",
96
     "Restart the system": "",
129
     "Attach a drive containing playable media": "",
134
     "Attach a drive containing playable media": "",
130
     "Remove a drive containing playable media": "",
135
     "Remove a drive containing playable media": "",
131
     "Exit": "",
136
     "Exit": "",
137
+    "IRC Menu": "",
138
+    "Set a password for all IRC users": "",
132
     "Control Panel": "",
139
     "Control Panel": "",
133
     "Show SIP Phone Extensions": "",
140
     "Show SIP Phone Extensions": "",
134
     "Reset Tripwire": "",
141
     "Reset Tripwire": "",
135
     "Logging on/off": "",
142
     "Logging on/off": "",
136
     "Security Settings": "",
143
     "Security Settings": "",
137
-    "Media menu": ""
144
+    "Media menu": "",
145
+    "IRC menu": ""
138
 }
146
 }

+ 6
- 0
locale/fr/freedombone-recoverkey.json Ver fichero

1
 {
1
 {
2
     "${PROJECT_NAME}-recoverkey -u [username] -d [drive]": "",
2
     "${PROJECT_NAME}-recoverkey -u [username] -d [drive]": "",
3
     "User $MY_USERNAME does not exist on the system": "",
3
     "User $MY_USERNAME does not exist on the system": "",
4
+    "Encryption keys": "",
5
+    "There was a problem mounting the USB drive to $GPG_USB_MOUNT": "",
6
+    "The directory $GPG_USB_MOUNT/.gnupg or $GPG_USB_MOUNT/.gnupg_fragments was not found": "",
7
+    "GPG Keyring loaded to $HOME_DIR": "",
8
+    "ssh keys imported": "",
9
+    "Now remove the USB drive. Insert the next drive containing a key fragment, or select Ok to finish": "",
4
     "Starting key retrieval from $REMOTE_SERVER...": ""
10
     "Starting key retrieval from $REMOTE_SERVER...": ""
5
 }
11
 }

+ 8
- 4
locale/fr/freedombone-restore-local.json Ver fichero

1
 {
1
 {
2
     "Please attach a USB drive": "",
2
     "Please attach a USB drive": "",
3
+    "There was a problem mounting the USB drive to $USB_MOUNT": "",
4
+    "Unable to unmount the drive. This means that the backup did not work": "",
5
+    "Setting permissions": "",
6
+    "Unmount encrypted USB": "",
3
     "No backup directory found on the USB drive.": "",
7
     "No backup directory found on the USB drive.": "",
4
     "Checking that admin user exists": "",
8
     "Checking that admin user exists": "",
5
     "Username $ADMIN_USERNAME not found. Reinstall ${PROJECT_NAME} with this username.": "",
9
     "Username $ADMIN_USERNAME not found. Reinstall ${PROJECT_NAME} with this username.": "",
6
-    "Copying GPG keys to root": "",
10
+    "Copying GPG keys from admin user to root": "",
7
     "Restoring ${1} database": "",
11
     "Restoring ${1} database": "",
8
     "Unable to restore ${1} database": "",
12
     "Unable to restore ${1} database": "",
9
     "Restoring ${1} installation": "",
13
     "Restoring ${1} installation": "",
14
+    "Restoring configuration files": "",
15
+    "The admin username has changed from $PREV_ADMIN_USERNAME to $ADMIN_USERNAME. To restore you will first need to install a new ${PROJECT_NAME} system with an initial admin user named $PREV_ADMIN_USERNAME": "",
10
     "Restoring mysql settings": "",
16
     "Restoring mysql settings": "",
11
     "Get the MariaDB password from the backup": "",
17
     "Get the MariaDB password from the backup": "",
12
     "MariaDB password file not found": "",
18
     "MariaDB password file not found": "",
39
     "Restoring DLNA cache": "",
45
     "Restoring DLNA cache": "",
40
     "Restoring VoIP settings": "",
46
     "Restoring VoIP settings": "",
41
     "Restoring Tox node settings": "",
47
     "Restoring Tox node settings": "",
42
-    "Setting permissions": "",
43
-    "Unmount encrypted USB": "",
44
-    "Restore from USB drive is complete. You can now remove it.": ""
48
+    "Restore from USB drive is complete. You can now unplug it.": ""
45
 }
49
 }

+ 2
- 0
locale/fr/freedombone-restore-remote.json Ver fichero

1
 {
1
 {
2
     "No friends list found at /home/${ADMIN_USERNAME}/backup.list": "",
2
     "No friends list found at /home/${ADMIN_USERNAME}/backup.list": "",
3
     "Server not found within the friends list": "",
3
     "Server not found within the friends list": "",
4
+    "Copying GPG keys from admin user to root": "",
4
     "Restoring ${1} database": "",
5
     "Restoring ${1} database": "",
5
     "Unable to restore ${1} database": "",
6
     "Unable to restore ${1} database": "",
6
     "Restoring ${1} installation": "",
7
     "Restoring ${1} installation": "",
8
+    "Restoring configuration files": "",
7
     "Restoring MariaDB settings": "",
9
     "Restoring MariaDB settings": "",
8
     "Get the MariaDB password from the backup": "",
10
     "Get the MariaDB password from the backup": "",
9
     "MariaDB password file not found": "",
11
     "MariaDB password file not found": "",

+ 17
- 17
src/freedombone-recoverkey Ver fichero

100
     cd /home/$MY_USERNAME/.gnupg_fragments
100
     cd /home/$MY_USERNAME/.gnupg_fragments
101
     no_of_shares=$(ls -afq keyshare.asc.* | wc -l)
101
     no_of_shares=$(ls -afq keyshare.asc.* | wc -l)
102
     if (( no_of_shares < 4 )); then
102
     if (( no_of_shares < 4 )); then
103
-        dialog --title "Encryption keys" --msgbox 'Not enough fragments to reconstruct the key' 6 70
103
+        dialog --title $"Encryption keys" --msgbox $'Not enough fragments to reconstruct the key' 6 70
104
         exit 7348
104
         exit 7348
105
     fi
105
     fi
106
     apt-get -y install libgfshare-bin gnupg
106
     apt-get -y install libgfshare-bin gnupg
107
     gfcombine /home/$MY_USERNAME/.gnupg_fragments/keyshare*
107
     gfcombine /home/$MY_USERNAME/.gnupg_fragments/keyshare*
108
     if [ ! "$?" = "0" ]; then
108
     if [ ! "$?" = "0" ]; then
109
-        dialog --title "Encryption keys" --msgbox 'Unable to reconstruct the key' 6 70
109
+        dialog --title $"Encryption keys" --msgbox $'Unable to reconstruct the key' 6 70
110
         exit 7348
110
         exit 7348
111
     fi
111
     fi
112
 
112
 
113
     KEYS_FILE=/home/$MY_USERNAME/.gnupg_fragments/keyshare.asc
113
     KEYS_FILE=/home/$MY_USERNAME/.gnupg_fragments/keyshare.asc
114
     if [ ! -f $KEYS_FILE ]; then
114
     if [ ! -f $KEYS_FILE ]; then
115
-        dialog --title "Encryption keys" --msgbox 'Unable to reconstruct the key' 6 70
115
+        dialog --title $"Encryption keys" --msgbox $'Unable to reconstruct the key' 6 70
116
     fi
116
     fi
117
 
117
 
118
     su -c "gpg --allow-secret-key-import --import $KEYS_FILE" - $MY_USERNAME
118
     su -c "gpg --allow-secret-key-import --import $KEYS_FILE" - $MY_USERNAME
124
     fi
124
     fi
125
     shred -zu $KEYS_FILE
125
     shred -zu $KEYS_FILE
126
 
126
 
127
-    dialog --title "Encryption keys" --msgbox 'Key has been reconstructed' 6 70
127
+    dialog --title $"Encryption keys" --msgbox $'Key has been reconstructed' 6 70
128
 }
128
 }
129
 
129
 
130
 function interactive_gpg_from_usb {
130
 function interactive_gpg_from_usb {
131
-    dialog --title "Encryption keys" \
132
-           --msgbox 'Plug in a USB drive containing a copy of your full key or key fragment' 6 70
131
+    dialog --title $"Encryption keys" \
132
+           --msgbox $'Plug in a USB drive containing a copy of your full key or key fragment' 6 70
133
 
133
 
134
     HOME_DIR=/home/$MY_USERNAME
134
     HOME_DIR=/home/$MY_USERNAME
135
     GPG_LOADING="yes"
135
     GPG_LOADING="yes"
146
                         reconstruct_key
146
                         reconstruct_key
147
                         return 0
147
                         return 0
148
                     fi
148
                     fi
149
-                    dialog --title "Encryption keys" --msgbox 'No USB drive found' 6 30
149
+                    dialog --title $"Encryption keys" --msgbox $'No USB drive found' 6 30
150
                     exit 27852
150
                     exit 27852
151
                 fi
151
                 fi
152
             fi
152
             fi
173
                 reconstruct_key
173
                 reconstruct_key
174
                 return 0
174
                 return 0
175
             fi
175
             fi
176
-            dialog --title "Encryption keys" \
177
-                   --msgbox "There was a problem mounting the USB drive to $GPG_USB_MOUNT" 6 70
176
+            dialog --title $"Encryption keys" \
177
+                   --msgbox $"There was a problem mounting the USB drive to $GPG_USB_MOUNT" 6 70
178
             rm -rf $GPG_USB_MOUNT
178
             rm -rf $GPG_USB_MOUNT
179
             exit 74393
179
             exit 74393
180
         fi
180
         fi
187
                     reconstruct_key
187
                     reconstruct_key
188
                     return 0
188
                     return 0
189
                 fi
189
                 fi
190
-                dialog --title "Encryption keys" \
191
-                       --msgbox "The directory $GPG_USB_MOUNT/.gnupg or $GPG_USB_MOUNT/.gnupg_fragments was not found" 6 70
190
+                dialog --title $"Encryption keys" \
191
+                       --msgbox $"The directory $GPG_USB_MOUNT/.gnupg or $GPG_USB_MOUNT/.gnupg_fragments was not found" 6 70
192
                 umount -f $GPG_USB_MOUNT
192
                 umount -f $GPG_USB_MOUNT
193
                 rm -rf $GPG_USB_MOUNT
193
                 rm -rf $GPG_USB_MOUNT
194
                 exit 723814
194
                 exit 723814
201
             fi
201
             fi
202
             cp -r $GPG_USB_MOUNT/.gnupg/* $HOME_DIR/.gnupg
202
             cp -r $GPG_USB_MOUNT/.gnupg/* $HOME_DIR/.gnupg
203
             GPG_LOADING="no"
203
             GPG_LOADING="no"
204
-            dialog --title "Encryption keys" \
205
-                   --msgbox "GPG Keyring loaded to $HOME_DIR" 6 70
204
+            dialog --title $"Encryption keys" \
205
+                   --msgbox $"GPG Keyring loaded to $HOME_DIR" 6 70
206
         else
206
         else
207
             if [ ! -d $HOME_DIR/.gnupg_fragments ]; then
207
             if [ ! -d $HOME_DIR/.gnupg_fragments ]; then
208
                 mkdir $HOME_DIR/.gnupg_fragments
208
                 mkdir $HOME_DIR/.gnupg_fragments
216
                     mkdir $HOME_DIR/.ssh
216
                     mkdir $HOME_DIR/.ssh
217
                 fi
217
                 fi
218
                 cp $GPG_USB_MOUNT/.ssh/* $HOME_DIR/.ssh
218
                 cp $GPG_USB_MOUNT/.ssh/* $HOME_DIR/.ssh
219
-                dialog --title "Encryption keys" \
220
-                       --msgbox "ssh keys imported" 6 70
219
+                dialog --title $"Encryption keys" \
220
+                       --msgbox $"ssh keys imported" 6 70
221
                 SSH_IMPORTED="yes"
221
                 SSH_IMPORTED="yes"
222
             fi
222
             fi
223
         fi
223
         fi
225
         umount -f $GPG_USB_MOUNT
225
         umount -f $GPG_USB_MOUNT
226
         rm -rf $GPG_USB_MOUNT
226
         rm -rf $GPG_USB_MOUNT
227
         if [[ $GPG_LOADING == "yes" ]]; then
227
         if [[ $GPG_LOADING == "yes" ]]; then
228
-            dialog --title "Encryption keys" \
229
-                   --msgbox "Now remove the USB drive. Insert the next drive containing a key fragment, or select Ok to finish" 6 70
228
+            dialog --title $"Encryption keys" \
229
+                   --msgbox $"Now remove the USB drive. Insert the next drive containing a key fragment, or select Ok to finish" 6 70
230
         fi
230
         fi
231
         GPG_CTR=$((GPG_CTR + 1))
231
         GPG_CTR=$((GPG_CTR + 1))
232
     done
232
     done