[evolution] Use translated window titles in HTML editor dialogs



commit 70978a7242bd0aac2191b3670afa1e528f58a7d0
Author: Milan Crha <mcrha redhat com>
Date:   Tue Mar 3 19:10:36 2015 +0100

    Use translated window titles in HTML editor dialogs
    
    The N_() only marks the string as "to be translated", but doesn't
    translate it, it's the _() used for.

 e-util/e-html-editor-cell-dialog.c        |    2 +-
 e-util/e-html-editor-find-dialog.c        |    2 +-
 e-util/e-html-editor-image-dialog.c       |    2 +-
 e-util/e-html-editor-link-dialog.c        |    2 +-
 e-util/e-html-editor-page-dialog.c        |    2 +-
 e-util/e-html-editor-paragraph-dialog.c   |    2 +-
 e-util/e-html-editor-spell-check-dialog.c |    2 +-
 e-util/e-html-editor-table-dialog.c       |    2 +-
 e-util/e-html-editor-text-dialog.c        |    2 +-
 9 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/e-util/e-html-editor-cell-dialog.c b/e-util/e-html-editor-cell-dialog.c
index 69ed4d6..91da7df 100644
--- a/e-util/e-html-editor-cell-dialog.c
+++ b/e-util/e-html-editor-cell-dialog.c
@@ -892,7 +892,7 @@ e_html_editor_cell_dialog_new (EHTMLEditor *editor)
                g_object_new (
                        E_TYPE_HTML_EDITOR_CELL_DIALOG,
                        "editor", editor,
-                       "title", N_("Cell Properties"),
+                       "title", _("Cell Properties"),
                        NULL));
 }
 
diff --git a/e-util/e-html-editor-find-dialog.c b/e-util/e-html-editor-find-dialog.c
index 2a19d01..6fe61cf 100644
--- a/e-util/e-html-editor-find-dialog.c
+++ b/e-util/e-html-editor-find-dialog.c
@@ -210,7 +210,7 @@ e_html_editor_find_dialog_new (EHTMLEditor *editor)
                        E_TYPE_HTML_EDITOR_FIND_DIALOG,
                        "editor", editor,
                        "icon-name", "edit-find",
-                       "title", N_("Find"),
+                       "title", _("Find"),
                        NULL));
 }
 
diff --git a/e-util/e-html-editor-image-dialog.c b/e-util/e-html-editor-image-dialog.c
index 81e0ee8..c2918ce 100644
--- a/e-util/e-html-editor-image-dialog.c
+++ b/e-util/e-html-editor-image-dialog.c
@@ -683,7 +683,7 @@ e_html_editor_image_dialog_new (EHTMLEditor *editor)
                g_object_new (
                        E_TYPE_HTML_EDITOR_IMAGE_DIALOG,
                        "editor", editor,
-                       "title", N_("Image Properties"),
+                       "title", _("Image Properties"),
                        NULL));
 }
 
diff --git a/e-util/e-html-editor-link-dialog.c b/e-util/e-html-editor-link-dialog.c
index 3cd0a60..697c1f0 100644
--- a/e-util/e-html-editor-link-dialog.c
+++ b/e-util/e-html-editor-link-dialog.c
@@ -396,6 +396,6 @@ e_html_editor_link_dialog_new (EHTMLEditor *editor)
                        E_TYPE_HTML_EDITOR_LINK_DIALOG,
                        "editor", editor,
                        "icon-name", "insert-link",
-                       "title", N_("Link Properties"),
+                       "title", _("Link Properties"),
                        NULL));
 }
diff --git a/e-util/e-html-editor-page-dialog.c b/e-util/e-html-editor-page-dialog.c
index 852c2cf..ca5494b 100644
--- a/e-util/e-html-editor-page-dialog.c
+++ b/e-util/e-html-editor-page-dialog.c
@@ -533,6 +533,6 @@ e_html_editor_page_dialog_new (EHTMLEditor *editor)
                g_object_new (
                        E_TYPE_HTML_EDITOR_PAGE_DIALOG,
                        "editor", editor,
-                       "title", N_("Page Properties"),
+                       "title", _("Page Properties"),
                        NULL));
 }
diff --git a/e-util/e-html-editor-paragraph-dialog.c b/e-util/e-html-editor-paragraph-dialog.c
index 6bbf039..654bde5 100644
--- a/e-util/e-html-editor-paragraph-dialog.c
+++ b/e-util/e-html-editor-paragraph-dialog.c
@@ -152,6 +152,6 @@ e_html_editor_paragraph_dialog_new (EHTMLEditor *editor)
                g_object_new (
                        E_TYPE_HTML_EDITOR_PARAGRAPH_DIALOG,
                        "editor", editor,
-                       "title", N_("Paragraph Properties"),
+                       "title", _("Paragraph Properties"),
                        NULL));
 }
diff --git a/e-util/e-html-editor-spell-check-dialog.c b/e-util/e-html-editor-spell-check-dialog.c
index 5d632a1..3deac1c 100644
--- a/e-util/e-html-editor-spell-check-dialog.c
+++ b/e-util/e-html-editor-spell-check-dialog.c
@@ -615,7 +615,7 @@ e_html_editor_spell_check_dialog_new (EHTMLEditor *editor)
        return g_object_new (
                E_TYPE_HTML_EDITOR_SPELL_CHECK_DIALOG,
                "editor", editor,
-               "title", N_("Spell Checking"),
+               "title", _("Spell Checking"),
                NULL);
 }
 
diff --git a/e-util/e-html-editor-table-dialog.c b/e-util/e-html-editor-table-dialog.c
index bd434a2..1ca52b7 100644
--- a/e-util/e-html-editor-table-dialog.c
+++ b/e-util/e-html-editor-table-dialog.c
@@ -906,7 +906,7 @@ e_html_editor_table_dialog_new (EHTMLEditor *editor)
                g_object_new (
                        E_TYPE_HTML_EDITOR_TABLE_DIALOG,
                        "editor", editor,
-                       "title", N_("Table Properties"),
+                       "title", _("Table Properties"),
                        NULL));
 }
 
diff --git a/e-util/e-html-editor-text-dialog.c b/e-util/e-html-editor-text-dialog.c
index e0eb5fc..9a8e361 100644
--- a/e-util/e-html-editor-text-dialog.c
+++ b/e-util/e-html-editor-text-dialog.c
@@ -293,6 +293,6 @@ e_html_editor_text_dialog_new (EHTMLEditor *editor)
                g_object_new (
                        E_TYPE_HTML_EDITOR_TEXT_DIALOG,
                        "editor", editor,
-                       "title", N_("Text Properties"),
+                       "title", _("Text Properties"),
                        NULL));
 }


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