Skip to content

Commit

Permalink
Merge pull request #66 from dotse/develop
Browse files Browse the repository at this point in the history
Merge develop to master
  • Loading branch information
matsduf authored Jan 12, 2018
2 parents 6573f12 + e266153 commit f57699c
Show file tree
Hide file tree
Showing 4 changed files with 173 additions and 3 deletions.
9 changes: 9 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
Release history for Zonemaster component Zonemaster-CLI

v1.1.2 2018-01-12

Natural Language support:
- Adding support for Danish translation. (#62)

Fixed:
- Fixes issues with pre-delegation testing ("fake delegation") (#63)


v1.1.1 2017-11-02 Public release

Fixed:
Expand Down
1 change: 1 addition & 0 deletions MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ README.md
script/zonemaster-cli
script/zonemaster-info
share/Makefile
share/locale/da/LC_MESSAGES/Zonemaster-CLI.mo
share/locale/en/LC_MESSAGES/Zonemaster-CLI.mo
share/locale/fr/LC_MESSAGES/Zonemaster-CLI.mo
share/locale/sv/LC_MESSAGES/Zonemaster-CLI.mo
Expand Down
5 changes: 2 additions & 3 deletions lib/Zonemaster/CLI.pm
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ extends 'Zonemaster::Engine::Exception';
# The actual interesting module.
package Zonemaster::CLI;

use version; our $VERSION = version->declare("v1.1.1");
use version; our $VERSION = version->declare("v1.1.2");

use 5.014002;
use warnings;
Expand Down Expand Up @@ -529,9 +529,8 @@ sub add_fake_delegation {
}
}

Zonemaster::Engine->add_fake_delegation( $domain => \%data );
return Zonemaster::Engine->add_fake_delegation( $domain => \%data );

return;
}

sub add_fake_ds {
Expand Down
161 changes: 161 additions & 0 deletions share/da.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,161 @@
msgid ""
msgstr ""
"Language: da\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Project-Id-Version: 0.0.5\n"
"PO-Revision-Date: 2017-12-06\n"
"Last-Translator: mats.dufberg@iis.se\n"
"Language-Team: Zonemaster Team\n"
"MIME-Version: 1.0\n"

msgid "Print version information and exit."
msgstr "Print version information and exit."

msgid "The minimum severity level to display"
msgstr "The minimum severity level to display"

msgid "The locale to use for messages translation."
msgstr "The locale to use for messages translation."

msgid "Flag indicating if output should be in JSON or not."
msgstr "Flag indicating if output should be in JSON or not."

msgid "Flag indicating if output should be translated to human language or dumped raw."
msgstr "Flag indicating if output should be translated to human language or dumped raw."

msgid "Print timestamp on entries."
msgstr "Print timestamp on entries."

msgid "Print level on entries."
msgstr "Print level on entries."

msgid "Print the name of the module on entries."
msgstr "Print the name of the module on entries."

msgid "A name/ip string giving a nameserver for undelegated tests. Can be given multiple times."
msgstr "A name/ip string giving a nameserver for undelegated tests. Can be given multiple times."

msgid "Name of a file to save DNS data to after running tests."
msgstr "Name of a file to save DNS data to after running tests."

msgid "Name of a file to restore DNS data from before running test."
msgstr "Name of a file to restore DNS data from before running test."

msgid "Flag to permit or deny queries being sent via IPv4. --ipv4 permits IPv4 traffic, --no-ipv4 forbids it."
msgstr "Flag to permit or deny queries being sent via IPv4. --ipv4 permits IPv4 traffic, --no-ipv4 forbids it."

msgid "Flag to permit or deny queries being sent via IPv6. --ipv6 permits IPv6 traffic, --no-ipv6 forbids it."
msgstr "Flag to permit or deny queries being sent via IPv6. --ipv6 permits IPv6 traffic, --no-ipv6 forbids it."

msgid "Instead of running a test, list all available tests."
msgstr "Instead of running a test, list all available tests."

msgid "Specify test to run. Should be either the name of a module, or the name of a module and the name of a method in that module separated by a \"/\" character (Example: \"Basic/basic1\"). The method specified must be one that takes a zone object as its single argument. This switch can be repeated"
msgstr "Specify test to run. Should be either the name of a module, or the name of a module and the name of a method in that module separated by a \"/\" character (Example: \"Basic/basic1\"). The method specified must be one that takes a zone object as its single argument. This switch can be repeated"

msgid "As soon as a message at this level or higher is logged, execution will stop"
msgstr "As soon as a message at this level or higher is logged, execution will stop"

msgid "Name of configuration file to load."
msgstr "Name of configuration file to load."

msgid "Name of policy file to load."
msgstr "Name of policy file to load."

msgid "Strings with DS data on the form \"keytag,algorithm,type,digest\""
msgstr "Strings with DS data on the form \"keytag,algorithm,type,digest\""

msgid "Print a count of the number of messages at each level"
msgstr "Print a count of the number of messages at each level"

msgid "Boolean flag for activity indicator. Defaults to on if STDOUT is a tty, off if it is not."
msgstr "Boolean flag for activity indicator. Defaults to on if STDOUT is a tty, off if it is not."

msgid "Name of the character encoding used for command line arguments"
msgstr "Name of the character encoding used for command line arguments"

msgid "Must give the name of a domain to test.\n"
msgstr "Et domænenavn at testes skal gives.\n"

msgid "Failed to recognize stop level '"
msgstr "Failed to recognize stop level '"

msgid "--level must be one of CRITICAL, ERROR, WARNING, NOTICE, INFO, DEBUG, DEBUG2 or DEBUG3.\n"
msgstr "--level must be one of CRITICAL, ERROR, WARNING, NOTICE, INFO, DEBUG, DEBUG2 or DEBUG3.\n"

msgid "Loading policy from "
msgstr "Loading policy from "

msgid "Loading configuration from "
msgstr "Loading configuration from "

msgid "Seconds "
msgstr "Seconds "

msgid "Level "
msgstr "Level "

msgid "Module "
msgstr "Module "

msgid "Message"
msgstr "Message"

msgid "\n\n Level\tNumber of log entries"
msgstr "\n\n Level\tNumber of log entries"

msgid "%8s\t%5d entries.\n"
msgstr "%8s\t%5d entries.\n"

msgid "Warning: Zonemaster::LDNS not compiled with libidn, cannot handle non-ASCII names correctly."
msgstr "Warning: Zonemaster::LDNS not compiled with libidn, cannot handle non-ASCII names correctly."

msgid "Warning: setting locale %s failed (is it installed on this system?).\n\n"
msgstr "Warning: setting locale %s failed (is it installed on this system?).\n\n"

msgid "CRITICAL"
msgstr "CRITICAL"

msgid "ERROR"
msgstr "ERROR"

msgid "WARNING"
msgstr "WARNING"

msgid "NOTICE"
msgstr "NOTICE"

msgid "INFO"
msgstr "INFO"

msgid "DEBUG"
msgstr "DEBUG"

msgid "======= "
msgstr "======= "

msgid "========= "
msgstr "========= "

msgid "============ "
msgstr "============ "

msgid "======="
msgstr "======="

msgid "Looks OK."
msgstr "Looks OK."

msgid "At the end of a run, print a summary of the times the zone's name servers took to answer."
msgstr "At the end of a run, print a summary of the times the zone's name servers took to answer."

msgid "Print the effective configuration used in JSON format, then exit."
msgstr "Print the effective configuration used in JSON format, then exit."

msgid "Print the effective policy used in JSON format, then exit."
msgstr "Print the effective policy used in JSON format, then exit."

msgid "Local IP address that the test engine should try to send its requests from."
msgstr "Local IP address that the test engine should try to send its requests from."

0 comments on commit f57699c

Please sign in to comment.