diff --git a/public/i18n/en/common.json b/public/i18n/en/common.json index 0da39dc..26338d8 100644 --- a/public/i18n/en/common.json +++ b/public/i18n/en/common.json @@ -11,7 +11,7 @@ "Add": "Add", "Time": "Time", "Type": "Type", - "Network": "Network\n", + "Network": "Network", "Action": "Action", "Enabled": "Enabled", "Disabled": "Disabled", diff --git a/public/i18n/en/location.json b/public/i18n/en/location.json index d868287..d1ead97 100644 --- a/public/i18n/en/location.json +++ b/public/i18n/en/location.json @@ -7,5 +7,8 @@ "Wildcard": "Wildcard", "Login": "Login", "Logout": "Logout", - "Regex": "Regex" + "Regex": "Regex", + "Settings": "Settings", + "Networking": "Networking", + "Versions": "Versions" } \ No newline at end of file diff --git a/src/components/settings/DNSInfo.js b/src/components/settings/DNSInfo.js index 5497d94..76c8ade 100644 --- a/src/components/settings/DNSInfo.js +++ b/src/components/settings/DNSInfo.js @@ -88,7 +88,7 @@ class DNSInfo extends Component {
                 
- {t("Interface listening behaviour")}: {this.state.options.listening_type}
+ {t("Interface listening behavior")}: {this.state.options.listening_type}
{t("Forward FQDNs only")}: {this.state.options.fqdn_required.toString()}
{t("Only forward public reverse lookups")}:{this.state.options.bogus_priv.toString()}
{t("Use DNSSEC")}: {this.state.options.dnssec.toString()} diff --git a/src/components/settings/VersionCard.js b/src/components/settings/VersionCard.js index b2530fc..213c70b 100644 --- a/src/components/settings/VersionCard.js +++ b/src/components/settings/VersionCard.js @@ -41,18 +41,20 @@ class VersionCard extends Component { - - - - - - - - - - - - + + + + + + + + + + + + + +
{t("Branch")}{this.props.branch}
{t("Tag")}{this.props.tag}
{t("Hash")}{this.props.hash}
{t("Branch")}{this.props.branch}
{t("Tag")}{this.props.tag}
{t("Hash")}{this.props.hash}
diff --git a/src/i18n.js b/src/i18n.js index 025b51b..7069032 100644 --- a/src/i18n.js +++ b/src/i18n.js @@ -13,7 +13,7 @@ export function setupI18n() { fallbackLng: "en", ns: ['common'], defaultNS: "common", - fallbackNS: ['dashboard', 'footer', 'lists', 'location', 'login', 'query-log'], + fallbackNS: ["dashboard", "footer", "lists", "location", "login", "query-log", "settings"], nsSeparator: false, keySeparator: false, debug: config.developmentMode,