Merge pull request #212 from ONLYOFFICE/feature/ru-icons
Icons for Russian interface
This commit is contained in:
commit
c4a2318c9c
BIN
apps/common/main/resources/img/controls/toolbar-menu-ru.png
Normal file
BIN
apps/common/main/resources/img/controls/toolbar-menu-ru.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
BIN
apps/common/main/resources/img/controls/toolbar-menu-ru@2x.png
Normal file
BIN
apps/common/main/resources/img/controls/toolbar-menu-ru@2x.png
Normal file
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 |
|
@ -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;
|
||||
|
|
|
@ -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 )) {
|
||||
|
|
|
@ -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 ))
|
||||
|
|
|
@ -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 ))
|
||||
|
|
Loading…
Reference in a new issue