Mark string for translation which is already translated
[claws.git] / src / plugins / managesieve / sieve_editor.c
index 28f75f5..a6be14f 100644 (file)
@@ -578,11 +578,11 @@ MENUITEM_ADDUI_MANAGER(ui_manager, "/Menu/Filter", "Revert", "Filter/Revert", GT
                         G_CALLBACK(sieve_editor_changed_cb), page);
 
        /* set text font */
-       if (prefs_common.textfont) {
+       if (prefs_common_get_prefs()->textfont) {
                PangoFontDescription *font_desc;
 
                font_desc = pango_font_description_from_string
-                       (prefs_common.textfont);
+                       (prefs_common_get_prefs()->textfont);
                if (font_desc) {
                        gtk_widget_modify_font(text, font_desc);
                        pango_font_description_free(font_desc);
@@ -664,7 +664,7 @@ static void sieve_editor_set_modified(SieveEditorPage *page,
                        modified);
 
        title = g_strdup_printf(_("%s - Sieve Filter%s"), page->script_name,
-                       modified ? " [Edited]" : "");
+                       modified ? _(" [Edited]") : "");
        gtk_window_set_title (GTK_WINDOW (page->window), title);
        g_free(title);