Use localized string. re #53
This commit is contained in:
parent
fc8c510ae4
commit
d35becb7fe
|
@ -73,7 +73,8 @@
|
||||||
"languagesTitle" => localize("language.title"),
|
"languagesTitle" => localize("language.title"),
|
||||||
"contentTitle" => localize("content.summary"),
|
"contentTitle" => localize("content.summary"),
|
||||||
"sortorderAsc" => localize("search.sortorder.asc"),
|
"sortorderAsc" => localize("search.sortorder.asc"),
|
||||||
"sortorderDesc" => localize("search.sortorder.desc")),
|
"sortorderDesc" => localize("search.sortorder.desc"),
|
||||||
|
"customizeEmail" => localize("customize.email")),
|
||||||
"url" => array (
|
"url" => array (
|
||||||
"detailUrl" => "index.php?page=13&id={0}&db={1}",
|
"detailUrl" => "index.php?page=13&id={0}&db={1}",
|
||||||
"coverUrl" => "fetch.php?id={0}&db={1}",
|
"coverUrl" => "fetch.php?id={0}&db={1}",
|
||||||
|
|
2
util.js
2
util.js
|
@ -58,7 +58,7 @@ function retourMail(data, textStatus, jqXHR ) {
|
||||||
function sendToMailAddress (component, dataid) {
|
function sendToMailAddress (component, dataid) {
|
||||||
var email = $.cookie ('email');
|
var email = $.cookie ('email');
|
||||||
if (!$.cookie ('email')) {
|
if (!$.cookie ('email')) {
|
||||||
email = window.prompt ("Please enter your email : ", "");
|
email = window.prompt (currentData.const.i18n.customizeEmail, "");
|
||||||
$.cookie ('email', email, { expires: 365 });
|
$.cookie ('email', email, { expires: 365 });
|
||||||
}
|
}
|
||||||
var url = 'sendtomail.php';
|
var url = 'sendtomail.php';
|
||||||
|
|
Loading…
Reference in a new issue