From 2bbe490b330e858d9f3ab6822cc6bd8e9ac7da4c Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 28 Oct 2015 10:48:01 +0000 Subject: [PATCH] Add some comments for translators. --- src/lib/ffmpeg_content.cc | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/lib/ffmpeg_content.cc b/src/lib/ffmpeg_content.cc index 2c2d36a98..6df97a485 100644 --- a/src/lib/ffmpeg_content.cc +++ b/src/lib/ffmpeg_content.cc @@ -376,12 +376,18 @@ FFmpegContent::add_properties (list >& p) const switch (_color_range) { case AVCOL_RANGE_UNSPECIFIED: + /// TRANSLATORS: this means that the range of pixel values used in this + /// file is unknown (not specified in the file). p.push_back (make_pair (_("Colour range"), _("Unspecified"))); break; case AVCOL_RANGE_MPEG: + /// TRANSLATORS: this means that the range of pixel values used in this + /// file is limited, so that not all possible values are valid. p.push_back (make_pair (_("Colour range"), String::compose (_("Limited (%1-%2)"), (total - sub) / 2, (total + sub) / 2))); break; case AVCOL_RANGE_JPEG: + /// TRANSLATORS: this means that the range of pixel values used in this + /// file is full, so that all possible pixel values are valid. p.push_back (make_pair (_("Colour range"), String::compose (_("Full (0-%1)"), total))); break; default: @@ -390,12 +396,18 @@ FFmpegContent::add_properties (list >& p) const } else { switch (_color_range) { case AVCOL_RANGE_UNSPECIFIED: + /// TRANSLATORS: this means that the range of pixel values used in this + /// file is unknown (not specified in the file). p.push_back (make_pair (_("Colour range"), _("Unspecified"))); break; case AVCOL_RANGE_MPEG: + /// TRANSLATORS: this means that the range of pixel values used in this + /// file is limited, so that not all possible values are valid. p.push_back (make_pair (_("Colour range"), _("Limited"))); break; case AVCOL_RANGE_JPEG: + /// TRANSLATORS: this means that the range of pixel values used in this + /// file is full, so that all possible pixel values are valid. p.push_back (make_pair (_("Colour range"), _("Full"))); break; default: -- 2.30.2