Improve multilanguage support

This commit is contained in:
gergo85 2015-05-04 13:29:48 +02:00
parent 58ace7ee6c
commit cb670237f2
4 changed files with 7 additions and 5 deletions

View File

@ -237,6 +237,7 @@ return [
'delete' => 'Delete',
'add_folder' => 'Add folder',
'search' => 'Search',
'display' => 'Display',
'filter_everything' => 'Everything',
'filter_images' => 'Images',
'filter_video' => 'Video',

View File

@ -1,4 +1,4 @@
<h3 class="section">Display</h3>
<h3 class="section"><?= e(trans('cms::lang.media.display')) ?></h3>
<ul class="nav nav-stacked selector-group">
<li role="presentation" <?php if ($currentFilter == Cms\Widgets\MediaManager::FILTER_EVERYTHING): ?>class="active"<?php endif ?>>

View File

@ -80,7 +80,7 @@ class Updates extends Controller
try {
$this->bodyClass = 'compact-container breadcrumb-flush';
$this->pageTitle = 'Install products';
$this->pageTitle = 'system::lang.plugins.install_products';
$this->addJs('/modules/system/assets/js/updates/install.js', 'core');
$this->addCss('/modules/system/assets/css/updates/install.css', 'core');

View File

@ -16,16 +16,16 @@ return [
'id' => 'Bahasa Indonesia',
'it' => 'Italian',
'ja' => 'Japanese',
'nb-no' => 'Norwegian (Bokmål)',
'nl' => 'Dutch',
'pl' => 'Polish',
'pt-br' => 'Brazilian Portuguese',
'pt-br' => 'Portuguese (Brazil)',
'ro' => 'Romanian',
'ru' => 'Russian',
'se' => 'Swedish',
'sk' => 'Slovak (Slovakia)',
'tr' => 'Turkish',
'zh-cn' => 'Chinese (China)',
'nb-no' => 'Norwegian (Bokmål)'
'zh-cn' => 'Chinese (China)'
],
'directory' => [
'create_fail' => 'Cannot create directory: :name'
@ -81,6 +81,7 @@ return [
'enable_or_disable' => 'Enable or disable',
'enable_or_disable_title' => 'Enable or Disable Plugins',
'install' => 'Install plugins',
'install_products' => 'Install products',
'search' => 'search plugins to install...',
'installed' => 'Installed plugins',
'no_plugins' => 'There are no plugins installed from the marketplace.',