try to fix translation.

I do copy the .mo in /usr/share/locale
yahoo_weather
Simon Claessens 14 years ago
parent 7f0673f6f7
commit 6eaa583958
  1. 6
      weather@venemo.net/extension.js

@ -34,9 +34,9 @@ const Cairo = imports.cairo;
const Clutter = imports.gi.Clutter;
const Shell = imports.gi.Shell;
const St = imports.gi.St;
const Gettext = imports.gettext.domain('gnome-shell');
Gettext.textdomain("weather@venemo.net");
Gettext.bindtextdomain("weather@venemo.net", ExtensionSystem.extensionMeta["weather@venemo.net"].path + "/locale");
const Gettext = imports.gettext;
Gettext.textdomain("weather@venemo.net");
//Gettext.bindtextdomain("weather@venemo.net", ExtensionSystem.extensionMeta["weather@venemo.net"].path + "/locale");
const _ = Gettext.gettext;
const Json = imports.gi.Json;

Loading…
Cancel
Save