webapp: Remove hard coded texts in dtuadmin view
This commit is contained in:
parent
ac5df9a91d
commit
d6c2a4ba1c
@ -330,7 +330,8 @@
|
|||||||
"CmtFrequency": "CMT2300A Frequenz:",
|
"CmtFrequency": "CMT2300A Frequenz:",
|
||||||
"CmtFrequencyHint": "Stelle sicher, dass du nur Frequenzen verwendet werden welche im entsprechenden Land erlaubt sind!",
|
"CmtFrequencyHint": "Stelle sicher, dass du nur Frequenzen verwendet werden welche im entsprechenden Land erlaubt sind!",
|
||||||
"CmtFrequencyWarning": "Die ausgewählte Frequenz befindet außerhalb des in der EU zugelassenen Bereiches. Vergewissere dich, dass mit dieser Auswahl keine lokalen Regularien verletzt werden.",
|
"CmtFrequencyWarning": "Die ausgewählte Frequenz befindet außerhalb des in der EU zugelassenen Bereiches. Vergewissere dich, dass mit dieser Auswahl keine lokalen Regularien verletzt werden.",
|
||||||
"khz": "kHz",
|
"MHz": "{mhz} MHz",
|
||||||
|
"dBm": "{dbm} dBm",
|
||||||
"Save": "Speichern",
|
"Save": "Speichern",
|
||||||
"Min": "Minimum ({db} dBm)",
|
"Min": "Minimum ({db} dBm)",
|
||||||
"Low": "Niedrig ({db} dBm)",
|
"Low": "Niedrig ({db} dBm)",
|
||||||
|
|||||||
@ -330,7 +330,8 @@
|
|||||||
"CmtFrequency": "CMT2300A Frequency:",
|
"CmtFrequency": "CMT2300A Frequency:",
|
||||||
"CmtFrequencyHint": "Make sure to only use frequencies that are allowed in the respective country!",
|
"CmtFrequencyHint": "Make sure to only use frequencies that are allowed in the respective country!",
|
||||||
"CmtFrequencyWarning": "The selected frequency is outside the range allowed in the EU. Make sure that this selection does not violate any local regulations.",
|
"CmtFrequencyWarning": "The selected frequency is outside the range allowed in the EU. Make sure that this selection does not violate any local regulations.",
|
||||||
"khz": "kHz",
|
"MHz": "{mhz} MHz",
|
||||||
|
"dBm": "{dbm} dBm",
|
||||||
"Save": "Save",
|
"Save": "Save",
|
||||||
"Min": "Minimum ({db} dBm)",
|
"Min": "Minimum ({db} dBm)",
|
||||||
"Low": "Low ({db} dBm)",
|
"Low": "Low ({db} dBm)",
|
||||||
|
|||||||
@ -330,7 +330,8 @@
|
|||||||
"CmtFrequency": "CMT2300A Frequency:",
|
"CmtFrequency": "CMT2300A Frequency:",
|
||||||
"CmtFrequencyHint": "Stelle sicher, dass du nur Frequenzen verwendet werden welche im entsprechenden Land erlaubt sind!",
|
"CmtFrequencyHint": "Stelle sicher, dass du nur Frequenzen verwendet werden welche im entsprechenden Land erlaubt sind!",
|
||||||
"CmtFrequencyWarning": "The selected frequency is outside the range allowed in the EU. Make sure that this selection does not violate any local regulations.",
|
"CmtFrequencyWarning": "The selected frequency is outside the range allowed in the EU. Make sure that this selection does not violate any local regulations.",
|
||||||
"khz": "kHz",
|
"MHz": "{mhz} MHz",
|
||||||
|
"dBm": "{dbm} dBm",
|
||||||
"Save": "Sauvegarder",
|
"Save": "Sauvegarder",
|
||||||
"Min": "Minimum ({db} dBm)",
|
"Min": "Minimum ({db} dBm)",
|
||||||
"Low": "Bas ({db} dBm)",
|
"Low": "Bas ({db} dBm)",
|
||||||
|
|||||||
@ -109,10 +109,10 @@ export default defineComponent({
|
|||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
cmtFrequencyText() {
|
cmtFrequencyText() {
|
||||||
return this.$n(this.dtuConfigList.cmt_frequency / 1000, "decimalTwoDigits") + " MHz";
|
return this.$t("dtuadmin.MHz", { mhz: this.$n(this.dtuConfigList.cmt_frequency / 1000, "decimalTwoDigits") });
|
||||||
},
|
},
|
||||||
cmtPaLevelText() {
|
cmtPaLevelText() {
|
||||||
return this.$n(this.dtuConfigList.cmt_palevel * 1) + " dBm";
|
return this.$t("dtuadmin.dBm", { dbm: this.$n(this.dtuConfigList.cmt_palevel * 1) });
|
||||||
},
|
},
|
||||||
cmtIsOutOfEu() {
|
cmtIsOutOfEu() {
|
||||||
return this.dtuConfigList.cmt_frequency < 863000 || this.dtuConfigList.cmt_frequency > 870000;
|
return this.dtuConfigList.cmt_frequency < 863000 || this.dtuConfigList.cmt_frequency > 870000;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user