[DE] Отладка меню плагинов (первая вариация всегда называется Start).

This commit is contained in:
Julia Radzhabova 2016-06-29 10:30:59 +03:00
parent 1ed88734b4
commit cb4f55502b
3 changed files with 4 additions and 2 deletions

View file

@ -150,7 +150,7 @@ define([
for (var i=0; i<variations.length; i++) {
var variation = variations[i],
mnu = new Common.UI.MenuItem({
caption : variation.get('description'),
caption : (i>0) ? variation.get('description') : me.panelPlugins.textStart,
value : parseInt(variation.get('index'))
}).on('click', function(item, e) {
if (me.api) {

View file

@ -173,7 +173,8 @@ define([
},
strPlugins: 'Add-ons',
textLoading: 'Loading'
textLoading: 'Loading',
textStart: 'Start'
}, Common.Views.Plugins || {}));

View file

@ -159,6 +159,7 @@
"Common.Views.OpenDialog.txtTitle": "Choose %1 options",
"Common.Views.Plugins.strPlugins": "Add-ons",
"Common.Views.Plugins.textLoading": "Loading",
"Common.Views.Plugins.textStart": "Start",
"Common.Views.ReviewChanges.txtAccept": "Accept",
"Common.Views.ReviewChanges.txtAcceptAll": "Accept All Changes",
"Common.Views.ReviewChanges.txtAcceptCurrent": "Accept Current Change",