Nextcloud AIO v{{ aio_version }}
+{{ t('Nextcloud AIO v') }}{{ aio_version }}
{# Add 2nd tab warning #} @@ -75,50 +75,50 @@ {% endfor %} {% if is_daily_backup_running == true %} -Daily backup currently running. (Mastercontainer logs) (Borg backup container logs)
+{{ t('Daily backup currently running.') }} ({{ t('Mastercontainer logs') }}) ({{ t('Borg backup container logs') }})
{% if automatic_updates == true %} -This will update your containers, the mastercontainer and, on Saturdays, your Nextcloud apps if the backup is successful.
+{{ t('This will update your containers, the mastercontainer and, on Saturdays, your Nextcloud apps if the backup is successful.') }}
{% if is_mastercontainer_update_available == true %} -When the mastercontainer is updated it will restart, making it unavailable for a moment. (Logs)
+{{ t('When the mastercontainer is updated it will restart, making it unavailable for a moment.') }} ({{ t('Logs') }})
{% endif %} {% endif %} {% if has_update_available == false %} -The whole process should not take more than a few minutes.
+{{ t('The whole process should not take more than a few minutes.') }}
{% elseif automatic_updates == true %} -The whole process can take a while as your containers will be updated.
+{{ t('The whole process can take a while as your containers will be updated.') }}
{% endif %} - -If the daily backup is stuck somehow, you can unstick it by running sudo docker exec nextcloud-aio-mastercontainer rm /mnt/docker-aio-config/data/daily_backup_running and afterwards reloading this interface.
+ +{{ t('If the daily backup is stuck somehow, you can unstick it by running') }} sudo docker exec nextcloud-aio-mastercontainer rm /mnt/docker-aio-config/data/daily_backup_running {{ t('and afterwards reloading this interface.') }}
{% elseif isWatchtowerRunning == true %} -Mastercontainer update currently running. Once the update is complete the mastercontainer will restart, making it unavailable for a moment. Please wait until it's done. (Logs)
- +{{ t('Mastercontainer update currently running. Once the update is complete the mastercontainer will restart, making it unavailable for a moment. Please wait until it\'s done.') }} ({{ t('Logs') }})
+ {% else %} {% if is_backup_container_running == false and domain == "" %} {% if isDomaincheckRunning == false %} -Domaincheck container is not running
-This is not expected. Most likely this happened because port {{ apache_port }} is already in use on your server. You can check the mastercontainer logs and domaincheck container logs for further clues. You should be able to resolve this by adjusting the APACHE_PORT by following the reverse proxy documentation. Advice: have a detailed look at the changed docker run command for AIO.
+{{ t('Domaincheck container is not running') }}
+{{ t('This is not expected. Most likely this happened because port') }} {{ apache_port }} {{ t('is already in use on your server. You can check the mastercontainer logs and domaincheck container logs for further clues. You should be able to resolve this by adjusting the APACHE_PORT by following the') }} {{ t('reverse proxy documentation') }}. {{ t('Advice: have a detailed look at the changed docker run command for AIO.') }}
{% elseif is_mastercontainer_update_available == true %} -Mastercontainer update
-⚠️ A mastercontainer update is available. Please click on the button below to update it. Afterwards, you will be able to proceed with the setup.
+{{ t('Mastercontainer update') }}
+⚠️ {{ t('A mastercontainer update is available. Please click on the button below to update it. Afterwards, you will be able to proceed with the setup.') }}
{% else %} {% if not hasBackupLocation %} -The official Nextcloud installation method. Nextcloud All-in-One provides easy deployment and maintenance with most features included in this one Nextcloud instance.
-You can either create a new AIO instance or restore a former AIO instance from backup. See the two sections below.
+{{ t('The official Nextcloud installation method. Nextcloud All-in-One provides easy deployment and maintenance with most features included in this one Nextcloud instance.') }}
+{{ t('You can either create a new AIO instance or restore a former AIO instance from backup. See the two sections below.') }}
{{ include('includes/aio-config.twig') }} -New AIO instance
+{{ t('New AIO instance') }}
{% if apache_port == '443' %} -AIO is currently in "normal mode" which means that it handles the TLS proxying itself. This also means that it cannot be installed behind a web server or reverse proxy (like Apache, Nginx, Caddy, Cloudflare Tunnel and else). If you want to run AIO behind a web server or reverse proxy (like Apache, Nginx, Caddy, Cloudflare Tunnel and else), see the reverse proxy documentation. Advice: have a detailed look at the changed docker run command for AIO.
+{{ t('AIO is currently in "normal mode" which means that it handles the TLS proxying itself. This also means that it cannot be installed behind a web server or reverse proxy (like Apache, Nginx, Caddy, Cloudflare Tunnel and else). If you want to run AIO behind a web server or reverse proxy (like Apache, Nginx, Caddy, Cloudflare Tunnel and else), see the') }} {{ t('reverse proxy documentation') }}. {{ t('Advice: have a detailed look at the changed docker run command for AIO.') }}
{% else %} -AIO is currently in "reverse proxy mode" which means that it can be installed behind a web server or reverse proxy (like Apache, Nginx, Caddy, Cloudflare Tunnel and else) and does not do the TLS proxying itself.
+{{ t('AIO is currently in "reverse proxy mode" which means that it can be installed behind a web server or reverse proxy (like Apache, Nginx, Caddy, Cloudflare Tunnel and else) and does not do the TLS proxying itself.') }}
{% endif %} -Please type in the domain that will be used for Nextcloud and submit it.
+{{ t('Please type in the domain that will be used for Nextcloud and submit it.') }}
{% if skip_domain_validation == true %} -Please note: The domain validation is disabled so any domain will be accepted here! Make sure you do not make a typo here as you will not be able to change it afterwards!
+{{ t('Please note:') }} {{ t('The domain validation is disabled so any domain will be accepted here! Make sure you do not make a typo here as you will not be able to change it afterwards!') }}
{% endif %} {% if skip_domain_validation == false %} -Make sure that this server is reachable on port 443 (port 443/tcp is open/forwarded in your firewall/router and 443/udp as well if you want to enable http3) and that you've correctly set up the DNS config for the domain that you enter (set the A record to your public ipv4-address and if you need ipv6, set the AAAA record to your public ipv6-address. A CNAME record is, of course, also possible). You should see hints on what went wrong in the top right corner if your domain is not accepted.
+{{ t('Make sure that this server is reachable on port 443 (port 443/tcp is open/forwarded in your firewall/router and 443/udp as well if you want to enable http3) and that you\'ve correctly set up the DNS config for the domain that you enter (set the A record to your public ipv4-address and if you need ipv6, set the AAAA record to your public ipv6-address. A CNAME record is, of course, also possible). You should see hints on what went wrong in the top right corner if your domain is not accepted.') }}
Click here for further hints
-If you do not have a domain yet, you can get one for free e.g. from duckdns.org and others. Recommended is to use Tailscale
-If you have a dynamic public IP-address, you can use e.g. DDclient with a compatible domain provider for DNS updates.
-If you only want to install AIO locally without exposing it to the public internet or if you cannot do so, feel free to follow this documentation.
-If you should be using Cloudflare Proxy for your domain, make sure to disable the Proxy feature temporarily as it might block the domain validation attempts.
+{{ t('Click here for further hints') }}
+{{ t('If you do not have a domain yet, you can get one for free e.g. from duckdns.org and others. Recommended is to use') }} Tailscale
+{{ t('If you have a dynamic public IP-address, you can use e.g.') }} DDclient {{ t('with a compatible domain provider for DNS updates.') }}
+{{ t('If you only want to install AIO locally without exposing it to the public internet or if you cannot do so, feel free to follow') }} {{ t('this documentation') }}.
+{{ t('If you should be using Cloudflare Proxy for your domain, make sure to disable the Proxy feature temporarily as it might block the domain validation attempts.') }}
{% if apache_port != '443' %} -If you run into issues with your domain being accepted, see these steps for how to debug things.
+{{ t('If you run into issues with your domain being accepted, see') }} {{ t('these steps') }} {{ t('for how to debug things.') }}
{% endif %} -Hint: If the domain validation fails but you are completely sure that you've configured everything correctly, you may skip the domain validation by following this documentation.
+{{ t('Hint:') }} {{ t('If the domain validation fails but you are completely sure that you\'ve configured everything correctly, you may skip the domain validation by following') }} {{ t('this documentation') }}.
Restore former AIO instance from backup
-You can alternatively restore a former AIO instance from backup.
+{{ t('Restore former AIO instance from backup') }}
+{{ t('You can alternatively restore a former AIO instance from backup.') }}
{% endif %} {% if is_instance_restore_attempt == false %} {% if hasBackupLocation %} {% if borg_backup_mode in ['test', 'check'] %} {% if backup_exit_code > 0 %} -Last {{ borg_backup_mode }} failed! (Logs)
+{{ t('Last') }} {{ borg_backup_mode }} {{ t('failed!') }} ({{ t('Logs') }})
{% if borg_backup_mode == 'test' %} -Please adjust the path and/or the encryption password in order to make it work!
+{{ t('Please adjust the path and/or the encryption password in order to make it work!') }}
{% elseif borg_backup_mode == 'check' %} -The backup archive seems to be corrupt. Please try to use a different intact backup archive or try to fix it by following this documentation
+{{ t('The backup archive seems to be corrupt. Please try to use a different intact backup archive or try to fix it by following') }} {{ t('this documentation') }}
Reveal repair option
-Below is the option to repair the integrity of your backup. Please note: Please only use this after you have read the documentation above! (It will run the command 'borg check --repair' for you.)
+{{ t('Reveal repair option') }}
+{{ t('Below is the option to repair the integrity of your backup.') }} {{ t('Please note:') }} {{ t('Please only use this after you have read the documentation above! (It will run the command \'borg check --repair\' for you.)') }}
+ {% set confirmRepair = t('Check and repair backup integrity? Are you sure that you want to check and repair the backup integrity? This should only be done after reading the mentioned documentation.') %}Last {{ borg_backup_mode }} successful! (Logs)
+{{ t('Last') }} {{ borg_backup_mode }} {{ t('successful!') }} ({{ t('Logs') }})
{% if borg_backup_mode == 'test' %} -Feel free to check the integrity of the backup archive below before starting the restore process in order to make ensure that the restore will work. This can take a long time though depending on the size of the backup archive and is thus not required.
+{{ t('Feel free to check the integrity of the backup archive below before starting the restore process in order to make ensure that the restore will work. This can take a long time though depending on the size of the backup archive and is thus not required.') }}
{% endif %} -Choose the backup that you want to restore and click on the button below to restore the selected backup. This will restore the whole AIO instance. Please note that the current AIO passphrase will be kept and the previous AIO passphrase will not be restored from backup!
-Important: If the backup that you want to restore contained any community container, you need to restore the same backup a second time after this attempt so that the community container data is also correctly restored.
+{{ t('Choose the backup that you want to restore and click on the button below to restore the selected backup. This will restore the whole AIO instance. Please note that the current AIO passphrase will be kept and the previous AIO passphrase will not be restored from backup!') }}
+{{ t('Important:') }} {{ t('If the backup that you want to restore contained any') }} {{ t('community container') }}, {{ t('you need to restore the same backup a second time after this attempt so that the community container data is also correctly restored.') }}
+ {% set confirmRestore = t('⚠️ Important: If the backup that you want to restore contained any community container, you need to restore the same backup a second time after this attempt so that the community container data is also correctly restored.') %} {% endif %} {% elseif borg_backup_mode == 'restore' %} {% if backup_exit_code > 0 %} -Last restore failed! (Logs)
-The restore process has unexpectedly failed! Please adjust the path and encryption password, test it and try to restore again!
+{{ t('Last restore failed!') }} ({{ t('Logs') }})
+{{ t('The restore process has unexpectedly failed! Please adjust the path and encryption password, test it and try to restore again!') }}
{% endif %} {% endif %} {% endif %} @@ -202,51 +204,51 @@ {% if not hasBackupLocation or borg_backup_mode not in ['test', 'check', ''] or backup_exit_code > 0 %} {% if borg_remote_repo and backup_exit_code > 0 %}
- You may still need to authorize this pubkey on your borg remote:
{{ borg_public_key }}
- To try again, resubmit your location and rerun the test.
+ {{ t('You may still need to authorize this pubkey on your borg remote:') }}
{{ borg_public_key }}
+ {{ t('To try again, resubmit your location and rerun the test.') }}
- Please enter the location of the backup archive on your host or a - remote borg repo url - if stored remotely; and the encryption password of the backup archive below and submit all values: + {{ t('Please enter the location of the backup archive on your host or a') }} + {{ t('remote borg repo url') }} + {{ t('if stored remotely; and the encryption password of the backup archive below and submit all values:') }}
{{ include('includes/backup-dirs.twig') }} -⚠️ Please note that the backup archive must be located in a subfolder of the folder that you enter here and the subfolder which contains the archive must be named 'borg', or the backup container will not be able to find the backup archive!
+⚠️ {{ t('Please note that the backup archive must be located in a subfolder of the folder that you enter here and the subfolder which contains the archive must be named \'borg\', or the backup container will not be able to find the backup archive!') }}
{% endif %} {% else %} -Everything set! Click on the button below to test the path and encryption password:
+{{ t('Everything set!') }} {{ t('Click on the button below to test the path and encryption password:') }}
{% endif %} {% endif %} -How to reset the AIO instance?
-If something should be going wrong, for example during the initial installation, you can reset the instance by following this documentation.
+{{ t('How to reset the AIO instance?') }}
+{{ t('If something should be going wrong, for example during the initial installation, you can reset the instance by following') }} {{ t('this documentation') }}.
{% endif %} {% if was_start_button_clicked == true %} {% if current_channel starts with 'latest' or current_channel starts with 'beta' or current_channel starts with 'develop' %} -You are running the {{ current_channel }} channel. (Logs)
+{{ t('You are running the') }} {{ current_channel }} {{ t('channel.') }} ({{ t('Logs') }})
{% else %} -No channel was found. This means that AIO is not able to update itself and its component and will also not be able to report about updates. Updates need to be done externally.
+{{ t('No channel was found. This means that AIO is not able to update itself and its component and will also not be able to report about updates. Updates need to be done externally.') }}
{% endif %} {% endif %} {% if is_backup_container_running == true %} -Backup container is currently running: {{ borg_backup_mode }} (Logs)
- +{{ t('Backup container is currently running:') }} {{ borg_backup_mode }} ({{ t('Logs') }})
+ {% endif %} {% if domain != "" %} @@ -254,30 +256,30 @@ {% if isApacheStarting != true %} {% if hasBackupLocation %}Click here to reveal the initial Nextcloud credentials
+{{ t('Click here to reveal the initial Nextcloud credentials') }}
{% endif %} -Initial Nextcloud username: admin
+{{ t('Initial Nextcloud username:') }} admin
{% if hasBackupLocation %} {# nextcloud_password needs to be duplicated due to a bug in Firefox. See https://github.com/nextcloud/all-in-one/issues/638. #} -Initial Nextcloud password: {{ nextcloud_password }}
{{ t('Initial Nextcloud password:') }} {{ nextcloud_password }}
{% else %} -Initial Nextcloud password: {{ nextcloud_password }}
+{{ t('Initial Nextcloud password:') }} {{ nextcloud_password }}
{% endif %} - +{{ t('Open your Nextcloud ↗') }}
{% if not hasBackupLocation %} -If your Nextcloud does not open when clicking the button above, see this documentation
+{{ t('If your Nextcloud does not open when clicking the button above, see') }} {{ t('this documentation') }}
{% endif %} {% else %} {% if isAnyRestarting == false %} -Containers are currently starting. You might inspect the container logs by clicking on Starting next to each container for further details.
- +{{ t('Containers are currently starting. You might inspect the container logs by clicking on') }} {{ t('Starting') }} {{ t('next to each container for further details.') }}
+ {% else %} -It seems at least one container was not able to start correctly and is currently restarting.
-To break this endless loop, you can stop the containers below and investigate the issue in the container logs before starting the containers again.
+{{ t('It seems at least one container was not able to start correctly and is currently restarting.') }}
+{{ t('To break this endless loop, you can stop the containers below and investigate the issue in the container logs before starting the containers again.') }}
{% endif %} {% endif %} @@ -288,7 +290,7 @@ {% endif %} {% if was_start_button_clicked == true %} -Containers
+{{ t('Containers') }}
-
{# @var containers \AIO\Container\Container[] #}
{% for container in containers %}
@@ -300,15 +302,15 @@
{% if has_update_available == true %}
{% if is_mastercontainer_update_available == false %}
-
⚠️ Container updates are available. Click on Stop containers and Start and update containers to update them. You should consider creating a backup first.
+⚠️ {{ t('Container updates are available. Click on') }} {{ t('Stop containers') }} {{ t('and') }} {{ t('Start and update containers') }} {{ t('to update them. You should consider creating a backup first.') }}
{% endif %} {% else %} {% if is_mastercontainer_update_available == false %} -Your containers are up-to-date.
+{{ t('Your containers are up-to-date.') }}
{% if newMajorVersionString != '' and isAnyRunning == true and isApacheStarting != true %}Note about Nextcloud Hub {{ newMajorVersionString }}
-If you haven't upgraded to Nextcloud Hub {{ newMajorVersionString }} yet and want to do that now, feel free to follow this documentation
+{{ t('Note about') }} Nextcloud Hub {{ newMajorVersionString }}
+{{ t('If you haven\'t upgraded to Nextcloud Hub') }} {{ newMajorVersionString }} {{ t('yet and want to do that now, feel free to follow') }} {{ t('this documentation') }}
⚠️ A mastercontainer update is available. Please click on the button below to stop your containers in order to update the mastercontainer.
+⚠️ {{ t('A mastercontainer update is available. Please click on the button below to stop your containers in order to update the mastercontainer.') }}
{% if current_channel starts with 'latest' %} -You can find the changelog here
+{{ t('You can find the changelog') }} {{ t('here') }}
{% elseif current_channel starts with 'beta' %} -You can find the changelog here
+{{ t('You can find the changelog') }} {{ t('here') }}
{% elseif current_channel starts with 'develop' %} -You can find all changes here
+{{ t('You can find all changes') }} {{ t('here') }}
{% endif %} {% endif %}Restore or Backup currently running. Cannot start the containers until Restore or Backup is complete.
+{{ t('Restore or Backup currently running. Cannot start the containers until Restore or Backup is complete.') }}
{% else %} {% if was_start_button_clicked == false %} -Clicking on the button below will download all docker containers and start them. This can take a long time depending on your internet connection. Since the overall size is a few GB, this can take around 5-10 min or more. Please be patient!
+{{ t('Clicking on the button below will download all docker containers and start them. This can take a long time depending on your internet connection. Since the overall size is a few GB, this can take around 5-10 min or more. Please be patient!') }}
{% endif %} {% if is_mastercontainer_update_available == true %} -⚠️ A mastercontainer update is available. Please click on the button below to update it.
+⚠️ {{ t('A mastercontainer update is available. Please click on the button below to update it.') }}
{% else %} {% if was_start_button_clicked == false %} @@ -354,9 +356,9 @@ {% if newMajorVersionString != '' %} -+
{% endif %} - + {% elseif has_update_available == false %} {% else %} + {% set confirmStartUpdate = t('Start and update containers? You should consider creating a backup first.') %} {% endif %} {% endif %} @@ -386,23 +389,23 @@ {% if was_start_button_clicked == true %} {% if is_backup_section_enabled == false %} -
Backup and restore
-The backup section is disabled via environmental variable.
+{{ t('Backup and restore') }}
+{{ t('The backup section is disabled via environmental variable.') }}
{% else %} {% if is_backup_container_running == false and not hasBackupLocation and isApacheStarting != true %} -Backup and restore
-Please enter the directory path below where backups will be created on the host system and submit it. It's best to choose a location on a separate drive and not on your root drive.
+{{ t('Backup and restore') }}
+{{ t('Please enter the directory path below where backups will be created on the host system and submit it. It\'s best to choose a location on a separate drive and not on your root drive.') }}
- To store backups remotely instead, fill in the - remote borg repo url and submit it. - You will be provided with an SSH public key for authorization at the remote afterwards. + {{ t('To store backups remotely instead, fill in the') }} + {{ t('remote borg repo url and submit it') }}. + {{ t('You will be provided with an SSH public key for authorization at the remote afterwards.') }}
{{ include('includes/backup-dirs.twig') }} {% endif %} @@ -412,45 +415,46 @@ {% if hasBackupLocation %} {% if is_backup_container_running == false %} -Backup and restore
+{{ t('Backup and restore') }}
{% if backup_exit_code > 0 %} -Last {{ borg_backup_mode }} failed! (Logs)
+{{ t('Last') }} {{ borg_backup_mode }} {{ t('failed!') }} ({{ t('Logs') }})
{% if borg_backup_mode == "check" %} -The backup check was not successful. This might indicate a corrupt archive (look at the logs). If that should be the case, you can try to fix it by following this documentation
+{{ t('The backup check was not successful. This might indicate a corrupt archive (look at the logs). If that should be the case, you can try to fix it by following') }} {{ t('this documentation') }}
Reveal repair option
-Below is the option to repair the integrity of your backup. Please note: Please only use this after you have read the documentation above! (It will run the command 'borg check --repair' for you.)
+{{ t('Reveal repair option') }}
+{{ t('Below is the option to repair the integrity of your backup.') }} {{ t('Please note:') }} {{ t('Please only use this after you have read the documentation above! (It will run the command \'borg check --repair\' for you.)') }}
+ {% set confirmRepair = t('Check and repair backup integrity? Are you sure that you want to check and repair the backup integrity? This should only be done after reading the mentioned documentation.') %}The initial backup was not successful.
+{{ t('The initial backup was not successful.') }}
{% if borg_remote_repo %}
- You may still need to authorize this pubkey on your borg remote:
{{ borg_public_key }}
- To try again, click Create backup.
+ {{ t('You may still need to authorize this pubkey on your borg remote:') }}
{{ borg_public_key }}
+ {{ t('To try again, click') }} {{ t('Create backup') }}.
You may change the backup path again since the initial backup was not successful. After submitting the new value, you need to click on Create Backup to test the new value.
+{{ t('You may change the backup path again since the initial backup was not successful. After submitting the new value, you need to click on') }} {{ t('Create Backup') }} {{ t('to test the new value.') }}
{% endif %} {% elseif backup_exit_code == 0 %} {% if borg_backup_mode == "backup" %} -Last {{ borg_backup_mode }} successful on {{ last_backup_time }} UTC! (Logs)
+{{ t('Last') }} {{ borg_backup_mode }} {{ t('successful on') }} {{ last_backup_time }} UTC! ({{ t('Logs') }})
{% else %} -Last {{ borg_backup_mode }} successful! (Logs)
+{{ t('Last') }} {{ borg_backup_mode }} {{ t('successful!') }} ({{ t('Logs') }})
{% endif %} {% endif %} {% endif %} @@ -458,53 +462,56 @@ {% if is_backup_container_running == false and isApacheStarting == false %} {% if has_backup_run_once == true %}Click here to reveal all backup options (including an option for automatic updates)
+{{ t('Click here to reveal all backup options (including an option for automatic updates)') }}
{% endif %} -Backup information
-This is your encryption password for backups: {{ borgbackup_password }}
-Please save this password in a safe place. You won't be able to restore from backup if you lose this password!
-All important data from your Nextcloud AIO instance such as the database, your files and the mastercontainer's configuration files, will be backed up.
-The backup uses a tool called BorgBackup, a well-known server backup tool that efficiently backs up your files and encrypts them on the fly.
-By using this tool, backups are incremental, differential, compressed and encrypted – so only the first backup will take a while. Further backups should be fast as only changes are taken into account.
+{{ t('Backup information') }}
+{{ t('This is your encryption password for backups:') }} {{ borgbackup_password }}
+{{ t('Please save this password in a safe place. You won\'t be able to restore from backup if you lose this password!') }}
+{{ t('All important data from your Nextcloud AIO instance such as the database, your files and the mastercontainer\'s configuration files, will be backed up.') }}
+{{ t('The backup uses a tool called') }} BorgBackup, {{ t('a well-known server backup tool that efficiently backs up your files and encrypts them on the fly.') }}
+{{ t('By using this tool, backups are incremental, differential, compressed and encrypted – so only the first backup will take a while. Further backups should be fast as only changes are taken into account.') }}
{% if borg_remote_repo != '' %}
- Backups get created remotely at:
+ {{ t('Backups get created remotely at:') }}
{{ borg_remote_repo }}
{% if has_backup_run_once == true %}
-
Your borg ssh public key is:
{{ borg_public_key }}
+
{{ t('Your borg ssh public key is:') }}
{{ borg_public_key }}
{% endif %}
Backups will be created in the following directory on the host: {{ borg_backup_host_location }}/borg
+{{ t('Backups will be created in the following directory on the host:') }} {{ borg_backup_host_location }}/borg
{% endif %} -Be aware that this solution does not backup files and folders that are mounted into Nextcloud using the external storage app, but you can add further Docker volumes and host paths that you want to back up after the initial backup is done.
-For information about backup retention, see this.
-Daily backups can be enabled after the initial backup is done. Enabling this also allows you to enable an option to update all containers, Nextcloud, and its apps automatically.
-For further documentation and options on this backup solution refer to this section and below.
+{{ t('Be aware that this solution does not backup files and folders that are mounted into Nextcloud using the external storage app, but you can add further Docker volumes and host paths that you want to back up after the initial backup is done.') }}
+{{ t('For information about backup retention, see') }} {{ t('this') }}.
+{{ t('Daily backups can be enabled after the initial backup is done. Enabling this also allows you to enable an option to update all containers, Nextcloud, and its apps automatically.') }}
+{{ t('For further documentation and options on this backup solution refer to') }} {{ t('this section') }} {{ t('and below.') }}
{% if isApacheStarting != true %} -Backup creation
-Clicking on the button below will create a backup.
+{{ t('Backup creation') }}
+{{ t('Clicking on the button below will create a backup.') }}
+ {% set confirmBackup = t('Create backup? Are you sure that you want to create a backup? This will stop all running containers and create the backup.') %} {% if has_backup_run_once == true %} -Backup Viewer
-There is now a community container that allows to access your backups in a web session. See this documentation.
+{{ t('Backup Viewer') }}
+{{ t('There is now a community container that allows to access your backups in a web session. See') }} {{ t('this documentation') }}.
-Backup check
-Click on the button below to perform a backup integrity check. This is an option that verifies that your backup is intact. It shouldn't be needed in most situations.
+{{ t('Backup check') }}
+{{ t('Click on the button below to perform a backup integrity check. This is an option that verifies that your backup is intact. It shouldn\'t be needed in most situations.') }}
+ {% set confirmCheck = t('Check backup integrity? Are you sure that you want to check the backup? This can take a long time depending on the size of your backup.') %} -Backup restore
-Choose the backup that you want to restore and click on the button below to restore the selected backup. This will overwrite all your files with the chosen backup so you should consider creating a backup first. You can run an integrity check before restoring your files but this shouldn't be needed in most situations. Please note that this will not restore additionally chosen backup directories! The restore process should be pretty fast as rsync, which only transfers changed files, is used to restore the chosen backup.
+{{ t('Backup restore') }}
+{{ t('Choose the backup that you want to restore and click on the button below to restore the selected backup. This will overwrite all your files with the chosen backup so you should consider creating a backup first. You can run an integrity check before restoring your files but this shouldn\'t be needed in most situations. Please note that this will not restore additionally chosen backup directories! The restore process should be pretty fast as rsync, which only transfers changed files, is used to restore the chosen backup.') }}
+ {% set confirmRestoreSelected = t('Restore the selected backup? Are you sure that you want to restore the selected backup? This will stop all running containers and restore the selected backup. It is recommended to create a backup first. You might also want to check the backup integrity.') %} -Update backup list
+{{ t('Update backup list') }}
Click here to reveal this option
-If you use an external snapshot tool to restore the server that runs AIO, you might run into a problem that the above listed available backups are not up-to-date to restore your server from. You can click the button below to update this list.
+{{ t('Click here to reveal this option') }}
+{{ t('If you use an external snapshot tool to restore the server that runs AIO, you might run into a problem that the above listed available backups are not up-to-date to restore your server from. You can click the button below to update this list.') }}
Daily backup and automatic updates
+{{ t('Daily backup and automatic updates') }}
{% if daily_backup_time == "" %} -By entering a time below and submitting it, you can enable daily backups. It will create them at the entered time in 24h format. E.g. 04:00 will create backups at 4 am UTC and 16:00 at 4 pm UTC. When creating the backup, containers will be stopped and restarted after the backup is complete.
+{{ t('By entering a time below and submitting it, you can enable daily backups. It will create them at the entered time in 24h format. E.g.') }} 04:00 {{ t('will create backups at 4 am UTC and') }} 16:00 {{ t('at 4 pm UTC. When creating the backup, containers will be stopped and restarted after the backup is complete.') }}
{% else %} -Daily backups will be created at {{ daily_backup_time }} UTC. A notification about the result of the backup will be sent.
+{{ t('Daily backups will be created at') }} {{ daily_backup_time }} UTC. {{ t('A notification about the result of the backup will be sent.') }}
{% if automatic_updates == true %} - Also your containers, the mastercontainer and, on Saturdays, your Nextcloud apps will be automatically updated. + {{ t('Also your containers, the mastercontainer and, on Saturdays, your Nextcloud apps will be automatically updated.') }} {% endif %} -To change your backup time first disable Daily Backups, then enter your new backup time, and then re-enable them.
+{{ t('To change your backup time first disable Daily Backups, then enter your new backup time, and then re-enable them.') }}
{% endif %} -Back up additional directories and docker volumes of your host
-Below you can enter directories and docker volumes of your host that will be backed up into the same borg backup archive. Make sure to press the submit button after changing anything.
+{{ t('Back up additional directories and docker volumes of your host') }}
+{{ t('Below you can enter directories and docker volumes of your host that will be backed up into the same borg backup archive. Make sure to press the submit button after changing anything.') }}
-Each line and entry needs to start with a slash or letter/digit. Only a-z, A-Z, ., 0-9, _, -, and / are allowed. If the entry begins with a letter/digit slashes are not supported. Two valid entries are /directory/on/the/host and my_custom_docker_volume. You need to make sure that all given directories exist or the backup container will fail to start!
-Be sure to individually specify all storage that you want to back up as storage will not be mounted recursively. E.g. providing / as additional backup directory will only back up files and folders that are stored on the root partition and not on the EFI partition or any other. Excluded by the backup will be caches and a few other directories. If you want to back up the root partition you should make sure to stop all services before the backup so it can run correctly. For automating this see this documentation
-Please note that the chosen directories/volumes will not be restored when you restore your instance, so this would need to be done manually.
+{{ t('Each line and entry needs to start with a slash or letter/digit. Only') }} a-z, A-Z, ., 0-9, _, -, {{ t('and') }} / {{ t('are allowed. If the entry begins with a letter/digit slashes are not supported. Two valid entries are') }} /directory/on/the/host {{ t('and') }} my_custom_docker_volume. {{ t('You need to make sure that all given directories exist or the backup container will fail to start!') }}
+{{ t('Be sure to individually specify all storage that you want to back up as storage will not be mounted recursively. E.g. providing') }} / {{ t('as additional backup directory will only back up files and folders that are stored on the root partition and not on the EFI partition or any other. Excluded by the backup will be caches and a few other directories. If you want to back up the root partition you should make sure to stop all services before the backup so it can run correctly. For automating this see') }} {{ t('this documentation') }}
+{{ t('Please note that the chosen directories/volumes will not be restored when you restore your instance, so this would need to be done manually.') }}
{% if additional_backup_directories != "" %} -This option is currently set. You can disable it again by clearing the field and submitting your changes.
+{{ t('This option is currently set. You can disable it again by clearing the field and submitting your changes.') }}
{% endif %} {% endif %} -Reset backup location
+{{ t('Reset backup location') }}
- If the configured backup host location {{ borg_backup_host_location }} + {{ t('If the configured backup host location') }} {{ borg_backup_host_location }} {% if borg_remote_repo %} - or the remote repo {{ borg_remote_repo }} + {{ t('or the remote repo') }} {{ borg_remote_repo }} {% endif %} - is wrong or if you want to reset the backup location due to other reasons, you can do so by clicking on the button below. + {{ t('is wrong or if you want to reset the backup location due to other reasons, you can do so by clicking on the button below.') }}
+ {% set confirmResetLocation = t('Are you sure that you want to reset the backup location?') %} {% endif %} {% if has_backup_run_once == true %} @@ -592,18 +600,18 @@ {% if is_backup_container_running == false %} {% if isApacheStarting == false %} -AIO passphrase change
+{{ t('AIO passphrase change') }}
Click here to change your AIO passphrase
-You can change your AIO passphrase below:
+{{ t('Click here to change your AIO passphrase') }}
+{{ t('You can change your AIO passphrase below:') }}
-The new passphrase needs to be at least 24 characters long. Allowed characters are the latin characters a-z, A-Z, 0-9 and spaces.
+{{ t('The new passphrase needs to be at least 24 characters long. Allowed characters are the') }} {{ t('latin characters') }} a-z, A-Z, 0-9 {{ t('and spaces.') }}
Timezone change
+{{ t('Timezone change') }}
{% if isAnyRunning == true %} {% if timezone != "" %} -The timezone for Nextcloud is currently set to {{ timezone }}.
+{{ t('The timezone for Nextcloud is currently set to') }} {{ timezone }}.
{% endif %} -Please note: You can change the timezone when your containers are stopped.
+{{ t('Please note:') }} {{ t('You can change the timezone when your containers are stopped.') }}
{% else %} {% if timezone == "" %} -To get the correct time values for certain Nextcloud features, set the timezone for Nextcloud to the one that your users mainly use. Please note that this setting does not apply to the mastercontainer and any backup option.
-You can configure the timezone for Nextcloud below (Do not forget to submit the value!):
+{{ t('To get the correct time values for certain Nextcloud features, set the timezone for Nextcloud to the one that your users mainly use. Please note that this setting does not apply to the mastercontainer and any backup option.') }}
+{{ t('You can configure the timezone for Nextcloud below (Do not forget to submit the value!):') }}
+ {% set confirmTimezone = t('Are you sure that this is a valid timezone? Please double check by following the wikipedia article and checking the correct column. If the timezone is not valid, it will break the startup since the database will not be correctly initialized and you will end up in a startup loop.') %} -You need to make sure that the timezone that you enter is valid. An example is Europe/Berlin. You can get valid values by looking at the 'TZ identifier' column of this list: click here. The default is Etc/UTC if nothing is entered.
+{{ t('You need to make sure that the timezone that you enter is valid. An example is') }} Europe/Berlin. {{ t('You can get valid values by looking at the \'TZ identifier\' column of this list:') }} {{ t('click here') }}. {{ t('The default is') }} Etc/UTC {{ t('if nothing is entered.') }}
{% else %} -The timezone for Nextcloud is currently set to {{ timezone }}. You can change the timezone by clicking on the button below.
+{{ t('The timezone for Nextcloud is currently set to') }} {{ timezone }}. {{ t('You can change the timezone by clicking on the button below.') }}
{% endif %} {% endif %} diff --git a/php/templates/includes/aio-config.twig b/php/templates/includes/aio-config.twig index fbb70230..5f5d5d2d 100644 --- a/php/templates/includes/aio-config.twig +++ b/php/templates/includes/aio-config.twig @@ -1,44 +1,44 @@Click here to view the current AIO config and documentation links
+{{ t('Click here to view the current AIO config and documentation links') }}
{% if was_start_button_clicked == true %} -Nextcloud's config.php file is stored in the nextcloud_aio_nextcloud Docker volume and can be edited by following the config.php documentation.
-You can run Nextcloud's usual occ commands by following the occ documentation.
+{{ t('Nextcloud\'s config.php file is stored in the nextcloud_aio_nextcloud Docker volume and can be edited by following the') }} {{ t('config.php documentation') }}.
+{{ t('You can run Nextcloud\'s usual occ commands by following the') }} {{ t('occ documentation') }}.
{% endif %}{% if nextcloud_datadir starts with '/' %} - Nextcloud's datadir is getting stored in the {{ nextcloud_datadir }} directory. + {{ t('Nextcloud\'s datadir is getting stored in the') }} {{ nextcloud_datadir }} {{ t('directory.') }} {% else %} - Nextcloud's datadir is getting stored in the {{ nextcloud_datadir }} Docker volume. + {{ t('Nextcloud\'s datadir is getting stored in the') }} {{ nextcloud_datadir }} {{ t('Docker volume.') }} {% endif %} - See the NEXTCLOUD_DATADIR documentation on how to change this. + {{ t('See the') }} {{ t('NEXTCLOUD_DATADIR documentation') }} {{ t('on how to change this.') }}
{% if nextcloud_mount == '' %} - The Nextcloud container is confined and local external storage in Nextcloud is disabled. + {{ t('The Nextcloud container is confined and local external storage in Nextcloud is disabled.') }} {% else %} - The Nextcloud container is getting access to the {{ nextcloud_mount }} directory and local external storage in Nextcloud is enabled. + {{ t('The Nextcloud container is getting access to the') }} {{ nextcloud_mount }} {{ t('directory and local external storage in Nextcloud is enabled.') }} {% endif %} - See the NEXTCLOUD_MOUNT documentation on how to change this.
+ {{ t('See the') }} {{ t('NEXTCLOUD_MOUNT documentation') }} {{ t('on how to change this.') }} -Nextcloud has an upload limit of {{ nextcloud_upload_limit }} configured (for public link uploads. Bigger uploads are always possible when users are logged in). See the NEXTCLOUD_UPLOAD_LIMIT documentation on how to change this.
+{{ t('Nextcloud has an upload limit of') }} {{ nextcloud_upload_limit }} {{ t('configured (for public link uploads. Bigger uploads are always possible when users are logged in). See the') }} {{ t('NEXTCLOUD_UPLOAD_LIMIT documentation') }} {{ t('on how to change this.') }}
-For Nextcloud, a memory limit of {{ nextcloud_memory_limit }} per PHP process is configured. See the NEXTCLOUD_MEMORY_LIMIT documentation on how to change this.
+{{ t('For Nextcloud, a memory limit of') }} {{ nextcloud_memory_limit }} {{ t('per PHP process is configured. See the') }} {{ t('NEXTCLOUD_MEMORY_LIMIT documentation') }} {{ t('on how to change this.') }}
-Nextcloud has a timeout of {{ nextcloud_max_time }} seconds configured (important for big file uploads). See the NEXTCLOUD_MAX_TIME documentation on how to change this.
+{{ t('Nextcloud has a timeout of') }} {{ nextcloud_max_time }} {{ t('seconds configured (important for big file uploads). See the') }} {{ t('NEXTCLOUD_MAX_TIME documentation') }} {{ t('on how to change this.') }}
{% if is_dri_device_enabled == true and is_nvidia_gpu_enabled == true %} - Hardware acceleration is enabled with the /dev/dri device and the Nvidia runtime. + {{ t('Hardware acceleration is enabled with the /dev/dri device and the Nvidia runtime.') }} {% elseif is_dri_device_enabled == true %} - Hardware acceleration is enabled with the /dev/dri device. + {{ t('Hardware acceleration is enabled with the /dev/dri device.') }} {% elseif is_nvidia_gpu_enabled == true %} - Hardware acceleration is enabled with the Nvidia runtime. + {{ t('Hardware acceleration is enabled with the Nvidia runtime.') }} {% else %} - Hardware acceleration is not enabled. It's recommended to enable hardware transcoding for better performance. + {{ t('Hardware acceleration is not enabled. It\'s recommended to enable hardware transcoding for better performance.') }} {% endif %} - See the hardware acceleration documentation on how to change this.
+ {{ t('See the') }} {{ t('hardware acceleration documentation') }} {{ t('on how to change this.') }} -For further documentation on AIO, refer to this page. You can use the browser search [CTRL]+[F] to search through the documentation. Additional documentation can be found here.
-{{ t('For further documentation on AIO, refer to') }} {{ t('this page') }}. {{ t('You can use the browser search [CTRL]+[F] to search through the documentation. Additional documentation can be found') }} {{ t('here') }}.
+The folder path that you enter must start with / and must not end with /.
-An example for Linux is /mnt/backup.
-On Synology it could be /volume1/docker/nextcloud/backup.
-For macOS it may be /var/backup.
-On Windows it might be /run/desktop/mnt/host/c/backup. (This path is equivalent to 'C:\backup' on your Windows host so you need to translate the path accordingly. Hint: the path that you enter needs to start with '/run/desktop/mnt/host/'. Append to that the exact location on your windows host, e.g. 'c/backup' which is equivalent to 'C:\backup'.) ⚠️ Please note: This does not work with external drives like USB or network drives and only with internal drives like SATA or NVME drives.
-Another option is to enter a specific volume name here: nextcloud_aio_backupdir. This volume needs to be created beforehand manually by you in order to be able to use it. See this documentation for an example.
+{{ t('The folder path that you enter must start with') }} / {{ t('and must') }} {{ t('not') }} {{ t('end with') }} /.
+{{ t('An example for Linux is') }} /mnt/backup.
+{{ t('On Synology it could be') }} /volume1/docker/nextcloud/backup.
+{{ t('For macOS it may be') }} /var/backup.
+{{ t('On Windows it might be') }} /run/desktop/mnt/host/c/backup. ({{ t('This path is equivalent to \'C:\\backup\' on your Windows host so you need to translate the path accordingly. Hint: the path that you enter needs to start with \'/run/desktop/mnt/host/\'. Append to that the exact location on your windows host, e.g. \'c/backup\' which is equivalent to \'C:\\backup\'.') }}) ⚠️ {{ t('Please note') }}: {{ t('This does not work with external drives like USB or network drives and only with internal drives like SATA or NVME drives.') }}
+{{ t('Another option is to enter a specific volume name here:') }} nextcloud_aio_backupdir. {{ t('This volume needs to be created beforehand manually by you in order to be able to use it. See') }} {{ t('this documentation') }} {{ t('for an example.') }}
\ No newline at end of file diff --git a/php/templates/includes/community-containers.twig b/php/templates/includes/community-containers.twig index 66cceb2b..6f7c34e0 100644 --- a/php/templates/includes/community-containers.twig +++ b/php/templates/includes/community-containers.twig @@ -1,13 +1,13 @@ -Community Containers
-In this section you can enable or disable optional Community Containers that are not included by default in the main installation. These containers are provided by the community and can be useful for various purposes and are automatically integrated in AIOs backup solution and update mechanisms.
-⚠️ Caution: Community Containers are maintained by the community and not officially by Nextcloud. Some containers may not be compatible with your system, may not work as expected or may discontinue. Use them at your own risk. Please read the documentation for each container first before adding any as some are also incompatible between each other! Never add all of them at the same time!
+{{ t('Community Containers') }}
+{{ t('In this section you can enable or disable optional Community Containers that are not included by default in the main installation. These containers are provided by the community and can be useful for various purposes and are automatically integrated in AIOs backup solution and update mechanisms.') }}
+⚠️ {{ t('Caution:') }} {{ t('Community Containers are maintained by the community and not officially by Nextcloud. Some containers may not be compatible with your system, may not work as expected or may discontinue. Use them at your own risk. Please read the documentation for each container first before adding any as some are also incompatible between each other! Never add all of them at the same time!') }}
{% if isAnyRunning == true %} -Please note: You can enable or disable the options below only when your containers are stopped.
+{{ t('Please note:') }} {{ t('You can enable or disable the options below only when your containers are stopped.') }}
{% else %} -Please note: Make sure to save your changes by clicking Save changes below the list of Community Containers. The changes will not be auto-saved.
+{{ t('Please note:') }} {{ t('Make sure to save your changes by clicking') }} {{ t('Save changes') }} {{ t('below the list of Community Containers. The changes will not be auto-saved.') }}
{% endif %}Show/Hide available Community Containers
+{{ t('Show/Hide available Community Containers') }}
-Optional containers
-In this section you can enable or disable optional containers.
+{{ t('Optional containers') }}
+{{ t('In this section you can enable or disable optional containers.') }}
{% if isAnyRunning == true %} -Please note: You can enable or disable the options below only when your containers are stopped.
+{{ t('Please note:') }} {{ t('You can enable or disable the options below only when your containers are stopped.') }}
{% else %} -Please note: Make sure to save your changes by clicking Save changes below the list of optional containers. The changes will not be auto-saved.
+{{ t('Please note:') }} {{ t('Make sure to save your changes by clicking') }} {{ t('Save changes') }} {{ t('below the list of optional containers. The changes will not be auto-saved.') }}
{% endif %} -Minimal system requirements: When any optional container is enabled, at least 2GB RAM, a dual-core CPU and 40GB system storage are required. When enabling ClamAV, Nextcloud Talk Recording-server or Fulltextsearch, at least 3GB RAM are required. For Talk Recording-server additional 2 vCPUs are required. When enabling everything, at least 5GB RAM and a quad-core CPU are required. Recommended are at least 1GB more RAM than the minimal requirement. For further advice and recommendations see this documentation
+{{ t('Minimal system requirements:') }} {{ t('When any optional container is enabled, at least 2GB RAM, a dual-core CPU and 40GB system storage are required. When enabling ClamAV, Nextcloud Talk Recording-server or Fulltextsearch, at least 3GB RAM are required. For Talk Recording-server additional 2 vCPUs are required. When enabling everything, at least 5GB RAM and a quad-core CPU are required. Recommended are at least 1GB more RAM than the minimal requirement. For further advice and recommendations see') }} {{ t('this documentation') }}
{% if isAnyRunning == true %} @@ -245,46 +245,46 @@ {% endif %} {% if is_collabora_enabled == true and isAnyRunning == false and was_start_button_clicked == true %} -Nextcloud Office dictionaries
+{{ t('Nextcloud Office dictionaries') }}
{% if collabora_dictionaries == "" %} -In order to get the correct dictionaries in Nextcloud Office, you may configure the dictionaries below:
+{{ t('In order to get the correct dictionaries in Nextcloud Office, you may configure the dictionaries below:') }}
-You need to make sure that the dictionaries that you enter are valid. An example is de_DE en_GB en_US es_ES fr_FR it nl pt_BR pt_PT ru.
+{{ t('You need to make sure that the dictionaries that you enter are valid. An example is') }} de_DE en_GB en_US es_ES fr_FR it nl pt_BR pt_PT ru.
{% else %} -The dictionaries for Nextcloud Office are currently set to {{ collabora_dictionaries }}. You can reset them again by clicking on the button below.
+{{ t('The dictionaries for Nextcloud Office are currently set to') }} {{ collabora_dictionaries }}. {{ t('You can reset them again by clicking on the button below.') }}
{% endif %} -Additional Nextcloud Office options
+{{ t('Additional Nextcloud Office options') }}
{% if collabora_additional_options == "" %} -You can configure additional options for Nextcloud Office below.
-(This can be used for configuring the net.content_security_policy and more. Make sure to submit the value!)
+{{ t('You can configure additional options for Nextcloud Office below.') }}
+({{ t('This can be used for configuring the net.content_security_policy and more. Make sure to submit the value!') }})
-You need to make sure that the options that you enter are valid. An example is --o:net.content_security_policy=frame-ancestors *.example.com:*;.
+{{ t('You need to make sure that the options that you enter are valid. An example is') }} --o:net.content_security_policy=frame-ancestors *.example.com:*;.
{% else %} -The additioinal options for Nextcloud Office are currently set to {{ collabora_additional_options }}. You can reset them again by clicking on the button below.
+{{ t('The additional options for Nextcloud Office are currently set to') }} {{ collabora_additional_options }}. {{ t('You can reset them again by clicking on the button below.') }}
{% endif %} -{% endif %} +{% endif %} \ No newline at end of file