~tuxator/midori/speeddial-refresh

« back to all changes in this revision

Viewing changes to src/midori-websettings.c

  • Committer: Christian Dywan
  • Date: 2008-03-22 02:38:23 UTC
  • Revision ID: git-v1:be89221aea13aa092f64d2133fd5bed5c23f4972
Implement localization via Gettext.

Based on the implementation of localization via Gettext
contributed by Enrico Tröger, a few adjustments were made
to allow Midori to be properly localized. Initially
German is fully supported.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
#include "midori-webview.h"
13
13
 
14
14
#include "sokoke.h"
 
15
#include <glib/gi18n.h>
15
16
 
16
17
G_DEFINE_TYPE (MidoriWebSettings, midori_web_settings, WEBKIT_TYPE_WEB_SETTINGS)
17
18
 
65
66
                                     g_param_spec_int (
66
67
                                     "tab-label-size",
67
68
                                     "Tab Label Size",
68
 
                                     "The desired tab label size",
 
69
                                     _("The desired tab label size"),
69
70
                                     0, G_MAXINT, 10,
70
71
                                     flags));
71
72
 
74
75
                                     g_param_spec_boolean (
75
76
                                     "close-button",
76
77
                                     "Close Button",
77
 
                                     "Whether the associated tab has a close button",
 
78
                                     _("Whether tabs have close buttons"),
78
79
                                     FALSE,
79
80
                                     flags));
80
81
 
83
84
                                     g_param_spec_boolean (
84
85
                                     "middle-click-goto",
85
86
                                     "Middle Click Goto",
86
 
                                     "Load an uri from the selection via middle click",
 
87
                                     _("Load an URL from the selection via middle click"),
87
88
                                     FALSE,
88
89
                                     flags));
89
90