Commits

mathematicalcoffee committed c88626d Merge

Merged in localisation jonnius/status-area-horizontal-spacing-gnome-shell-extension/default (pull request #1)

Localization support

Comments (0)

Files changed (3)

status-area-horizontal-spacing@mathematical.coffee.gmail.com/gnome-shell-extensions.pot

+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2013-05-22 22:21+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: prefs.js:28
+msgid "Horizontal Padding"
+msgstr ""

status-area-horizontal-spacing@mathematical.coffee.gmail.com/locale/de/LC_MESSAGES/gnome-shell-extensions.mo

Binary file added.

status-area-horizontal-spacing@mathematical.coffee.gmail.com/prefs.js

 const Convenience = Me.imports.convenience;
 
 function init() {
-    Convenience.initTranslations();
+    Convenience.initTranslations("gnome-shell-extensions");
 }
 
 const StatusAreaHorizontalSpacingPrefsWidget = new GObject.Class({
             this.margin = this.row_spacing = this.column_spacing = 10;
 
         this._settings = Convenience.getSettings();
-        this.attach(new Gtk.Label({ label: 'Horizontal Padding' }), 0, 0, 1, 1);
+        this.attach(new Gtk.Label({ label: _("Horizontal Padding") }), 0, 0, 1, 1);
         let hscale = Gtk.Scale.new_with_range(Gtk.Orientation.HORIZONTAL, 0, 12, 1);
             hscale.set_value(this._settings.get_int('hpadding'));
             hscale.set_digits(0);