[PE, SSE embed] Translate embedded viewer. Bug 31297

This commit is contained in:
Julia Radzhabova 2019-05-14 15:18:18 +03:00
parent b3cf3b6193
commit f0b40a0911
18 changed files with 213 additions and 48 deletions

View file

@ -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) {

View file

@ -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.<br>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"
}

View file

@ -19,7 +19,10 @@
"DE.ApplicationController.errorFilePassProtect": "Файл защищен паролем и не может быть открыт.",
"DE.ApplicationController.errorAccessDeny": "Вы пытаетесь выполнить действие, на которое у вас нет прав.<br>Пожалуйста, обратитесь к администратору Сервера документов.",
"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": "Закрыть"
}

View file

@ -332,6 +332,7 @@
</script>
<!--application-->
<script type="text/javascript" src="../../common/locale.js"></script>
<script type="text/javascript" src="../../common/Gateway.js"></script>
<script type="text/javascript" src="../../common/Analytics.js"></script>
<script type="text/javascript" src="../../common/embed/lib/util/utils.js"></script>

View file

@ -205,6 +205,7 @@
<script type="text/javascript" src="../../../sdk/PowerPoint/themes/Themes.js"></script>
<!--application-->
<script type="text/javascript" src="../../common/locale.js"></script>
<script type="text/javascript" src="../../common/Gateway.js"></script>
<script type="text/javascript" src="../../common/Analytics.js"></script>
<script type="text/javascript" src="../../common/embed/lib/util/utils.js"></script>

View file

@ -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.<br>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'
}
})();

View file

@ -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(
'<ul class="dropdown-menu">' +
'<li><a id="idt-download"><span class="mi-icon svg-icon download"></span>Download</a></li>' +
'<li><a id="idt-share" data-toggle="modal"><span class="mi-icon svg-icon share"></span>Share</a></li>' +
'<li><a id="idt-embed" data-toggle="modal"><span class="mi-icon svg-icon embed"></span>Embed</a></li>' +
'<li><a id="idt-fullscreen"><span class="mi-icon svg-icon fullscr"></span>Full Screen</a></li>' +
'<li><a id="idt-download"><span class="mi-icon svg-icon download"></span>' + this.txtDownload + '</a></li>' +
'<li><a id="idt-share" data-toggle="modal"><span class="mi-icon svg-icon share"></span>' + this.txtShare + '</a></li>' +
'<li><a id="idt-embed" data-toggle="modal"><span class="mi-icon svg-icon embed"></span>' + this.txtEmbed + '</a></li>' +
'<li><a id="idt-fullscreen"><span class="mi-icon svg-icon fullscr"></span>' + this.txtFullScreen + '</a></li>' +
'</ul>');
}
@ -56,6 +60,11 @@ var ApplicationView = new(function(){
create: createView
, tools: {
get: getTools
}
},
txtDownload: 'Download',
txtShare: 'Share',
txtEmbed: 'Embed',
txtFullScreen: 'Full Screen'
}
})();

View file

@ -31,8 +31,8 @@
*
*/
(function ($) {
ApplicationView.create();
ApplicationController.create();
Common.Locale.apply();
PE.ApplicationView.create();
PE.ApplicationController.create();
})(window.jQuery);

View file

@ -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.<br>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"
}

View file

@ -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": "Вы пытаетесь выполнить действие, на которое у вас нет прав.<br>Пожалуйста, обратитесь к администратору Сервера документов.",
"PE.ApplicationController.errorUserDrop": "В настоящий момент файл недоступен.",
"PE.ApplicationController.unsupportedBrowserErrorText": "Ваш браузер не поддерживается.",
"PE.ApplicationController.textOf": "из",
"PE.ApplicationController.downloadTextText": "Загрузка презентации...",
"PE.ApplicationController.waitText": "Пожалуйста, подождите...",
"PE.ApplicationController.textLoadingDocument": "Загрузка презентации",
"PE.ApplicationController.txtClose": "Закрыть"
}

View file

@ -333,6 +333,7 @@
</script>
<!--application-->
<script type="text/javascript" src="../../common/locale.js"></script>
<script type="text/javascript" src="../../common/Gateway.js"></script>
<script type="text/javascript" src="../../common/Analytics.js"></script>
<script type="text/javascript" src="../../common/embed/lib/util/utils.js"></script>

View file

@ -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.<br>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'
}
})();

View file

@ -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(
'<ul class="dropdown-menu">' +
'<li><a id="idt-download"><span class="mi-icon svg-icon download"></span>Download</a></li>' +
'<li><a id="idt-share" data-toggle="modal"><span class="mi-icon svg-icon share"></span>Share</a></li>' +
'<li><a id="idt-embed" data-toggle="modal"><span class="mi-icon svg-icon embed"></span>Embed</a></li>' +
'<li><a id="idt-fullscreen"><span class="mi-icon svg-icon fullscr"></span>Full Screen</a></li>' +
'<li><a id="idt-download"><span class="mi-icon svg-icon download"></span>' + this.txtDownload + '</a></li>' +
'<li><a id="idt-share" data-toggle="modal"><span class="mi-icon svg-icon share"></span>' + this.txtShare + '</a></li>' +
'<li><a id="idt-embed" data-toggle="modal"><span class="mi-icon svg-icon embed"></span>' + this.txtEmbed + '</a></li>' +
'<li><a id="idt-fullscreen"><span class="mi-icon svg-icon fullscr"></span>' + this.txtFullScreen + '</a></li>' +
'</ul>');
}
@ -57,6 +61,11 @@ var ApplicationView = new(function(){
create: createView
, tools: {
get: getTools
}
},
txtDownload: 'Download',
txtShare: 'Share',
txtEmbed: 'Embed',
txtFullScreen: 'Full Screen'
}
})();

View file

@ -33,8 +33,9 @@
(function ($) {
$(function(){
ApplicationView.create();
ApplicationController.create();
Common.Locale.apply();
SSE.ApplicationView.create();
SSE.ApplicationController.create();
})
})(window.jQuery);

View file

@ -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.<br>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"
}

View file

@ -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": "Вы пытаетесь выполнить действие, на которое у вас нет прав.<br>Пожалуйста, обратитесь к администратору Сервера документов.",
"SSE.ApplicationController.errorUserDrop": "В настоящий момент файл недоступен.",
"SSE.ApplicationController.unsupportedBrowserErrorText": "Ваш браузер не поддерживается.",
"SSE.ApplicationController.textOf": "из",
"SSE.ApplicationController.downloadTextText": "Загрузка таблицы...",
"SSE.ApplicationController.waitText": "Пожалуйста, подождите...",
"SSE.ApplicationController.textLoadingDocument": "Загрузка таблицы",
"SSE.ApplicationController.txtClose": "Закрыть"
}

View file

@ -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"
},

View file

@ -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"
},