[recipes] Use Header Case for buttons



commit f11a038095bd2a537a9b30a45ac00ca917bb408e
Author: Jeremy Bicha <jbicha ubuntu com>
Date:   Sat Feb 11 08:46:20 2017 -0500

    Use Header Case for buttons
    
    https://developer.gnome.org/hig/stable/writing-style.html
    
    https://bugzilla.gnome.org/show_bug.cgi?id=778494

 src/gr-details-page.ui |    2 +-
 src/gr-list-page.c     |   12 ++++++------
 src/gr-meal.c          |    8 ++++----
 src/gr-recipes-page.c  |    2 +-
 src/gr-window.ui       |    2 +-
 5 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/src/gr-details-page.ui b/src/gr-details-page.ui
index d1c86da..4c3eda4 100644
--- a/src/gr-details-page.ui
+++ b/src/gr-details-page.ui
@@ -144,7 +144,7 @@
                                 <property name="halign">start</property>
                                 <property name="margin-top">20</property>
                                 <property name="focus-on-click">0</property>
-                                <property name="label" translatable="yes">_Buy ingredients</property>
+                                <property name="label" translatable="yes">_Buy Ingredients</property>
                                 <signal name="clicked" handler="shop_it" swapped="yes"/>
                               </object>
                             </child>
diff --git a/src/gr-list-page.c b/src/gr-list-page.c
index a01d3be..1332ba5 100644
--- a/src/gr-list-page.c
+++ b/src/gr-list-page.c
@@ -228,17 +228,17 @@ get_category_title (GrDiets diet)
 {
         switch (diet) {
         case GR_DIET_GLUTEN_FREE:
-                return _("Gluten-free recipes");
+                return _("Gluten-free Recipes");
         case GR_DIET_NUT_FREE:
-                return _("Nut-free recipes");
+                return _("Nut-free Recipes");
         case GR_DIET_VEGAN:
-                return _("Vegan recipes");
+                return _("Vegan Recipes");
         case GR_DIET_VEGETARIAN:
-                return _("Vegetarian recipes");
+                return _("Vegetarian Recipes");
         case GR_DIET_MILK_FREE:
-                return _("Milk-free recipes");
+                return _("Milk-free Recipes");
         default:
-                return  _("Other dietary restrictions");
+                return  _("Other Dietary Restrictions");
         }
 }
 
diff --git a/src/gr-meal.c b/src/gr-meal.c
index 8478e17..eb6e86b 100644
--- a/src/gr-meal.c
+++ b/src/gr-meal.c
@@ -41,13 +41,13 @@ static const char *names[] = {
 };
 
 static const char *titles[] = {
-        N_("Main course"),
+        N_("Main Course"),
         N_("Snacks"),
         N_("Breakfast"),
-        N_("Side dishes"),
+        N_("Side Dishes"),
         N_("Desserts"),
-        N_("Cake and baking"),
-        N_("Drinks and cocktails"),
+        N_("Cake and Baking"),
+        N_("Drinks and Cocktails"),
         N_("Pizza"),
         N_("Pasta"),
         N_("Other")
diff --git a/src/gr-recipes-page.c b/src/gr-recipes-page.c
index 55f33a3..27fca34 100644
--- a/src/gr-recipes-page.c
+++ b/src/gr-recipes-page.c
@@ -225,7 +225,7 @@ populate_diets_from_store (GrRecipesPage *self)
         container_remove_all (GTK_CONTAINER (self->diet_box));
         container_remove_all (GTK_CONTAINER (self->diet_box2));
 
-        tile = gr_category_tile_new_with_label ("mine", _("My recipes"));
+        tile = gr_category_tile_new_with_label ("mine", _("My Recipes"));
         gtk_widget_show (tile);
         gtk_container_add (GTK_CONTAINER (self->diet_box), tile);
         g_signal_connect (tile, "clicked", G_CALLBACK (category_clicked), self);
diff --git a/src/gr-window.ui b/src/gr-window.ui
index 795ed35..93e2888 100644
--- a/src/gr-window.ui
+++ b/src/gr-window.ui
@@ -112,7 +112,7 @@
               <object class="GtkButton" id="cooking_button">
                 <property name="visible">1</property>
                 <property name="use-underline">1</property>
-                <property name="label" translatable="yes">_Start cooking</property>
+                <property name="label" translatable="yes">_Start Cooking</property>
                 <signal name="clicked" handler="start_or_stop_cooking" swapped="yes"/>
                 <style>
                   <class name="suggested-action"/>


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