Re: Code freeze break request



Hey guys,

> 1 - Translate cd media names, like N_("Blank CD-ROM Disc"):
I have an update version of the first patch. We didnt use the
correct gettext version for it and forgot about another location.
Sebastien Bacher spotted the error and confirmed it works.

Good to commit?

Cheers,
Christian

Index: hal/ghalmount.c
===================================================================
--- hal/ghalmount.c	(revision 1611)
+++ hal/ghalmount.c	(working copy)
@@ -209,9 +209,9 @@
     }
   
   if (is_blank)
-    return gettext(disc_data[n].ui_name_blank);
+    return dgettext (GETTEXT_PACKAGE, disc_data[n].ui_name_blank);
   else
-    return gettext(disc_data[n].ui_name);
+    return dgettext (GETTEXT_PACKAGE, disc_data[n].ui_name);
 }
 
 typedef struct _MountIconSearchData
Index: hal/ghalvolume.c
===================================================================
--- hal/ghalvolume.c	(revision 1611)
+++ hal/ghalvolume.c	(working copy)
@@ -184,9 +184,9 @@
     }
   
   if (is_blank)
-    return disc_data[n].ui_name_blank;
+    return dgettext (GETTEXT_PACKAGE, disc_data[n].ui_name_blank);
   else
-    return disc_data[n].ui_name;
+    return dgettext (GETTEXT_PACKAGE, disc_data[n].ui_name);
 }

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]