From 9deb9e050ba6a4523b1ab36f8ebc20751472d2f7 Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Tue, 2 Oct 2012 19:16:47 +0200 Subject: [PATCH] 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. --- backend.py | 2 +- cli.py | 6 +++--- i18n.py | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) 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): """ -- 2.39.5