summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hahn <pmhahn@users.sourceforge.net>2002-07-19 14:07:37 +0000
committerPhilipp Hahn <pmhahn@users.sourceforge.net>2002-07-19 14:07:37 +0000
commitc7c523ac32cf4eac88658e3ebb034bf4235b70ee (patch)
tree87bc83383d7d4af2eee515bab0093d37bbb0cc7c
parent7183ad34fbd7037a34e93fb451a980790616bc17 (diff)
downloadxine-lib-c7c523ac32cf4eac88658e3ebb034bf4235b70ee.tar.gz
xine-lib-c7c523ac32cf4eac88658e3ebb034bf4235b70ee.tar.bz2
Better plural by ValtrII
CVS patchset: 2316 CVS date: 2002/07/19 14:07:37
-rw-r--r--po/cs.po12
-rw-r--r--src/demuxers/demux_qt.c4
-rw-r--r--src/demuxers/demux_smjpeg.c4
-rw-r--r--src/demuxers/demux_wav.c4
4 files changed, 12 insertions, 12 deletions
diff --git a/po/cs.po b/po/cs.po
index c57245af3..6ea15014e 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -12,6 +12,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=ISO-8859-2\n"
"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%"
+"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
#: src/audio_out/audio_alsa_out.c:181 src/audio_out/audio_alsa_out.c:728
#: src/audio_out/audio_alsa_out.c:913 src/audio_out/audio_alsa_out.c:957
@@ -376,12 +378,10 @@ msgstr "demux_qt: '%c%c%c%c' zvuk @ %d Hz, %d bitù, %d %s\n"
#: src/demuxers/demux_qt.c:1367 src/demuxers/demux_smjpeg.c:420
#: src/demuxers/demux_wav.c:322
msgid "channel"
-msgstr "kanálù"
-
-#: src/demuxers/demux_qt.c:1367 src/demuxers/demux_smjpeg.c:420
-#: src/demuxers/demux_wav.c:322
-msgid "channels"
-msgstr ""
+msgid_plural "channels"
+msgstr[0] "kanál"
+msgstr[1] "kanály"
+msgstr[2] "kanálù"
#: src/demuxers/demux_qt.c:1548
#, c-format
diff --git a/src/demuxers/demux_qt.c b/src/demuxers/demux_qt.c
index 6088ee0ab..93a30ad6a 100644
--- a/src/demuxers/demux_qt.c
+++ b/src/demuxers/demux_qt.c
@@ -30,7 +30,7 @@
* build_frame_table
* free_qt_info
*
- * $Id: demux_qt.c,v 1.71 2002/07/19 03:21:49 miguelfreitas Exp $
+ * $Id: demux_qt.c,v 1.72 2002/07/19 14:07:38 pmhahn Exp $
*
*/
@@ -1434,7 +1434,7 @@ static int demux_qt_start (demux_plugin_t *this_gen,
this->qt->audio_sample_rate,
this->qt->audio_bits,
this->qt->audio_channels,
- (this->qt->audio_channels == 1) ? _("channel") : _("channels"));
+ ngettext("channel", "channels", this->qt->audio_channels));
/* send start buffers */
xine_demux_control_start(this->xine);
diff --git a/src/demuxers/demux_smjpeg.c b/src/demuxers/demux_smjpeg.c
index d9cc2fa0b..4d267e95e 100644
--- a/src/demuxers/demux_smjpeg.c
+++ b/src/demuxers/demux_smjpeg.c
@@ -21,7 +21,7 @@
* For more information on the SMJPEG file format, visit:
* http://www.lokigames.com/development/smjpeg.php3
*
- * $Id: demux_smjpeg.c,v 1.4 2002/07/17 18:17:49 miguelfreitas Exp $
+ * $Id: demux_smjpeg.c,v 1.5 2002/07/19 14:07:38 pmhahn Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -412,7 +412,7 @@ this->video_type = BUF_VIDEO_JPEG;
this->audio_sample_rate,
this->audio_bits,
this->audio_channels,
- (this->audio_channels == 1) ? _("channel") : _("channels"));
+ ngettext("channel", "channels", this->audio_channels));
/* send start buffers */
xine_demux_control_start(this->xine);
diff --git a/src/demuxers/demux_wav.c b/src/demuxers/demux_wav.c
index f39ff4223..b75411914 100644
--- a/src/demuxers/demux_wav.c
+++ b/src/demuxers/demux_wav.c
@@ -20,7 +20,7 @@
* MS WAV File Demuxer by Mike Melanson (melanson@pcisys.net)
* based on WAV specs that are available far and wide
*
- * $Id: demux_wav.c,v 1.5 2002/07/17 18:17:49 miguelfreitas Exp $
+ * $Id: demux_wav.c,v 1.6 2002/07/19 14:07:38 pmhahn Exp $
*
*/
@@ -314,7 +314,7 @@ static int demux_wav_start (demux_plugin_t *this_gen,
this->wave->nSamplesPerSec,
this->wave->wBitsPerSample,
this->wave->nChannels,
- (this->wave->nChannels == 1) ? _("channel") : _("channels"));
+ ngettext("channel", "channels", this->wave->nChannels));
xine_log(this->xine, XINE_LOG_FORMAT,
_("demux_wav: running time = %d min, %d sec\n"),
this->data_size / this->wave->nAvgBytesPerSec / 60,