Skip to content

Commit 24dd3aa

Browse files
committed
feat: add let's encrypt toggle; various fixes
1 parent 022f643 commit 24dd3aa

File tree

3 files changed

+330
-170
lines changed

3 files changed

+330
-170
lines changed

ui/public/i18n/en/translation.json

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"save": "Save",
99
"clear_search": "Clear search",
1010
"no_search_results": "No results found",
11-
"no_search_results_description": "We couldn't find any results for your search"
11+
"no_search_results_description": "We couldn't find any results for your search",
12+
"loading": "Loading"
1213
},
1314
"status": {
1415
"title": "Status",
@@ -56,11 +57,12 @@
5657
"fqdn_helper": "FQDN of the instance. Must be a valid domain name",
5758
"address": "Public IP address",
5859
"address_helper": "IPv4 address expected to receive VoIP traffic",
59-
"public_address": "Public IP address",
60-
"public_address_helper": "Public IPV4 address expected to receive VoIP traffic, in case of NAT",
6160
"addresses_format": "Must be in IPv4 format",
62-
"interfaces": "Network interfaces",
63-
"interfaces_placeholder": "Select interface"
61+
"interface": "Network interface",
62+
"interface_placeholder": "Select interface",
63+
"address_and_iface_dont_match": "@:settings.interface and @:settings.address do not match",
64+
"address_and_iface_dont_match_message": "For the devices in the PBX local network to work correctly, the 'Hairpin NAT' feature — also known as 'NAT reflection', 'NAT hairpinning', 'NAT on a stick' or 'Loopback NAT' — must be enabled on the firewall (specifically, on the device that manages the NAT of the public IP).",
65+
"address_tooltip": "This is required only if it differs from @:settings.interface address. The address is filled automatically based on the resolved FQDN above, but you can change it if needed."
6466
},
6567
"about": {
6668
"title": "About"
@@ -98,10 +100,7 @@
98100
"cannot_retrieve_module_info": "Cannot retrieve module info",
99101
"cannot_retrieve_installed_modules": "Cannot retrieve installed modules",
100102
"error_loading_providers": "Error loading list-service-providers",
101-
"provider_missing_fields": "One instance have missing fields: {module_id}"
102-
},
103-
"warning": {
104-
"warning_title_message": "Warning: IP addresses don't match",
105-
"different_ip_message": "In order for the devices in the PBX local network to work correctly, the 'hairpin NAT' function, also known as NAT reflection / NAT hairpining / NAT on a stick / loopback NAT, must be enabled on the firewall (more precisely on the device that manages the NAT of the public IP)."
103+
"provider_missing_fields": "One instance have missing fields: {module_id}",
104+
"invalid_fqdn": "FQDN cannot end with .invalid"
106105
}
107106
}

ui/src/App.vue

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,4 +122,16 @@ export default {
122122

123123
<style lang="scss">
124124
@import "styles/carbon-utils";
125+
126+
.top-0\.5 {
127+
top: 2px;
128+
}
129+
130+
.relative {
131+
position: relative;
132+
}
133+
134+
.mb-0 {
135+
margin-bottom: 0 !important;
136+
}
125137
</style>

0 commit comments

Comments
 (0)