1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 90_i18n-fix.dpatch by Tobias Grimm <tg@e-tobi.net>
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: Fix problem with englisch texts containint "$" not used as
6 ## DP: context separator.
9 diff -urNad vdr-plugin-burn-0.1
.0~pre21~
/i18n.c vdr-plugin-burn-0.1
.0~pre21
/i18n.c
10 --- vdr-plugin-burn-0.1
.0~pre21~
/i18n.c
2006-09-16 20:33:36.000000000 +0200
11 +++ vdr-plugin-burn-0.1
.0~pre21
/i18n.c
2006-10-24 01:04:19.000000000 +0200
16 - { "Total size: %1$.1f MB %2$s",
17 + { "$Total size: %1$.1f MB %2$s",
18 "Gesamtgröße: %1$.1f MB %2$s",
25 - { "Job active (Writing: %1$d%%)",
26 + { "$Job active (Writing: %1$d%%)",
27 "Auftrag aktiv (Schreibe: %1$d%%)",
34 - { "Recordings: %1$d, total size: %2$.1f MB",
35 + { "$Recordings: %1$d, total size: %2$.1f MB",
36 "Aufzeichnungen: %1$d, Gesamtgröße: %2$.1f MB",
39 diff -urNad vdr-plugin-burn-0.1
.0~pre21~
/menuburn.c vdr-plugin-burn-0.1
.0~pre21
/menuburn.c
40 --- vdr-plugin-burn-0.1
.0~pre21~
/menuburn.c
2006-09-16 20:33:36.000000000 +0200
41 +++ vdr-plugin-burn-0.1
.0~pre21
/menuburn.c
2006-10-24 01:05:15.000000000 +0200
44 const recording_list
& recordings
( job_.get_recordings
() );
45 if ( recordings.size
() > 0 )
46 - return str
( boost
::format
( tr("Recordings: %1$d, total size: %2$.1f MB") )
47 + return str
( boost
::format
( tr("$Recordings: %1$d, total size: %2$.1f MB") )
48 % recordings.size
() % ( double
( job_.get_tracks_size
() ) / MEGABYTE
(1) ) );
50 return tr("No recordings marked for burning");
54 if (manager
::get_active
()->get_is_burning
(percent
))
55 - Add
( new menu
::text_item
( str
( boost
::format
( tr("Job active (Writing: %1$d%%)") ) % percent
) ) );
56 + Add
( new menu
::text_item
( str
( boost
::format
( tr("$Job active (Writing: %1$d%%)") ) % percent
) ) );
58 Add
(new menu
::text_item
(tr("Job active (Converting)")));
60 diff -urNad vdr-plugin-burn-0.1
.0~pre21~
/menuitems.c vdr-plugin-burn-0.1
.0~pre21
/menuitems.c
61 --- vdr-plugin-burn-0.1
.0~pre21~
/menuitems.c
2006-09-16 20:33:36.000000000 +0200
62 +++ vdr-plugin-burn-0.1
.0~pre21
/menuitems.c
2006-10-24 01:05:24.000000000 +0200
65 void size_text_item
::update
( bool cut_
)
67 - SetText
( str
( boost
::format
( tr("Total size: %1$.1f MB %2$s") )
68 + SetText
( str
( boost
::format
( tr("$Total size: %1$.1f MB %2$s") )
69 % ( double
( m_job.get_tracks_size
( cut_
) ) / MEGABYTE
(1) )
70 % ( m_job.get_requant_factor
( cut_
) > 1 ?
tr("(would be shrinked)") : "" ) ).c_str
() );