Fix #40
This commit is contained in:
parent
e14e58e0ff
commit
57cf403624
|
@ -37,6 +37,10 @@ msgstr ""
|
|||
msgid "A thank you with a photo of kitten on <a href=\"https://framasphere.org/people/b13eb6b0beac0131e7e32a0000053625\" class=\"classic\">Diaspora*</a> or <a href=\"https://twitter.com/framasky\" class=\"classic\">Twitter</a> is cool too ;-)"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/render.html.ep:34
|
||||
msgid "Abort"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/layouts/default.html.ep:40 themes/default/templates/layouts/default.html.ep:52
|
||||
msgid "About"
|
||||
msgstr ""
|
||||
|
@ -46,7 +50,7 @@ msgid "As Lufi is a free software licensed under of the terms of the <a href=\"h
|
|||
msgstr ""
|
||||
|
||||
#. (stash('f')
|
||||
#: themes/default/templates/render.html.ep:39
|
||||
#: themes/default/templates/render.html.ep:44
|
||||
msgid "Asking for file part XX1 of %1"
|
||||
msgstr ""
|
||||
|
||||
|
@ -54,6 +58,10 @@ msgstr ""
|
|||
msgid "Back to homepage"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/render.html.ep:40
|
||||
msgid "Click here to refresh the page and restart the download."
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/index.html.ep:72
|
||||
msgid "Click to open the file browser"
|
||||
msgstr ""
|
||||
|
@ -102,10 +110,14 @@ msgstr ""
|
|||
msgid "Don't worry: if a user begins to download the file before the expiration and the download ends after the expiration, he will be able to get the file."
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/index.html.ep:98 themes/default/templates/render.html.ep:38
|
||||
#: themes/default/templates/index.html.ep:98
|
||||
msgid "Download"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/render.html.ep:39
|
||||
msgid "Download aborted."
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/files.html.ep:25 themes/default/templates/index.html.ep:97
|
||||
msgid "Download link"
|
||||
msgstr ""
|
||||
|
@ -166,6 +178,10 @@ msgstr ""
|
|||
msgid "File name"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/render.html.ep:43
|
||||
msgid "Get the file"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:19
|
||||
msgid "Get the source code on <a href=\"https://git.framasoft.org/luc/lufi\" class=\"classic\">the official repository</a> or on its <a href=\"https://github.com/ldidry/lufi\" class=\"classic\">Github mirror</a>"
|
||||
msgstr ""
|
||||
|
@ -218,7 +234,7 @@ msgstr ""
|
|||
msgid "Information about delays"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/render.html.ep:36
|
||||
#: themes/default/templates/render.html.ep:41
|
||||
msgid "It seems that the key in your URL is incorrect. Please, verify your URL."
|
||||
msgstr ""
|
||||
|
||||
|
@ -265,7 +281,7 @@ msgid "Please contact the administrator: %1"
|
|||
msgstr ""
|
||||
|
||||
#: themes/default/templates/render.html.ep:25
|
||||
msgid "Please wait while we are getting your file"
|
||||
msgid "Please wait while we are getting your file. We first need to download and decrypt all parts before you can get it."
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:5
|
||||
|
@ -414,11 +430,11 @@ msgstr ""
|
|||
msgid "You don't need to register yourself to upload files but be aware that, for legal reasons, your IP address will be stored when you send a file. Don't panic, this is normally the case for all sites on which you send files."
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/render.html.ep:40
|
||||
#: themes/default/templates/render.html.ep:45
|
||||
msgid "You don't seem to have a key in your URL. You won't be able to decrypt the file. Download canceled."
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/render.html.ep:37
|
||||
#: themes/default/templates/render.html.ep:42
|
||||
msgid "You have attempted to leave this page. The download will be canceled. Are you sure?"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -39,6 +39,10 @@ msgstr " :"
|
|||
msgid "A thank you with a photo of kitten on <a href=\"https://framasphere.org/people/b13eb6b0beac0131e7e32a0000053625\" class=\"classic\">Diaspora*</a> or <a href=\"https://twitter.com/framasky\" class=\"classic\">Twitter</a> is cool too ;-)"
|
||||
msgstr "Un merci avec une photo de chaton sur <a href=\"https://framasphere.org/people/b13eb6b0beac0131e7e32a0000053625\" class=\"classic\">Diaspora*</a> ou <a href=\"https://twitter.com/framasky\" class=\"classic\">Twitter</a> fait aussi l’affaire ;-)"
|
||||
|
||||
#: themes/default/templates/render.html.ep:34
|
||||
msgid "Abort"
|
||||
msgstr "Abandonner"
|
||||
|
||||
#: themes/default/templates/layouts/default.html.ep:40 themes/default/templates/layouts/default.html.ep:52
|
||||
msgid "About"
|
||||
msgstr "À propos"
|
||||
|
@ -48,7 +52,7 @@ msgid "As Lufi is a free software licensed under of the terms of the <a href=\"h
|
|||
msgstr "Comme Lufi est un logiciel libre soumis aux termes de la license <a href=\"https://gnu.org/licenses/agpl.html\" class=\"classic\">AGPLv3</a>, vous pouvez l’installer sur votre propre serveur. Veuillez consulter le <a href=\"https://git.framasoft.org/luc/lufi/wikis/home\" class=\"classic\">Wiki</a> pour voir la procédure."
|
||||
|
||||
#. (stash('f')
|
||||
#: themes/default/templates/render.html.ep:39
|
||||
#: themes/default/templates/render.html.ep:44
|
||||
msgid "Asking for file part XX1 of %1"
|
||||
msgstr "Demande de récupération du fragment de fichier XX1 sur %1"
|
||||
|
||||
|
@ -56,6 +60,10 @@ msgstr "Demande de récupération du fragment de fichier XX1 sur %1"
|
|||
msgid "Back to homepage"
|
||||
msgstr "Retour à la page d’accueil"
|
||||
|
||||
#: themes/default/templates/render.html.ep:40
|
||||
msgid "Click here to refresh the page and restart the download."
|
||||
msgstr "Cliquez ici pour rafraîchir la page et redémarrer le téléchargement."
|
||||
|
||||
#: themes/default/templates/index.html.ep:72
|
||||
msgid "Click to open the file browser"
|
||||
msgstr "Cliquez pour ouvrir le navigateur de fichiers"
|
||||
|
@ -104,10 +112,14 @@ msgstr "Lien de suppression"
|
|||
msgid "Don't worry: if a user begins to download the file before the expiration and the download ends after the expiration, he will be able to get the file."
|
||||
msgstr "Ne vous inquiétez pas : si un utilisateur commence à télécharger le fichier avant son expiration et que le téléchargement se termine après l’expiration, l’utilisateur pourra quand même récupérer le fichier."
|
||||
|
||||
#: themes/default/templates/index.html.ep:98 themes/default/templates/render.html.ep:38
|
||||
#: themes/default/templates/index.html.ep:98
|
||||
msgid "Download"
|
||||
msgstr "Télécharger"
|
||||
|
||||
#: themes/default/templates/render.html.ep:39
|
||||
msgid "Download aborted."
|
||||
msgstr "Téléchargement abandonné."
|
||||
|
||||
#: themes/default/templates/files.html.ep:25 themes/default/templates/index.html.ep:97
|
||||
msgid "Download link"
|
||||
msgstr "Lien de téléchargement"
|
||||
|
@ -168,6 +180,10 @@ msgstr "Fichier supprimé"
|
|||
msgid "File name"
|
||||
msgstr "Nom du fichier"
|
||||
|
||||
#: themes/default/templates/render.html.ep:43
|
||||
msgid "Get the file"
|
||||
msgstr "Récupérez le fichier"
|
||||
|
||||
#: themes/default/templates/about.html.ep:19
|
||||
msgid "Get the source code on <a href=\"https://git.framasoft.org/luc/lufi\" class=\"classic\">the official repository</a> or on its <a href=\"https://github.com/ldidry/lufi\" class=\"classic\">Github mirror</a>"
|
||||
msgstr "Récupérez le code source sur <a href=\"https://git.framasoft.org/luc/lufi\" class=\"classic\">le dépôt officiel</a> ou sur son <a href=\"https://github.com/ldidry/lufi\" class=\"classic\">miroir Github</a>."
|
||||
|
@ -220,7 +236,7 @@ msgstr "Important : plus d’informations sur les délais"
|
|||
msgid "Information about delays"
|
||||
msgstr "Information sur les délais"
|
||||
|
||||
#: themes/default/templates/render.html.ep:36
|
||||
#: themes/default/templates/render.html.ep:41
|
||||
msgid "It seems that the key in your URL is incorrect. Please, verify your URL."
|
||||
msgstr "Il semble que la clé dans votre URL soit incorrecte. Veuillez vérifier votre URL."
|
||||
|
||||
|
@ -267,8 +283,8 @@ msgid "Please contact the administrator: %1"
|
|||
msgstr "Veuillez contacter l’administrateur : %1"
|
||||
|
||||
#: themes/default/templates/render.html.ep:25
|
||||
msgid "Please wait while we are getting your file"
|
||||
msgstr "Veuillez patienter pendant la récupération de votre fichier"
|
||||
msgid "Please wait while we are getting your file. We first need to download and decrypt all parts before you can get it."
|
||||
msgstr "Veuillez patientez pendant que la récupération de votre fichier. Nous devons d'abord récupérer et déchiffrer tous les fragments avant que vous puissiez le télécharger."
|
||||
|
||||
#: themes/default/templates/about.html.ep:5
|
||||
msgid "Privacy"
|
||||
|
@ -416,11 +432,11 @@ msgstr "Vous pouvez voir la liste de vos fichiers en cliquant sur le lien « Mes
|
|||
msgid "You don't need to register yourself to upload files but be aware that, for legal reasons, your IP address will be stored when you send a file. Don't panic, this is normally the case for all sites on which you send files."
|
||||
msgstr "Vous n’avez pas besoin de vous enregistrer pour envoyer des fichiers mais notez que, pour des raisons légales, votre adresse IP sera enregistrée quand vous envoyez un fichier. Ne paniquez pas, c’est normalement le cas pour tous les sites où vous envoyez des fichiers."
|
||||
|
||||
#: themes/default/templates/render.html.ep:40
|
||||
#: themes/default/templates/render.html.ep:45
|
||||
msgid "You don't seem to have a key in your URL. You won't be able to decrypt the file. Download canceled."
|
||||
msgstr "Il semble que vous n’ayez pas de clé dans votre URL. Vous ne serez pas capable de déchiffrer le fichier. Téléchargement annulé."
|
||||
|
||||
#: themes/default/templates/render.html.ep:37
|
||||
#: themes/default/templates/render.html.ep:42
|
||||
msgid "You have attempted to leave this page. The download will be canceled. Are you sure?"
|
||||
msgstr "Vous essayez de quitter la page. Le téléchargement sera annulé. Êtes-vous sûr(e) ?"
|
||||
|
||||
|
|
|
@ -143,6 +143,13 @@ function spawnWebsocket(pa) {
|
|||
}
|
||||
// When it's ready
|
||||
$(document).ready(function(){
|
||||
$('#abort').click(function() {
|
||||
window.ws.onclose = function() {};
|
||||
window.ws.close();
|
||||
$('#please-wait, #loading, #pbd, #abort').remove();
|
||||
$('#filesize').parent().append('<h4>'+i18n.aborted1+'</h4><a onClick="window.location.reload();" class="waves-effect waves-light btn">'+i18n.aborted2+'</a></p>');
|
||||
window.onbeforeunload = null;
|
||||
});
|
||||
$('#filesize').html(filesize($('#filesize').attr('data-filesize'), {base: 10}));
|
||||
window.a = new Array();
|
||||
window.key = pageKey();
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
% } else {
|
||||
<div class="col s12">
|
||||
<p id="filesize" data-filesize="<%= stash('f')->filesize %>"></p>
|
||||
<p id="please-wait"><%= l('Please wait while we are getting your file') %></p>
|
||||
<p id="please-wait"><%= l('Please wait while we are getting your file. We first need to download and decrypt all parts before you can get it.') %></p>
|
||||
<p id="loading"></p>
|
||||
<div class="progress" id="pbd">
|
||||
<div id="pb" class="determinate" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0;">
|
||||
|
@ -30,12 +30,17 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col s12">
|
||||
<a id="abort" class="waves-effect waves-light btn"><%= l('Abort') %></a>
|
||||
</div>
|
||||
%= javascript begin
|
||||
var ws_url = '<%= url_for('download')->to_abs() %>';
|
||||
var i18n = {
|
||||
aborted1: '<%= l('Download aborted.') %>',
|
||||
aborted2: '<%= l('Click here to refresh the page and restart the download.') %>',
|
||||
badkey: '<%= l('It seems that the key in your URL is incorrect. Please, verify your URL.') %>',
|
||||
confirmExit: '<%= l('You have attempted to leave this page. The download will be canceled. Are you sure?') %>',
|
||||
download: '<%= l('Download') %>',
|
||||
download: '<%= l('Get the file') %>',
|
||||
loading: '<%= l('Asking for file part XX1 of %1', stash('f')->nbslices) %>',
|
||||
nokey: '<%= l('You don\'t seem to have a key in your URL. You won\'t be able to decrypt the file. Download canceled.') %>',
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue