~donadigo/switchboard-plug-networking/wifi-list-placeholders

« back to all changes in this revision

Viewing changes to src/common/Widgets/AbstractWifiInterface.vala

  • Committer: Adam Bieńkowski
  • Date: 2015-08-03 15:19:32 UTC
  • Revision ID: donadigos159@gmail.com-20150803151932-91m4tjjhbagalme3
Use proper labels and elipsis

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
                placeholder = new Gtk.Stack ();
41
41
                placeholder.visible = true;
42
42
 
43
 
                var no_aps = new Gtk.Label (_("No Access Points Available"));
 
43
                var no_aps = new Gtk.Label (_("No Access Points Available
 
44
There are no wireless access points within range"));
44
45
                no_aps.visible = true;
45
46
                no_aps.get_style_context ().add_class ("h2");
46
47
 
47
 
                var wireless_off = new Gtk.Label (_("To see the List of Available Access Points turn on the Wireless"));
 
48
                var wireless_off = new Gtk.Label (_("Wireless Is Disabled
 
49
Enable wireless to discover nearby wireless access points"));
48
50
                wireless_off.visible = true;
49
51
                wireless_off.wrap = true;
50
52
                wireless_off.wrap_mode = Pango.WrapMode.WORD_CHAR;
52
54
                wireless_off.get_style_context ().add_class ("h2");
53
55
                wireless_off.justify = Gtk.Justification.CENTER;
54
56
 
55
 
                var scanning = new Gtk.Label (_("Scanning for Access Points..."));
 
57
                var scanning = new Gtk.Label (_("Scanning for Access Points…"));
56
58
                scanning.visible = true;
57
59
                scanning.wrap = true;
58
60
                scanning.wrap_mode = Pango.WrapMode.WORD_CHAR;