[gnome-control-center/wip/networking2: 15/36] network: Fix capitalization of Last Used



commit ef91b2a8a65721b271687bba01c1255bbd2c7345
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Jan 6 12:44:14 2013 -0500

    network: Fix capitalization of Last Used
    
    Based on review feedback.

 panels/network/connection-editor/ce-page-details.c |    6 +++---
 panels/network/connection-editor/details-page.ui   |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/panels/network/connection-editor/ce-page-details.c b/panels/network/connection-editor/ce-page-details.c
index ff8edb4..6e25f3e 100644
--- a/panels/network/connection-editor/ce-page-details.c
+++ b/panels/network/connection-editor/ce-page-details.c
@@ -88,7 +88,7 @@ update_last_used (CEPageDetails *page, NMConnection *connection)
                 goto out;
         timestamp = nm_setting_connection_get_timestamp (s_con);
         if (timestamp == 0) {
-                last_used = g_strdup (_("never"));
+                last_used = g_strdup (_("Never"));
                 goto out;
         }
 
@@ -99,9 +99,9 @@ update_last_used (CEPageDetails *page, NMConnection *connection)
         diff = g_date_time_difference  (now, then);
         days = diff / G_TIME_SPAN_DAY;
         if (days == 0)
-                last_used = g_strdup (_("today"));
+                last_used = g_strdup (_("Today"));
         else if (days == 1)
-                last_used = g_strdup (_("yesterday"));
+                last_used = g_strdup (_("Yesterday"));
         else
                 last_used = g_strdup_printf (ngettext ("%i day ago", "%i days ago", days), days);
 out:
diff --git a/panels/network/connection-editor/details-page.ui b/panels/network/connection-editor/details-page.ui
index 02c9eca..346df6a 100644
--- a/panels/network/connection-editor/details-page.ui
+++ b/panels/network/connection-editor/details-page.ui
@@ -272,7 +272,7 @@
             <property name="visible">True</property>
             <property name="can_focus">False</property>
             <property name="xalign">1</property>
-            <property name="label" translatable="yes">Last used</property>
+            <property name="label" translatable="yes">Last Used</property>
             <style>
               <class name="dim-label"/>
             </style>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]