Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
glacier-home
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
NemoMobile
glacier-home
Commits
dd2ad3db
Commit
dd2ad3db
authored
Dec 02, 2016
by
SergeyChupligin
Committed by
Sergey Chupligin
Dec 02, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[packaging] Internationalization
parent
d0e6d6e7
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
131 additions
and
17 deletions
+131
-17
glacer-home.ts
src/i18n/glacer-home.ts
+111
-0
AppLauncher.qml
src/qml/AppLauncher.qml
+2
-2
AppSwitcher.qml
src/qml/AppSwitcher.qml
+2
-2
BatteryPanel.qml
src/qml/BatteryPanel.qml
+1
-1
CommonPanel.qml
src/qml/CommonPanel.qml
+1
-1
LauncherItemDelegate.qml
src/qml/LauncherItemDelegate.qml
+4
-4
SimPanel.qml
src/qml/SimPanel.qml
+3
-3
USBModeSelector.qml
src/qml/USBModeSelector.qml
+4
-4
src.pro
src/src.pro
+3
-0
No files found.
src/i18n/glacer-home.ts
0 → 100644
View file @
dd2ad3db
<
?
xml
version
=
"
1.0
"
encoding
=
"
utf-8
"
?
>
<!
DOCTYPE
TS
>
<
TS
version
=
"
2.1
"
>
<
context
>
<
name
>
AppLauncher
<
/name
>
<
message
>
<
location
filename
=
"
../qml/AppLauncher.qml
"
line
=
"
67
"
/>
<
source
>
Remove
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../qml/AppLauncher.qml
"
line
=
"
82
"
/>
<
source
>
Uninstall
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
/context
>
<
context
>
<
name
>
AppSwitcher
<
/name
>
<
message
>
<
location
filename
=
"
../qml/AppSwitcher.qml
"
line
=
"
173
"
/>
<
source
>
Close
All
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../qml/AppSwitcher.qml
"
line
=
"
187
"
/>
<
source
>
No
apps
open
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
/context
>
<
context
>
<
name
>
BatteryPanel
<
/name
>
<
message
>
<
location
filename
=
"
../qml/BatteryPanel.qml
"
line
=
"
39
"
/>
<
source
>
Battery
level
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
/context
>
<
context
>
<
name
>
CommonPanel
<
/name
>
<
message
>
<
location
filename
=
"
../qml/CommonPanel.qml
"
line
=
"
42
"
/>
<
source
>
Close
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
/context
>
<
context
>
<
name
>
LauncherItemDelegate
<
/name
>
<
message
>
<
location
filename
=
"
../qml/LauncherItemDelegate.qml
"
line
=
"
147
"
/>
<
source
>
Remove
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../qml/LauncherItemDelegate.qml
"
line
=
"
148
"
/>
<
source
>
Uninstall
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../qml/LauncherItemDelegate.qml
"
line
=
"
170
"
/>
<
source
>
Removing
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../qml/LauncherItemDelegate.qml
"
line
=
"
172
"
/>
<
source
>
Uninstalling
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
/context
>
<
context
>
<
name
>
SimPanel
<
/name
>
<
message
>
<
location
filename
=
"
../qml/SimPanel.qml
"
line
=
"
76
"
/>
<
source
>
OK
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../qml/SimPanel.qml
"
line
=
"
87
"
/>
<
source
>
Clear
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../qml/SimPanel.qml
"
line
=
"
135
"
/>
<
source
>
No
pin
required
!<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
/context
>
<
context
>
<
name
>
USBModeSelector
<
/name
>
<
message
>
<
location
filename
=
"
../qml/USBModeSelector.qml
"
line
=
"
82
"
/>
<
source
>
Current
mode
:
Charging
only
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../qml/USBModeSelector.qml
"
line
=
"
98
"
/>
<
source
>
MTP
Mode
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../qml/USBModeSelector.qml
"
line
=
"
118
"
/>
<
source
>
Mass
Storage
Mode
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../qml/USBModeSelector.qml
"
line
=
"
138
"
/>
<
source
>
Developer
Mode
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
/context
>
<
/TS
>
src/qml/AppLauncher.qml
View file @
dd2ad3db
...
...
@@ -64,7 +64,7 @@ GridView {
Label
{
id
:
removeLabel
anchors.centerIn
:
parent
text
:
"
Remove
"
text
:
qsTr
(
"
Remove
"
)
font.pointSize
:
8
}
}
...
...
@@ -79,7 +79,7 @@ GridView {
Label
{
id
:
uninstallLabel
anchors.centerIn
:
parent
text
:
"
Uninstall
"
text
:
qsTr
(
"
Uninstall
"
)
font.pointSize
:
8
}
}
...
...
src/qml/AppSwitcher.qml
View file @
dd2ad3db
...
...
@@ -170,7 +170,7 @@ Item {
}
style
:
ButtonStyle
{
label
:
Label
{
text
:
"
Close
\n
All
"
text
:
qsTr
(
"
Close
\n
All
"
)
anchors.margins
:
10
horizontalAlignment
:
Text
.
AlignHCenter
verticalAlignment
:
Text
.
AlignVCenter
...
...
@@ -184,7 +184,7 @@ Item {
// Empty switcher indicator
Label
{
visible
:
switcherModel
.
itemCount
===
0
text
:
"
No apps open
"
text
:
qsTr
(
"
No apps open
"
)
width
:
parent
.
width
fontSizeMode
:
Text
.
HorizontalFit
}
...
...
src/qml/BatteryPanel.qml
View file @
dd2ad3db
...
...
@@ -36,7 +36,7 @@ import QtQuick.Controls.Styles.Nemo 1.0
Component
{
CommonPanel
{
Label
{
text
:
"
Battery level
:
"
+
batteryChargePercentage
.
value
+
"
%
"
text
:
qsTr
(
"
Battery level
"
)
+
"
:
"
+
batteryChargePercentage
.
value
+
"
%
"
font.pointSize
:
8
}
}
...
...
src/qml/CommonPanel.qml
View file @
dd2ad3db
...
...
@@ -39,7 +39,7 @@ Rectangle {
color
:
"
#313131
"
opacity
:
0.5
Button
{
text
:
"
Close
"
text
:
qsTr
(
"
Close
"
)
anchors.bottom
:
parent
.
bottom
anchors.right
:
parent
.
right
onClicked
:
{
...
...
src/qml/LauncherItemDelegate.qml
View file @
dd2ad3db
...
...
@@ -144,8 +144,8 @@ Item {
reorderItem
=
null
pager
.
interactive
=
true
gridview
.
onUninstall
=
false
deleter
.
remove
.
text
=
"
Remove
"
deleter
.
uninstall
.
text
=
"
Uninstall
"
deleter
.
remove
.
text
=
qsTr
(
"
Remove
"
)
deleter
.
uninstall
.
text
=
qsTr
(
"
Uninstall
"
)
reparent
(
gridview
.
contentItem
)
...
...
@@ -167,9 +167,9 @@ Item {
var
delPos
=
deleter
.
remove
.
mapFromItem
(
launcherItem
,
width
/
2
,
height
/
2
)
var
isdel
=
deleter
.
childAt
(
delPos
.
x
,
delPos
.
y
)
if
(
isdel
===
deleter
.
remove
)
{
deleter
.
remove
.
text
=
"
Removing
"
+
iconCaption
deleter
.
remove
.
text
=
qsTr
(
"
Removing
"
)
+
"
"
+
iconCaption
}
else
if
(
isdel
===
deleter
.
uninstall
)
{
deleter
.
uninstall
.
text
=
"
Uninstalling
"
+
iconCaption
deleter
.
uninstall
.
text
=
qsTr
(
"
Uninstalling
"
)
+
"
"
+
iconCaption
}
if
(
newIndex
!==
idx
)
{
reorderTimer
.
restart
()
...
...
src/qml/SimPanel.qml
View file @
dd2ad3db
...
...
@@ -73,7 +73,7 @@ Component {
}
Button
{
id
:
pinenter
text
:
"
OK
"
text
:
qsTr
(
"
OK
"
)
Layout.fillWidth
:
true
Layout.fillHeight
:
false
Layout.preferredHeight
:
40
...
...
@@ -84,7 +84,7 @@ Component {
}
Button
{
id
:
clearpin
text
:
"
Clear
"
text
:
qsTr
(
"
Clear
"
)
Layout.fillWidth
:
true
Layout.fillHeight
:
false
Layout.preferredHeight
:
40
...
...
@@ -132,7 +132,7 @@ Component {
}
Label
{
visible
:
!
needsPin
text
:
"
No pin required!
"
text
:
qsTr
(
"
No pin required!
"
)
font.pointSize
:
16
}
}
...
...
src/qml/USBModeSelector.qml
View file @
dd2ad3db
...
...
@@ -79,7 +79,7 @@ Item {
anchors
{
fill
:
parent
}
text
:
"
Current mode: Charging only
"
text
:
qsTr
(
"
Current mode: Charging only
"
)
color
:
"
white
"
font.pixelSize
:
30
horizontalAlignment
:
Text
.
AlignHCenter
...
...
@@ -95,7 +95,7 @@ Item {
left
:
parent
.
left
right
:
parent
.
right
}
text
:
"
MTP Mode
"
text
:
qsTr
(
"
MTP Mode
"
)
color
:
"
white
"
font.pixelSize
:
30
wrapMode
:
Text
.
WordWrap
...
...
@@ -115,7 +115,7 @@ Item {
left
:
parent
.
left
right
:
parent
.
right
}
text
:
"
Mass Storage Mode
"
text
:
qsTr
(
"
Mass Storage Mode
"
)
color
:
"
white
"
font.pixelSize
:
30
wrapMode
:
Text
.
WordWrap
...
...
@@ -135,7 +135,7 @@ Item {
left
:
parent
.
left
right
:
parent
.
right
}
text
:
"
Developer Mode
"
text
:
qsTr
(
"
Developer Mode
"
)
color
:
"
white
"
font.pixelSize
:
30
wrapMode
:
Text
.
WordWrap
...
...
src/src.pro
View file @
dd2ad3db
...
...
@@ -111,4 +111,7 @@ OTHER_FILES += qml/*.qml \
qml/GlacierRotation.qml \
qml/DeviceLock.qml
TRANSLATIONS += i18n/glacer-home.ts
DISTFILES += \
i18n/glacer-home.ts
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