js/catalog-link.js: i18n

This commit is contained in:
czaks 2013-08-16 10:45:01 -04:00
parent e0b729f803
commit 08652df7ac

View File

@ -18,7 +18,7 @@ var link = document.createElement('a');
link.href = catalog_url;
if (pages) {
link.textContent = 'Catalog';
link.textContent = _('Catalog');
link.style.color = '#F10000';
link.style.padding = '4px';
link.style.paddingLeft = '9px';
@ -29,7 +29,7 @@ if (pages) {
pages.appendChild(link)
}
else {
link.textContent = '[Catalog]';
link.textContent = '['+_('Catalog').']';
link.style.paddingLeft = '10px';
link.style.textDecoration = "underline";
document.body.insertBefore(link, bottom);
@ -37,7 +37,7 @@ else {
if (subtitle) {
var link2 = document.createElement('a');
link2.textContent = 'Catalog';
link2.textContent = _('Catalog');
link2.href = catalog_url;
var br = document.createElement('br');
@ -46,4 +46,5 @@ if (subtitle) {
}
}
}
$(document).ready(catalog);