[dia: 1/2] Simple L10 fix for two strings.
- From: Zander <zbrown src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dia: 1/2] Simple L10 fix for two strings.
- Date: Fri, 13 Dec 2019 14:08:57 +0000 (UTC)
commit 8b7a1cf7d1057745471bdf554b38e1eab0b518fa
Author: Sabri Ünal <libreajans gmail com>
Date: Fri Dec 13 14:08:38 2019 +0000
Simple L10 fix for two strings.
This patch marks two strings as transtatable in the
"Add New Guide" dialog. Also makes two Menu strings
Title Case.
app/dia-guide-dialog.c | 4 ++--
lib/standard-path.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/app/dia-guide-dialog.c b/app/dia-guide-dialog.c
index 382255c8..ddb82f9a 100644
--- a/app/dia-guide-dialog.c
+++ b/app/dia-guide-dialog.c
@@ -174,8 +174,8 @@ dia_guide_dialog_init (DiaGuideDialog *self)
priv->orientation_menu = dia_option_menu_new ();
gtk_table_attach (GTK_TABLE (table), priv->orientation_menu, 1,2, 0,1,
GTK_FILL, GTK_FILL, 0, 0);
- dia_option_menu_add_item (DIA_OPTION_MENU (priv->orientation_menu), "Horizontal",
GTK_ORIENTATION_HORIZONTAL);
- dia_option_menu_add_item (DIA_OPTION_MENU (priv->orientation_menu), "Vertical", GTK_ORIENTATION_VERTICAL);
+ dia_option_menu_add_item (DIA_OPTION_MENU (priv->orientation_menu), _("Horizontal"),
GTK_ORIENTATION_HORIZONTAL);
+ dia_option_menu_add_item (DIA_OPTION_MENU (priv->orientation_menu), _("Vertical"),
GTK_ORIENTATION_VERTICAL);
dia_option_menu_set_active (DIA_OPTION_MENU (priv->orientation_menu), GTK_ORIENTATION_HORIZONTAL);
gtk_widget_show (priv->orientation_menu);
diff --git a/lib/standard-path.c b/lib/standard-path.c
index 44f759aa..ac35a186 100644
--- a/lib/standard-path.c
+++ b/lib/standard-path.c
@@ -740,8 +740,8 @@ _show_control_lines (DiaObject *obj, Point *clicked, gpointer data)
static DiaMenuItem _stdpath_menu_items[] = {
{ N_("Convert to Bezier"), _convert_to_beziers_callback, NULL, DIAMENU_ACTIVE },
{ N_("Invert Path"), _invert_path_callback, NULL, DIAMENU_ACTIVE },
- { N_("Flip horizontal"), _path_flip_callback, NULL, DIAMENU_ACTIVE },
- { N_("Flip vertical"), _path_flip_callback, GINT_TO_POINTER(1), DIAMENU_ACTIVE },
+ { N_("Flip Horizontal"), _path_flip_callback, NULL, DIAMENU_ACTIVE },
+ { N_("Flip Vertical"), _path_flip_callback, GINT_TO_POINTER(1), DIAMENU_ACTIVE },
{ N_("Rotate"), _path_rotate_callback, NULL, DIAMENU_ACTIVE },
{ N_("Shear"), _path_shear_callback, NULL, DIAMENU_ACTIVE },
{ N_("Show Control Lines"), _show_control_lines, NULL, DIAMENU_ACTIVE | DIAMENU_TOGGLE }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]