Dashboard responsive update tranlation

This commit is contained in:
Hristo Dipchikov 2016-09-15 13:02:42 +03:00
parent bc0577a62e
commit ffce70ce16
3 changed files with 14 additions and 5 deletions

View File

@ -118,8 +118,8 @@ if($Login->role()==='admin') {
HTML::formInputText(array(
'name'=>'status',
'label'=>$L->g('Current status'),
'value'=>$_User->enabled()?$L->g('Enabled'):$L->g('Disabled'),
'label'=>$L->g('сurrent-status'),
'value'=>$_User->enabled()?$L->g('enabled-user-status'):$L->g('disable-user-status'),
'class'=>'uk-width-1-2 uk-form-medium',
'disabled'=>true,
'tip'=>$_User->enabled()?'':$L->g('To enable the user you have to set a new password')
@ -128,7 +128,7 @@ if($Login->role()==='admin') {
if( $_User->enabled() ) {
echo '<div class="uk-form-row">
<div class="uk-form-controls">
<button type="submit" id="jsdisable-user" class="delete-button" name="disable-user"><i class="uk-icon-ban"></i> '.$L->g('Disable the user').'</button>
<button type="submit" id="jsdisable-user" class="delete-button" name="disable-user"><i class="uk-icon-ban"></i> '.$L->g('disable-the-user').'</button>
</div>
</div>';
}

View File

@ -241,6 +241,11 @@
"welcome": "Добре дошли!",
"to-enable-the-user-you-have-to-set-a-new-password": "За да се активира на ново потребителя трябва да му зададете нова парола .",
"do-you-want-to-disable-the-user": "Искате ли да деактивирате този потребител?"
"do-you-want-to-disable-the-user": "Искате ли да деактивирате този потребител?",
"disable-user-status": "Неактивен",
"enabled-user-status": "Активен",
"сurrent-status" : "Статус",
"disable-the-user" : "Деактивиране на потребителя"
}

View File

@ -243,5 +243,9 @@
"welcome": "Welcome",
"to-enable-the-user-you-have-to-set-a-new-password": "To enable the user you have to set a new password.",
"do-you-want-to-disable-the-user": "Do you want to disable the user ?"
"do-you-want-to-disable-the-user": "Do you want to disable the user ?",
"disable-user-status": "Disable",
"enabled-user-status": "Enabled",
"сurrent-status" : "Status",
"disable-the-user" : "Disable the user"
}