// language form fix
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11954 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -33,10 +33,16 @@
|
|||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
{block name=script}
|
{block name=script}
|
||||||
|
var langPackOk = "<img src=\"{$smarty.const._PS_IMG_}admin/information.png\" alt=\"\" /> {l s='A language pack is available for this ISO (name is'}";
|
||||||
|
var langPackVersion = "{l s='The compatible Prestashop version for this language and your system is: '}";
|
||||||
|
var langPackInfo = "{l s='After creating the language, you can import the content of the language pack, which you can download above under "Tools - Translations"'}";
|
||||||
|
var noLangPack = "<img src=\"{$smarty.const._PS_IMG_}admin/information.png\" alt=\"\" /> {l s='No language pack available on prestashop.com for this ISO code'}";
|
||||||
|
var download = "{l s='Download'}";
|
||||||
|
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$('#iso_code').keyup(function() {
|
$('#iso_code').keyup(function(e) {
|
||||||
checkLangPack();
|
e.preventDefault();
|
||||||
|
checkLangPack("{$token}");
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user