i18n-ize register

Original commit message from CVS:
i18n-ize register
This commit is contained in:
Thomas Vander Stichele 2004-06-26 13:09:37 +00:00
parent 0b17785211
commit 477783c722
12 changed files with 420 additions and 32 deletions

View file

@ -1,3 +1,18 @@
2004-06-26 Thomas Vander Stichele <thomas at apestaart dot org>
* po/POTFILES.in:
* po/af.po:
* po/az.po:
* po/en_GB.po:
* po/fr.po:
* po/nl.po:
* po/sr.po:
* po/sv.po:
* po/tr.po:
* po/uk.po:
* tools/gst-register.c: (plugin_added_func), (main):
i18n-ize -register, fix plural
2004-06-26 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/elements/gstidentity.c: (gst_identity_class_init),

View file

@ -15,3 +15,4 @@ gst/elements/gsttypefindelement.c
gst/parse/grammar.y
tools/gst-inspect.c
tools/gst-launch.c
tools/gst-register.c

View file

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: gstreamer 0.8.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2004-06-05 14:22+0200\n"
"POT-Creation-Date: 2004-06-26 10:16+0200\n"
"PO-Revision-Date: 2004-03-24 11:28+0200\n"
"Last-Translator: Petri Jooste <rkwjpj@puk.ac.za>\n"
"Language-Team: Afrikaans <i18n@af.org.za>\n"
@ -603,7 +603,7 @@ msgstr ""
msgid "File \"%s\" is a socket."
msgstr "Lêer \"%s\" is nie 'n gewone lêer nie."
#: gst/elements/gstidentity.c:191
#: gst/elements/gstidentity.c:265
msgid "Failed after iterations as requested."
msgstr "Mislukking na die vasgestelde aantal probeerslae."
@ -691,6 +691,11 @@ msgstr "kon nie aan bestemming-element vir URI \"%s\" verbind nie"
msgid "empty pipeline not allowed"
msgstr "leë pyplyn word nie toegelaat nie"
#: tools/gst-inspect.c:1115
#, fuzzy
msgid "Print all elements"
msgstr "geen element \"%s\""
#: tools/gst-launch.c:91
msgid "Execution ended after %"
msgstr "Uitvoering het geëindig na %"
@ -820,6 +825,42 @@ msgstr "LOOP pyplyn ...\n"
msgid "ERROR: pipeline doesn't want to play.\n"
msgstr "FOUT: pyplyn wil nie speel nie.\n"
#: tools/gst-register.c:49
#, c-format
msgid "Added plugin %s with %d %s.\n"
msgstr ""
#: tools/gst-register.c:51 tools/gst-register.c:163
msgid "feature"
msgid_plural "features"
msgstr[0] ""
msgstr[1] ""
#: tools/gst-register.c:108
#, c-format
msgid "Added path %s to %s \n"
msgstr ""
#: tools/gst-register.c:123
#, c-format
msgid "Rebuilding %s (%s) ...\n"
msgstr ""
#: tools/gst-register.c:128
#, c-format
msgid "Trying to load %s ...\n"
msgstr ""
#: tools/gst-register.c:130
#, fuzzy, c-format
msgid "Error loading %s\n"
msgstr "Fout met toemaak van lêer \"%s\"."
#: tools/gst-register.c:162
#, c-format
msgid "Loaded %d plugins with %d %s.\n"
msgstr ""
#~ msgid "Show plugin details"
#~ msgstr "Vertoon details van inproppe"

View file

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: gstreamer-0.8.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2004-06-05 14:22+0200\n"
"POT-Creation-Date: 2004-06-26 10:16+0200\n"
"PO-Revision-Date: 2004-03-19 18:40+0200\n"
"Last-Translator: Metin Amiroff <metin@karegen.com>\n"
"Language-Team: Azerbaijani <translation-team-az@lists.sourceforge.net>\n"
@ -583,7 +583,7 @@ msgstr ""
msgid "File \"%s\" is a socket."
msgstr ""
#: gst/elements/gstidentity.c:191
#: gst/elements/gstidentity.c:265
msgid "Failed after iterations as requested."
msgstr ""
@ -671,6 +671,10 @@ msgstr ""
msgid "empty pipeline not allowed"
msgstr ""
#: tools/gst-inspect.c:1115
msgid "Print all elements"
msgstr ""
#: tools/gst-launch.c:91
msgid "Execution ended after %"
msgstr ""
@ -800,5 +804,41 @@ msgstr ""
msgid "ERROR: pipeline doesn't want to play.\n"
msgstr ""
#: tools/gst-register.c:49
#, c-format
msgid "Added plugin %s with %d %s.\n"
msgstr ""
#: tools/gst-register.c:51 tools/gst-register.c:163
msgid "feature"
msgid_plural "features"
msgstr[0] ""
msgstr[1] ""
#: tools/gst-register.c:108
#, c-format
msgid "Added path %s to %s \n"
msgstr ""
#: tools/gst-register.c:123
#, c-format
msgid "Rebuilding %s (%s) ...\n"
msgstr ""
#: tools/gst-register.c:128
#, c-format
msgid "Trying to load %s ...\n"
msgstr ""
#: tools/gst-register.c:130
#, c-format
msgid "Error loading %s\n"
msgstr ""
#: tools/gst-register.c:162
#, c-format
msgid "Loaded %d plugins with %d %s.\n"
msgstr ""
#~ msgid "')"
#~ msgstr "')"

View file

@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: gstreamer 0.8.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2004-06-05 14:22+0200\n"
"POT-Creation-Date: 2004-06-26 10:16+0200\n"
"PO-Revision-Date: 2004-04-26 10:36-0400\n"
"Last-Translator: Gareth Owen <gowen72@yahoo.com>\n"
"Language-Team: English (British) <en_gb@li.org>\n"
@ -590,7 +590,7 @@ msgstr ""
msgid "File \"%s\" is a socket."
msgstr "File \"%s\" isn't a regular file."
#: gst/elements/gstidentity.c:191
#: gst/elements/gstidentity.c:265
msgid "Failed after iterations as requested."
msgstr "Failed after iterations as requested."
@ -678,6 +678,11 @@ msgstr "could not link sink element for URI \"%s\""
msgid "empty pipeline not allowed"
msgstr "empty pipeline not allowed"
#: tools/gst-inspect.c:1115
#, fuzzy
msgid "Print all elements"
msgstr "no element \"%s\""
#: tools/gst-launch.c:91
msgid "Execution ended after %"
msgstr "Execution ended after %"
@ -807,6 +812,42 @@ msgstr "RUNNING pipeline ...\n"
msgid "ERROR: pipeline doesn't want to play.\n"
msgstr "ERROR: pipeline doesn't want to play.\n"
#: tools/gst-register.c:49
#, c-format
msgid "Added plugin %s with %d %s.\n"
msgstr ""
#: tools/gst-register.c:51 tools/gst-register.c:163
msgid "feature"
msgid_plural "features"
msgstr[0] ""
msgstr[1] ""
#: tools/gst-register.c:108
#, c-format
msgid "Added path %s to %s \n"
msgstr ""
#: tools/gst-register.c:123
#, c-format
msgid "Rebuilding %s (%s) ...\n"
msgstr ""
#: tools/gst-register.c:128
#, c-format
msgid "Trying to load %s ...\n"
msgstr ""
#: tools/gst-register.c:130
#, fuzzy, c-format
msgid "Error loading %s\n"
msgstr "Error closing file \"%s\"."
#: tools/gst-register.c:162
#, c-format
msgid "Loaded %d plugins with %d %s.\n"
msgstr ""
#~ msgid "Show plugin details"
#~ msgstr "Show plugin details"

View file

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: GStreamer\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2004-06-05 14:22+0200\n"
"POT-Creation-Date: 2004-06-26 10:16+0200\n"
"PO-Revision-Date: 2004-01-13 16:52+0100\n"
"Last-Translator: Julien Moutte <julien@moutte.net>\n"
"Language-Team: French <fr@li.org>\n"
@ -626,7 +626,7 @@ msgstr ""
msgid "File \"%s\" is a socket."
msgstr ""
#: gst/elements/gstidentity.c:191
#: gst/elements/gstidentity.c:265
msgid "Failed after iterations as requested."
msgstr ""
@ -715,6 +715,11 @@ msgstr "impossible de lier un element destination pour l'URI \"%s\""
msgid "empty pipeline not allowed"
msgstr "tube vide non autorisé"
#: tools/gst-inspect.c:1115
#, fuzzy
msgid "Print all elements"
msgstr "pas d'element \"%s\""
#: tools/gst-launch.c:91
msgid "Execution ended after %"
msgstr "L'execution s'est terminé après %"
@ -850,6 +855,42 @@ msgstr "EXECUTION du tube en cours ...\n"
msgid "ERROR: pipeline doesn't want to play.\n"
msgstr "ERREUR: le tube refuse de s'executer.\n"
#: tools/gst-register.c:49
#, c-format
msgid "Added plugin %s with %d %s.\n"
msgstr ""
#: tools/gst-register.c:51 tools/gst-register.c:163
msgid "feature"
msgid_plural "features"
msgstr[0] ""
msgstr[1] ""
#: tools/gst-register.c:108
#, c-format
msgid "Added path %s to %s \n"
msgstr ""
#: tools/gst-register.c:123
#, c-format
msgid "Rebuilding %s (%s) ...\n"
msgstr ""
#: tools/gst-register.c:128
#, c-format
msgid "Trying to load %s ...\n"
msgstr ""
#: tools/gst-register.c:130
#, c-format
msgid "Error loading %s\n"
msgstr ""
#: tools/gst-register.c:162
#, c-format
msgid "Loaded %d plugins with %d %s.\n"
msgstr ""
#~ msgid ""
#~ "could not convert \"%s\" so that it fits property \"%s\" in element \"%s\""
#~ msgstr ""

View file

@ -7,13 +7,14 @@ msgid ""
msgstr ""
"Project-Id-Version: GStreamer\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2004-06-05 14:22+0200\n"
"POT-Creation-Date: 2004-06-26 10:16+0200\n"
"PO-Revision-Date: 2004-01-13 12:03+0100\n"
"Last-Translator: Thomas Vander Stichele <thomas@apestaart.org>\n"
"Language-Team: Dutch <nl@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: gst/gst.c:160
msgid "Print the GStreamer version"
@ -600,7 +601,7 @@ msgstr ""
msgid "File \"%s\" is a socket."
msgstr "Bestand \"%s\" is geen gewoon bestand."
#: gst/elements/gstidentity.c:191
#: gst/elements/gstidentity.c:265
msgid "Failed after iterations as requested."
msgstr "Fout na iteraties zoals gevraagd."
@ -688,6 +689,11 @@ msgstr "kon doelelement niet verbinden voor URI \"%s\""
msgid "empty pipeline not allowed"
msgstr "lege pijplijn niet toegelaten"
#: tools/gst-inspect.c:1115
#, fuzzy
msgid "Print all elements"
msgstr "geen element \"%s\""
#: tools/gst-launch.c:91
msgid "Execution ended after %"
msgstr "Uitvoering beëindigd na %"
@ -820,6 +826,42 @@ msgstr "BEZIG met pijplijn ...\n"
msgid "ERROR: pipeline doesn't want to play.\n"
msgstr "FOUT: pijplijn wil niet spelen.\n"
#: tools/gst-register.c:49
#, c-format
msgid "Added plugin %s with %d %s.\n"
msgstr "Plugin %s toegevoegd met %d %s.\n"
#: tools/gst-register.c:51 tools/gst-register.c:163
msgid "feature"
msgid_plural "features"
msgstr[0] "eigenschap"
msgstr[1] "eigenschappen"
#: tools/gst-register.c:108
#, c-format
msgid "Added path %s to %s \n"
msgstr "Pad %s toegevoegd aan %s \n"
#: tools/gst-register.c:123
#, c-format
msgid "Rebuilding %s (%s) ...\n"
msgstr "%s (%s) aan het herbouwen ...\n"
#: tools/gst-register.c:128
#, c-format
msgid "Trying to load %s ...\n"
msgstr "Aan het proberen %s te laden ...\n"
#: tools/gst-register.c:130
#, fuzzy, c-format
msgid "Error loading %s\n"
msgstr "Fout bij het laden van \"%s\"."
#: tools/gst-register.c:162
#, c-format
msgid "Loaded %d plugins with %d %s.\n"
msgstr "%d plugins geladen met %d %s.\n"
#~ msgid "Show plugin details"
#~ msgstr "Toon details van plugins"

View file

@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: gstreamer 0.7.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2004-06-05 14:22+0200\n"
"POT-Creation-Date: 2004-06-26 10:16+0200\n"
"PO-Revision-Date: 2004-03-13 01:47+0100\n"
"Last-Translator: Danilo Segan <dsegan@gmx.net>\n"
"Language-Team: Serbian <gnu@prevod.org>\n"
@ -605,7 +605,7 @@ msgstr ""
msgid "File \"%s\" is a socket."
msgstr "Датотека „%s“ није обична датотека."
#: gst/elements/gstidentity.c:191
#: gst/elements/gstidentity.c:265
msgid "Failed after iterations as requested."
msgstr "Неуспех након траженог броја покушаја."
@ -694,6 +694,11 @@ msgstr "не могу да вежем завршни елемент за адр
msgid "empty pipeline not allowed"
msgstr "није допуштен празан цевовод"
#: tools/gst-inspect.c:1115
#, fuzzy
msgid "Print all elements"
msgstr "нема елемента „%s“"
#: tools/gst-launch.c:91
msgid "Execution ended after %"
msgstr "Извршавање завршено након %"
@ -824,6 +829,42 @@ msgstr "Покрећем цевовод...\n"
msgid "ERROR: pipeline doesn't want to play.\n"
msgstr "ГРЕШКА: цевовод не жели да пусти.\n"
#: tools/gst-register.c:49
#, c-format
msgid "Added plugin %s with %d %s.\n"
msgstr ""
#: tools/gst-register.c:51 tools/gst-register.c:163
msgid "feature"
msgid_plural "features"
msgstr[0] ""
msgstr[1] ""
#: tools/gst-register.c:108
#, c-format
msgid "Added path %s to %s \n"
msgstr ""
#: tools/gst-register.c:123
#, c-format
msgid "Rebuilding %s (%s) ...\n"
msgstr ""
#: tools/gst-register.c:128
#, c-format
msgid "Trying to load %s ...\n"
msgstr ""
#: tools/gst-register.c:130
#, fuzzy, c-format
msgid "Error loading %s\n"
msgstr "Грешка при затварању датотеке „%s“."
#: tools/gst-register.c:162
#, c-format
msgid "Loaded %d plugins with %d %s.\n"
msgstr ""
#~ msgid "Show plugin details"
#~ msgstr "Прикажи детаље о додатку"

View file

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: gstreamer 0.8.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2004-06-05 14:22+0200\n"
"POT-Creation-Date: 2004-06-26 10:16+0200\n"
"PO-Revision-Date: 2004-03-20 18:41+0100\n"
"Last-Translator: Christian Rose <menthos@menthos.com>\n"
"Language-Team: Swedish <sv@li.org>\n"
@ -606,7 +606,7 @@ msgstr ""
msgid "File \"%s\" is a socket."
msgstr "Filen \"%s\" är ingen vanlig fil."
#: gst/elements/gstidentity.c:191
#: gst/elements/gstidentity.c:265
msgid "Failed after iterations as requested."
msgstr "Misslyckades efter iterationer som begärt."
@ -697,6 +697,11 @@ msgstr "kunde inte länka utgångselementet för URI:n \"%s\""
msgid "empty pipeline not allowed"
msgstr "tom rörledning är inte tillåtet"
#: tools/gst-inspect.c:1115
#, fuzzy
msgid "Print all elements"
msgstr "inget \"%s\"-element"
# Felrapporterat i http://bugzilla.gnome.org/show_bug.cgi?id=137431
#: tools/gst-launch.c:91
msgid "Execution ended after %"
@ -834,6 +839,43 @@ msgstr "KÖR rörledning...\n"
msgid "ERROR: pipeline doesn't want to play.\n"
msgstr "FEL: rörledningen vill inte spela.\n"
#: tools/gst-register.c:49
#, c-format
msgid "Added plugin %s with %d %s.\n"
msgstr ""
#: tools/gst-register.c:51 tools/gst-register.c:163
#, fuzzy
msgid "feature"
msgid_plural "features"
msgstr[0] "Satir"
msgstr[1] "Satir"
#: tools/gst-register.c:108
#, c-format
msgid "Added path %s to %s \n"
msgstr ""
#: tools/gst-register.c:123
#, c-format
msgid "Rebuilding %s (%s) ...\n"
msgstr ""
#: tools/gst-register.c:128
#, c-format
msgid "Trying to load %s ...\n"
msgstr ""
#: tools/gst-register.c:130
#, fuzzy, c-format
msgid "Error loading %s\n"
msgstr "Fel vid sparande av \"%s\""
#: tools/gst-register.c:162
#, c-format
msgid "Loaded %d plugins with %d %s.\n"
msgstr ""
#~ msgid "Show plugin details"
#~ msgstr "Visa detaljer för insticksmodul"
@ -1367,9 +1409,6 @@ msgstr "FEL: rörledningen vill inte spela.\n"
#~ msgid "Porn Groove"
#~ msgstr "Porn Groove"
#~ msgid "Satire"
#~ msgstr "Satir"
#~ msgid "Slow Jam"
#~ msgstr "Slow Jam"
@ -2624,9 +2663,6 @@ msgstr "FEL: rörledningen vill inte spela.\n"
#~ msgid "Overwrite"
#~ msgstr "Skriv över"
#~ msgid "Error saving '%s'"
#~ msgstr "Fel vid sparande av \"%s\""
#~ msgid ""
#~ "<b>Do you want to save the changes you made to \"%s\"?</b>\n"
#~ "\n"

View file

@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: gstreamer 0.8.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2004-06-05 14:22+0200\n"
"POT-Creation-Date: 2004-06-26 10:16+0200\n"
"PO-Revision-Date: 2004-04-03 03:14+0300\n"
"Last-Translator: Baris Cicek <baris@teamforce.name.tr>\n"
"Language-Team: Turkish <gnu-tr-u12a@lists.sourceforge.net>\n"
@ -599,7 +599,7 @@ msgstr ""
msgid "File \"%s\" is a socket."
msgstr "\"%s\" dosyası düzenli bir dosya değil."
#: gst/elements/gstidentity.c:191
#: gst/elements/gstidentity.c:265
msgid "Failed after iterations as requested."
msgstr "İstenildiği gibi tekrarlama başarısız oldu."
@ -687,6 +687,11 @@ msgstr "\"%s\" URI'si için 'sink' öğesi bağlanamadı"
msgid "empty pipeline not allowed"
msgstr "boş boruhattına izin verilmiyor"
#: tools/gst-inspect.c:1115
#, fuzzy
msgid "Print all elements"
msgstr "\"%s\" öğesi yok"
#: tools/gst-launch.c:91
msgid "Execution ended after %"
msgstr "Çalıştırma % sonrası bitti"
@ -816,6 +821,42 @@ msgstr "BORUHATTI çalıştırılıyor ...\n"
msgid "ERROR: pipeline doesn't want to play.\n"
msgstr "HATA: boruhattı çalmak istemiyor.\n"
#: tools/gst-register.c:49
#, c-format
msgid "Added plugin %s with %d %s.\n"
msgstr ""
#: tools/gst-register.c:51 tools/gst-register.c:163
msgid "feature"
msgid_plural "features"
msgstr[0] ""
msgstr[1] ""
#: tools/gst-register.c:108
#, c-format
msgid "Added path %s to %s \n"
msgstr ""
#: tools/gst-register.c:123
#, c-format
msgid "Rebuilding %s (%s) ...\n"
msgstr ""
#: tools/gst-register.c:128
#, c-format
msgid "Trying to load %s ...\n"
msgstr ""
#: tools/gst-register.c:130
#, fuzzy, c-format
msgid "Error loading %s\n"
msgstr "\"%s\" kapatılırken hata."
#: tools/gst-register.c:162
#, c-format
msgid "Loaded %d plugins with %d %s.\n"
msgstr ""
#~ msgid "Show plugin details"
#~ msgstr "Eklenti detaylarını göster"

View file

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: gstreamer 0.8.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2004-06-05 14:22+0200\n"
"POT-Creation-Date: 2004-06-26 10:16+0200\n"
"PO-Revision-Date: 2004-04-20 18:40+0200\n"
"Last-Translator: Maxim V. Dziumanenko <mvd@mylinux.com.ua>\n"
"Language-Team: Ukrainian <translation-team-uk@lists.sourceforge.net>\n"
@ -605,7 +605,7 @@ msgstr ""
msgid "File \"%s\" is a socket."
msgstr "Файл \"%s\" не є звичайним файлом."
#: gst/elements/gstidentity.c:191
#: gst/elements/gstidentity.c:265
msgid "Failed after iterations as requested."
msgstr "Помилка після ітерацій у запитаному порядку."
@ -694,6 +694,11 @@ msgstr "не вдається прив'язати елемент-спожива
msgid "empty pipeline not allowed"
msgstr "порожній канал не допускається"
#: tools/gst-inspect.c:1115
#, fuzzy
msgid "Print all elements"
msgstr "немає елементу \"%s\""
#: tools/gst-launch.c:91
msgid "Execution ended after %"
msgstr "Виконання закінчено після %"
@ -825,6 +830,42 @@ msgstr "ЗАПУСКАЄТЬСЯ канал ...\n"
msgid "ERROR: pipeline doesn't want to play.\n"
msgstr "ПОМИЛКА: канал не може почати відтворення.\n"
#: tools/gst-register.c:49
#, c-format
msgid "Added plugin %s with %d %s.\n"
msgstr ""
#: tools/gst-register.c:51 tools/gst-register.c:163
msgid "feature"
msgid_plural "features"
msgstr[0] ""
msgstr[1] ""
#: tools/gst-register.c:108
#, c-format
msgid "Added path %s to %s \n"
msgstr ""
#: tools/gst-register.c:123
#, c-format
msgid "Rebuilding %s (%s) ...\n"
msgstr ""
#: tools/gst-register.c:128
#, c-format
msgid "Trying to load %s ...\n"
msgstr ""
#: tools/gst-register.c:130
#, fuzzy, c-format
msgid "Error loading %s\n"
msgstr "Помилка закривання файлу \"%s\"."
#: tools/gst-register.c:162
#, c-format
msgid "Loaded %d plugins with %d %s.\n"
msgstr ""
#~ msgid "Show plugin details"
#~ msgstr "Вивести подробиці про модуль"

View file

@ -37,6 +37,8 @@
#include <errno.h>
#include <locale.h>
#include "gst/gst-i18n-app.h"
static gint num_features = 0;
static gint num_plugins = 0;
@ -44,8 +46,9 @@ static void
plugin_added_func (GstRegistry * registry, GstPlugin * plugin,
gpointer user_data)
{
g_print ("added plugin %s with %d feature(s)\n", plugin->desc.name,
plugin->numfeatures);
g_print (_("Added plugin %s with %d %s.\n"), plugin->desc.name,
plugin->numfeatures,
ngettext ("feature", "features", plugin->numfeatures));
num_features += plugin->numfeatures;
num_plugins++;
@ -80,7 +83,11 @@ main (int argc, char *argv[])
GList *registries;
GList *path_spill = NULL; /* used for path spill from failing registries */
setlocale (LC_ALL, "");
#ifdef GETTEXT_PACKAGE
bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
textdomain (GETTEXT_PACKAGE);
#endif
/* Init gst */
_gst_registry_auto_load = FALSE;
@ -102,7 +109,7 @@ main (int argc, char *argv[])
* since they're spilled they probably weren't loaded correctly
* so we should give a lower priority registry the chance to do them */
for (iter = path_spill; iter; iter = iter->next) {
g_print ("added path %s to %s \n",
g_print (_("Added path %s to %s \n"),
(const char *) iter->data, registry->name);
gst_registry_add_path (registry, (const gchar *) iter->data);
}
@ -117,14 +124,14 @@ main (int argc, char *argv[])
char *location;
g_object_get (registry, "location", &location, NULL);
g_print ("rebuilding %s (%s)\n", registry->name, location);
g_print (_("Rebuilding %s (%s) ...\n"), registry->name, location);
g_free (location);
gst_registry_rebuild (registry);
gst_registry_save (registry);
} else {
g_print ("trying to load %s\n", registry->name);
g_print (_("Trying to load %s ...\n"), registry->name);
if (!gst_registry_load (registry)) {
g_print ("error loading %s\n", registry->name);
g_print (_("Error loading %s\n"), registry->name);
/* move over paths from this registry to the next one */
path_spill = g_list_concat (path_spill,
gst_registry_get_path_list (registry));
@ -156,7 +163,8 @@ main (int argc, char *argv[])
registries = g_list_next (registries);
}
g_print ("loaded %d plugins with %d features\n", num_plugins, num_features);
g_print (_("Loaded %d plugins with %d %s.\n"), num_plugins, num_features,
ngettext ("feature", "features", num_features));
return (0);
}