diff options
author | Kenneth Hsu <kennethhsu@gmail.com> | 2020-12-05 23:31:00 +0300 |
---|---|---|
committer | Kenneth Hsu <kennethhsu@gmail.com> | 2020-12-06 01:23:44 +0300 |
commit | 8a74df50ad20814fe7a732ee7f6924f9c5f25bd2 (patch) | |
tree | 54ab45473e33fac5102c763430abc7cea72b37ab /Duplicati/Server | |
parent | 7d958adb8a71b334834ce42ecc9571c78e8a259e (diff) |
Remove newline characters from HTML strings.
These don't get interpreted as line breaks, and the resulting characters
get converted to \\n in the localization_webroot.pot translation source
file, which prevents translation of these strings.
This concerns the following comment in issue #2209:
https://github.com/duplicati/duplicati/issues/2209#issuecomment-590856779
Diffstat (limited to 'Duplicati/Server')
-rw-r--r-- | Duplicati/Server/webroot/ngax/templates/localdatabase.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Duplicati/Server/webroot/ngax/templates/localdatabase.html b/Duplicati/Server/webroot/ngax/templates/localdatabase.html index 38f245b1c..8f3011223 100644 --- a/Duplicati/Server/webroot/ngax/templates/localdatabase.html +++ b/Duplicati/Server/webroot/ngax/templates/localdatabase.html @@ -5,12 +5,12 @@ </h1> <div> - {{'Each backup has a local database associated with it, which stores information about the remote backup on the local machine.\nThis makes it faster to perform many operations, and reduces the amount of data that needs to be downloaded for each operation.' | translate}} + {{'Each backup has a local database associated with it, which stores information about the remote backup on the local machine. This makes it faster to perform many operations, and reduces the amount of data that needs to be downloaded for each operation.' | translate}} </div> <h2 translate>Maintenance</h2> <div> - {{'If the backup and the remote storage is out of sync, Duplicati will require that you perform a repair operation to synchronize the database.\nIf the repair is unsuccesful, you can delete the local database and re-generate.' | translate}} + {{'If the backup and the remote storage is out of sync, Duplicati will require that you perform a repair operation to synchronize the database. If the repair is unsuccesful, you can delete the local database and re-generate.' | translate}} </div> <div> </div> |