app: use "Add Event…" instead of "Add new event…"

This commit is contained in:
Erick Pérez Castellanos
2015-01-27 17:49:44 -05:00
parent 9c33bd0dfc
commit e67fc01279
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -3,7 +3,7 @@
<menu id="appmenu"> <menu id="appmenu">
<section> <section>
<item> <item>
<attribute name="label" translatable="yes">_New Event</attribute> <attribute name="label" translatable="yes">Add Eve_nt…</attribute>
<attribute name="action">app.new</attribute> <attribute name="action">app.new</attribute>
<attribute name="accel">&lt;Primary&gt;n</attribute> <attribute name="accel">&lt;Primary&gt;n</attribute>
</item> </item>
@@ -28,7 +28,7 @@
<menu id="winmenu"> <menu id="winmenu">
<section> <section>
<item> <item>
<attribute name="label" translatable="yes">_New Event</attribute> <attribute name="label" translatable="yes">Add Eve_nt…</attribute>
<attribute name="action">app.new</attribute> <attribute name="action">app.new</attribute>
</item> </item>
<item> <item>
+1 -1
View File
@@ -97,7 +97,7 @@
<object class="GtkButton"> <object class="GtkButton">
<property name="visible">True</property> <property name="visible">True</property>
<property name="valign">end</property> <property name="valign">end</property>
<property name="label" translatable="yes">Add new event…</property> <property name="label" translatable="yes">Add Event…</property>
<signal name="clicked" handler="add_event_clicked_cb" object="GcalYearView" swapped="yes" /> <signal name="clicked" handler="add_event_clicked_cb" object="GcalYearView" swapped="yes" />
</object> </object>
<packing> <packing>
+1 -1
View File
@@ -605,7 +605,7 @@ gcal_month_view_init (GcalMonthView *self)
gtk_list_box_set_selection_mode (GTK_LIST_BOX (priv->events_list_box), GTK_SELECTION_NONE); gtk_list_box_set_selection_mode (GTK_LIST_BOX (priv->events_list_box), GTK_SELECTION_NONE);
gtk_list_box_set_header_func (GTK_LIST_BOX (priv->events_list_box), update_list_box_headers, self, NULL); gtk_list_box_set_header_func (GTK_LIST_BOX (priv->events_list_box), update_list_box_headers, self, NULL);
gtk_style_context_remove_class (gtk_widget_get_style_context (priv->events_list_box), GTK_STYLE_CLASS_LIST); gtk_style_context_remove_class (gtk_widget_get_style_context (priv->events_list_box), GTK_STYLE_CLASS_LIST);
button = gtk_button_new_with_label (_("Add new event…")); button = gtk_button_new_with_label (_("Add Event…"));
g_object_set (button, "margin", 6, "hexpand", TRUE, NULL); g_object_set (button, "margin", 6, "hexpand", TRUE, NULL);
g_signal_connect (button, "clicked", G_CALLBACK (add_new_event_button_cb), self); g_signal_connect (button, "clicked", G_CALLBACK (add_new_event_button_cb), self);