Skip to content

Commit

Permalink
Improve multilanguage support
Browse files Browse the repository at this point in the history
  • Loading branch information
gergo85 committed May 4, 2015
1 parent 58ace7e commit cb67023
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions modules/cms/lang/en/lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@
'delete' => 'Delete',
'add_folder' => 'Add folder',
'search' => 'Search',
'display' => 'Display',
'filter_everything' => 'Everything',
'filter_images' => 'Images',
'filter_video' => 'Video',
Expand Down
2 changes: 1 addition & 1 deletion modules/cms/widgets/mediamanager/partials/_filters.htm
Original file line number Diff line number Diff line change
@@ -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 ?>>
Expand Down
2 changes: 1 addition & 1 deletion modules/system/controllers/Updates.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function install($tab = null)

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');
Expand Down
7 changes: 4 additions & 3 deletions modules/system/lang/en/lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@
'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'
Expand Down Expand Up @@ -81,6 +81,7 @@
'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.',
Expand Down

0 comments on commit cb67023

Please sign in to comment.