[mythtv-commits] Ticket #8175: Themestrings which contains a newline character are untranslatable

MythTV mythtv at cvs.mythtv.org
Sat Mar 13 23:29:14 UTC 2010


#8175: Themestrings which contains a newline character are untranslatable
----------------------------------------+-----------------------------------
 Reporter:  Kenni Lund <kenni@…>        |       Owner:  reynaldo
     Type:  defect                      |      Status:  new     
 Priority:  minor                       |   Milestone:  unknown 
Component:  Translations                |     Version:  head    
 Severity:  medium                      |     Mlocked:  0       
----------------------------------------+-----------------------------------
 All themestring which contains the newline-character (\n) are translatable
 by linguist, but they are never used by mythfrontend or the plugins. I
 haven't been able to figure out where the exact problem is, but the
 following themes and strings are affected:

 {{{
 [kenni at ION trunk]$ grep -r -e "\\\n" myththemes/ mythtv/|grep "<value>"
 |grep ".xml:"
 myththemes/Graphite/schedule-ui.xml:            <value>You Haven't
 Scheduled Any Programs To Be Recorded\n
 myththemes/Mythbuntu/schedule-ui.xml:            <value>You Haven't
 Scheduled Any Programs To Be Recorded\n
 myththemes/Mythbuntu/schedule-ui.xml:            <value>You Haven't
 Scheduled Any Programs To Be Recorded\n
 myththemes/Arclight/weather-ui.xml:            <value>This screen governs
 the behavior of the weather screens.  You can enable a background weather
 update which will run regardless of being on the weather screen, and
 configure how many seconds each screen will display.\n\nWhen you are done
 configuring the Weather Plugin, click "Finish" to continue.</value>
 myththemes/Arclight/weather-ui.xml:            <value>This settings screen
 governs the behavior of individual weather scripts.  Select the script
 whose behavior you with to change and press the right arrow. Adjust the
 interval at which data is retrieved, and the timeout for accessing the
 site.\n\nWhen you have completed your changes, click "Finish" to
 continue.</value>
 myththemes/Arclight/browser-ui.xml:            <value>You can edit the
 name, URL, and category for the selected Web Site on this screen.\n\nWhen
 you have finished editing, select "OK" or "Cancel" to continue.</value>
 myththemes/Arclight/news-ui.xml:            <value>You can edit the name,
 URL, and icon path for the selected RSS Feed on this screen.  You can also
 designate the item as a podcast.\n\nWhen you have finished editing, select
 "OK" or "Cancel" to continue.</value>
 myththemes/Arclight/schedule-ui.xml:            <value>Sort By:\n(1) Title
 (2) Priority (4) Type</value>
 myththemes/Arclight/schedule-ui.xml:            <value>To create a custom
 priority rule, enter a name and priority adjustment.  You can them select
 from existing priority templates or create one of your own using SQL
 syntax in the "Clause SQL" edit box.\n\nOnce you have completed your rule,
 can can Test, Delete, or Install it right away.</value>
 myththemes/Arclight/schedule-ui.xml:            <value>You can specify
 basic criteria to create powerful search and record rules.  Below, you may
 enter title, subtitle, and description phrases (all optional), as well as
 category, genre, and channel values to refine a complex search for
 programs.\n\nWhen you have completed your configuration, press "OK" to
 search.</value>
 myththemes/Arclight/schedule-ui.xml:            <value>Sort By:\n(1) Title
 (2) Priority (4) Type</value>
 myththemes/Arclight/schedule-ui.xml:            <value>To create a custom
 recording rule, either select an existing rule, or create a new rule by
 typing in a name.  Then select a rule type and hit enter.  The SQL code
 will be transferred below, and you can edit it and insert your own program
 information.\n\nFinally, you can test, immediately activate, store, or
 cancel your rule.</value>
 myththemes/Arclight/recordings-ui.xml:            <value>Using the text
 areas below, you can change the recording title, subtitle, and
 description.\n\nOnce you have completed your modifications, click the "OK"
 button.</value>
 myththemes/Arclight/video-ui.xml:            <value>On this screen, you
 can add new extensions to be recognized by the Video Plugin.  If a scan
 does not add your files, create a new extension below by clicking the
 "New" button.\n\nIf you select "Use Default Player," the player command
 set for the extension will be ignored.  "Ignore This File Type" prevents
 the items from appearing in a scan.</value>
 myththemes/Arclight/netvision-ui.xml:            <value>Type the URL to an
 RSS 2.0 media feed below.  If editing an existing feed, modify any of the
 values you like.  Press "Save" to save/subscribe.\n\nFor new
 subscriptions, you can simply enter the URL and click "Save."</value>
 myththemes/metallurgy/schedule-ui.xml:            <value>You Haven't
 Scheduled Any Programs To Be Recorded\n
 mythtv/themes/default-wide/schedule-ui.xml:            <value>You Haven't
 Scheduled Any Programs To Be Recorded\n
 mythtv/themes/default-wide/schedule-ui.xml:            <value>You Haven't
 Scheduled Any Programs To Be Recorded\n
 mythtv/themes/Terra/schedule-ui.xml:            <value>You Haven't
 Scheduled Any Programs To Be Recorded\n
 mythtv/themes/Terra/schedule-ui.xml:            <value>You Haven't
 Scheduled Any Programs To Be Recorded\n
 mythtv/themes/MythCenter-wide/schedule-ui.xml:            <value>You
 Haven't Scheduled Any Programs To Be Recorded\n
 mythtv/themes/MythCenter-wide/schedule-ui.xml:            <value>You
 Haven't Scheduled Any Programs To Be Recorded\n
 mythtv/themes/MythCenter/schedule-ui.xml:            <value>You Haven't
 Scheduled Any Programs To Be Recorded\n
 mythtv/themes/MythCenter/schedule-ui.xml:            <value>You Haven't
 Scheduled Any Programs To Be Recorded\n
 mythtv/themes/default/schedule-ui.xml:            <value>You Haven't
 Scheduled Any Programs To Be Recorded\n
 mythtv/themes/default/schedule-ui.xml:            <value>You Haven't
 Scheduled Any Programs To Be Recorded\n
 }}}

 This has been tested with the Danish translation and r23735.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/8175>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list