From 8082cd950240f6268f557e4ace5505833a22d1e0 Mon Sep 17 00:00:00 2001 From: Samuel Georges Date: Sat, 2 May 2015 10:18:39 +1000 Subject: [PATCH] Tidy up work from #1073 --- .../system/controllers/updates/_install_themes.htm | 10 +++++----- modules/system/controllers/updates/install.htm | 2 +- modules/system/lang/en/lang.php | 12 ++++++++---- 3 files changed, 14 insertions(+), 10 deletions(-) diff --git a/modules/system/controllers/updates/_install_themes.htm b/modules/system/controllers/updates/_install_themes.htm index 6090b6944..916a99f9f 100644 --- a/modules/system/controllers/updates/_install_themes.htm +++ b/modules/system/controllers/updates/_install_themes.htm @@ -11,7 +11,7 @@ name="code" id="themeSearchInput" class="product-search-input search-input-lg typeahead" - placeholder="" + placeholder="" data-search-type="themes" /> @@ -30,13 +30,13 @@ data-view="product/theme">

- + ()

-

+

diff --git a/modules/system/lang/en/lang.php b/modules/system/lang/en/lang.php index b3037548d..c62e92979 100644 --- a/modules/system/lang/en/lang.php +++ b/modules/system/lang/en/lang.php @@ -55,16 +55,19 @@ return [ ] ], 'theme' => [ - 'title' => 'Themes', + 'unnamed' => 'Unnamed theme', 'name' => [ 'label' => 'Theme Name', 'help' => 'Name the theme by its unique code. For example, RainLab.Vanilla' ], + ], + 'themes' => [ + 'install' => 'Install themes', 'search' => 'search themes to install...', 'installed' => 'Installed themes', 'no_themes' => 'There are no themes installed from the marketplace.', - 'remove_theme' => 'Are you sure you want to remove this?', - 'recommended' => 'Recommended' + 'recommended' => 'Recommended', + 'remove_confirm' => 'Are you sure you want to remove this theme?' ], 'plugin' => [ 'unnamed' => 'Unnamed plugin', @@ -87,7 +90,7 @@ return [ 'disabled_label' => 'Disabled', 'disabled_help' => 'Plugins that are disabled are ignored by the application.', 'selected_amount' => 'Plugins selected: :amount', - 'remove_confirm' => 'Are you sure?', + 'remove_confirm' => 'Are you sure you want to remove this plugin?', 'remove_success' => 'Successfully removed those plugins from the system.', 'refresh_confirm' => 'Are you sure?', 'refresh_success' => 'Successfully refreshed those plugins in the system.', @@ -198,6 +201,7 @@ return [ 'core_downloading' => 'Downloading application files', 'core_extracting' => 'Unpacking application files', 'plugins' => 'Plugins', + 'themes' => 'Themes', 'disabled' => 'Disabled', 'plugin_downloading' => 'Downloading plugin: :name', 'plugin_extracting' => 'Unpacking plugin: :name',