Skip to content

Commit 035c59a

Browse files
feat: add placeholders (#545)
* feat(ui): add Placeholder component for empty state display * refactor(ui): replace empty state messages with UiEmptyPlaceholder * feat(i18n): add empty folders and snippets messages in locales
1 parent d9173cf commit 035c59a

22 files changed

Lines changed: 85 additions & 24 deletions

File tree

src/main/i18n/locales/cs_CZ/ui.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@
9696
},
9797
"placeholder": {
9898
"emptyTagList": "Přidejte tagy ke snippetům, aby se zde zobrazily",
99+
"emptyFoldersList": "Žádné složky",
100+
"emptySnippetsList": "Žádné snippety",
99101
"search": "Hledat",
100102
"addTag": "Přidat tag"
101103
}

src/main/i18n/locales/de_DE/ui.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@
9696
},
9797
"placeholder": {
9898
"emptyTagList": "Fügen Sie Tags zu Snippets hinzu, um sie hier zu sehen",
99+
"emptyFoldersList": "Keine Ordner",
100+
"emptySnippetsList": "Keine Snippets",
99101
"search": "Suchen",
100102
"addTag": "Tag hinzufügen"
101103
}

src/main/i18n/locales/el_GR/ui.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@
9696
},
9797
"placeholder": {
9898
"emptyTagList": "Προσθέστε tags στα snippets για να τα δείτε εδώ",
99+
"emptyFoldersList": "Κανένας φάκελος",
100+
"emptySnippetsList": "Κανένα απόσπασμα",
99101
"search": "Αναζήτηση",
100102
"addTag": "Προσθήκη Tag"
101103
}

src/main/i18n/locales/en_US/ui.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@
9797
},
9898
"placeholder": {
9999
"emptyTagList": "Add tags to snippets to see them here",
100+
"emptyFoldersList": "No Folders",
101+
"emptySnippetsList": "No Snippets",
100102
"search": "Search",
101103
"addTag": "Add Tag"
102104
}

src/main/i18n/locales/es_ES/ui.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@
9696
},
9797
"placeholder": {
9898
"emptyTagList": "Agregue etiquetas a los snippets para verlos aquí",
99+
"emptyFoldersList": "Sin carpetas",
100+
"emptySnippetsList": "Sin fragmentos",
99101
"search": "Buscar",
100102
"addTag": "Agregar Etiqueta"
101103
}

src/main/i18n/locales/fa_IR/ui.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@
9696
},
9797
"placeholder": {
9898
"emptyTagList": "برای مشاهده snippetها در اینجا، به آنها برچسب اضافه کنید",
99+
"emptyFoldersList": "بدون پوشه",
100+
"emptySnippetsList": "بدون اسنیپت",
99101
"search": "جستجو",
100102
"addTag": "افزودن برچسب"
101103
}

src/main/i18n/locales/fr_FR/ui.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@
9696
},
9797
"placeholder": {
9898
"emptyTagList": "Ajoutez des tags aux snippets pour les voir ici",
99+
"emptyFoldersList": "Aucun dossier",
100+
"emptySnippetsList": "Aucun snippet",
99101
"search": "Rechercher",
100102
"addTag": "Ajouter un tag"
101103
}

src/main/i18n/locales/ja_JP/ui.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@
9696
},
9797
"placeholder": {
9898
"emptyTagList": "タグを追加するとここに表示されます",
99+
"emptyFoldersList": "フォルダーなし",
100+
"emptySnippetsList": "スニペットなし",
99101
"search": "検索",
100102
"addTag": "タグを追加"
101103
}

src/main/i18n/locales/pl_PL/ui.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@
9696
},
9797
"placeholder": {
9898
"emptyTagList": "Dodaj tagi do fragmentów, aby zobaczyć je tutaj",
99+
"emptyFoldersList": "Brak folderów",
100+
"emptySnippetsList": "Brak snippetów",
99101
"search": "Szukaj",
100102
"addTag": "Dodaj tag"
101103
}

src/main/i18n/locales/pt_BR/ui.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@
9696
},
9797
"placeholder": {
9898
"emptyTagList": "Adicione tags aos snippets para vê-las aqui",
99+
"emptyFoldersList": "Sem pastas",
100+
"emptySnippetsList": "Sem snippets",
99101
"search": "Pesquisar",
100102
"addTag": "Adicionar Tag"
101103
}

0 commit comments

Comments
 (0)