Matthew Nickson b893d50e45
Implement specify Port for DNS Monitor #1059
This commit should fully implement #1059. When the user selects the DNS
monitor option, a new input box has been added below the resolver
address allowing the user to implement the port to access the resolver
on. This uses the same `monitor.port` as the TCP monitor but a monitor
has been added to prefill the port value to the default of `53` if the
value in this field has not already been set. This is then cleared if
the user selects a different monitor type and has not changed the port
value. A translation has also been added explaining what this field
does in order to reduce any confusion. JSDoc documentation has also been
added to the `dnsResolve` function in `util-server.js`.

Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
2022-04-13 21:02:19 +01:00
..
2022-01-05 08:15:34 +02:00
2021-12-11 17:20:51 +08:00
2021-11-12 09:29:06 +01:00
2021-11-12 09:29:06 +01:00
2021-11-12 09:29:06 +01:00
2022-01-03 00:27:51 +01:00
2021-12-03 22:29:53 +01:00
2021-11-12 09:29:06 +01:00
2022-01-08 13:28:48 +01:00
2021-11-16 18:14:23 +09:00
2021-12-12 18:56:10 +09:00
2021-11-12 09:29:06 +01:00
2021-11-12 09:29:06 +01:00
2022-01-12 12:26:23 +01:00
2021-11-12 09:29:06 +01:00
2021-12-02 11:18:30 +01:00
2022-01-13 22:07:21 +05:00
2022-01-16 12:29:00 +01:00
2021-11-12 09:29:06 +01:00
2021-11-12 09:29:06 +01:00
2021-11-12 09:29:06 +01:00
2021-11-12 09:29:06 +01:00
2021-11-15 13:27:31 +08:00
2022-01-18 01:12:25 +08:00
2021-11-12 09:29:06 +01:00
2021-12-08 17:23:13 +08:00

How to translate

  1. Fork this repo.
  2. Create a language file (e.g. zh-TW.js). The filename must be ISO language code: http://www.lingoes.net/en/translator/langcode.htm
  3. Run npm run update-language-files. You can also use this command to check if there are new strings to translate for your language.
  4. Your language file should be filled in. You can translate now.
  5. Translate src/components/settings/Security.vue (search for a Confirm component with rel="confirmDisableAuth").
  6. Add it into languageList constant.
  7. Make a pull request when you have done.

If you do not have programming skills, let me know in the issues section. I will assist you. 😏