[mythtv] [PATCH i18n] fix osd display of the sleep timer function
Stefan Frank
sfr+lists at 6913304088794.gnuu.de
Fri May 28 06:16:23 EDT 2004
Hi,
this patch makes the osd actually display the translated time string for
the sleep timer. Additionally it removes a whitespace character
from the 'Sleep ' string. Whitespace characters in tr() objects are
really hard to spot in linguist.
Someone more experienced please check and commit it if it looks correct.
Bye, Stefan
--
In Ohio, if you ignore an orator on Decoration day to such an extent as
to publicly play croquet or pitch horseshoes within one mile of the
speaker's stand, you can be fined $25.00.
-------------- next part --------------
Index: libs/libmythtv/tv_play.cpp
===================================================================
RCS file: /var/lib/mythcvs/mythtv/libs/libmythtv/tv_play.cpp,v
retrieving revision 1.180
diff -u -r1.180 tv_play.cpp
--- libs/libmythtv/tv_play.cpp 23 May 2004 00:41:19 -0000 1.180
+++ libs/libmythtv/tv_play.cpp 28 May 2004 10:06:13 -0000
@@ -2978,7 +2978,8 @@
TRUE);
}
- text = tr("Sleep ") + sleep_timer_array[sleep_index].dispString;
+ text = tr("Sleep") + " " + QObject::tr(
+ sleep_timer_array[sleep_index].dispString);
// display OSD
if (osd && !browsemode)
More information about the mythtv-dev
mailing list