Skip to content

High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.

Add a global data refresh button on top nav that works on all pages (#2861)

Meysamd0fb8d6238c7
diff --git a/frontend/fontello/config.json b/frontend/fontello/config.json
index 9cb2d79c..b8c8b262 100755
--- a/frontend/fontello/config.json
+++ b/frontend/fontello/config.json
@@ -15893,7 +15893,7 @@
"css": "refresh",
"code": 984144,
"src": "custom_icons",
- "selected": false,
+ "selected": true,
"svg": {
"path": "M736.3 263.7Q689.5 218.8 628.9 192.4T500 166Q410.2 166 333 210.9T210.9 333 166 500 210.9 667 333 789.1 500 834Q615.2 834 704.1 763.7T822.3 584H736.3Q709 656.3 644.5 703.1T500 750Q431.6 750 374 716.8T283.2 626 250 500 283.2 374 374 283.2 500 250Q550.8 250 595.7 269.5T675.8 324.2L541 459H834V166Z",
"width": 1000
diff --git a/frontend/src/App.vue b/frontend/src/App.vue
index e9423880..c208c2a8 100644
--- a/frontend/src/App.vue
+++ b/frontend/src/App.vue
@@ -13,6 +13,13 @@
<navigation v-if="isMobile" :is-mobile="isMobile" :active-item="activeItem" :active-group="activeGroup"
@toggleGroup="toggleGroup" @doLogout="doLogout" />
+ <b-navbar-item tag="a" href="#" @click.prevent="emitPageRefresh" data-cy="btn-refresh"
+ :aria-label="$t('globals.buttons.refresh')">
+ <b-tooltip :label="$t('globals.buttons.refresh')" type="is-dark" position="is-bottom">
+ <b-icon icon="refresh" /> <span class="is-hidden-tablet">{{ $t('globals.buttons.refresh') }}</span>
+ </b-tooltip>
+ </b-navbar-item>
+
<b-navbar-dropdown class="user" tag="div" right>
<template v-if="profile.username" #label>
<span class="user-avatar">
@@ -144,6 +151,10 @@ export default Vue.extend({
this.activeGroup = state ? { [group]: true } : {};
},
+ emitPageRefresh() {
+ this.$root.$emit('page.refresh');
+ },
+
reloadApp() {
this.$api.reloadApp().then(() => {
this.$utils.toast('Reloading app ...');
diff --git a/frontend/src/assets/icons/fontello.css b/frontend/src/assets/icons/fontello.css
index ee4874e2..667065d2 100644
--- a/frontend/src/assets/icons/fontello.css
+++ b/frontend/src/assets/icons/fontello.css
@@ -118,5 +118,6 @@
.mdi-warning-empty:before { content: '\e827'; } /* '' */
.mdi-account-outline:before { content: '󰀓'; } /* '\f0013' */
.mdi-code:before { content: '󰅩'; } /* '\f0169' */
+.mdi-refresh:before { content: '󰑐'; } /* '\f0450' */
.mdi-logout-variant:before { content: '󰗽'; } /* '\f05fd' */
.mdi-wrench-outline:before { content: '󰯠'; } /* '\f0be0' */
diff --git a/frontend/src/assets/icons/fontello.woff2 b/frontend/src/assets/icons/fontello.woff2
index 5f729eea..049af414 100755
Binary files a/frontend/src/assets/icons/fontello.woff2 and b/frontend/src/assets/icons/fontello.woff2 differ
diff --git a/frontend/src/views/Bounces.vue b/frontend/src/views/Bounces.vue
index 5a490f10..bfc4cd0b 100644
--- a/frontend/src/views/Bounces.vue
+++ b/frontend/src/views/Bounces.vue
@@ -213,6 +213,14 @@ export default Vue.extend({
},
},
+ created() {
+ this.$root.$on('page.refresh', this.getBounces);
+ },
+
+ destroyed() {
+ this.$root.$off('page.refresh', this.getBounces);
+ },
+
mounted() {
if (this.$route.query.campaign_id) {
this.queryParams.campaign_id = parseInt(this.$route.query.campaign_id, 10);
diff --git a/frontend/src/views/Campaigns.vue b/frontend/src/views/Campaigns.vue
index 87533ae8..b18eb3fa 100644
--- a/frontend/src/views/Campaigns.vue
+++ b/frontend/src/views/Campaigns.vue
@@ -37,6 +37,7 @@
</form>
</div>
</div>
+
<div class="actions" v-if="bulk.checked.length > 0">
<a class="a" href="#" @click.prevent="deleteCampaigns" data-cy="btn-delete-campaigns">
<b-icon icon="trash-can-outline" size="is-small" /> Delete
@@ -531,12 +532,17 @@ export default Vue.extend({
},
},
+ created() {
+ this.$root.$on('page.refresh', this.getCampaigns);
+ },
+
mounted() {
this.getCampaigns();
this.pollStats();
},
destroyed() {
+ this.$root.$off('page.refresh', this.getCampaigns);
clearInterval(this.pollID);
},
});
diff --git a/frontend/src/views/Dashboard.vue b/frontend/src/views/Dashboard.vue
index cc13f5c3..6ad26829 100644
--- a/frontend/src/views/Dashboard.vue
+++ b/frontend/src/views/Dashboard.vue
@@ -176,6 +176,22 @@ export default Vue.extend({
},
methods: {
+ fetchData() {
+ this.isCountsLoading = true;
+ this.isChartsLoading = true;
+
+ this.$api.getDashboardCounts().then((data) => {
+ this.counts = data;
+ this.isCountsLoading = false;
+ });
+
+ this.$api.getDashboardCharts().then((data) => {
+ this.isChartsLoading = false;
+ this.campaignViews = this.makeChart(data.campaignViews);
+ this.campaignClicks = this.makeChart(data.linkClicks);
+ });
+ },
+
makeChart(data) {
if (data.length === 0) {
return {};
@@ -202,19 +218,16 @@ export default Vue.extend({
},
},
- mounted() {
- // Pull the counts.
- this.$api.getDashboardCounts().then((data) => {
- this.counts = data;
- this.isCountsLoading = false;
- });
+ created() {
+ this.$root.$on('page.refresh', this.fetchData);
+ },
+
+ destroyed() {
+ this.$root.$off('page.refresh', this.fetchData);
+ },
- // Pull the charts.
- this.$api.getDashboardCharts().then((data) => {
- this.isChartsLoading = false;
- this.campaignViews = this.makeChart(data.campaignViews);
- this.campaignClicks = this.makeChart(data.linkClicks);
- });
+ mounted() {
+ this.fetchData();
},
});
</script>
diff --git a/frontend/src/views/Lists.vue b/frontend/src/views/Lists.vue
index 898bd95f..76cffa80 100644
--- a/frontend/src/views/Lists.vue
+++ b/frontend/src/views/Lists.vue
@@ -363,6 +363,14 @@ export default Vue.extend({
},
},
+ created() {
+ this.$root.$on('page.refresh', this.getLists);
+ },
+
+ destroyed() {
+ this.$root.$off('page.refresh', this.getLists);
+ },
+
mounted() {
if (this.$route.params.id) {
this.$api.getList(parseInt(this.$route.params.id, 10)).then((data) => {
diff --git a/frontend/src/views/Media.vue b/frontend/src/views/Media.vue
index 7170d16e..8543a261 100644
--- a/frontend/src/views/Media.vue
+++ b/frontend/src/views/Media.vue
@@ -223,6 +223,14 @@ export default Vue.extend({
},
},
+ created() {
+ this.$root.$on('page.refresh', this.getMedia);
+ },
+
+ destroyed() {
+ this.$root.$off('page.refresh', this.getMedia);
+ },
+
mounted() {
this.$api.getMedia();
diff --git a/frontend/src/views/Subscribers.vue b/frontend/src/views/Subscribers.vue
index d28e6510..ab37780a 100644
--- a/frontend/src/views/Subscribers.vue
+++ b/frontend/src/views/Subscribers.vue
@@ -525,6 +525,14 @@ export default Vue.extend({
},
},
+ created() {
+ this.$root.$on('page.refresh', this.querySubscribers);
+ },
+
+ destroyed() {
+ this.$root.$off('page.refresh', this.querySubscribers);
+ },
+
mounted() {
if (this.$route.params.listID) {
this.queryParams.listID = parseInt(this.$route.params.listID, 10);
diff --git a/frontend/src/views/Templates.vue b/frontend/src/views/Templates.vue
index fd0b0c48..50c6a3d8 100644
--- a/frontend/src/views/Templates.vue
+++ b/frontend/src/views/Templates.vue
@@ -120,6 +120,7 @@ import Vue from 'vue';
import { mapState } from 'vuex';
import CampaignPreview from '../components/CampaignPreview.vue';
import EmptyPlaceholder from '../components/EmptyPlaceholder.vue';
+
import TemplateForm from './TemplateForm.vue';
export default Vue.extend({
@@ -139,6 +140,10 @@ export default Vue.extend({
},
methods: {
+ fetchTemplates() {
+ this.$api.getTemplates();
+ },
+
// Show the edit form.
showEditForm(data) {
this.curItem = data;
@@ -199,6 +204,14 @@ export default Vue.extend({
...mapState(['templates', 'loading']),
},
+ created() {
+ this.$root.$on('page.refresh', this.fetchTemplates);
+ },
+
+ destroyed() {
+ this.$root.$off('page.refresh', this.fetchTemplates);
+ },
+
mounted() {
this.$api.getTemplates();
},
diff --git a/frontend/src/views/Users.vue b/frontend/src/views/Users.vue
index 7e110922..a250e779 100644
--- a/frontend/src/views/Users.vue
+++ b/frontend/src/views/Users.vue
@@ -132,6 +132,7 @@
import Vue from 'vue';
import { mapState } from 'vuex';
import EmptyPlaceholder from '../components/EmptyPlaceholder.vue';
+
import UserForm from './UserForm.vue';
export default Vue.extend({
@@ -222,6 +223,14 @@ export default Vue.extend({
...mapState(['loading', 'settings']),
},
+ created() {
+ this.$root.$on('page.refresh', this.getUsers);
+ },
+
+ destroyed() {
+ this.$root.$off('page.refresh', this.getUsers);
+ },
+
mounted() {
if (this.$route.params.id) {
this.$api.getUser(parseInt(this.$route.params.id, 10)).then((data) => {
diff --git a/i18n/bg.json b/i18n/bg.json
index 90e6cbe1..458d09d3 100644
--- a/i18n/bg.json
+++ b/i18n/bg.json
@@ -159,6 +159,7 @@
"globals.buttons.more": "Още",
"globals.buttons.new": "Нов",
"globals.buttons.ok": "ОК",
+ "globals.buttons.refresh": "Refresh",
"globals.buttons.remove": "Премахване",
"globals.buttons.save": "Запазване",
"globals.buttons.saveChanges": "Запазване на промените",
diff --git a/i18n/ca.json b/i18n/ca.json
index 6f027496..1a76b53e 100644
--- a/i18n/ca.json
+++ b/i18n/ca.json
@@ -159,6 +159,7 @@
"globals.buttons.more": "Més",
"globals.buttons.new": "Nou",
"globals.buttons.ok": "D'acord",
+ "globals.buttons.refresh": "Refresh",
"globals.buttons.remove": "Elimina",
"globals.buttons.save": "Desa",
"globals.buttons.saveChanges": "Desa els canvis",
diff --git a/i18n/cs-cz.json b/i18n/cs-cz.json
index 1a589c53..0886df42 100644
--- a/i18n/cs-cz.json
+++ b/i18n/cs-cz.json
@@ -159,6 +159,7 @@
"globals.buttons.more": "Více",
"globals.buttons.new": "Nový",
"globals.buttons.ok": "OK",
+ "globals.buttons.refresh": "Refresh",
"globals.buttons.remove": "Odebrat",
"globals.buttons.save": "Uložit",
"globals.buttons.saveChanges": "Uložit změny",
diff --git a/i18n/cy.json b/i18n/cy.json
index 22962f70..39d4f652 100644
--- a/i18n/cy.json
+++ b/i18n/cy.json
@@ -159,6 +159,7 @@
"globals.buttons.more": "Mwy",
"globals.buttons.new": "Newydd",
"globals.buttons.ok": "Iawn",
+ "globals.buttons.refresh": "Refresh",
"globals.buttons.remove": "Dileu",
"globals.buttons.save": "Cadw",
"globals.buttons.saveChanges": "Cadw'r newidiadau",
diff --git a/i18n/da.json b/i18n/da.json
index 4f21da87..b2460f19 100644
--- a/i18n/da.json
+++ b/i18n/da.json
@@ -159,6 +159,7 @@
"globals.buttons.more": "Mere",
"globals.buttons.new": "Ny",
"globals.buttons.ok": "Ok",
+ "globals.buttons.refresh": "Refresh",
"globals.buttons.remove": "Fjerne",
"globals.buttons.save": "Spare",
"globals.buttons.saveChanges": "Gem ændringer",
diff --git a/i18n/de.json b/i18n/de.json
index 31c600f3..c7fe730d 100644
--- a/i18n/de.json
+++ b/i18n/de.json
@@ -159,6 +159,7 @@
"globals.buttons.more": "Mehr",
"globals.buttons.new": "Neu",
"globals.buttons.ok": "OK",
+ "globals.buttons.refresh": "Refresh",
"globals.buttons.remove": "Entfernen",
"globals.buttons.save": "Speichern",
"globals.buttons.saveChanges": "Änderungen speichern",
@@ -692,4 +693,4 @@
"users.userRoles": "Benutzerrollen",
"users.username": "Benutzername",
"users.usernameHelp": "Wird bei der Anmeldung mit Passwort verwendet"
-}
\ No newline at end of file
+}
diff --git a/i18n/el.json b/i18n/el.json
index f6e2254f..c02b14fc 100644
--- a/i18n/el.json
+++ b/i18n/el.json
@@ -159,6 +159,7 @@
"globals.buttons.more": "Περισσότερα",
"globals.buttons.new": "Νέο",
"globals.buttons.ok": "Εντάξει",
+ "globals.buttons.refresh": "Refresh",
"globals.buttons.remove": "Αφαίρεση",
"globals.buttons.save": "Αποθήκευση",
"globals.buttons.saveChanges": "Αποθήκευση αλλαγών",
diff --git a/i18n/en.json b/i18n/en.json
index f603cf1c..13004514 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -161,6 +161,7 @@
"globals.buttons.save": "Save",
"globals.buttons.saveChanges": "Save changes",
"globals.buttons.toggleSelect": "Toggle selection",
+ "globals.buttons.refresh": "Refresh",
"globals.buttons.view": "View",
"globals.days.0": "Sun",
"globals.days.1": "Sun",
diff --git a/i18n/eo.json b/i18n/eo.json
index 8dfe0e98..c9e495c5 100644
--- a/i18n/eo.json
+++ b/i18n/eo.json
@@ -159,6 +159,7 @@
"globals.buttons.more": "Més",
"globals.buttons.new": "Nou",
"globals.buttons.ok": "D'acord",
+ "globals.buttons.refresh": "Refresh",
"globals.buttons.remove": "Elimina",
"globals.buttons.save": "Desa",
"globals.buttons.saveChanges": "Desa els canvis",
diff --git a/i18n/es.json b/i18n/es.json
index 567044c5..e9fc038b 100644
--- a/i18n/es.json
+++ b/i18n/es.json
@@ -159,6 +159,7 @@
"globals.buttons.more": "Más",
"globals.buttons.new": "Nuevo",
"globals.buttons.ok": "Aceptar",
+ "globals.buttons.refresh": "Refresh",
"globals.buttons.remove": "Eliminar",
"globals.buttons.save": "Guardar",
"globals.buttons.saveChanges": "Guardar cambios",
diff --git a/i18n/fi.json b/i18n/fi.json
index 37b14d01..e7cb1ac7 100644
--- a/i18n/fi.json
+++ b/i18n/fi.json
@@ -159,6 +159,7 @@
"globals.buttons.more": "Lisää",
"globals.buttons.new": "Uusi",
"globals.buttons.ok": "OK",
+ "globals.buttons.refresh": "Refresh",
"globals.buttons.remove": "Poista",
"globals.buttons.save": "Tallenna",
"globals.buttons.saveChanges": "Tallenna muutokset",
diff --git a/i18n/fr-CA.json b/i18n/fr-CA.json
index a4e3c9ed..016bba9e 100644
--- a/i18n/fr-CA.json
+++ b/i18n/fr-CA.json
@@ -159,6 +159,7 @@
"globals.buttons.more": "Plus",
"globals.buttons.new": "Ajouter",
"globals.buttons.ok": "Valider",
+ "globals.buttons.refresh": "Refresh",
"globals.buttons.remove": "Supprimer",
"globals.buttons.save": "Enregistrer",
"globals.buttons.saveChanges": "Enregistrer les changements",
diff --git a/i18n/fr.json b/i18n/fr.json
index f1d3eda2..6d1d6e8b 100644
--- a/i18n/fr.json
+++ b/i18n/fr.json
@@ -159,6 +159,7 @@
"globals.buttons.more": "Plus",
"globals.buttons.new": "Ajouter",
"globals.buttons.ok": "Valider",
+ "globals.buttons.refresh": "Refresh",
"globals.buttons.remove": "Supprimer",
"globals.buttons.save": "Enregistrer",
"globals.buttons.saveChanges": "Enregistrer les changements",
diff --git a/i18n/he.json b/i18n/he.json
index 10ddafca..c4d0e87a 100644
--- a/i18n/he.json
+++ b/i18n/he.json
@@ -159,6 +159,7 @@
"globals.buttons.more": "עוד",
"globals.buttons.new": "חדש",
"globals.buttons.ok": "אישור",
+ "globals.buttons.refresh": "Refresh",
"globals.buttons.remove": "הסרה",
"globals.buttons.save": "שמירה",
"globals.buttons.saveChanges": "שמור שינויים",
diff --git a/i18n/hu.json b/i18n/hu.json
index d8fbb9b5..c059c638 100644
--- a/i18n/hu.json
+++ b/i18n/hu.json
@@ -159,6 +159,7 @@
"globals.buttons.more": "Tovább",
"globals.buttons.new": "Új",
"globals.buttons.ok": "Rendben",
+ "globals.buttons.refresh": "Refresh",
"globals.buttons.remove": "Eltávolítás",
"globals.buttons.save": "Mentés",
"globals.buttons.saveChanges": "Változtatások mentése",
diff --git a/i18n/it.json b/i18n/it.json
index ada5d301..4893eb8c 100644
--- a/i18n/it.json
+++ b/i18n/it.json
@@ -159,6 +159,7 @@
"globals.buttons.more": "Di più",
"globals.buttons.new": "Nuovo",
"globals.buttons.ok": "Ok",
+ "globals.buttons.refresh": "Refresh",
"globals.buttons.remove": "Cancellare",
"globals.buttons.save": "Salvare",
"globals.buttons.saveChanges": "Salvare le modifiche",
diff --git a/i18n/jp.json b/i18n/jp.json
index 5461a329..118249f5 100644
--- a/i18n/jp.json
+++ b/i18n/jp.json
@@ -159,6 +159,7 @@
"globals.buttons.more": "もっと",
"globals.buttons.new": "新",
"globals.buttons.ok": "OK",
+ "globals.buttons.refresh": "Refresh",
"globals.buttons.remove": "削除",
"globals.buttons.save": "保存",
"globals.buttons.saveChanges": "変更内容を保存",
diff --git a/i18n/ko.json b/i18n/ko.json
index 1fb3f97e..ef3212de 100644
--- a/i18n/ko.json
+++ b/i18n/ko.json
@@ -159,6 +159,7 @@
"globals.buttons.more": "더보기",
"globals.buttons.new": "새로 만들기",
"globals.buttons.ok": "확인",
+ "globals.buttons.refresh": "Refresh",
"globals.buttons.remove": "제거",
"globals.buttons.save": "저장",
"globals.buttons.saveChanges": "변경사항 저장",
diff --git a/i18n/ml.json b/i18n/ml.json
index 49b1c913..ec0dafe9 100644
--- a/i18n/ml.json
+++ b/i18n/ml.json
@@ -159,6 +159,7 @@
"globals.buttons.more": "കൂടുതൽ",
"globals.buttons.new": "പുതിയത്",
"globals.buttons.ok": "ശരി",
+ "globals.buttons.refresh": "Refresh",
"globals.buttons.remove": "നീക്കം ചെയ്യുക",
"globals.buttons.save": "സൂക്ഷിക്കുക",
"globals.buttons.saveChanges": "മാറ്റങ്ങൾ സൂക്ഷിക്കുക",
diff --git a/i18n/nl.json b/i18n/nl.json
index 93a95e83..e499eaea 100644
--- a/i18n/nl.json
+++ b/i18n/nl.json
@@ -159,6 +159,7 @@
"globals.buttons.more": "Meer",
"globals.buttons.new": "Nieuw",
"globals.buttons.ok": "OK",
+ "globals.buttons.refresh": "Refresh",
"globals.buttons.remove": "Verwijder",
"globals.buttons.save": "Opslaan",
"globals.buttons.saveChanges": "Wijzigingen opslaan",
diff --git a/i18n/no.json b/i18n/no.json
index 32ca4706..f68284cf 100644
--- a/i18n/no.json
+++ b/i18n/no.json
@@ -159,6 +159,7 @@
"globals.buttons.more": "Mer",
"globals.buttons.new": "Ny",
"globals.buttons.ok": "Ok",
+ "globals.buttons.refresh": "Refresh",
"globals.buttons.remove": "Fjern",
"globals.buttons.save": "Lagre",
"globals.buttons.saveChanges": "Lagre endringer",
diff --git a/i18n/pl.json b/i18n/pl.json
index 93c622b3..30163bfa 100644
--- a/i18n/pl.json
+++ b/i18n/pl.json
@@ -159,6 +159,7 @@
"globals.buttons.more": "Więcej",
"globals.buttons.new": "Nowa",
"globals.buttons.ok": "OK",
+ "globals.buttons.refresh": "Refresh",
"globals.buttons.remove": "Usuń",
"globals.buttons.save": "Zapisz",
"globals.buttons.saveChanges": "Zapisz zmiany",
diff --git a/i18n/pt-BR.json b/i18n/pt-BR.json
index 187eb8f3..4251e81b 100644
--- a/i18n/pt-BR.json
+++ b/i18n/pt-BR.json
@@ -159,6 +159,7 @@
"globals.buttons.more": "Mais",
"globals.buttons.new": "Novo",
"globals.buttons.ok": "OK",
+ "globals.buttons.refresh": "Refresh",
"globals.buttons.remove": "Excluir",
"globals.buttons.save": "Salvar",
"globals.buttons.saveChanges": "Salvar alterações",
diff --git a/i18n/pt.json b/i18n/pt.json
index cbafb580..3043cbba 100644
--- a/i18n/pt.json
+++ b/i18n/pt.json
@@ -159,6 +159,7 @@
"globals.buttons.more": "Mais",
"globals.buttons.new": "Novo",
"globals.buttons.ok": "OK",
+ "globals.buttons.refresh": "Refresh",
"globals.buttons.remove": "Remover",
"globals.buttons.save": "Guardar",
"globals.buttons.saveChanges": "Guardar alterações",
diff --git a/i18n/ro.json b/i18n/ro.json
index 1d7f60c5..29f6622d 100644
--- a/i18n/ro.json
+++ b/i18n/ro.json
@@ -159,6 +159,7 @@
"globals.buttons.more": "Mai mult",
"globals.buttons.new": "Nou",
"globals.buttons.ok": "Da",
+ "globals.buttons.refresh": "Refresh",
"globals.buttons.remove": "Elimină",
"globals.buttons.save": "Salvează",
"globals.buttons.saveChanges": "Salvează modificările",
diff --git a/i18n/ru.json b/i18n/ru.json
index 70e47c1b..becfb6df 100644
--- a/i18n/ru.json
+++ b/i18n/ru.json
@@ -159,6 +159,7 @@
"globals.buttons.more": "Ещё",
"globals.buttons.new": "Создать",
"globals.buttons.ok": "ОК",
+ "globals.buttons.refresh": "Refresh",
"globals.buttons.remove": "Удалить",
"globals.buttons.save": "Сохранить",
"globals.buttons.saveChanges": "Сохранить изменения",
diff --git a/i18n/se.json b/i18n/se.json
index 4ebf2778..c9173754 100644
--- a/i18n/se.json
+++ b/i18n/se.json
@@ -159,6 +159,7 @@
"globals.buttons.more": "Mer",
"globals.buttons.new": "Ny",
"globals.buttons.ok": "OK",
+ "globals.buttons.refresh": "Refresh",
"globals.buttons.remove": "Ta bort",
"globals.buttons.save": "Spara",
"globals.buttons.saveChanges": "Spara ändringar",
diff --git a/i18n/sk.json b/i18n/sk.json
index af574ebb..22442300 100644
--- a/i18n/sk.json
+++ b/i18n/sk.json
@@ -159,6 +159,7 @@
"globals.buttons.more": "Viac",
"globals.buttons.new": "Nový",
"globals.buttons.ok": "OK",
+ "globals.buttons.refresh": "Refresh",
"globals.buttons.remove": "Odobrať",
"globals.buttons.save": "Uložiť",
"globals.buttons.saveChanges": "Uložiť zmeny",
diff --git a/i18n/sl.json b/i18n/sl.json
index e0863cc8..93f61f67 100644
--- a/i18n/sl.json
+++ b/i18n/sl.json
@@ -159,6 +159,7 @@
"globals.buttons.more": "Več",
"globals.buttons.new": "Novo",
"globals.buttons.ok": "V redu",
+ "globals.buttons.refresh": "Refresh",
"globals.buttons.remove": "Odstrani",
"globals.buttons.save": "Shrani",
"globals.buttons.saveChanges": "Shrani spremembe",
diff --git a/i18n/tr.json b/i18n/tr.json
index 28c126a7..32fb2fd1 100644
--- a/i18n/tr.json
+++ b/i18n/tr.json
@@ -159,6 +159,7 @@
"globals.buttons.more": "Daha fazla",
"globals.buttons.new": "Yeni",
"globals.buttons.ok": "Tamam",
+ "globals.buttons.refresh": "Refresh",
"globals.buttons.remove": "Çıkart",
"globals.buttons.save": "Kaydet",
"globals.buttons.saveChanges": "Kaydet değişiklik",
diff --git a/i18n/uk.json b/i18n/uk.json
index 3c700910..e2923255 100644
--- a/i18n/uk.json
+++ b/i18n/uk.json
@@ -159,6 +159,7 @@
"globals.buttons.more": "Більше",
"globals.buttons.new": "Створити",
"globals.buttons.ok": "Гаразд",
+ "globals.buttons.refresh": "Refresh",
"globals.buttons.remove": "Вилучити",
"globals.buttons.save": "Зберегти",
"globals.buttons.saveChanges": "Зберегти зміни",
diff --git a/i18n/vi.json b/i18n/vi.json
index 1af81771..2c141991 100644
--- a/i18n/vi.json
+++ b/i18n/vi.json
@@ -159,6 +159,7 @@
"globals.buttons.more": "Thêm",
"globals.buttons.new": "Mới",
"globals.buttons.ok": "OK",
+ "globals.buttons.refresh": "Refresh",
"globals.buttons.remove": "Di chuyển",
"globals.buttons.save": "Lưu",
"globals.buttons.saveChanges": "Lưu thay dổi",
diff --git a/i18n/zh-CN.json b/i18n/zh-CN.json
index f5c5b98d..36a018ce 100644
--- a/i18n/zh-CN.json
+++ b/i18n/zh-CN.json
@@ -159,6 +159,7 @@
"globals.buttons.more": "更多",
"globals.buttons.new": "新建",
"globals.buttons.ok": "好的",
+ "globals.buttons.refresh": "Refresh",
"globals.buttons.remove": "移除",
"globals.buttons.save": "保存",
"globals.buttons.saveChanges": "保存更改",
diff --git a/i18n/zh-TW.json b/i18n/zh-TW.json
index f5f9d544..8a3a329f 100644
--- a/i18n/zh-TW.json
+++ b/i18n/zh-TW.json
@@ -159,6 +159,7 @@
"globals.buttons.more": "更多",
"globals.buttons.new": "新增",
"globals.buttons.ok": "好的",
+ "globals.buttons.refresh": "Refresh",
"globals.buttons.remove": "移除",
"globals.buttons.save": "儲存",
"globals.buttons.saveChanges": "儲存變更",