Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
web-apps
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
web-apps
Commits
d3843067
Commit
d3843067
authored
Nov 18, 2016
by
Alexander Yuzhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[DE mobile] Localization EditChart.
parent
2abb5bec
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
97 additions
and
44 deletions
+97
-44
apps/documenteditor/mobile/app/controller/edit/EditChart.js
apps/documenteditor/mobile/app/controller/edit/EditChart.js
+2
-2
apps/documenteditor/mobile/app/template/EditChart.template
apps/documenteditor/mobile/app/template/EditChart.template
+37
-37
apps/documenteditor/mobile/app/view/edit/EditChart.js
apps/documenteditor/mobile/app/view/edit/EditChart.js
+31
-4
apps/documenteditor/mobile/locale/en.json
apps/documenteditor/mobile/locale/en.json
+27
-1
No files found.
apps/documenteditor/mobile/app/controller/edit/EditChart.js
View file @
d3843067
...
...
@@ -46,7 +46,7 @@ define([
],
function
(
core
)
{
'
use strict
'
;
DE
.
Controllers
.
EditChart
=
Backbone
.
Controller
.
extend
((
function
()
{
DE
.
Controllers
.
EditChart
=
Backbone
.
Controller
.
extend
(
_
.
extend
(
(
function
()
{
// Private
var
_stack
=
[],
_chartObject
=
undefined
,
...
...
@@ -593,5 +593,5 @@ define([
return
chartExist
;
}
};
})()
);
})()
,
DE
.
Controllers
.
EditChart
||
{}))
});
\ No newline at end of file
apps/documenteditor/mobile/app/template/EditChart.template
View file @
d3843067
This diff is collapsed.
Click to expand it.
apps/documenteditor/mobile/app/view/edit/EditChart.js
View file @
d3843067
...
...
@@ -49,7 +49,7 @@ define([
],
function
(
editTemplate
,
$
,
_
,
Backbone
)
{
'
use strict
'
;
DE
.
Views
.
EditChart
=
Backbone
.
View
.
extend
((
function
()
{
DE
.
Views
.
EditChart
=
Backbone
.
View
.
extend
(
_
.
extend
(
(
function
()
{
// private
var
_styles
=
[];
...
...
@@ -128,7 +128,8 @@ define([
this
.
layout
=
$
(
'
<div/>
'
).
append
(
this
.
template
({
android
:
Common
.
SharedSettings
.
get
(
'
android
'
),
phone
:
Common
.
SharedSettings
.
get
(
'
phone
'
),
types
:
groupsOfTypes
types
:
groupsOfTypes
,
scope
:
this
}));
return
this
;
...
...
@@ -241,7 +242,33 @@ define([
});
this
.
fireEvent
(
'
page:show
'
,
[
this
,
selector
]);
}
},
textStyle
:
'
Style
'
,
textWrap
:
'
Wrap
'
,
textReorder
:
'
Reorder
'
,
textRemoveChart
:
'
Remove Chart
'
,
textBack
:
'
Back
'
,
textToForeground
:
'
Bring to Foreground
'
,
textToBackground
:
'
Send to Background
'
,
textForward
:
'
Move Forward
'
,
textBackward
:
'
Move Backward
'
,
textInline
:
'
Inline
'
,
textSquare
:
'
Square
'
,
textTight
:
'
Tight
'
,
textThrough
:
'
Through
'
,
textTopBottom
:
'
Top and Bottom
'
,
textInFront
:
'
In Front
'
,
textBehind
:
'
Behind
'
,
textAlign
:
'
Align
'
,
textMoveText
:
'
Move with Text
'
,
textOverlap
:
'
Allow Overlap
'
,
textDistanceText
:
'
Distance from Text
'
,
textType
:
'
Type
'
,
textFill
:
'
Fill
'
,
textBorder
:
'
Border
'
,
textSize
:
'
Size
'
,
textColor
:
'
Color
'
}
})()
);
})()
,
DE
.
Views
.
EditChart
||
{}))
});
\ No newline at end of file
apps/documenteditor/mobile/locale/en.json
View file @
d3843067
...
...
@@ -179,5 +179,31 @@
"DE.Controllers.AddTable.textTableSize"
:
"Table Size"
,
"DE.Controllers.AddTable.textColumns"
:
"Columns"
,
"DE.Controllers.AddTable.textRows"
:
"Rows"
,
"DE.Controllers.AddTable.textCancel"
:
"Cancel"
"DE.Controllers.AddTable.textCancel"
:
"Cancel"
,
"DE.Views.EditChart.textStyle"
:
"Style"
,
"DE.Views.EditChart.textWrap"
:
"Wrap"
,
"DE.Views.EditChart.textReorder"
:
"Reorder"
,
"DE.Views.EditChart.textRemoveChart"
:
"Remove Chart"
,
"DE.Views.EditChart.textBack"
:
"Back"
,
"DE.Views.EditChart.textToForeground"
:
"Bring to Foreground"
,
"DE.Views.EditChart.textToBackground"
:
"Send to Background"
,
"DE.Views.EditChart.textForward"
:
"Move Forward"
,
"DE.Views.EditChart.textBackward"
:
"Move Backward"
,
"DE.Views.EditChart.textInline"
:
"Inline"
,
"DE.Views.EditChart.textSquare"
:
"Square"
,
"DE.Views.EditChart.textTight"
:
"Tight"
,
"DE.Views.EditChart.textThrough"
:
"Through"
,
"DE.Views.EditChart.textTopBottom"
:
"Top and Bottom"
,
"DE.Views.EditChart.textInFront"
:
"In Front"
,
"DE.Views.EditChart.textBehind"
:
"Behind"
,
"DE.Views.EditChart.textAlign"
:
"Align"
,
"DE.Views.EditChart.textMoveText"
:
"Move with Text"
,
"DE.Views.EditChart.textOverlap"
:
"Allow Overlap"
,
"DE.Views.EditChart.textDistanceText"
:
"Distance from Text"
,
"DE.Views.EditChart.textType"
:
"Type"
,
"DE.Views.EditChart.textFill"
:
"Fill"
,
"DE.Views.EditChart.textBorder"
:
"Border"
,
"DE.Views.EditChart.textSize"
:
"Size"
,
"DE.Views.EditChart.textColor"
:
"Color"
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment