projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f05227b
)
Add some comments for translators.
author
Carl Hetherington
<cth@carlh.net>
Wed, 28 Oct 2015 10:48:01 +0000
(10:48 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 28 Oct 2015 10:48:01 +0000
(10:48 +0000)
src/lib/ffmpeg_content.cc
patch
|
blob
|
history
diff --git
a/src/lib/ffmpeg_content.cc
b/src/lib/ffmpeg_content.cc
index 2c2d36a986c6eb3b725b40c9222e38d5f9e043d6..6df97a48535f1e8b56f65a94cc8a55f51d9015c6 100644
(file)
--- 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:
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:
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:
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:
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:
} 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:
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:
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:
p.push_back (make_pair (_("Colour range"), _("Full")));
break;
default: