Change pdf.js
Related changes: - Removed `openFile` buttons - Removed `editorFreeText` button - Removed `editorInk` button - Decreased `mainContainer` min-width to 275px - Changed color scheme (--body-bg-color, --main-color, --toolbar-icon-bg-color, --toolbar-icon-hover-bg-color) - Changed `loadingBar` background color - Removed `editorModeSeparator` - Swapped `Download` and `Print` buttons - Add missing russian locale keysmain
parent
3f7688932e
commit
2e131f452d
|
@ -41,6 +41,8 @@ print.title=Печать
|
||||||
print_label=Печать
|
print_label=Печать
|
||||||
download.title=Загрузить
|
download.title=Загрузить
|
||||||
download_label=Загрузить
|
download_label=Загрузить
|
||||||
|
save.title=Сохранить
|
||||||
|
save_label=Сохранить
|
||||||
bookmark.title=Ссылка на текущий вид (скопировать или открыть в новом окне)
|
bookmark.title=Ссылка на текущий вид (скопировать или открыть в новом окне)
|
||||||
bookmark_label=Текущий вид
|
bookmark_label=Текущий вид
|
||||||
|
|
||||||
|
@ -214,7 +216,6 @@ error_stack=Стeк: {{stack}}
|
||||||
error_file=Файл: {{file}}
|
error_file=Файл: {{file}}
|
||||||
# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
|
# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
|
||||||
error_line=Строка: {{line}}
|
error_line=Строка: {{line}}
|
||||||
rendering_error=При создании страницы произошла ошибка.
|
|
||||||
|
|
||||||
# Predefined zoom values
|
# Predefined zoom values
|
||||||
page_scale_width=По ширине страницы
|
page_scale_width=По ширине страницы
|
||||||
|
@ -232,6 +233,8 @@ invalid_file_error=Некорректный или повреждённый PDF-
|
||||||
missing_file_error=PDF-файл отсутствует.
|
missing_file_error=PDF-файл отсутствует.
|
||||||
unexpected_response_error=Неожиданный ответ сервера.
|
unexpected_response_error=Неожиданный ответ сервера.
|
||||||
|
|
||||||
|
rendering_error=При создании страницы произошла ошибка.
|
||||||
|
|
||||||
# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be
|
# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be
|
||||||
# replaced by the modification date, and time, of the annotation.
|
# replaced by the modification date, and time, of the annotation.
|
||||||
annotation_date_string={{date}}, {{time}}
|
annotation_date_string={{date}}, {{time}}
|
||||||
|
@ -250,16 +253,6 @@ printing_not_supported=Предупреждение: В этом браузер
|
||||||
printing_not_ready=Предупреждение: PDF не полностью загружен для печати.
|
printing_not_ready=Предупреждение: PDF не полностью загружен для печати.
|
||||||
web_fonts_disabled=Веб-шрифты отключены: не удалось задействовать встроенные PDF-шрифты.
|
web_fonts_disabled=Веб-шрифты отключены: не удалось задействовать встроенные PDF-шрифты.
|
||||||
|
|
||||||
# Editor
|
|
||||||
editor_none.title=Отключить редактирование аннотаций
|
|
||||||
editor_none_label=Отключить редактирование
|
|
||||||
editor_free_text.title=Добавить аннотацию FreeText
|
|
||||||
editor_free_text_label=Аннотация FreeText
|
|
||||||
editor_ink.title=Добавить рукописную аннотацию
|
|
||||||
editor_ink_label=Рукописная аннотация
|
|
||||||
|
|
||||||
free_text_default_content=Введите текст…
|
|
||||||
|
|
||||||
# Editor
|
# Editor
|
||||||
editor_free_text2.title=Текст
|
editor_free_text2.title=Текст
|
||||||
editor_free_text2_label=Текст
|
editor_free_text2_label=Текст
|
||||||
|
@ -275,11 +268,7 @@ editor_ink_color=Цвет
|
||||||
editor_ink_thickness=Толщина
|
editor_ink_thickness=Толщина
|
||||||
editor_ink_opacity=Прозрачность
|
editor_ink_opacity=Прозрачность
|
||||||
|
|
||||||
# Editor aria
|
|
||||||
editor_free_text_aria_label=Редактор FreeText
|
|
||||||
editor_ink_aria_label=Редактор чернил
|
|
||||||
|
|
||||||
# Editor aria
|
# Editor aria
|
||||||
editor_free_text2_aria_label=Текстовый редактор
|
editor_free_text2_aria_label=Текстовый редактор
|
||||||
editor_ink2_aria_label=Редактор рисования
|
editor_ink2_aria_label=Редактор рисования
|
||||||
editor_ink_canvas_aria_label=Созданное пользователем изображение
|
editor_ink_canvas_aria_label=Созданное пользователем изображение
|
|
@ -1062,8 +1062,8 @@
|
||||||
--toolbar-icon-opacity: 0.7;
|
--toolbar-icon-opacity: 0.7;
|
||||||
--doorhanger-icon-opacity: 0.9;
|
--doorhanger-icon-opacity: 0.9;
|
||||||
|
|
||||||
--main-color: rgba(12, 12, 13, 1);
|
--main-color: rgba(0, 18, 25, 1);
|
||||||
--body-bg-color: rgba(237, 237, 240, 1);
|
--body-bg-color: rgba(179, 179, 179, 1);
|
||||||
--progressBar-percent: 0%;
|
--progressBar-percent: 0%;
|
||||||
--progressBar-end-offset: 0;
|
--progressBar-end-offset: 0;
|
||||||
--progressBar-color: rgba(10, 132, 255, 1);
|
--progressBar-color: rgba(10, 132, 255, 1);
|
||||||
|
@ -1071,8 +1071,8 @@
|
||||||
--progressBar-indeterminate-blend-color: rgba(116, 177, 239, 1);
|
--progressBar-indeterminate-blend-color: rgba(116, 177, 239, 1);
|
||||||
--scrollbar-color: auto;
|
--scrollbar-color: auto;
|
||||||
--scrollbar-bg-color: auto;
|
--scrollbar-bg-color: auto;
|
||||||
--toolbar-icon-bg-color: rgba(0, 0, 0, 1);
|
--toolbar-icon-bg-color: rgba(0, 18, 25, 1);
|
||||||
--toolbar-icon-hover-bg-color: rgba(0, 0, 0, 1);
|
--toolbar-icon-hover-bg-color: rgba(0, 18, 25, 1);
|
||||||
|
|
||||||
--sidebar-narrow-bg-color: rgba(237, 237, 240, 0.9);
|
--sidebar-narrow-bg-color: rgba(237, 237, 240, 0.9);
|
||||||
--sidebar-toolbar-bg-color: rgba(245, 246, 247, 1);
|
--sidebar-toolbar-bg-color: rgba(245, 246, 247, 1);
|
||||||
|
@ -1358,7 +1358,7 @@ body {
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
min-width: 350px;
|
min-width: 275px;
|
||||||
}
|
}
|
||||||
|
|
||||||
[dir="ltr"] #sidebarContent {
|
[dir="ltr"] #sidebarContent {
|
||||||
|
@ -1511,7 +1511,7 @@ body {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
inset-inline: 0 var(--progressBar-end-offset);
|
inset-inline: 0 var(--progressBar-end-offset);
|
||||||
height: 4px;
|
height: 4px;
|
||||||
background-color: var(--body-bg-color);
|
background-color: var(--sidebar-toolbar-bg-color);
|
||||||
border-bottom: 1px solid var(--toolbar-border-color);
|
border-bottom: 1px solid var(--toolbar-border-color);
|
||||||
transition-property: inset-inline-start;
|
transition-property: inset-inline-start;
|
||||||
transition-duration: var(--sidebar-transition-duration);
|
transition-duration: var(--sidebar-transition-duration);
|
||||||
|
|
|
@ -148,16 +148,16 @@ See https://github.com/adobe-type-tools/cmap-resources
|
||||||
|
|
||||||
<div id="secondaryToolbar" class="secondaryToolbar hidden doorHangerRight">
|
<div id="secondaryToolbar" class="secondaryToolbar hidden doorHangerRight">
|
||||||
<div id="secondaryToolbarButtonContainer">
|
<div id="secondaryToolbarButtonContainer">
|
||||||
<button id="secondaryOpenFile" class="secondaryToolbarButton visibleLargeView" title="Open File" tabindex="51" data-l10n-id="open_file">
|
<button id="secondaryOpenFile" class="secondaryToolbarButton hidden" title="Open File" tabindex="51" data-l10n-id="open_file">
|
||||||
<span data-l10n-id="open_file_label">Open</span>
|
<span data-l10n-id="open_file_label">Open</span>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<button id="secondaryPrint" class="secondaryToolbarButton visibleMediumView" title="Print" tabindex="52" data-l10n-id="print">
|
<button id="secondaryDownload" class="secondaryToolbarButton visibleMediumView" title="Save" tabindex="52" data-l10n-id="save">
|
||||||
<span data-l10n-id="print_label">Print</span>
|
<span data-l10n-id="save_label">Save</span>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<button id="secondaryDownload" class="secondaryToolbarButton visibleMediumView" title="Save" tabindex="53" data-l10n-id="save">
|
<button id="secondaryPrint" class="secondaryToolbarButton visibleMediumView" title="Print" tabindex="53" data-l10n-id="print">
|
||||||
<span data-l10n-id="save_label">Save</span>
|
<span data-l10n-id="print_label">Print</span>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<div class="horizontalToolbarSeparator visibleLargeView"></div>
|
<div class="horizontalToolbarSeparator visibleLargeView"></div>
|
||||||
|
@ -262,31 +262,29 @@ See https://github.com/adobe-type-tools/cmap-resources
|
||||||
<span id="numPages" class="toolbarLabel"></span>
|
<span id="numPages" class="toolbarLabel"></span>
|
||||||
</div>
|
</div>
|
||||||
<div id="toolbarViewerRight">
|
<div id="toolbarViewerRight">
|
||||||
<button id="openFile" class="toolbarButton hiddenLargeView" title="Open File" tabindex="31" data-l10n-id="open_file">
|
<button id="openFile" class="toolbarButton hidden" title="Open File" tabindex="31" data-l10n-id="open_file">
|
||||||
<span data-l10n-id="open_file_label">Open</span>
|
<span data-l10n-id="open_file_label">Open</span>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<button id="print" class="toolbarButton hiddenMediumView" title="Print" tabindex="32" data-l10n-id="print">
|
<button id="download" class="toolbarButton hiddenMediumView" title="Save" tabindex="32" data-l10n-id="save">
|
||||||
<span data-l10n-id="print_label">Print</span>
|
<span data-l10n-id="save_label">Save</span>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<button id="download" class="toolbarButton hiddenMediumView" title="Save" tabindex="33" data-l10n-id="save">
|
<button id="print" class="toolbarButton hiddenMediumView" title="Print" tabindex="33" data-l10n-id="print">
|
||||||
<span data-l10n-id="save_label">Save</span>
|
<span data-l10n-id="print_label">Print</span>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<div class="verticalToolbarSeparator hiddenMediumView"></div>
|
<div class="verticalToolbarSeparator hiddenMediumView"></div>
|
||||||
|
|
||||||
<div id="editorModeButtons" class="splitToolbarButton toggled" role="radiogroup">
|
<div id="editorModeButtons" class="splitToolbarButton toggled" role="radiogroup">
|
||||||
<button id="editorFreeText" class="toolbarButton" disabled="disabled" title="Text" role="radio" aria-checked="false" tabindex="34" data-l10n-id="editor_free_text2">
|
<button id="editorFreeText" class="toolbarButton hidden" disabled="disabled" title="Text" role="radio" aria-checked="false" tabindex="34" data-l10n-id="editor_free_text2">
|
||||||
<span data-l10n-id="editor_free_text2_label">Text</span>
|
<span data-l10n-id="editor_free_text2_label">Text</span>
|
||||||
</button>
|
</button>
|
||||||
<button id="editorInk" class="toolbarButton" disabled="disabled" title="Draw" role="radio" aria-checked="false" tabindex="35" data-l10n-id="editor_ink2">
|
<button id="editorInk" class="toolbarButton hidden" disabled="disabled" title="Draw" role="radio" aria-checked="false" tabindex="35" data-l10n-id="editor_ink2">
|
||||||
<span data-l10n-id="editor_ink2_label">Draw</span>
|
<span data-l10n-id="editor_ink2_label">Draw</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="editorModeSeparator" class="verticalToolbarSeparator"></div>
|
|
||||||
|
|
||||||
<button id="secondaryToolbarToggle" class="toolbarButton" title="Tools" tabindex="48" data-l10n-id="tools" aria-expanded="false" aria-controls="secondaryToolbar">
|
<button id="secondaryToolbarToggle" class="toolbarButton" title="Tools" tabindex="48" data-l10n-id="tools" aria-expanded="false" aria-controls="secondaryToolbar">
|
||||||
<span data-l10n-id="tools_label">Tools</span>
|
<span data-l10n-id="tools_label">Tools</span>
|
||||||
</button>
|
</button>
|
||||||
|
|
Loading…
Reference in New Issue