Skip to content
Open
Prev Previous commit
Next Next commit
some french js traduction and forgot php/html
  • Loading branch information
jcliment27 committed Aug 19, 2016
commit 7ebbe362fefec421bf6240c568991cc68a62c5f7
2 changes: 1 addition & 1 deletion js/zerobin.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ function displayMessages(key, comments) {

place.append(divComment);
}
$('div#comments').append('<div class="comment"><button onclick="open_reply($(this),\'' + pasteID() + '\');return false;">Add comment</button></div>');
$('div#comments').append('<div class="comment"><button onclick="open_reply($(this),\'' + pasteID() + '\');return false;">'+translate('Add comment')+'</button></div>');
$('div#discussion').show();
}
}
Expand Down
1 change: 1 addition & 0 deletions lang/fr.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ lang["month"]="mois";
lang["Could not decrypt data (Wrong key ?)"]="Impossible de déchiffrer les données (Mauvaise clé ?)";
lang['This document will expire in']="Ce document expirera dans";
lang['FOR YOUR EYES ONLY. Don\'t close this window, this message can\'t be displayed again.']="POUR VOS YEUX SEULEMENT. Ne fermez pas cette fenêtre, ce message ne pourra être ré-affiché";
lang["Add comment"]="Ajouter un commentaire";
1 change: 1 addition & 0 deletions lang/fr.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@
$lang["Burn after reading"]="Brûler après lecture";
$lang["Open discussion"]="Ouvrir les commentaires";
$lang["Syntax coloring"]="Coloration syntaxique";
$lang["Discussion"]="Discussion";
2 changes: 1 addition & 1 deletion tpl/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ <h3>{$VERSION}</h3>
<div id="cleartext" style="display:none;"></div>
<textarea id="message" name="message" cols="80" rows="25" style="display:none;"></textarea>
<div id="discussion" style="display:none;">
<h4>Discussion</h4>
<h4>{"Discussion"|translate}</h4>
<div id="comments"></div>
</div>
<div id="cipherdata" style="display:none;">{$CIPHERDATA}</div>
Expand Down