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
1236267c
Commit
1236267c
authored
Dec 22, 2016
by
Alexander Yuzhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SE mobile] Add localization for the view of editing hyperlink
parent
307e3630
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
40 additions
and
467 deletions
+40
-467
apps/spreadsheeteditor/mobile/app/template/EditHyperlink.template
...eadsheeteditor/mobile/app/template/EditHyperlink.template
+13
-13
apps/spreadsheeteditor/mobile/app/template/EditTable.template
.../spreadsheeteditor/mobile/app/template/EditTable.template
+0
-453
apps/spreadsheeteditor/mobile/app/view/edit/EditHyperlink.js
apps/spreadsheeteditor/mobile/app/view/edit/EditHyperlink.js
+11
-1
apps/spreadsheeteditor/mobile/locale/en.json
apps/spreadsheeteditor/mobile/locale/en.json
+16
-0
No files found.
apps/spreadsheeteditor/mobile/app/template/EditHyperlink.template
View file @
1236267c
...
...
@@ -5,13 +5,13 @@
<li>
<a id="edit-link-type" class="item-link smart-select" data-back-on-select="true">
<select name="edit-link-type">
<option value="1" selected>
External Link
</option>
<option value="2">
Internal Data Range
</option>
<option value="1" selected>
<%= scope.textExternalLink %>
</option>
<option value="2">
<%= scope.textInternalLink %>
</option>
</select>
<div class="item-content">
<div class="item-inner">
<div class="item-title">
Link Type
</div>
<div class="item-after">
External Link
</div>
<div class="item-title">
<%= scope.textLinkType %>
</div>
<div class="item-after">
<%= scope.textExternalLink %>
</div>
</div>
</div>
</a>
...
...
@@ -21,7 +21,7 @@
<select name="edit-link-sheet"></select>
<div class="item-content">
<div class="item-inner">
<div class="item-title">
Sheet
</div>
<div class="item-title">
<%= scope.textSheet %>
</div>
<div class="item-after"></div>
</div>
</div>
...
...
@@ -30,7 +30,7 @@
<li id="edit-link-range">
<div class="item-content">
<div class="item-inner">
<div class="item-title">
Range
</div>
<div class="item-title">
<%= scope.textRange %>
</div>
<div class="item-after">
<div class="item-input">
<input class="field right" type="text" placeholder="Required">
...
...
@@ -42,7 +42,7 @@
<li id="edit-link-link">
<div class="item-content">
<div class="item-inner">
<div class="item-title">
Link
</div>
<div class="item-title">
<%= scope.textLink %>
</div>
<div class="item-after">
<div class="item-input">
<input class="field right" type="url" placeholder="Required">
...
...
@@ -54,7 +54,7 @@
<li id="edit-link-display">
<div class="item-content">
<div class="item-inner">
<div class="item-title">
Display
</div>
<div class="item-title">
<%= scope.textDisplay %>
</div>
<div class="item-after">
<div class="item-input">
<input class="field right" type="text">
...
...
@@ -66,7 +66,7 @@
<li id="edit-link-tip">
<div class="item-content">
<div class="item-inner">
<div class="item-title">
Screen Tip
</div>
<div class="item-title">
<%= scope.textScreenTip %>
</div>
<div class="item-after">
<div class="item-input">
<input class="field right" type="text">
...
...
@@ -79,15 +79,15 @@
</div>
<div class="list-block">
<% if (android) { %>
<a href="#" id="edit-link-edit" class="button button-raised button-fill disabled" style="margin: 20px 16px;">
Edit Link
</a>
<a href="#" id="edit-link-remove" class="button button-raised button-fill" style="margin: 20px 16px; background-color: #f44336;">
Remove Link
</a>
<a href="#" id="edit-link-edit" class="button button-raised button-fill disabled" style="margin: 20px 16px;">
<%= scope.textEditLink %>
</a>
<a href="#" id="edit-link-remove" class="button button-raised button-fill" style="margin: 20px 16px; background-color: #f44336;">
<%= scope.textRemoveLink %>
</a>
<% } else { %>
<ul>
<li>
<a href="#" id="edit-link-edit" class="list-button item-link disabled" style="text-align: center;">
Edit Link
</a>
<a href="#" id="edit-link-edit" class="list-button item-link disabled" style="text-align: center;">
<%= scope.textEditLink %>
</a>
</li>
<li>
<a href="#" id="edit-link-remove" class="list-button item-link" style="text-align: center; color: #f00">
Remove Link
</a>
<a href="#" id="edit-link-remove" class="list-button item-link" style="text-align: center; color: #f00">
<%= scope.textRemoveLink %>
</a>
</li>
</ul>
<% } %>
...
...
apps/spreadsheeteditor/mobile/app/template/EditTable.template
deleted
100644 → 0
View file @
307e3630
This diff is collapsed.
Click to expand it.
apps/spreadsheeteditor/mobile/app/view/edit/EditHyperlink.js
View file @
1236267c
...
...
@@ -97,7 +97,17 @@ define([
//
},
textBack
:
'
Back
'
textBack
:
'
Back
'
,
textExternalLink
:
'
External Link
'
,
textInternalLink
:
'
Internal Data Range
'
,
textLinkType
:
'
Link Type
'
,
textSheet
:
'
Sheet
'
,
textRange
:
'
Range
'
,
textLink
:
'
Link
'
,
textDisplay
:
'
Display
'
,
textScreenTip
:
'
Screen Tip
'
,
textEditLink
:
'
Edit Link
'
,
textRemoveLink
:
'
Remove Link
'
}
})(),
SSE
.
Views
.
EditHyperlink
||
{}))
});
apps/spreadsheeteditor/mobile/locale/en.json
0 → 100644
View file @
1236267c
{
"Common.UI.ThemeColorPalette.textThemeColors"
:
"Theme Colors"
,
"Common.UI.ThemeColorPalette.textStandartColors"
:
"Standard Colors"
,
"SSE.Views.EditHyperlink.textBack"
:
"Back"
,
"SSE.Views.EditHyperlink.textExternalLink"
:
"External Link"
,
"SSE.Views.EditHyperlink.textInternalLink"
:
"Internal Data Range"
,
"SSE.Views.EditHyperlink.textLinkType"
:
"Link Type"
,
"SSE.Views.EditHyperlink.textSheet"
:
"Sheet"
,
"SSE.Views.EditHyperlink.textRange"
:
"Range"
,
"SSE.Views.EditHyperlink.textLink"
:
"Link"
,
"SSE.Views.EditHyperlink.textDisplay"
:
"Display"
,
"SSE.Views.EditHyperlink.textScreenTip"
:
"Screen Tip"
,
"SSE.Views.EditHyperlink.textEditLink"
:
"Edit Link"
,
"SSE.Views.EditHyperlink.textRemoveLink"
:
"Remove Link"
}
\ 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