542 |
gchar* get_media_label(gint Atypecd, gchar *Abuf, gint Alen) { |
gchar* get_media_label(gint Atypecd, gchar *Abuf, gint Alen) { |
543 |
*Abuf = 0; |
*Abuf = 0; |
544 |
|
|
545 |
if (Atypecd & _MEDIA_BLANKORAPPENDABLE) { |
if (Atypecd & _MEDIA_TITLE_BLANKORAPPENDABLE) { |
546 |
g_snprintf(Abuf, Alen, _("a CDR/RW")); |
g_snprintf(Abuf, Alen, _("an empty or appendable CDR/RW")); |
547 |
} else if ((Atypecd & _MEDIA_DVDPRW) || (Atypecd & _MEDIA_DVDMRW)) { |
} else if ((Atypecd & _MEDIA_DVDP_RW) || (Atypecd & _MEDIA_DVDM_RW)) { |
548 |
g_snprintf(Abuf, Alen, _("a DVDRW")); |
g_snprintf(Abuf, Alen, _("a DVDRW")); |
549 |
} else if (Atypecd & _MEDIA_DVDRew) { |
} else if (Atypecd & _MEDIA_TITLE_DVDRew) { |
550 |
g_snprintf(Abuf, Alen, _("a DVDR/RW")); |
g_snprintf(Abuf, Alen, _("an empty or appendable DVDR/RW")); |
551 |
} else if ((Atypecd & _MEDIA_DVDRP) || (Atypecd & _MEDIA_DVDRM)) { |
} else if ((Atypecd & _MEDIA_DVDR_P) || (Atypecd & _MEDIA_DVDR_M)) { |
552 |
g_snprintf(Abuf, Alen, _("a DVDR")); |
g_snprintf(Abuf, Alen, _("a DVDR")); |
553 |
} else if (Atypecd & _MEDIA_DVD) { |
} else if (Atypecd & _MEDIA_DVD) { |
554 |
g_snprintf(Abuf, Alen, _("a DVD")); |
g_snprintf(Abuf, Alen, _("a DVD")); |