Commit ce84af40 authored by changi67's avatar changi67

Missing tr tags

parent b404ceb9
......@@ -174,7 +174,7 @@
{include file='duplicate_file_gallery.tpl'}
{else}
{if $prefs.fgal_search eq 'y'}
{include file='find.tpl' find_show_num_rows = 'y' find_show_categories_multi='y' find_durations=$find_durations find_show_sub='y' find_other="Gallery of this fileId"}
{include file='find.tpl' find_show_num_rows = 'y' find_show_categories_multi='y' find_durations=$find_durations find_show_sub='y' find_other="{tr}Gallery of this fileId{/tr}"}
{/if}
{if $prefs.fgal_search_in_content eq 'y' and $galleryId > 0}
<div class="findtable">
......
......@@ -40,7 +40,7 @@
{if $locSection eq 'settings'}
{tabset name='tabs_webmail_settings'}
{tab name="List"}
{tab name="{tr}List{/tr}"}
{if count($accounts) != 0}
<h2>{tr}Personal e-mail accounts{/tr}</h2>
<table class="normal">
......@@ -276,7 +276,7 @@
<tr>
<td>{tr}Auto-refresh page time{/tr}</td>
<td colspan="3">
<input type="text" name="autoRefresh" size="4" value="{$info.autoRefresh|escape}" /> seconds (0 = no auto refresh)
<input type="text" name="autoRefresh" size="4" value="{$info.autoRefresh|escape}" /> {tr}seconds (0 = no auto refresh){/tr}
</td>
</tr>
<tr>
......
......@@ -405,27 +405,27 @@ if ($isvalid) {
exit;
case ACCOUNT_DISABLED:
$error = 'Account disabled';
$error = tra('Account disabled');
break;
case ACCOUNT_WAITING_USER:
$error = 'You did not validate your account';
$error = tra('You did not validate your account');
$extraButton = array('href'=>'tiki-send_mail.php?user='.$_REQUEST['user'], 'text'=>tra('Resend'), 'comment'=>tra('You should have received an email. Check your mailbox and your spam box. Otherwise click on the button to resend the email'));
break;
case USER_AMBIGOUS:
$error = 'You must use the right case for your user name';
$error = tra('You must use the right case for your user name');
break;
case USER_NOT_VALIDATED:
$error = 'You are not yet validated';
$error = tra('You are not yet validated');
break;
default:
$error = 'Invalid username or password';
$error = tra('Invalid username or password');
}
if (isset($extraButton)) $smarty->assign_by_ref('extraButton', $extraButton);
$smarty->assign('msg', tra($error));
$smarty->assign('msg', $error);
$smarty->display('error.tpl');
exit;
// on a login error wait this long in seconds. slows down automated login attacks.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment