summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-10-28 10:48:01 +0000
committerCarl Hetherington <cth@carlh.net>2015-10-28 10:48:01 +0000
commit2bbe490b330e858d9f3ab6822cc6bd8e9ac7da4c (patch)
tree1e9198916dc3acd5a678ad23c43ea9133e4ea5b3
parentf05227bb4504cb17765d659384c2ce645aae9e34 (diff)
Add some comments for translators.
-rw-r--r--src/lib/ffmpeg_content.cc12
1 files changed, 12 insertions, 0 deletions
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<pair<string, string> >& 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<pair<string, string> >& 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: