Add translation

This commit is contained in:
Dany De Bontridder 2016-02-02 14:35:26 +01:00
parent 3f962d8e60
commit 0d57a61153
4 changed files with 1117 additions and 142 deletions

View file

@ -282,9 +282,9 @@ if ( $action == "view" )
$MaxJrn=Database::num_row($Res);
$jrn_priv=new ISelect();
$array=array(
array ('value'=>'R','label'=>'Uniquement lecture'),
array ('value'=>'W','label'=>'Lecture et écriture'),
array ('value'=>'X','label'=>'Aucun accès')
array ('value'=>'R','label'=>_('Uniquement lecture')),
array ('value'=>'W','label'=>_('Lecture et écriture')),
array ('value'=>'X','label'=>_('Aucun accès'))
);
for ( $i =0 ; $i < $MaxJrn; $i++ )
@ -316,14 +316,14 @@ if ( $action == "view" )
//**********************************************************************
// Show Priv. for actions
//**********************************************************************
echo '<fieldset> <legend>Actions </legend>';
echo '<fieldset> <legend>'._('Actions').'</legend>';
echo HtmlInput::button("grant_all_action", _("Toutes les actions"), " onclick=\" grant_action(1) \"");
echo HtmlInput::button("revoke_all_action", _("Aucune action"), " onclick=\" grant_action (0) \"");
include(NOALYSS_TEMPLATE.'/security_list_action.php');
echo '</fieldset>';
echo HtmlInput::button('Imprime','imprime',"onclick=\"window.open('".$sHref."');\"");
echo HtmlInput::submit('ok','Sauve');
echo HtmlInput::reset('Annule');
echo HtmlInput::button('Imprime',_('imprime'),"onclick=\"window.open('".$sHref."');\"");
echo HtmlInput::submit('ok',_('Sauve'));
echo HtmlInput::reset(_('Annule'));
echo $return;
echo '</form>';
?>