Archived
Introduce new lang constants, @garvinhicking please add :)
Hint: addlang.sh does not work on OSX.
This commit is contained in:
+3
-4
@@ -1,4 +1,3 @@
|
|||||||
@define('CLEANCOMPILE_PASS', '[smarty clearCompiledTemplate(%s)]');
|
@define('INSTALLER_KEY', 'Key');
|
||||||
@define('CLEANCOMPILE_FAIL', 'No files available for clearing.');
|
@define('INSTALLER_VALUE', 'Value');
|
||||||
@define('CLEANCOMPILE_TITLE', 'Clear template cache');
|
@define('CURRENT_TAB', 'Current tab: ');
|
||||||
@define('CLEANCOMPILE_INFO', 'This will purge all compiled template files of the currently active template. Compiled templates will be automatically re-created on demand by the Smarty framework.');
|
|
||||||
@@ -45,8 +45,8 @@
|
|||||||
<caption>{$CONST.PHP_INSTALLATION}</caption>
|
<caption>{$CONST.PHP_INSTALLATION}</caption>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Key</th> {* i18n *}
|
<th>{$CONST.INSTALLER_KEY}</th>
|
||||||
<th>Value</th> {* i18n *}
|
<th>{$CONST.INSTALLER_VALUE}</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
|||||||
@@ -84,7 +84,7 @@
|
|||||||
<li title="{$file.diskname}">{$file.diskname|truncate:30:"…"}</li>
|
<li title="{$file.diskname}">{$file.diskname|truncate:30:"…"}</li>
|
||||||
{/if}
|
{/if}
|
||||||
{if $file.mime}
|
{if $file.mime}
|
||||||
<li><b>Mime-Type:</b> {$file.mime}</li> {* i18n *}
|
<li><b>MIME-Type:</b> {$file.mime}</li>
|
||||||
{/if}
|
{/if}
|
||||||
{if $file.is_image}
|
{if $file.is_image}
|
||||||
<li><b>{$CONST.ORIGINAL_SHORT}:</b> {$file.dimensions_width}x{$file.dimensions_height}</li>
|
<li><b>{$CONST.ORIGINAL_SHORT}:</b> {$file.dimensions_width}x{$file.dimensions_height}</li>
|
||||||
|
|||||||
@@ -1166,6 +1166,7 @@ var AccessifyHTML5 = function (defaults, more_fixes) {
|
|||||||
|
|
||||||
// Tabs
|
// Tabs
|
||||||
if($('body').has('.tabs').size() > 0) {
|
if($('body').has('.tabs').size() > 0) {
|
||||||
|
var currTabText = '{$CONST.CURRENT_TAB}';
|
||||||
|
|
||||||
$('.tabs').accessibleTabs({
|
$('.tabs').accessibleTabs({
|
||||||
wrapperClass: 'tabcontent',
|
wrapperClass: 'tabcontent',
|
||||||
@@ -1174,7 +1175,7 @@ var AccessifyHTML5 = function (defaults, more_fixes) {
|
|||||||
tabheadClass: 'visuallyhidden',
|
tabheadClass: 'visuallyhidden',
|
||||||
tabbody: '.panel',
|
tabbody: '.panel',
|
||||||
fx: 'fadeIn',
|
fx: 'fadeIn',
|
||||||
currentInfoText: 'Current tab: ', // i18n
|
currentInfoText: currTabText,
|
||||||
currentInfoClass: 'visuallyhidden',
|
currentInfoClass: 'visuallyhidden',
|
||||||
syncheights: false,
|
syncheights: false,
|
||||||
saveState: true
|
saveState: true
|
||||||
|
|||||||
Reference in New Issue
Block a user