1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-07-31 18:30:20 +02:00

Monstra Dashboard - localization - fixes #204

This commit is contained in:
Awilum
2014-01-08 22:31:51 +02:00
parent b2f3d3d526
commit 281894d08a
4 changed files with 11 additions and 7 deletions

View File

@@ -4,5 +4,7 @@
'dashboard' => array(
'Dashboard' => 'Dashboard',
'Dashboard plugin for Monstra' => 'Dashboard plugin for Monstra',
'Welcome back' => 'Welcome back',
'Create New' => 'Create New',
)
);

View File

@@ -1,13 +1,13 @@
<div class="well dashboard-well">
<div class="row">
<div class="col-md-6">
<a class="btn btn-link welcome-back">Welcome back, <strong>Monstra</strong></a>
<a class="btn btn-link welcome-back"><?php echo __('Welcome back', 'dashboard'); ?>, <strong><?php echo Session::get('user_login'); ?></strong></a>
</div>
<div class="col-md-6">
<div class="pull-right">
<div class="btn-group">
<button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown">
Create New <span class="caret"></span>
<?php echo __('Create New', 'dashboard'); ?> <span class="caret"></span>
</button>
<ul class="dropdown-menu" role="menu">
<li><?php echo ( Html::anchor(__('Page', 'pages'), 'index.php?id=pages&action=add_page', array('title' => __('Page', 'pages')))); ?></li>
@@ -24,25 +24,25 @@
<div class="well dashboard-well">
<div class="row">
<div class="col-md-3">
<h3>Content</h3>
<h3><?php echo __('Content', 'pages'); ?></h3>
<ul class="list-unstyled">
<?php Navigation::draw('content'); ?>
</ul>
</div>
<div class="col-md-3">
<h3>Extends</h3>
<h3><?php echo __('Extends', 'system'); ?></h3>
<ul class="list-unstyled">
<?php Navigation::draw('extends'); ?>
</ul>
</div>
<div class="col-md-3">
<h3>System</h3>
<h3><?php echo __('System', 'system'); ?></h3>
<ul class="list-unstyled">
<?php Navigation::draw('system'); ?>
</ul>
</div>
<div class="col-md-3">
<h3>Help</h3>
<h3><?php echo __('Help', 'system'); ?></h3>
<ul class="list-unstyled">
<li><a href="http://monstra.org/documentation" target="_blank"><?php echo __('Documentation', 'system'); ?></a></li>
<li><a href="http://forum.monstra.org" target="_blank"><?php echo __('Official Support Forum', 'system'); ?></a></li>

View File

@@ -49,7 +49,8 @@
'This user does not exist' => 'This user does not exist',
'Version' => 'Version',
'Plugin does not exist' => 'Plugin does not exist',
'Help' => 'Help',
'Install script writable' => 'Install script writable',
'Install script not writable' => 'Install script not writable',
'Directory: <b> :dir </b> writable' => 'Directory: <b> :dir </b> writable',

View File

@@ -48,6 +48,7 @@
'This user does not exist' => 'Такого пользователя не существует',
'Version' => 'Версия',
'Plugin does not exist' => 'Такого плагина не существует',
'Help' => 'Помощь',
'Install script writable' => 'Установочный скрипт доступен для записи',
'Install script not writable' => 'Установочный скрипт не доступен для записи',