[mythtv-commits] mythtv commits

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Tue Nov 23 06:55:02 UTC 2004


----------------------------------------------------------------------------
Changes committed by bjm on Tue Nov 23 06:54:26 2004

Modified Files:
   in mythtv/libs/libmythtv:
        programinfo.cpp programinfo.h 
   in mythtv/programs/mythfrontend:
        playbackbox.cpp previousbox.cpp programrecpriority.cpp 
Log Message:
Title sorting for Watch/Delete Recordings, Set Priorities, and
Previously Recorded pages. In English, titles should be sorted
alphabetically excluding the prefix words The, A and An. These and the
Program Finder are the only pages currently which display sorted lists
of titles. Program Finder is already hard coded to treat "The" and "A"
as exceptions for English only and would require much more work to
convert.

While each of these pages have different code to suit different needs,
they each create hidden modified copies of the titles for sorting by
using the regular expression tr("^(The |A |An )") . Notice the
"tr(" which means that any person doing translations, programmer
or not, may translate this string ( "^(Das |de |la |a |Da )") for
whichever or how many ever prefix words are excluded when sorting
titles in their language. Translating this sting will then affect
the title sorting for each of these three pages. If a language
does not exclude any prefix words for sorting, simply translate
this string to be "".

----------------------------------------------------------------------------


More information about the mythtv-commits mailing list