From: Stefan Schantl Date: Tue, 2 Oct 2012 17:16:47 +0000 (+0200) Subject: Fix different spelling of tool name. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9deb9e050ba6a4523b1ab36f8ebc20751472d2f7;p=people%2Fstevee%2Fpypdns.git Fix different spelling of tool name. There has been a different spelling of the project name in the files and also some changes in the header. --- diff --git a/backend.py b/backend.py index 3e04d39..f3efa64 100644 --- a/backend.py +++ b/backend.py @@ -1,7 +1,7 @@ ############################################################################### # # # pyPDNS - A PDNS administration tool, written in pure python. # -# Copyright (C) 2012 Pakfire development team # +# Copyright (C) 2012 IPFire development team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/cli.py b/cli.py index 6c92d11..699d755 100644 --- a/cli.py +++ b/cli.py @@ -3,7 +3,7 @@ ############################################################################### # # # pyPDNS - A PDNS administration tool, written in pure python. # -# Copyright (C) 2012 Pakfire development team # +# Copyright (C) 2012 IPFire development team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -32,11 +32,11 @@ dns = backend.DNS(backend.DB) class Cli(object): def __init__(self): self.parser = argparse.ArgumentParser( - description = _("CLI tool to adminstrate pdns servers."), + description = _("CLI tool to adminstrate authoritative PowerDNS servers."), ) # Add entry for version displaying. - self.parser.add_argument('--version', action='version', version='pdns 1.0') + self.parser.add_argument('--version', action='version', version='pyPDNS 0.1.1') # Add sub-commands. self.sub_commands = self.parser.add_subparsers() diff --git a/i18n.py b/i18n.py index 78bbcd1..cb7e2d1 100644 --- a/i18n.py +++ b/i18n.py @@ -1,8 +1,8 @@ #!/usr/bin/python ############################################################################### # # -# Pakfire - The IPFire package management system # -# Copyright (C) 2011 Pakfire development team # +# pyPDNS - A PDNS administration tool, written in pure python. # +# Copyright (C) 2012 IPFire development team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -38,9 +38,9 @@ def _(singular, plural=None, n=None): """ if not plural is None: assert n is not None - return gettext.dngettext("pdns-tool", singular, plural, n) + return gettext.dngettext("pyPDNS", singular, plural, n) - return gettext.dgettext("pdns-tool", singular) + return gettext.dgettext("pyPDNS", singular) def list(parts): """