on xenial help sign in
Reimplement test
6019cf9Josh Arenson
po/ast.po+11−11
@@ -8,14 +8,14 @@ msgstr ""
8"Project-Id-Version: unity8\n"
8"Project-Id-Version: unity8\n"
9"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
9"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10"POT-Creation-Date: 2016-12-07 13:49+0000\n"
10"POT-Creation-Date: 2016-12-07 13:49+0000\n"
11−"PO-Revision-Date: 2016-09-28 13:40+0000\n"
11+"PO-Revision-Date: 2016-12-16 02:13+0000\n"
12−"Last-Translator: Xuacu Saturio <xuacusk8@gmail.com>\n"
12+"Last-Translator: enolp <enolp@softastur.org>\n"
13"Language-Team: Asturian <ast@li.org>\n"
13"Language-Team: Asturian <ast@li.org>\n"
14"MIME-Version: 1.0\n"
14"MIME-Version: 1.0\n"
15"Content-Type: text/plain; charset=UTF-8\n"
15"Content-Type: text/plain; charset=UTF-8\n"
16"Content-Transfer-Encoding: 8bit\n"
16"Content-Transfer-Encoding: 8bit\n"
17"Plural-Forms: nplurals=2; plural=n != 1;\n"
17"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2016-12-15 04:56+0000\n"
18+"X-Launchpad-Export-Date: 2016-12-16 05:44+0000\n"
19"X-Generator: Launchpad (build 18293)\n"
19"X-Generator: Launchpad (build 18293)\n"
20
20
21#: plugins/LightDM/Greeter.cpp:123
21#: plugins/LightDM/Greeter.cpp:123
@@ -183,7 +183,7 @@ msgstr ""
183
183
184#: qml/Components/KeyboardShortcutsOverlay.qml:182
184#: qml/Components/KeyboardShortcutsOverlay.qml:182
185msgid "Opens the Application Drawer."
185msgid "Opens the Application Drawer."
186−msgstr ""
186+msgstr "Abre'l caxón d'aplicaciones."
187
187
188#: qml/Components/KeyboardShortcutsOverlay.qml:194
188#: qml/Components/KeyboardShortcutsOverlay.qml:194
189msgid "Scopes"
189msgid "Scopes"
@@ -331,19 +331,19 @@ msgstr ""
331
331
332#: qml/Components/VirtualTouchPad.qml:327
332#: qml/Components/VirtualTouchPad.qml:327
333msgid "Tap left button to click."
333msgid "Tap left button to click."
334−msgstr ""
334+msgstr "Calca nel botón esquierdu pa facer clic."
335
335
336#: qml/Components/VirtualTouchPad.qml:339
336#: qml/Components/VirtualTouchPad.qml:339
337msgid "Tap right button to right click."
337msgid "Tap right button to right click."
338−msgstr ""
338+msgstr "Calca nel botón drechu pa facer clic."
339
339
340#: qml/Components/VirtualTouchPad.qml:351
340#: qml/Components/VirtualTouchPad.qml:351
341msgid "Swipe with two fingers to scroll."
341msgid "Swipe with two fingers to scroll."
342−msgstr ""
342+msgstr "Esliza con dos deos pa desplazate."
343
343
344#: qml/Components/VirtualTouchPad.qml:396
344#: qml/Components/VirtualTouchPad.qml:396
345msgid "Find more settings in the system settings."
345msgid "Find more settings in the system settings."
346−msgstr ""
346+msgstr "Alcuentra más axustes nos Axustes del Sistema."
347
347
348#: qml/Dash/DashPageHeader.qml:361
348#: qml/Dash/DashPageHeader.qml:361
349msgctxt "Button: Open the Ubuntu Store"
349msgctxt "Button: Open the Ubuntu Store"
@@ -496,16 +496,16 @@ msgstr "Esbillar entornu d'escritoriu"
496
496
497#: qml/Launcher/Drawer.qml:80
497#: qml/Launcher/Drawer.qml:80
498msgid "Search…"
498msgid "Search…"
499−msgstr ""
499+msgstr "Guetar..."
500
500
501#: qml/Launcher/Drawer.qml:101
501#: qml/Launcher/Drawer.qml:101
502msgctxt "Apps sorted alphabetically"
502msgctxt "Apps sorted alphabetically"
503msgid "A-Z"
503msgid "A-Z"
504−msgstr ""
504+msgstr "A-Z"
505
505
506#: qml/Launcher/MoreAppsHeader.qml:32
506#: qml/Launcher/MoreAppsHeader.qml:32
507msgid "More apps in the store"
507msgid "More apps in the store"
508−msgstr ""
508+msgstr "Más aplicaciones na tienda"
509
509
510#: qml/Notifications/NotificationMenuItemFactory.qml:124
510#: qml/Notifications/NotificationMenuItemFactory.qml:124
511msgid "Show password"
511msgid "Show password"
po/gl.po+11−11
@@ -8,14 +8,14 @@ msgstr ""
8"Project-Id-Version: unity\n"
8"Project-Id-Version: unity\n"
9"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
9"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10"POT-Creation-Date: 2016-12-07 13:49+0000\n"
10"POT-Creation-Date: 2016-12-07 13:49+0000\n"
11−"PO-Revision-Date: 2016-01-15 14:56+0000\n"
11+"PO-Revision-Date: 2016-12-16 00:21+0000\n"
12"Last-Translator: Marcos Lans <Unknown>\n"
12"Last-Translator: Marcos Lans <Unknown>\n"
13"Language-Team: Galician <gl@li.org>\n"
13"Language-Team: Galician <gl@li.org>\n"
14"MIME-Version: 1.0\n"
14"MIME-Version: 1.0\n"
15"Content-Type: text/plain; charset=UTF-8\n"
15"Content-Type: text/plain; charset=UTF-8\n"
16"Content-Transfer-Encoding: 8bit\n"
16"Content-Transfer-Encoding: 8bit\n"
17"Plural-Forms: nplurals=2; plural=n != 1;\n"
17"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2016-12-15 04:56+0000\n"
18+"X-Launchpad-Export-Date: 2016-12-16 05:44+0000\n"
19"X-Generator: Launchpad (build 18293)\n"
19"X-Generator: Launchpad (build 18293)\n"
20
20
21#: plugins/LightDM/Greeter.cpp:123
21#: plugins/LightDM/Greeter.cpp:123
@@ -177,11 +177,11 @@ msgstr "Igual que premer nunha icona do Iniciador."
177
177
178#: qml/Components/KeyboardShortcutsOverlay.qml:177
178#: qml/Components/KeyboardShortcutsOverlay.qml:177
179msgid "Super + A"
179msgid "Super + A"
180−msgstr ""
180+msgstr "Super + A"
181
181
182#: qml/Components/KeyboardShortcutsOverlay.qml:182
182#: qml/Components/KeyboardShortcutsOverlay.qml:182
183msgid "Opens the Application Drawer."
183msgid "Opens the Application Drawer."
184−msgstr ""
184+msgstr "Abre o caixón dos aplicativos."
185
185
186#: qml/Components/KeyboardShortcutsOverlay.qml:194
186#: qml/Components/KeyboardShortcutsOverlay.qml:194
187msgid "Scopes"
187msgid "Scopes"
@@ -331,19 +331,19 @@ msgstr ""
331
331
332#: qml/Components/VirtualTouchPad.qml:327
332#: qml/Components/VirtualTouchPad.qml:327
333msgid "Tap left button to click."
333msgid "Tap left button to click."
334−msgstr ""
334+msgstr "Toque no botón esquerdo para facer clic."
335
335
336#: qml/Components/VirtualTouchPad.qml:339
336#: qml/Components/VirtualTouchPad.qml:339
337msgid "Tap right button to right click."
337msgid "Tap right button to right click."
338−msgstr ""
338+msgstr "Toque no botón dereito para clic dereito."
339
339
340#: qml/Components/VirtualTouchPad.qml:351
340#: qml/Components/VirtualTouchPad.qml:351
341msgid "Swipe with two fingers to scroll."
341msgid "Swipe with two fingers to scroll."
342−msgstr ""
342+msgstr "Esvare dous dedos para desprazar."
343
343
344#: qml/Components/VirtualTouchPad.qml:396
344#: qml/Components/VirtualTouchPad.qml:396
345msgid "Find more settings in the system settings."
345msgid "Find more settings in the system settings."
346−msgstr ""
346+msgstr "Atope máis axustes nos axustes do sistema."
347
347
348#: qml/Dash/DashPageHeader.qml:361
348#: qml/Dash/DashPageHeader.qml:361
349msgctxt "Button: Open the Ubuntu Store"
349msgctxt "Button: Open the Ubuntu Store"
@@ -495,16 +495,16 @@ msgstr "Seleccione o ambiente de escritorio"
495
495
496#: qml/Launcher/Drawer.qml:80
496#: qml/Launcher/Drawer.qml:80
497msgid "Search…"
497msgid "Search…"
498−msgstr ""
498+msgstr "Buscar..."
499
499
500#: qml/Launcher/Drawer.qml:101
500#: qml/Launcher/Drawer.qml:101
501msgctxt "Apps sorted alphabetically"
501msgctxt "Apps sorted alphabetically"
502msgid "A-Z"
502msgid "A-Z"
503−msgstr ""
503+msgstr "A-Z"
504
504
505#: qml/Launcher/MoreAppsHeader.qml:32
505#: qml/Launcher/MoreAppsHeader.qml:32
506msgid "More apps in the store"
506msgid "More apps in the store"
507−msgstr ""
507+msgstr "Máis aplicativos na tenda"
508
508
509#: qml/Notifications/NotificationMenuItemFactory.qml:124
509#: qml/Notifications/NotificationMenuItemFactory.qml:124
510msgid "Show password"
510msgid "Show password"
qml/Greeter/LoginList.qml−1
@@ -36,7 +36,6 @@ StyledItem {
36 readonly property int cellHeight: units.gu(5)
36 readonly property int cellHeight: units.gu(5)
37 readonly property int highlightedHeight: units.gu(15)
37 readonly property int highlightedHeight: units.gu(15)
38 readonly property int moveDuration: UbuntuAnimation.FastDuration
38 readonly property int moveDuration: UbuntuAnimation.FastDuration
39− property string selectedSession
40 property string currentSession
39 property string currentSession
41 readonly property string currentUser: userList.currentItem.username
40 readonly property string currentUser: userList.currentItem.username
42 property bool wasPrompted: false
41 property bool wasPrompted: false
qml/Greeter/WideView.qml+16−4
@@ -125,8 +125,6 @@ FocusScope {
125 id: loginList
125 id: loginList
126 objectName: "loginList"
126 objectName: "loginList"
127
127
128− property int selectedUserIndex: 0
129−
130 width: units.gu(40)
128 width: units.gu(40)
131 anchors {
129 anchors {
132 left: parent.left
130 left: parent.left
@@ -141,15 +139,29 @@ FocusScope {
141 Behavior on boxVerticalOffset { UbuntuNumberAnimation {} }
139 Behavior on boxVerticalOffset { UbuntuNumberAnimation {} }
142
140
143 model: root.userModel
141 model: root.userModel
144− currentSession: LightDMService.users.data(selectedUserIndex, LightDMService.userRoles.SessionRole);
145 onResponded: root.responded(response)
142 onResponded: root.responded(response)
146 onSelected: {
143 onSelected: {
147− root.selected(index)
144+ if (LightDMService.users.mock) {
145+ LightDMService.users.mock.currentUsername = currentUser;
146+ }
147+
148 loginList.selectedUserIndex = index;
148 loginList.selectedUserIndex = index;
149+ root.selected(index)
150+ currentSession = LightDMService.users.data(index, LightDMService.userRoles.SessionRole);
149 }
151 }
150 onSessionChooserButtonClicked: parent.state = "SessionsList"
152 onSessionChooserButtonClicked: parent.state = "SessionsList"
151
153
152 Keys.forwardTo: [sessionChooserLoader.item]
154 Keys.forwardTo: [sessionChooserLoader.item]
155+
156+ // This is only for testing
157+ Connections {
158+ // TODO when Qt 5.7
159+ //enabled: LightDM.Users.mock
160+ target: LightDMService.users
161+ onModelReset: {
162+ loginList.currentSession = LightDMService.users.data(loginList.selectedUserIndex, LightDMService.userRoles.SessionRole);
163+ }
164+ }
153 }
165 }
154
166
155 Loader {
167 Loader {