cleanup and normalize logging
authorJean-Philippe Orsini <jeanfi@gmail.com>
Sun, 21 Sep 2014 10:25:02 +0000 (12:25 +0200)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Sun, 21 Sep 2014 10:25:02 +0000 (12:25 +0200)
18 files changed:
po/de.po
po/es.po
po/fr.po
po/hr.po
po/hu.po
po/it.po
po/lv.po
po/nl.po
po/psensor.pot
po/pt_BR.po
po/ru.po
po/sl.po
po/sr.po
po/sv.po
po/tr.po
po/uk.po
po/zh_CN.po
src/lib/nvidia.c

index 82e74ba..0e86219 100644 (file)
--- a/po/de.po
+++ b/po/de.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: psensor 0.7.0.x\n"
 "Report-Msgid-Bugs-To: jeanfi@gmail.com\n"
-"POT-Creation-Date: 2014-09-21 00:49+0200\n"
+"POT-Creation-Date: 2014-09-21 12:14+0200\n"
 "PO-Revision-Date: 2014-09-20 11:25+0000\n"
 "Last-Translator: Jean-Philippe Orsini <Unknown>\n"
 "Language-Team: German\n"
@@ -480,32 +480,35 @@ msgid "Cannot open log file: %s"
 msgstr "Protokolldatei kann nicht geöffnet werden: %s"
 
 #: src/lib/nvidia.c:58
-#, c-format
-msgid "Unknown NVIDIA product name for GPU %d"
-msgstr ""
+#, fuzzy, c-format
+msgid "%s: Unknown NVIDIA product name for GPU %d"
+msgstr "Ermittlung der NVIDIA-Informationen gescheitert."
+
+#: src/lib/nvidia.c:63
+#, fuzzy, c-format
+msgid "%s: Failed to retrieve NVIDIA product name for GPU %d"
+msgstr "Ermittlung der NVIDIA-Informationen gescheitert."
 
-#: src/lib/nvidia.c:61
+#: src/lib/nvidia.c:226
 #, fuzzy, c-format
-msgid "Failed to retrieve NVIDIA product name for GPU %d"
+msgid "%s: Failed to retrieve measure of type %x for NVIDIA GPU %d"
 msgstr "Ermittlung der NVIDIA-Informationen gescheitert."
 
-#: src/lib/nvidia.c:222
+#: src/lib/nvidia.c:293
 #, c-format
-msgid "Failed to retrieve measure of type %x for NVIDIA GPU %d"
-msgstr ""
+msgid "%s: Cannot open connection to X11 server."
+msgstr "%s: Verbindung zum X11-Server konnte nicht hergestellt werden."
 
-#: src/lib/nvidia.c:288
-msgid "Cannot open connection to X11 server."
-msgstr "Verbindung zum X11-Server konnte nicht hergestellt werden."
+#: src/lib/nvidia.c:301
+#, c-format
+msgid "%s: Failed to retrieve NVIDIA information."
+msgstr "%s: Ermittlung der NVIDIA-Informationen gescheitert."
 
-#: src/lib/nvidia.c:295
-msgid "Failed to retrieve NVIDIA information."
+#: src/lib/nvidia.c:370
+#, fuzzy, c-format
+msgid "%s: Failed to retrieve number of fans."
 msgstr "Ermittlung der NVIDIA-Informationen gescheitert."
 
-#: src/lib/nvidia.c:364
-msgid "NVIDIA: failed to retrieve number of fans."
-msgstr ""
-
 #: src/lib/psensor.c:470 tests/test_psensor_type_to_unit_str.c:62
 msgid "RPM"
 msgstr "U/min"
index c1a0ba2..ec6daa5 100644 (file)
--- a/po/es.po
+++ b/po/es.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: psensor\n"
 "Report-Msgid-Bugs-To: jeanfi@gmail.com\n"
-"POT-Creation-Date: 2014-09-21 00:49+0200\n"
+"POT-Creation-Date: 2014-09-21 12:14+0200\n"
 "PO-Revision-Date: 2014-09-20 11:26+0000\n"
 "Last-Translator: Jean-Philippe Orsini <Unknown>\n"
 "Language-Team: Spanish <es@li.org>\n"
@@ -482,32 +482,35 @@ msgid "Cannot open log file: %s"
 msgstr "Imposible abrir el archivo de registro: %s"
 
 #: src/lib/nvidia.c:58
-#, c-format
-msgid "Unknown NVIDIA product name for GPU %d"
-msgstr ""
+#, fuzzy, c-format
+msgid "%s: Unknown NVIDIA product name for GPU %d"
+msgstr "Error al obtener la información de NVIDIA"
+
+#: src/lib/nvidia.c:63
+#, fuzzy, c-format
+msgid "%s: Failed to retrieve NVIDIA product name for GPU %d"
+msgstr "Error al obtener la información de NVIDIA"
 
-#: src/lib/nvidia.c:61
+#: src/lib/nvidia.c:226
 #, fuzzy, c-format
-msgid "Failed to retrieve NVIDIA product name for GPU %d"
+msgid "%s: Failed to retrieve measure of type %x for NVIDIA GPU %d"
 msgstr "Error al obtener la información de NVIDIA"
 
-#: src/lib/nvidia.c:222
+#: src/lib/nvidia.c:293
 #, c-format
-msgid "Failed to retrieve measure of type %x for NVIDIA GPU %d"
-msgstr ""
+msgid "%s: Cannot open connection to X11 server."
+msgstr "%s: Imposible establecer conexión con el servidor X11."
 
-#: src/lib/nvidia.c:288
-msgid "Cannot open connection to X11 server."
-msgstr "Imposible establecer conexión con el servidor X11."
+#: src/lib/nvidia.c:301
+#, c-format
+msgid "%s: Failed to retrieve NVIDIA information."
+msgstr "%s: Error al obtener la información de NVIDIA"
 
-#: src/lib/nvidia.c:295
-msgid "Failed to retrieve NVIDIA information."
+#: src/lib/nvidia.c:370
+#, fuzzy, c-format
+msgid "%s: Failed to retrieve number of fans."
 msgstr "Error al obtener la información de NVIDIA"
 
-#: src/lib/nvidia.c:364
-msgid "NVIDIA: failed to retrieve number of fans."
-msgstr ""
-
 #: src/lib/psensor.c:470 tests/test_psensor_type_to_unit_str.c:62
 msgid "RPM"
 msgstr "RPM"
index a2eec4b..d74ac12 100644 (file)
--- a/po/fr.po
+++ b/po/fr.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: psensor\n"
 "Report-Msgid-Bugs-To: jeanfi@gmail.com\n"
-"POT-Creation-Date: 2014-09-21 00:49+0200\n"
+"POT-Creation-Date: 2014-09-21 12:14+0200\n"
 "PO-Revision-Date: 2014-09-21 09:39+0000\n"
 "Last-Translator: Jean-Philippe Orsini <Unknown>\n"
 "Language-Team: French <>\n"
@@ -480,32 +480,35 @@ msgid "Cannot open log file: %s"
 msgstr "Impossible d'ouvrir le journal: %s"
 
 #: src/lib/nvidia.c:58
-#, c-format
-msgid "Unknown NVIDIA product name for GPU %d"
-msgstr ""
+#, fuzzy, c-format
+msgid "%s: Unknown NVIDIA product name for GPU %d"
+msgstr "Échec de la récupération des information NVIDIA."
+
+#: src/lib/nvidia.c:63
+#, fuzzy, c-format
+msgid "%s: Failed to retrieve NVIDIA product name for GPU %d"
+msgstr "Échec de la récupération des information NVIDIA."
 
-#: src/lib/nvidia.c:61
+#: src/lib/nvidia.c:226
 #, fuzzy, c-format
-msgid "Failed to retrieve NVIDIA product name for GPU %d"
+msgid "%s: Failed to retrieve measure of type %x for NVIDIA GPU %d"
 msgstr "Échec de la récupération des information NVIDIA."
 
-#: src/lib/nvidia.c:222
+#: src/lib/nvidia.c:293
 #, c-format
-msgid "Failed to retrieve measure of type %x for NVIDIA GPU %d"
-msgstr ""
+msgid "%s: Cannot open connection to X11 server."
+msgstr "%s : Impossible d'ouvrir la connexion au serveur X11."
 
-#: src/lib/nvidia.c:288
-msgid "Cannot open connection to X11 server."
-msgstr "Impossible d'ouvrir la connexion au serveur X11."
+#: src/lib/nvidia.c:301
+#, c-format
+msgid "%s: Failed to retrieve NVIDIA information."
+msgstr "%s : Échec de la récupération des information NVIDIA."
 
-#: src/lib/nvidia.c:295
-msgid "Failed to retrieve NVIDIA information."
+#: src/lib/nvidia.c:370
+#, fuzzy, c-format
+msgid "%s: Failed to retrieve number of fans."
 msgstr "Échec de la récupération des information NVIDIA."
 
-#: src/lib/nvidia.c:364
-msgid "NVIDIA: failed to retrieve number of fans."
-msgstr ""
-
 #: src/lib/psensor.c:470 tests/test_psensor_type_to_unit_str.c:62
 msgid "RPM"
 msgstr "Tr/mn"
index 794c2ac..c011f67 100644 (file)
--- a/po/hr.po
+++ b/po/hr.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: psensor\n"
 "Report-Msgid-Bugs-To: jeanfi@gmail.com\n"
-"POT-Creation-Date: 2014-09-21 00:49+0200\n"
+"POT-Creation-Date: 2014-09-21 12:14+0200\n"
 "PO-Revision-Date: 2014-09-21 06:25+0000\n"
 "Last-Translator: gogo <trebelnik2@gmail.com>\n"
 "Language-Team: Croatian <hr@li.org>\n"
@@ -481,30 +481,33 @@ msgstr "Nemoguće otvaranje datoteke: %s"
 
 #: src/lib/nvidia.c:58
 #, c-format
-msgid "Unknown NVIDIA product name for GPU %d"
-msgstr "Nepoznat naziv NVIDIA proizvoda za GPU %d"
+msgid "%s: Unknown NVIDIA product name for GPU %d"
+msgstr "%s: Nepoznat naziv NVIDIA proizvoda za GPU %d"
 
-#: src/lib/nvidia.c:61
+#: src/lib/nvidia.c:63
 #, c-format
-msgid "Failed to retrieve NVIDIA product name for GPU %d"
-msgstr "Neuspjelo čitanje naziva NVIDIA proizvoda za GPU %d"
+msgid "%s: Failed to retrieve NVIDIA product name for GPU %d"
+msgstr "%s: Neuspjelo čitanje naziva NVIDIA proizvoda za GPU %d"
 
-#: src/lib/nvidia.c:222
+#: src/lib/nvidia.c:226
 #, c-format
-msgid "Failed to retrieve measure of type %x for NVIDIA GPU %d"
-msgstr "Neuspjelo čitanje mjernih jedinica %x za NVIDIA GPU %d"
+msgid "%s: Failed to retrieve measure of type %x for NVIDIA GPU %d"
+msgstr "%s: Neuspjelo čitanje mjernih jedinica %x za NVIDIA GPU %d"
 
-#: src/lib/nvidia.c:288
-msgid "Cannot open connection to X11 server."
-msgstr "Nemoguće povezivanje s X11 poslužiteljem."
+#: src/lib/nvidia.c:293
+#, c-format
+msgid "%s: Cannot open connection to X11 server."
+msgstr "%s: Nemoguće povezivanje s X11 poslužiteljem."
 
-#: src/lib/nvidia.c:295
-msgid "Failed to retrieve NVIDIA information."
-msgstr "Neuspjelo primanje NVIDIA informacija."
+#: src/lib/nvidia.c:301
+#, c-format
+msgid "%s: Failed to retrieve NVIDIA information."
+msgstr "%s: Neuspjelo primanje NVIDIA informacija."
 
-#: src/lib/nvidia.c:364
-msgid "NVIDIA: failed to retrieve number of fans."
-msgstr "NVIDIA: nuespjelo očitavanje broja ventilatora."
+#: src/lib/nvidia.c:370
+#, c-format
+msgid "%s: Failed to retrieve number of fans."
+msgstr "%s: NVIDIA: nuespjelo očitavanje broja ventilatora."
 
 #: src/lib/psensor.c:470 tests/test_psensor_type_to_unit_str.c:62
 msgid "RPM"
index 81e90fd..94b8f9b 100644 (file)
--- a/po/hu.po
+++ b/po/hu.po
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: psensor\n"
 "Report-Msgid-Bugs-To: jeanfi@gmail.com\n"
-"POT-Creation-Date: 2014-09-21 00:49+0200\n"
+"POT-Creation-Date: 2014-09-21 12:14+0200\n"
 "PO-Revision-Date: 2014-09-20 11:26+0000\n"
 "Last-Translator: Jean-Philippe Orsini <Unknown>\n"
 "Language-Team: Hungarian <gnome-hu-list-request@gnome.org>\n"
@@ -481,32 +481,35 @@ msgid "Cannot open log file: %s"
 msgstr "A naplófájl megnyitása sikertelen: %s"
 
 #: src/lib/nvidia.c:58
-#, c-format
-msgid "Unknown NVIDIA product name for GPU %d"
-msgstr ""
+#, fuzzy, c-format
+msgid "%s: Unknown NVIDIA product name for GPU %d"
+msgstr "NVIDIA információinak lekérése meghiúsult."
+
+#: src/lib/nvidia.c:63
+#, fuzzy, c-format
+msgid "%s: Failed to retrieve NVIDIA product name for GPU %d"
+msgstr "NVIDIA információinak lekérése meghiúsult."
 
-#: src/lib/nvidia.c:61
+#: src/lib/nvidia.c:226
 #, fuzzy, c-format
-msgid "Failed to retrieve NVIDIA product name for GPU %d"
+msgid "%s: Failed to retrieve measure of type %x for NVIDIA GPU %d"
 msgstr "NVIDIA információinak lekérése meghiúsult."
 
-#: src/lib/nvidia.c:222
+#: src/lib/nvidia.c:293
 #, c-format
-msgid "Failed to retrieve measure of type %x for NVIDIA GPU %d"
-msgstr ""
+msgid "%s: Cannot open connection to X11 server."
+msgstr "%s: Nem lehet létrehozni a kapcsolatot az X11 kiszolgálóval."
 
-#: src/lib/nvidia.c:288
-msgid "Cannot open connection to X11 server."
-msgstr "Nem lehet létrehozni a kapcsolatot az X11 kiszolgálóval."
+#: src/lib/nvidia.c:301
+#, c-format
+msgid "%s: Failed to retrieve NVIDIA information."
+msgstr "%s: NVIDIA információinak lekérése meghiúsult."
 
-#: src/lib/nvidia.c:295
-msgid "Failed to retrieve NVIDIA information."
+#: src/lib/nvidia.c:370
+#, fuzzy, c-format
+msgid "%s: Failed to retrieve number of fans."
 msgstr "NVIDIA információinak lekérése meghiúsult."
 
-#: src/lib/nvidia.c:364
-msgid "NVIDIA: failed to retrieve number of fans."
-msgstr ""
-
 #: src/lib/psensor.c:470 tests/test_psensor_type_to_unit_str.c:62
 msgid "RPM"
 msgstr "RPM"
index 6122bbf..4f7c89f 100644 (file)
--- a/po/it.po
+++ b/po/it.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: psensor 0.7.0.x\n"
 "Report-Msgid-Bugs-To: jeanfi@gmail.com\n"
-"POT-Creation-Date: 2014-09-21 00:49+0200\n"
+"POT-Creation-Date: 2014-09-21 12:14+0200\n"
 "PO-Revision-Date: 2014-09-20 11:24+0000\n"
 "Last-Translator: Jean-Philippe Orsini <Unknown>\n"
 "Language-Team: Italian\n"
@@ -481,32 +481,35 @@ msgid "Cannot open log file: %s"
 msgstr "Impossibile aprire il file di log: %s"
 
 #: src/lib/nvidia.c:58
-#, c-format
-msgid "Unknown NVIDIA product name for GPU %d"
-msgstr ""
+#, fuzzy, c-format
+msgid "%s: Unknown NVIDIA product name for GPU %d"
+msgstr "Impossibile recuperare informazioni da NVIDIA"
+
+#: src/lib/nvidia.c:63
+#, fuzzy, c-format
+msgid "%s: Failed to retrieve NVIDIA product name for GPU %d"
+msgstr "Impossibile recuperare informazioni da NVIDIA"
 
-#: src/lib/nvidia.c:61
+#: src/lib/nvidia.c:226
 #, fuzzy, c-format
-msgid "Failed to retrieve NVIDIA product name for GPU %d"
+msgid "%s: Failed to retrieve measure of type %x for NVIDIA GPU %d"
 msgstr "Impossibile recuperare informazioni da NVIDIA"
 
-#: src/lib/nvidia.c:222
+#: src/lib/nvidia.c:293
 #, c-format
-msgid "Failed to retrieve measure of type %x for NVIDIA GPU %d"
-msgstr ""
+msgid "%s: Cannot open connection to X11 server."
+msgstr "%s: Impossibile connettersi al server X11."
 
-#: src/lib/nvidia.c:288
-msgid "Cannot open connection to X11 server."
-msgstr "Impossibile connettersi al server X11."
+#: src/lib/nvidia.c:301
+#, c-format
+msgid "%s: Failed to retrieve NVIDIA information."
+msgstr "%s: Impossibile recuperare informazioni da NVIDIA"
 
-#: src/lib/nvidia.c:295
-msgid "Failed to retrieve NVIDIA information."
+#: src/lib/nvidia.c:370
+#, fuzzy, c-format
+msgid "%s: Failed to retrieve number of fans."
 msgstr "Impossibile recuperare informazioni da NVIDIA"
 
-#: src/lib/nvidia.c:364
-msgid "NVIDIA: failed to retrieve number of fans."
-msgstr ""
-
 #: src/lib/psensor.c:470 tests/test_psensor_type_to_unit_str.c:62
 msgid "RPM"
 msgstr "RPM"
index c63d25c..03733fa 100644 (file)
--- a/po/lv.po
+++ b/po/lv.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: psensor\n"
 "Report-Msgid-Bugs-To: jeanfi@gmail.com\n"
-"POT-Creation-Date: 2014-09-21 00:49+0200\n"
+"POT-Creation-Date: 2014-09-21 12:14+0200\n"
 "PO-Revision-Date: 2014-09-20 11:26+0000\n"
 "Last-Translator: Jean-Philippe Orsini <Unknown>\n"
 "Language-Team: Latvian <lv@li.org>\n"
@@ -482,32 +482,35 @@ msgid "Cannot open log file: %s"
 msgstr "Nevar atvērt žurnāla failu: %s"
 
 #: src/lib/nvidia.c:58
-#, c-format
-msgid "Unknown NVIDIA product name for GPU %d"
-msgstr ""
+#, fuzzy, c-format
+msgid "%s: Unknown NVIDIA product name for GPU %d"
+msgstr "Neizdevās saņemt NVIDIA informāciju."
+
+#: src/lib/nvidia.c:63
+#, fuzzy, c-format
+msgid "%s: Failed to retrieve NVIDIA product name for GPU %d"
+msgstr "Neizdevās saņemt NVIDIA informāciju."
 
-#: src/lib/nvidia.c:61
+#: src/lib/nvidia.c:226
 #, fuzzy, c-format
-msgid "Failed to retrieve NVIDIA product name for GPU %d"
+msgid "%s: Failed to retrieve measure of type %x for NVIDIA GPU %d"
 msgstr "Neizdevās saņemt NVIDIA informāciju."
 
-#: src/lib/nvidia.c:222
+#: src/lib/nvidia.c:293
 #, c-format
-msgid "Failed to retrieve measure of type %x for NVIDIA GPU %d"
-msgstr ""
+msgid "%s: Cannot open connection to X11 server."
+msgstr "%s: Nevar atvērt savienojumu ar X11 server."
 
-#: src/lib/nvidia.c:288
-msgid "Cannot open connection to X11 server."
-msgstr "Nevar atvērt savienojumu ar X11 server."
+#: src/lib/nvidia.c:301
+#, c-format
+msgid "%s: Failed to retrieve NVIDIA information."
+msgstr "%s: Neizdevās saņemt NVIDIA informāciju."
 
-#: src/lib/nvidia.c:295
-msgid "Failed to retrieve NVIDIA information."
+#: src/lib/nvidia.c:370
+#, fuzzy, c-format
+msgid "%s: Failed to retrieve number of fans."
 msgstr "Neizdevās saņemt NVIDIA informāciju."
 
-#: src/lib/nvidia.c:364
-msgid "NVIDIA: failed to retrieve number of fans."
-msgstr ""
-
 #: src/lib/psensor.c:470 tests/test_psensor_type_to_unit_str.c:62
 msgid "RPM"
 msgstr "RPM"
index 67aef1a..ea449b3 100644 (file)
--- a/po/nl.po
+++ b/po/nl.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: psensor\n"
 "Report-Msgid-Bugs-To: jeanfi@gmail.com\n"
-"POT-Creation-Date: 2014-09-21 00:49+0200\n"
+"POT-Creation-Date: 2014-09-21 12:14+0200\n"
 "PO-Revision-Date: 2014-09-20 11:25+0000\n"
 "Last-Translator: Jean-Philippe Orsini <Unknown>\n"
 "Language-Team: Dutch <nl@li.org>\n"
@@ -483,32 +483,35 @@ msgid "Cannot open log file: %s"
 msgstr "Kan logboekbestand niet openen: %s"
 
 #: src/lib/nvidia.c:58
-#, c-format
-msgid "Unknown NVIDIA product name for GPU %d"
-msgstr ""
+#, fuzzy, c-format
+msgid "%s: Unknown NVIDIA product name for GPU %d"
+msgstr "Kon Nvidia-informatie niet ophalen."
+
+#: src/lib/nvidia.c:63
+#, fuzzy, c-format
+msgid "%s: Failed to retrieve NVIDIA product name for GPU %d"
+msgstr "Kon Nvidia-informatie niet ophalen."
 
-#: src/lib/nvidia.c:61
+#: src/lib/nvidia.c:226
 #, fuzzy, c-format
-msgid "Failed to retrieve NVIDIA product name for GPU %d"
+msgid "%s: Failed to retrieve measure of type %x for NVIDIA GPU %d"
 msgstr "Kon Nvidia-informatie niet ophalen."
 
-#: src/lib/nvidia.c:222
+#: src/lib/nvidia.c:293
 #, c-format
-msgid "Failed to retrieve measure of type %x for NVIDIA GPU %d"
-msgstr ""
+msgid "%s: Cannot open connection to X11 server."
+msgstr "%s: Kan verbinding met X11-server niet openen."
 
-#: src/lib/nvidia.c:288
-msgid "Cannot open connection to X11 server."
-msgstr "Kan verbinding met X11-server niet openen."
+#: src/lib/nvidia.c:301
+#, c-format
+msgid "%s: Failed to retrieve NVIDIA information."
+msgstr "%s: Kon Nvidia-informatie niet ophalen."
 
-#: src/lib/nvidia.c:295
-msgid "Failed to retrieve NVIDIA information."
+#: src/lib/nvidia.c:370
+#, fuzzy, c-format
+msgid "%s: Failed to retrieve number of fans."
 msgstr "Kon Nvidia-informatie niet ophalen."
 
-#: src/lib/nvidia.c:364
-msgid "NVIDIA: failed to retrieve number of fans."
-msgstr ""
-
 #: src/lib/psensor.c:470 tests/test_psensor_type_to_unit_str.c:62
 msgid "RPM"
 msgstr "RPM"
index 0450ede..ed72766 100644 (file)
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: jeanfi@gmail.com\n"
-"POT-Creation-Date: 2014-09-21 00:49+0200\n"
+"POT-Creation-Date: 2014-09-21 12:14+0200\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -480,29 +480,32 @@ msgstr ""
 
 #: src/lib/nvidia.c:58
 #, c-format
-msgid "Unknown NVIDIA product name for GPU %d"
+msgid "%s: Unknown NVIDIA product name for GPU %d"
 msgstr ""
 
-#: src/lib/nvidia.c:61
+#: src/lib/nvidia.c:63
 #, c-format
-msgid "Failed to retrieve NVIDIA product name for GPU %d"
+msgid "%s: Failed to retrieve NVIDIA product name for GPU %d"
 msgstr ""
 
-#: src/lib/nvidia.c:222
+#: src/lib/nvidia.c:226
 #, c-format
-msgid "Failed to retrieve measure of type %x for NVIDIA GPU %d"
+msgid "%s: Failed to retrieve measure of type %x for NVIDIA GPU %d"
 msgstr ""
 
-#: src/lib/nvidia.c:288
-msgid "Cannot open connection to X11 server."
+#: src/lib/nvidia.c:293
+#, c-format
+msgid "%s: Cannot open connection to X11 server."
 msgstr ""
 
-#: src/lib/nvidia.c:295
-msgid "Failed to retrieve NVIDIA information."
+#: src/lib/nvidia.c:301
+#, c-format
+msgid "%s: Failed to retrieve NVIDIA information."
 msgstr ""
 
-#: src/lib/nvidia.c:364
-msgid "NVIDIA: failed to retrieve number of fans."
+#: src/lib/nvidia.c:370
+#, c-format
+msgid "%s: Failed to retrieve number of fans."
 msgstr ""
 
 #: src/lib/psensor.c:470 tests/test_psensor_type_to_unit_str.c:62
index a4dbff6..4c69409 100644 (file)
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: psensor 0.7.0.x\n"
 "Report-Msgid-Bugs-To: jeanfi@gmail.com\n"
-"POT-Creation-Date: 2014-09-21 00:49+0200\n"
+"POT-Creation-Date: 2014-09-21 12:14+0200\n"
 "PO-Revision-Date: 2014-09-11 21:22+0000\n"
 "Last-Translator: Jean-Philippe Orsini <Unknown>\n"
 "Language-Team: Brazilian Portuguese\n"
@@ -480,32 +480,35 @@ msgid "Cannot open log file: %s"
 msgstr "Não é possível abrir arquivo de log: %s"
 
 #: src/lib/nvidia.c:58
-#, c-format
-msgid "Unknown NVIDIA product name for GPU %d"
-msgstr ""
+#, fuzzy, c-format
+msgid "%s: Unknown NVIDIA product name for GPU %d"
+msgstr "Falha ao recuperar informações de NVIDIA."
+
+#: src/lib/nvidia.c:63
+#, fuzzy, c-format
+msgid "%s: Failed to retrieve NVIDIA product name for GPU %d"
+msgstr "Falha ao recuperar informações de NVIDIA."
 
-#: src/lib/nvidia.c:61
+#: src/lib/nvidia.c:226
 #, fuzzy, c-format
-msgid "Failed to retrieve NVIDIA product name for GPU %d"
+msgid "%s: Failed to retrieve measure of type %x for NVIDIA GPU %d"
 msgstr "Falha ao recuperar informações de NVIDIA."
 
-#: src/lib/nvidia.c:222
+#: src/lib/nvidia.c:293
 #, c-format
-msgid "Failed to retrieve measure of type %x for NVIDIA GPU %d"
-msgstr ""
+msgid "%s: Cannot open connection to X11 server."
+msgstr "%s: Não é possível abrir conexão com o servidor X11."
 
-#: src/lib/nvidia.c:288
-msgid "Cannot open connection to X11 server."
-msgstr "Não é possível abrir conexão com o servidor X11."
+#: src/lib/nvidia.c:301
+#, c-format
+msgid "%s: Failed to retrieve NVIDIA information."
+msgstr "%s: Falha ao recuperar informações de NVIDIA."
 
-#: src/lib/nvidia.c:295
-msgid "Failed to retrieve NVIDIA information."
+#: src/lib/nvidia.c:370
+#, fuzzy, c-format
+msgid "%s: Failed to retrieve number of fans."
 msgstr "Falha ao recuperar informações de NVIDIA."
 
-#: src/lib/nvidia.c:364
-msgid "NVIDIA: failed to retrieve number of fans."
-msgstr ""
-
 #: src/lib/psensor.c:470 tests/test_psensor_type_to_unit_str.c:62
 msgid "RPM"
 msgstr "RPM"
index dc692f5..eab4934 100644 (file)
--- a/po/ru.po
+++ b/po/ru.po
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: psensor 0.7.0.x\n"
 "Report-Msgid-Bugs-To: jeanfi@gmail.com\n"
-"POT-Creation-Date: 2014-09-21 00:49+0200\n"
+"POT-Creation-Date: 2014-09-21 12:14+0200\n"
 "PO-Revision-Date: 2014-09-11 21:23+0000\n"
 "Last-Translator: Jean-Philippe Orsini <Unknown>\n"
 "Language-Team: Russian\n"
@@ -482,32 +482,35 @@ msgid "Cannot open log file: %s"
 msgstr "Ошибка открытия файла журнала: %s"
 
 #: src/lib/nvidia.c:58
-#, c-format
-msgid "Unknown NVIDIA product name for GPU %d"
-msgstr ""
+#, fuzzy, c-format
+msgid "%s: Unknown NVIDIA product name for GPU %d"
+msgstr "Не удалось получить информацию NVIDIA."
+
+#: src/lib/nvidia.c:63
+#, fuzzy, c-format
+msgid "%s: Failed to retrieve NVIDIA product name for GPU %d"
+msgstr "Не удалось получить информацию NVIDIA."
 
-#: src/lib/nvidia.c:61
+#: src/lib/nvidia.c:226
 #, fuzzy, c-format
-msgid "Failed to retrieve NVIDIA product name for GPU %d"
+msgid "%s: Failed to retrieve measure of type %x for NVIDIA GPU %d"
 msgstr "Не удалось получить информацию NVIDIA."
 
-#: src/lib/nvidia.c:222
+#: src/lib/nvidia.c:293
 #, c-format
-msgid "Failed to retrieve measure of type %x for NVIDIA GPU %d"
-msgstr ""
+msgid "%s: Cannot open connection to X11 server."
+msgstr "%s: Ошибка открытия соединения к серверу X11."
 
-#: src/lib/nvidia.c:288
-msgid "Cannot open connection to X11 server."
-msgstr "Ошибка открытия соединения к серверу X11."
+#: src/lib/nvidia.c:301
+#, c-format
+msgid "%s: Failed to retrieve NVIDIA information."
+msgstr "%s: Не удалось получить информацию NVIDIA."
 
-#: src/lib/nvidia.c:295
-msgid "Failed to retrieve NVIDIA information."
+#: src/lib/nvidia.c:370
+#, fuzzy, c-format
+msgid "%s: Failed to retrieve number of fans."
 msgstr "Не удалось получить информацию NVIDIA."
 
-#: src/lib/nvidia.c:364
-msgid "NVIDIA: failed to retrieve number of fans."
-msgstr ""
-
 #: src/lib/psensor.c:470 tests/test_psensor_type_to_unit_str.c:62
 msgid "RPM"
 msgstr "об/мин"
index 4f1ad9d..18d3906 100644 (file)
--- a/po/sl.po
+++ b/po/sl.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: psensor\n"
 "Report-Msgid-Bugs-To: jeanfi@gmail.com\n"
-"POT-Creation-Date: 2014-09-21 00:49+0200\n"
+"POT-Creation-Date: 2014-09-21 12:14+0200\n"
 "PO-Revision-Date: 2014-09-11 21:22+0000\n"
 "Last-Translator: Jean-Philippe Orsini <Unknown>\n"
 "Language-Team: Slovenian <sl@li.org>\n"
@@ -481,29 +481,32 @@ msgstr ""
 
 #: src/lib/nvidia.c:58
 #, c-format
-msgid "Unknown NVIDIA product name for GPU %d"
+msgid "%s: Unknown NVIDIA product name for GPU %d"
 msgstr ""
 
-#: src/lib/nvidia.c:61
+#: src/lib/nvidia.c:63
 #, c-format
-msgid "Failed to retrieve NVIDIA product name for GPU %d"
+msgid "%s: Failed to retrieve NVIDIA product name for GPU %d"
 msgstr ""
 
-#: src/lib/nvidia.c:222
+#: src/lib/nvidia.c:226
 #, c-format
-msgid "Failed to retrieve measure of type %x for NVIDIA GPU %d"
+msgid "%s: Failed to retrieve measure of type %x for NVIDIA GPU %d"
 msgstr ""
 
-#: src/lib/nvidia.c:288
-msgid "Cannot open connection to X11 server."
+#: src/lib/nvidia.c:293
+#, c-format
+msgid "%s: Cannot open connection to X11 server."
 msgstr ""
 
-#: src/lib/nvidia.c:295
-msgid "Failed to retrieve NVIDIA information."
+#: src/lib/nvidia.c:301
+#, c-format
+msgid "%s: Failed to retrieve NVIDIA information."
 msgstr ""
 
-#: src/lib/nvidia.c:364
-msgid "NVIDIA: failed to retrieve number of fans."
+#: src/lib/nvidia.c:370
+#, c-format
+msgid "%s: Failed to retrieve number of fans."
 msgstr ""
 
 #: src/lib/psensor.c:470 tests/test_psensor_type_to_unit_str.c:62
index cdd3406..99e4c09 100644 (file)
--- a/po/sr.po
+++ b/po/sr.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: psensor\n"
 "Report-Msgid-Bugs-To: jeanfi@gmail.com\n"
-"POT-Creation-Date: 2014-09-21 00:49+0200\n"
+"POT-Creation-Date: 2014-09-21 12:14+0200\n"
 "PO-Revision-Date: 2014-09-11 21:25+0000\n"
 "Last-Translator: Jean-Philippe Orsini <Unknown>\n"
 "Language-Team: Serbian <sr@li.org>\n"
@@ -481,29 +481,32 @@ msgstr ""
 
 #: src/lib/nvidia.c:58
 #, c-format
-msgid "Unknown NVIDIA product name for GPU %d"
+msgid "%s: Unknown NVIDIA product name for GPU %d"
 msgstr ""
 
-#: src/lib/nvidia.c:61
+#: src/lib/nvidia.c:63
 #, c-format
-msgid "Failed to retrieve NVIDIA product name for GPU %d"
+msgid "%s: Failed to retrieve NVIDIA product name for GPU %d"
 msgstr ""
 
-#: src/lib/nvidia.c:222
+#: src/lib/nvidia.c:226
 #, c-format
-msgid "Failed to retrieve measure of type %x for NVIDIA GPU %d"
+msgid "%s: Failed to retrieve measure of type %x for NVIDIA GPU %d"
 msgstr ""
 
-#: src/lib/nvidia.c:288
-msgid "Cannot open connection to X11 server."
+#: src/lib/nvidia.c:293
+#, c-format
+msgid "%s: Cannot open connection to X11 server."
 msgstr ""
 
-#: src/lib/nvidia.c:295
-msgid "Failed to retrieve NVIDIA information."
+#: src/lib/nvidia.c:301
+#, c-format
+msgid "%s: Failed to retrieve NVIDIA information."
 msgstr ""
 
-#: src/lib/nvidia.c:364
-msgid "NVIDIA: failed to retrieve number of fans."
+#: src/lib/nvidia.c:370
+#, c-format
+msgid "%s: Failed to retrieve number of fans."
 msgstr ""
 
 #: src/lib/psensor.c:470 tests/test_psensor_type_to_unit_str.c:62
index 6ebca2c..6f692e1 100644 (file)
--- a/po/sv.po
+++ b/po/sv.po
@@ -9,7 +9,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: psensor 1.0.0.0\n"
 "Report-Msgid-Bugs-To: jeanfi@gmail.com\n"
-"POT-Creation-Date: 2014-09-21 00:49+0200\n"
+"POT-Creation-Date: 2014-09-21 12:14+0200\n"
 "PO-Revision-Date: 2014-09-20 11:26+0000\n"
 "Last-Translator: Jean-Philippe Orsini <Unknown>\n"
 "Language-Team: Swedish\n"
@@ -484,32 +484,35 @@ msgid "Cannot open log file: %s"
 msgstr "Kan inte öppna loggfil: %s"
 
 #: src/lib/nvidia.c:58
-#, c-format
-msgid "Unknown NVIDIA product name for GPU %d"
-msgstr ""
+#, fuzzy, c-format
+msgid "%s: Unknown NVIDIA product name for GPU %d"
+msgstr "Misslyckades med att hämta NVIDIA-information."
+
+#: src/lib/nvidia.c:63
+#, fuzzy, c-format
+msgid "%s: Failed to retrieve NVIDIA product name for GPU %d"
+msgstr "Misslyckades med att hämta NVIDIA-information."
 
-#: src/lib/nvidia.c:61
+#: src/lib/nvidia.c:226
 #, fuzzy, c-format
-msgid "Failed to retrieve NVIDIA product name for GPU %d"
+msgid "%s: Failed to retrieve measure of type %x for NVIDIA GPU %d"
 msgstr "Misslyckades med att hämta NVIDIA-information."
 
-#: src/lib/nvidia.c:222
+#: src/lib/nvidia.c:293
 #, c-format
-msgid "Failed to retrieve measure of type %x for NVIDIA GPU %d"
-msgstr ""
+msgid "%s: Cannot open connection to X11 server."
+msgstr "%s: Kan inte öppna anslutning till X11-server."
 
-#: src/lib/nvidia.c:288
-msgid "Cannot open connection to X11 server."
-msgstr "Kan inte öppna anslutning till X11-server."
+#: src/lib/nvidia.c:301
+#, c-format
+msgid "%s: Failed to retrieve NVIDIA information."
+msgstr "%s: Misslyckades med att hämta NVIDIA-information."
 
-#: src/lib/nvidia.c:295
-msgid "Failed to retrieve NVIDIA information."
+#: src/lib/nvidia.c:370
+#, fuzzy, c-format
+msgid "%s: Failed to retrieve number of fans."
 msgstr "Misslyckades med att hämta NVIDIA-information."
 
-#: src/lib/nvidia.c:364
-msgid "NVIDIA: failed to retrieve number of fans."
-msgstr ""
-
 #: src/lib/psensor.c:470 tests/test_psensor_type_to_unit_str.c:62
 msgid "RPM"
 msgstr "RPM"
index 7cfb843..78da27b 100644 (file)
--- a/po/tr.po
+++ b/po/tr.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: psensor\n"
 "Report-Msgid-Bugs-To: jeanfi@gmail.com\n"
-"POT-Creation-Date: 2014-09-21 00:49+0200\n"
+"POT-Creation-Date: 2014-09-21 12:14+0200\n"
 "PO-Revision-Date: 2014-09-20 11:27+0000\n"
 "Last-Translator: Jean-Philippe Orsini <Unknown>\n"
 "Language-Team: Turkish <tr@li.org>\n"
@@ -482,32 +482,35 @@ msgid "Cannot open log file: %s"
 msgstr "Günlükleme dosyası açılamadı: %s"
 
 #: src/lib/nvidia.c:58
-#, c-format
-msgid "Unknown NVIDIA product name for GPU %d"
-msgstr ""
+#, fuzzy, c-format
+msgid "%s: Unknown NVIDIA product name for GPU %d"
+msgstr "NVIDIA bilgisi alınamıyor."
+
+#: src/lib/nvidia.c:63
+#, fuzzy, c-format
+msgid "%s: Failed to retrieve NVIDIA product name for GPU %d"
+msgstr "NVIDIA bilgisi alınamıyor."
 
-#: src/lib/nvidia.c:61
+#: src/lib/nvidia.c:226
 #, fuzzy, c-format
-msgid "Failed to retrieve NVIDIA product name for GPU %d"
+msgid "%s: Failed to retrieve measure of type %x for NVIDIA GPU %d"
 msgstr "NVIDIA bilgisi alınamıyor."
 
-#: src/lib/nvidia.c:222
+#: src/lib/nvidia.c:293
 #, c-format
-msgid "Failed to retrieve measure of type %x for NVIDIA GPU %d"
-msgstr ""
+msgid "%s: Cannot open connection to X11 server."
+msgstr "%s: X11 sunucusu bağlantısı açılamıyor."
 
-#: src/lib/nvidia.c:288
-msgid "Cannot open connection to X11 server."
-msgstr "X11 sunucusu bağlantısı açılamıyor."
+#: src/lib/nvidia.c:301
+#, c-format
+msgid "%s: Failed to retrieve NVIDIA information."
+msgstr "%s: NVIDIA bilgisi alınamıyor."
 
-#: src/lib/nvidia.c:295
-msgid "Failed to retrieve NVIDIA information."
+#: src/lib/nvidia.c:370
+#, fuzzy, c-format
+msgid "%s: Failed to retrieve number of fans."
 msgstr "NVIDIA bilgisi alınamıyor."
 
-#: src/lib/nvidia.c:364
-msgid "NVIDIA: failed to retrieve number of fans."
-msgstr ""
-
 #: src/lib/psensor.c:470 tests/test_psensor_type_to_unit_str.c:62
 msgid "RPM"
 msgstr "RPM"
index d3ae3d9..bb5179f 100644 (file)
--- a/po/uk.po
+++ b/po/uk.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: psensor\n"
 "Report-Msgid-Bugs-To: jeanfi@gmail.com\n"
-"POT-Creation-Date: 2014-09-21 00:49+0200\n"
+"POT-Creation-Date: 2014-09-21 12:14+0200\n"
 "PO-Revision-Date: 2014-09-11 21:23+0000\n"
 "Last-Translator: Jean-Philippe Orsini <Unknown>\n"
 "Language-Team: Ukrainian <uk@li.org>\n"
@@ -480,32 +480,35 @@ msgid "Cannot open log file: %s"
 msgstr "Не вдалося відкрити лог-файл: %s"
 
 #: src/lib/nvidia.c:58
-#, c-format
-msgid "Unknown NVIDIA product name for GPU %d"
-msgstr ""
+#, fuzzy, c-format
+msgid "%s: Unknown NVIDIA product name for GPU %d"
+msgstr "Не вдалося отримати інформацію NVIDIA."
+
+#: src/lib/nvidia.c:63
+#, fuzzy, c-format
+msgid "%s: Failed to retrieve NVIDIA product name for GPU %d"
+msgstr "Не вдалося отримати інформацію NVIDIA."
 
-#: src/lib/nvidia.c:61
+#: src/lib/nvidia.c:226
 #, fuzzy, c-format
-msgid "Failed to retrieve NVIDIA product name for GPU %d"
+msgid "%s: Failed to retrieve measure of type %x for NVIDIA GPU %d"
 msgstr "Не вдалося отримати інформацію NVIDIA."
 
-#: src/lib/nvidia.c:222
+#: src/lib/nvidia.c:293
 #, c-format
-msgid "Failed to retrieve measure of type %x for NVIDIA GPU %d"
-msgstr ""
+msgid "%s: Cannot open connection to X11 server."
+msgstr "%s: Не вдалося встановити з'єднання до сервера X11."
 
-#: src/lib/nvidia.c:288
-msgid "Cannot open connection to X11 server."
-msgstr "Не вдалося встановити з'єднання до сервера X11."
+#: src/lib/nvidia.c:301
+#, c-format
+msgid "%s: Failed to retrieve NVIDIA information."
+msgstr "%s: Не вдалося отримати інформацію NVIDIA."
 
-#: src/lib/nvidia.c:295
-msgid "Failed to retrieve NVIDIA information."
+#: src/lib/nvidia.c:370
+#, fuzzy, c-format
+msgid "%s: Failed to retrieve number of fans."
 msgstr "Не вдалося отримати інформацію NVIDIA."
 
-#: src/lib/nvidia.c:364
-msgid "NVIDIA: failed to retrieve number of fans."
-msgstr ""
-
 #: src/lib/psensor.c:470 tests/test_psensor_type_to_unit_str.c:62
 msgid "RPM"
 msgstr "об/хв"
index 3558821..6107b52 100644 (file)
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: psensor\n"
 "Report-Msgid-Bugs-To: jeanfi@gmail.com\n"
-"POT-Creation-Date: 2014-09-21 00:49+0200\n"
+"POT-Creation-Date: 2014-09-21 12:14+0200\n"
 "PO-Revision-Date: 2014-09-11 21:24+0000\n"
 "Last-Translator: Jean-Philippe Orsini <Unknown>\n"
 "Language-Team: Chinese (simplified)\n"
@@ -481,32 +481,35 @@ msgid "Cannot open log file: %s"
 msgstr "无法打开日志文件:%s"
 
 #: src/lib/nvidia.c:58
-#, c-format
-msgid "Unknown NVIDIA product name for GPU %d"
-msgstr ""
+#, fuzzy, c-format
+msgid "%s: Unknown NVIDIA product name for GPU %d"
+msgstr "无法获取 NVIDIA 信息。"
+
+#: src/lib/nvidia.c:63
+#, fuzzy, c-format
+msgid "%s: Failed to retrieve NVIDIA product name for GPU %d"
+msgstr "无法获取 NVIDIA 信息。"
 
-#: src/lib/nvidia.c:61
+#: src/lib/nvidia.c:226
 #, fuzzy, c-format
-msgid "Failed to retrieve NVIDIA product name for GPU %d"
+msgid "%s: Failed to retrieve measure of type %x for NVIDIA GPU %d"
 msgstr "无法获取 NVIDIA 信息。"
 
-#: src/lib/nvidia.c:222
+#: src/lib/nvidia.c:293
 #, c-format
-msgid "Failed to retrieve measure of type %x for NVIDIA GPU %d"
-msgstr ""
+msgid "%s: Cannot open connection to X11 server."
+msgstr "%s: 无法打开到 X11 服务器的连接。"
 
-#: src/lib/nvidia.c:288
-msgid "Cannot open connection to X11 server."
-msgstr "无法打开到 X11 服务器的连接。"
+#: src/lib/nvidia.c:301
+#, c-format
+msgid "%s: Failed to retrieve NVIDIA information."
+msgstr "%s: 无法获取 NVIDIA 信息。"
 
-#: src/lib/nvidia.c:295
-msgid "Failed to retrieve NVIDIA information."
+#: src/lib/nvidia.c:370
+#, fuzzy, c-format
+msgid "%s: Failed to retrieve number of fans."
 msgstr "无法获取 NVIDIA 信息。"
 
-#: src/lib/nvidia.c:364
-msgid "NVIDIA: failed to retrieve number of fans."
-msgstr ""
-
 #: src/lib/psensor.c:470 tests/test_psensor_type_to_unit_str.c:62
 msgid "RPM"
 msgstr "转速"
index 32a44b0..b77517b 100644 (file)
@@ -55,10 +55,14 @@ static char *get_product_name(int id, int type)
                if (strcmp(name, "Unknown"))
                        return name;
 
-               log_err(_("Unknown NVIDIA product name for GPU %d"), id);
+               log_err(_("%s: Unknown NVIDIA product name for GPU %d"),
+                       PROVIDER_NAME,
+                       id);
                free(name);
        } else {
-               log_err(_("Failed to retrieve NVIDIA product name for GPU %d"),
+               log_err(_("%s: "
+                         "Failed to retrieve NVIDIA product name for GPU %d"),
+                       PROVIDER_NAME,
                        id);
        }
 
@@ -219,8 +223,9 @@ static void update(struct psensor *sensor)
        v = get_value(sensor->nvidia_id, sensor->type);
 
        if (v == UNKNOWN_DBL_VALUE)
-               log_err(_("Failed to retrieve measure of type %x "
+               log_err(_("%s: Failed to retrieve measure of type %x "
                          "for NVIDIA GPU %d"),
+                       PROVIDER_NAME,
                        sensor->type,
                        sensor->nvidia_id);
        psensor_set_current_value(sensor, v);
@@ -285,14 +290,16 @@ static int init()
        display = XOpenDisplay(NULL);
 
        if (!display) {
-               log_err(_("Cannot open connection to X11 server."));
+               log_err(_("%s: Cannot open connection to X11 server."),
+                       PROVIDER_NAME);
                return 0;
        }
 
        if (XNVCTRLQueryExtension(display, &evt, &err))
                return 1;
 
-       log_err(_("Failed to retrieve NVIDIA information."));
+       log_err(_("%s: Failed to retrieve NVIDIA information."),
+               PROVIDER_NAME);
 
        return 0;
 }
@@ -349,7 +356,7 @@ void nvidia_psensor_list_append(struct psensor ***ss, int values_len)
 
        ret = XNVCTRLQueryTargetCount(display, NV_CTRL_TARGET_TYPE_COOLER, &n);
        if (ret == True) {
-               log_debug("NVIDIA: number of fans: %d", n);
+               log_fct("%s: Number of fans: %d", PROVIDER_NAME, n);
                for (i = 0; i < n; i++) {
                        utype = SENSOR_TYPE_FAN | SENSOR_TYPE_RPM;
                        if (check_sensor(i, utype))
@@ -360,7 +367,8 @@ void nvidia_psensor_list_append(struct psensor ***ss, int values_len)
                                add(ss, i, utype, values_len);
                }
        } else {
-               log_err(_("NVIDIA: failed to retrieve number of fans."));
+               log_err(_("%s: Failed to retrieve number of fans."),
+                       PROVIDER_NAME);
        }
 }