Finally make plural-forms work.

merge-requests/218/head
None 10 years ago
parent 69974af8e1
commit 27a5dc7aa0
  1. 1
      src/forecast_io.js
  2. 1
      src/openweathermap_org.js

@ -39,6 +39,7 @@
//const Convenience = Me.imports.convenience; //const Convenience = Me.imports.convenience;
const Gettext = imports.gettext.domain('gnome-shell-extension-openweather'); const Gettext = imports.gettext.domain('gnome-shell-extension-openweather');
const _ = Gettext.gettext; const _ = Gettext.gettext;
const ngettext = Gettext.ngettext;
const OPENWEATHER_URL_HOST = 'api.forecast.io'; const OPENWEATHER_URL_HOST = 'api.forecast.io';

@ -40,6 +40,7 @@ const Me = ExtensionUtils.getCurrentExtension();
const OpenweathermapOrg = Me.imports.openweathermap_org; const OpenweathermapOrg = Me.imports.openweathermap_org;
const Gettext = imports.gettext.domain('gnome-shell-extension-openweather'); const Gettext = imports.gettext.domain('gnome-shell-extension-openweather');
const _ = Gettext.gettext; const _ = Gettext.gettext;
const ngettext = Gettext.ngettext;
const OPENWEATHER_URL_HOST = 'api.openweathermap.org'; const OPENWEATHER_URL_HOST = 'api.openweathermap.org';
const OPENWEATHER_URL_BASE = 'http://' + OPENWEATHER_URL_HOST + '/data/2.5/'; const OPENWEATHER_URL_BASE = 'http://' + OPENWEATHER_URL_HOST + '/data/2.5/';

Loading…
Cancel
Save