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
932d5b3d
Commit
932d5b3d
authored
Nov 21, 2016
by
Alexander Yuzhin
Committed by
Maxim Kadushkin
Nov 21, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[DE mobile] Localization EditTable.
parent
235c4765
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
96 additions
and
44 deletions
+96
-44
apps/documenteditor/mobile/app/controller/edit/EditTable.js
apps/documenteditor/mobile/app/controller/edit/EditTable.js
+2
-2
apps/documenteditor/mobile/app/template/EditTable.template
apps/documenteditor/mobile/app/template/EditTable.template
+37
-37
apps/documenteditor/mobile/app/view/edit/EditTable.js
apps/documenteditor/mobile/app/view/edit/EditTable.js
+30
-4
apps/documenteditor/mobile/locale/en.json
apps/documenteditor/mobile/locale/en.json
+27
-1
No files found.
apps/documenteditor/mobile/app/controller/edit/EditTable.js
View file @
932d5b3d
...
...
@@ -46,7 +46,7 @@ define([
],
function
(
core
)
{
'
use strict
'
;
DE
.
Controllers
.
EditTable
=
Backbone
.
Controller
.
extend
((
function
()
{
DE
.
Controllers
.
EditTable
=
Backbone
.
Controller
.
extend
(
_
.
extend
(
(
function
()
{
// Private
var
_stack
=
[],
_metricText
=
Common
.
Utils
.
Metric
.
getCurrentMetricName
(),
...
...
@@ -646,5 +646,5 @@ define([
}
}
}
})()
);
})()
,
DE
.
Controllers
.
EditTable
||
{}))
});
\ No newline at end of file
apps/documenteditor/mobile/app/template/EditTable.template
View file @
932d5b3d
This diff is collapsed.
Click to expand it.
apps/documenteditor/mobile/app/view/edit/EditTable.js
View file @
932d5b3d
...
...
@@ -49,7 +49,7 @@ define([
],
function
(
editTemplate
,
$
,
_
,
Backbone
)
{
'
use strict
'
;
DE
.
Views
.
EditTable
=
Backbone
.
View
.
extend
((
function
()
{
DE
.
Views
.
EditTable
=
Backbone
.
View
.
extend
(
_
.
extend
(
(
function
()
{
// private
var
_styles
=
[];
...
...
@@ -87,7 +87,8 @@ define([
render
:
function
()
{
this
.
layout
=
$
(
'
<div/>
'
).
append
(
this
.
template
({
android
:
Common
.
SharedSettings
.
get
(
'
android
'
),
phone
:
Common
.
SharedSettings
.
get
(
'
phone
'
)
phone
:
Common
.
SharedSettings
.
get
(
'
phone
'
),
scope
:
this
}));
return
this
;
...
...
@@ -213,8 +214,33 @@ define([
showTableStyleOptions
:
function
()
{
this
.
showPage
(
'
#edit-table-style-options-view
'
);
}
}
,
textRemoveTable
:
'
Remove Table
'
,
textTableOptions
:
'
Table Options
'
,
textStyle
:
'
Style
'
,
textWrap
:
'
Wrap
'
,
textBack
:
'
Back
'
,
textInline
:
'
Inline
'
,
textFlow
:
'
Flow
'
,
textWithText
:
'
Move with Text
'
,
textFromText
:
'
Distance from Text
'
,
textAlign
:
'
Align
'
,
textOptions
:
'
Options
'
,
textRepeatHeader
:
'
Repeat as Header Row
'
,
textResizeFit
:
'
Resize to Fit Content
'
,
textCellMargins
:
'
Cell Margins
'
,
textFill
:
'
Fill
'
,
textBorder
:
'
Border
'
,
textStyleOptions
:
'
Style Options
'
,
textSize
:
'
Size
'
,
textColor
:
'
Color
'
,
textHeaderRow
:
'
Header Row
'
,
textTotalRow
:
'
Total Row
'
,
textBandedRow
:
'
Banded Row
'
,
textFirstColumn
:
'
First Column
'
,
textLastColumn
:
'
Last Column
'
,
textBandedColumn
:
'
Banded Column
'
}
})()
);
})()
,
DE
.
Views
.
EditTable
||
{}))
});
\ No newline at end of file
apps/documenteditor/mobile/locale/en.json
View file @
932d5b3d
...
...
@@ -293,5 +293,31 @@
"DE.Views.EditShape.textEffects"
:
"Effects"
,
"DE.Views.EditShape.textSize"
:
"Size"
,
"DE.Views.EditShape.textColor"
:
"Color"
,
"DE.Views.EditShape.textOpacity"
:
"Opacity"
"DE.Views.EditShape.textOpacity"
:
"Opacity"
,
"DE.Views.EditTabletextRemoveTable"
:
"Remove Table"
,
"DE.Views.EditTabletextTableOptions"
:
"Table Options"
,
"DE.Views.EditTabletextStyle"
:
"Style"
,
"DE.Views.EditTabletextWrap"
:
"Wrap"
,
"DE.Views.EditTabletextBack"
:
"Back"
,
"DE.Views.EditTabletextInline"
:
"Inline"
,
"DE.Views.EditTabletextFlow"
:
"Flow"
,
"DE.Views.EditTabletextWithText"
:
"Move with Text"
,
"DE.Views.EditTabletextFromText"
:
"Distance from Text"
,
"DE.Views.EditTabletextAlign"
:
"Align"
,
"DE.Views.EditTabletextOptions"
:
"Options"
,
"DE.Views.EditTabletextRepeatHeader"
:
"Repeat as Header Row"
,
"DE.Views.EditTabletextResizeFit"
:
"Resize to Fit Content"
,
"DE.Views.EditTabletextCellMargins"
:
"Cell Margins"
,
"DE.Views.EditTabletextFill"
:
"Fill"
,
"DE.Views.EditTabletextBorder"
:
"Border"
,
"DE.Views.EditTabletextStyleOptions"
:
"Style Options"
,
"DE.Views.EditTabletextSize"
:
"Size"
,
"DE.Views.EditTabletextColor"
:
"Color"
,
"DE.Views.EditTabletextHeaderRow"
:
"Header Row"
,
"DE.Views.EditTabletextTotalRow"
:
"Total Row"
,
"DE.Views.EditTabletextBandedRow"
:
"Banded Row"
,
"DE.Views.EditTabletextFirstColumn"
:
"First Column"
,
"DE.Views.EditTabletextLastColumn"
:
"Last Column"
,
"DE.Views.EditTabletextBandedColumn"
:
"Banded Column"
}
\ 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