From: Carl Hetherington Date: Wed, 28 Oct 2015 10:48:01 +0000 (+0000) Subject: Add some comments for translators. X-Git-Tag: v2.4.13~2 X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=2bbe490b330e858d9f3ab6822cc6bd8e9ac7da4c Add some comments for translators. --- 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: