on xenial help sign in
merge silo 51 as prereq
commit27ae58cacbcf5a2b85f17e272dff183801ad55eb authorMichael Zanetti <michael.zanetti@canonical.com> dateFri 12 Feb 2016, 16:31 (11 years ago) parente9a2741d5ffef0
188 files changed+1621−630
CMakeLists.txt+4−1 data/unity8.conf+4−2 debian/changelog+71 debian/control+3−4 plugins/Dash/CardCreator.js+44−19 plugins/Dash/listviewwithpageheader.cpp+18−9 plugins/Dash/listviewwithpageheader.h+1 plugins/IntegratedLightDM/liblightdm/CMakeLists.txt+3 plugins/IntegratedLightDM/liblightdm/UsersModelPrivate.cpp+23−7 plugins/Powerd/CMakeLists.txt−2 plugins/Unity/Indicators/CMakeLists.txt−4 plugins/Unity/Indicators/modelactionrootstate.cpp+76−1 plugins/Unity/Indicators/modelactionrootstate.h+15−4 plugins/Unity/Session/CMakeLists.txt−2 plugins/Utils/CMakeLists.txt−2 po/am.po+4−6 po/ar.po+3−3 po/ast.po+3−3 po/az.po+3−3 po/be.po+4−7 po/bg.po+3−3 po/bn.po+3−6 po/br.po+3−3 po/bs.po+3−6 po/ca.po+3−6 po/ca@valencia.po+3−3 po/ce.po+3−3 po/ckb.po+3−3 po/cs.po+3−3 po/cy.po+3−3 po/da.po+3−3 po/de.po+3−6 po/el.po+3−6 po/en_AU.po+3−3 po/en_GB.po+5−6 po/eo.po+3−3 po/es.po+5−6 po/eu.po+3−3 po/fa.po+3−6 po/fi.po+5−6 po/fo.po+3−3 po/fr.po+3−6 po/ga.po+3−6 po/gd.po+6−8 po/gl.po+5−6 po/gv.po+3−3 po/he.po+3−3 po/hi.po+3−3 po/hr.po+3−6 po/hu.po+5−6 po/hy.po+3−3 po/ia.po+3−6 po/id.po+3−3 po/is.po+3−3 po/it.po+3−6 po/ja.po+3−3 po/km.po+3−3 po/kn.po+3−3 po/ko.po+13−13 po/ku.po+3−3 po/ky.po+3−3 po/lo.po+3−3 po/lt.po+3−3 po/lv.po+3−6 po/ml.po+3−3 po/mr.po+3−3 po/ms.po+3−6 po/my.po+3−3 po/nb.po+3−6 po/ne.po+3−3 po/nl.po+3−3 po/nn.po+3−3 po/oc.po+3−3 po/or.po+3−3 po/pa.po+3−3 po/pl.po+5−6 po/pt.po+5−6 po/pt_BR.po+3−3 po/ro.po+3−3 po/ru.po+3−6 po/shn.po+3−3 po/si.po+3−3 po/sk.po+3−3 po/sl.po+5−6 po/sq.po+3−6 po/sr.po+6−7 po/sv.po+14−11 po/sw.po+3−3 po/ta.po+3−3 po/te.po+3−3 po/th.po+3−3 po/tr.po+3−3 po/ug.po+3−3 po/uk.po+5−6 po/unity8.pot+6−6 po/ur.po+3−3 po/uz.po+3−3 po/vi.po+3−3 po/wo.po+3−3 po/xh.po+3−3 po/zh_CN.po+4−7 po/zh_HK.po+3−3 po/zh_TW.po+3−6 qml/Components/EdgeBarrierController.qml+2 qml/Components/VolumeControl.qml+1−6 qml/Components/ZoomableImage.qml+1−1 qml/Dash/CardCarousel.qml−1 qml/Dash/CardGrid.qml−1 qml/Dash/CardHorizontalList.qml−1 qml/Dash/CardTool.qml−1 qml/Dash/CardVerticalJournal.qml−1 qml/Dash/GenericScopeView.qml+1−1 qml/Dash/Previews/PreviewHeader.qml+1−1 qml/Dash/Previews/PreviewImageGallery.qml+2−2 qml/Dash/Previews/PreviewRatingEdit.qml+1 qml/Dash/Previews/PreviewZoomableImage.qml+2−2 qml/Greeter/LoginList.qml+3 qml/Greeter/WideView.qml+1−1 qml/Panel/IndicatorItem.qml+57−7 qml/Panel/graphics/Battery@18.png qml/Panel/graphics/Bluetooth@18.png qml/Panel/graphics/Clock@18.png qml/Panel/graphics/Location@18.png qml/Panel/graphics/Messages@18.png qml/Panel/graphics/Network@18.png qml/Panel/graphics/Sound@18.png qml/Panel/graphics/Sync@18.png qml/Panel/graphics/System@18.png qml/Panel/graphics/Time@18.png qml/Panel/graphics/VerticalDivider@18.png qml/Panel/graphics/handle@12.png qml/Panel/graphics/handle@12.sci−5 qml/Panel/graphics/search@12.png qml/Panel/graphics/time_and_date@18.png qml/Stages/ApplicationWindow.qml+14−1 qml/Stages/DecoratedWindow.qml+7 qml/Stages/DesktopStage.qml+6 qml/Stages/SessionContainer.qml+2 qml/Stages/Splash.qml+7−2 qml/Stages/WindowResizeArea.qml+95−16 qml/Wizard/Pages/10-welcome.qml+1−1 qml/Wizard/Pages/30-passwd-type.qml+1−1 qml/Wizard/Pages/80-finished.qml+1−1 tests/mocks/Unity/Application/ApplicationInfo.cpp+14−1 tests/mocks/Unity/Application/ApplicationInfo.h+4−1 tests/mocks/Unity/Application/ApplicationTestInterface.cpp+4−4 tests/mocks/Unity/Application/ApplicationTestInterface.h+2−2 tests/mocks/Unity/Application/MirSurface.cpp+48 tests/mocks/Unity/Application/MirSurface.h+21 tests/mocks/Unity/Application/MirSurfaceItem.cpp+6 tests/mocks/Unity/Application/MirSurfaceItem.h+14 tests/mocks/Unity/Application/SurfaceManager.cpp+56 tests/mocks/Unity/Application/SurfaceManager.h+40 tests/mocks/Unity/Indicators/ModelActionRootState.qml+11−1 tests/mocks/Utils/CMakeLists.txt−2 tests/mocks/indicator-service/CMakeLists.txt−1 tests/plugins/Dash/cardcreator/1.res+6−7 tests/plugins/Dash/cardcreator/10.res−1 tests/plugins/Dash/cardcreator/11.res+7−8 tests/plugins/Dash/cardcreator/2.res−1 tests/plugins/Dash/cardcreator/3.res+6−7 tests/plugins/Dash/cardcreator/4.res−1 tests/plugins/Dash/cardcreator/5.res+6−7 tests/plugins/Dash/cardcreator/5.tst+1−1 tests/plugins/Dash/cardcreator/6.res−1 tests/plugins/Dash/cardcreator/7.res−1 tests/plugins/Dash/cardcreator/8.res+1−2 tests/plugins/Dash/cardcreator/9.res+12−4 tests/plugins/Dash/listviewwithpageheadertest.cpp+23 tests/plugins/Dash/listviewwithpageheadertest.qml−1 tests/plugins/Unity/Indicators/CMakeLists.txt−4 tests/plugins/Unity/Launcher/launchermodeltest.cpp+2 tests/qmltests/Components/tst_LazyImage.qml+27−9 tests/qmltests/Components/tst_ZoomableImage.qml+8−5 tests/qmltests/Dash/Previews/tst_PreviewHeader.qml+15 tests/qmltests/Dash/Previews/tst_PreviewImageGallery.qml+19 tests/qmltests/Dash/Previews/tst_PreviewZoomableImage.qml+12 tests/qmltests/Dash/tst_Card.qml+18−1 tests/qmltests/Dash/tst_CardBenchmark.qml−2 tests/qmltests/Greeter/tst_WideView.qml+11 tests/qmltests/Stages/RecursingChildSessionControl.qml+3−3 tests/qmltests/Stages/SizeHintField.qml+33 tests/qmltests/Stages/SurfaceManagerControls.qml+33 tests/qmltests/Stages/SurfaceManagerField.qml+40 tests/qmltests/Stages/tst_DesktopStage.qml+30−24 tests/qmltests/Stages/tst_SessionContainer.qml+27−5 tests/qmltests/Stages/tst_WindowResizeArea.qml+225−30 tests/qmltests/tst_Shell.qml+53
CMakeLists.txt+4−1
@@ -57,7 +57,10 @@ find_package(Qt5DBus 5.4 REQUIRED)
5757find_package(Qt5Concurrent 5.4 REQUIRED)
5858find_package(Qt5Sql 5.4 REQUIRED)
5959
60−pkg_check_modules(APPLICATION_API REQUIRED unity-shell-application=12)
60+pkg_check_modules(APPLICATION_API REQUIRED unity-shell-application=13)
61+pkg_check_modules(GIO REQUIRED gio-2.0>=2.32)
62+pkg_check_modules(GLIB REQUIRED glib-2.0>=2.32)
63+pkg_check_modules(QMENUMODEL REQUIRED qmenumodel)
6164
6265# Standard install paths
6366include(GNUInstallDirs)
data/unity8.conf+4−2
@@ -44,7 +44,11 @@ pre-start script
4444 fi
4545
4646 initctl set-env --global MIR_SERVER_PROMPT_FILE=1
47+end script
48+
49+exec ${BINARY:-unity8} $ARGS
4750
51+post-start script
4852 initctl emit --no-wait indicator-services-start
4953
5054 # Disable Qt's stuttering 'touch compression' to fix scrolling smoothness
@@ -58,8 +62,6 @@ pre-start script
5862 # initctl set-env MIR_SERVER_NBUFFERS=2
5963end script
6064
61−exec ${BINARY:-unity8} $ARGS
62−
6365post-stop script
6466 initctl set-env --global MIR_SOCKET=$UNITY_MIR_SOCKET
6567 initctl unset-env --global UNITY_MIR_SOCKET
debian/changelog+71
@@ -1,3 +1,74 @@
1+unity8 (8.11+16.04.20160212-0ubuntu1) xenial; urgency=medium
2+
3+ [ Albert Astals Cid ]
4+ * Do not use components in card creator generated code
5+ * Forward the makesurevisible signal from the inner preview widget
6+ * Make fallback also be fallback when the image is empty and not only
7+ on error (LP: #1531913)
8+ * Make the artShapeSize assignment be updated when using dynamic grid
9+ units
10+ * Visual improvements to the dash audio play cards
11+ * We don't use the unity-scope-scopes anymore (LP: #1439172)
12+
13+ [ Andrea Cimitan ]
14+ * only request a bigger image if zoomable widget data property is
15+ true, otherwise just leave the screen size (LP: #1536814)
16+
17+ [ CI Train Bot ]
18+ * Update translation template
19+
20+ [ Daniel d'Andrada ]
21+ * Set initial surface size (LP: #1532974)
22+
23+ [ Daniel d'Andrada, Michał Sawicz ]
24+ * Window Size Hints
25+
26+ [ Florian Boucault ]
27+ * Splash screen: delay showing the ActivityIndicator by 2 seconds.
28+
29+ [ Lukáš Tinkl ]
30+ * Replace the word "phone" with a more generic term "device" in the
31+ welcome wizard (LP: #1294732, #1543527)
32+
33+ [ Michael Terry ]
34+ * Have the tablet greeter set appropriate OSK hints if the user has a
35+ passcode instead of a passphrase. (LP: #1544173)
36+
37+ [ Michael Zanetti ]
38+ * Don't eat mouse events in the edgebarrer
39+
40+ [ Michał Sawicz ]
41+ * Bump unity-api dependencies
42+
43+ [ Nick Dedekind ]
44+ * Added support for secondary indicator actions (LP: #1398888)
45+ * Remove zombie if they're not animated. (LP: #1534541)
46+ * Removed unused panel resources
47+
48+ [ Ted Gould ]
49+ * Start the indicators after Unity8 starts instead of before
50+
51+ -- Michał Sawicz <michal.sawicz@canonical.com> Fri, 12 Feb 2016 00:12:41 +0000
52+
53+unity8 (8.11+16.04.20160208-0ubuntu1) xenial; urgency=medium
54+
55+ [ Albert Astals Cid ]
56+ * LVWPH: Reset to initial values when list is empty (LP: #1540490)
57+ * Make LazyImage qmltest less flaky on CI
58+
59+ [ Andrea Cimitan ]
60+ * Make LazyImage qmltest less flaky on CI
61+
62+ [ CI Train Bot ]
63+ * Resync trunk.
64+ * Update translation template
65+
66+ [ Michael Terry ]
67+ * Display the current user's real name on the tablet lockscreen. (LP:
68+ #1536714)
69+
70+ -- Michał Sawicz <michal.sawicz@canonical.com> Mon, 08 Feb 2016 09:38:00 +0000
71+
172unity8 (8.11+16.04.20160129-0ubuntu1) xenial; urgency=medium
273
374 [ Albert Astals Cid ]
debian/control+3−4
@@ -29,7 +29,7 @@ Build-Depends: cmake,
2929 libqt5xmlpatterns5-dev,
3030 libsystemsettings-dev,
3131 libudev-dev,
32− libunity-api-dev (>= 7.105),
32+ libunity-api-dev (>= 7.106),
3333 libusermetricsoutput1-dev,
3434# Need those X11 libs touch emulation from mouse events in manual QML tests on a X11 desktop
3535 libx11-dev[!armhf],
@@ -114,7 +114,6 @@ Depends: dmz-cursor-theme,
114114 ${shlibs:Depends},
115115Recommends: unity-scope-click,
116116 unity-scope-mediascanner2,
117− unity-scope-scopes,
118117Breaks: indicator-network (<< 0.5.1+14.10.20141014),
119118 ubuntu-touch-session (<< 0.107),
120119 unity8-greeter (<< 7.89),
@@ -132,7 +131,7 @@ Depends: qml-module-qtquick-layouts,
132131 qtdeclarative5-ubuntu-ui-toolkit-plugin (>= 1.3.1627) | qtdeclarative5-ubuntu-ui-toolkit-plugin-gles (>= 1.3.1627),
133132 qtdeclarative5-unity-notifications-plugin (>= 0.1.2) | unity-notifications-impl,
134133 ubuntu-thumbnailer-impl-0,
135− unity-application-impl-12,
134+ unity-application-impl-13,
136135 unity-notifications-impl-3,
137136 unity-plugin-scopes | unity-scopes-impl,
138137 unity-scopes-impl-9,
@@ -178,7 +177,7 @@ Pre-Depends: ${misc:Pre-Depends},
178177Depends: ${misc:Depends},
179178 ${shlibs:Depends},
180179Provides: unity-application-impl,
181− unity-application-impl-12,
180+ unity-application-impl-13,
182181Replaces: unity8-autopilot (<< 8.02+15.04.20150422-0ubuntu1)
183182Description: Fake environment for running Unity 8 shell
184183 Provides fake implementations of some QML modules used by Unity 8 shell
plugins/Dash/CardCreator.js+44−19
@@ -61,7 +61,10 @@ var kBackgroundLoaderCode = 'Loader {\n\
6161// %1 is used as anchors of artShapeHolder
6262// %2 is used as image width
6363// %3 is used as image height
64−// %4 is injected as code to artImage
64+// %4 is used for artShapeSource.hideSource and inner Loader visible
65+// %5 is used as aspect ratio fallback
66+// %6 is injected as code to artImage
67+// %7 is used as image fallback
6568var kArtShapeHolderCode = 'Item { \n\
6669 id: artShapeHolder; \n\
6770 height: root.fixedArtShapeSize.height > 0 ? root.fixedArtShapeSize.height : artShapeLoader.height; \n\
@@ -70,13 +73,13 @@ var kArtShapeHolderCode = 'Item { \n\
7073 Loader { \n\
7174 id: artShapeLoader; \n\
7275 objectName: "artShapeLoader"; \n\
73− active: cardData && cardData["art"] || false; \n\
76+ readonly property string cardArt: cardData && cardData["art"] || %7; \n\
77+ active: cardArt != ""; \n\
7478 asynchronous: root.asynchronous; \n\
7579 visible: status == Loader.Ready; \n\
7680 sourceComponent: Item { \n\
7781 id: artShape; \n\
7882 objectName: "artShape"; \n\
79− readonly property bool doShapeItem: components["art"]["conciergeMode"] !== true; \n\
8083 visible: image.status == Image.Ready; \n\
8184 readonly property alias image: artImage; \n\
8285 ShaderEffectSource { \n\
@@ -85,11 +88,11 @@ var kArtShapeHolderCode = 'Item { \n\
8588 anchors.centerIn: parent; \n\
8689 width: 1; \n\
8790 height: 1; \n\
88− hideSource: doShapeItem; \n\
91+ hideSource: %4; \n\
8992 } \n\
9093 Loader { \n\
9194 anchors.fill: parent; \n\
92− visible: artShape.doShapeItem; \n\
95+ visible: %4; \n\
9396 sourceComponent: root.artShapeStyle === "icon" ? artShapeIconComponent : artShapeShapeComponent; \n\
9497 Component { \n\
9598 id: artShapeShapeComponent; \n\
@@ -113,7 +116,7 @@ var kArtShapeHolderCode = 'Item { \n\
113116 } \n\
114117 } \n\
115118 readonly property real fixedArtShapeSizeAspect: (root.fixedArtShapeSize.height > 0 && root.fixedArtShapeSize.width > 0) ? root.fixedArtShapeSize.width / root.fixedArtShapeSize.height : -1; \n\
116− readonly property real aspect: fixedArtShapeSizeAspect > 0 ? fixedArtShapeSizeAspect : components !== undefined ? components["art"]["aspect-ratio"] : 1; \n\
119+ readonly property real aspect: fixedArtShapeSizeAspect > 0 ? fixedArtShapeSizeAspect : %5; \n\
117120 Component.onCompleted: { updateWidthHeightBindings(); } \n\
118121 Connections { target: root; onFixedArtShapeSizeChanged: updateWidthHeightBindings(); } \n\
119122 function updateWidthHeightBindings() { \n\
@@ -128,11 +131,11 @@ var kArtShapeHolderCode = 'Item { \n\
128131 CroppedImageMinimumSourceSize { \n\
129132 id: artImage; \n\
130133 objectName: "artImage"; \n\
131− source: cardData && cardData["art"] || ""; \n\
134+ source: artShapeLoader.cardArt; \n\
132135 asynchronous: root.asynchronous; \n\
133136 width: %2; \n\
134137 height: %3; \n\
135− %4 \n\
138+ %6 \n\
136139 } \n\
137140 } \n\
138141 } \n\
@@ -152,11 +155,20 @@ var kAudioButtonCode = 'AbstractButton { \n\
152155 visible: parent.pressed; \n\
153156 radius: "medium"; \n\
154157 } \n\
158+ Rectangle { \n\
159+ color: Qt.rgba(0, 0, 0, 0.5); \n\
160+ anchors.centerIn: parent; \n\
161+ width: parent.width * 0.5; \n\
162+ height: width; \n\
163+ radius: width / 2; \n\
164+ } \n\
155165 Icon { \n\
156− anchors.fill: parent; \n\
157− anchors.margins: parent.height > units.gu(5) ? units.gu(2) : 0; \n\
166+ anchors.centerIn: parent; \n\
167+ width: parent.width * 0.3; \n\
168+ height: width; \n\
158169 opacity: 0.9; \n\
159170 name: DashAudioPlayer.playing && AudioUrlComparer.compare(parent.source, DashAudioPlayer.currentSource) ? "media-playback-pause" : "media-playback-start"; \n\
171+ color: "white"; \n\
160172 } \n\
161173 onClicked: { \n\
162174 if (AudioUrlComparer.compare(source, DashAudioPlayer.currentSource)) { \n\
@@ -245,11 +257,12 @@ var kMascotShapeLoaderCode = 'Loader { \n\
245257// %1 is used as anchors of mascotImage
246258// %2 is used as visible of mascotImage
247259// %3 is injected as code to mascotImage
260+// %4 is used as fallback image
248261var kMascotImageCode = 'CroppedImageMinimumSourceSize { \n\
249262 id: mascotImage; \n\
250263 objectName: "mascotImage"; \n\
251264 anchors { %1 } \n\
252− source: cardData && cardData["mascot"] || ""; \n\
265+ source: cardData && cardData["mascot"] || %4; \n\
253266 width: units.gu(6); \n\
254267 height: units.gu(5.625); \n\
255268 horizontalAlignment: Image.AlignHCenter; \n\
@@ -392,7 +405,6 @@ function cardString(template, components) {
392405
393406 code = 'AbstractButton { \n\
394407 id: root; \n\
395− property var components; \n\
396408 property var cardData; \n\
397409 property string artShapeStyle: "inset"; \n\
398410 property string backgroundShapeStyle: "inset"; \n\
@@ -410,7 +422,8 @@ function cardString(template, components) {
410422
411423 var hasArt = components["art"] && components["art"]["field"] || false;
412424 var hasSummary = components["summary"] || false;
413− var artAndSummary = hasArt && hasSummary && components["art"]["conciergeMode"] !== true;
425+ var isConciergeMode = components["art"] && components["art"]["conciergeMode"] || false;
426+ var artAndSummary = hasArt && hasSummary && !isConciergeMode;
414427 var isHorizontal = template["card-layout"] === "horizontal";
415428 var hasBackground = (!isHorizontal && (template["card-background"] || components["background"] || artAndSummary)) ||
416429 (hasSummary && (template["card-background"] || components["background"]));
@@ -480,13 +493,21 @@ function cardString(template, components) {
480493 heightCode = 'width / artShape.aspect';
481494 }
482495
496+ var aspectRatio = components["art"] && components["art"]["aspect-ratio"] || 1;
497+ if (isNaN(aspectRatio)) {
498+ aspectRatio = 1;
499+ }
483500 var fallback = components["art"] && components["art"]["fallback"] || "";
484501 fallback = encodeURI(fallback);
485− var fallbackCode = "";
502+ var fallbackStatusCode = "";
503+ var fallbackURICode = '""';
486504 if (fallback !== "") {
487− fallbackCode += 'onStatusChanged: if (status === Image.Error) source = decodeURI("%1");'.arg(fallback);
505+ // fallbackStatusCode has %6 in it because we want to substitute it for fallbackURICode
506+ // which in kArtShapeHolderCode is %7
507+ fallbackStatusCode += 'onStatusChanged: if (status === Image.Error) source = %7;';
508+ fallbackURICode = 'decodeURI("%1")'.arg(fallback);
488509 }
489− code += kArtShapeHolderCode.arg(artAnchors).arg(widthCode).arg(heightCode).arg(fallbackCode);
510+ code += kArtShapeHolderCode.arg(artAnchors).arg(widthCode).arg(heightCode).arg(isConciergeMode ? "false" : "true").arg(aspectRatio).arg(fallbackStatusCode).arg(fallbackURICode);
490511 } else {
491512 code += 'readonly property size artShapeSize: Qt.size(-1, -1);\n'
492513 }
@@ -580,11 +601,15 @@ function cardString(template, components) {
580601 var mascotImageVisible = useMascotShape ? 'false' : 'showHeader';
581602 var fallback = components["mascot"] && components["mascot"]["fallback"] || "";
582603 fallback = encodeURI(fallback);
583− var fallbackCode = "";
604+ var fallbackStatusCode = "";
605+ var fallbackURICode = '""';
584606 if (fallback !== "") {
585− fallbackCode += 'onStatusChanged: if (status === Image.Error) source = decodeURI("%1");'.arg(fallback);
607+ // fallbackStatusCode has %4 in it because we want to substitute it for fallbackURICode
608+ // which in kMascotImageCode is %4
609+ fallbackStatusCode += 'onStatusChanged: if (status === Image.Error) source = %4;';
610+ fallbackURICode = 'decodeURI("%1")'.arg(fallback);
586611 }
587− mascotCode = kMascotImageCode.arg(mascotAnchors).arg(mascotImageVisible).arg(fallbackCode);
612+ mascotCode = kMascotImageCode.arg(mascotAnchors).arg(mascotImageVisible).arg(fallbackStatusCode).arg(fallbackURICode);
588613 }
589614
590615 var summaryColorWithBackground = 'backgroundLoader.active && backgroundLoader.item && root.scopeStyle ? root.scopeStyle.getTextColor(backgroundLoader.item.luminance) : (backgroundLoader.item && backgroundLoader.item.luminance > 0.7 ? theme.palette.normal.baseText : "white")';
plugins/Dash/listviewwithpageheader.cpp+18−9
@@ -219,13 +219,7 @@ void ListViewWithPageHeader::setDelegate(QQmlComponent *delegate)
219219 Q_FOREACH(ListItem *item, m_visibleItems)
220220 releaseItem(item);
221221 m_visibleItems.clear();
222− m_firstVisibleIndex = -1;
223− adjustMinYExtent();
224− setContentY(0);
225− m_clipItem->setY(0);
226− if (m_topSectionItem) {
227− QQuickItemPrivate::get(m_topSectionItem)->setCulled(true);
228− }
222+ initializeValuesForEmptyList();
229223
230224 m_delegateModel->setDelegate(delegate);
231225
@@ -236,6 +230,17 @@ void ListViewWithPageHeader::setDelegate(QQmlComponent *delegate)
236230 }
237231}
238232
233+void ListViewWithPageHeader::initializeValuesForEmptyList()
234+{
235+ m_firstVisibleIndex = -1;
236+ adjustMinYExtent();
237+ setContentY(0);
238+ m_clipItem->setY(0);
239+ if (m_topSectionItem) {
240+ QQuickItemPrivate::get(m_topSectionItem)->setCulled(true);
241+ }
242+}
243+
239244QQuickItem *ListViewWithPageHeader::header() const
240245{
241246 return m_headerItem;
@@ -835,7 +840,7 @@ bool ListViewWithPageHeader::removeNonVisibleItems(qreal bufferFrom, qreal buffe
835840 }
836841 }
837842 if (!foundVisible) {
838− m_firstVisibleIndex = -1;
843+ initializeValuesForEmptyList();
839844 }
840845 if (m_firstVisibleIndex != oldFirstVisibleIndex) {
841846 adjustMinYExtent();
@@ -1092,7 +1097,11 @@ void ListViewWithPageHeader::onModelUpdated(const QQmlChangeSet &changeSet, bool
10921097 }
10931098
10941099 if (m_firstVisibleIndex != oldFirstVisibleIndex) {
1095− adjustMinYExtent();
1100+ if (m_visibleItems.isEmpty()) {
1101+ initializeValuesForEmptyList();
1102+ } else {
1103+ adjustMinYExtent();
1104+ }
10961105 }
10971106
10981107 for (int i = 0; i < m_visibleItems.count(); ++i) {
plugins/Dash/listviewwithpageheader.h+1
@@ -168,6 +168,7 @@ private:
168168 QQuickItem *getSectionItem(int modelIndex, bool alreadyInserted);
169169 QQuickItem *getSectionItem(const QString &sectionText);
170170 void updateSectionItem(int modelIndex);
171+ void initializeValuesForEmptyList();
171172
172173 QQmlDelegateModel *m_delegateModel;
173174
plugins/IntegratedLightDM/liblightdm/CMakeLists.txt+3
@@ -13,14 +13,17 @@ add_library(MockLightDM-demo-shared SHARED ${LibLightDM_SOURCES})
1313
1414include_directories(
1515 ${CMAKE_CURRENT_BINARY_DIR}
16+ ${GLIB_INCLUDE_DIRS}
1617 ${LIBUSERMETRICSOUTPUT_INCLUDE_DIRS}
1718)
1819
1920target_link_libraries(integratedLightDM
21+ ${GLIB_LIBRARIES}
2022 ${LIBUSERMETRICSOUTPUT_LDFLAGS}
2123 -lpam
2224)
2325target_link_libraries(MockLightDM-demo-shared
26+ ${GLIB_LIBRARIES}
2427 ${LIBUSERMETRICSOUTPUT_LDFLAGS}
2528 -lpam
2629)
plugins/IntegratedLightDM/liblightdm/UsersModelPrivate.cpp+23−7
@@ -18,6 +18,7 @@
1818
1919#include "UsersModelPrivate.h"
2020
21+#include <glib.h>
2122#include <QDir>
2223#include <QSettings>
2324#include <QStringList>
@@ -28,14 +29,29 @@ namespace QLightDM
2829UsersModelPrivate::UsersModelPrivate(UsersModel* parent)
2930 : q_ptr(parent)
3031{
31− QSettings settings(QDir::homePath() + "/.unity8-greeter-demo", QSettings::NativeFormat);
32− QStringList users = settings.value(QStringLiteral("users"), QStringList() << qgetenv("USER")).toStringList();
32+ QFileInfo demoFile(QDir::homePath() + "/.unity8-greeter-demo");
33+ QString currentUser = g_get_user_name();
3334
34− entries.reserve(users.count());
35− Q_FOREACH(const QString &user, users)
36− {
37− QString name = settings.value(user + "/name", user).toString();
38− entries.append({user, name, 0, 0, false, false, 0, 0});
35+ if (demoFile.exists()) {
36+ QSettings settings(demoFile.filePath(), QSettings::NativeFormat);
37+ QStringList users = settings.value(QStringLiteral("users"), QStringList() << currentUser).toStringList();
38+
39+ entries.reserve(users.count());
40+ Q_FOREACH(const QString &user, users)
41+ {
42+ QString name = settings.value(user + "/name", user).toString();
43+ entries.append({user, name, 0, 0, false, false, 0, 0});
44+ }
45+ } else {
46+ // If we were using the actual liblightdm, we could just ask it
47+ // for the user's real name. But we aren't. We *should* ask
48+ // AccountsService for the real name, like liblightdm does internally,
49+ // but this is close enough since AS and passwd are always in sync.
50+ QString realName = QString::fromUtf8(g_get_real_name()); // gets name from passwd entry
51+ if (realName == QStringLiteral("Unknown")) { // glib doesn't translate this string
52+ realName.clear();
53+ }
54+ entries.append({currentUser, realName, 0, 0, false, false, 0, 0});
3955 }
4056}
4157
plugins/Powerd/CMakeLists.txt−2
@@ -1,5 +1,3 @@
1−pkg_search_module(GIO REQUIRED gio-2.0)
2−
31include_directories(
42 ${GIO_INCLUDE_DIRS}
53)
plugins/Unity/Indicators/CMakeLists.txt−4
@@ -1,9 +1,5 @@
11project(IndicatorsQml)
22
3−pkg_check_modules(GLIB REQUIRED glib-2.0>=2.32)
4−pkg_check_modules(GIO REQUIRED gio-2.0>=2.32)
5−pkg_check_modules(QMENUMODEL REQUIRED qmenumodel)
6−
73find_package(Qt5Core REQUIRED)
84find_package(Qt5Quick REQUIRED)
95
plugins/Unity/Indicators/modelactionrootstate.cpp+76−1
@@ -1,5 +1,5 @@
11/*
2− * Copyright 2013 Canonical Ltd.
2+ * Copyright 2013-2016 Canonical Ltd.
33 *
44 * This program is free software; you can redistribute it and/or modify
55 * it under the terms of the GNU Lesser General Public License as published by
@@ -32,6 +32,7 @@ extern "C" {
3232ModelActionRootState::ModelActionRootState(QObject *parent)
3333 : RootStateObject(parent),
3434 m_menu(nullptr)
35+ , m_reentryGuard(false)
3536{
3637}
3738
@@ -62,6 +63,7 @@ void ModelActionRootState::setMenu(UnityMenuModel* menu)
6263 connect(m_menu, &UnityMenuModel::destroyed, this, &ModelActionRootState::reset);
6364 }
6465 updateActionState();
66+ updateOtherActions();
6567 Q_EMIT menuChanged();
6668
6769 if (wasValid != valid())
@@ -69,6 +71,21 @@ void ModelActionRootState::setMenu(UnityMenuModel* menu)
6971 }
7072}
7173
74+QString ModelActionRootState::secondaryAction() const
75+{
76+ return m_secondaryAction;
77+}
78+
79+QString ModelActionRootState::scrollAction() const
80+{
81+ return m_scrollAction;
82+}
83+
84+QString ModelActionRootState::submenuAction() const
85+{
86+ return m_submenuAction;
87+}
88+
7289bool ModelActionRootState::valid() const
7390{
7491 return !currentState().empty();
@@ -79,6 +96,7 @@ void ModelActionRootState::onModelRowsAdded(const QModelIndex& parent, int start
7996 Q_UNUSED(parent);
8097 if (start == 0 && end >= 0) {
8198 updateActionState();
99+ updateOtherActions();
82100 }
83101}
84102
@@ -87,6 +105,7 @@ void ModelActionRootState::onModelRowsRemoved(const QModelIndex& parent, int sta
87105 Q_UNUSED(parent);
88106 if (start == 0 && end >= 0) {
89107 updateActionState();
108+ updateOtherActions();
90109 }
91110}
92111
@@ -99,6 +118,7 @@ void ModelActionRootState::onModelDataChanged(const QModelIndex& topLeft, const
99118
100119 if (topLeft.row() <= 0 && bottomRight.row() >= 0) {
101120 updateActionState();
121+ updateOtherActions();
102122 }
103123}
104124
@@ -108,10 +128,15 @@ void ModelActionRootState::reset()
108128
109129 Q_EMIT menuChanged();
110130 setCurrentState(QVariantMap());
131+
132+ updateOtherActions();
111133}
112134
113135void ModelActionRootState::updateActionState()
114136{
137+ if (m_reentryGuard) return;
138+ m_reentryGuard = true;
139+
115140 if (m_menu && m_menu->rowCount() > 0) {
116141 ActionStateParser* oldParser = m_menu->actionStateParser();
117142 m_menu->setActionStateParser(&m_parser);
@@ -126,4 +151,54 @@ void ModelActionRootState::updateActionState()
126151 }
127152 // else if m_menu->rowCount() == 0, let's leave existing cache in place
128153 // until the new menu comes in, to avoid flashing the UI empty for a moment
154+
155+ m_reentryGuard = false;
156+}
157+
158+void ModelActionRootState::updateOtherActions()
159+{
160+ if (m_reentryGuard) return;
161+ m_reentryGuard = true;
162+
163+ if (m_menu && m_menu->rowCount() > 0) {
164+ QVariantMap map;
165+ map[QStringLiteral("submenu-action")] = QStringLiteral("string");
166+ map[QStringLiteral("x-canonical-scroll-action")] = QStringLiteral("string");
167+ map[QStringLiteral("x-canonical-secondary-action")] = QStringLiteral("string");
168+ m_menu->loadExtendedAttributes(0, map);
169+ QVariantMap extMap = m_menu->get(0, "ext").toMap();
170+
171+ QString secondaryAction = extMap.value(QStringLiteral("xCanonicalSecondaryAction")).toString();
172+ if (m_secondaryAction != secondaryAction) {
173+ m_secondaryAction = secondaryAction;
174+ Q_EMIT secondaryActionChanged();
175+ }
176+
177+ QString scrollAction = extMap.value(QStringLiteral("xCanonicalScrollAction")).toString();
178+ if (m_scrollAction != scrollAction) {
179+ m_scrollAction = scrollAction;
180+ Q_EMIT scrollActionChanged();
181+ }
182+
183+ QString submenuAction = extMap.value(QStringLiteral("submenuAction")).toString();
184+ if (m_submenuAction != submenuAction) {
185+ m_submenuAction = submenuAction;
186+ Q_EMIT submenuActionChanged();
187+ }
188+ } else {
189+ if (!m_secondaryAction.isEmpty()) {
190+ m_secondaryAction.clear();
191+ Q_EMIT secondaryActionChanged();
192+ }
193+ if (!m_scrollAction.isEmpty()) {
194+ m_scrollAction.clear();
195+ Q_EMIT scrollActionChanged();
196+ }
197+ if (!m_submenuAction.isEmpty()) {
198+ m_submenuAction.clear();
199+ Q_EMIT submenuActionChanged();
200+ }
201+ }
202+
203+ m_reentryGuard = false;
129204}
plugins/Unity/Indicators/modelactionrootstate.h+15−4
@@ -1,5 +1,5 @@
11/*
2− * Copyright 2013 Canonical Ltd.
2+ * Copyright 2013-2016 Canonical Ltd.
33 *
44 * This program is free software; you can redistribute it and/or modify
55 * it under the terms of the GNU Lesser General Public License as published by
@@ -30,6 +30,9 @@ class UNITYINDICATORS_EXPORT ModelActionRootState : public RootStateObject
3030{
3131 Q_OBJECT
3232 Q_PROPERTY(UnityMenuModel* menu READ menu WRITE setMenu NOTIFY menuChanged)
33+ Q_PROPERTY(QString secondaryAction READ secondaryAction NOTIFY secondaryActionChanged)
34+ Q_PROPERTY(QString scrollAction READ scrollAction NOTIFY scrollActionChanged)
35+ Q_PROPERTY(QString submenuAction READ submenuAction NOTIFY submenuActionChanged)
3336public:
3437 ModelActionRootState(QObject *parent = 0);
3538 virtual ~ModelActionRootState();
@@ -37,14 +40,17 @@ public:
3740 UnityMenuModel* menu() const;
3841 void setMenu(UnityMenuModel* menu);
3942
40− int index() const;
41− void setIndex(int index);
43+ QString secondaryAction() const;
44+ QString scrollAction() const;
45+ QString submenuAction() const;
4246
4347 bool valid() const override;
4448
4549Q_SIGNALS:
4650 void menuChanged();
47− void indexChanged();
51+ void secondaryActionChanged();
52+ void scrollActionChanged();
53+ void submenuActionChanged();
4854
4955private Q_SLOTS:
5056 void onModelRowsAdded(const QModelIndex& parent, int start, int end);
@@ -54,8 +60,13 @@ private Q_SLOTS:
5460
5561private:
5662 void updateActionState();
63+ void updateOtherActions();
5764
5865 UnityMenuModel* m_menu;
66+ QString m_secondaryAction;
67+ QString m_scrollAction;
68+ QString m_submenuAction;
69+ bool m_reentryGuard;
5970};
6071
6172#endif // MODELACTIONROOTSTATE_H
plugins/Unity/Session/CMakeLists.txt−2
@@ -1,5 +1,3 @@
1−pkg_search_module(GIO REQUIRED gio-2.0)
2−
31include_directories(
42 ${CMAKE_CURRENT_SOURCE_DIR}
53 ${CMAKE_CURRENT_BINARY_DIR}
plugins/Utils/CMakeLists.txt−2
@@ -1,5 +1,3 @@
1−pkg_search_module(GIO REQUIRED gio-2.0)
2−
31include_directories(
42 ${CMAKE_CURRENT_SOURCE_DIR}
53 ${CMAKE_CURRENT_BINARY_DIR}
po/am.po+4−6
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity8\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-11-19 19:27+0000\n"
1212"Last-Translator: samson <Unknown>\n"
1313"Language-Team: Amharic <am@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n > 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:45+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:14+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
@@ -263,6 +263,7 @@ msgid ""
263263"Your device is now connected to an external display. Use this screen as a "
264264"touch pad to interact with the mouse."
265265msgstr ""
266+"የ እርስዎ አካል አሁን ከ ውጪ ማሳያ ጋር ተገናኝቷል: ይህን መመልከቻ እንደ ተችፓድ ከ አይጥ ጋር ተባብሮ ይሰራል"
266267
267268#: qml/Greeter/CoverPage.qml:107
268269msgid "Unlock"
@@ -797,6 +798,3 @@ msgstr "%1 〉"
797798
798799#~ msgid "Call back"
799800#~ msgstr "መልሶ መደወያ"
800−
801−#~ msgid "Your device is now connected to an external display."
802−#~ msgstr "የ እርስዎ አካል አሁን ከ ውጪ ማሳያ ጋር ተገናኝቷል"
po/ar.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-07-29 09:41+0000\n"
1212"Last-Translator: Ibrahim Saed <ibraheem5000@gmail.com>\n"
1313"Language-Team: Arabic <ar@li.org>\n"
@@ -16,8 +16,8 @@ msgstr ""
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n % 100 >= "
1818"3 && n % 100 <= 10 ? 3 : n % 100 >= 11 && n % 100 <= 99 ? 4 : 5;\n"
19−"X-Launchpad-Export-Date: 2016-02-02 05:45+0000\n"
20−"X-Generator: Launchpad (build 17908)\n"
19+"X-Launchpad-Export-Date: 2016-02-11 06:14+0000\n"
20+"X-Generator: Launchpad (build 17923)\n"
2121
2222#: plugins/IntegratedLightDM/Greeter.cpp:112
2323msgid "Password: "
po/ast.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity8\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-10-06 12:07+0000\n"
1212"Last-Translator: Xuacu Saturio <xuacusk8@gmail.com>\n"
1313"Language-Team: Asturian <ast@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:45+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:14+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
po/az.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2014-09-03 16:39+0000\n"
1212"Last-Translator: Nicat Məmmədov <n1c4t97@gmail.com>\n"
1313"Language-Team: Azerbaijani <az@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:45+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:14+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
po/be.po+4−7
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity8\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-12-13 13:12+0000\n"
1212"Last-Translator: Mikhail_SaTuRn <mikhail_saturn@tut.by>\n"
1313"Language-Team: Belarusian <be@li.org>\n"
@@ -16,8 +16,8 @@ msgstr ""
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
1818"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
19−"X-Launchpad-Export-Date: 2016-02-02 05:45+0000\n"
20−"X-Generator: Launchpad (build 17908)\n"
19+"X-Launchpad-Export-Date: 2016-02-11 06:14+0000\n"
20+"X-Generator: Launchpad (build 17923)\n"
2121
2222#: plugins/IntegratedLightDM/Greeter.cpp:112
2323msgid "Password: "
@@ -237,7 +237,7 @@ msgstr "Дадаць рэцэнзію"
237237
238238#: qml/Dash/Previews/PreviewSharing.qml:50
239239msgid "Preview Share Item"
240−msgstr "Падзяліцца праглядаймым"
240+msgstr "Праглядзець элемент"
241241
242242#: qml/Dash/PullToRefreshScopeStyle.qml:55
243243msgid "Pull to refresh…"
@@ -801,6 +801,3 @@ msgstr "%1 〉"
801801
802802#~ msgid "Call back"
803803#~ msgstr "Зваротны выклік"
804−
805−#~ msgid "Your device is now connected to an external display."
806−#~ msgstr "Прылада падлучана да вонкавага дысплэю."
po/bg.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-04-12 14:43+0000\n"
1212"Last-Translator: George Karavasilev <kokoto-java@ubuntu.com>\n"
1313"Language-Team: Bulgarian <bg@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:45+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:14+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
po/bn.po+3−6
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity8\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-11-27 19:38+0000\n"
1212"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1313"Language-Team: Bengali <bn@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:45+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:14+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
@@ -666,9 +666,6 @@ msgstr ""
666666msgid "%1 〉"
667667msgstr ""
668668
669−#~ msgid "Your device is now connected to an external display."
670−#~ msgstr "আপনার ডিভাইসটি এখন অতিরিক্ত ডিসপ্লের সাথে যুক্ত রয়েছে"
671−
672669#~ msgid "Log out"
673670#~ msgstr "লগ অাউট"
674671
po/br.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity8\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-10-05 06:47+0000\n"
1212"Last-Translator: Fohanno Thierry <thierry.fohanno@ofis-bzh.org>\n"
1313"Language-Team: Breton <br@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n > 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:45+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:14+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
po/bs.po+3−6
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity8\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-12-01 20:06+0000\n"
1212"Last-Translator: Kenan Gutić <Unknown>\n"
1313"Language-Team: Bosnian <bs@li.org>\n"
@@ -16,8 +16,8 @@ msgstr ""
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
1818"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
19−"X-Launchpad-Export-Date: 2016-02-02 05:45+0000\n"
20−"X-Generator: Launchpad (build 17908)\n"
19+"X-Launchpad-Export-Date: 2016-02-11 06:14+0000\n"
20+"X-Generator: Launchpad (build 17923)\n"
2121
2222#: plugins/IntegratedLightDM/Greeter.cpp:112
2323msgid "Password: "
@@ -698,6 +698,3 @@ msgstr "%1 〉"
698698
699699#~ msgid "Please re-enter"
700700#~ msgstr "Molimo ponovo unesite"
701−
702−#~ msgid "Your device is now connected to an external display."
703−#~ msgstr "Vaš uređaj je sada povezan sa vanjskim ekranom."
po/ca.po+3−6
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-07-04 09:48+0000\n"
1212"Last-Translator: David Planella <david.planella@ubuntu.com>\n"
1313"Language-Team: Catalan <ca@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:45+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:14+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
@@ -818,6 +818,3 @@ msgstr "%1 〉"
818818
819819#~ msgid "Call back"
820820#~ msgstr "Retorna la trucada"
821−
822−#~ msgid "Your device is now connected to an external display."
823−#~ msgstr "El dispositiu està connectat a un monitor extern."
po/ca@valencia.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-02-22 15:22+0000\n"
1212"Last-Translator: David Planella <david.planella@ubuntu.com>\n"
1313"Language-Team: Catalan <ca@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
po/ce.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity8\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-02-15 04:01+0000\n"
1212"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1313"Language-Team: Chechen <ce@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:45+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:14+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
po/ckb.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity8\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2014-01-21 11:05+0000\n"
1212"Last-Translator: Aras <aras.noori@gmail.com>\n"
1313"Language-Team: Kurdish (Sorani) <ckb@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
po/cs.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity8\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-07-07 10:44+0000\n"
1212"Last-Translator: Vojtěch Daněk <vdanek@outlook.com>\n"
1313"Language-Team: Czech <cs@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:45+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:14+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020"Language: cs\n"
2121
2222#: plugins/IntegratedLightDM/Greeter.cpp:112
po/cy.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity8\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-07-31 13:21+0000\n"
1212"Last-Translator: Owen Llywelyn <owen.llywelyn@gmail.com>\n"
1313"Language-Team: Welsh <cy@li.org>\n"
@@ -16,8 +16,8 @@ msgstr ""
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=4; plural=n==1 ? 0 : n==2 ? 1 : (n != 8 && n != 11) ? "
1818"2 : 3;\n"
19−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
20−"X-Generator: Launchpad (build 17908)\n"
19+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
20+"X-Generator: Launchpad (build 17923)\n"
2121
2222#: plugins/IntegratedLightDM/Greeter.cpp:112
2323msgid "Password: "
po/da.po+3−3
@@ -8,7 +8,7 @@ msgid ""
88msgstr ""
99"Project-Id-Version: unity8\n"
1010"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
11−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
11+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1212"PO-Revision-Date: 2015-07-06 12:05+0000\n"
1313"Last-Translator: Folmer Fredslund <Unknown>\n"
1414"Language-Team: Danish <dansk@dansk-gruppen.dk>\n"
@@ -16,8 +16,8 @@ msgstr ""
1616"Content-Type: text/plain; charset=UTF-8\n"
1717"Content-Transfer-Encoding: 8bit\n"
1818"Plural-Forms: nplurals=2; plural=n != 1;\n"
19−"X-Launchpad-Export-Date: 2016-02-02 05:45+0000\n"
20−"X-Generator: Launchpad (build 17908)\n"
19+"X-Launchpad-Export-Date: 2016-02-11 06:14+0000\n"
20+"X-Generator: Launchpad (build 17923)\n"
2121
2222#: plugins/IntegratedLightDM/Greeter.cpp:112
2323msgid "Password: "
po/de.po+3−6
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-07-24 18:03+0000\n"
1212"Last-Translator: Torsten Franz <Unknown>\n"
1313"Language-Team: German <de@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:45+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:14+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
@@ -813,6 +813,3 @@ msgstr "%1 〉"
813813
814814#~ msgid "Call back"
815815#~ msgstr "Zurückrufen"
816−
817−#~ msgid "Your device is now connected to an external display."
818−#~ msgstr "Ihr Gerät ist jetzt mit einem externen Bildschirm verbunden."
po/el.po+3−6
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-12-04 09:38+0000\n"
1212"Last-Translator: Aggelos Arnaoutis <angelosarn@hotmail.com>\n"
1313"Language-Team: Greek <el@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:45+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:14+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
@@ -812,6 +812,3 @@ msgstr "%1 〉"
812812
813813#~ msgid "%a %d %b %l:%M %p"
814814#~ msgstr "%a %d %b %l:%M %p"
815−
816−#~ msgid "Your device is now connected to an external display."
817−#~ msgstr "Η συσκευή σας τώρα είναι συνδεδεμένη σε εξωτερική οθόνη."
po/en_AU.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-07-12 07:17+0000\n"
1212"Last-Translator: Jared Norris <jarednorris@ubuntu.com>\n"
1313"Language-Team: English (Australia) <en_AU@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
po/en_GB.po+5−6
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-04-23 12:59+0000\n"
1212"Last-Translator: Andi Chandler <Unknown>\n"
1313"Language-Team: English (United Kingdom) <en_GB@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
@@ -263,6 +263,8 @@ msgid ""
263263"Your device is now connected to an external display. Use this screen as a "
264264"touch pad to interact with the mouse."
265265msgstr ""
266+"Your device is now connected to an external display. Use this screen as a "
267+"touch pad to interact with the mouse."
266268
267269#: qml/Greeter/CoverPage.qml:107
268270msgid "Unlock"
@@ -801,6 +803,3 @@ msgstr "%1 〉"
801803
802804#~ msgid "Call back"
803805#~ msgstr "Call back"
804−
805−#~ msgid "Your device is now connected to an external display."
806−#~ msgstr "Your device is now connected to an external display."
po/eo.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-06-06 23:37+0000\n"
1212"Last-Translator: Eliovir <Unknown>\n"
1313"Language-Team: Esperanto <eo@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:45+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:14+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
po/es.po+5−6
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2016-01-15 14:48+0000\n"
1212"Last-Translator: Víctor R. Ruiz <Unknown>\n"
1313"Language-Team: Spanish <es@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
@@ -269,6 +269,8 @@ msgid ""
269269"Your device is now connected to an external display. Use this screen as a "
270270"touch pad to interact with the mouse."
271271msgstr ""
272+"Ahora está conectado a una pantalla externa. Utilice esta pantalla como "
273+"dispositivo táctil para controlar el ratón."
272274
273275#: qml/Greeter/CoverPage.qml:107
274276msgid "Unlock"
@@ -810,6 +812,3 @@ msgstr "%1 〉"
810812
811813#~ msgid "Call back"
812814#~ msgstr "Devolver llamada"
813−
814−#~ msgid "Your device is now connected to an external display."
815−#~ msgstr "Se ha conectado el dispositivo a una pantalla externa."
po/eu.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity8\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-07-13 23:29+0000\n"
1212"Last-Translator: Ibai Oihanguren Sala <Unknown>\n"
1313"Language-Team: Basque <eu@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:45+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:14+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
po/fa.po+3−6
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity8\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-07-11 15:43+0000\n"
1212"Last-Translator: Danial Behzadi <dani.behzi@gmail.com>\n"
1313"Language-Team: Persian <fa@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=1; plural=0;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
@@ -801,6 +801,3 @@ msgstr "%1 〉"
801801
802802#~ msgid "Call back"
803803#~ msgstr "پاسخ تماس"
804−
805−#~ msgid "Your device is now connected to an external display."
806−#~ msgstr "افزاره‌تان اکنون به یک نمایشگر خارجی وصل شده است."
po/fi.po+5−6
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-07-04 18:32+0000\n"
1212"Last-Translator: Jiri Grönroos <Unknown>\n"
1313"Language-Team: Finnish <fi@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:45+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:14+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
@@ -267,6 +267,8 @@ msgid ""
267267"Your device is now connected to an external display. Use this screen as a "
268268"touch pad to interact with the mouse."
269269msgstr ""
270+"Laitteesi on nyt yhdistetty erilliseen näyttöön. Käytä tätä näyttöä "
271+"kosketuslevynä vaikuttaaksesi hiiren toimintaan."
270272
271273#: qml/Greeter/CoverPage.qml:107
272274msgid "Unlock"
@@ -806,6 +808,3 @@ msgstr "%1 〉"
806808
807809#~ msgid "Call back"
808810#~ msgstr "Soita takaisin"
809−
810−#~ msgid "Your device is now connected to an external display."
811−#~ msgstr "Laitteesi on nyt liitetty ulkoiseen näyttöön."
po/fo.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2014-01-14 20:08+0000\n"
1212"Last-Translator: Jógvan Olsen <jeggy@jebster.net>\n"
1313"Language-Team: Faroese <fo@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:45+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:14+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
po/fr.po+3−6
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-11-07 19:43+0000\n"
1212"Last-Translator: Jean-Marc <Unknown>\n"
1313"Language-Team: French <fr@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n > 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:45+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:14+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
@@ -824,6 +824,3 @@ msgstr "%1 〉"
824824
825825#~ msgid "Call back"
826826#~ msgstr "Rappeler"
827−
828−#~ msgid "Your device is now connected to an external display."
829−#~ msgstr "Votre périphérique est maintenant connecté à un écran externe."
po/ga.po+3−6
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity8\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2016-01-25 11:33+0000\n"
1212"Last-Translator: Joshua Kiley <Unknown>\n"
1313"Language-Team: Irish <ga@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=3; plural=n==1 ? 0 : n==2 ? 1 : 2;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:45+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:14+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
@@ -679,6 +679,3 @@ msgstr ""
679679#, qt-format
680680msgid "%1 〉"
681681msgstr ""
682−
683−#~ msgid "Your device is now connected to an external display."
684−#~ msgstr "Tá do uirlis ceangailte le taispeánt sheachtrach"
po/gd.po+6−8
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity8\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-07-16 10:56+0000\n"
1212"Last-Translator: GunChleoc <Unknown>\n"
1313"Language-Team: Fòram na Gàidhlig\n"
@@ -16,8 +16,8 @@ msgstr ""
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=4; plural=(n==1 || n==11) ? 0 : (n==2 || n==12) ? 1 : "
1818"(n > 2 && n < 20) ? 2 : 3;\n"
19−"X-Launchpad-Export-Date: 2016-02-02 05:45+0000\n"
20−"X-Generator: Launchpad (build 17908)\n"
19+"X-Launchpad-Export-Date: 2016-02-11 06:14+0000\n"
20+"X-Generator: Launchpad (build 17923)\n"
2121"Language: gd\n"
2222
2323#: plugins/IntegratedLightDM/Greeter.cpp:112
@@ -273,6 +273,9 @@ msgid ""
273273"Your device is now connected to an external display. Use this screen as a "
274274"touch pad to interact with the mouse."
275275msgstr ""
276+"Tha an t-uidheam agad air a cheangal ri uidheam-taisbeanaidh air an taobh a-"
277+"muigh a-nis. Cleachd an sgrìn seo 'na phada-suathaidh gus gnìomh luchaige a "
278+"dhèanamh."
276279
277280#: qml/Greeter/CoverPage.qml:107
278281msgid "Unlock"
@@ -830,8 +833,3 @@ msgstr "%1 〉"
830833
831834#~ msgid "Call back"
832835#~ msgstr "Fònaig air ais"
833−
834−#~ msgid "Your device is now connected to an external display."
835−#~ msgstr ""
836−#~ "Tha an t-uidheam agad ceangailte ri uidheam-taisbeanaidh air an taobh a-"
837−#~ "muigh a-nis."
po/gl.po+5−6
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2016-01-15 14:56+0000\n"
1212"Last-Translator: Marcos Lans <Unknown>\n"
1313"Language-Team: Galician <gl@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:45+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:14+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
@@ -263,6 +263,8 @@ msgid ""
263263"Your device is now connected to an external display. Use this screen as a "
264264"touch pad to interact with the mouse."
265265msgstr ""
266+"O dispositivo está agora conectado a unha pantalla externa. Use esta "
267+"pantalla como área táctil para interactuar co rato."
266268
267269#: qml/Greeter/CoverPage.qml:107
268270msgid "Unlock"
@@ -804,6 +806,3 @@ msgstr "%1 〉"
804806
805807#~ msgid "%a %d %b %l:%M %p"
806808#~ msgstr "%a, %d de %b  %l:%M %p"
807−
808−#~ msgid "Your device is now connected to an external display."
809−#~ msgstr "O dispositivo conectouse a unha pantalla externa."
po/gv.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity8\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-04-02 14:24+0000\n"
1212"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1313"Language-Team: Manx <gv@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : (n == 2 ? 1 : 2);\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:45+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:14+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
po/he.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-07-12 08:47+0000\n"
1212"Last-Translator: Yaron <sh.yaron@gmail.com>\n"
1313"Language-Team: Hebrew <he@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:45+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
po/hi.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity8\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2014-01-15 01:49+0000\n"
1212"Last-Translator: Siddhanathan Shanmugam <Unknown>\n"
1313"Language-Team: Hindi <hi@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:45+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
po/hr.po+3−6
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2013-06-27 04:14+0000\n"
1212"Last-Translator: Michał Sawicz <michal.sawicz@canonical.com>\n"
1313"Language-Team: Croatian <hr@li.org>\n"
@@ -16,8 +16,8 @@ msgstr ""
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
1818"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
19−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
20−"X-Generator: Launchpad (build 17908)\n"
19+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
20+"X-Generator: Launchpad (build 17923)\n"
2121
2222#: plugins/IntegratedLightDM/Greeter.cpp:112
2323msgid "Password: "
@@ -731,6 +731,3 @@ msgstr "%1 〉"
731731
732732#~ msgid "Call back"
733733#~ msgstr "Uzvrati poziv"
734−
735−#~ msgid "Your device is now connected to an external display."
736−#~ msgstr "Vaš uređaj je povezan s vanjskim zalonom"
po/hu.po+5−6
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-12-30 09:49+0000\n"
1212"Last-Translator: Richard Somlói <ricsipontaz@gmail.com>\n"
1313"Language-Team: Hungarian <hu@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:45+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
@@ -265,6 +265,8 @@ msgid ""
265265"Your device is now connected to an external display. Use this screen as a "
266266"touch pad to interact with the mouse."
267267msgstr ""
268+"Egy külső kijelzőhöz csatlakoztatta a készülékét. A telefon kijelzőjén tett "
269+"ujjmozdulatokkal mozgathatja az egeret."
268270
269271#: qml/Greeter/CoverPage.qml:107
270272msgid "Unlock"
@@ -807,6 +809,3 @@ msgstr "%1 〉"
807809
808810#~ msgid "%a %d %b %H:%M"
809811#~ msgstr "%b. %d., %a %H.%M"
810−
811−#~ msgid "Your device is now connected to an external display."
812−#~ msgstr "Egy külső kijelzőhöz csatlakoztatta a készüléket."
po/hy.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2014-10-28 06:34+0000\n"
1212"Last-Translator: Vahan Harutyunyan <Unknown>\n"
1313"Language-Team: Armenian <hy@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=1; plural=0;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:45+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:14+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
po/ia.po+3−6
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity8\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-08-25 19:31+0000\n"
1212"Last-Translator: karm <melo@carmu.com>\n"
1313"Language-Team: Interlingua <ia@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
@@ -796,6 +796,3 @@ msgstr "%1 〉"
796796
797797#~ msgid "Yesterday %l:%M %p"
798798#~ msgstr "Heri"
799−
800−#~ msgid "Your device is now connected to an external display."
801−#~ msgstr "Tu dispositivo es nunc connexe a un schermo externe"
po/id.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2013-06-26 22:35+0000\n"
1212"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1313"Language-Team: Indonesian <id@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=1; plural=0;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
po/is.po+3−3
@@ -9,7 +9,7 @@ msgid ""
99msgstr ""
1010"Project-Id-Version: po_unity8-is\n"
1111"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
12−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
12+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1313"PO-Revision-Date: 2014-11-13 09:32+0000\n"
1414"Last-Translator: Sveinn í Felli <sv1@fellsnet.is>\n"
1515"Language-Team: Icelandic <translation-team-is@lists.sourceforge.net>\n"
@@ -17,8 +17,8 @@ msgstr ""
1717"Content-Type: text/plain; charset=UTF-8\n"
1818"Content-Transfer-Encoding: 8bit\n"
1919"Plural-Forms: nplurals=2; plural=n != 1;\n"
20−"X-Launchpad-Export-Date: 2016-02-02 05:45+0000\n"
21−"X-Generator: Launchpad (build 17908)\n"
20+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
21+"X-Generator: Launchpad (build 17923)\n"
2222"Language: is\n"
2323
2424#: plugins/IntegratedLightDM/Greeter.cpp:112
po/it.po+3−6
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-09-18 08:24+0000\n"
1212"Last-Translator: Claudio Arseni <claudio.arseni@gmail.com>\n"
1313"Language-Team: Italian <it@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
@@ -816,6 +816,3 @@ msgstr "%1 〉"
816816
817817#~ msgid "Call back"
818818#~ msgstr "Richiama"
819−
820−#~ msgid "Your device is now connected to an external display."
821−#~ msgstr "Il dispositivo è ora collegato a un monitor esterno."
po/ja.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-10-05 10:05+0000\n"
1212"Last-Translator: Kentaro Kazuhama <Unknown>\n"
1313"Language-Team: Japanese <ja@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=1; plural=0;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
po/km.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity8\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2014-08-20 02:48+0000\n"
1212"Last-Translator: Sophea Sok <sksophea@gmail.com>\n"
1313"Language-Team: Khmer <km@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=1; plural=0;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
po/kn.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2013-06-27 05:43+0000\n"
1212"Last-Translator: Michał Sawicz <michal.sawicz@canonical.com>\n"
1313"Language-Team: Kannada <kn@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
po/ko.po+13−13
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2014-08-19 13:02+0000\n"
1212"Last-Translator: MinSik CHO <Unknown>\n"
1313"Language-Team: Korean <ko@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=1; plural=0;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
@@ -148,27 +148,27 @@ msgstr "확인"
148148
149149#: qml/Components/ModeSwitchWarningDialog.qml:32
150150msgid "Apps may have unsaved data:"
151−msgstr ""
151+msgstr "프로그램에 저장하지 않은 데이터가 있을 때:"
152152
153153#: qml/Components/ModeSwitchWarningDialog.qml:57
154154msgid "Re-dock, save your work and close these apps to continue."
155−msgstr ""
155+msgstr "다시 도킹해 작업을 저장하고 프로그램을 닫은 후 계속합니다."
156156
157157#: qml/Components/ModeSwitchWarningDialog.qml:63
158158msgid "Or force close now (unsaved data will be lost)."
159−msgstr ""
159+msgstr "강제로 지금 끝냅니다.(저장하지 않은 데이터를 잃게 됩니다.)"
160160
161161#: qml/Components/ModeSwitchWarningDialog.qml:75
162162msgid "OK, I will reconnect"
163−msgstr ""
163+msgstr "다시 접속합니다."
164164
165165#: qml/Components/ModeSwitchWarningDialog.qml:76
166166msgid "Reconnect now!"
167−msgstr ""
167+msgstr "지급 다시 접속!"
168168
169169#: qml/Components/ModeSwitchWarningDialog.qml:88
170170msgid "Close all"
171−msgstr ""
171+msgstr "모두 닫기"
172172
173173#: qml/Dash/DashPageHeader.qml:266
174174msgctxt "Button: Open the Ubuntu Store"
@@ -229,7 +229,7 @@ msgstr "평가 추가"
229229
230230#: qml/Dash/Previews/PreviewSharing.qml:50
231231msgid "Preview Share Item"
232−msgstr ""
232+msgstr "공유 항목 미리 보기"
233233
234234#: qml/Dash/PullToRefreshScopeStyle.qml:55
235235msgid "Pull to refresh…"
@@ -259,7 +259,7 @@ msgstr "설치함"
259259msgid ""
260260"Your device is now connected to an external display. Use this screen as a "
261261"touch pad to interact with the mouse."
262−msgstr ""
262+msgstr "장치를 외부 디스플레이와 연결햇습니다. 이 화면을 마우스와 상호작용 하는 터치 패드로 사용합니다."
263263
264264#: qml/Greeter/CoverPage.qml:107
265265msgid "Unlock"
@@ -400,7 +400,7 @@ msgstr "실패, 두드리면 다시 시도합니다."
400400#: qml/Panel/Indicators/MessageMenuItemFactory.qml:214
401401msgctxt "Button: Send a reply message"
402402msgid "Send"
403−msgstr ""
403+msgstr "보내기"
404404
405405#: qml/Panel/Indicators/MessageMenuItemFactory.qml:156
406406msgctxt "Label: Hint in message indicator line edit"
@@ -410,7 +410,7 @@ msgstr "답신"
410410#: qml/Panel/Indicators/MessageMenuItemFactory.qml:213
411411msgctxt "Button: Call back on phone"
412412msgid "Call back"
413−msgstr ""
413+msgstr "부재중 번호로 전화"
414414
415415#: qml/Panel/Indicators/ModemInfoItem.qml:105
416416msgid "Unlock SIM"
po/ku.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity8\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2014-09-10 13:14+0000\n"
1212"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1313"Language-Team: Kurdish <ku@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
po/ky.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2013-06-27 06:17+0000\n"
1212"Last-Translator: Michał Sawicz <michal.sawicz@canonical.com>\n"
1313"Language-Team: Kirghiz <ky@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=1; plural=0;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
po/lo.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity8\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2013-10-02 10:00+0000\n"
1212"Last-Translator: Anousak <anousak@gmail.com>\n"
1313"Language-Team: Lao <lo@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=1; plural=0;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
po/lt.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity8\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2014-05-19 17:15+0000\n"
1212"Last-Translator: Mantas Kriaučiūnas <mantas@akl.lt>\n"
1313"Language-Team: Lithuanian <lt@li.org>\n"
@@ -16,8 +16,8 @@ msgstr ""
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
1818"(n%100<10 || n%100>=20) ? 1 : 2;\n"
19−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
20−"X-Generator: Launchpad (build 17908)\n"
19+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
20+"X-Generator: Launchpad (build 17923)\n"
2121
2222#: plugins/IntegratedLightDM/Greeter.cpp:112
2323msgid "Password: "
po/lv.po+3−6
@@ -8,7 +8,7 @@ msgid ""
88msgstr ""
99"Project-Id-Version: unity\n"
1010"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
11−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
11+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1212"PO-Revision-Date: 2015-11-22 19:13+0000\n"
1313"Last-Translator: Klavs Anson <anson.klavs@gmail.com>\n"
1414"Language-Team: Latvian <lata-l10n@googlegroups.com>\n"
@@ -16,8 +16,8 @@ msgstr ""
1616"Content-Type: text/plain; charset=UTF-8\n"
1717"Content-Transfer-Encoding: 8bit\n"
1818"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2;\n"
19−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
20−"X-Generator: Launchpad (build 17908)\n"
19+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
20+"X-Generator: Launchpad (build 17923)\n"
2121"Language: lv\n"
2222
2323#: plugins/IntegratedLightDM/Greeter.cpp:112
@@ -758,6 +758,3 @@ msgstr "%1 〉"
758758
759759#~ msgid "Please re-enter"
760760#~ msgstr "Lūdzu, ievadiet vēlreiz"
761−
762−#~ msgid "Your device is now connected to an external display."
763−#~ msgstr "Šī ierīce tagad ir savienota ar ārējo displeju."
po/ml.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity8\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2013-11-23 11:44+0000\n"
1212"Last-Translator: ST Alfas <Unknown>\n"
1313"Language-Team: Malayalam <ml@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
po/mr.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity8\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2014-01-14 19:54+0000\n"
1212"Last-Translator: Rohan Deshmukh <Unknown>\n"
1313"Language-Team: Marathi <mr@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
po/ms.po+3−6
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity8\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2014-01-17 09:05+0000\n"
1212"Last-Translator: abuyop <Unknown>\n"
1313"Language-Team: Malay <ms@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
@@ -803,6 +803,3 @@ msgstr "%1 〉"
803803
804804#~ msgid "Call back"
805805#~ msgstr "Panggilan semula"
806−
807−#~ msgid "Your device is now connected to an external display."
808−#~ msgstr "Peranti anda kini bersambung dengan paparan luar."
po/my.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2013-12-12 11:12+0000\n"
1212"Last-Translator: Pyae Sone <Unknown>\n"
1313"Language-Team: Burmese <my@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=1; plural=0;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:45+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:14+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
po/nb.po+3−6
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-07-05 19:44+0000\n"
1212"Last-Translator: Mathias Bynke <Unknown>\n"
1313"Language-Team: Norwegian Bokmal <nb@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
@@ -802,6 +802,3 @@ msgstr "%1 〉"
802802
803803#~ msgid "Tomorrow %H:%M"
804804#~ msgstr "I morgen %H:%M"
805−
806−#~ msgid "Your device is now connected to an external display."
807−#~ msgstr "Enheten er nå koblet til en ekstern skjerm."
po/ne.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity8\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-12-06 15:11+0000\n"
1212"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1313"Language-Team: Nepali <ne@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
po/nl.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-07-07 07:14+0000\n"
1212"Last-Translator: Hannie Dumoleyn <Unknown>\n"
1313"Language-Team: Dutch <nl@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:45+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:14+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
po/nn.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity8\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-05-12 11:32+0000\n"
1212"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1313"Language-Team: Norwegian Nynorsk <nn@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
po/oc.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity8\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-02-05 20:35+0000\n"
1212"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1313"Language-Team: Occitan (post 1500) <oc@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n > 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
po/or.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity8\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-03-21 05:28+0000\n"
1212"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1313"Language-Team: Oriya <or@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n!=1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
po/pa.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity8\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-04-24 04:29+0000\n"
1212"Last-Translator: Gursharnjit_Singh <ubuntuser13@gmail.com>\n"
1313"Language-Team: Punjabi <pa@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
po/pl.po+5−6
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-07-12 09:46+0000\n"
1212"Last-Translator: Seweryn Opyd <Unknown>\n"
1313"Language-Team: Polish <pl@li.org>\n"
@@ -16,8 +16,8 @@ msgstr ""
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
1818"|| n%100>=20) ? 1 : 2;\n"
19−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
20−"X-Generator: Launchpad (build 17908)\n"
19+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
20+"X-Generator: Launchpad (build 17923)\n"
2121
2222#: plugins/IntegratedLightDM/Greeter.cpp:112
2323msgid "Password: "
@@ -265,6 +265,8 @@ msgid ""
265265"Your device is now connected to an external display. Use this screen as a "
266266"touch pad to interact with the mouse."
267267msgstr ""
268+"Twoje urządzenie jest teraz podłączone do zewnętrznego wyświetlacza. Użyj "
269+"tego ekranu jako panelu dotykowego do interakcji z myszą."
268270
269271#: qml/Greeter/CoverPage.qml:107
270272msgid "Unlock"
@@ -797,6 +799,3 @@ msgstr "%1 〉"
797799
798800#~ msgid "Call back"
799801#~ msgstr "Oddzwoń"
800−
801−#~ msgid "Your device is now connected to an external display."
802−#~ msgstr "Twoje urządzenie jest teraz połączone z zewnętrznym ekranem."
po/pt.po+5−6
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity8\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-12-20 09:20+0000\n"
1212"Last-Translator: Ivo Xavier <ivofernandes12@gmail.com>\n"
1313"Language-Team: Portuguese <pt@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
@@ -267,6 +267,8 @@ msgid ""
267267"Your device is now connected to an external display. Use this screen as a "
268268"touch pad to interact with the mouse."
269269msgstr ""
270+"O dispositivo está ligado a um ecrã externo. Utilize o ecrã como touchpad "
271+"para manipular o ponteiro do rato."
270272
271273#: qml/Greeter/CoverPage.qml:107
272274msgid "Unlock"
@@ -794,9 +796,6 @@ msgstr "%1 〉"
794796#~ msgid "Call back"
795797#~ msgstr "Ligar de volta"
796798
797−#~ msgid "Your device is now connected to an external display."
798−#~ msgstr "O seu dispositivo está agora ligado a um monitor externo"
799−
800799#~ msgid "Swipe from the left to reveal the launcher for quick access to apps"
801800#~ msgstr ""
802801#~ "Deslize da margem esquerda para mostrar o Launcher de acesso rápido às apps"
po/pt_BR.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-08-05 04:40+0000\n"
1212"Last-Translator: Julio Alexander Sieg <julio.sieg@gmail.com>\n"
1313"Language-Team: Brazilian Portuguese <pt_BR@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n > 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
po/ro.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-07-06 17:47+0000\n"
1212"Last-Translator: Meriuță Cornel <meriutacornel@neacornel.eu>\n"
1313"Language-Team: Romanian <ro@li.org>\n"
@@ -16,8 +16,8 @@ msgstr ""
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=3; plural=(n == 1 ? 0: (((n % 100 > 19) || ((n % 100 "
1818"== 0) && (n != 0))) ? 2: 1));\n"
19−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
20−"X-Generator: Launchpad (build 17908)\n"
19+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
20+"X-Generator: Launchpad (build 17923)\n"
2121
2222#: plugins/IntegratedLightDM/Greeter.cpp:112
2323msgid "Password: "
po/ru.po+3−6
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-07-06 05:33+0000\n"
1212"Last-Translator: ☠Jay ZDLin☠ <Unknown>\n"
1313"Language-Team: Russian <ru@li.org>\n"
@@ -16,8 +16,8 @@ msgstr ""
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
1818"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
19−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
20−"X-Generator: Launchpad (build 17908)\n"
19+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
20+"X-Generator: Launchpad (build 17923)\n"
2121
2222#: plugins/IntegratedLightDM/Greeter.cpp:112
2323msgid "Password: "
@@ -818,6 +818,3 @@ msgstr "%1 〉"
818818
819819#~ msgid "Call back"
820820#~ msgstr "Позвонить"
821−
822−#~ msgid "Your device is now connected to an external display."
823−#~ msgstr "Устройство подключено к внешнему дисплею."
po/shn.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity8\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-11-10 12:09+0000\n"
1212"Last-Translator: Rockworld <sumoisrock@gmail.com>\n"
1313"Language-Team: Shan <shn@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=(n == 1) ? 0 : 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
po/si.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2013-06-26 22:36+0000\n"
1212"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1313"Language-Team: Sinhalese <si@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
po/sk.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity8\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-04-10 09:15+0000\n"
1212"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1313"Language-Team: Slovak <sk@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=3; plural=(n==1) ? 1 : (n>=2 && n<=4) ? 2 : 0;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
po/sl.po+5−6
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2016-01-31 18:34+0000\n"
1212"Last-Translator: Bernard Banko <Unknown>\n"
1313"Language-Team: Slovenian <sl@li.org>\n"
@@ -16,8 +16,8 @@ msgstr ""
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || "
1818"n%100==4 ? 3 : 0);\n"
19−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
20−"X-Generator: Launchpad (build 17908)\n"
19+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
20+"X-Generator: Launchpad (build 17923)\n"
2121
2222#: plugins/IntegratedLightDM/Greeter.cpp:112
2323msgid "Password: "
@@ -268,6 +268,8 @@ msgid ""
268268"Your device is now connected to an external display. Use this screen as a "
269269"touch pad to interact with the mouse."
270270msgstr ""
271+"Vaša naprava je sedaj priključena na zunanji zaslon. Ta zaslon pa lahko "
272+"uporabite kot sledilno ploščico za nadzor kazalke."
271273
272274#: qml/Greeter/CoverPage.qml:107
273275msgid "Unlock"
@@ -805,9 +807,6 @@ msgstr "%1 〉"
805807#~ msgid "Tomorrow %H:%M"
806808#~ msgstr "Jutri %H:%M"
807809
808−#~ msgid "Your device is now connected to an external display."
809−#~ msgstr "Vaša naprava je sedaj povezana na zunanji zaslon."
810−
811810#~ msgid "%a %d %b %H:%M"
812811#~ msgstr "%a %d %b %H:%M"
813812
po/sq.po+3−6
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity8\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-11-30 21:05+0000\n"
1212"Last-Translator: Indrit Bashkimi <indrit.bashkimi@gmail.com>\n"
1313"Language-Team: Albanian <sq@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:45+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:14+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
@@ -681,6 +681,3 @@ msgstr "%1 〉"
681681
682682#~ msgid "Right edge"
683683#~ msgstr "Cepi djathtas"
684−
685−#~ msgid "Your device is now connected to an external display."
686−#~ msgstr "Pajisja juaj është tashmë e lidhur me një ekran të jashtëm."
po/sr.po+6−7
@@ -8,8 +8,8 @@ msgid ""
88msgstr ""
99"Project-Id-Version: unity\n"
1010"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
11−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
12−"PO-Revision-Date: 2015-12-09 20:16+0000\n"
11+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
12+"PO-Revision-Date: 2016-02-10 21:21+0000\n"
1313"Last-Translator: Bojan Bogdanović <Unknown>\n"
1414"Language-Team: српски <xfce4@xfce4.org>\n"
1515"MIME-Version: 1.0\n"
@@ -17,8 +17,8 @@ msgstr ""
1717"Content-Transfer-Encoding: 8bit\n"
1818"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
1919"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
20−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
21−"X-Generator: Launchpad (build 17908)\n"
20+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
21+"X-Generator: Launchpad (build 17923)\n"
2222"Language: sr\n"
2323
2424#: plugins/IntegratedLightDM/Greeter.cpp:112
@@ -268,6 +268,8 @@ msgid ""
268268"Your device is now connected to an external display. Use this screen as a "
269269"touch pad to interact with the mouse."
270270msgstr ""
271+"Ваш уређај је сада повезан на спољњи монитор. Користите овај екран као "
272+"додирну плочу да остварите интеракцију са мишем."
271273
272274#: qml/Greeter/CoverPage.qml:107
273275msgid "Unlock"
@@ -807,6 +809,3 @@ msgstr "%1 〉"
807809
808810#~ msgid "Call back"
809811#~ msgstr "Позови назад"
810−
811−#~ msgid "Your device is now connected to an external display."
812−#~ msgstr "Ваш уређај је сада повезан на спљни монитор."
po/sv.po+14−11
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-07-12 22:17+0000\n"
1212"Last-Translator: Josef Andersson <Unknown>\n"
1313"Language-Team: Swedish\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020"Language: sv\n"
2121
2222#: plugins/IntegratedLightDM/Greeter.cpp:112
@@ -152,27 +152,28 @@ msgstr "OK"
152152
153153#: qml/Components/ModeSwitchWarningDialog.qml:32
154154msgid "Apps may have unsaved data:"
155−msgstr ""
155+msgstr "Program kan ha osparad data:"
156156
157157#: qml/Components/ModeSwitchWarningDialog.qml:57
158158msgid "Re-dock, save your work and close these apps to continue."
159159msgstr ""
160+"Docka om, spara ditt arbete och stäng dessa program för att fortsätta."
160161
161162#: qml/Components/ModeSwitchWarningDialog.qml:63
162163msgid "Or force close now (unsaved data will be lost)."
163−msgstr ""
164+msgstr "Eller tvinga avstängning nu (osparad data kommer att gå förlorad)."
164165
165166#: qml/Components/ModeSwitchWarningDialog.qml:75
166167msgid "OK, I will reconnect"
167−msgstr ""
168+msgstr "OK, jag kommer att återansluta"
168169
169170#: qml/Components/ModeSwitchWarningDialog.qml:76
170171msgid "Reconnect now!"
171−msgstr ""
172+msgstr "Återanslut nu!"
172173
173174#: qml/Components/ModeSwitchWarningDialog.qml:88
174175msgid "Close all"
175−msgstr ""
176+msgstr "Stäng alla"
176177
177178#: qml/Dash/DashPageHeader.qml:266
178179msgctxt "Button: Open the Ubuntu Store"
@@ -233,7 +234,7 @@ msgstr "Lägg till en recension"
233234
234235#: qml/Dash/Previews/PreviewSharing.qml:50
235236msgid "Preview Share Item"
236−msgstr ""
237+msgstr "Premiärvisa objektet dela"
237238
238239#: qml/Dash/PullToRefreshScopeStyle.qml:55
239240msgid "Pull to refresh…"
@@ -264,6 +265,8 @@ msgid ""
264265"Your device is now connected to an external display. Use this screen as a "
265266"touch pad to interact with the mouse."
266267msgstr ""
268+"Din enhet är nu ansluten till en extern display. Använd denna skärm som en "
269+"styrplatta för att interagera med musen."
267270
268271#: qml/Greeter/CoverPage.qml:107
269272msgid "Unlock"
@@ -411,7 +414,7 @@ msgstr "Misslyckades, tryck för att försöka igen"
411414#: qml/Panel/Indicators/MessageMenuItemFactory.qml:214
412415msgctxt "Button: Send a reply message"
413416msgid "Send"
414−msgstr ""
417+msgstr "Skicka"
415418
416419#: qml/Panel/Indicators/MessageMenuItemFactory.qml:156
417420msgctxt "Label: Hint in message indicator line edit"
@@ -421,7 +424,7 @@ msgstr "Svara"
421424#: qml/Panel/Indicators/MessageMenuItemFactory.qml:213
422425msgctxt "Button: Call back on phone"
423426msgid "Call back"
424−msgstr ""
427+msgstr "Ring upp"
425428
426429#: qml/Panel/Indicators/ModemInfoItem.qml:105
427430msgid "Unlock SIM"
po/sw.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity8\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-07-17 20:02+0000\n"
1212"Last-Translator: Valentine <mwangi_valentino@yahoo.com>\n"
1313"Language-Team: Swahili <sw@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
po/ta.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity8\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2013-10-24 11:36+0000\n"
1212"Last-Translator: Arun Kumar - அருண் குமார் <thangam.arunx@gmail.com>\n"
1313"Language-Team: Ubuntu Tamil Team/Free Tamil Computing/Thamizha\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020"Language: ta\n"
2121
2222#: plugins/IntegratedLightDM/Greeter.cpp:112
po/te.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2014-07-19 10:04+0000\n"
1212"Last-Translator: Praveen Illa <mail2ipn@gmail.com>\n"
1313"Language-Team: Telugu <te@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
po/th.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity8\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2014-10-02 04:55+0000\n"
1212"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1313"Language-Team: Thai <th@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=1; plural=0;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
po/tr.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-03-22 15:56+0000\n"
1212"Last-Translator: Arda Ünlü <aarda.uunlu@gmail.com>\n"
1313"Language-Team: Turkish <tr@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
po/ug.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-12-01 07:37+0000\n"
1212"Last-Translator: Eltikin <eltikinuyghur@hotmail.com>\n"
1313"Language-Team: Uyghur Computer Science Association <UKIJ@yahoogroups.com>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=1; plural=0;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
po/uk.po+5−6
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-07-04 05:53+0000\n"
1212"Last-Translator: Yuri Chornoivan <yurchor@gmail.com>\n"
1313"Language-Team: Ukrainian <uk@li.org>\n"
@@ -16,8 +16,8 @@ msgstr ""
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
1818"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
19−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
20−"X-Generator: Launchpad (build 17908)\n"
19+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
20+"X-Generator: Launchpad (build 17923)\n"
2121
2222#: plugins/IntegratedLightDM/Greeter.cpp:112
2323msgid "Password: "
@@ -270,6 +270,8 @@ msgid ""
270270"Your device is now connected to an external display. Use this screen as a "
271271"touch pad to interact with the mouse."
272272msgstr ""
273+"Ваш пристрій з’єднано із зовнішнім дисплеєм. Скористайтеся його екраном як "
274+"сенсорною панеллю для імітації роботи із мишею."
273275
274276#: qml/Greeter/CoverPage.qml:107
275277msgid "Unlock"
@@ -817,6 +819,3 @@ msgstr "%1 〉"
817819
818820#~ msgid "Call back"
819821#~ msgstr "Зворотний виклик"
820−
821−#~ msgid "Your device is now connected to an external display."
822−#~ msgstr "Ваш пристрій з’єднано із зовнішнім дисплеєм."
po/unity8.pot+6−6
@@ -8,7 +8,7 @@ msgid ""
88msgstr ""
99"Project-Id-Version: unity8\n"
1010"Report-Msgid-Bugs-To: \n"
11−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
11+"POT-Creation-Date: 2016-02-12 00:28+0000\n"
1212"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -266,11 +266,11 @@ msgstr ""
266266msgid "Unlock"
267267msgstr ""
268268
269−#: qml/Greeter/LoginList.qml:236
269+#: qml/Greeter/LoginList.qml:239
270270msgid "Retry"
271271msgstr ""
272272
273−#: qml/Greeter/LoginList.qml:237
273+#: qml/Greeter/LoginList.qml:240
274274msgid "Tap to unlock"
275275msgstr ""
276276
@@ -487,7 +487,7 @@ msgid "Hi!"
487487msgstr ""
488488
489489#: qml/Wizard/Pages/10-welcome.qml:44
490−msgid "Welcome to your Ubuntu phone."
490+msgid "Welcome to your Ubuntu device."
491491msgstr ""
492492
493493#: qml/Wizard/Pages/10-welcome.qml:52
@@ -518,7 +518,7 @@ msgid "Lock security"
518518msgstr ""
519519
520520#: qml/Wizard/Pages/30-passwd-type.qml:79
521−msgid "Please select how you’d like to unlock your phone."
521+msgid "Please select how you’d like to unlock your device."
522522msgstr ""
523523
524524#: qml/Wizard/Pages/30-passwd-type.qml:102
@@ -619,7 +619,7 @@ msgid "Nice work!"
619619msgstr ""
620620
621621#: qml/Wizard/Pages/80-finished.qml:46
622−msgid "Your phone is now ready to use."
622+msgid "Your device is now ready to use."
623623msgstr ""
624624
625625#: qml/Wizard/Pages/80-finished.qml:53
po/ur.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity8\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-05-05 03:12+0000\n"
1212"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1313"Language-Team: Urdu <ur@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
po/uz.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity8\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-07-04 16:03+0000\n"
1212"Last-Translator: Learner <muzaffar.habibullayev@yandex.ru>\n"
1313"Language-Team: Uzbek <uz@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=1; plural=0;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
po/vi.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity8\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2014-01-15 01:19+0000\n"
1212"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1313"Language-Team: Vietnamese <vi@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=1; plural=0;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
po/wo.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity8\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-10-29 11:16+0000\n"
1212"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1313"Language-Team: Wolof <wo@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n > 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
po/xh.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity8\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2013-09-28 13:20+0000\n"
1212"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1313"Language-Team: Xhosa <xh@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
po/zh_CN.po+4−7
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-07-27 10:26+0000\n"
1212"Last-Translator: Ian Li <Unknown>\n"
1313"Language-Team: Chinese (Simplified) <zh_CN@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=1; plural=0;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
@@ -261,7 +261,7 @@ msgstr "已安装"
261261msgid ""
262262"Your device is now connected to an external display. Use this screen as a "
263263"touch pad to interact with the mouse."
264−msgstr ""
264+msgstr "你的设备现已连接上了一个外接显示。将这个屏幕作为触控板使用,可与鼠标互动。"
265265
266266#: qml/Greeter/CoverPage.qml:107
267267msgid "Unlock"
@@ -764,6 +764,3 @@ msgstr "%1 〉"
764764
765765#~ msgid "Call back"
766766#~ msgstr "回电"
767−
768−#~ msgid "Your device is now connected to an external display."
769−#~ msgstr "您的设备目前已连接到了一台扩展显示装置。"
po/zh_HK.po+3−3
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity8\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2014-08-10 11:45+0000\n"
1212"Last-Translator: Daniel Cheung <daniel.2345@hotmail.com>\n"
1313"Language-Team: Chinese (Hong Kong) <zh_HK@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=1; plural=0;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020
2121#: plugins/IntegratedLightDM/Greeter.cpp:112
2222msgid "Password: "
po/zh_TW.po+3−6
@@ -7,7 +7,7 @@ msgid ""
77msgstr ""
88"Project-Id-Version: unity\n"
99"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2016-01-29 11:58+0000\n"
10+"POT-Creation-Date: 2016-02-08 09:50+0000\n"
1111"PO-Revision-Date: 2015-07-31 09:29+0000\n"
1212"Last-Translator: Po-Hsu Lin <po-hsu.lin@canonical.com>\n"
1313"Language-Team: Chinese (Traditional) <zh_TW@li.org>\n"
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=1; plural=0;\n"
18−"X-Launchpad-Export-Date: 2016-02-02 05:46+0000\n"
19−"X-Generator: Launchpad (build 17908)\n"
18+"X-Launchpad-Export-Date: 2016-02-11 06:15+0000\n"
19+"X-Generator: Launchpad (build 17923)\n"
2020"Language: zh_TW\n"
2121
2222#: plugins/IntegratedLightDM/Greeter.cpp:112
@@ -784,6 +784,3 @@ msgstr "%1 〉"
784784
785785#~ msgid "%a %d %b %l:%M %p"
786786#~ msgstr "(%a) %d月%b日 %p %l:%M"
787−
788−#~ msgid "Your device is now connected to an external display."
789−#~ msgstr "您的裝目前已經連線到外部的螢幕."
qml/Components/EdgeBarrierController.qml+2
@@ -30,6 +30,8 @@ MouseArea {
3030 // Should trigger the action associated with this edge
3131 signal passed()
3232
33+ onPressed: mouse.accepted = false;
34+
3335 function push(amount) {
3436 if (!root._containsMouse) {
3537 return;
qml/Components/VolumeControl.qml+1−6
@@ -1,5 +1,5 @@
11/*
2− * Copyright (C) 2013-2015 Canonical, Ltd.
2+ * Copyright (C) 2013-2016 Canonical, Ltd.
33 *
44 * This program is free software; you can redistribute it and/or modify
55 * it under the terms of the GNU General Public License as published by
@@ -28,10 +28,6 @@ Item {
2828 readonly property int stepDown: -1
2929
3030 property var indicators // passed from Shell.qml
31− readonly property bool showNotification: indicators && indicators.fullyOpened && indicators.currentIndicator === "indicator-sound"
32− onShowNotificationChanged: { // disallow the volume notification when using the slider, lpbug#1484126
33− actionGroup.indicatorsAction.updateState(root.showNotification);
34− }
3531
3632 GlobalShortcut {
3733 id: muteShortcut
@@ -47,7 +43,6 @@ Item {
4743
4844 property variant actionObject: action("volume")
4945 property variant muteActionObject: indicators.indicatorsModel.profile === "desktop" ? action("mute") : action("silent-mode")
50− property variant indicatorsAction: action("indicator-shown")
5146 }
5247
5348 function volumeUp() {
qml/Components/ZoomableImage.qml+1−1
@@ -65,7 +65,7 @@ Item {
6565 anchors.fill: parent
6666 fillMode: Image.PreserveAspectFit
6767
68− readonly property int sourceSizeMultiplier: 3
68+ readonly property int sourceSizeMultiplier: root.zoomable ? 3 : 1
6969
7070 sourceSize.width: root.width * sourceSizeMultiplier <= root.height * sourceSizeMultiplier ? root.width * sourceSizeMultiplier : 0
7171 sourceSize.height: root.height * sourceSizeMultiplier <= root.width * sourceSizeMultiplier ? root.height * sourceSizeMultiplier : 0
qml/Dash/CardCarousel.qml−1
@@ -64,7 +64,6 @@ DashRenderer {
6464 item.fixedHeaderHeight = Qt.binding(function() { return carousel.headerHeight; });
6565 item.height = Qt.binding(function() { return cardTool.cardHeight; });
6666 item.cardData = Qt.binding(function() { return model; });
67− item.components = Qt.binding(function() { return cardTool.components; });
6867 item.fontScale = Qt.binding(function() { return carousel.fontScale; });
6968 item.showHeader = Qt.binding(function() { return loader.explicitlyScaled; });
7069 item.titleAlignment = Qt.binding(function() { return cardTool.titleAlignment; });
qml/Dash/CardGrid.qml−1
@@ -70,7 +70,6 @@ DashRenderer {
7070 item.fixedHeaderHeight = Qt.binding(function() { return cardTool.headerHeight; });
7171 item.fixedArtShapeSize = Qt.binding(function() { return cardTool.artShapeSize; });
7272 item.cardData = Qt.binding(function() { return model; });
73− item.components = Qt.binding(function() { return cardTool.components; });
7473 item.titleAlignment = Qt.binding(function() { return cardTool.titleAlignment; });
7574 item.scopeStyle = root.scopeStyle;
7675 item.artShapeStyle = root.artShapeStyle;
qml/Dash/CardHorizontalList.qml−1
@@ -53,7 +53,6 @@ DashRenderer {
5353 item.fixedArtShapeSize = Qt.binding(function() { return cardTool.artShapeSize; });
5454 item.fixedHeaderHeight = Qt.binding(function() { return cardTool.headerHeight; });
5555 item.cardData = Qt.binding(function() { return model; });
56− item.components = Qt.binding(function() { return cardTool.components; });
5756 item.titleAlignment = Qt.binding(function() { return cardTool.titleAlignment; });
5857 item.scopeStyle = root.scopeStyle;
5958 }
qml/Dash/CardTool.qml−1
@@ -220,7 +220,6 @@ Item {
220220 onLoaded: {
221221 item.objectName = "cardToolCard";
222222 item.asynchronous = false;
223− item.components = Qt.binding(function() { return cardTool.components; });
224223 item.width = Qt.binding(function() { return cardTool.cardWidth !== -1 ? cardTool.cardWidth : item.implicitWidth; });
225224 item.height = Qt.binding(function() { return cardTool.cardHeight !== -1 ? cardTool.cardHeight : item.implicitHeight; });
226225 }
qml/Dash/CardVerticalJournal.qml−1
@@ -72,7 +72,6 @@ DashRenderer {
7272 item.fixedArtShapeSize = Qt.binding(function() { return cardTool.artShapeSize; });
7373 item.fixedHeaderHeight = Qt.binding(function() { return cardTool.headerHeight; });
7474 item.cardData = Qt.binding(function() { return model; });
75− item.components = Qt.binding(function() { return cardTool.components; });
7675 item.titleAlignment = Qt.binding(function() { return cardTool.titleAlignment; });
7776 item.scopeStyle = root.scopeStyle;
7877 }
qml/Dash/GenericScopeView.qml+1−1
@@ -363,7 +363,7 @@ FocusScope {
363363 clickScopeSizingHacks();
364364 if (scope && scope.id === "clickscope") {
365365 if (categoryId === "predefined" || categoryId === "local") {
366− cardTool.artShapeSize = Qt.size(units.gu(8), units.gu(7.5));
366+ cardTool.artShapeSize = Qt.binding(function() { return Qt.size(units.gu(8), units.gu(7.5)) });
367367 item.artShapeStyle = "icon";
368368 } else {
369369 // Should be ubuntu store icon
qml/Dash/Previews/PreviewHeader.qml+1−1
@@ -35,7 +35,7 @@ PreviewWidget {
3535 Item {
3636 id: headerRoot
3737 objectName: "innerPreviewHeader"
38− readonly property url mascot: root.widgetData["mascot"] || ""
38+ readonly property url mascot: root.widgetData["mascot"] || fallback
3939 readonly property url fallback: root.widgetData["fallback"] || ""
4040 readonly property string title: root.widgetData["title"] || ""
4141 readonly property string subtitle: root.widgetData["subtitle"] || ""
qml/Dash/Previews/PreviewImageGallery.qml+2−2
@@ -59,7 +59,7 @@ PreviewWidget {
5959 top: parent.top
6060 bottom: parent.bottom
6161 }
62− source: modelData ? modelData : ""
62+ source: modelData || root.widgetData["fallback"] || ""
6363 scaleTo: "height"
6464 initialWidth: units.gu(13)
6565 pressed: mouseArea.pressed
@@ -128,7 +128,7 @@ PreviewWidget {
128128 bottom: parent.bottom
129129 }
130130 width: overlay.width
131− source: modelData ? modelData : ""
131+ source: modelData || root.widgetData["fallback"] || ""
132132 fillMode: Image.PreserveAspectFit
133133 sourceSize { width: screenshot.width; height: screenshot.height }
134134
qml/Dash/Previews/PreviewRatingEdit.qml+1
@@ -75,6 +75,7 @@ PreviewWidget {
7575 reviewText: widgetData["review"]
7676
7777 onTriggered: root.triggered(widgetId, actionId, data);
78+ onMakeSureVisible: root.makeSureVisible(item);
7879 }
7980
8081}
qml/Dash/Previews/PreviewZoomableImage.qml+2−2
@@ -42,7 +42,7 @@ PreviewWidget {
4242 right: parent.right
4343 }
4444 scaleTo: "width"
45− source: widgetData["source"]
45+ source: widgetData["source"] || widgetData["fallback"] || ""
4646 asynchronous: true
4747 useUbuntuShape: false
4848 pressed: mouseArea.pressed
@@ -86,7 +86,7 @@ PreviewWidget {
8686
8787 delegate: ZoomableImage {
8888 anchors.fill: parent
89− source: widgetData["source"]
89+ source: widgetData["source"] || widgetData["fallback"] || ""
9090 zoomable: widgetData["zoomable"] ? widgetData["zoomable"] : false
9191 // If modelData would change after failing to load it would not be
9292 // reloaded since the source binding is destroyed by the source = fallback
qml/Greeter/LoginList.qml+3
@@ -22,6 +22,7 @@ Item {
2222 id: root
2323
2424 property alias model: userList.model
25+ property bool alphanumeric: true
2526 property int currentIndex
2627 property bool locked
2728
@@ -231,6 +232,8 @@ Item {
231232 width: parent.width - anchors.margins * 2
232233 opacity: userList.movingInternally ? 0 : 1
233234
235+ inputMethodHints: root.alphanumeric ? Qt.ImhNone : Qt.ImhDigitsOnly
236+
234237 property string promptText
235238 placeholderText: root.wasPrompted ? promptText
236239 : (root.locked ? i18n.tr("Retry")
qml/Greeter/WideView.qml+1−1
@@ -27,7 +27,7 @@ FocusScope {
2727 property alias backgroundTopMargin: coverPage.backgroundTopMargin
2828 property alias background: coverPage.background
2929 property bool locked
30− property bool alphanumeric // unused
30+ property alias alphanumeric: loginList.alphanumeric
3131 property alias userModel: loginList.model
3232 property alias infographicModel: coverPage.infographicModel
3333 readonly property bool fullyShown: coverPage.showProgress === 1
qml/Panel/IndicatorItem.qml+57−7
@@ -1,5 +1,5 @@
11/*
2− * Copyright 2013-2014 Canonical Ltd.
2+ * Copyright 2013-2016 Canonical Ltd.
33 *
44 * This program is free software; you can redistribute it and/or modify
55 * it under the terms of the GNU Lesser General Public License as published by
@@ -17,6 +17,7 @@
1717import QtQuick 2.4
1818import Ubuntu.Components 1.3
1919import Ubuntu.Settings.Components 0.1
20+import QMenuModel 0.1
2021import "Indicators"
2122
2223IndicatorDelegate {
@@ -36,13 +37,24 @@ IndicatorDelegate {
3637 return "#ffffff";
3738 }
3839
39− signal clicked()
40−
4140 implicitWidth: mainItems.width
4241
4342 MouseArea {
43+ readonly property int stepUp: 1
44+ readonly property int stepDown: -1
45+
4446 anchors.fill: parent
45− onClicked: parent.clicked()
47+ acceptedButtons: Qt.MiddleButton
48+ onClicked: {
49+ if ((!expanded || selected) && secondaryAction.valid) {
50+ secondaryAction.activate();
51+ }
52+ }
53+ onWheel: {
54+ if ((!expanded || selected) && scrollAction.valid) {
55+ scrollAction.activate(wheel.angleDelta.y > 0 ? stepUp : stepDown);
56+ }
57+ }
4658 }
4759
4860 Item {
@@ -152,9 +164,6 @@ IndicatorDelegate {
152164 }
153165
154166 StateGroup {
155− id: d
156− property bool useFallbackIcon: false
157−
158167 states: [
159168 State {
160169 name: "minimised"
@@ -251,4 +260,45 @@ IndicatorDelegate {
251260 rightLabel = rootActionState.rightLabel ? rootActionState.rightLabel : "";
252261 icons = rootActionState.icons;
253262 }
263+
264+ QtObject {
265+ id: d
266+
267+ property bool useFallbackIcon: false
268+ property var shouldIndicatorBeShown: undefined
269+
270+ onShouldIndicatorBeShownChanged: {
271+ if (shouldIndicatorBeShown !== undefined) {
272+ submenuAction.changeState(shouldIndicatorBeShown);
273+ }
274+ }
275+ }
276+
277+ UnityMenuAction {
278+ id: secondaryAction
279+ model: menuModel
280+ index: 0
281+ name: rootActionState.secondaryAction
282+ }
283+
284+ UnityMenuAction {
285+ id: scrollAction
286+ model: menuModel
287+ index: 0
288+ name: rootActionState.scrollAction
289+ }
290+
291+ UnityMenuAction {
292+ id: submenuAction
293+ model: menuModel
294+ index: 0
295+ name: rootActionState.submenuAction
296+ }
297+
298+ Binding {
299+ target: d
300+ property: "shouldIndicatorBeShown"
301+ when: submenuAction.valid
302+ value: root.selected && root.expanded
303+ }
254304}
qml/Panel/graphics/Battery@18.pngdeleted

Binary file not shown.

qml/Panel/graphics/Bluetooth@18.pngdeleted

Binary file not shown.

qml/Panel/graphics/Clock@18.pngdeleted

Binary file not shown.

qml/Panel/graphics/Location@18.pngdeleted

Binary file not shown.

qml/Panel/graphics/Messages@18.pngdeleted

Binary file not shown.

qml/Panel/graphics/Network@18.pngdeleted

Binary file not shown.

qml/Panel/graphics/Sound@18.pngdeleted

Binary file not shown.

qml/Panel/graphics/Sync@18.pngdeleted

Binary file not shown.

qml/Panel/graphics/System@18.pngdeleted

Binary file not shown.

qml/Panel/graphics/Time@18.pngdeleted

Binary file not shown.

qml/Panel/graphics/VerticalDivider@18.pngdeleted

Binary file not shown.

qml/Panel/graphics/handle@12.pngdeleted

Binary file not shown.

qml/Panel/graphics/handle@12.scideleted−5
@@ -1,5 +0,0 @@
1−border.left: 0
2−border.top: 1
3−border.bottom: 0
4−border.right: 0
5−source: handle@12.png
qml/Panel/graphics/search@12.pngdeleted

Binary file not shown.

qml/Panel/graphics/time_and_date@18.pngdeleted

Binary file not shown.

qml/Stages/ApplicationWindow.qml+14−1
@@ -1,5 +1,5 @@
11/*
2− * Copyright 2014-2015 Canonical Ltd.
2+ * Copyright 2014-2016 Canonical Ltd.
33 *
44 * This program is free software; you can redistribute it and/or modify
55 * it under the terms of the GNU Lesser General Public License as published by
@@ -37,6 +37,13 @@ FocusScope {
3737 property int requestedWidth: -1
3838 property int requestedHeight: -1
3939
40+ readonly property int minimumWidth: sessionContainer.surface ? sessionContainer.surface.minimumWidth : 0
41+ readonly property int minimumHeight: sessionContainer.surface ? sessionContainer.surface.minimumHeight : 0
42+ readonly property int maximumWidth: sessionContainer.surface ? sessionContainer.surface.maximumWidth : 0
43+ readonly property int maximumHeight: sessionContainer.surface ? sessionContainer.surface.maximumHeight : 0
44+ readonly property int widthIncrement: sessionContainer.surface ? sessionContainer.surface.widthIncrement : 0
45+ readonly property int heightIncrement: sessionContainer.surface ? sessionContainer.surface.heightIncrement : 0
46+
4047 QtObject {
4148 id: d
4249
@@ -82,6 +89,12 @@ FocusScope {
8289 property bool surfaceOldEnoughToBeResized: false
8390 }
8491
92+ Binding {
93+ target: root.application
94+ property: "initialSurfaceSize"
95+ value: Qt.size(root.requestedWidth, root.requestedHeight)
96+ }
97+
8598 Timer {
8699 id: surfaceInitTimer
87100 interval: 100
qml/Stages/DecoratedWindow.qml+7
@@ -39,6 +39,13 @@ FocusScope {
3939 property alias requestedWidth: applicationWindow.requestedWidth
4040 property real requestedHeight
4141
42+ property alias minimumWidth: applicationWindow.minimumWidth
43+ readonly property int minimumHeight: (root.decorationShown ? decoration.height : 0) + applicationWindow.minimumHeight
44+ property alias maximumWidth: applicationWindow.maximumWidth
45+ readonly property int maximumHeight: (root.decorationShown ? decoration.height : 0) + applicationWindow.maximumHeight
46+ property alias widthIncrement: applicationWindow.widthIncrement
47+ property alias heightIncrement: applicationWindow.heightIncrement
48+
4249 signal close()
4350 signal maximize()
4451 signal minimize()
qml/Stages/DesktopStage.qml+6
@@ -256,6 +256,12 @@ AbstractStage {
256256 height: decoratedWindow.height
257257 property alias requestedWidth: decoratedWindow.requestedWidth
258258 property alias requestedHeight: decoratedWindow.requestedHeight
259+ property alias minimumWidth: decoratedWindow.minimumWidth
260+ property alias minimumHeight: decoratedWindow.minimumHeight
261+ property alias maximumWidth: decoratedWindow.maximumWidth
262+ property alias maximumHeight: decoratedWindow.maximumHeight
263+ property alias widthIncrement: decoratedWindow.widthIncrement
264+ property alias heightIncrement: decoratedWindow.heightIncrement
259265
260266 QtObject {
261267 id: appDelegatePrivate
qml/Stages/SessionContainer.qml+2
@@ -152,6 +152,8 @@ FocusScope {
152152 popped.completed.connect(function() { root.session.release(); } );
153153 popped.end();
154154 d.animations = tmp;
155+ } else {
156+ root.session.release();
155157 }
156158 }
157159
qml/Stages/Splash.qml+7−2
@@ -138,15 +138,20 @@ Item {
138138 visible: d.showIcon
139139 }
140140
141+ Timer {
142+ interval: 2000
143+ onTriggered: spinner.running = true
144+ running: true
145+ }
146+
141147 ActivityIndicator {
148+ id: spinner
142149 anchors.centerIn: header.visible ? parent : undefined
143150 anchors.verticalCenterOffset: header.visible ? header.height / 2 : 0
144151
145152 anchors.horizontalCenter: header.visible ? undefined : parent.horizontalCenter
146153 anchors.bottom: header.visible ? undefined : parent.bottom
147154 anchors.bottomMargin: header.visible ? 0 : units.gu(12)
148−
149− running: true
150155 }
151156
152157 MouseArea {
qml/Stages/WindowResizeArea.qml+95−16
@@ -72,8 +72,8 @@ MouseArea {
7272 var windowGeometry = windowStateStorage.getGeometry(root.windowId,
7373 Qt.rect(target.x, target.y, defaultWidth, defaultHeight));
7474
75− target.requestedWidth = Math.min(Math.max(windowGeometry.width, minWidth), screenWidth);
76− target.requestedHeight = Math.min(Math.max(windowGeometry.height, minHeight), root.screenHeight - PanelState.panelHeight);
75+ target.requestedWidth = Math.min(Math.max(windowGeometry.width, d.minimumWidth), screenWidth);
76+ target.requestedHeight = Math.min(Math.max(windowGeometry.height, d.minimumHeight), root.screenHeight - PanelState.panelHeight);
7777 target.x = Math.max(Math.min(windowGeometry.x, root.screenWidth - target.requestedWidth), 0)
7878 target.y = Math.max(Math.min(windowGeometry.y, root.screenHeight - target.requestedHeight), PanelState.panelHeight)
7979
@@ -91,6 +91,65 @@ MouseArea {
9191
9292 QtObject {
9393 id: d
94+
95+ readonly property int maxSafeInt: 2147483647
96+ readonly property int maxSizeIncrement: units.gu(40)
97+
98+ readonly property int minimumWidth: root.target ? Math.max(root.minWidth, root.target.minimumWidth) : root.minWidth
99+ onMinimumWidthChanged: {
100+ if (target.requestedWidth < minimumWidth) {
101+ target.requestedWidth = minimumWidth;
102+ }
103+ }
104+ readonly property int minimumHeight: root.target ? Math.max(root.minHeight, root.target.minimumHeight) : root.minHeight
105+ onMinimumHeightChanged: {
106+ if (target.requestedHeight < minimumHeight) {
107+ target.requestedHeight = minimumHeight;
108+ }
109+ }
110+ readonly property int maximumWidth: root.target && root.target.maximumWidth >= minimumWidth && root.target.maximumWidth > 0
111+ ? root.target.maximumWidth : maxSafeInt
112+ onMaximumWidthChanged: {
113+ if (target.requestedWidth > maximumWidth) {
114+ target.requestedWidth = maximumWidth;
115+ }
116+ }
117+ readonly property int maximumHeight: root.target && root.target.maximumHeight >= minimumHeight && root.target.maximumHeight > 0
118+ ? root.target.maximumHeight : maxSafeInt
119+ onMaximumHeightChanged: {
120+ if (target.requestedHeight > maximumHeight) {
121+ target.requestedHeight = maximumHeight;
122+ }
123+ }
124+ readonly property int widthIncrement: {
125+ if (!root.target) {
126+ return 1;
127+ }
128+ if (root.target.widthIncrement > 0) {
129+ if (root.target.widthIncrement < maxSizeIncrement) {
130+ return root.target.widthIncrement;
131+ } else {
132+ return maxSizeIncrement;
133+ }
134+ } else {
135+ return 1;
136+ }
137+ }
138+ readonly property int heightIncrement: {
139+ if (!root.target) {
140+ return 1;
141+ }
142+ if (root.target.heightIncrement > 0) {
143+ if (root.target.heightIncrement < maxSizeIncrement) {
144+ return root.target.heightIncrement;
145+ } else {
146+ return maxSizeIncrement;
147+ }
148+ } else {
149+ return 1;
150+ }
151+ }
152+
94153 property bool leftBorder: false
95154 property bool rightBorder: false
96155 property bool topBorder: false
@@ -209,38 +268,58 @@ MouseArea {
209268
210269 var pos = mapToItem(target.parent, mouse.x, mouse.y);
211270
212− var deltaX = pos.x - d.startMousePosX;
213− var deltaY = pos.y - d.startMousePosY;
271+ var deltaX = Math.floor((pos.x - d.startMousePosX) / d.widthIncrement) * d.widthIncrement;
272+ var deltaY = Math.floor((pos.y - d.startMousePosY) / d.heightIncrement) * d.heightIncrement;
214273
215274 if (d.leftBorder) {
216275 var newTargetX = d.startX + deltaX;
217− if (target.x + target.width > newTargetX + minWidth) {
218− target.requestedWidth = target.x + target.width - newTargetX;
276+ var rightBorderX = target.x + target.width;
277+ if (rightBorderX > newTargetX + d.minimumWidth) {
278+ if (rightBorderX < newTargetX + d.maximumWidth) {
279+ target.requestedWidth = rightBorderX - newTargetX;
280+ } else {
281+ target.requestedWidth = d.maximumWidth;
282+ }
219283 } else {
220− target.requestedWidth = minWidth;
284+ target.requestedWidth = d.minimumWidth;
221285 }
222286
223287 } else if (d.rightBorder) {
224− if (d.startWidth + deltaX >= minWidth) {
225− target.requestedWidth = d.startWidth + deltaX;
288+ var newWidth = d.startWidth + deltaX;
289+ if (newWidth > d.minimumWidth) {
290+ if (newWidth < d.maximumWidth) {
291+ target.requestedWidth = newWidth;
292+ } else {
293+ target.requestedWidth = d.maximumWidth;
294+ }
226295 } else {
227− target.requestedWidth = minWidth;
296+ target.requestedWidth = d.minimumWidth;
228297 }
229298 }
230299
231300 if (d.topBorder) {
232301 var newTargetY = d.startY + deltaY;
233− if (target.y + target.height > newTargetY + minHeight) {
234− target.requestedHeight = target.y + target.height - newTargetY;
302+ var bottomBorderY = target.y + target.height;
303+ if (bottomBorderY > newTargetY + d.minimumHeight) {
304+ if (bottomBorderY < newTargetY + d.maximumHeight) {
305+ target.requestedHeight = bottomBorderY - newTargetY;
306+ } else {
307+ target.requestedHeight = d.maximumHeight;
308+ }
235309 } else {
236− target.requestedHeight = minHeight;
310+ target.requestedHeight = d.minimumHeight;
237311 }
238312
239313 } else if (d.bottomBorder) {
240− if (d.startHeight + deltaY >= minHeight) {
241− target.requestedHeight = d.startHeight + deltaY;
314+ var newHeight = d.startHeight + deltaY;
315+ if (newHeight > d.minimumHeight) {
316+ if (newHeight < d.maximumHeight) {
317+ target.requestedHeight = newHeight;
318+ } else {
319+ target.requestedHeight = d.maximumHeight;
320+ }
242321 } else {
243− target.requestedHeight = minHeight;
322+ target.requestedHeight = d.minimumHeight;
244323 }
245324 }
246325 }
qml/Wizard/Pages/10-welcome.qml+1−1
@@ -41,7 +41,7 @@ LocalComponents.Page {
4141 anchors.left: parent.left
4242 anchors.right: parent.right
4343 wrapMode: Text.Wrap
44− text: i18n.tr("Welcome to your Ubuntu phone.")
44+ text: i18n.tr("Welcome to your Ubuntu device.")
4545 }
4646
4747 Label {
qml/Wizard/Pages/30-passwd-type.qml+1−1
@@ -76,7 +76,7 @@ LocalComponents.Page {
7676 anchors.left: parent.left
7777 anchors.right: parent.right
7878 wrapMode: Text.Wrap
79− text: i18n.tr("Please select how you’d like to unlock your phone.")
79+ text: i18n.tr("Please select how you’d like to unlock your device.")
8080 }
8181
8282 ItemSelector {
qml/Wizard/Pages/80-finished.qml+1−1
@@ -43,7 +43,7 @@ LocalComponents.Page {
4343 anchors.left: parent.left
4444 anchors.right: parent.right
4545 wrapMode: Text.Wrap
46− text: i18n.tr("Your phone is now ready to use.")
46+ text: i18n.tr("Your device is now ready to use.")
4747 }
4848 }
4949
tests/mocks/Unity/Application/ApplicationInfo.cpp+14−1
@@ -1,5 +1,5 @@
11/*
2− * Copyright (C) 2013-2015 Canonical, Ltd.
2+ * Copyright (C) 2013-2016 Canonical, Ltd.
33 *
44 * This program is free software; you can redistribute it and/or modify
55 * it under the terms of the GNU General Public License as published by
@@ -278,3 +278,16 @@ void ApplicationInfo::setExemptFromLifecycle(bool exemptFromLifecycle)
278278 Q_EMIT exemptFromLifecycleChanged(m_exemptFromLifecycle);
279279 }
280280}
281+
282+QSize ApplicationInfo::initialSurfaceSize() const
283+{
284+ return m_initialSurfaceSize;
285+}
286+
287+void ApplicationInfo::setInitialSurfaceSize(const QSize &size)
288+{
289+ if (size != m_initialSurfaceSize) {
290+ m_initialSurfaceSize = size;
291+ Q_EMIT initialSurfaceSizeChanged(m_initialSurfaceSize);
292+ }
293+}
tests/mocks/Unity/Application/ApplicationInfo.h+4−1
@@ -1,5 +1,5 @@
11/*
2− * Copyright (C) 2013-2015 Canonical, Ltd.
2+ * Copyright (C) 2013-2016 Canonical, Ltd.
33 *
44 * This program is free software; you can redistribute it and/or modify
55 * it under the terms of the GNU General Public License as published by
@@ -95,6 +95,8 @@ public:
9595 bool exemptFromLifecycle() const override;
9696 void setExemptFromLifecycle(bool) override;
9797
98+ QSize initialSurfaceSize() const override;
99+ void setInitialSurfaceSize(const QSize &size) override;
98100public:
99101 void setSession(Session* session);
100102 Session* session() const { return m_session; }
@@ -129,6 +131,7 @@ private:
129131 RequestedState m_requestedState;
130132 bool m_isTouchApp;
131133 bool m_exemptFromLifecycle;
134+ QSize m_initialSurfaceSize;
132135
133136 bool m_manualSurfaceCreation;
134137};
tests/mocks/Unity/Application/ApplicationTestInterface.cpp+4−4
@@ -36,7 +36,7 @@ ApplicationTestInterface::ApplicationTestInterface(QObject* parent)
3636 connection.registerObject("/com/canonical/Unity8/Mocks", parent);
3737}
3838
39−Session* ApplicationTestInterface::addChildSession(Session* existingSession, const QString& surfaceImage)
39+Session* ApplicationTestInterface::addChildSession(Session* existingSession, const QString& surfaceImage, bool addSurface)
4040{
4141 if (!existingSession) return nullptr;
4242
@@ -49,7 +49,7 @@ Session* ApplicationTestInterface::addChildSession(Session* existingSession, con
4949 .arg(existingSession->childSessions()->count()),
5050 screenshotUrl);
5151 existingSession->addChildSession(session);
52− session->createSurface();
52+ if (addSurface) session->createSurface();
5353
5454 return session;
5555}
@@ -70,7 +70,7 @@ void ApplicationTestInterface::removeSurface(MirSurface* existingSurface)
7070 existingSurface->setLive(false);
7171}
7272
73−quint32 ApplicationTestInterface::addChildSession(const QString& appId, quint32 existingSessionId, const QString& surfaceImage)
73+quint32 ApplicationTestInterface::addChildSession(const QString& appId, quint32 existingSessionId, const QString& surfaceImage, bool addSurface)
7474{
7575 qDebug() << "ApplicationTestInterface::addChildSession to " << appId;
7676
@@ -100,7 +100,7 @@ quint32 ApplicationTestInterface::addChildSession(const QString& appId, quint32
100100 .arg(parentSession->childSessions()->count()),
101101 screenshotUrl);
102102 parentSession->addChildSession(session);
103− session->createSurface();
103+ if (addSurface) { session->createSurface(); }
104104 m_childSessions[sessionId] = session;
105105
106106 return sessionId;
tests/mocks/Unity/Application/ApplicationTestInterface.h+2−2
@@ -30,12 +30,12 @@ class ApplicationTestInterface : public QDBusAbstractAdaptor
3030public:
3131 ApplicationTestInterface(QObject* parent = 0);
3232
33− Q_INVOKABLE Session* addChildSession(Session* existingSession, const QString& surfaceImage);
33+ Q_INVOKABLE Session* addChildSession(Session* existingSession, const QString& surfaceImage, bool addSurface);
3434 Q_INVOKABLE void removeSession(Session* existingSession);
3535 Q_INVOKABLE void removeSurface(MirSurface* existingSurface);
3636
3737public Q_SLOTS:
38− quint32 addChildSession(const QString& appId, quint32 existingSessionId, const QString& surfaceImage);
38+ quint32 addChildSession(const QString& appId, quint32 existingSessionId, const QString& surfaceImage, bool addSurface);
3939 void removeSession(quint32 sessionId);
4040
4141private:
tests/mocks/Unity/Application/MirSurface.cpp+48
@@ -266,3 +266,51 @@ void MirSurface::setSlowToResize(bool value)
266266 }
267267 }
268268}
269+
270+void MirSurface::setMinimumWidth(int value)
271+{
272+ if (value != m_minimumWidth) {
273+ m_minimumWidth = value;
274+ Q_EMIT minimumWidthChanged(m_minimumWidth);
275+ }
276+}
277+
278+void MirSurface::setMaximumWidth(int value)
279+{
280+ if (value != m_maximumWidth) {
281+ m_maximumWidth = value;
282+ Q_EMIT maximumWidthChanged(m_maximumWidth);
283+ }
284+}
285+
286+void MirSurface::setMinimumHeight(int value)
287+{
288+ if (value != m_minimumHeight) {
289+ m_minimumHeight = value;
290+ Q_EMIT minimumHeightChanged(m_minimumHeight);
291+ }
292+}
293+
294+void MirSurface::setMaximumHeight(int value)
295+{
296+ if (value != m_maximumHeight) {
297+ m_maximumHeight = value;
298+ Q_EMIT maximumHeightChanged(m_maximumHeight);
299+ }
300+}
301+
302+void MirSurface::setWidthIncrement(int value)
303+{
304+ if (value != m_widthIncrement) {
305+ m_widthIncrement = value;
306+ Q_EMIT widthIncrementChanged(m_widthIncrement);
307+ }
308+}
309+
310+void MirSurface::setHeightIncrement(int value)
311+{
312+ if (value != m_heightIncrement) {
313+ m_heightIncrement = value;
314+ Q_EMIT heightIncrementChanged(m_heightIncrement);
315+ }
316+}
tests/mocks/Unity/Application/MirSurface.h+21
@@ -66,6 +66,13 @@ public:
6666 Mir::OrientationAngle orientationAngle() const override;
6767 void setOrientationAngle(Mir::OrientationAngle) override;
6868
69+ int minimumWidth() const override { return m_minimumWidth; }
70+ int minimumHeight() const override { return m_minimumHeight; }
71+ int maximumWidth() const override { return m_maximumWidth; }
72+ int maximumHeight() const override { return m_maximumHeight; }
73+ int widthIncrement() const override { return m_widthIncrement; }
74+ int heightIncrement() const override { return m_heightIncrement; }
75+
6976 ////
7077 // API for tests
7178
@@ -82,6 +89,13 @@ public:
8289 bool isSlowToResize() const;
8390 void setSlowToResize(bool value);
8491
92+ Q_INVOKABLE void setMinimumWidth(int);
93+ Q_INVOKABLE void setMaximumWidth(int);
94+ Q_INVOKABLE void setMinimumHeight(int);
95+ Q_INVOKABLE void setMaximumHeight(int);
96+ Q_INVOKABLE void setWidthIncrement(int);
97+ Q_INVOKABLE void setHeightIncrement(int);
98+
8599 /////
86100 // internal mock stuff
87101
@@ -125,6 +139,13 @@ private:
125139 int m_width;
126140 int m_height;
127141
142+ int m_minimumWidth{0};
143+ int m_minimumHeight{0};
144+ int m_maximumWidth{0};
145+ int m_maximumHeight{0};
146+ int m_widthIncrement{0};
147+ int m_heightIncrement{0};
148+
128149 bool m_slowToResize;
129150 QTimer m_delayedResizeTimer;
130151 QSize m_delayedResize;
tests/mocks/Unity/Application/MirSurfaceItem.cpp+6
@@ -37,6 +37,8 @@ MirSurfaceItem::MirSurfaceItem(QQuickItem *parent)
3737 , m_surfaceHeight(0)
3838 , m_touchPressCount(0)
3939 , m_touchReleaseCount(0)
40+ , m_mousePressCount(0)
41+ , m_mouseReleaseCount(0)
4042{
4143// qDebug() << "MirSurfaceItem::MirSurfaceItem() " << (void*)(this) << name();
4244 setAcceptedMouseButtons(Qt::LeftButton | Qt::MiddleButton | Qt::RightButton |
@@ -165,6 +167,8 @@ void MirSurfaceItem::touchEvent(QTouchEvent * event)
165167
166168void MirSurfaceItem::mousePressEvent(QMouseEvent * event)
167169{
170+ m_mousePressCount++;
171+ Q_EMIT mousePressCountChanged(m_mousePressCount);
168172 event->accept();
169173}
170174
@@ -175,6 +179,8 @@ void MirSurfaceItem::mouseMoveEvent(QMouseEvent * event)
175179
176180void MirSurfaceItem::mouseReleaseEvent(QMouseEvent * event)
177181{
182+ m_mouseReleaseCount++;
183+ Q_EMIT mouseReleaseCountChanged(m_mouseReleaseCount);
178184 event->accept();
179185}
180186
tests/mocks/Unity/Application/MirSurfaceItem.h+14
@@ -36,6 +36,10 @@ class MirSurfaceItem : public unity::shell::application::MirSurfaceItemInterface
3636 Q_PROPERTY(int touchReleaseCount READ touchReleaseCount WRITE setTouchReleaseCount
3737 NOTIFY touchReleaseCountChanged DESIGNABLE false)
3838
39+ Q_PROPERTY(int mousePressCount READ mousePressCount WRITE setMousePressCount
40+ NOTIFY mousePressCountChanged)
41+ Q_PROPERTY(int mouseReleaseCount READ mouseReleaseCount WRITE setMouseReleaseCount
42+ NOTIFY mouseReleaseCountChanged)
3943public:
4044 explicit MirSurfaceItem(QQuickItem *parent = 0);
4145 ~MirSurfaceItem();
@@ -76,9 +80,17 @@ public:
7680 int touchReleaseCount() const { return m_touchReleaseCount; }
7781 void setTouchReleaseCount(int count) { m_touchReleaseCount = count; Q_EMIT touchReleaseCountChanged(count); }
7882
83+ int mousePressCount() const { return m_mousePressCount; }
84+ void setMousePressCount(int count) { m_mousePressCount = count; Q_EMIT mousePressCountChanged(count); }
85+
86+ int mouseReleaseCount() const { return m_mouseReleaseCount; }
87+ void setMouseReleaseCount(int count) { m_mouseReleaseCount = count; Q_EMIT mouseReleaseCountChanged(count); }
88+
7989Q_SIGNALS:
8090 void touchPressCountChanged(int count);
8191 void touchReleaseCountChanged(int count);
92+ void mousePressCountChanged(int count);
93+ void mouseReleaseCountChanged(int count);
8294
8395protected:
8496 void touchEvent(QTouchEvent * event) override;
@@ -109,6 +121,8 @@ private:
109121
110122 int m_touchPressCount;
111123 int m_touchReleaseCount;
124+ int m_mousePressCount;
125+ int m_mouseReleaseCount;
112126
113127 FillMode m_fillMode{Stretch};
114128
tests/mocks/Unity/Application/SurfaceManager.cpp+56
@@ -46,6 +46,14 @@ MirSurface *SurfaceManager::createSurface(const QString& name,
4646 MirSurface* surface = qobject_cast<MirSurface*>(obj);
4747 Q_EMIT surfaceDestroyed(surface);
4848 });
49+
50+ surface->setMinimumWidth(m_newSurfaceMinimumWidth);
51+ surface->setMaximumWidth(m_newSurfaceMaximumWidth);
52+ surface->setMinimumHeight(m_newSurfaceMinimumHeight);
53+ surface->setMaximumHeight(m_newSurfaceMaximumHeight);
54+ surface->setWidthIncrement(m_newSurfaceWidthIncrement);
55+ surface->setHeightIncrement(m_newSurfaceHeightIncrement);
56+
4957 Q_EMIT surfaceCreated(surface);
5058 return surface;
5159}
@@ -62,3 +70,51 @@ MirSurface *SurfaceManager::inputMethodSurface()
6270 }
6371 return m_virtualKeyboard;
6472}
73+
74+void SurfaceManager::setNewSurfaceMinimumWidth(int value)
75+{
76+ if (m_newSurfaceMinimumWidth != value) {
77+ m_newSurfaceMinimumWidth = value;
78+ Q_EMIT newSurfaceMinimumWidthChanged(m_newSurfaceMinimumWidth);
79+ }
80+}
81+
82+void SurfaceManager::setNewSurfaceMaximumWidth(int value)
83+{
84+ if (m_newSurfaceMaximumWidth != value) {
85+ m_newSurfaceMaximumWidth = value;
86+ Q_EMIT newSurfaceMaximumWidthChanged(m_newSurfaceMaximumWidth);
87+ }
88+}
89+
90+void SurfaceManager::setNewSurfaceMinimumHeight(int value)
91+{
92+ if (m_newSurfaceMinimumHeight != value) {
93+ m_newSurfaceMinimumHeight = value;
94+ Q_EMIT newSurfaceMinimumHeightChanged(m_newSurfaceMinimumHeight);
95+ }
96+}
97+
98+void SurfaceManager::setNewSurfaceMaximumHeight(int value)
99+{
100+ if (m_newSurfaceMaximumHeight != value) {
101+ m_newSurfaceMaximumHeight = value;
102+ Q_EMIT newSurfaceMaximumHeightChanged(m_newSurfaceMaximumHeight);
103+ }
104+}
105+
106+void SurfaceManager::setNewSurfaceWidthIncrement(int value)
107+{
108+ if (m_newSurfaceWidthIncrement != value) {
109+ m_newSurfaceWidthIncrement = value;
110+ Q_EMIT newSurfaceWidthIncrementChanged(m_newSurfaceWidthIncrement);
111+ }
112+}
113+
114+void SurfaceManager::setNewSurfaceHeightIncrement(int value)
115+{
116+ if (m_newSurfaceHeightIncrement != value) {
117+ m_newSurfaceHeightIncrement = value;
118+ Q_EMIT newSurfaceHeightIncrementChanged(m_newSurfaceHeightIncrement);
119+ }
120+}
tests/mocks/Unity/Application/SurfaceManager.h+40
@@ -25,6 +25,14 @@
2525class SurfaceManager : public QObject
2626{
2727 Q_OBJECT
28+
29+ Q_PROPERTY(int newSurfaceMinimumWidth READ newSurfaceMinimumWidth WRITE setNewSurfaceMinimumWidth NOTIFY newSurfaceMinimumWidthChanged)
30+ Q_PROPERTY(int newSurfaceMaximumWidth READ newSurfaceMaximumWidth WRITE setNewSurfaceMaximumWidth NOTIFY newSurfaceMaximumWidthChanged)
31+ Q_PROPERTY(int newSurfaceMinimumHeight READ newSurfaceMinimumHeight WRITE setNewSurfaceMinimumHeight NOTIFY newSurfaceMinimumHeightChanged)
32+ Q_PROPERTY(int newSurfaceMaximumHeight READ newSurfaceMaximumHeight WRITE setNewSurfaceMaximumHeight NOTIFY newSurfaceMaximumHeightChanged)
33+ Q_PROPERTY(int newSurfaceWidthIncrement READ newSurfaceWidthIncrement WRITE setNewSurfaceWidthIncrement NOTIFY newSurfaceWidthIncrementChanged)
34+ Q_PROPERTY(int newSurfaceHeightIncrement READ newSurfaceHeightIncrement WRITE setNewSurfaceHeightIncrement NOTIFY newSurfaceHeightIncrementChanged)
35+
2836public:
2937 explicit SurfaceManager(QObject *parent = 0);
3038
@@ -38,14 +46,46 @@ public:
3846 // To be used in the tests
3947 Q_INVOKABLE MirSurface* inputMethodSurface();
4048
49+ int newSurfaceMinimumWidth() const { return m_newSurfaceMinimumWidth; }
50+ void setNewSurfaceMinimumWidth(int value);
51+
52+ int newSurfaceMaximumWidth() const { return m_newSurfaceMaximumWidth; }
53+ void setNewSurfaceMaximumWidth(int value);
54+
55+ int newSurfaceMinimumHeight() const { return m_newSurfaceMinimumHeight; }
56+ void setNewSurfaceMinimumHeight(int value);
57+
58+ int newSurfaceMaximumHeight() const { return m_newSurfaceMaximumHeight; }
59+ void setNewSurfaceMaximumHeight(int value);
60+
61+ int newSurfaceWidthIncrement() const { return m_newSurfaceWidthIncrement; }
62+ void setNewSurfaceWidthIncrement(int);
63+
64+ int newSurfaceHeightIncrement() const { return m_newSurfaceHeightIncrement; }
65+ void setNewSurfaceHeightIncrement(int);
66+
4167Q_SIGNALS:
4268 void countChanged();
4369 void surfaceCreated(MirSurface *surface);
4470 void surfaceDestroyed(MirSurface*surface);
4571
72+ void newSurfaceMinimumWidthChanged(int value);
73+ void newSurfaceMaximumWidthChanged(int value);
74+ void newSurfaceMinimumHeightChanged(int value);
75+ void newSurfaceMaximumHeightChanged(int value);
76+ void newSurfaceWidthIncrementChanged(int value);
77+ void newSurfaceHeightIncrementChanged(int value);
78+
4679private:
4780 static SurfaceManager *the_surface_manager;
4881 VirtualKeyboard *m_virtualKeyboard;
82+
83+ int m_newSurfaceMinimumWidth{0};
84+ int m_newSurfaceMaximumWidth{0};
85+ int m_newSurfaceMinimumHeight{0};
86+ int m_newSurfaceMaximumHeight{0};
87+ int m_newSurfaceWidthIncrement{1};
88+ int m_newSurfaceHeightIncrement{1};
4989};
5090
5191#endif // SURFACEMANAGER_H
tests/mocks/Unity/Indicators/ModelActionRootState.qml+11−1
@@ -1,5 +1,5 @@
11/*
2− * Copyright 2013 Canonical Ltd.
2+ * Copyright 2013-2016 Canonical Ltd.
33 *
44 * This program is free software; you can redistribute it and/or modify
55 * it under the terms of the GNU Lesser General Public License as published by
@@ -30,10 +30,20 @@ Item {
3030 property bool indicatorVisible: cachedState && cachedState.hasOwnProperty("visible") ? cachedState["visible"] : true
3131
3232 property var cachedState: menu ? menu.get(0, "actionState") : undefined
33+ property string submenuAction: {
34+ if (!menu) return "";
35+ var ext = menu.get(0, "ext");
36+ var submenuVar = ext ? ext["submenu-action"] : undefined;
37+ return submenuVar ? submenuVar : ""
38+ }
3339 Connections {
3440 target: menu
3541 onModelDataChanged: {
3642 cachedState = menu.get(0, "actionState");
43+
44+ var ext = menu.get(0, "ext");
45+ var submenuVar = ext ? ext["submenu-action"] : undefined;
46+ submenuAction = submenuVar ? submenuVar : ""
3747 }
3848 }
3949
tests/mocks/Utils/CMakeLists.txt−2
@@ -1,5 +1,3 @@
1−pkg_search_module(GIO REQUIRED gio-2.0)
2−
31include_directories(
42 ${CMAKE_CURRENT_SOURCE_DIR}
53 ${CMAKE_CURRENT_BINARY_DIR}
tests/mocks/indicator-service/CMakeLists.txt−1
@@ -1,5 +1,4 @@
11project(mock-indicator-service)
2−pkg_search_module(GIO REQUIRED gio-2.0)
32
43set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99")
54
tests/plugins/Dash/cardcreator/1.res+6−7
@@ -1,6 +1,5 @@
11AbstractButton {
22 id: root;
3− property var components;
43 property var cardData;
54 property string artShapeStyle: "inset";
65 property string backgroundShapeStyle: "inset";
@@ -24,13 +23,13 @@ Item {
2423 Loader {
2524 id: artShapeLoader;
2625 objectName: "artShapeLoader";
27− active: cardData && cardData["art"] || false;
26+ readonly property string cardArt: cardData && cardData["art"] || "";
27+ active: cardArt != "";
2828 asynchronous: root.asynchronous;
2929 visible: status == Loader.Ready;
3030 sourceComponent: Item {
3131 id: artShape;
3232 objectName: "artShape";
33− readonly property bool doShapeItem: components["art"]["conciergeMode"] !== true;
3433 visible: image.status == Image.Ready;
3534 readonly property alias image: artImage;
3635 ShaderEffectSource {
@@ -39,11 +38,11 @@ Item {
3938 anchors.centerIn: parent;
4039 width: 1;
4140 height: 1;
42− hideSource: doShapeItem;
41+ hideSource: true;
4342 }
4443 Loader {
4544 anchors.fill: parent;
46− visible: artShape.doShapeItem;
45+ visible: true;
4746 sourceComponent: root.artShapeStyle === "icon" ? artShapeIconComponent : artShapeShapeComponent;
4847 Component {
4948 id: artShapeShapeComponent;
@@ -67,7 +66,7 @@ Item {
6766 }
6867 }
6968 readonly property real fixedArtShapeSizeAspect: (root.fixedArtShapeSize.height > 0 && root.fixedArtShapeSize.width > 0) ? root.fixedArtShapeSize.width / root.fixedArtShapeSize.height : -1;
70− readonly property real aspect: fixedArtShapeSizeAspect > 0 ? fixedArtShapeSizeAspect : components !== undefined ? components["art"]["aspect-ratio"] : 1;
69+ readonly property real aspect: fixedArtShapeSizeAspect > 0 ? fixedArtShapeSizeAspect : 1.6;
7170 Component.onCompleted: { updateWidthHeightBindings(); }
7271 Connections { target: root; onFixedArtShapeSizeChanged: updateWidthHeightBindings(); }
7372 function updateWidthHeightBindings() {
@@ -82,7 +81,7 @@ Item {
8281 CroppedImageMinimumSourceSize {
8382 id: artImage;
8483 objectName: "artImage";
85− source: cardData && cardData["art"] || "";
84+ source: artShapeLoader.cardArt;
8685 asynchronous: root.asynchronous;
8786 width: root.width;
8887 height: width / artShape.aspect;
tests/plugins/Dash/cardcreator/10.res−1
@@ -1,6 +1,5 @@
11AbstractButton {
22 id: root;
3− property var components;
43 property var cardData;
54 property string artShapeStyle: "inset";
65 property string backgroundShapeStyle: "inset";
tests/plugins/Dash/cardcreator/11.res+7−8
@@ -1,6 +1,5 @@
11AbstractButton {
22 id: root;
3− property var components;
43 property var cardData;
54 property string artShapeStyle: "inset";
65 property string backgroundShapeStyle: "inset";
@@ -62,13 +61,13 @@ Item {
6261 Loader {
6362 id: artShapeLoader;
6463 objectName: "artShapeLoader";
65− active: cardData && cardData["art"] || false;
64+ readonly property string cardArt: cardData && cardData["art"] || decodeURI("%5C");
65+ active: cardArt != "";
6666 asynchronous: root.asynchronous;
6767 visible: status == Loader.Ready;
6868 sourceComponent: Item {
6969 id: artShape;
7070 objectName: "artShape";
71− readonly property bool doShapeItem: components["art"]["conciergeMode"] !== true;
7271 visible: image.status == Image.Ready;
7372 readonly property alias image: artImage;
7473 ShaderEffectSource {
@@ -77,11 +76,11 @@ Item {
7776 anchors.centerIn: parent;
7877 width: 1;
7978 height: 1;
80− hideSource: doShapeItem;
79+ hideSource: true;
8180 }
8281 Loader {
8382 anchors.fill: parent;
84− visible: artShape.doShapeItem;
83+ visible: true;
8584 sourceComponent: root.artShapeStyle === "icon" ? artShapeIconComponent : artShapeShapeComponent;
8685 Component {
8786 id: artShapeShapeComponent;
@@ -105,7 +104,7 @@ Item {
105104 }
106105 }
107106 readonly property real fixedArtShapeSizeAspect: (root.fixedArtShapeSize.height > 0 && root.fixedArtShapeSize.width > 0) ? root.fixedArtShapeSize.width / root.fixedArtShapeSize.height : -1;
108− readonly property real aspect: fixedArtShapeSizeAspect > 0 ? fixedArtShapeSizeAspect : components !== undefined ? components["art"]["aspect-ratio"] : 1;
107+ readonly property real aspect: fixedArtShapeSizeAspect > 0 ? fixedArtShapeSizeAspect : 1;
109108 Component.onCompleted: { updateWidthHeightBindings(); }
110109 Connections { target: root; onFixedArtShapeSizeChanged: updateWidthHeightBindings(); }
111110 function updateWidthHeightBindings() {
@@ -120,7 +119,7 @@ Item {
120119 CroppedImageMinimumSourceSize {
121120 id: artImage;
122121 objectName: "artImage";
123− source: cardData && cardData["art"] || "";
122+ source: artShapeLoader.cardArt;
124123 asynchronous: root.asynchronous;
125124 width: root.width;
126125 height: width / artShape.aspect;
@@ -148,7 +147,7 @@ left: parent.left;
148147 id: mascotImage;
149148 objectName: "mascotImage";
150149 anchors { verticalCenter: parent.verticalCenter; }
151− source: cardData && cardData["mascot"] || "";
150+ source: cardData && cardData["mascot"] || decodeURI("%22");
152151 width: units.gu(6);
153152 height: units.gu(5.625);
154153 horizontalAlignment: Image.AlignHCenter;
tests/plugins/Dash/cardcreator/2.res−1
@@ -1,6 +1,5 @@
11AbstractButton {
22 id: root;
3− property var components;
43 property var cardData;
54 property string artShapeStyle: "inset";
65 property string backgroundShapeStyle: "inset";
tests/plugins/Dash/cardcreator/3.res+6−7
@@ -1,6 +1,5 @@
11AbstractButton {
22 id: root;
3− property var components;
43 property var cardData;
54 property string artShapeStyle: "inset";
65 property string backgroundShapeStyle: "inset";
@@ -24,13 +23,13 @@ Item {
2423 Loader {
2524 id: artShapeLoader;
2625 objectName: "artShapeLoader";
27− active: cardData && cardData["art"] || false;
26+ readonly property string cardArt: cardData && cardData["art"] || decodeURI("IHAVE%5C%22ESCAPED%5C%22QUOTES%5C%22");
27+ active: cardArt != "";
2828 asynchronous: root.asynchronous;
2929 visible: status == Loader.Ready;
3030 sourceComponent: Item {
3131 id: artShape;
3232 objectName: "artShape";
33− readonly property bool doShapeItem: components["art"]["conciergeMode"] !== true;
3433 visible: image.status == Image.Ready;
3534 readonly property alias image: artImage;
3635 ShaderEffectSource {
@@ -39,11 +38,11 @@ Item {
3938 anchors.centerIn: parent;
4039 width: 1;
4140 height: 1;
42− hideSource: doShapeItem;
41+ hideSource: true;
4342 }
4443 Loader {
4544 anchors.fill: parent;
46− visible: artShape.doShapeItem;
45+ visible: true;
4746 sourceComponent: root.artShapeStyle === "icon" ? artShapeIconComponent : artShapeShapeComponent;
4847 Component {
4948 id: artShapeShapeComponent;
@@ -67,7 +66,7 @@ Item {
6766 }
6867 }
6968 readonly property real fixedArtShapeSizeAspect: (root.fixedArtShapeSize.height > 0 && root.fixedArtShapeSize.width > 0) ? root.fixedArtShapeSize.width / root.fixedArtShapeSize.height : -1;
70− readonly property real aspect: fixedArtShapeSizeAspect > 0 ? fixedArtShapeSizeAspect : components !== undefined ? components["art"]["aspect-ratio"] : 1;
69+ readonly property real aspect: fixedArtShapeSizeAspect > 0 ? fixedArtShapeSizeAspect : 0.75;
7170 Component.onCompleted: { updateWidthHeightBindings(); }
7271 Connections { target: root; onFixedArtShapeSizeChanged: updateWidthHeightBindings(); }
7372 function updateWidthHeightBindings() {
@@ -82,7 +81,7 @@ Item {
8281 CroppedImageMinimumSourceSize {
8382 id: artImage;
8483 objectName: "artImage";
85− source: cardData && cardData["art"] || "";
84+ source: artShapeLoader.cardArt;
8685 asynchronous: root.asynchronous;
8786 width: root.width;
8887 height: width / artShape.aspect;
tests/plugins/Dash/cardcreator/4.res−1
@@ -1,6 +1,5 @@
11AbstractButton {
22 id: root;
3− property var components;
43 property var cardData;
54 property string artShapeStyle: "inset";
65 property string backgroundShapeStyle: "inset";
tests/plugins/Dash/cardcreator/5.res+6−7
@@ -1,6 +1,5 @@
11AbstractButton {
22 id: root;
3− property var components;
43 property var cardData;
54 property string artShapeStyle: "inset";
65 property string backgroundShapeStyle: "inset";
@@ -24,13 +23,13 @@ Item {
2423 Loader {
2524 id: artShapeLoader;
2625 objectName: "artShapeLoader";
27− active: cardData && cardData["art"] || false;
26+ readonly property string cardArt: cardData && cardData["art"] || "";
27+ active: cardArt != "";
2828 asynchronous: root.asynchronous;
2929 visible: status == Loader.Ready;
3030 sourceComponent: Item {
3131 id: artShape;
3232 objectName: "artShape";
33− readonly property bool doShapeItem: components["art"]["conciergeMode"] !== true;
3433 visible: image.status == Image.Ready;
3534 readonly property alias image: artImage;
3635 ShaderEffectSource {
@@ -39,11 +38,11 @@ Item {
3938 anchors.centerIn: parent;
4039 width: 1;
4140 height: 1;
42− hideSource: doShapeItem;
41+ hideSource: false;
4342 }
4443 Loader {
4544 anchors.fill: parent;
46− visible: artShape.doShapeItem;
45+ visible: false;
4746 sourceComponent: root.artShapeStyle === "icon" ? artShapeIconComponent : artShapeShapeComponent;
4847 Component {
4948 id: artShapeShapeComponent;
@@ -67,7 +66,7 @@ Item {
6766 }
6867 }
6968 readonly property real fixedArtShapeSizeAspect: (root.fixedArtShapeSize.height > 0 && root.fixedArtShapeSize.width > 0) ? root.fixedArtShapeSize.width / root.fixedArtShapeSize.height : -1;
70− readonly property real aspect: fixedArtShapeSizeAspect > 0 ? fixedArtShapeSizeAspect : components !== undefined ? components["art"]["aspect-ratio"] : 1;
69+ readonly property real aspect: fixedArtShapeSizeAspect > 0 ? fixedArtShapeSizeAspect : 1;
7170 Component.onCompleted: { updateWidthHeightBindings(); }
7271 Connections { target: root; onFixedArtShapeSizeChanged: updateWidthHeightBindings(); }
7372 function updateWidthHeightBindings() {
@@ -82,7 +81,7 @@ Item {
8281 CroppedImageMinimumSourceSize {
8382 id: artImage;
8483 objectName: "artImage";
85− source: cardData && cardData["art"] || "";
84+ source: artShapeLoader.cardArt;
8685 asynchronous: root.asynchronous;
8786 width: root.width;
8887 height: width / artShape.aspect;
tests/plugins/Dash/cardcreator/5.tst+1−1
@@ -1,3 +1,3 @@
11template: {"non-interactive":true,"card-layout":"vertical","card-size":"medium","category-layout":"carousel","collapsed-rows":2,"overlay":true}
2−components: {"art":{"aspect-ratio":1,"field":"art"},"subtitle":{"field":"artist"},"title":{"field":"title"},"attributes":{}}
2+components: {"art":{"aspect-ratio":1,"field":"art","conciergeMode":true},"subtitle":{"field":"artist"},"title":{"field":"title"},"attributes":{}}
33result: 5.res
tests/plugins/Dash/cardcreator/6.res−1
@@ -1,6 +1,5 @@
11AbstractButton {
22 id: root;
3− property var components;
43 property var cardData;
54 property string artShapeStyle: "inset";
65 property string backgroundShapeStyle: "inset";
tests/plugins/Dash/cardcreator/7.res−1
@@ -1,6 +1,5 @@
11AbstractButton {
22 id: root;
3− property var components;
43 property var cardData;
54 property string artShapeStyle: "inset";
65 property string backgroundShapeStyle: "inset";
tests/plugins/Dash/cardcreator/8.res+1−2
@@ -1,7 +1,6 @@
11AbstractButton {
22 id: root;
3− property var components;
4− property var cardData;
3+ property var cardData;
54 property string artShapeStyle: "inset";
65 property string backgroundShapeStyle: "inset";
76 property real fontScale: 1.0;
tests/plugins/Dash/cardcreator/9.res+12−4
@@ -1,9 +1,8 @@
11AbstractButton {
22 id: root;
3− property var components;
43 property var cardData;
54 property string artShapeStyle: "inset";
6− property string backgroundShapeStyle: "inset";
5+ property string backgroundShapeStyle: "inset";
76 property real fontScale: 1.0;
87 property var scopeStyle: null;
98 property int titleAlignment: Text.AlignLeft;
@@ -80,11 +79,20 @@ CardAudioProgress {
8079 visible: parent.pressed;
8180 radius: "medium";
8281 }
82+ Rectangle {
83+ color: Qt.rgba(0, 0, 0, 0.5);
84+ anchors.centerIn: parent;
85+ width: parent.width * 0.5;
86+ height: width;
87+ radius: width / 2;
88+ }
8389 Icon {
84− anchors.fill: parent;
85− anchors.margins: parent.height > units.gu(5) ? units.gu(2) : 0;
90+ anchors.centerIn: parent;
91+ width: parent.width * 0.3;
92+ height: width;
8693 opacity: 0.9;
8794 name: DashAudioPlayer.playing && AudioUrlComparer.compare(parent.source, DashAudioPlayer.currentSource) ? "media-playback-pause" : "media-playback-start";
95+ color: "white";
8896 }
8997 onClicked: {
9098 if (AudioUrlComparer.compare(source, DashAudioPlayer.currentSource)) {
tests/plugins/Dash/listviewwithpageheadertest.cpp+23
@@ -1954,6 +1954,29 @@ private Q_SLOTS:
19541954 QCOMPARE(lvwph->m_firstVisibleIndex, 0);
19551955 }
19561956
1957+ void testBug1540490()
1958+ {
1959+ lvwph->header()->setImplicitHeight(150);
1960+ verifyItem(0, 150., 150., false);
1961+
1962+ QMetaObject::invokeMethod(model, "removeItems", Q_ARG(QVariant, 3), Q_ARG(QVariant, 3));
1963+ model->setProperty(0, "size", 400);
1964+ model->setProperty(1, "size", 600);
1965+ model->setProperty(2, "size", 300);
1966+
1967+ scrollToBottom();
1968+ changeContentY(-200);
1969+
1970+ QMetaObject::invokeMethod(model, "removeItems", Q_ARG(QVariant, 1), Q_ARG(QVariant, 2));
1971+ model->setProperty(0, "size", 100);
1972+ QMetaObject::invokeMethod(model, "removeItems", Q_ARG(QVariant, 0), Q_ARG(QVariant, 1));
1973+ lvwph->header()->setImplicitHeight(50);
1974+ QMetaObject::invokeMethod(model, "insertItem", Q_ARG(QVariant, 0), Q_ARG(QVariant, 200));
1975+
1976+ QTRY_COMPARE(lvwph->m_visibleItems.count(), 1);
1977+ verifyItem(0, 50., 200., false);
1978+ }
1979+
19571980private:
19581981 QQuickView *view;
19591982 ListViewWithPageHeader *lvwph;
tests/plugins/Dash/listviewwithpageheadertest.qml−1
@@ -85,7 +85,6 @@ Rectangle {
8585 pageHeader: Rectangle {
8686 color: "transparent"
8787 width: parent.width
88− height: 50
8988 implicitHeight: 50
9089 Text {
9190 anchors.fill: parent
tests/plugins/Unity/Indicators/CMakeLists.txt−4
@@ -1,7 +1,3 @@
1−pkg_check_modules(GLIB REQUIRED glib-2.0>=2.32)
2−pkg_check_modules(GIO REQUIRED gio-2.0>=2.32)
3−pkg_check_modules(QMENUMODEL REQUIRED qmenumodel)
4−
51set(INDICATORS_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../../../../plugins/Unity/Indicators)
62set(TEST_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../../..)
73
tests/plugins/Unity/Launcher/launchermodeltest.cpp+2
@@ -61,6 +61,8 @@ public:
6161 bool isTouchApp() const override { return true; }
6262 bool exemptFromLifecycle() const override { return false; }
6363 void setExemptFromLifecycle(bool) override {}
64+ QSize initialSurfaceSize() const override { return QSize(); }
65+ void setInitialSurfaceSize(const QSize &) override {}
6466
6567 // Methods used for mocking (not in the interface)
6668 void setFocused(bool focused) { m_focused = focused; Q_EMIT focusedChanged(focused); }
tests/qmltests/Components/tst_LazyImage.qml+27−9
@@ -112,6 +112,11 @@ Rectangle {
112112 }
113113 }
114114
115+ SignalSpy {
116+ id: signalSpy
117+ signalName: "runningChanged"
118+ }
119+
115120 UT.UnityTestCase {
116121 name: "LazyImage"
117122 when: windowShown
@@ -123,6 +128,18 @@ Rectangle {
123128 tryCompare(lazy2, "height", units.gu(10));
124129 controls3.blank();
125130 tryCompare(lazy3, "width", units.gu(10));
131+
132+ tryCompare(lazy1, "state", "default");
133+ var transition = findChildIn(lazy1, "transitions", "genericTransition");
134+ tryCompare(transition, "running", false);
135+
136+ tryCompare(lazy2, "state", "default");
137+ transition = findChildIn(lazy2, "transitions", "genericTransition");
138+ tryCompare(transition, "running", false);
139+
140+ tryCompare(lazy3, "state", "default");
141+ transition = findChildIn(lazy3, "transitions", "genericTransition");
142+ tryCompare(transition, "running", false);
126143 }
127144
128145 function test_lazyimage_data() {
@@ -131,33 +148,34 @@ Rectangle {
131148 {tag: "Unbound Wide", image: lazy1, func: controls1.wide, transition: "readyTransition", width: 160, height: 80, imageWidth: 160, imageHeight: 80, initialWidth: units.gu(10), initialHeight: units.gu(10)},
132149 {tag: "Unbound Square", image: lazy1, func: controls1.square, transition: "readyTransition", width: 160, height: 160, imageWidth: 160, imageHeight: 160, initialWidth: units.gu(10), initialHeight: units.gu(10)},
133150 {tag: "Unbound Portrait", image: lazy1, func: controls1.portrait, transition: "readyTransition", width: 80, height: 160, imageWidth: 80, imageHeight: 160, initialWidth: units.gu(10), initialHeight: units.gu(10)},
134− {tag: "Unbound Bad path", image: lazy1, func: controls1.badpath, transition: "genericTransition", width: units.gu(10), height: units.gu(10), imageWidth: units.gu(10), imageHeight: units.gu(10), initialWidth: units.gu(10), initialHeight: units.gu(10), placeholder: true, error: true},
151+ {tag: "Unbound Bad path", image: lazy1, func: controls1.badpath, transition: "genericTransition", state: "error", width: units.gu(10), height: units.gu(10), imageWidth: units.gu(10), imageHeight: units.gu(10), initialWidth: units.gu(10), initialHeight: units.gu(10), placeholder: true, error: true},
135152 {tag: "Width-bound Blank", image: lazy2, func: controls2.blank, width: units.gu(30), height: units.gu(10), imageWidth: units.gu(30), imageHeight: units.gu(10), initialWidth: units.gu(30), initialHeight: units.gu(10), placeholder: true},
136153 {tag: "Width-bound Wide", image: lazy2, func: controls2.wide, transition: "readyTransition", width: units.gu(30), height: units.gu(15), imageWidth: units.gu(30), imageHeight: units.gu(15), initialWidth: units.gu(30), initialHeight: units.gu(10)},
137154 {tag: "Width-bound Square", image: lazy2, func: controls2.square, transition: "readyTransition", width: units.gu(30), height: units.gu(30), imageWidth: units.gu(30), imageHeight: units.gu(30), initialWidth: units.gu(30), initialHeight: units.gu(10)},
138155 {tag: "Width-bound Portrait", image: lazy2, func: controls2.portrait, transition: "readyTransition", width: units.gu(30), height: units.gu(60), imageWidth: units.gu(30), imageHeight: units.gu(60), initialWidth: units.gu(30), initialHeight: units.gu(10)},
139− {tag: "Width-bound Bad path", image: lazy2, func: controls2.badpath, transition: "genericTransition", width: units.gu(30), height: units.gu(10), imageWidth: units.gu(30), imageHeight: units.gu(10), initialWidth: units.gu(30), initialHeight: units.gu(10), placeholder: true, error: true},
156+ {tag: "Width-bound Bad path", image: lazy2, func: controls2.badpath, transition: "genericTransition", state: "error", width: units.gu(30), height: units.gu(10), imageWidth: units.gu(30), imageHeight: units.gu(10), initialWidth: units.gu(30), initialHeight: units.gu(10), placeholder: true, error: true},
140157 {tag: "Height-bound Blank", image: lazy3, func: controls3.blank, width: units.gu(10), height: units.gu(12), imageWidth: units.gu(10), imageHeight: units.gu(12), initialWidth: units.gu(10), initialHeight: units.gu(12), placeholder: true},
141158 {tag: "Height-bound Wide", image: lazy3, func: controls3.wide, transition: "readyTransition", width: units.gu(24), height: units.gu(12), imageWidth: units.gu(24), imageHeight: units.gu(12), initialWidth: units.gu(10), initialHeight: units.gu(12)},
142159 {tag: "Height-bound Square", image: lazy3, func: controls3.square, transition: "readyTransition", width: units.gu(12), height: units.gu(12), imageWidth: units.gu(12), imageHeight: units.gu(12), initialWidth: units.gu(10), initialHeight: units.gu(12)},
143160 {tag: "Height-bound Portrait", image: lazy3, func: controls3.portrait, transition: "readyTransition", width: units.gu(6), height: units.gu(12), imageWidth: units.gu(6), imageHeight: units.gu(12), initialWidth: units.gu(10), initialHeight: units.gu(12)},
144− {tag: "Height-bound Bad path", image: lazy3, func: controls3.badpath, transition: "genericTransition", width: units.gu(10), height: units.gu(12), imageWidth: units.gu(10), imageHeight: units.gu(12), initialWidth: units.gu(10), initialHeight: units.gu(12), placeholder: true, error: true},
161+ {tag: "Height-bound Bad path", image: lazy3, func: controls3.badpath, transition: "genericTransition", state: "error", width: units.gu(10), height: units.gu(12), imageWidth: units.gu(10), imageHeight: units.gu(12), initialWidth: units.gu(10), initialHeight: units.gu(12), placeholder: true, error: true},
145162 {tag: "Fit Blank", image: lazy4, func: controls4.blank, width: units.gu(12), height: units.gu(12), imageWidth: units.gu(12), imageHeight: units.gu(12), initialWidth: units.gu(12), initialHeight: units.gu(12), placeholder: true},
146163 {tag: "Fit Wide", image: lazy4, func: controls4.wide, transition: "readyTransition", width: units.gu(12), height: units.gu(12), imageWidth: units.gu(12), imageHeight: units.gu(6), initialWidth: units.gu(12), initialHeight: units.gu(12)},
147164 {tag: "Fit Square", image: lazy4, func: controls4.square, transition: "readyTransition", width: units.gu(12), height: units.gu(12), imageWidth: units.gu(12), imageHeight: units.gu(12), initialWidth: units.gu(12), initialHeight: units.gu(12)},
148165 {tag: "Fit Portrait", image: lazy4, func: controls4.portrait, transition: "readyTransition", width: units.gu(12), height: units.gu(12), imageWidth: units.gu(6), imageHeight: units.gu(12), initialWidth: units.gu(12), initialHeight: units.gu(12)},
149− {tag: "Fit Bad path", image: lazy4, func: controls4.badpath, transition: "genericTransition", width: units.gu(12), height: units.gu(12), imageWidth: units.gu(12), imageHeight: units.gu(12), initialWidth: units.gu(12), initialHeight: units.gu(12), placeholder: true, error: true},
166+ {tag: "Fit Bad path", image: lazy4, func: controls4.badpath, transition: "genericTransition", state: "error", width: units.gu(12), height: units.gu(12), imageWidth: units.gu(12), imageHeight: units.gu(12), initialWidth: units.gu(12), initialHeight: units.gu(12), placeholder: true, error: true},
150167 ]
151168 }
152169
153170 function test_lazyimage(data) {
171+ var transition = findChildIn(data.image, "transitions", data.transition);
172+ signalSpy.target = transition;
173+ signalSpy.clear();
174+
154175 data.func();
155176
156177 if (data.transition) {
157− waitForRendering(data.image);
158− // wait for the transition to complete
159− var transition = findChildIn(data.image, "transitions", data.transition);
160− tryCompare(transition, "running", true);
178+ tryCompare(data.image, "state", data.state ? data.state : "ready");
161179 tryCompare(transition, "running", false);
162180 }
163181
@@ -186,7 +204,7 @@ Rectangle {
186204
187205 // check the error image
188206 var error = findChild(data.image, "errorImage");
189− compare(error.visible, data.error ? true : false);
207+ tryCompare(error, "visible", data.error ? true : false);
190208 }
191209 }
192210}
tests/qmltests/Components/tst_ZoomableImage.qml+8−5
@@ -73,7 +73,10 @@ Rectangle {
7373 tryCompareFunction(function() { return get_filename(imageRenderer.source.toString()) === get_filename(widgetData1["source"]); }, true);
7474 waitForRendering(zoomableImage);
7575 tryCompare(zoomableImage, "imageStatus", Image.Ready);
76− compare (signalSpy.count, 1);
76+ compare(signalSpy.count, 1);
77+ compare(imageRenderer.sourceSize.width, root.width);
78+ zoomableImage.zoomable = true;
79+ compare(imageRenderer.sourceSize.width, root.width*3);
7780 }
7881
7982 function get_filename(a) {
@@ -138,14 +141,14 @@ Rectangle {
138141 var imageRenderer = findChild(zoomableImage, "imageRenderer");
139142 var flickable = findChild(zoomableImage, "flickable");
140143
141− signalSpy.signalName = "onScaleChanged";
142− signalSpy.target = image;
143− signalSpy.clear();
144−
145144 zoomableImage.source = data.source;
146145 zoomableImage.zoomable = data.zoomable;
147146 waitForRendering(zoomableImage);
148147
148+ signalSpy.signalName = "onScaleChanged";
149+ signalSpy.target = image;
150+ signalSpy.clear();
151+
149152 tryCompare(zoomableImage, "imageStatus", Image.Ready);
150153 tryCompareFunction(function() { return get_filename(imageRenderer.source.toString()) === get_filename(data.source); }, true);
151154 waitForRendering(image);
tests/qmltests/Dash/Previews/tst_PreviewHeader.qml+15
@@ -54,6 +54,14 @@ Rectangle {
5454 "attributes": [{"value":"text1","icon":"image://theme/ok"},{"value":"text2","icon":"image://theme/cancel"}]
5555 }
5656
57+ property var emptyfallbackheaderjson: {
58+ "title": "THE TITLE",
59+ "subtitle": "Something catchy",
60+ "mascot": "",
61+ "fallback": "../graphics/play_button.png",
62+ "attributes": [{"value":"text1","icon":"image://theme/ok"},{"value":"text2","icon":"image://theme/cancel"}]
63+ }
64+
5765 PreviewHeader {
5866 id: previewHeader
5967 widgetData: headerjson
@@ -150,6 +158,13 @@ Rectangle {
150158 var mascot = findChild(previewHeader, "mascotShape");
151159 tryCompare(mascot, "visible", true);
152160 tryCompare(mascot.source, "status", Image.Ready);
161+
162+ previewHeader.widgetData = {};
163+ previewHeader.widgetData = emptyfallbackheaderjson;
164+ tryCompareFunction(function() { return findChild(previewHeader, "mascotShape") != null }, true);
165+ var mascot = findChild(previewHeader, "mascotShape");
166+ tryCompare(mascot, "visible", true);
167+ tryCompare(mascot.source, "status", Image.Ready);
153168 }
154169 }
155170}
tests/qmltests/Dash/Previews/tst_PreviewImageGallery.qml+19
@@ -48,6 +48,16 @@ Rectangle {
4848 , "fallback": "../../../tests/graphics/clock@18.png"
4949 }
5050
51+ property var sourcesModelEmptyWithFallback: {
52+ "sources": [
53+ "../../graphics/phone_background.jpg",
54+ "../../graphics/tablet_background.jpg",
55+ "../../../tests/graphics/clock@18.png",
56+ ""
57+ ]
58+ , "fallback": "../../../tests/graphics/clock@18.png"
59+ }
60+
5161 PreviewImageGallery {
5262 id: imageGallery
5363 width: parent.width
@@ -123,5 +133,14 @@ Rectangle {
123133 image3 = findChild(imageGallery, "previewImage3");
124134 tryCompare(image3, "state", "ready");
125135 }
136+
137+ function test_empty_fallback() {
138+ var image3 = findChild(imageGallery, "previewImage3");
139+ tryCompare(image3, "state", "error");
140+ imageGallery.widgetData = sourcesModel0;
141+ imageGallery.widgetData = sourcesModelEmptyWithFallback;
142+ image3 = findChild(imageGallery, "previewImage3");
143+ tryCompare(image3, "state", "ready");
144+ }
126145 }
127146}
tests/qmltests/Dash/Previews/tst_PreviewZoomableImage.qml+12
@@ -39,6 +39,11 @@ Rectangle {
3939 "fallback": "../../graphics/phone_background.jpg"
4040 }
4141
42+ property var widgetData3: {
43+ "source": "",
44+ "fallback": "../../graphics/phone_background.jpg"
45+ }
46+
4247 Loader {
4348 id: loader
4449 width: parent.width
@@ -100,5 +105,12 @@ Rectangle {
100105 waitForRendering(lazyImage);
101106 tryCompare(lazyImage, "state", "ready");
102107 }
108+
109+ function test_emptyfallback() {
110+ zoomableImage.widgetData = widgetData3;
111+ waitForRendering(zoomableImage);
112+ waitForRendering(lazyImage);
113+ tryCompare(lazyImage, "state", "ready");
114+ }
103115 }
104116}
tests/qmltests/Dash/tst_Card.qml+18−1
@@ -130,7 +130,6 @@ Rectangle {
130130 sourceComponent: cardTool.cardComponent
131131 clip: true
132132 onLoaded: {
133− item.components = Qt.binding(function() { return cardTool.components; });
134133 item.cardData = Qt.binding(function() { return Helpers.mapData(dataArea.text, cardTool.components, dataError); });
135134 item.width = Qt.binding(function() { return cardTool.cardWidth || item.implicitWidth; });
136135 item.height = Qt.binding(function() { return cardTool.cardHeight || item.implicitHeight; });
@@ -476,6 +475,15 @@ Rectangle {
476475 card.cardDataChanged();
477476 waitForRendering(card);
478477 tryCompare(art, "visible", true);
478+ compare(artImage.source, Qt.resolvedUrl("artwork/emblem.png"));
479+
480+ cardTool.components["art"]["fallback"] = Qt.resolvedUrl("artwork/checkers.png");
481+ cardTool.componentsChanged();
482+ card.cardData["art"] = "";
483+ card.cardDataChanged();
484+ waitForRendering(card);
485+ tryCompare(art, "visible", true);
486+ compare(artImage.source, Qt.resolvedUrl("artwork/checkers.png"));
479487
480488 card.cardData["mascot"] = "somethingbroken2";
481489 card.cardDataChanged();
@@ -487,6 +495,15 @@ Rectangle {
487495 card.cardDataChanged();
488496 waitForRendering(card);
489497 tryCompare(mascotImage, "status", Image.Ready);
498+ compare(mascotImage.source, Qt.resolvedUrl("artwork/emblem.png"));
499+
500+ cardTool.components["mascot"] = {"fallback": Qt.resolvedUrl("artwork/checkers.png")};
501+ cardTool.componentsChanged();
502+ card.cardData["mascot"] = "";
503+ card.cardDataChanged();
504+ waitForRendering(card);
505+ tryCompare(mascotImage, "status", Image.Ready);
506+ compare(mascotImage.source, Qt.resolvedUrl("artwork/checkers.png"));
490507 }
491508
492509 function test_font_weights_data() {
tests/qmltests/Dash/tst_CardBenchmark.qml−2
@@ -61,8 +61,6 @@ Rectangle {
6161 item.width = Qt.binding(function() { return cardTool.cardWidth || implicitWidth; });
6262 item.height = Qt.binding(function() { return cardTool.cardHeight || implicitHeight; });
6363 item.cardData = Qt.binding(function() { return Helpers.mapData(root.cardData, cardTool.components); });
64− item.template = Qt.binding(function() { return cardTool.template; });
65− item.components = Qt.binding(function() { return cardTool.components; });
6664 }
6765 }
6866 }
tests/qmltests/Greeter/tst_WideView.qml+11
@@ -522,5 +522,16 @@ Item {
522522
523523 tryCompare(loginList, "height", view.height);
524524 }
525+
526+ function test_alphanumeric() {
527+ var passwordInput = findChild(view, "passwordInput");
528+
529+ verify(view.alphanumeric);
530+ compare(passwordInput.inputMethodHints, Qt.ImhNone);
531+ view.alphanumeric = false;
532+ compare(passwordInput.inputMethodHints, Qt.ImhDigitsOnly);
533+ view.alphanumeric = true;
534+ compare(passwordInput.inputMethodHints, Qt.ImhNone);
535+ }
525536 }
526537}
tests/qmltests/Stages/RecursingChildSessionControl.qml+3−3
@@ -88,7 +88,7 @@ ColumnLayout {
8888
8989 CheckBox {
9090 id: _surfaceCheckbox;
91− checked: false;
91+ checked: root.session.lastSurface ? true : false
9292 activeFocusOnPress: false
9393 enabled: root.session
9494 onCheckedChanged: {
@@ -101,7 +101,7 @@ ColumnLayout {
101101
102102 Connections {
103103 target: root.session ? root.session : null
104− onSurfaceChanged: {
104+ onLastSurfaceChanged: {
105105 surfaceCheckbox.checked = root.session.lastSurface !== null
106106 }
107107 }
@@ -137,7 +137,7 @@ ColumnLayout {
137137 text: "Add Child"
138138 onClicked: {
139139 var screenshot = Math.round(Math.random()*100 % (screenshotIds.length-1));
140− var session = ApplicationTest.addChildSession(root.session, root.screenshotIds[screenshot]);
140+ var session = ApplicationTest.addChildSession(root.session, root.screenshotIds[screenshot], true);
141141 }
142142 }
143143 }
tests/qmltests/Stages/SizeHintField.qmlnew file+33
@@ -0,0 +1,33 @@
1+/*
2+ * Copyright 2015 Canonical Ltd.
3+ *
4+ * This program is free software; you can redistribute it and/or modify
5+ * it under the terms of the GNU General Public License as published by
6+ * the Free Software Foundation; version 3.
7+ *
8+ * This program is distributed in the hope that it will be useful,
9+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
10+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+ * GNU General Public License for more details.
12+ *
13+ * You should have received a copy of the GNU General Public License
14+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
15+ */
16+
17+import QtQuick 2.4
18+import QtQuick.Layouts 1.1
19+import Ubuntu.Components 1.3
20+
21+Row {
22+ property alias text: label.text
23+ property alias value: field.text
24+ spacing: units.gu(1)
25+ Label {
26+ id: label
27+ color: "black"; anchors.verticalCenter: parent.verticalCenter
28+ }
29+ TextField {
30+ id: field
31+ text: ""; width: units.gu(8); hasClearButton: false; maximumLength: 6; inputMask: "d00000"
32+ }
33+}
tests/qmltests/Stages/SurfaceManagerControls.qmlnew file+33
@@ -0,0 +1,33 @@
1+/*
2+ * Copyright (C) 2015 Canonical, Ltd.
3+ *
4+ * This program is free software; you can redistribute it and/or modify
5+ * it under the terms of the GNU General Public License as published by
6+ * the Free Software Foundation; version 3.
7+ *
8+ * This program is distributed in the hope that it will be useful,
9+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
10+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+ * GNU General Public License for more details.
12+ *
13+ * You should have received a copy of the GNU General Public License
14+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
15+ */
16+
17+import QtQuick 2.4
18+import Ubuntu.Components 1.3
19+import Unity.Application 0.1
20+
21+Column {
22+ id: root
23+ property color textColor: "black"
24+
25+ Label {text: "Size hints for new surface:"; color: root.textColor; font.bold: true}
26+
27+ SurfaceManagerField { text: "min width"; propertyName: "newSurfaceMinimumWidth"; textColor: root.textColor }
28+ SurfaceManagerField { text: "max width"; propertyName: "newSurfaceMaximumWidth"; textColor: root.textColor }
29+ SurfaceManagerField { text: "min height"; propertyName: "newSurfaceMinimumHeight"; textColor: root.textColor }
30+ SurfaceManagerField { text: "max height"; propertyName: "newSurfaceMaximumHeight"; textColor: root.textColor }
31+ SurfaceManagerField { text: "width increment"; propertyName: "newSurfaceWidthIncrement"; textColor: root.textColor }
32+ SurfaceManagerField { text: "height increment"; propertyName: "newSurfaceHeightIncrement"; textColor: root.textColor }
33+}
tests/qmltests/Stages/SurfaceManagerField.qmlnew file+40
@@ -0,0 +1,40 @@
1+/*
2+ * Copyright (C) 2015 Canonical, Ltd.
3+ *
4+ * This program is free software; you can redistribute it and/or modify
5+ * it under the terms of the GNU General Public License as published by
6+ * the Free Software Foundation; version 3.
7+ *
8+ * This program is distributed in the hope that it will be useful,
9+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
10+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+ * GNU General Public License for more details.
12+ *
13+ * You should have received a copy of the GNU General Public License
14+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
15+ */
16+
17+import QtQuick 2.4
18+import Ubuntu.Components 1.3
19+import Unity.Application 0.1
20+
21+Row {
22+ id: root
23+ property alias textColor: label.color
24+ property alias text: label.text
25+ property string propertyName
26+
27+ Label {id: label; anchors.verticalCenter: parent.verticalCenter}
28+ TextField {
29+ width: units.gu(10); hasClearButton: false; maximumLength: 6
30+ inputMask: "d00000"
31+ text: ""
32+ onTextChanged: {
33+ if (text.length > 0) {
34+ SurfaceManager[root.propertyName] = parseInt(text);
35+ } else {
36+ SurfaceManager[root.propertyName] = 0;
37+ }
38+ }
39+ }
40+}
tests/qmltests/Stages/tst_DesktopStage.qml+30−24
@@ -89,36 +89,42 @@ Item {
8989 right: parent.right
9090 }
9191
92− Column {
93− anchors { left: parent.left; right: parent.right; top: parent.top; margins: units.gu(1) }
94− spacing: units.gu(1)
95−
96− Button {
97− color: "white"
98− text: "Make surface slow to resize"
99− activeFocusOnPress: false
100− onClicked: {
101− if (ApplicationManager.focusedApplicationId) {
102− var surface = ApplicationManager.findApplication(ApplicationManager.focusedApplicationId).session.lastSurface;
103− surface.slowToResize = true;
92+ Flickable {
93+ anchors.fill: parent
94+ contentHeight: controlsColumn.height
95+ Column {
96+ id: controlsColumn
97+ spacing: units.gu(1)
98+
99+ Button {
100+ color: "white"
101+ text: "Make surface slow to resize"
102+ activeFocusOnPress: false
103+ onClicked: {
104+ if (ApplicationManager.focusedApplicationId) {
105+ var surface = ApplicationManager.findApplication(ApplicationManager.focusedApplicationId).session.lastSurface;
106+ surface.slowToResize = true;
107+ }
104108 }
105109 }
106− }
107110
108− EdgeBarrierControls {
109− id: edgeBarrierControls
110− text: "Drag here to pull out spread"
111− backgroundColor: "blue"
112− onDragged: { desktopStageLoader.item.pushRightEdge(amount); }
113− }
111+ EdgeBarrierControls {
112+ id: edgeBarrierControls
113+ text: "Drag here to pull out spread"
114+ backgroundColor: "blue"
115+ onDragged: { desktopStageLoader.item.pushRightEdge(amount); }
116+ }
114117
115− Divider {}
118+ Divider {}
116119
117− Repeater {
118− model: ApplicationManager.availableApplications
119− ApplicationCheckBox {
120− appId: modelData
120+ Repeater {
121+ model: ApplicationManager.availableApplications
122+ ApplicationCheckBox {
123+ appId: modelData
124+ }
121125 }
126+
127+ SurfaceManagerControls { textColor: "white" }
122128 }
123129 }
124130 }
tests/qmltests/Stages/tst_SessionContainer.qml+27−5
@@ -155,7 +155,8 @@ Rectangle {
155155 var sessions = [];
156156 for (i = 0; i < data.count; i++) {
157157 var session = ApplicationTest.addChildSession(sessionContainer.session,
158− "gallery");
158+ "gallery",
159+ true);
159160 session.createSurface();
160161 sessionContainer.session.addChildSession(session);
161162 compare(sessionContainer.childSessions.count(), i+1);
@@ -180,7 +181,7 @@ Rectangle {
180181 // 3 sessions should cover all edge cases
181182 for(i = 0; i < 3; i++) {
182183 var a_session = ApplicationTest.addChildSession(
183− sessionContainer.session, "gallery"
184+ sessionContainer.session, "gallery", true
184185 )
185186
186187 a_session.createSurface();
@@ -226,7 +227,8 @@ Rectangle {
226227 var container = sessionContainer;
227228 for (i = 0; i < data.depth; i++) {
228229 var session = ApplicationTest.addChildSession(lastSession,
229− "gallery");
230+ "gallery",
231+ true);
230232 session.createSurface();
231233 lastSession.addChildSession(session);
232234 compare(container.childSessions.count(), 1);
@@ -250,7 +252,8 @@ Rectangle {
250252 var sessionContainer = sessionContainerLoader.item;
251253
252254 var session = ApplicationTest.addChildSession(sessionContainer.session,
253− "gallery");
255+ "gallery",
256+ true);
254257 session.createSurface();
255258 sessionContainer.session.addChildSession(session);
256259
@@ -288,7 +291,8 @@ Rectangle {
288291 var sessionContainer = sessionContainerLoader.item;
289292
290293 var session = ApplicationTest.addChildSession(sessionContainer.session,
291− "gallery");
294+ "gallery",
295+ true);
292296
293297 var delegate = findChild(sessionContainer, "childDelegate0");
294298 var childContainer = findChild(delegate, "sessionContainer");
@@ -304,6 +308,24 @@ Rectangle {
304308 tryCompareFunction(function() { return isContainerAnimating(childContainer); }, true);
305309 // wait for animation to end
306310 tryCompareFunction(function() { return isContainerAnimating(childContainer); }, false);
311+
312+ tryCompareFunction(function() { return sessionContainer.childSessions.count() }, 0);
313+ }
314+
315+ function test_childSessionsRemovedOnStopWhenNotLive() {
316+ sessionCheckbox.checked = true;
317+ var sessionContainer = sessionContainerLoader.item;
318+
319+ var session = ApplicationTest.addChildSession(sessionContainer.session,
320+ "gallery",
321+ false);
322+
323+ var delegate = findChild(sessionContainer, "childDelegate0");
324+ var childContainer = findChild(delegate, "sessionContainer");
325+
326+ ApplicationTest.removeSession(session);
327+
328+ tryCompareFunction(function() { return sessionContainer.childSessions.count() }, 0);
307329 }
308330 }
309331}
tests/qmltests/Stages/tst_WindowResizeArea.qml+225−30
@@ -28,7 +28,7 @@ import Unity.Application 0.1
2828Item {
2929 id: root
3030 height: units.gu(60)
31− width: units.gu(60)
31+ width: units.gu(85)
3232
3333 Binding {
3434 target: PanelState
@@ -41,14 +41,20 @@ Item {
4141
4242 Item {
4343 id: fakeWindow
44− property alias minWidth: windowResizeArea.minWidth
45− property alias minHeight: windowResizeArea.minHeight
44+ property alias resizeAreaMinWidth: windowResizeArea.minWidth
45+ property alias resizeAreaMinHeight: windowResizeArea.minHeight
4646 x: units.gu(20)
4747 y: units.gu(20)
4848 width: requestedWidth
4949 height: requestedHeight
5050 property real requestedWidth
5151 property real requestedHeight
52+ property real minimumWidth: 0
53+ property real minimumHeight: 0
54+ property real maximumWidth: 0
55+ property real maximumHeight: 0
56+ property real widthIncrement: 0
57+ property real heightIncrement: 0
5258 state: "normal"
5359
5460 function maximize() {
@@ -80,6 +86,10 @@ Item {
8086 anchors.fill: parent
8187 hoverEnabled: true
8288 }
89+ Text {
90+ text: parent.width + "x" + parent.height
91+ color: "white"
92+ }
8393 }
8494 }
8595 }
@@ -90,27 +100,107 @@ Item {
90100 active: windowLoaderCheckbox.checked
91101 }
92102
93− Column {
94− MouseTouchEmulationCheckbox {
95− checked: false
96− color: "black"
97− }
98− RowLayout {
99− Layout.fillWidth: true
100− CheckBox {
101− id: windowLoaderCheckbox
102− checked: true
103− activeFocusOnPress: false
103+ Rectangle {
104+ anchors.right: parent.right
105+ anchors.top: parent.top
106+ anchors.bottom: parent.bottom
107+ width: units.gu(25)
108+ color: "lightgrey"
109+ Column {
110+ width: parent.width
111+ spacing: units.gu(1)
112+ MouseTouchEmulationCheckbox {
113+ checked: false
114+ color: "black"
115+ }
116+ RowLayout {
117+ Layout.fillWidth: true
118+ CheckBox {
119+ id: windowLoaderCheckbox
120+ checked: true
121+ activeFocusOnPress: false
122+ }
123+ Label {
124+ color: "black"
125+ text: "Window loader active"
126+ anchors.verticalCenter: parent.verticalCenter
127+ }
104128 }
105129 Label {
106− id: label
130+ color: "black"; font.bold: true
131+ text: "Size Hints:"
132+ }
133+ SizeHintField { id: minWidthText; text: "min width" }
134+ SizeHintField { id: maxWidthText; text: "max width" }
135+ SizeHintField { id: minHeightText; text: "min height" }
136+ SizeHintField { id: maxHeightText; text: "max height" }
137+ SizeHintField { id: widthIncrText; text: "width incr" }
138+ SizeHintField { id: heightIncrText; text: "height incr" }
139+ Button {
107140 color: "black"
108− text: "Window loader active"
109− anchors.verticalCenter: parent.verticalCenter
141+ anchors.horizontalCenter: parent.horizontalCenter
142+ text: "Apply"
143+ onClicked: {
144+ var value = parseInt(minWidthText.value);
145+ if (isNaN(value)) {
146+ windowLoader.item.minimumWidth = 0;
147+ } else {
148+ windowLoader.item.resizeAreaMinWidth = 1; // get it out of the way
149+ windowLoader.item.minimumWidth = value;
150+ }
151+
152+ value = parseInt(maxWidthText.value);
153+ if (isNaN(value)) {
154+ windowLoader.item.maximumWidth = 0;
155+ } else {
156+ windowLoader.item.maximumWidth = value;
157+ }
158+
159+ value = parseInt(minHeightText.value);
160+ if (isNaN(value)) {
161+ windowLoader.item.minimumHeight = 0;
162+ } else {
163+ windowLoader.item.resizeAreaMinHeight = 1; // get it out of the way
164+ windowLoader.item.minimumHeight = value;
165+ }
166+
167+ value = parseInt(maxHeightText.value);
168+ if (isNaN(value)) {
169+ windowLoader.item.maximumHeight = 0;
170+ } else {
171+ windowLoader.item.maximumHeight = value;
172+ }
173+
174+ value = parseInt(widthIncrText.value);
175+ if (isNaN(value)) {
176+ windowLoader.item.widthIncrement = 0;
177+ } else {
178+ windowLoader.item.widthIncrement = value;
179+ }
180+
181+ value = parseInt(heightIncrText.value);
182+ if (isNaN(value)) {
183+ windowLoader.item.heightIncrement = 0;
184+ } else {
185+ windowLoader.item.heightIncrement = value;
186+ }
187+ }
110188 }
111189 }
112190 }
113191
192+ SignalSpy {
193+ id: windowRequestedWidthSpy
194+ target: windowLoader.item
195+ signalName: "onRequestedWidthChanged"
196+ }
197+
198+ SignalSpy {
199+ id: windowRequestedHeightSpy
200+ target: windowLoader.item
201+ signalName: "onRequestedHeightChanged"
202+ }
203+
114204 UnityTestCase {
115205 name: "WindowResizeArea"
116206 when: windowShown
@@ -122,6 +212,18 @@ Item {
122212 fakeWindow.y = units.gu(20)
123213 fakeWindow.requestedWidth = units.gu(20)
124214 fakeWindow.requestedHeight = units.gu(20)
215+ fakeWindow.resizeAreaMinWidth = units.gu(15);
216+ fakeWindow.resizeAreaMinHeight = units.gu(10);
217+ fakeWindow.minimumWidth = 0;
218+ fakeWindow.minimumHeight = 0;
219+ fakeWindow.maximumWidth = 0;
220+ fakeWindow.maximumHeight = 0;
221+ fakeWindow.widthIncrement = 0;
222+ fakeWindow.heightIncrement = 0;
223+
224+ // Our test window resizes instantly
225+ compare(fakeWindow.width, fakeWindow.requestedWidth);
226+ compare(fakeWindow.height, fakeWindow.requestedHeight);
125227 }
126228
127229 function test_resizeWindowRightBottom_data() {
@@ -143,8 +245,8 @@ Item {
143245 var startDragY = initialWindowY + initialWindowHeight + 1
144246 mouseFlick(root, startDragX, startDragY, startDragX + data.dx, startDragY + data.dy, true, true, units.gu(.5), 10);
145247
146− tryCompare(fakeWindow, "width", Math.max(initialWindowWidth + data.dx, fakeWindow.minWidth));
147− tryCompare(fakeWindow, "height", Math.max(initialWindowHeight + data.dy, fakeWindow.minHeight));
248+ tryCompare(fakeWindow, "width", Math.max(initialWindowWidth + data.dx, fakeWindow.resizeAreaMinWidth));
249+ tryCompare(fakeWindow, "height", Math.max(initialWindowHeight + data.dy, fakeWindow.resizeAreaMinHeight));
148250
149251 compare(fakeWindow.x, initialWindowX);
150252 compare(fakeWindow.y, initialWindowY);
@@ -169,11 +271,11 @@ Item {
169271 var startDragY = initialWindowY - 1
170272 mouseFlick(root, startDragX, startDragY, startDragX + data.dx, startDragY + data.dy, true, true, units.gu(.5), 10);
171273
172− tryCompare(fakeWindow, "width", Math.max(initialWindowWidth - data.dx, fakeWindow.minWidth));
173− tryCompare(fakeWindow, "height", Math.max(initialWindowHeight - data.dy, fakeWindow.minHeight));
274+ tryCompare(fakeWindow, "width", Math.max(initialWindowWidth - data.dx, fakeWindow.resizeAreaMinWidth));
275+ tryCompare(fakeWindow, "height", Math.max(initialWindowHeight - data.dy, fakeWindow.resizeAreaMinHeight));
174276
175− var maxMoveX = initialWindowWidth - fakeWindow.minWidth;
176− var maxMoveY = initialWindowHeight - fakeWindow.minHeight;
277+ var maxMoveX = initialWindowWidth - fakeWindow.resizeAreaMinWidth;
278+ var maxMoveY = initialWindowHeight - fakeWindow.resizeAreaMinHeight;
177279 compare(fakeWindow.x, Math.min(initialWindowX + data.dx, initialWindowX + maxMoveX));
178280 compare(fakeWindow.y, Math.min(initialWindowY + data.dy, initialWindowY + maxMoveY));
179281 }
@@ -189,8 +291,8 @@ Item {
189291 var startDragY = initialWindowY + initialWindowHeight + 1
190292 mouseFlick(root, startDragX, startDragY, startDragX + resizeDelta, startDragY + resizeDelta, true, true, units.gu(.5), 10);
191293
192− tryCompare(fakeWindow, "width", Math.max(initialWindowWidth + resizeDelta, fakeWindow.minWidth));
193− tryCompare(fakeWindow, "height", Math.max(initialWindowHeight + resizeDelta, fakeWindow.minHeight));
294+ tryCompare(fakeWindow, "width", Math.max(initialWindowWidth + resizeDelta, fakeWindow.resizeAreaMinWidth));
295+ tryCompare(fakeWindow, "height", Math.max(initialWindowHeight + resizeDelta, fakeWindow.resizeAreaMinHeight));
194296
195297 // This will destroy the window and recreate it
196298 windowLoader.active = false;
@@ -198,8 +300,8 @@ Item {
198300 windowLoader.active = true;
199301
200302 // Make sure its size is again the same as before
201− tryCompare(fakeWindow, "width", Math.max(initialWindowWidth + resizeDelta, fakeWindow.minWidth));
202− tryCompare(fakeWindow, "height", Math.max(initialWindowHeight + resizeDelta, fakeWindow.minHeight));
303+ tryCompare(fakeWindow, "width", Math.max(initialWindowWidth + resizeDelta, fakeWindow.resizeAreaMinWidth));
304+ tryCompare(fakeWindow, "height", Math.max(initialWindowHeight + resizeDelta, fakeWindow.resizeAreaMinHeight));
203305 }
204306
205307 // This tests if dragging smaller than minSize and then larger again, will keep the edge sticking
@@ -220,8 +322,8 @@ Item {
220322 var startDragX = initialWindowX + data.startX
221323 var startDragY = initialWindowY + data.startY
222324 mouseFlick(root, startDragX, startDragY, startDragX + data.dx, startDragY + data.dy, true, false, units.gu(.05), 10);
223− tryCompare(fakeWindow, "width", Math.max(initialWindowWidth - Math.abs(data.dx), fakeWindow.minWidth));
224− tryCompare(fakeWindow, "height", Math.max(initialWindowHeight - Math.abs(data.dy), fakeWindow.minHeight));
325+ tryCompare(fakeWindow, "width", Math.max(initialWindowWidth - Math.abs(data.dx), fakeWindow.resizeAreaMinWidth));
326+ tryCompare(fakeWindow, "height", Math.max(initialWindowHeight - Math.abs(data.dy), fakeWindow.resizeAreaMinHeight));
225327 mouseFlick(root, startDragX + data.dx, startDragY + data.dy, startDragX, startDragY, false, true, units.gu(.05), 10);
226328 tryCompare(fakeWindow, "width", initialWindowWidth);
227329 tryCompare(fakeWindow, "height", initialWindowHeight);
@@ -257,7 +359,6 @@ Item {
257359 fakeWindow.state = "normal"
258360 }
259361
260−
261362 function test_restoreMovesIntoBounds_data() {
262363 return [
263364 {tag: "left off", x: -units.gu(5), y: units.gu(5), w: units.gu(10), h: units.gu(10)},
@@ -290,5 +391,99 @@ Item {
290391
291392 waitForRendering(root)
292393 }
394+
395+ /*
396+ Tests that even though you dragged the window bottom right corner continously (ie,
397+ through multiple intermediate steps), its (requested) width and height changed only
398+ once. And, furthermore, its dimensions increased by a multiple of its size (width
399+ and height) increment value.
400+ */
401+ function test_sizeIncrement() {
402+ var initialWindowX = fakeWindow.x;
403+ var initialWindowY = fakeWindow.y;
404+ var initialWindowWidth = fakeWindow.width
405+ var initialWindowHeight = fakeWindow.height
406+
407+ fakeWindow.widthIncrement = 70;
408+ fakeWindow.heightIncrement = 70;
409+
410+ var startDragX = initialWindowX + initialWindowWidth + 1
411+ var startDragY = initialWindowY + initialWindowHeight + 1
412+ var deltaX = 100;
413+ var deltaY = 100;
414+
415+ windowRequestedWidthSpy.clear();
416+ verify(windowRequestedWidthSpy.valid);
417+
418+ windowRequestedHeightSpy.clear();
419+ verify(windowRequestedHeightSpy.valid);
420+
421+ mouseFlick(root, startDragX, startDragY, startDragX + deltaX, startDragY + deltaY, true, true, units.gu(.5), 10);
422+
423+ compare(windowRequestedWidthSpy.count, 1);
424+ compare(fakeWindow.width, initialWindowWidth + fakeWindow.widthIncrement);
425+ compare(windowRequestedHeightSpy.count, 1);
426+ compare(fakeWindow.height, initialWindowHeight + fakeWindow.heightIncrement);
427+ }
428+
429+ /*
430+ Tests that when dragging a window border you cannot make it bigger than its maximum size
431+ */
432+ function test_maximumSize() {
433+ fakeWindow.x = units.gu(1);
434+ fakeWindow.y = units.gu(1);
435+ fakeWindow.resizeAreaMinWidth = 1; // so it does not interfere with anything
436+ fakeWindow.resizeAreaMinHeight = 1; // so it does not interfere with anything
437+ fakeWindow.requestedWidth = units.gu(10);
438+ fakeWindow.requestedHeight = units.gu(10);
439+
440+ fakeWindow.maximumWidth = units.gu(20);
441+ fakeWindow.maximumHeight = units.gu(20);
442+
443+ // Our test window resizes instantly
444+ compare(fakeWindow.width, fakeWindow.requestedWidth);
445+ compare(fakeWindow.height, fakeWindow.requestedHeight);
446+
447+ var startDragX = fakeWindow.width + 1
448+ var startDragY = fakeWindow.height + 1
449+ var endDragX = (fakeWindow.maximumWidth * 2) + 1;
450+ var endDragY = (fakeWindow.maximumHeight * 2) + 1;
451+
452+ mouseFlick(fakeWindow, startDragX, startDragY, endDragX, endDragY,
453+ true/*pressMouse*/, true/*releaseMouse*/, units.gu(.5)/*speed*/, 20/*iterations*/);
454+
455+ compare(fakeWindow.requestedWidth, fakeWindow.maximumWidth);
456+ compare(fakeWindow.requestedHeight, fakeWindow.maximumHeight);
457+ }
458+
459+ /*
460+ Tests that when dragging a window border you cannot make it smaller than its minimum size
461+ */
462+ function test_minimumSize() {
463+ fakeWindow.x = units.gu(1);
464+ fakeWindow.y = units.gu(1);
465+ fakeWindow.resizeAreaMinWidth = 1; // so it does not interfere with anything
466+ fakeWindow.resizeAreaMinHeight = 1; // so it does not interfere with anything
467+ fakeWindow.requestedWidth = units.gu(20);
468+ fakeWindow.requestedHeight = units.gu(20);
469+
470+ fakeWindow.minimumWidth = units.gu(10);
471+ fakeWindow.minimumHeight = units.gu(10);
472+
473+ // Our test window resizes instantly
474+ compare(fakeWindow.width, fakeWindow.requestedWidth);
475+ compare(fakeWindow.height, fakeWindow.requestedHeight);
476+
477+ var startDragX = fakeWindow.width + 1
478+ var startDragY = fakeWindow.height + 1
479+ var endDragX = (fakeWindow.minimumWidth * 0.5) + 1;
480+ var endDragY = (fakeWindow.minimumHeight * 0.5) + 1;
481+
482+ mouseFlick(fakeWindow, startDragX, startDragY, endDragX, endDragY,
483+ true/*pressMouse*/, true/*releaseMouse*/, units.gu(.5)/*speed*/, 20/*iterations*/);
484+
485+ compare(fakeWindow.requestedWidth, fakeWindow.minimumWidth);
486+ compare(fakeWindow.requestedHeight, fakeWindow.minimumHeight);
487+ }
293488 }
294489}
tests/qmltests/tst_Shell.qml+53
@@ -50,6 +50,11 @@ Rectangle {
5050 shellLoader.active = true;
5151 }
5252
53+ MouseArea {
54+ id: clickThroughCatcher
55+ anchors.fill: shellContainer
56+ }
57+
5358 Item {
5459 id: shellContainer
5560 anchors.left: root.left
@@ -300,6 +305,12 @@ Rectangle {
300305 signalName: "applicationRemoved"
301306 }
302307
308+ SignalSpy {
309+ id: clickThroughSpy
310+ target: clickThroughCatcher
311+ signalName: "clicked"
312+ }
313+
303314 Telephony.CallEntry {
304315 id: phoneCall
305316 phoneNumber: "+447812221111"
@@ -2066,5 +2077,47 @@ Rectangle {
20662077 tryCompare(launcher, "state", "visible");
20672078 tryCompare(launcher, "focus", true)
20682079 }
2080+
2081+ function test_inputEventsOnEdgesEndUpInAppSurface_data() {
2082+ return [
2083+ { tag: "phone", repeaterName: "spreadRepeater" },
2084+ { tag: "tablet", repeaterName: "spreadRepeater" },
2085+ { tag: "desktop", repeaterName: "appRepeater" },
2086+ ]
2087+ }
2088+
2089+ function test_inputEventsOnEdgesEndUpInAppSurface(data) {
2090+ loadShell(data.tag);
2091+ shell.usageScenario = data.tag;
2092+ waitForRendering(shell);
2093+ swipeAwayGreeter();
2094+
2095+ // Let's open a fullscreen app
2096+ var app = ApplicationManager.startApplication("camera-app");
2097+ waitUntilAppWindowIsFullyLoaded(app);
2098+
2099+ var appRepeater = findChild(shell, data.repeaterName);
2100+ var topmostAppDelegate = appRepeater.itemAt(0);
2101+ verify(topmostAppDelegate);
2102+
2103+ var topmostSurfaceItem = findChild(topmostAppDelegate, "surfaceItem");
2104+ verify(topmostSurfaceItem);
2105+
2106+ mouseClick(shell, 1, shell.height / 2);
2107+ compare(topmostSurfaceItem.mousePressCount, 1);
2108+ compare(topmostSurfaceItem.mouseReleaseCount, 1);
2109+
2110+ mouseClick(shell, shell.width - 1, shell.height / 2);
2111+ compare(topmostSurfaceItem.mousePressCount, 2);
2112+ compare(topmostSurfaceItem.mouseReleaseCount, 2);
2113+
2114+ tap(shell, 1, shell.height / 2);
2115+ compare(topmostSurfaceItem.touchPressCount, 1);
2116+ compare(topmostSurfaceItem.touchReleaseCount, 1);
2117+
2118+ tap(shell, shell.width - 1, shell.height / 2);
2119+ compare(topmostSurfaceItem.touchPressCount, 2);
2120+ compare(topmostSurfaceItem.touchReleaseCount, 2);
2121+ }
20692122 }
20702123}