From 1d24b7131ff3c7e9f0c3ba7dcaaaec28f998b702 Mon Sep 17 00:00:00 2001 From: Lars Jung Date: Mon, 1 Sep 2014 20:52:03 +0200 Subject: [PATCH] Update sidebar. Clean l10n files. --- src/_h5ai/client/css/inc/sidebar.less | 13 +++++++++++-- src/_h5ai/client/js/inc/ext/l10n.js | 6 +++--- src/_h5ai/client/js/inc/view/viewmode.js | 2 +- src/_h5ai/conf/l10n/bg.json | 4 +--- src/_h5ai/conf/l10n/cs.json | 4 +--- src/_h5ai/conf/l10n/da.json | 4 +--- src/_h5ai/conf/l10n/de.json | 4 ++-- src/_h5ai/conf/l10n/el.json | 4 +--- src/_h5ai/conf/l10n/en.json | 4 ++-- src/_h5ai/conf/l10n/es.json | 4 +--- src/_h5ai/conf/l10n/fi.json | 4 +--- src/_h5ai/conf/l10n/fr.json | 4 +--- src/_h5ai/conf/l10n/he.json | 3 +-- src/_h5ai/conf/l10n/hi.json | 3 +-- src/_h5ai/conf/l10n/it.json | 4 +--- src/_h5ai/conf/l10n/ja.json | 4 +--- src/_h5ai/conf/l10n/ko.json | 4 +--- src/_h5ai/conf/l10n/lv.json | 4 +--- src/_h5ai/conf/l10n/pl.json | 4 +--- src/_h5ai/conf/l10n/pt.json | 4 +--- src/_h5ai/conf/l10n/ru.json | 4 +--- src/_h5ai/conf/l10n/sl.json | 4 +--- src/_h5ai/conf/l10n/sv.json | 4 +--- src/_h5ai/conf/l10n/uk.json | 4 +--- src/_h5ai/conf/l10n/zh-cn.json | 4 +--- src/_h5ai/conf/l10n/zh-tw.json | 4 +--- 26 files changed, 40 insertions(+), 71 deletions(-) diff --git a/src/_h5ai/client/css/inc/sidebar.less b/src/_h5ai/client/css/inc/sidebar.less index d7290691..d6a28b0f 100644 --- a/src/_h5ai/client/css/inc/sidebar.less +++ b/src/_h5ai/client/css/inc/sidebar.less @@ -16,7 +16,12 @@ .block { display: block; - margin: 12px 0; + margin: 0 0 24px 0; + + h1 { + font-size: 1em; + border-bottom: 1px solid #e7e7e7; + } } a, a:active, a:visited, span.element { @@ -77,7 +82,11 @@ border: 0 solid #000; outline: none; cursor: pointer; - } + + &:hover, &.hover { + background: @col-widget-back-highlight; + } + } select { width: 200px; diff --git a/src/_h5ai/client/js/inc/ext/l10n.js b/src/_h5ai/client/js/inc/ext/l10n.js index 7c61865a..797665a5 100644 --- a/src/_h5ai/client/js/inc/ext/l10n.js +++ b/src/_h5ai/client/js/inc/ext/l10n.js @@ -9,7 +9,6 @@ modulejs.define('ext/l10n', ['_', '$', 'core/settings', 'core/langs', 'core/form isoCode: 'en', lang: 'english', details: 'details', - list: 'list', grid: 'grid', icons: 'icons', name: 'Name', @@ -23,9 +22,10 @@ modulejs.define('ext/l10n', ['_', '$', 'core/settings', 'core/langs', 'core/form noMatch: 'no match', dateFormat: 'YYYY-MM-DD HH:mm', filter: 'filter', - 'delete': 'delete' + view: 'View', + language: 'Language' }; - var blockTemplate = '
'; var optionTemplate = '