[gephi-dev] ExporterBuilderCSV.getName() should not be translatable
Sébastien Heymann
sebastien.heymann at gephi.org
Mon Jan 10 16:06:54 CET 2011
Hi,
I figure out that exporter names shouldn't be translatable.
If for instance, ExporterBuilderCSV.getName() returns a different string
according to the locale, getting the exporter using the toolkit can be
broken, as one get it like this:
final ExportController ec =
Lookup.getDefault().lookup(ExportController.class);
ExporterCSV exporter = (ExporterCSV) ec.getExporter("CSV");
So Mathieu, I'll remove the translated strings from the getName() methods of
export builders if you're okay.
Seb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gephi.org/pipermail/gephi-dev/attachments/20110110/e3c0e231/attachment.html>
More information about the gephi-dev
mailing list