Merge pull request #212 from ONLYOFFICE/feature/ru-icons

Icons for Russian interface
This commit is contained in:
Julia Radzhabova 2019-07-17 10:18:48 +03:00 committed by GitHub
commit c4a2318c9c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 31 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 50 KiB

View file

@ -531,6 +531,31 @@
.button-normal-icon(btn-more, 74, @toolbar-big-icon-size);
.button-normal-icon(btn-pagenum, 75, @toolbar-big-icon-size);
[applang=ru] {
.btn-toolbar {
&:not(.x-huge) {
.icon:not(svg) {
&.btn-bold, &.btn-italic, &.btn-strikeout, &.btn-underline, &.btn-ic-docspell, &.btn-sort-down, &.btn-sort-up, &.btn-currency-style {
.background-ximage('@{common-image-path}/controls/toolbar-menu-ru.png', '@{common-image-path}/controls/toolbar-menu-ru@2x.png', 60px);
}
}
}
}
.button-normal-icon(btn-notes, 77, @toolbar-big-icon-size);
.button-normal-icon(btn-controls, 78, @toolbar-big-icon-size);
.button-normal-icon(btn-bold, 0, @toolbar-icon-size);
.button-normal-icon(btn-italic, 1, @toolbar-icon-size);
.button-normal-icon(btn-strikeout, 2, @toolbar-icon-size);
.button-normal-icon(btn-underline, 3, @toolbar-icon-size);
.button-normal-icon(btn-ic-docspell, 4, @toolbar-icon-size);
.button-normal-icon(btn-sort-down, 5, @toolbar-icon-size);
.button-normal-icon(btn-sort-up, 6, @toolbar-icon-size);
.button-normal-icon(btn-currency-style, 7, @toolbar-icon-size);
}
.item-shape {
.icon {
width: 20px;

View file

@ -154,6 +154,8 @@ define([
var $filemenu = $('.toolbar-fullview-panel');
$filemenu.css('top', _intvars.get('toolbar-height-tabs'));
me.viewport.$el.attr('applang', me.appConfig.lang.split(/[\-_]/)[0]);
if ( !config.isEdit ||
( !Common.localStorage.itemExists("de-compact-toolbar") &&
config.customization && config.customization.compactToolbar )) {

View file

@ -158,6 +158,8 @@ define([
var $filemenu = $('.toolbar-fullview-panel');
$filemenu.css('top', _intvars.get('toolbar-height-tabs'));
me.viewport.$el.attr('applang', me.appConfig.lang.split(/[\-_]/)[0]);
if ( !config.isEdit ||
( !Common.localStorage.itemExists("pe-compact-toolbar") &&
config.customization && config.customization.compactToolbar ))

View file

@ -138,6 +138,8 @@ define([
var $filemenu = $('.toolbar-fullview-panel');
$filemenu.css('top', _intvars.get('toolbar-height-tabs'));
me.viewport.$el.attr('applang', me.appConfig.lang.split(/[\-_]/)[0]);
if ( !config.isEdit ||
( !Common.localStorage.itemExists("sse-compact-toolbar") &&
config.customization && config.customization.compactToolbar ))