diff --git a/src/forecast_io.js b/src/forecast_io.js index 4616709..b4f244c 100644 --- a/src/forecast_io.js +++ b/src/forecast_io.js @@ -39,6 +39,7 @@ //const Convenience = Me.imports.convenience; const Gettext = imports.gettext.domain('gnome-shell-extension-openweather'); const _ = Gettext.gettext; +const ngettext = Gettext.ngettext; const OPENWEATHER_URL_HOST = 'api.forecast.io'; diff --git a/src/openweathermap_org.js b/src/openweathermap_org.js index b781efc..c2bca3a 100644 --- a/src/openweathermap_org.js +++ b/src/openweathermap_org.js @@ -40,6 +40,7 @@ const Me = ExtensionUtils.getCurrentExtension(); const OpenweathermapOrg = Me.imports.openweathermap_org; const Gettext = imports.gettext.domain('gnome-shell-extension-openweather'); const _ = Gettext.gettext; +const ngettext = Gettext.ngettext; const OPENWEATHER_URL_HOST = 'api.openweathermap.org'; const OPENWEATHER_URL_BASE = 'http://' + OPENWEATHER_URL_HOST + '/data/2.5/';