Dashboard responsive update tranlation
This commit is contained in:
parent
bc0577a62e
commit
ffce70ce16
|
@ -118,8 +118,8 @@ if($Login->role()==='admin') {
|
||||||
|
|
||||||
HTML::formInputText(array(
|
HTML::formInputText(array(
|
||||||
'name'=>'status',
|
'name'=>'status',
|
||||||
'label'=>$L->g('Current status'),
|
'label'=>$L->g('сurrent-status'),
|
||||||
'value'=>$_User->enabled()?$L->g('Enabled'):$L->g('Disabled'),
|
'value'=>$_User->enabled()?$L->g('enabled-user-status'):$L->g('disable-user-status'),
|
||||||
'class'=>'uk-width-1-2 uk-form-medium',
|
'class'=>'uk-width-1-2 uk-form-medium',
|
||||||
'disabled'=>true,
|
'disabled'=>true,
|
||||||
'tip'=>$_User->enabled()?'':$L->g('To enable the user you have to set a new password')
|
'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() ) {
|
if( $_User->enabled() ) {
|
||||||
echo '<div class="uk-form-row">
|
echo '<div class="uk-form-row">
|
||||||
<div class="uk-form-controls">
|
<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>
|
||||||
</div>';
|
</div>';
|
||||||
}
|
}
|
||||||
|
|
|
@ -241,6 +241,11 @@
|
||||||
"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": "Искате ли да деактивирате този потребител?",
|
||||||
|
"disable-user-status": "Неактивен",
|
||||||
|
"enabled-user-status": "Активен",
|
||||||
|
"сurrent-status" : "Статус",
|
||||||
|
"disable-the-user" : "Деактивиране на потребителя"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -243,5 +243,9 @@
|
||||||
"welcome": "Welcome",
|
"welcome": "Welcome",
|
||||||
|
|
||||||
"to-enable-the-user-you-have-to-set-a-new-password": "To enable the user you have to set a new password.",
|
"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"
|
||||||
}
|
}
|
Loading…
Reference in New Issue