update nl transition add gst-launch to be translated

Original commit message from CVS:
update nl transition
add gst-launch to be translated
This commit is contained in:
Thomas Vander Stichele 2004-01-13 13:44:10 +00:00
parent 495973824d
commit 7e56c5435f
6 changed files with 458 additions and 133 deletions

View file

@ -1,3 +1,11 @@
2004-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
* po/POTFILES.in: adding gst-launch
* po/nl.po: updated translation, all 99 strings translated
* tools/gst-launch.c: (idle_func), (xmllaunch_parse_cmdline),
(found_tag), (sigint_handler_sighandler), (play_handler), (main):
fix strings for translation
2004-01-13 Thomas Vander Stichele <thomas at apestaart dot org> 2004-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gst.c: * gst/gst.c:

View file

@ -3,4 +3,4 @@
gst/gst.c gst/gst.c
gst/gsttag.c gst/gsttag.c
gst/elements/gsttypefindelement.c gst/elements/gsttypefindelement.c
tools/gst-launch.c

View file

@ -9,6 +9,7 @@ Q: How do I add/mark strings to be translated ?
A: - Use N_(...) to mark for translation. A: - Use N_(...) to mark for translation.
- Use _(...) to get a translated string - Use _(...) to get a translated string
- run "make gstreamer-0.7.pot-update" to update the .pot file - run "make gstreamer-0.7.pot-update" to update the .pot file
and check if your new strings got added
Q: How do I add a language ? Q: How do I add a language ?
A: - copy gstreamer-0.7.pot to your new language.po A: - copy gstreamer-0.7.pot to your new language.po
@ -24,4 +25,6 @@ A: - run make language.po-update to update your .po file
- run make install from the .po dir (so the updated strings get installed - run make install from the .po dir (so the updated strings get installed
and will be used in the lib/app) and test if the new strings are and will be used in the lib/app) and test if the new strings are
translated translated
(To check, you need to export LANG=ll_LL. Make sure you add the last
bit; ie. for Dutch you need export LANG=nl_NL)
- commit - commit

211
po/de.po
View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: gstreamer-0.7 0.7.0.1\n" "Project-Id-Version: gstreamer-0.7 0.7.0.1\n"
"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/\n" "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/\n"
"POT-Creation-Date: 2004-01-13 12:03+0100\n" "POT-Creation-Date: 2004-01-13 14:29+0100\n"
"PO-Revision-Date: 2003-10-08 15:36-0700\n" "PO-Revision-Date: 2003-10-08 15:36-0700\n"
"Last-Translator: David Schleef <ds@schleef.org>\n" "Last-Translator: David Schleef <ds@schleef.org>\n"
"Language-Team: Gnome Translators <i18n@gnome.org>\n" "Language-Team: Gnome Translators <i18n@gnome.org>\n"
@ -15,74 +15,100 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
#: gst/gst.c:117 #: gst/gst.c:118
msgid "Print the GStreamer version" msgid "Print the GStreamer version"
msgstr "druck die GStreamer Version" msgstr "druck die GStreamer Version"
#: gst/gst.c:118 #: gst/gst.c:119
msgid "Make all warnings fatal" msgid "Make all warnings fatal"
msgstr "macht alle Achtunge toedlich" msgstr "macht alle Achtunge toedlich"
#: gst/gst.c:120 #: gst/gst.c:121
msgid "" msgid ""
"default debug level from 1 (only error) to 5 (anything) or 0 for no output" "Default debug level from 1 (only error) to 5 (anything) or 0 for no output"
msgstr "" msgstr ""
#: gst/gst.c:121 #: gst/gst.c:121
msgid "" msgid "LEVEL"
"colon-seperated list of category_name=level pairs to set specific levels for "
"the individual categories.\n"
"Example:GST_AUTOPLUG=5:GST_ELEMENT_*=3"
msgstr "" msgstr ""
#: gst/gst.c:122 #: gst/gst.c:122
msgid "disable color debugging output" msgid ""
msgstr "abschalt Farbe in Fehlersucheausgabe" "Comma-separated list of category_name:level pairs to set specific levels for "
"the individual categories.\n"
#: gst/gst.c:123 "Example: GST_AUTOPLUG:5,GST_ELEMENT_*:3"
msgid "disable debugging"
msgstr "abschalt die Fehlersuche"
#: gst/gst.c:124
msgid "print available debug categories and exit"
msgstr "" msgstr ""
#: gst/gst.c:126 #: gst/gst.c:122
msgid "Disable accelerated CPU instructions" msgid "CATEGORIES"
msgstr ""
#: gst/gst.c:123
#, fuzzy
msgid "Disable color debugging output"
msgstr "abschalt Farbe in Fehlersucheausgabe"
#: gst/gst.c:124
#, fuzzy
msgid "Disable debugging"
msgstr "abschalt die Fehlersuche"
#: gst/gst.c:125
msgid "Print available debug categories and exit"
msgstr "" msgstr ""
#: gst/gst.c:127 #: gst/gst.c:127
msgid "enable verbose plugin loading diagnostics" msgid "Disable accelerated CPU instructions"
msgstr "" msgstr ""
#: gst/gst.c:128 #: gst/gst.c:128
msgid "'" msgid "Enable verbose plugin loading diagnostics"
msgstr ""
#: gst/gst.c:128
msgid "'--separated path list for loading plugins"
msgstr "" msgstr ""
#: gst/gst.c:129 #: gst/gst.c:129
msgid "path list for loading plugins (separated by '"
msgstr ""
#: gst/gst.c:129
msgid "')"
msgstr ""
#: gst/gst.c:129
msgid "PATHS"
msgstr ""
#: gst/gst.c:130
msgid "" msgid ""
"comma-separated list of plugins to preload in addition to the list stored in " "Comma-separated list of plugins to preload in addition to the list stored in "
"env variable GST_PLUGIN_PATH" "env variable GST_PLUGIN_PATH"
msgstr "" msgstr ""
#: gst/gst.c:130 #: gst/gst.c:130
msgid "disable trapping of segmentation faults during plugin loading" msgid "PLUGINS"
msgstr "" msgstr ""
#: gst/gst.c:131 #: gst/gst.c:131
msgid "scheduler to use ('" msgid "Disable trapping of segmentation faults during plugin loading"
msgstr "" msgstr ""
#: gst/gst.c:131 #: gst/gst.c:132
msgid "Scheduler to use ('"
msgstr ""
#: gst/gst.c:132
msgid "' is the default)" msgid "' is the default)"
msgstr "" msgstr ""
#: gst/gst.c:132 #: gst/gst.c:132
msgid "registry to use" msgid "SCHEDULER"
msgstr ""
#: gst/gst.c:133
msgid "Registry to use"
msgstr ""
#: gst/gst.c:133
msgid "REGISTRY"
msgstr "" msgstr ""
#: gst/gsttag.c:61 #: gst/gsttag.c:61
@ -277,5 +303,128 @@ msgstr ""
msgid "maximum" msgid "maximum"
msgstr "" msgstr ""
#: tools/gst-launch.c:60
msgid "Execution ended after %"
msgstr ""
#: tools/gst-launch.c:60
msgid " iterations (sum %"
msgstr ""
#: tools/gst-launch.c:60
msgid " ns, average %"
msgstr ""
#: tools/gst-launch.c:60
msgid " ns, min %"
msgstr ""
#: tools/gst-launch.c:60
msgid " ns, max %"
msgstr ""
#: tools/gst-launch.c:60
msgid " ns).\n"
msgstr ""
#: tools/gst-launch.c:80
msgid "Usage: gst-xmllaunch <file.xml> [ element.property=value ... ]\n"
msgstr ""
#: tools/gst-launch.c:88
#, c-format
msgid "ERROR: parse of xml file '%s' failed.\n"
msgstr ""
#: tools/gst-launch.c:94
#, c-format
msgid "ERROR: no toplevel pipeline element in file '%s'.\n"
msgstr ""
#: tools/gst-launch.c:99
msgid "WARNING: only one toplevel element is supported at this time."
msgstr ""
#: tools/gst-launch.c:109
#, c-format
msgid "ERROR: could not parse command line argument %d: %s"
msgstr ""
#: tools/gst-launch.c:119
#, c-format
msgid "WARNING: element named '%s' not found."
msgstr ""
#: tools/gst-launch.c:254
#, c-format
msgid "FOUND TAG : found by element \"%s\".\n"
msgstr ""
#: tools/gst-launch.c:331
msgid "Output tags (also known as metadata)"
msgstr ""
#: tools/gst-launch.c:333
msgid "Output status information and property notifications"
msgstr ""
#: tools/gst-launch.c:335
msgid "Do not output status information of TYPE"
msgstr ""
#: tools/gst-launch.c:335
msgid "TYPE1,TYPE2,..."
msgstr ""
#: tools/gst-launch.c:338
msgid "Save xml representation of pipeline to FILE and exit"
msgstr ""
#: tools/gst-launch.c:338
msgid "FILE"
msgstr ""
#: tools/gst-launch.c:341
msgid "Do not install a fault handler"
msgstr ""
#: tools/gst-launch.c:343
msgid "Print alloc trace (if enabled at compile time)"
msgstr ""
#: tools/gst-launch.c:345
msgid "Number of times to iterate pipeline"
msgstr ""
#: tools/gst-launch.c:410
#, c-format
msgid "ERROR: pipeline could not be constructed: %s\n"
msgstr ""
#: tools/gst-launch.c:414
msgid "ERROR: pipeline could not be constructed.\n"
msgstr ""
#: tools/gst-launch.c:418
#, c-format
msgid "WARNING: erroneous pipeline: %s\n"
msgstr ""
#: tools/gst-launch.c:419
msgid " Trying to run anyway.\n"
msgstr ""
#: tools/gst-launch.c:443
msgid "ERROR: the 'pipeline' element wasn't found.\n"
msgstr ""
#: tools/gst-launch.c:450
msgid "RUNNING pipeline ...\n"
msgstr ""
#: tools/gst-launch.c:452
msgid "ERROR: pipeline doesn't want to play.\n"
msgstr ""
#~ msgid "This is a test\n" #~ msgid "This is a test\n"
#~ msgstr "moo\n" #~ msgstr "moo\n"

297
po/nl.po
View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: GStreamer\n" "Project-Id-Version: GStreamer\n"
"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/\n" "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/\n"
"POT-Creation-Date: 2004-01-13 12:03+0100\n" "POT-Creation-Date: 2004-01-13 14:29+0100\n"
"PO-Revision-Date: 2004-01-13 12:03+0100\n" "PO-Revision-Date: 2004-01-13 12:03+0100\n"
"Last-Translator: Thomas Vander Stichele <thomas@apestaart.org>\n" "Last-Translator: Thomas Vander Stichele <thomas@apestaart.org>\n"
"Language-Team: Dutch <nl@li.org>\n" "Language-Team: Dutch <nl@li.org>\n"
@ -15,75 +15,107 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
#: gst/gst.c:117 #: gst/gst.c:118
msgid "Print the GStreamer version" msgid "Print the GStreamer version"
msgstr "Druk de GStreamer versie af" msgstr "Druk de GStreamer versie af"
#: gst/gst.c:118 #: gst/gst.c:119
msgid "Make all warnings fatal" msgid "Make all warnings fatal"
msgstr "Maak alle waarschuwingen fataal" msgstr "Maak alle waarschuwingen fataal"
#: gst/gst.c:120
msgid ""
"default debug level from 1 (only error) to 5 (anything) or 0 for no output"
msgstr ""
#: gst/gst.c:121 #: gst/gst.c:121
msgid "" msgid ""
"colon-seperated list of category_name=level pairs to set specific levels for " "Default debug level from 1 (only error) to 5 (anything) or 0 for no output"
"the individual categories.\n"
"Example:GST_AUTOPLUG=5:GST_ELEMENT_*=3"
msgstr "" msgstr ""
"Standaard debug-niveau van 1 (enkel fouten) tot 5 (alles) of 0 voor geen "
"uitvoer"
#: gst/gst.c:121
msgid "LEVEL"
msgstr "NIVEAU"
#: gst/gst.c:122 #: gst/gst.c:122
msgid "disable color debugging output" msgid ""
"Comma-separated list of category_name:level pairs to set specific levels for "
"the individual categories.\n"
"Example: GST_AUTOPLUG:5,GST_ELEMENT_*:3"
msgstr "" msgstr ""
"Lijst van categorie_naam=niveau paren, gescheiden door dubbele punten, om "
"specifieke niveau's in te stellen voor de individuele categorieën.\n"
"Voorbeeld:GST_AUTOPLUG:5,GST_ELEMENT_*:3"
#: gst/gst.c:122
msgid "CATEGORIES"
msgstr "CATEGORIEEN"
#: gst/gst.c:123 #: gst/gst.c:123
msgid "disable debugging" msgid "Disable color debugging output"
msgstr "" msgstr "Zet kleuren af in debug-uitvoer"
#: gst/gst.c:124 #: gst/gst.c:124
msgid "print available debug categories and exit" msgid "Disable debugging"
msgstr "" msgstr "Zet debugging af"
#: gst/gst.c:126 #: gst/gst.c:125
msgid "Disable accelerated CPU instructions" msgid "Print available debug categories and exit"
msgstr "" msgstr "Druk beschikbare debug-categorieën af en stop"
#: gst/gst.c:127 #: gst/gst.c:127
msgid "enable verbose plugin loading diagnostics" msgid "Disable accelerated CPU instructions"
msgstr "" msgstr "Schakel versnelde CPU-instructies uit"
#: gst/gst.c:128 #: gst/gst.c:128
msgid "'" msgid "Enable verbose plugin loading diagnostics"
msgstr "" msgstr "Schakel uitgebreide diagnostiek aan voor het laden van plugins"
#: gst/gst.c:128
msgid "'--separated path list for loading plugins"
msgstr ""
#: gst/gst.c:129 #: gst/gst.c:129
msgid "" msgid "path list for loading plugins (separated by '"
"comma-separated list of plugins to preload in addition to the list stored in " msgstr "padlijst om plugins te laden (gescheiden door '"
"env variable GST_PLUGIN_PATH"
msgstr "" #: gst/gst.c:129
msgid "')"
msgstr ")"
#: gst/gst.c:129
msgid "PATHS"
msgstr "PADEN"
#: gst/gst.c:130 #: gst/gst.c:130
msgid "disable trapping of segmentation faults during plugin loading" msgid ""
"Comma-separated list of plugins to preload in addition to the list stored in "
"env variable GST_PLUGIN_PATH"
msgstr "" msgstr ""
"Lijst van plugins, gescheiden door komma's, om eerste te laden bovenop de "
"lijst volgens omgevingsvariable GST_PLUGIN_PATH"
#: gst/gst.c:130
msgid "PLUGINS"
msgstr "PLUGINS"
#: gst/gst.c:131 #: gst/gst.c:131
msgid "scheduler to use ('" msgid "Disable trapping of segmentation faults during plugin loading"
msgstr ""
#: gst/gst.c:131
msgid "' is the default)"
msgstr "" msgstr ""
"Schakel het opvangen van segmentatiefouten uit tijdens laden van plugins"
#: gst/gst.c:132 #: gst/gst.c:132
msgid "registry to use" msgid "Scheduler to use ('"
msgstr "" msgstr "Planner om te gebruiken ('"
#: gst/gst.c:132
msgid "' is the default)"
msgstr "' is de voorkeursplanner)"
#: gst/gst.c:132
msgid "SCHEDULER"
msgstr "PLANNER"
#: gst/gst.c:133
msgid "Registry to use"
msgstr "Register om te gebruiken"
#: gst/gst.c:133
msgid "REGISTRY"
msgstr "REGISTER"
#: gst/gsttag.c:61 #: gst/gsttag.c:61
msgid "title" msgid "title"
@ -151,128 +183,255 @@ msgstr "aantal nummers van de verzameling waarop dit stuk staat"
#: gst/gsttag.c:101 #: gst/gsttag.c:101
msgid "location" msgid "location"
msgstr "" msgstr "locatie"
#: gst/gsttag.c:102 #: gst/gsttag.c:102
msgid "original location of file as a URI" msgid "original location of file as a URI"
msgstr "" msgstr "originele locatie van bestand als een URI"
#: gst/gsttag.c:106 #: gst/gsttag.c:106
msgid "description" msgid "description"
msgstr "" msgstr "omschrijving"
#: gst/gsttag.c:107 #: gst/gsttag.c:107
msgid "short text describing the content of the data" msgid "short text describing the content of the data"
msgstr "" msgstr "korte tekst die de inhoud van het stuk omschrijft"
#: gst/gsttag.c:111 #: gst/gsttag.c:111
msgid "version" msgid "version"
msgstr "" msgstr "versie"
#: gst/gsttag.c:112 #: gst/gsttag.c:112
msgid "version of this data" msgid "version of this data"
msgstr "" msgstr "versie van dit stuk"
#: gst/gsttag.c:116 #: gst/gsttag.c:116
msgid "ISRC" msgid "ISRC"
msgstr "" msgstr "ISRC"
#: gst/gsttag.c:117 #: gst/gsttag.c:117
msgid "International Standard Recording Code - see http://www.ifpi.org/isrc/" msgid "International Standard Recording Code - see http://www.ifpi.org/isrc/"
msgstr "" msgstr ""
"Internationale Standaard Recording Code - zie http://www.ifpi.org/isrc/"
#: gst/gsttag.c:121 gst/gsttag.c:122 #: gst/gsttag.c:121 gst/gsttag.c:122
msgid "organization" msgid "organization"
msgstr "" msgstr "organizatie"
#: gst/gsttag.c:126 #: gst/gsttag.c:126
msgid "copyright" msgid "copyright"
msgstr "" msgstr "copyright"
#: gst/gsttag.c:127 #: gst/gsttag.c:127
msgid "copyright notice of the data" msgid "copyright notice of the data"
msgstr "" msgstr "copyright-notitie van het stuk"
#: gst/gsttag.c:131 #: gst/gsttag.c:131
msgid "contact" msgid "contact"
msgstr "" msgstr "contact"
#: gst/gsttag.c:132 #: gst/gsttag.c:132
msgid "contact information" msgid "contact information"
msgstr "" msgstr "contactinformatie"
#: gst/gsttag.c:136 #: gst/gsttag.c:136
msgid "license" msgid "license"
msgstr "" msgstr "licentie"
#: gst/gsttag.c:137 #: gst/gsttag.c:137
msgid "license of data" msgid "license of data"
msgstr "" msgstr "licentie van het stuk"
#: gst/gsttag.c:141 #: gst/gsttag.c:141
msgid "performer" msgid "performer"
msgstr "" msgstr "uitvoerder"
#: gst/gsttag.c:142 #: gst/gsttag.c:142
msgid "person(s) performing" msgid "person(s) performing"
msgstr "" msgstr "perso(o)n(en) die het stuk uitvoeren"
#: gst/gsttag.c:146 #: gst/gsttag.c:146
msgid "duration" msgid "duration"
msgstr "" msgstr "duur"
#: gst/gsttag.c:147 #: gst/gsttag.c:147
msgid "length in GStreamer time units (nanoseconds)" msgid "length in GStreamer time units (nanoseconds)"
msgstr "" msgstr "lengte in GStreamer tijdseenheden (nanoseconden)"
#: gst/gsttag.c:151 #: gst/gsttag.c:151
msgid "codec" msgid "codec"
msgstr "" msgstr "codec"
#: gst/gsttag.c:152 #: gst/gsttag.c:152
msgid "codec the data is stored in" msgid "codec the data is stored in"
msgstr "" msgstr "codec waarin het stuk is opgeslagen"
#: gst/gsttag.c:156 #: gst/gsttag.c:156
msgid "minimum bitrate" msgid "minimum bitrate"
msgstr "" msgstr "minimum bitsnelheid"
#: gst/gsttag.c:157 #: gst/gsttag.c:157
msgid "minimum bitrate in bits/s" msgid "minimum bitrate in bits/s"
msgstr "" msgstr "minimum bitsnelheid in bits per seconde"
#: gst/gsttag.c:161 #: gst/gsttag.c:161
msgid "bitrate" msgid "bitrate"
msgstr "" msgstr "bitsnelheid"
#: gst/gsttag.c:162 #: gst/gsttag.c:162
msgid "exact or average bitrate in bits/s" msgid "exact or average bitrate in bits/s"
msgstr "" msgstr "exacte of gemiddelde bitsnelheid in bits/s"
#: gst/gsttag.c:166 #: gst/gsttag.c:166
msgid "maximum bitrate" msgid "maximum bitrate"
msgstr "" msgstr "maximum bitsnelheid"
#: gst/gsttag.c:167 #: gst/gsttag.c:167
msgid "maximum bitrate in bits/s" msgid "maximum bitrate in bits/s"
msgstr "" msgstr "maximum bitsnelheid in bits per seconde"
#: gst/gsttag.c:205 #: gst/gsttag.c:205
msgid ", " msgid ", "
msgstr "" msgstr ", "
#: gst/elements/gsttypefindelement.c:152 #: gst/elements/gsttypefindelement.c:152
msgid "caps" msgid "caps"
msgstr "" msgstr "mogelijkheden"
#: gst/elements/gsttypefindelement.c:152 #: gst/elements/gsttypefindelement.c:152
msgid "detected capabilities in stream" msgid "detected capabilities in stream"
msgstr "" msgstr "gedetecteerde mogelijkheden in stroom"
#: gst/elements/gsttypefindelement.c:155 #: gst/elements/gsttypefindelement.c:155
msgid "minimum" msgid "minimum"
msgstr "" msgstr "minimum"
#: gst/elements/gsttypefindelement.c:158 #: gst/elements/gsttypefindelement.c:158
msgid "maximum" msgid "maximum"
msgstr "maximum"
#: tools/gst-launch.c:60
msgid "Execution ended after %"
msgstr "Uitvoering beëindigd na %"
#: tools/gst-launch.c:60
msgid " iterations (sum %"
msgstr "iteraties (som %"
#: tools/gst-launch.c:60
msgid " ns, average %"
msgstr "ns, gemiddeld %"
#: tools/gst-launch.c:60
msgid " ns, min %"
msgstr "ns, min %"
#: tools/gst-launch.c:60
msgid " ns, max %"
msgstr "ns, max %"
#: tools/gst-launch.c:60
msgid " ns).\n"
msgstr "ns).\n"
#: tools/gst-launch.c:80
msgid "Usage: gst-xmllaunch <file.xml> [ element.property=value ... ]\n"
msgstr "" msgstr ""
"Gebruik: gst-xmllaunch <bestand.xml> [ element.eigenschap=waarde ... ]\n"
#: tools/gst-launch.c:88
#, c-format
msgid "ERROR: parse of xml file '%s' failed.\n"
msgstr "FOUT: verwerken van xml-bestand '%s' mislukt.\n"
#: tools/gst-launch.c:94
#, c-format
msgid "ERROR: no toplevel pipeline element in file '%s'.\n"
msgstr "FOUT: geen bovenste pijplijn-element gevonden in file '%s'.\n"
#: tools/gst-launch.c:99
msgid "WARNING: only one toplevel element is supported at this time."
msgstr ""
"WAARSCHUWING: slechts één element op het hoogste niveau ondersteund op dit "
"moment."
#: tools/gst-launch.c:109
#, c-format
msgid "ERROR: could not parse command line argument %d: %s"
msgstr "FOUT: versta argument %d op commandoregel niet: %s"
#: tools/gst-launch.c:119
#, c-format
msgid "WARNING: element named '%s' not found."
msgstr "WAARSCHUWING: element met naam '%s' niet gevonden."
#: tools/gst-launch.c:254
#, c-format
msgid "FOUND TAG : found by element \"%s\".\n"
msgstr "TAG GEVONDEN : gevonden door element \"%s\".\n"
#: tools/gst-launch.c:331
msgid "Output tags (also known as metadata)"
msgstr "Druk tags (ofte metadata) af"
#: tools/gst-launch.c:333
msgid "Output status information and property notifications"
msgstr "Druk statusinformatie en eigenschapsnotificatie af"
#: tools/gst-launch.c:335
msgid "Do not output status information of TYPE"
msgstr "Druk statusinformatie van type TYPE niet af"
#: tools/gst-launch.c:335
msgid "TYPE1,TYPE2,..."
msgstr "TYPE1,TYPE2,..."
#: tools/gst-launch.c:338
msgid "Save xml representation of pipeline to FILE and exit"
msgstr "Bewaar xml-representatie van pijplijn af naar FILE en stop"
#: tools/gst-launch.c:338
msgid "FILE"
msgstr "BESTAND"
#: tools/gst-launch.c:341
msgid "Do not install a fault handler"
msgstr "Installeer geen foutafhandelaar"
#: tools/gst-launch.c:343
msgid "Print alloc trace (if enabled at compile time)"
msgstr "Druk allocatiespoor af indien aangezet tijdens compileren"
#: tools/gst-launch.c:345
msgid "Number of times to iterate pipeline"
msgstr "Aantal keren om de pijplijn te herhalen"
#: tools/gst-launch.c:410
#, c-format
msgid "ERROR: pipeline could not be constructed: %s\n"
msgstr "FOUT: pijplijn kon niet gemaakt worden: %s\n"
#: tools/gst-launch.c:414
msgid "ERROR: pipeline could not be constructed.\n"
msgstr "FOUT: pijplijn kon niet gemaakt worden.\n"
#: tools/gst-launch.c:418
#, c-format
msgid "WARNING: erroneous pipeline: %s\n"
msgstr "WAARSCHUWING: foutieve pijplijn: %s\n"
#: tools/gst-launch.c:419
msgid " Trying to run anyway.\n"
msgstr " Probeer toch uit te voeren.\n"
#: tools/gst-launch.c:443
msgid "ERROR: the 'pipeline' element wasn't found.\n"
msgstr "FOUT: het 'pijplijn' element werd niet gevonden.\n"
#: tools/gst-launch.c:450
msgid "RUNNING pipeline ...\n"
msgstr "BEZIG met pijplijn ...\n"
#: tools/gst-launch.c:452
msgid "ERROR: pipeline doesn't want to play.\n"
msgstr "FOUT: pijplijn wil niet spelen.\n"

View file

@ -7,7 +7,8 @@
#include <signal.h> #include <signal.h>
#include <unistd.h> #include <unistd.h>
#include <sys/wait.h> #include <sys/wait.h>
#include <locale.h> #include <locale.h> /* for LC_ALL */
#include "gst/gst-i18n-app.h"
#include <gst/gst.h> #include <gst/gst.h>
@ -56,7 +57,7 @@ idle_func (gpointer data)
if (!busy || caught_intr || (max_iterations>0 && iterations>=max_iterations)) { if (!busy || caught_intr || (max_iterations>0 && iterations>=max_iterations)) {
gst_main_quit (); gst_main_quit ();
g_print ("execution ended after %" G_GUINT64_FORMAT " iterations (sum %" G_GUINT64_FORMAT " ns, average %" G_GUINT64_FORMAT " ns, min %" G_GUINT64_FORMAT " ns, max %" G_GUINT64_FORMAT " ns)\n", g_print (_("Execution ended after %" G_GUINT64_FORMAT " iterations (sum %" G_GUINT64_FORMAT " ns, average %" G_GUINT64_FORMAT " ns, min %" G_GUINT64_FORMAT " ns, max %" G_GUINT64_FORMAT " ns).\n"),
iterations, sum, sum/iterations, min, max); iterations, sum, sum/iterations, min, max);
} }
@ -65,7 +66,7 @@ idle_func (gpointer data)
#ifndef GST_DISABLE_LOADSAVE #ifndef GST_DISABLE_LOADSAVE
static GstElement* static GstElement*
xmllaunch_parse_cmdline (const gchar **argv) xmllaunch_parse_cmdline (const gchar **argv)
{ {
GstElement *pipeline = NULL, *e; GstElement *pipeline = NULL, *e;
GstXML *xml; GstXML *xml;
@ -76,7 +77,7 @@ xmllaunch_parse_cmdline (const gchar **argv)
gint i = 0; gint i = 0;
if (!(arg = argv[0])) { if (!(arg = argv[0])) {
g_print ("usage: gst-xmllaunch <file.xml> [ element.property=value ... ]\n"); g_print (_("Usage: gst-xmllaunch <file.xml> [ element.property=value ... ]\n"));
exit (1); exit (1);
} }
@ -84,18 +85,18 @@ xmllaunch_parse_cmdline (const gchar **argv)
err = gst_xml_parse_file(xml, arg, NULL); err = gst_xml_parse_file(xml, arg, NULL);
if (err != TRUE) { if (err != TRUE) {
fprintf (stderr, "ERROR: parse of xml file '%s' failed\n", arg); fprintf (stderr, _("ERROR: parse of xml file '%s' failed.\n"), arg);
exit (1); exit (1);
} }
l = gst_xml_get_topelements (xml); l = gst_xml_get_topelements (xml);
if (!l) { if (!l) {
fprintf (stderr, "ERROR: no toplevel pipeline element in file '%s'\n", arg); fprintf (stderr, _("ERROR: no toplevel pipeline element in file '%s'.\n"), arg);
exit (1); exit (1);
} }
if (l->next) if (l->next)
g_warning ("only one toplevel element is supported at this time"); fprintf (stderr, _("WARNING: only one toplevel element is supported at this time."));
pipeline = GST_ELEMENT (l->data); pipeline = GST_ELEMENT (l->data);
@ -105,7 +106,7 @@ xmllaunch_parse_cmdline (const gchar **argv)
value = strchr (element, '='); value = strchr (element, '=');
if (!(element < property && property < value)) { if (!(element < property && property < value)) {
fprintf (stderr, "ERROR: could not parse command line argument %d: %s", i, element); fprintf (stderr, _("ERROR: could not parse command line argument %d: %s"), i, element);
g_free (element); g_free (element);
exit (1); exit (1);
} }
@ -115,7 +116,7 @@ xmllaunch_parse_cmdline (const gchar **argv)
e = gst_bin_get_by_name (GST_BIN (pipeline), element); e = gst_bin_get_by_name (GST_BIN (pipeline), element);
if (!e) { if (!e) {
g_warning ("element named '%s' not found", element); fprintf (stderr, _("WARNING: element named '%s' not found."), element);
} else { } else {
gst_util_set_object_arg (G_OBJECT (e), property, value); gst_util_set_object_arg (G_OBJECT (e), property, value);
} }
@ -250,16 +251,17 @@ print_tag (const GstTagList *list, const gchar *tag, gpointer unused)
static void static void
found_tag (GObject *pipeline, GstElement *source, GstTagList *tags) found_tag (GObject *pipeline, GstElement *source, GstTagList *tags)
{ {
g_print ("FOUND TAG : element \"%s\"\n", GST_STR_NULL (GST_ELEMENT_NAME (source))); g_print (_("FOUND TAG : found by element \"%s\".\n"),
GST_STR_NULL (GST_ELEMENT_NAME (source)));
gst_tag_list_foreach (tags, print_tag, NULL); gst_tag_list_foreach (tags, print_tag, NULL);
} }
/* we only use sighandler here because the registers are not important */ /* we only use sighandler here because the registers are not important */
static void static void
sigint_handler_sighandler (int signum) sigint_handler_sighandler (int signum)
{ {
g_print ("Caught interrupt\n"); g_print ("Caught interrupt.\n");
sigint_restore(); sigint_restore();
caught_intr = TRUE; caught_intr = TRUE;
@ -292,11 +294,11 @@ play_handler (int signum)
{ {
switch (signum) { switch (signum) {
case SIGUSR1: case SIGUSR1:
g_print ("Caught SIGUSR1 - Play request\n"); g_print ("Caught SIGUSR1 - Play request.\n");
gst_element_set_state (pipeline, GST_STATE_PLAYING); gst_element_set_state (pipeline, GST_STATE_PLAYING);
break; break;
case SIGUSR2: case SIGUSR2:
g_print ("Caught SIGUSR2 - Stop request\n"); g_print ("Caught SIGUSR2 - Stop request.\n");
gst_element_set_state (pipeline, GST_STATE_NULL); gst_element_set_state (pipeline, GST_STATE_NULL);
break; break;
} }
@ -326,21 +328,21 @@ main(int argc, char *argv[])
gchar *exclude_args = NULL; gchar *exclude_args = NULL;
struct poptOption options[] = { struct poptOption options[] = {
{"tags", 't', POPT_ARG_NONE|POPT_ARGFLAG_STRIP, &tags, 0, {"tags", 't', POPT_ARG_NONE|POPT_ARGFLAG_STRIP, &tags, 0,
"output tags (also known as metadata)", NULL}, N_("Output tags (also known as metadata)"), NULL},
{"verbose", 'v', POPT_ARG_NONE|POPT_ARGFLAG_STRIP, &verbose, 0, {"verbose", 'v', POPT_ARG_NONE|POPT_ARGFLAG_STRIP, &verbose, 0,
"output status information and property notifications", NULL}, N_("Output status information and property notifications"), NULL},
{"exclude", 'X', POPT_ARG_STRING|POPT_ARGFLAG_STRIP, &exclude_args, 0, {"exclude", 'X', POPT_ARG_STRING|POPT_ARGFLAG_STRIP, &exclude_args, 0,
"do not output status information of TYPE", "TYPE1,TYPE2,..."}, N_("Do not output status information of TYPE"), N_("TYPE1,TYPE2,...")},
#ifndef GST_DISABLE_LOADSAVE #ifndef GST_DISABLE_LOADSAVE
{"output", 'o', POPT_ARG_STRING|POPT_ARGFLAG_STRIP, &savefile, 0, {"output", 'o', POPT_ARG_STRING|POPT_ARGFLAG_STRIP, &savefile, 0,
"save xml representation of pipeline to FILE and exit", "FILE"}, N_("Save xml representation of pipeline to FILE and exit"), N_("FILE")},
#endif #endif
{"no-fault", 'f', POPT_ARG_NONE|POPT_ARGFLAG_STRIP, &no_fault, 0, {"no-fault", 'f', POPT_ARG_NONE|POPT_ARGFLAG_STRIP, &no_fault, 0,
"Do not install a fault handler", NULL}, N_("Do not install a fault handler"), NULL},
{"trace", 'T', POPT_ARG_NONE|POPT_ARGFLAG_STRIP, &trace, 0, {"trace", 'T', POPT_ARG_NONE|POPT_ARGFLAG_STRIP, &trace, 0,
"print alloc trace if enabled at compile time", NULL}, N_("Print alloc trace (if enabled at compile time)"), NULL},
{"iterations",'i',POPT_ARG_INT|POPT_ARGFLAG_STRIP, &max_iterations, 0, {"iterations",'i',POPT_ARG_INT|POPT_ARGFLAG_STRIP, &max_iterations, 0,
"number of times to iterate pipeline", NULL}, N_("Number of times to iterate pipeline"), NULL},
POPT_TABLEEND POPT_TABLEEND
}; };
@ -351,9 +353,11 @@ main(int argc, char *argv[])
free (malloc (8)); /* -lefence */ free (malloc (8)); /* -lefence */
setlocale(LC_ALL, ""); setlocale(LC_ALL, "");
bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
textdomain (GETTEXT_PACKAGE);
gst_alloc_trace_set_flags_all (GST_ALLOC_TRACE_LIVE); gst_alloc_trace_set_flags_all (GST_ALLOC_TRACE_LIVE);
gst_init_with_popt_table (&argc, &argv, options); gst_init_with_popt_table (&argc, &argv, options);
/* FIXpopt: strip short args, too. We do it ourselves for now */ /* FIXpopt: strip short args, too. We do it ourselves for now */
@ -382,7 +386,7 @@ main(int argc, char *argv[])
if (trace) { if (trace) {
if (!gst_alloc_trace_available()) { if (!gst_alloc_trace_available()) {
g_warning ("trace not available (recompile with trace enabled)"); g_warning ("Trace not available (recompile with trace enabled).");
} }
gst_alloc_trace_print_all (); gst_alloc_trace_print_all ();
} }
@ -403,14 +407,16 @@ main(int argc, char *argv[])
if (!pipeline) { if (!pipeline) {
if (error) { if (error) {
fprintf(stderr, "ERROR: pipeline could not be constructed: %s\n", error->message); fprintf(stderr, _("ERROR: pipeline could not be constructed: %s\n"),
error->message);
g_error_free (error); g_error_free (error);
} else { } else {
fprintf(stderr, "ERROR: pipeline could not be constructed\n"); fprintf(stderr, _("ERROR: pipeline could not be constructed.\n"));
} }
exit(1); exit(1);
} else if (error) { } else if (error) {
fprintf(stderr, "WARNING: erroneous pipeline: %s\n Trying to run anyway\n", error->message); fprintf(stderr, _("WARNING: erroneous pipeline: %s\n"), error->message);
fprintf(stderr, _(" Trying to run anyway.\n"));
g_error_free (error); g_error_free (error);
} }
@ -434,16 +440,16 @@ main(int argc, char *argv[])
if (!GST_IS_BIN (pipeline)) { if (!GST_IS_BIN (pipeline)) {
GstElement *real_pipeline = gst_element_factory_make ("pipeline", NULL); GstElement *real_pipeline = gst_element_factory_make ("pipeline", NULL);
if (real_pipeline == NULL) { if (real_pipeline == NULL) {
fprintf(stderr, "ERROR: The pipeline element wasn't found.\n"); fprintf(stderr, _("ERROR: the 'pipeline' element wasn't found.\n"));
exit(1); exit(1);
} }
gst_bin_add (GST_BIN (real_pipeline), pipeline); gst_bin_add (GST_BIN (real_pipeline), pipeline);
pipeline = real_pipeline; pipeline = real_pipeline;
} }
fprintf(stderr,"RUNNING pipeline\n"); fprintf(stderr, _("RUNNING pipeline ...\n"));
if (gst_element_set_state (pipeline, GST_STATE_PLAYING) == GST_STATE_FAILURE) { if (gst_element_set_state (pipeline, GST_STATE_PLAYING) == GST_STATE_FAILURE) {
fprintf(stderr,"pipeline doesn't want to play\n"); fprintf(stderr, _("ERROR: pipeline doesn't want to play.\n"));
res = -1; res = -1;
goto end; goto end;
} }
@ -454,9 +460,9 @@ main(int argc, char *argv[])
g_idle_add (idle_func, pipeline); g_idle_add (idle_func, pipeline);
gst_main (); gst_main ();
} else { } else {
g_print ("waiting for the state change...\n"); g_print ("Waiting for the state change... ");
gst_element_wait_state_change (pipeline); gst_element_wait_state_change (pipeline);
g_print ("got the state change...\n"); g_print ("got the state change.\n");
} }
gst_element_set_state (pipeline, GST_STATE_NULL); gst_element_set_state (pipeline, GST_STATE_NULL);