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>
How to translate
- Fork this repo.
- Create a language file (e.g.
zh-TW.js
). The filename must be ISO language code: http://www.lingoes.net/en/translator/langcode.htm - Run
npm run update-language-files
. You can also use this command to check if there are new strings to translate for your language. - Your language file should be filled in. You can translate now.
- Translate
src/components/settings/Security.vue
(search for aConfirm
component withrel="confirmDisableAuth"
). - Add it into
languageList
constant. - 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. 😏