summaryrefslogtreecommitdiff
path: root/src/lib/util.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-11-24 12:05:01 +0000
committerCarl Hetherington <cth@carlh.net>2014-11-24 12:05:01 +0000
commitee63091f695dfe4e5a1bf8e30a1e828b8dd6940d (patch)
tree19cee177eb1d4c252f9fbacfeda4e7965fdc3bb8 /src/lib/util.cc
parent0c2dfab6d1483af2a8be64213613f454d14fbe2d (diff)
Hand apply 7e5cb78c7e14aac65d1e8a4df301cfac8cf20b2c from master;
fix markup of TRANSLATORS comments.
Diffstat (limited to 'src/lib/util.cc')
-rw-r--r--src/lib/util.cc17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/lib/util.cc b/src/lib/util.cc
index 3f1f72c2c..bf4c74244 100644
--- a/src/lib/util.cc
+++ b/src/lib/util.cc
@@ -156,10 +156,10 @@ seconds_to_approximate_hms (int s)
if (hours) {
if (m > 30 && !minutes) {
- /* TRANSLATORS: h here is an abbreviation for hours */
+ /// TRANSLATORS: h here is an abbreviation for hours
ap << (h + 1) << _("h");
} else {
- /* TRANSLATORS: h here is an abbreviation for hours */
+ /// TRANSLATORS: h here is an abbreviation for hours
ap << h << _("h");
}
@@ -171,10 +171,10 @@ seconds_to_approximate_hms (int s)
if (minutes) {
/* Minutes */
if (s > 30 && !seconds) {
- /* TRANSLATORS: m here is an abbreviation for minutes */
+ /// TRANSLATORS: m here is an abbreviation for minutes
ap << (m + 1) << _("m");
} else {
- /* TRANSLATORS: m here is an abbreviation for minutes */
+ /// TRANSLATORS: m here is an abbreviation for minutes
ap << m << _("m");
}
@@ -185,7 +185,7 @@ seconds_to_approximate_hms (int s)
if (seconds) {
/* Seconds */
- /* TRANSLATORS: s here is an abbreviation for seconds */
+ /// TRANSLATORS: s here is an abbreviation for seconds
ap << s << _("s");
}
@@ -767,10 +767,9 @@ audio_channel_name (int c)
{
assert (MAX_DCP_AUDIO_CHANNELS == 12);
- /* TRANSLATORS: these are the names of audio channels; Lfe (sub) is the low-frequency
- enhancement channel (sub-woofer). HI is the hearing-impaired audio track and
- VI is the visually-impaired audio track (audio describe).
- */
+ /// TRANSLATORS: these are the names of audio channels; Lfe (sub) is the low-frequency
+ /// enhancement channel (sub-woofer). HI is the hearing-impaired audio track and
+ /// VI is the visually-impaired audio track (audio describe).
string const channels[] = {
_("Left"),
_("Right"),