Skip to content

Commit

Permalink
fix: properly close the translate parentesis
Browse files Browse the repository at this point in the history
  • Loading branch information
yohanboniface committed Dec 13, 2024
1 parent 54aa687 commit cbab6e0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions umap/static/umap/js/modules/importer.js
Original file line number Diff line number Diff line change
Expand Up @@ -355,9 +355,11 @@ export default class Importer extends Utils.WithTemplate {

onSuccess(count) {
if (count) {
Alert.success(translate('Successfully imported {count} feature(s)'), {
count: count,
})
Alert.success(
translate('Successfully imported {count} feature(s)', {
count: count,
})
)
} else {
Alert.success(translate('Data successfully imported!'))
}
Expand Down

0 comments on commit cbab6e0

Please sign in to comment.