Browse Source

Use localized string. re #53

master
Sébastien Lucas 10 years ago
parent
commit
d35becb7fe
2 changed files with 3 additions and 2 deletions
  1. +2
    -1
      getJSON.php
  2. +1
    -1
      util.js

+ 2
- 1
getJSON.php 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}",


+ 1
- 1
util.js 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';


Loading…
Cancel
Save