extern const struct output_driver_factory list_driver_factory;
extern const struct output_driver_factory html_driver_factory;
extern const struct output_driver_factory csv_driver_factory;
-#ifdef ODT_SUPPORT
+#ifdef ODF_WRITE_SUPPORT
extern const struct output_driver_factory odt_driver_factory;
#endif
#ifdef HAVE_CAIRO
&list_driver_factory,
&html_driver_factory,
&csv_driver_factory,
-#ifdef ODT_SUPPORT
+#ifdef ODF_WRITE_SUPPORT
&odt_driver_factory,
#endif
#ifdef HAVE_CAIRO
device_type = SETTINGS_DEVICE_LISTING;
else
{
- /* TRANSLATORS: Don't translate the words `terminal' or `listing'. */
- error (0, 0, _("%s is not a valid device type (the choices are "
- "`terminal' and `listing')"), device_string);
+ error (0, 0, _("%s is not a valid device type (the choices are `%s' and `%s')"),
+ device_string, "terminal", "listing");
device_type = default_device_type (file_name);
}