From 1227e7f08bfe0cc1ecd98a8f6d286a8add673967 Mon Sep 17 00:00:00 2001 From: fredo Date: Thu, 26 May 2011 06:57:50 +0200 Subject: [PATCH] Update gettext domain the domain wasn't correct for the project name --- README.md | 3 ++- autogen.sh | 2 +- po/LINGUAS | 1 + po/POTFILES.in | 1 + po/fr.po | 22 +++++++++++----------- src/extension.js | 4 +--- 6 files changed, 17 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 33733ea..af82cc2 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Currently, the weather report including forecast for today and tomorrow is fetch ### Screenshot -![Screenshot](https://github.com/simon04/gnome-shell-extension-weather/raw/master/screenshot.png) +![Screenshot](https://github.com/ecyrbe/gnome-shell-extension-weather/raw/master/data/screenshot.png) ### Installation @@ -18,6 +18,7 @@ Currently, the weather report including forecast for today and tomorrow is fetch ### Licence Copyright (C) 2011 +Ecyrbe , Timur Kristóf , Elad Alfassa , Simon Legner diff --git a/autogen.sh b/autogen.sh index d9669c5..1b9cc5e 100755 --- a/autogen.sh +++ b/autogen.sh @@ -4,7 +4,7 @@ srcdir=`dirname $0` test -z "$srcdir" && srcdir=. -PKG_NAME="gnome-shell-extensions" +PKG_NAME="gnome-shell-extension-weather" test -f $srcdir/configure.ac || { echo -n "**Error**: Directory "\`$srcdir\'" does not look like the" diff --git a/po/LINGUAS b/po/LINGUAS index 527e861..1d9ebc4 100644 --- a/po/LINGUAS +++ b/po/LINGUAS @@ -1 +1,2 @@ fr + diff --git a/po/POTFILES.in b/po/POTFILES.in index afca134..c9114fb 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -1 +1,2 @@ src/extension.js + diff --git a/po/fr.po b/po/fr.po index 602809f..b9448d6 100644 --- a/po/fr.po +++ b/po/fr.po @@ -6,9 +6,9 @@ # msgid "" msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" +"Project-Id-Version: 3.0.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-05-24 16:54+0200\n" +"POT-Creation-Date: 2011-05-26 06:23+0200\n" "PO-Revision-Date: 2011-05-24 16:58+0200\n" "Last-Translator: Simon Claessens \n" "Language-Team: Français <>\n" @@ -18,38 +18,38 @@ msgstr "" "Content-Transfer-Encoding: 8bits\n" "Plural-Forms: nplurals=2; plural=(n!=1);\n" -#: extension.js:73 +#: extension.js:71 msgid "..." msgstr "..." -#: extension.js:315 +#: extension.js:314 msgid "Loading current weather ..." msgstr "Chargement de la météo ..." -#: extension.js:316 +#: extension.js:315 msgid "Loading future weather ..." msgstr "Chargement de la météo future ..." -#: extension.js:332 +#: extension.js:331 msgid "Loading ..." msgstr "Chargement ..." -#: extension.js:335 +#: extension.js:334 msgid "Please wait" msgstr "Patientez s'il vous plaît" -#: extension.js:353 +#: extension.js:352 msgid "Temperature:" msgstr "Temperature :" -#: extension.js:355 +#: extension.js:354 msgid "Humidity:" msgstr "Humidité :" -#: extension.js:357 +#: extension.js:356 msgid "Pressure:" msgstr "Pression :" -#: extension.js:359 +#: extension.js:358 msgid "Wind:" msgstr "Vent :" diff --git a/src/extension.js b/src/extension.js index cf9a1b0..1bfd6fb 100644 --- a/src/extension.js +++ b/src/extension.js @@ -34,9 +34,7 @@ const Cairo = imports.cairo; const Clutter = imports.gi.Clutter; const Shell = imports.gi.Shell; const St = imports.gi.St; -const Gettext = imports.gettext; -Gettext.textdomain("weather@venemo.net"); -//Gettext.bindtextdomain("weather@venemo.net", ExtensionSystem.extensionMeta["weather@venemo.net"].path + "/locale"); +const Gettext = imports.gettext.domain('gnome-shell-extension-weather'); const _ = Gettext.gettext; const Json = imports.gi.Json;