[desktop] for bug 59316

This commit is contained in:
Maxim Kadushkin 2022-10-12 23:02:44 +03:00
parent 677b629c66
commit 567cfdcd5d
4 changed files with 11 additions and 5 deletions

View file

@ -1989,7 +1989,7 @@ define([
this.menu = options.menu; this.menu = options.menu;
this.urlPref = 'resources/help/{{DEFAULT_LANG}}/'; this.urlPref = 'resources/help/{{DEFAULT_LANG}}/';
this.openUrl = null; this.openUrl = null;
this.urlHelpCenter = '{{HELP_CENTER_WEB_EDITORS}}'; this.urlHelpCenter = '{{HELP_CENTER_WEB_DE}}';
this.en_data = [ this.en_data = [
{"src": "ProgramInterface/ProgramInterface.htm", "name": "Introducing Document Editor user interface", "headername": "Program Interface"}, {"src": "ProgramInterface/ProgramInterface.htm", "name": "Introducing Document Editor user interface", "headername": "Program Interface"},

View file

@ -1505,7 +1505,7 @@ define([
this.menu = options.menu; this.menu = options.menu;
this.urlPref = 'resources/help/{{DEFAULT_LANG}}/'; this.urlPref = 'resources/help/{{DEFAULT_LANG}}/';
this.openUrl = null; this.openUrl = null;
this.urlHelpCenter = '{{HELP_CENTER_WEB_EDITORS}}'; this.urlHelpCenter = '{{HELP_CENTER_WEB_PE}}';
this.en_data = [ this.en_data = [
{"src": "ProgramInterface/ProgramInterface.htm", "name": "Introducing Presentation Editor user interface", "headername": "Program Interface"}, {"src": "ProgramInterface/ProgramInterface.htm", "name": "Introducing Presentation Editor user interface", "headername": "Program Interface"},

View file

@ -1877,7 +1877,7 @@ SSE.Views.FileMenuPanels.RecentFiles = Common.UI.BaseView.extend({
this.menu = options.menu; this.menu = options.menu;
this.urlPref = 'resources/help/{{DEFAULT_LANG}}/'; this.urlPref = 'resources/help/{{DEFAULT_LANG}}/';
this.openUrl = null; this.openUrl = null;
this.urlHelpCenter = '{{HELP_CENTER_WEB_EDITORS}}'; this.urlHelpCenter = '{{HELP_CENTER_WEB_SSE}}';
this.en_data = [ this.en_data = [
{"src": "ProgramInterface/ProgramInterface.htm", "name": "Introducing Spreadsheet Editor user interface", "headername": "Program Interface"}, {"src": "ProgramInterface/ProgramInterface.htm", "name": "Introducing Spreadsheet Editor user interface", "headername": "Program Interface"},

View file

@ -68,8 +68,14 @@ module.exports = function(grunt) {
from: /\{\{HELP_URL\}\}/g, from: /\{\{HELP_URL\}\}/g,
to: _encode(process.env.HELP_URL) || 'https://helpcenter.onlyoffice.com' to: _encode(process.env.HELP_URL) || 'https://helpcenter.onlyoffice.com'
}, { }, {
from: /\{\{HELP_CENTER_WEB_EDITORS\}\}/g, from: /\{\{HELP_CENTER_WEB_DE\}\}/g,
to: _encode(process.env.HELP_CENTER_WEB_EDITORS) || 'https://helpcenter.onlyoffice.com/userguides/docs-index.aspx' to: _encode(process.env.HELP_CENTER_WEB_DE) || _encode(process.env.HELP_CENTER_WEB_EDITORS) || 'https://helpcenter.onlyoffice.com/userguides/docs-de.aspx'
}, {
from: /\{\{HELP_CENTER_WEB_SSE\}\}/g,
to: _encode(process.env.HELP_CENTER_WEB_SSE) || _encode(process.env.HELP_CENTER_WEB_EDITORS) || 'https://helpcenter.onlyoffice.com/userguides/docs-se.aspx'
}, {
from: /\{\{HELP_CENTER_WEB_PE\}\}/g,
to: _encode(process.env.HELP_CENTER_WEB_PE) || _encode(process.env.HELP_CENTER_WEB_EDITORS) || 'https://helpcenter.onlyoffice.com/userguides/docs-pe.aspx'
}, { }, {
from: /\{\{DEFAULT_LANG\}\}/g, from: /\{\{DEFAULT_LANG\}\}/g,
to: _encode(process.env.DEFAULT_LANG) || 'en' to: _encode(process.env.DEFAULT_LANG) || 'en'