Skip to content
This repository has been archived by the owner on Dec 1, 2018. It is now read-only.

Commit

Permalink
Merge pull request #7 from kaini/master
Browse files Browse the repository at this point in the history
Adds German translation
  • Loading branch information
RaphaelKimmig committed Sep 21, 2011
2 parents c3ce6b2 + ead0d17 commit 0091230
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 1 deletion.
6 changes: 5 additions & 1 deletion [email protected]/extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const Main = imports.ui.main;
const Lang = imports.lang;
const PopupMenu = imports.ui.popupMenu;

const Gettext = imports.gettext.domain('gnome-shell');
const Gettext = imports.gettext;
const _ = Gettext.gettext;

const SessionIface = {
Expand All @@ -16,6 +16,10 @@ const SessionIface = {
let SessionProxy = DBus.makeProxyClass(SessionIface);

function main(extensionMeta) {
Gettext.bindtextdomain("gnome-shell-extension-presentationmode",
extensionMeta.path + "/locale");
Gettext.textdomain("gnome-shell-extension-presentationmode");

let Power = Main.Panel.STANDARD_TRAY_ICON_SHELL_IMPLEMENTATION['battery'];

Power.prototype.__init = Power.prototype._init;
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

msgid ""
msgstr "Project-Id-Version: Gnome-Presentation-Mode git\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"

#: extension.js:26
msgid "Presentation mode"
msgstr "Präsentationsmodus"

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

msgid ""
msgstr "Project-Id-Version: Gnome-Presentation-Mode git\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"

#: extension.js:26
msgid "Presentation mode"
msgstr "Presentation mode"

0 comments on commit 0091230

Please sign in to comment.