xdev-software / vaadin-grid-exporter

Makes it possible to export Vaadin Grids to different formats

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"Preview" and "Unable to show preview" are not translated

Leviand opened this issue · comments

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;
    }
image

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.

Thank you for the issue.
I was able to reproduce the problem and will fix this shortly.