Use localized string. re #53

This commit is contained in:
Sébastien Lucas 2013-07-22 21:35:21 +02:00
parent fc8c510ae4
commit d35becb7fe
2 changed files with 3 additions and 2 deletions

View file

@ -73,7 +73,8 @@
"languagesTitle" => localize("language.title"),
"contentTitle" => localize("content.summary"),
"sortorderAsc" => localize("search.sortorder.asc"),
"sortorderDesc" => localize("search.sortorder.desc")),
"sortorderDesc" => localize("search.sortorder.desc"),
"customizeEmail" => localize("customize.email")),
"url" => array (
"detailUrl" => "index.php?page=13&id={0}&db={1}",
"coverUrl" => "fetch.php?id={0}&db={1}",

View file

@ -58,7 +58,7 @@ function retourMail(data, textStatus, jqXHR ) {
function sendToMailAddress (component, dataid) {
var email = $.cookie ('email');
if (!$.cookie ('email')) {
email = window.prompt ("Please enter your email : ", "");
email = window.prompt (currentData.const.i18n.customizeEmail, "");
$.cookie ('email', email, { expires: 365 });
}
var url = 'sendtomail.php';