π A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!
Vue awesomedashboarddockerhomelabhomepagemitnodejsorganizationproductivitypwaself-hostedstartpagevue
π Adds translations for new GluetunStatus, and fixes indentation
Alicia Sykesa05ae9b3930f
diff --git a/src/assets/locales/en.json b/src/assets/locales/en.jsonindex adb9319d..e257b64e 100644--- a/src/assets/locales/en.json+++ b/src/assets/locales/en.json@@ -379,7 +379,8 @@"post-code": "Post Code","location": "Location","timezone": "Timezone",- "organization": "Organization"+ "organization": "Organization",+ "forwarded-port": "Forwarded Port"},"nextcloud": {"active": "active",diff --git a/src/components/Widgets/GluetunStatus.vue b/src/components/Widgets/GluetunStatus.vueindex 4053de29..904b357e 100644--- a/src/components/Widgets/GluetunStatus.vue+++ b/src/components/Widgets/GluetunStatus.vue@@ -5,7 +5,7 @@<span class="val">{{ public_ip }}</span></div><div class="ip-row" v-if="forwarded_port">- <span class="lbl">Forwarded Port</span>+ <span class="lbl">{{ $t('widgets.gluetun-status.forwarded-port') }}</span><span class="val">{{ forwarded_port }}</span></div><div class="ip-row" v-if="country">@@ -72,10 +72,10 @@ export default {this.makeRequest(`${this.hostname}/v1/publicip/ip`).then(this.processData);this.makeRequest(`${this.hostname}/v1/portforward`)- .then(this.processPortData)- .catch(() => {- this.forwarded_port = null;- });+ .then(this.processPortData)+ .catch(() => {+ this.forwarded_port = null;+ });},/* Assign data variables to the returned data */processData(ipInfo) {