]> spindle.queued.net Git - midori/commitdiff
Do not localize object properties, except WebSettings
authorChristian Dywan <christian@twotoasts.de>
Wed, 15 Oct 2008 01:32:11 +0000 (03:32 +0200)
committerChristian Dywan <christian@twotoasts.de>
Wed, 15 Oct 2008 01:32:11 +0000 (03:32 +0200)
Property name localization is only useful if the
strings are meant to be used in a user interface,
such as is the case with WebSettings, or for
graphical interface builders, which are not of
our concern, since we don't use Glade and friends
and nobody else is going to use our widgets.

In short, make translation work much easier.

13 files changed:
katze/katze-arrayaction.c
katze/katze-item.c
katze/katze-throbber.c
katze/katze-throbber.h
midori/compat.h
midori/midori-addons.c
midori/midori-app.c
midori/midori-browser.c
midori/midori-locationaction.c
midori/midori-panel.c
midori/midori-preferences.c
midori/midori-searchaction.c
midori/midori-view.c

index a47f4f928c09222d062de3d593f28665b82d42fe..bf99b8904dd1e6779b2645f4b6cce811e57d626c 100644 (file)
@@ -120,8 +120,8 @@ katze_array_action_class_init (KatzeArrayActionClass* class)
                                      PROP_ARRAY,
                                      g_param_spec_object (
                                      "array",
-                                     _("Array"),
-                                     _("The array the action represents"),
+                                     "Array",
+                                     "The array the action represents",
                                      KATZE_TYPE_ARRAY,
                                      G_PARAM_READWRITE));
 }
index f77f4b8689b7dfe7806166caaf4a95b5f4ecc2e8..f2a40d249e93c3ec78537ecebf06220f1929d749 100644 (file)
@@ -71,8 +71,8 @@ katze_item_class_init (KatzeItemClass* class)
                                      PROP_NAME,
                                      g_param_spec_string (
                                      "name",
-                                     _("Name"),
-                                     _("The name of the item"),
+                                     "Name",
+                                     "The name of the item",
                                      NULL,
                                      flags));
 
@@ -80,8 +80,8 @@ katze_item_class_init (KatzeItemClass* class)
                                      PROP_TEXT,
                                      g_param_spec_string (
                                      "text",
-                                     _("Text"),
-                                     _("The descriptive text of the item"),
+                                     "Text",
+                                     "The descriptive text of the item",
                                      NULL,
                                      flags));
 
@@ -89,8 +89,8 @@ katze_item_class_init (KatzeItemClass* class)
                                      PROP_URI,
                                      g_param_spec_string (
                                      "uri",
-                                     _("URI"),
-                                     _("The URI of the item"),
+                                     "URI",
+                                     "The URI of the item",
                                      NULL,
                                      flags));
 
@@ -98,8 +98,8 @@ katze_item_class_init (KatzeItemClass* class)
                                      PROP_ICON,
                                      g_param_spec_string (
                                      "icon",
-                                     _("Icon"),
-                                     _("The icon of the item"),
+                                     "Icon",
+                                     "The icon of the item",
                                      NULL,
                                      flags));
 
@@ -107,8 +107,8 @@ katze_item_class_init (KatzeItemClass* class)
                                      PROP_TOKEN,
                                      g_param_spec_string (
                                      "token",
-                                     _("Token"),
-                                     _("The token of the item"),
+                                     "Token",
+                                     "The token of the item",
                                      NULL,
                                      flags));
 
@@ -116,8 +116,8 @@ katze_item_class_init (KatzeItemClass* class)
                                      PROP_ADDED,
                                      g_param_spec_string (
                                      "added",
-                                     _("Added"),
-                                     _("When the item was added"),
+                                     "Added",
+                                     "When the item was added",
                                      NULL,
                                      flags));
 
@@ -125,8 +125,8 @@ katze_item_class_init (KatzeItemClass* class)
                                      PROP_VISITS,
                                      g_param_spec_int (
                                      "visits",
-                                     _("Visits"),
-                                     _("The number of visits of the item"),
+                                     "Visits",
+                                     "The number of visits of the item",
                                      G_MININT,
                                      G_MAXINT,
                                      0,
index b8ea1847b87f4e85a33bbb5e559268736b29d042..35396fe5e2265514098388ef9e8ebffe773af134 100644 (file)
@@ -13,7 +13,6 @@
 
 #include "katze-utils.h"
 
-#include <gtk/gtk.h>
 #include <glib/gi18n.h>
 
 struct _KatzeThrobber
@@ -51,7 +50,7 @@ enum
 };
 
 static void
-katze_throbber_dispose(GObject* object);
+katze_throbber_dispose (GObject* object);
 
 static void
 katze_throbber_set_property (GObject* object,
@@ -132,8 +131,8 @@ katze_throbber_class_init (KatzeThrobberClass* class)
                                      PROP_ICON_SIZE,
                                      g_param_spec_int (
                                      "icon-size",
-                                     _("Icon size"),
-                                     _("Symbolic size to use for the animation"),
+                                     "Icon size",
+                                     "Symbolic size to use for the animation",
                                      0, G_MAXINT, GTK_ICON_SIZE_MENU,
                                      flags));
 
@@ -141,8 +140,8 @@ katze_throbber_class_init (KatzeThrobberClass* class)
                                      PROP_ICON_NAME,
                                      g_param_spec_string (
                                      "icon-name",
-                                     _("Icon Name"),
-                                     _("The name of an icon containing animation frames"),
+                                     "Icon Name",
+                                     "The name of an icon containing animation frames",
                                      "process-working",
                                      flags));
 
@@ -150,8 +149,8 @@ katze_throbber_class_init (KatzeThrobberClass* class)
                                      PROP_PIXBUF,
                                      g_param_spec_object (
                                      "pixbuf",
-                                     _("Pixbuf"),
-                                     _("A GdkPixbuf containing animation frames"),
+                                     "Pixbuf",
+                                     "A GdkPixbuf containing animation frames",
                                      GDK_TYPE_PIXBUF,
                                      G_PARAM_READWRITE));
 
@@ -159,8 +158,8 @@ katze_throbber_class_init (KatzeThrobberClass* class)
                                      PROP_ANIMATED,
                                      g_param_spec_boolean (
                                      "animated",
-                                     _("Animated"),
-                                     _("Whether the throbber should be animated"),
+                                     "Animated",
+                                     "Whether the throbber should be animated",
                                      FALSE,
                                      flags));
 
@@ -168,8 +167,8 @@ katze_throbber_class_init (KatzeThrobberClass* class)
                                      PROP_STATIC_ICON_NAME,
                                      g_param_spec_string (
                                      "static-icon-name",
-                                     _("Static Icon Name"),
-                                     _("The name of an icon to be used as the static image"),
+                                     "Static Icon Name",
+                                     "The name of an icon to be used as the static image",
                                      NULL,
                                      flags));
 
@@ -177,8 +176,8 @@ katze_throbber_class_init (KatzeThrobberClass* class)
                                      PROP_PIXBUF,
                                      g_param_spec_object (
                                      "static-pixbuf",
-                                     _("Static Pixbuf"),
-                                     _("A GdkPixbuf to be used as the static image"),
+                                     "Static Pixbuf",
+                                     "A GdkPixbuf to be used as the static image",
                                      GDK_TYPE_PIXBUF,
                                      G_PARAM_READWRITE));
 
@@ -186,8 +185,8 @@ katze_throbber_class_init (KatzeThrobberClass* class)
                                      PROP_STATIC_STOCK_ID,
                                      g_param_spec_string (
                                      "static-stock-id",
-                                     _("Static Stock ID"),
-                                     _("The stock ID of an icon to be used as the static image"),
+                                     "Static Stock ID",
+                                     "The stock ID of an icon to be used as the static image",
                                      NULL,
                                      flags));
 }
index b4ef681c19b3ae85e65f4961362fe2a35f6fd9fc..34d00044f99588d07503ea0ef2ebc066e8e1d249 100644 (file)
@@ -12,7 +12,6 @@
 #ifndef __KATZE_THROBBER_H__
 #define __KATZE_THROBBER_H__
 
-#include <gdk/gdk.h>
 #include <gtk/gtk.h>
 
 G_BEGIN_DECLS
index a3c6d5c122f0e630f23274c825d0f8f8610f95ff..bd03cf97598d6bae4d732b338d28adf209734738 100644 (file)
@@ -16,9 +16,8 @@
     #include <config.h>
 #endif
 
-#include <glib.h>
 #if HAVE_GIO
-#include <gio/gio.h>
+    #include <gio/gio.h>
 #endif
 #include <webkit/webkit.h>
 
index 9842a468d36d0410369a62d12c3d8e81389c80b1..8415215d4004c9514b6bdfe1d8293bc3841bad81 100644 (file)
@@ -112,8 +112,8 @@ midori_addons_class_init (MidoriAddonsClass* class)
                                      PROP_WEB_WIDGET,
                                      g_param_spec_object (
                                      "web-widget",
-                                     _("Web Widget"),
-                                     _("The assigned web widget"),
+                                     "Web Widget",
+                                     "The assigned web widget",
                                      GTK_TYPE_WIDGET,
                                      G_PARAM_READWRITE));
 
@@ -121,8 +121,8 @@ midori_addons_class_init (MidoriAddonsClass* class)
                                      PROP_KIND,
                                      g_param_spec_enum (
                                      "kind",
-                                     _("Kind"),
-                                     _("The kind of addons"),
+                                     "Kind",
+                                     "The kind of addons",
                                      MIDORI_TYPE_ADDON_KIND,
                                      MIDORI_ADDON_NONE,
                                      flags));
index 2c4e15954dcd2deb711699790e402a31c528db4d..14e41a67882afa29582584037fa3a4aa86f95bcb 100644 (file)
@@ -125,8 +125,8 @@ midori_app_class_init (MidoriAppClass* class)
                                      PROP_SETTINGS,
                                      g_param_spec_object (
                                      "settings",
-                                     _("Settings"),
-                                     _("The associated settings"),
+                                     "Settings",
+                                     "The associated settings",
                                      MIDORI_TYPE_WEB_SETTINGS,
                                      G_PARAM_READWRITE));
 
@@ -134,8 +134,8 @@ midori_app_class_init (MidoriAppClass* class)
                                      PROP_BOOKMARKS,
                                      g_param_spec_object (
                                      "bookmarks",
-                                     _("Bookmarks"),
-                                     _("The bookmarks folder, containing all bookmarks"),
+                                     "Bookmarks",
+                                     "The bookmarks folder, containing all bookmarks",
                                      KATZE_TYPE_ARRAY,
                                      G_PARAM_READWRITE));
 
@@ -143,8 +143,8 @@ midori_app_class_init (MidoriAppClass* class)
                                      PROP_TRASH,
                                      g_param_spec_object (
                                      "trash",
-                                     _("Trash"),
-                                     _("The trash, collecting recently closed tabs and windows"),
+                                     "Trash",
+                                     "The trash, collecting recently closed tabs and windows",
                                      KATZE_TYPE_ARRAY,
                                      G_PARAM_READWRITE));
 
@@ -152,8 +152,8 @@ midori_app_class_init (MidoriAppClass* class)
                                      PROP_SEARCH_ENGINES,
                                      g_param_spec_object (
                                      "search-engines",
-                                     _("Search Engines"),
-                                     _("The list of search engines"),
+                                     "Search Engines",
+                                     "The list of search engines",
                                      KATZE_TYPE_ARRAY,
                                      G_PARAM_READWRITE));
 
@@ -161,8 +161,8 @@ midori_app_class_init (MidoriAppClass* class)
                                      PROP_BROWSER,
                                      g_param_spec_object (
                                      "browser",
-                                     _("Browser"),
-                                     _("The current browser"),
+                                     "Browser",
+                                     "The current browser",
                                      MIDORI_TYPE_BROWSER,
                                      G_PARAM_READABLE));
 
@@ -170,8 +170,8 @@ midori_app_class_init (MidoriAppClass* class)
                                      PROP_BROWSER_COUNT,
                                      g_param_spec_uint (
                                      "browser-count",
-                                     _("Browser Count"),
-                                     _("The current number of browsers"),
+                                     "Browser Count",
+                                     "The current number of browsers",
                                      0, G_MAXUINT, 0,
                                      G_PARAM_READABLE));
 
@@ -179,8 +179,8 @@ midori_app_class_init (MidoriAppClass* class)
                                      PROP_HISTORY,
                                      g_param_spec_object (
                                      "history",
-                                     _("History"),
-                                     _("The list of history items"),
+                                     "History",
+                                     "The list of history items",
                                      KATZE_TYPE_ARRAY,
                                      G_PARAM_READWRITE));
 
index 0cc425fd45b1f8e8d6c562a0a26bfa78ac1ccf11..9c96b8908fd822b4fe83fb1bb53cb4cc04f5470e 100644 (file)
@@ -963,8 +963,8 @@ midori_browser_class_init (MidoriBrowserClass* class)
                                      PROP_MENUBAR,
                                      g_param_spec_object (
                                      "menubar",
-                                     _("Menubar"),
-                                     _("The menubar"),
+                                     "Menubar",
+                                     "The menubar",
                                      GTK_TYPE_MENU_BAR,
                                      G_PARAM_READABLE));
 
@@ -972,8 +972,8 @@ midori_browser_class_init (MidoriBrowserClass* class)
                                      PROP_NAVIGATIONBAR,
                                      g_param_spec_object (
                                      "navigationbar",
-                                     _("Navigationbar"),
-                                     _("The navigationbar"),
+                                     "Navigationbar",
+                                     "The navigationbar",
                                      GTK_TYPE_TOOLBAR,
                                      G_PARAM_READABLE));
 
@@ -981,8 +981,8 @@ midori_browser_class_init (MidoriBrowserClass* class)
                                      PROP_URI,
                                      g_param_spec_string (
                                      "uri",
-                                     _("URI"),
-                                     _("The current URI"),
+                                     "URI",
+                                     "The current URI",
                                      "about:blank",
                                      G_PARAM_READWRITE));
 
@@ -990,8 +990,8 @@ midori_browser_class_init (MidoriBrowserClass* class)
                                      PROP_TAB,
                                      g_param_spec_object (
                                      "tab",
-                                     _("Tab"),
-                                     _("The current tab"),
+                                     "Tab",
+                                     "The current tab",
                                      GTK_TYPE_WIDGET,
                                      G_PARAM_READWRITE));
 
@@ -999,8 +999,8 @@ midori_browser_class_init (MidoriBrowserClass* class)
                                      PROP_STATUSBAR,
                                      g_param_spec_object (
                                      "statusbar",
-                                     _("Statusbar"),
-                                     _("The statusbar"),
+                                     "Statusbar",
+                                     "The statusbar",
                                      GTK_TYPE_STATUSBAR,
                                      G_PARAM_READABLE));
 
@@ -1019,8 +1019,8 @@ midori_browser_class_init (MidoriBrowserClass* class)
                                      PROP_STATUSBAR_TEXT,
                                      g_param_spec_string (
                                      "statusbar-text",
-                                     _("Statusbar Text"),
-                                     _("The text that is displayed in the statusbar"),
+                                     "Statusbar Text",
+                                     "The text that is displayed in the statusbar",
                                      "",
                                      flags));
 
@@ -1038,8 +1038,8 @@ midori_browser_class_init (MidoriBrowserClass* class)
                                      PROP_SETTINGS,
                                      g_param_spec_object (
                                      "settings",
-                                     _("Settings"),
-                                     _("The associated settings"),
+                                     "Settings",
+                                     "The associated settings",
                                      MIDORI_TYPE_WEB_SETTINGS,
                                      G_PARAM_READWRITE));
 
@@ -1055,8 +1055,8 @@ midori_browser_class_init (MidoriBrowserClass* class)
                                      PROP_BOOKMARKS,
                                      g_param_spec_object (
                                      "bookmarks",
-                                     _("Bookmarks"),
-                                     _("The bookmarks folder, containing all bookmarks"),
+                                     "Bookmarks",
+                                     "The bookmarks folder, containing all bookmarks",
                                      KATZE_TYPE_ARRAY,
                                      G_PARAM_READWRITE));
 
@@ -1074,8 +1074,8 @@ midori_browser_class_init (MidoriBrowserClass* class)
                                      PROP_TRASH,
                                      g_param_spec_object (
                                      "trash",
-                                     _("Trash"),
-                                     _("The trash, collecting recently closed tabs and windows"),
+                                     "Trash",
+                                     "The trash, collecting recently closed tabs and windows",
                                      KATZE_TYPE_ARRAY,
                                      G_PARAM_READWRITE));
 
@@ -1091,8 +1091,8 @@ midori_browser_class_init (MidoriBrowserClass* class)
                                      PROP_SEARCH_ENGINES,
                                      g_param_spec_object (
                                      "search-engines",
-                                     _("Search Engines"),
-                                     _("The list of search engines to be used for web search"),
+                                     "Search Engines",
+                                     "The list of search engines to be used for web search",
                                      KATZE_TYPE_ARRAY,
                                      G_PARAM_READWRITE));
 
@@ -1108,8 +1108,8 @@ midori_browser_class_init (MidoriBrowserClass* class)
                                      PROP_HISTORY,
                                      g_param_spec_object (
                                      "history",
-                                     _("History"),
-                                     _("The list of history items"),
+                                     "History",
+                                     "The list of history items",
                                      KATZE_TYPE_ARRAY,
                                      G_PARAM_READWRITE));
 }
@@ -3048,7 +3048,7 @@ static const GtkToggleActionEntry toggle_entries[] = {
    N_("_Navigationbar"), "",
    N_("Show navigationbar"), G_CALLBACK (_action_navigationbar_activate),
    FALSE },
- { "Panel", NULL,
+ { "Panel", GTK_STOCK_INDENT,
    N_("Side_panel"), "F9",
    N_("Show sidepanel"), G_CALLBACK (_action_panel_activate),
    FALSE },
index b5294388a2418b7174f381272daca943290b19cd..b7d56b73968dc7b24c5d1c04e91c43a3be9377bc 100644 (file)
@@ -179,8 +179,8 @@ midori_location_action_class_init (MidoriLocationActionClass* class)
                                      PROP_PROGRESS,
                                      g_param_spec_double (
                                      "progress",
-                                     _("Progress"),
-                                     _("The current progress of the action"),
+                                     "Progress",
+                                     "The current progress of the action",
                                      0.0, 1.0, 0.0,
                                      G_PARAM_WRITABLE));
 
@@ -188,8 +188,8 @@ midori_location_action_class_init (MidoriLocationActionClass* class)
                                      PROP_SECONDARY_ICON,
                                      g_param_spec_string (
                                      "secondary-icon",
-                                     _("Secondary"),
-                                     _("The stock ID of the secondary icon"),
+                                     "Secondary",
+                                     "The stock ID of the secondary icon",
                                      NULL,
                                      G_PARAM_WRITABLE));
 }
index 10e51b6bfb80cbe4df030d430ae1b5468742be80..f20f81d5bc342ff1bdbe10f1c02fb449b7547837 100644 (file)
@@ -143,8 +143,8 @@ midori_panel_class_init (MidoriPanelClass* class)
                                      PROP_SHADOW_TYPE,
                                      g_param_spec_enum (
                                      "shadow-type",
-                                     _("Shadow Type"),
-                                     _("Appearance of the shadow around each panel"),
+                                     "Shadow Type",
+                                     "Appearance of the shadow around each panel",
                                      GTK_TYPE_SHADOW_TYPE,
                                      GTK_SHADOW_NONE,
                                      flags));
@@ -153,8 +153,8 @@ midori_panel_class_init (MidoriPanelClass* class)
                                      PROP_MENU,
                                      g_param_spec_object (
                                      "menu",
-                                     _("Menu"),
-                                     _("Menu to hold panel items"),
+                                     "Menu",
+                                     "Menu to hold panel items",
                                      GTK_TYPE_MENU,
                                      G_PARAM_READWRITE));
 
@@ -162,8 +162,8 @@ midori_panel_class_init (MidoriPanelClass* class)
                                      PROP_PAGE,
                                      g_param_spec_int (
                                      "page",
-                                     _("Page"),
-                                     _("The index of the current page"),
+                                     "Page",
+                                     "The index of the current page",
                                      -1, G_MAXINT, -1,
                                      flags));
 }
@@ -401,7 +401,7 @@ midori_panel_append_page (MidoriPanel* panel,
     gtk_widget_show (toolbar);
     gtk_container_add (GTK_CONTAINER (panel->toolbook), toolbar);
 
-    n = midori_panel_page_num (panel, child);
+    n = midori_panel_page_num (panel, scrolled);
 
     g_object_set_data (G_OBJECT (child), "label", (gchar*)label);
 
@@ -421,7 +421,7 @@ midori_panel_append_page (MidoriPanel* panel,
     {
         menuitem = gtk_image_menu_item_new_from_stock (stock_id, NULL);
         gtk_widget_show (menuitem);
-        g_object_set_data (G_OBJECT (menuitem), "page", child);
+        g_object_set_data (G_OBJECT (menuitem), "page", scrolled);
         g_object_set_data (G_OBJECT (menuitem), "toolitem", toolitem);
         g_signal_connect (menuitem, "activate",
                           G_CALLBACK (midori_panel_menu_item_activate_cb),
index c0a84f9c8fa8e0113c4adef343a450fc566e9b72..bdb28827b6e03095485c8bfdf9e7034e07456008 100644 (file)
@@ -58,8 +58,8 @@ midori_preferences_class_init (MidoriPreferencesClass* class)
                                      PROP_SETTINGS,
                                      g_param_spec_object (
                                      "settings",
-                                     _("Settings"),
-                                     _("Settings instance to provide properties"),
+                                     "Settings",
+                                     "Settings instance to provide properties",
                                      MIDORI_TYPE_WEB_SETTINGS,
                                      G_PARAM_WRITABLE));
 }
index 6d08d1a6cfccd93c5f429b76318e7f3f1a982aa6..8999c21bc276c226959d0f19366ce5cab284540e 100644 (file)
@@ -165,8 +165,8 @@ midori_search_action_class_init (MidoriSearchActionClass* class)
                                      PROP_SEARCH_ENGINES,
                                      g_param_spec_object (
                                      "search-engines",
-                                     _("Search Engines"),
-                                     _("The list of search engines"),
+                                     "Search Engines",
+                                     "The list of search engines",
                                      KATZE_TYPE_ARRAY,
                                      G_PARAM_READWRITE));
 
@@ -174,8 +174,8 @@ midori_search_action_class_init (MidoriSearchActionClass* class)
                                      PROP_CURRENT_ITEM,
                                      g_param_spec_object (
                                      "current-item",
-                                     _("Current Item"),
-                                     _("The currently selected item"),
+                                     "Current Item",
+                                     "The currently selected item",
                                      KATZE_TYPE_ITEM,
                                      G_PARAM_READWRITE));
 
@@ -183,8 +183,8 @@ midori_search_action_class_init (MidoriSearchActionClass* class)
                                      PROP_TEXT,
                                      g_param_spec_string (
                                      "text",
-                                     _("Text"),
-                                     _("The current text typed in the entry"),
+                                     "Text",
+                                     "The current text typed in the entry",
                                      NULL,
                                      G_PARAM_READWRITE));
 
@@ -192,8 +192,8 @@ midori_search_action_class_init (MidoriSearchActionClass* class)
                                      PROP_DIALOG,
                                      g_param_spec_object (
                                      "dialog",
-                                     _("Dialog"),
-                                     _("A dialog to manage search engines"),
+                                     "Dialog",
+                                     "A dialog to manage search engines",
                                      GTK_TYPE_DIALOG,
                                      G_PARAM_READABLE));
 }
index 14caa14b0e16171e31c5e04960324a877632cd16..3149d064ff4735f7a7bfa6dec5ab40925a3d95a7 100644 (file)
@@ -344,8 +344,8 @@ midori_view_class_init (MidoriViewClass* class)
                                      PROP_URI,
                                      g_param_spec_string (
                                      "uri",
-                                     _("Uri"),
-                                     _("The URI of the currently loaded page"),
+                                     "Uri",
+                                     "The URI of the currently loaded page",
                                      "about:blank",
                                      G_PARAM_READABLE));
 
@@ -353,8 +353,8 @@ midori_view_class_init (MidoriViewClass* class)
                                      PROP_TITLE,
                                      g_param_spec_string (
                                      "title",
-                                     _("Title"),
-                                     _("The title of the currently loaded page"),
+                                     "Title",
+                                     "The title of the currently loaded page",
                                      NULL,
                                      G_PARAM_READWRITE));
 
@@ -362,8 +362,8 @@ midori_view_class_init (MidoriViewClass* class)
                                      PROP_ICON,
                                      g_param_spec_object (
                                      "icon",
-                                     _("Icon"),
-                                     _("The icon of the view"),
+                                     "Icon",
+                                     "The icon of the view",
                                      GDK_TYPE_PIXBUF,
                                      G_PARAM_READABLE));
 
@@ -371,8 +371,8 @@ midori_view_class_init (MidoriViewClass* class)
                                      PROP_LOAD_STATUS,
                                      g_param_spec_enum (
                                      "load-status",
-                                     _("Load Status"),
-                                     _("The current loading status"),
+                                     "Load Status",
+                                     "The current loading status",
                                      MIDORI_TYPE_LOAD_STATUS,
                                      MIDORI_LOAD_FINISHED,
                                      G_PARAM_READABLE));
@@ -381,8 +381,8 @@ midori_view_class_init (MidoriViewClass* class)
                                      PROP_PROGRESS,
                                      g_param_spec_double (
                                      "progress",
-                                     _("Progress"),
-                                     _("The current loading progress"),
+                                     "Progress",
+                                     "The current loading progress",
                                      0.0, 1.0, 0.0,
                                      G_PARAM_READABLE));
 
@@ -390,8 +390,8 @@ midori_view_class_init (MidoriViewClass* class)
                                      PROP_ZOOM_LEVEL,
                                      g_param_spec_float (
                                      "zoom-level",
-                                     _("Zoom Level"),
-                                     _("The current zoom level"),
+                                     "Zoom Level",
+                                     "The current zoom level",
                                      G_MINFLOAT,
                                      G_MAXFLOAT,
                                      1.0f,
@@ -401,8 +401,8 @@ midori_view_class_init (MidoriViewClass* class)
                                      PROP_STATUSBAR_TEXT,
                                      g_param_spec_string (
                                      "statusbar-text",
-                                     _("Statusbar Text"),
-                                     _("The text displayed in the statusbar"),
+                                     "Statusbar Text",
+                                     "The text displayed in the statusbar",
                                      "",
                                      G_PARAM_READWRITE));
 
@@ -410,8 +410,8 @@ midori_view_class_init (MidoriViewClass* class)
                                      PROP_SETTINGS,
                                      g_param_spec_object (
                                      "settings",
-                                     _("Settings"),
-                                     _("The associated settings"),
+                                     "Settings",
+                                     "The associated settings",
                                      MIDORI_TYPE_WEB_SETTINGS,
                                      G_PARAM_READWRITE));
 }