updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / vdr-burn / 90_i18n-fix.dpatch
blob0c0805316bccf420778f8d422d57cd2b2db0f67f
1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 90_i18n-fix.dpatch by Tobias Grimm <tg@e-tobi.net>
3 ##
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.
8 @DPATCH@
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
12 @@ -210,7 +210,7 @@
13 #endif
14 #endif
16 - { "Total size: %1$.1f MB %2$s",
17 + { "$Total size: %1$.1f MB %2$s",
18 "Gesamtgröße: %1$.1f MB %2$s",
19 "",
20 "",
21 @@ -782,7 +782,7 @@
22 #endif
23 #endif
25 - { "Job active (Writing: %1$d%%)",
26 + { "$Job active (Writing: %1$d%%)",
27 "Auftrag aktiv (Schreibe: %1$d%%)",
28 "",
29 "",
30 @@ -1874,7 +1874,7 @@
31 #endif
32 #endif
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",
37 "",
38 "",
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
42 @@ -226,7 +226,7 @@
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) ) );
49 else
50 return tr("No recordings marked for burning");
51 @@ -566,7 +566,7 @@
53 int percent;
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 ) ) );
57 else
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
63 @@ -102,7 +102,7 @@
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() );