From: Thomas Vander Stichele Date: Sat, 26 Jun 2004 13:09:37 +0000 (+0000) Subject: i18n-ize register X-Git-Tag: RELEASE-0_8_4~109 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=477783c722b846eef3fc70922e25b72c4e6364c2;p=platform%2Fupstream%2Fgstreamer.git i18n-ize register Original commit message from CVS: i18n-ize register --- diff --git a/ChangeLog b/ChangeLog index 89bc8fb..7180ef9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,20 @@ 2004-06-26 Thomas Vander Stichele + * 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 + * gst/elements/gstidentity.c: (gst_identity_class_init), (gst_identity_init), (gst_identity_chain), (gst_identity_set_property), (gst_identity_get_property): diff --git a/po/POTFILES.in b/po/POTFILES.in index c8e71a0..53c46ba 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -15,3 +15,4 @@ gst/elements/gsttypefindelement.c gst/parse/grammar.y tools/gst-inspect.c tools/gst-launch.c +tools/gst-register.c diff --git a/po/af.po b/po/af.po index 9f000ed..3f3fa79 100644 --- a/po/af.po +++ b/po/af.po @@ -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 \n" "Language-Team: Afrikaans \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" diff --git a/po/az.po b/po/az.po index a8e2cad..4a4067d 100644 --- a/po/az.po +++ b/po/az.po @@ -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 \n" "Language-Team: Azerbaijani \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 "')" diff --git a/po/en_GB.po b/po/en_GB.po index 6aa4c9d..4a739b5 100644 --- a/po/en_GB.po +++ b/po/en_GB.po @@ -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 \n" "Language-Team: English (British) \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" diff --git a/po/fr.po b/po/fr.po index 2b42255..89506e3 100644 --- a/po/fr.po +++ b/po/fr.po @@ -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 \n" "Language-Team: French \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 "" diff --git a/po/nl.po b/po/nl.po index ef7198f..70e8fe1 100644 --- a/po/nl.po +++ b/po/nl.po @@ -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 \n" "Language-Team: Dutch \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" diff --git a/po/sr.po b/po/sr.po index e210590..8d686f7 100644 --- a/po/sr.po +++ b/po/sr.po @@ -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 \n" "Language-Team: Serbian \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 "Прикажи детаље о додатку" diff --git a/po/sv.po b/po/sv.po index 3e31c50..3bd896a 100644 --- a/po/sv.po +++ b/po/sv.po @@ -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 \n" "Language-Team: Swedish \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 "" #~ "Do you want to save the changes you made to \"%s\"?\n" #~ "\n" diff --git a/po/tr.po b/po/tr.po index decb95c..0d4df5b 100644 --- a/po/tr.po +++ b/po/tr.po @@ -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 \n" "Language-Team: Turkish \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" diff --git a/po/uk.po b/po/uk.po index 3391fe4..11e2516 100644 --- a/po/uk.po +++ b/po/uk.po @@ -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 \n" "Language-Team: Ukrainian \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 "Вивести подробиці про модуль" diff --git a/tools/gst-register.c b/tools/gst-register.c index e8e2c5e..8265271 100644 --- a/tools/gst-register.c +++ b/tools/gst-register.c @@ -37,6 +37,8 @@ #include #include +#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); }