// Fix update english key of translations in all files
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14143 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -32,18 +32,18 @@
|
||||
<textarea id="ordered_fields" name="address_layout" style="width: 300px;height: 140px;">{$input.address_layout}</textarea>
|
||||
</div>
|
||||
<div style="float:left; margin-left:20px; width:340px;">
|
||||
{l s='Liable fields for the address information (click to have more details):'} {$input.display_valid_fields}
|
||||
{l s='Required fields for the address (click for more details):'} {$input.display_valid_fields}
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
<div style="margin:10px 0 10px 0;">
|
||||
<a id="useLastDefaultLayout" style="margin-left:5px;" href="javascript:void(0)" onClick="resetLayout('{$input.encoding_address_layout}', 'lastDefault');" class="button">
|
||||
{l s='Use the last registered layout'}</a>
|
||||
{l s='Use the last registered format'}</a>
|
||||
<a id="useDefaultLayoutSystem" style="margin-left:5px;" href="javascript:void(0)" onClick="resetLayout('{$input.encoding_default_layout}', 'defaultSystem');" class="button">
|
||||
{l s='Use a default layout'}</a>
|
||||
{l s='Use the default format'}</a>
|
||||
<a id="useCurrentLastModifiedLayout" style="margin-left:5px;" href="javascript:void(0)" onClick="resetLayout(lastLayoutModified, 'currentModified')" class="button">
|
||||
{l s='Use my current modified layout'}</a>
|
||||
{l s='Use my current modified format'}</a>
|
||||
<a id="eraseCurrentLayout" style="margin-left:5px;" href="javascript:void(0)" onClick="resetLayout('', 'erase');" class="button">
|
||||
{l s='Clean layout'}</a>
|
||||
{l s='Clear format'}</a>
|
||||
<div style="margin-top:10px; padding-top:5px; height:10px;" id="explanationText"></div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -68,19 +68,19 @@
|
||||
});
|
||||
|
||||
$('#useLastDefaultLayout').mouseover(function() {
|
||||
switchExplanationText("{l s='Will display back your last registered layout'}");
|
||||
switchExplanationText("{l s='This will restore your last registered address format'}");
|
||||
});
|
||||
|
||||
$('#useDefaultLayoutSystem').mouseover(function() {
|
||||
switchExplanationText("{l s='Will display a default layout for this country'}");
|
||||
switchExplanationText("{l s='This will restore the default address format for this country'}");
|
||||
});
|
||||
|
||||
$('#useCurrentLastModifiedLayout').mouseover(function() {
|
||||
switchExplanationText("{l s='Will display back you\'re current editing layout'}");
|
||||
switchExplanationText("{l s='This will restore your current address format'}");
|
||||
});
|
||||
|
||||
$('#eraseCurrentLayout').mouseover(function() {
|
||||
switchExplanationText("{l s='Will delete the current layout'}");
|
||||
switchExplanationText("{l s='This will delete the current address format'}");
|
||||
});
|
||||
|
||||
$('#need_zip_code_on, #need_zip_code_off').change(function() {
|
||||
@@ -109,7 +109,7 @@
|
||||
}
|
||||
|
||||
function resetLayout(defaultLayout, type) {
|
||||
if (confirm("{l s='Are you sure to apply this selection ?'}"))
|
||||
if (confirm("{l s='Are you sure you want to restore the default address format for this country?'}"))
|
||||
$("#ordered_fields").val(unescape(defaultLayout.replace(/\+/g, " ")));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user