Introduce new lang constants, @garvinhicking please add :)

Hint: addlang.sh does not work on OSX.
This commit is contained in:
Matthias Mees 2014-03-07 13:10:32 +01:00
parent aa014cbe91
commit ec3ebca433
4 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,3 @@
@define('CLEANCOMPILE_PASS', '[smarty clearCompiledTemplate(%s)]');
@define('CLEANCOMPILE_FAIL', 'No files available for clearing.');
@define('CLEANCOMPILE_TITLE', 'Clear template cache');
@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.');
@define('INSTALLER_KEY', 'Key');
@define('INSTALLER_VALUE', 'Value');
@define('CURRENT_TAB', 'Current tab: ');

View File

@ -45,8 +45,8 @@
<caption>{$CONST.PHP_INSTALLATION}</caption>
<thead>
<tr>
<th>Key</th> {* i18n *}
<th>Value</th> {* i18n *}
<th>{$CONST.INSTALLER_KEY}</th>
<th>{$CONST.INSTALLER_VALUE}</th>
</tr>
</thead>
<tbody>

View File

@ -84,7 +84,7 @@
<li title="{$file.diskname}">{$file.diskname|truncate:30:"&hellip;"}</li>
{/if}
{if $file.mime}
<li><b>Mime-Type:</b> {$file.mime}</li> {* i18n *}
<li><b>MIME-Type:</b> {$file.mime}</li>
{/if}
{if $file.is_image}
<li><b>{$CONST.ORIGINAL_SHORT}:</b> {$file.dimensions_width}x{$file.dimensions_height}</li>

View File

@ -1166,6 +1166,7 @@ var AccessifyHTML5 = function (defaults, more_fixes) {
// Tabs
if($('body').has('.tabs').size() > 0) {
var currTabText = '{$CONST.CURRENT_TAB}';
$('.tabs').accessibleTabs({
wrapperClass: 'tabcontent',
@ -1174,7 +1175,7 @@ var AccessifyHTML5 = function (defaults, more_fixes) {
tabheadClass: 'visuallyhidden',
tabbody: '.panel',
fx: 'fadeIn',
currentInfoText: 'Current tab: ', // i18n
currentInfoText: currTabText,
currentInfoClass: 'visuallyhidden',
syncheights: false,
saveState: true