The check is not 100% accurate, as it allows > 32 sized CIDRs
for IPv4 addresses, but it is good enough for the frontend checks.
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
pi-hole/AdminLTE#909 changes DNSSEC Unknown to use orange instead of
red.
The fake data would only show certain values if `Math.random` returned
exactly 1. This was changed so the values would have a better chance of
getting shown.
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
The `languages.json` file is regenerated whenever the web interface is
started or built. This PR also updates the language list with the
languages added by #145.
See #148
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Also moved the scripts into a new scripts folder.
The language list generation is independent of the parsing we do for
POEditor. This also makes it easier to move to a different translation
service while keeping the languages.json generation.
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>