on xenial help sign in
partially revert the string change
ad6346fLukáš Tinkl
qml/Wizard/Pages/30-wifi.qml+2−10
@@ -69,16 +69,6 @@ LocalComponents.Page {
69 menuObjectPath: "/com/canonical/indicator/network/phone_wifi_settings"
69 menuObjectPath: "/com/canonical/indicator/network/phone_wifi_settings"
70 }
70 }
71
71
72− onContentAnimationRunningChanged: {
73− // workaround to prevent an endless loop while animating the (possibly word wrapped) label in and the listview count changing
74− if (!contentAnimationRunning) {
75− label.text = listview.count > 0 ? i18n.tr("Select one of the available Wi-Fi networks to access the features and updates")
76− : i18n.tr("No available Wi-Fi networks");
77− } else {
78− label.text = "";
79− }
80− }
81−
82 Component {
72 Component {
83 id: accessPointComponent
73 id: accessPointComponent
84 ListItem {
74 ListItem {
@@ -171,6 +161,8 @@ LocalComponents.Page {
171 font.weight: Font.Light
161 font.weight: Font.Light
172 color: textColor
162 color: textColor
173 wrapMode: Text.Wrap
163 wrapMode: Text.Wrap
164+ text: listview.count > 0 ? i18n.tr("Available Wi-Fi networks")
165+ : i18n.tr("No available Wi-Fi networks")
174 }
166 }
175
167
176 ListView {
168 ListView {