diff --git a/apps/documenteditor/embed/js/ApplicationController.js b/apps/documenteditor/embed/js/ApplicationController.js
index e4a188ab6..71ea2e9fd 100644
--- a/apps/documenteditor/embed/js/ApplicationController.js
+++ b/apps/documenteditor/embed/js/ApplicationController.js
@@ -354,7 +354,7 @@ DE.ApplicationController = new(function(){
function onOpenDocument(progress) {
var proc = (progress.asc_getCurrentFont() + progress.asc_getCurrentImage())/(progress.asc_getFontsCount() + progress.asc_getImagesCount());
- $('#loadmask-text').html(me.textLoadingDocument + ': ' + + Math.min(Math.round(proc * 100), 100) + '%');
+ $('#loadmask-text').html(me.textLoadingDocument + ': ' + Math.min(Math.round(proc * 100), 100) + '%');
}
function onError(id, level, errData) {
diff --git a/apps/documenteditor/embed/locale/en.json b/apps/documenteditor/embed/locale/en.json
index 7ee13767a..b750d452a 100644
--- a/apps/documenteditor/embed/locale/en.json
+++ b/apps/documenteditor/embed/locale/en.json
@@ -19,8 +19,10 @@
"DE.ApplicationController.errorFilePassProtect": "The file is password protected and cannot be opened.",
"DE.ApplicationController.errorAccessDeny": "You are trying to perform an action you do not have rights for.
Please contact your Document Server administrator.",
"DE.ApplicationController.errorUserDrop": "The file cannot be accessed right now.",
- "DE.ApplicationController.textOf": "of",
"DE.ApplicationController.unsupportedBrowserErrorText": "Your browser is not supported.",
+ "DE.ApplicationController.textOf": "of",
+ "DE.ApplicationController.downloadTextText": "Downloading document...",
+ "DE.ApplicationController.waitText": "Please, wait...",
"DE.ApplicationController.textLoadingDocument": "Loading document",
"DE.ApplicationController.txtClose": "Close"
}
\ No newline at end of file
diff --git a/apps/documenteditor/embed/locale/ru.json b/apps/documenteditor/embed/locale/ru.json
index 2acc61004..4afdf888c 100644
--- a/apps/documenteditor/embed/locale/ru.json
+++ b/apps/documenteditor/embed/locale/ru.json
@@ -19,7 +19,10 @@
"DE.ApplicationController.errorFilePassProtect": "Файл защищен паролем и не может быть открыт.",
"DE.ApplicationController.errorAccessDeny": "Вы пытаетесь выполнить действие, на которое у вас нет прав.
Пожалуйста, обратитесь к администратору Сервера документов.",
"DE.ApplicationController.errorUserDrop": "В настоящий момент файл недоступен.",
+ "DE.ApplicationController.unsupportedBrowserErrorText": "Your browser is not supported.",
"DE.ApplicationController.textOf": "из",
+ "DE.ApplicationController.downloadTextText": "Загрузка документа...",
+ "DE.ApplicationController.waitText": "Пожалуйста, подождите...",
"DE.ApplicationController.textLoadingDocument": "Загрузка документа",
"DE.ApplicationController.txtClose": "Закрыть"
}
\ No newline at end of file
diff --git a/apps/presentationeditor/embed/index.html b/apps/presentationeditor/embed/index.html
index 4539053d3..1da1a11dd 100644
--- a/apps/presentationeditor/embed/index.html
+++ b/apps/presentationeditor/embed/index.html
@@ -332,6 +332,7 @@
+
diff --git a/apps/presentationeditor/embed/index.html.opensource b/apps/presentationeditor/embed/index.html.opensource
index 95aee40f5..e74eb4030 100644
--- a/apps/presentationeditor/embed/index.html.opensource
+++ b/apps/presentationeditor/embed/index.html.opensource
@@ -205,6 +205,7 @@
+
diff --git a/apps/presentationeditor/embed/js/ApplicationController.js b/apps/presentationeditor/embed/js/ApplicationController.js
index 236806af9..e19836e10 100644
--- a/apps/presentationeditor/embed/js/ApplicationController.js
+++ b/apps/presentationeditor/embed/js/ApplicationController.js
@@ -30,7 +30,7 @@
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
-var ApplicationController = new(function(){
+PE.ApplicationController = new(function(){
var me,
api,
config = {},
@@ -52,7 +52,7 @@ var ApplicationController = new(function(){
// -------------------------
if (typeof isBrowserSupported !== 'undefined' && !isBrowserSupported()){
- Common.Gateway.reportError(undefined, 'Your browser is not supported.');
+ Common.Gateway.reportError(undefined, this.unsupportedBrowserErrorText);
return;
}
@@ -118,7 +118,7 @@ var ApplicationController = new(function(){
function onCountPages(count) {
maxPages = count;
- $('#pages').text('of ' + count);
+ $('#pages').text(me.textOf + " " + count);
}
function onCurrentPage(number) {
@@ -131,10 +131,10 @@ var ApplicationController = new(function(){
switch (id)
{
case Asc.c_oAscAsyncAction['Print']:
- text = 'Downloading document...';
+ text = me.downloadTextText;
break;
default:
- text = 'Please wait...';
+ text = me.waitText;
break;
}
@@ -256,12 +256,12 @@ var ApplicationController = new(function(){
Common.Gateway.on('processmouse', onProcessMouse);
Common.Gateway.on('downloadas', onDownloadAs);
- ApplicationView.tools.get('#idt-fullscreen')
+ PE.ApplicationView.tools.get('#idt-fullscreen')
.on('click', function(){
common.utils.openLink(embedConfig.fullscreenUrl);
});
- ApplicationView.tools.get('#idt-download')
+ PE.ApplicationView.tools.get('#idt-download')
.on('click', function(){
if ( !!embedConfig.saveUrl ){
common.utils.openLink(embedConfig.saveUrl);
@@ -417,7 +417,7 @@ var ApplicationController = new(function(){
function onOpenDocument(progress) {
var proc = (progress.asc_getCurrentFont() + progress.asc_getCurrentImage())/(progress.asc_getFontsCount() + progress.asc_getImagesCount());
- $('#loadmask-text').html('Loading document: ' + Math.min(Math.round(proc * 100), 100) + '%');
+ $('#loadmask-text').html(me.textLoadingDocument + ': ' + Math.min(Math.round(proc * 100), 100) + '%');
}
var isplaymode;
@@ -461,7 +461,7 @@ var ApplicationController = new(function(){
if (id == Asc.c_oAscError.ID.LoadingScriptError) {
$('#id-critical-error-title').text(me.criticalErrorTitle);
$('#id-critical-error-message').text(me.scriptLoadError);
- $('#id-critical-error-close').off().on('click', function(){
+ $('#id-critical-error-close').text(me.txtClose).off().on('click', function(){
window.location.reload();
});
$('#id-critical-error-dialog').css('z-index', 20002).modal('show');
@@ -510,8 +510,7 @@ var ApplicationController = new(function(){
$('#id-critical-error-title').text(me.criticalErrorTitle);
$('#id-critical-error-message').text(message);
- $('#id-critical-error-close').off();
- $('#id-critical-error-close').on('click', function(){
+ $('#id-critical-error-close').text(me.txtClose).off().on('click', function(){
window.location.reload();
});
}
@@ -520,8 +519,7 @@ var ApplicationController = new(function(){
$('#id-critical-error-title').text(me.notcriticalErrorTitle);
$('#id-critical-error-message').text(message);
- $('#id-critical-error-close').off();
- $('#id-critical-error-close').on('click', function(){
+ $('#id-critical-error-close').text(me.txtClose).off().on('click', function(){
$('#id-critical-error-dialog').modal('hide');
});
}
@@ -534,7 +532,7 @@ var ApplicationController = new(function(){
function onExternalMessage(error) {
if (error) {
hidePreloader();
- $('#id-error-mask-title').text('Error');
+ $('#id-error-mask-title').text(me.criticalErrorTitle);
$('#id-error-mask-text').text(error.msg);
$('#id-error-mask').css('display', 'block');
@@ -620,6 +618,12 @@ var ApplicationController = new(function(){
scriptLoadError: 'The connection is too slow, some of the components could not be loaded. Please reload the page.',
errorFilePassProtect: 'The file is password protected and cannot be opened.',
errorAccessDeny: 'You are trying to perform an action you do not have rights for.
Please contact your Document Server administrator.',
- errorUserDrop: 'The file cannot be accessed right now.'
+ errorUserDrop: 'The file cannot be accessed right now.',
+ unsupportedBrowserErrorText: 'Your browser is not supported.',
+ textOf: 'of',
+ downloadTextText: 'Downloading presentation...',
+ waitText: 'Please, wait...',
+ textLoadingDocument: 'Loading presentation',
+ txtClose: 'Close'
}
})();
diff --git a/apps/presentationeditor/embed/js/ApplicationView.js b/apps/presentationeditor/embed/js/ApplicationView.js
index dbbdb198d..e1d870c08 100644
--- a/apps/presentationeditor/embed/js/ApplicationView.js
+++ b/apps/presentationeditor/embed/js/ApplicationView.js
@@ -30,7 +30,11 @@
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
-var ApplicationView = new(function(){
+if (PE === undefined) {
+ var PE = {};
+}
+
+PE.ApplicationView = new(function(){
var $btnTools;
// Initialize view
@@ -41,10 +45,10 @@ var ApplicationView = new(function(){
$btnTools.addClass('dropdown-toggle').attr('data-toggle', 'dropdown').attr('aria-expanded', 'true');
$btnTools.parent().append(
'
');
}
@@ -56,6 +60,11 @@ var ApplicationView = new(function(){
create: createView
, tools: {
get: getTools
- }
+ },
+
+ txtDownload: 'Download',
+ txtShare: 'Share',
+ txtEmbed: 'Embed',
+ txtFullScreen: 'Full Screen'
}
})();
diff --git a/apps/presentationeditor/embed/js/application.js b/apps/presentationeditor/embed/js/application.js
index 7d10d275f..73a13c863 100644
--- a/apps/presentationeditor/embed/js/application.js
+++ b/apps/presentationeditor/embed/js/application.js
@@ -31,8 +31,8 @@
*
*/
(function ($) {
-
- ApplicationView.create();
- ApplicationController.create();
+ Common.Locale.apply();
+ PE.ApplicationView.create();
+ PE.ApplicationController.create();
})(window.jQuery);
diff --git a/apps/presentationeditor/embed/locale/en.json b/apps/presentationeditor/embed/locale/en.json
new file mode 100644
index 000000000..88905ab55
--- /dev/null
+++ b/apps/presentationeditor/embed/locale/en.json
@@ -0,0 +1,28 @@
+{
+ "common.view.modals.txtWidth": "Width",
+ "common.view.modals.txtHeight": "Height",
+ "common.view.modals.txtShare": "Share Link",
+ "common.view.modals.txtCopy": "Copy to clipboard",
+ "common.view.modals.txtEmbed": "Embed",
+ "PE.ApplicationView.txtDownload": "Download",
+ "PE.ApplicationView.txtShare": "Share",
+ "PE.ApplicationView.txtEmbed": "Embed",
+ "PE.ApplicationView.txtFullScreen": "Full Screen",
+ "PE.ApplicationController.errorDefaultMessage": "Error code: %1",
+ "PE.ApplicationController.unknownErrorText": "Unknown error.",
+ "PE.ApplicationController.convertationTimeoutText": "Convertation timeout exceeded.",
+ "PE.ApplicationController.convertationErrorText": "Convertation failed.",
+ "PE.ApplicationController.downloadErrorText": "Download failed.",
+ "PE.ApplicationController.criticalErrorTitle": "Error",
+ "PE.ApplicationController.notcriticalErrorTitle": "Warning",
+ "PE.ApplicationController.scriptLoadError": "The connection is too slow, some of the components could not be loaded. Please reload the page.",
+ "PE.ApplicationController.errorFilePassProtect": "The file is password protected and cannot be opened.",
+ "PE.ApplicationController.errorAccessDeny": "You are trying to perform an action you do not have rights for.
Please contact your Document Server administrator.",
+ "PE.ApplicationController.errorUserDrop": "The file cannot be accessed right now.",
+ "PE.ApplicationController.textOf": "of",
+ "PE.ApplicationController.unsupportedBrowserErrorText": "Your browser is not supported.",
+ "PE.ApplicationController.downloadTextText": "Downloading presentation...",
+ "PE.ApplicationController.waitText": "Please, wait...",
+ "PE.ApplicationController.textLoadingDocument": "Loading presentation",
+ "PE.ApplicationController.txtClose": "Close"
+}
\ No newline at end of file
diff --git a/apps/presentationeditor/embed/locale/ru.json b/apps/presentationeditor/embed/locale/ru.json
new file mode 100644
index 000000000..05f511301
--- /dev/null
+++ b/apps/presentationeditor/embed/locale/ru.json
@@ -0,0 +1,28 @@
+{
+ "common.view.modals.txtWidth": "Ширина",
+ "common.view.modals.txtHeight": "Высота",
+ "common.view.modals.txtShare": "Поделиться ссылкой",
+ "common.view.modals.txtCopy": "Скопировать в буфер",
+ "common.view.modals.txtEmbed": "Встроить",
+ "PE.ApplicationView.txtDownload": "Скачать файл",
+ "PE.ApplicationView.txtShare": "Поделиться",
+ "PE.ApplicationView.txtEmbed": "Встроить",
+ "PE.ApplicationView.txtFullScreen": "Во весь экран",
+ "PE.ApplicationController.errorDefaultMessage": "Код ошибки: %1",
+ "PE.ApplicationController.unknownErrorText": "Неизвестная ошибка.",
+ "PE.ApplicationController.convertationTimeoutText": "Превышено время ожидания конвертации.",
+ "PE.ApplicationController.convertationErrorText": "Конвертация не удалась.",
+ "PE.ApplicationController.downloadErrorText": "Загрузка не удалась.",
+ "PE.ApplicationController.criticalErrorTitle": "Ошибка",
+ "PE.ApplicationController.notcriticalErrorTitle": "Внимание",
+ "PE.ApplicationController.scriptLoadError": "Слишком медленное подключение, некоторые компоненты не удалось загрузить. Пожалуйста, обновите страницу.",
+ "PE.ApplicationController.errorFilePassProtect": "Файл защищен паролем и не может быть открыт.",
+ "PE.ApplicationController.errorAccessDeny": "Вы пытаетесь выполнить действие, на которое у вас нет прав.
Пожалуйста, обратитесь к администратору Сервера документов.",
+ "PE.ApplicationController.errorUserDrop": "В настоящий момент файл недоступен.",
+ "PE.ApplicationController.unsupportedBrowserErrorText": "Ваш браузер не поддерживается.",
+ "PE.ApplicationController.textOf": "из",
+ "PE.ApplicationController.downloadTextText": "Загрузка презентации...",
+ "PE.ApplicationController.waitText": "Пожалуйста, подождите...",
+ "PE.ApplicationController.textLoadingDocument": "Загрузка презентации",
+ "PE.ApplicationController.txtClose": "Закрыть"
+}
\ No newline at end of file
diff --git a/apps/spreadsheeteditor/embed/index.html b/apps/spreadsheeteditor/embed/index.html
index 05bacda25..80aecf403 100644
--- a/apps/spreadsheeteditor/embed/index.html
+++ b/apps/spreadsheeteditor/embed/index.html
@@ -333,6 +333,7 @@
+
diff --git a/apps/spreadsheeteditor/embed/js/ApplicationController.js b/apps/spreadsheeteditor/embed/js/ApplicationController.js
index 05fe7f2d1..96219e2ad 100644
--- a/apps/spreadsheeteditor/embed/js/ApplicationController.js
+++ b/apps/spreadsheeteditor/embed/js/ApplicationController.js
@@ -30,7 +30,7 @@
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
-var ApplicationController = new(function(){
+SSE.ApplicationController = new(function(){
var me,
api,
config = {},
@@ -54,7 +54,7 @@ var ApplicationController = new(function(){
// -------------------------
if (typeof isBrowserSupported !== 'undefined' && !isBrowserSupported()){
- Common.Gateway.reportError(undefined, 'Your browser is not supported.');
+ Common.Gateway.reportError(undefined, this.unsupportedBrowserErrorText);
return;
}
@@ -193,12 +193,12 @@ var ApplicationController = new(function(){
Common.Gateway.on('processmouse', onProcessMouse);
Common.Gateway.on('downloadas', onDownloadAs);
- ApplicationView.tools.get('#idt-fullscreen')
+ SSE.ApplicationView.tools.get('#idt-fullscreen')
.on('click', function(){
common.utils.openLink(embedConfig.fullscreenUrl);
});
- ApplicationView.tools.get('#idt-download')
+ SSE.ApplicationView.tools.get('#idt-download')
.on('click', function(){
if ( !!embedConfig.saveUrl ){
common.utils.openLink(embedConfig.saveUrl);
@@ -325,7 +325,7 @@ var ApplicationController = new(function(){
function onOpenDocument(progress) {
var proc = (progress.asc_getCurrentFont() + progress.asc_getCurrentImage())/(progress.asc_getFontsCount() + progress.asc_getImagesCount());
- $('#loadmask-text').html('Loading document: ' + Math.min(Math.round(proc * 100), 100) + '%');
+ $('#loadmask-text').html(me.textLoadingDocument + ': ' + Math.min(Math.round(proc * 100), 100) + '%');
}
function onLongActionBegin(type, id){
@@ -333,10 +333,10 @@ var ApplicationController = new(function(){
switch (id)
{
case Asc.c_oAscAsyncAction['Print']:
- text = 'Downloading document...';
+ text = me.downloadTextText;
break;
default:
- text = 'Please wait...';
+ text = me.waitText;
break;
}
@@ -369,7 +369,7 @@ var ApplicationController = new(function(){
if (id == Asc.c_oAscError.ID.LoadingScriptError) {
$('#id-critical-error-title').text(me.criticalErrorTitle);
$('#id-critical-error-message').text(me.scriptLoadError);
- $('#id-critical-error-close').off().on('click', function(){
+ $('#id-critical-error-close').text(me.txtClose).off().on('click', function(){
window.location.reload();
});
$('#id-critical-error-dialog').css('z-index', 20002).modal('show');
@@ -418,8 +418,7 @@ var ApplicationController = new(function(){
$('#id-critical-error-title').text(me.criticalErrorTitle);
$('#id-critical-error-message').text(message);
- $('#id-critical-error-close').off();
- $('#id-critical-error-close').on('click', function(){
+ $('#id-critical-error-close').text(me.txtClose).off().on('click', function(){
window.location.reload();
});
}
@@ -428,8 +427,7 @@ var ApplicationController = new(function(){
$('#id-critical-error-title').text(me.notcriticalErrorTitle);
$('#id-critical-error-message').text(message);
- $('#id-critical-error-close').off();
- $('#id-critical-error-close').on('click', function(){
+ $('#id-critical-error-close').text(me.txtClose).off().on('click', function(){
$('#id-critical-error-dialog').modal('hide');
});
}
@@ -442,7 +440,7 @@ var ApplicationController = new(function(){
function onExternalMessage(error) {
if (error) {
hidePreloader();
- $('#id-error-mask-title').text('Error');
+ $('#id-error-mask-title').text(me.criticalErrorTitle);
$('#id-error-mask-text').text(error.msg);
$('#id-error-mask').css('display', 'block');
@@ -567,6 +565,12 @@ var ApplicationController = new(function(){
scriptLoadError: 'The connection is too slow, some of the components could not be loaded. Please reload the page.',
errorFilePassProtect: 'The file is password protected and cannot be opened.',
errorAccessDeny: 'You are trying to perform an action you do not have rights for.
Please contact your Document Server administrator.',
- errorUserDrop: 'The file cannot be accessed right now.'
+ errorUserDrop: 'The file cannot be accessed right now.',
+ unsupportedBrowserErrorText: 'Your browser is not supported.',
+ textOf: 'of',
+ downloadTextText: 'Downloading spreadsheet...',
+ waitText: 'Please, wait...',
+ textLoadingDocument: 'Loading spreadsheet',
+ txtClose: 'Close'
}
})();
\ No newline at end of file
diff --git a/apps/spreadsheeteditor/embed/js/ApplicationView.js b/apps/spreadsheeteditor/embed/js/ApplicationView.js
index bd3c1a694..dd299554b 100644
--- a/apps/spreadsheeteditor/embed/js/ApplicationView.js
+++ b/apps/spreadsheeteditor/embed/js/ApplicationView.js
@@ -30,7 +30,11 @@
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
-var ApplicationView = new(function(){
+if (SSE === undefined) {
+ var SSE = {};
+}
+
+SSE.ApplicationView = new(function(){
var $btnTools;
@@ -42,10 +46,10 @@ var ApplicationView = new(function(){
$btnTools.addClass('dropdown-toggle').attr('data-toggle', 'dropdown').attr('aria-expanded', 'true');
$btnTools.parent().append(
'');
}
@@ -57,6 +61,11 @@ var ApplicationView = new(function(){
create: createView
, tools: {
get: getTools
- }
+ },
+
+ txtDownload: 'Download',
+ txtShare: 'Share',
+ txtEmbed: 'Embed',
+ txtFullScreen: 'Full Screen'
}
})();
diff --git a/apps/spreadsheeteditor/embed/js/application.js b/apps/spreadsheeteditor/embed/js/application.js
index c42c8847f..4327c07ca 100644
--- a/apps/spreadsheeteditor/embed/js/application.js
+++ b/apps/spreadsheeteditor/embed/js/application.js
@@ -33,8 +33,9 @@
(function ($) {
$(function(){
- ApplicationView.create();
- ApplicationController.create();
+ Common.Locale.apply();
+ SSE.ApplicationView.create();
+ SSE.ApplicationController.create();
})
})(window.jQuery);
diff --git a/apps/spreadsheeteditor/embed/locale/en.json b/apps/spreadsheeteditor/embed/locale/en.json
new file mode 100644
index 000000000..80d7d15d4
--- /dev/null
+++ b/apps/spreadsheeteditor/embed/locale/en.json
@@ -0,0 +1,28 @@
+{
+ "common.view.modals.txtWidth": "Width",
+ "common.view.modals.txtHeight": "Height",
+ "common.view.modals.txtShare": "Share Link",
+ "common.view.modals.txtCopy": "Copy to clipboard",
+ "common.view.modals.txtEmbed": "Embed",
+ "SSE.ApplicationView.txtDownload": "Download",
+ "SSE.ApplicationView.txtShare": "Share",
+ "SSE.ApplicationView.txtEmbed": "Embed",
+ "SSE.ApplicationView.txtFullScreen": "Full Screen",
+ "SSE.ApplicationController.errorDefaultMessage": "Error code: %1",
+ "SSE.ApplicationController.unknownErrorText": "Unknown error.",
+ "SSE.ApplicationController.convertationTimeoutText": "Convertation timeout exceeded.",
+ "SSE.ApplicationController.convertationErrorText": "Convertation failed.",
+ "SSE.ApplicationController.downloadErrorText": "Download failed.",
+ "SSE.ApplicationController.criticalErrorTitle": "Error",
+ "SSE.ApplicationController.notcriticalErrorTitle": "Warning",
+ "SSE.ApplicationController.scriptLoadError": "The connection is too slow, some of the components could not be loaded. Please reload the page.",
+ "SSE.ApplicationController.errorFilePassProtect": "The file is password protected and cannot be opened.",
+ "SSE.ApplicationController.errorAccessDeny": "You are trying to perform an action you do not have rights for.
Please contact your Document Server administrator.",
+ "SSE.ApplicationController.errorUserDrop": "The file cannot be accessed right now.",
+ "SSE.ApplicationController.textOf": "of",
+ "SSE.ApplicationController.unsupportedBrowserErrorText": "Your browser is not supported.",
+ "SSE.ApplicationController.downloadTextText": "Downloading spreadsheet...",
+ "SSE.ApplicationController.waitText": "Please, wait...",
+ "SSE.ApplicationController.textLoadingDocument": "Loading spreadsheet",
+ "SSE.ApplicationController.txtClose": "Close"
+}
\ No newline at end of file
diff --git a/apps/spreadsheeteditor/embed/locale/ru.json b/apps/spreadsheeteditor/embed/locale/ru.json
new file mode 100644
index 000000000..4d6de4902
--- /dev/null
+++ b/apps/spreadsheeteditor/embed/locale/ru.json
@@ -0,0 +1,28 @@
+{
+ "common.view.modals.txtWidth": "Ширина",
+ "common.view.modals.txtHeight": "Высота",
+ "common.view.modals.txtShare": "Поделиться ссылкой",
+ "common.view.modals.txtCopy": "Скопировать в буфер",
+ "common.view.modals.txtEmbed": "Встроить",
+ "SSE.ApplicationView.txtDownload": "Скачать файл",
+ "SSE.ApplicationView.txtShare": "Поделиться",
+ "SSE.ApplicationView.txtEmbed": "Встроить",
+ "SSE.ApplicationView.txtFullScreen": "Во весь экран",
+ "SSE.ApplicationController.errorDefaultMessage": "Код ошибки: %1",
+ "SSE.ApplicationController.unknownErrorText": "Неизвестная ошибка.",
+ "SSE.ApplicationController.convertationTimeoutText": "Превышено время ожидания конвертации.",
+ "SSE.ApplicationController.convertationErrorText": "Конвертация не удалась.",
+ "SSE.ApplicationController.downloadErrorText": "Загрузка не удалась.",
+ "SSE.ApplicationController.criticalErrorTitle": "Ошибка",
+ "SSE.ApplicationController.notcriticalErrorTitle": "Внимание",
+ "SSE.ApplicationController.scriptLoadError": "Слишком медленное подключение, некоторые компоненты не удалось загрузить. Пожалуйста, обновите страницу.",
+ "SSE.ApplicationController.errorFilePassProtect": "Файл защищен паролем и не может быть открыт.",
+ "SSE.ApplicationController.errorAccessDeny": "Вы пытаетесь выполнить действие, на которое у вас нет прав.
Пожалуйста, обратитесь к администратору Сервера документов.",
+ "SSE.ApplicationController.errorUserDrop": "В настоящий момент файл недоступен.",
+ "SSE.ApplicationController.unsupportedBrowserErrorText": "Ваш браузер не поддерживается.",
+ "SSE.ApplicationController.textOf": "из",
+ "SSE.ApplicationController.downloadTextText": "Загрузка таблицы...",
+ "SSE.ApplicationController.waitText": "Пожалуйста, подождите...",
+ "SSE.ApplicationController.textLoadingDocument": "Загрузка таблицы",
+ "SSE.ApplicationController.txtClose": "Закрыть"
+}
\ No newline at end of file
diff --git a/build/presentationeditor.json b/build/presentationeditor.json
index e4654df63..aa44ac433 100644
--- a/build/presentationeditor.json
+++ b/build/presentationeditor.json
@@ -377,6 +377,7 @@
},
"js": {
"src": [
+ "../apps/common/locale.js",
"../apps/common/Gateway.js",
"../apps/common/Analytics.js",
"../apps/common/embed/lib/util/utils.js",
@@ -395,6 +396,14 @@
}
},
"copy": {
+ "localization": [
+ {
+ "expand": true,
+ "cwd": "../apps/presentationeditor/embed/locale/",
+ "src": "*",
+ "dest": "../deploy/web-apps/apps/presentationeditor/embed/locale/"
+ }
+ ],
"index-page": {
"../deploy/web-apps/apps/presentationeditor/embed/index.html": "../apps/presentationeditor/embed/index.html.deploy"
},
diff --git a/build/spreadsheeteditor.json b/build/spreadsheeteditor.json
index dbe176d15..03ddcf098 100644
--- a/build/spreadsheeteditor.json
+++ b/build/spreadsheeteditor.json
@@ -391,6 +391,7 @@
},
"js": {
"src": [
+ "../apps/common/locale.js",
"../apps/common/Gateway.js",
"../apps/common/Analytics.js",
"../apps/common/embed/lib/util/utils.js",
@@ -409,6 +410,14 @@
}
},
"copy": {
+ "localization": [
+ {
+ "expand": true,
+ "cwd": "../apps/spreadsheeteditor/embed/locale/",
+ "src": "*",
+ "dest": "../deploy/web-apps/apps/spreadsheeteditor/embed/locale/"
+ }
+ ],
"index-page": {
"../deploy/web-apps/apps/spreadsheeteditor/embed/index.html": "../apps/spreadsheeteditor/embed/index.html.deploy"
},