"Preview" and "Unable to show preview" are not translated
Leviand opened this issue · comments
Leviand commented
When translating everything is fine except for "Preview" and "Unable to show preview".
@Bean
public GridExportLocalizationConfig gridExportLocalizationConfig() {
final GridExportLocalizationConfig config = new GridExportLocalizationConfig();
final Map<String, String> traduzione = Map.ofEntries(
entry(EXPORT_GRID, "Esportazione guidata dati"),
entry(CANCEL, "Annulla"),
entry(PREVIOUS, "Indietro"),
entry(NEXT, "Avanti"),
entry(DOWNLOAD, "Download"),
entry(GENERAL, "Scelta campi"),
entry(FILENAME, "Nome file"),
entry(COLUMNS, "Colonne"),
entry(NAME, "Nome"),
entry(POSITION, "Posizione"),
entry(ALREADY_PRESENT, "Già presente"),
entry(FORMAT, "Formato"),
entry(PREVIEW, "Anteprima"),
entry(UNABLE_TO_SHOW_PREVIEW, "Ci sono troppi dati per produrre un'anteprima: procedere all'estrazione per visualizzarli")
);
config.withAll(traduzione);
return config;
}
I'm using current latest version
<dependency>
<groupId>com.xdev-software</groupId>
<artifactId>vaadin-grid-exporter</artifactId>
<version>3.0.1</version>
</dependency>
Thanks, and congratulation for your amazing work.
Alex B commented
Thank you for the issue.
I was able to reproduce the problem and will fix this shortly.