]> git.ipfire.org Git - people/stevee/pypdns.git/commitdiff
Fix different spelling of tool name.
authorStefan Schantl <stefan.schantl@ipfire.org>
Tue, 2 Oct 2012 17:16:47 +0000 (19:16 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Tue, 2 Oct 2012 17:16:47 +0000 (19:16 +0200)
There has been a different spelling of the project name in the files and also some
changes in the header.

backend.py
cli.py
i18n.py

index 3e04d39df5bb93b0c6f6f63130d426481b75f2d6..f3efa646ab4e0ea2a034311449a8980e9101d09b 100644 (file)
@@ -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 6c92d11850b9ae36ec15b1b72fffdb4725a30461..699d75553bd735625290146f62366df153bc2d96 100644 (file)
--- 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 78bbcd1c67a6244741c8cdfb40a93635195ee0da..cb7e2d1f14c0aae59040f1281abb3d88e353c01b 100644 (file)
--- 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):
        """