vmm: plan_a_b s/address/object/
authorPascal Volk <neverseen@users.sourceforge.net>
Tue, 20 Oct 2009 18:58:09 +0000
changeset 157 eb3ccf9484b3
parent 156 a849843115e9
child 158 6949f6eaf26e
vmm: plan_a_b s/address/object/
po/vmm.pot
vmm
--- a/po/vmm.pot	Tue Oct 20 02:41:36 2009 +0000
+++ b/po/vmm.pot	Tue Oct 20 18:58:09 2009 +0000
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: vmm 0.5.2\n"
 "Report-Msgid-Bugs-To: neverseen@users.sourceforge.net\n"
-"POT-Creation-Date: 2009-10-20 04:15+0200\n"
+"POT-Creation-Date: 2009-10-20 19:19+0200\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -617,7 +617,7 @@
 
 #: vmm:472
 #, python-format
-msgid "Plan A failed ... trying Plan B: %(subcommand)s %(address)s"
+msgid "Plan A failed ... trying Plan B: %(subcommand)s %(object)s"
 msgstr ""
 
 #: vmm:535
@@ -625,8 +625,8 @@
 msgid "Unknown subcommand: ā€œ%sā€"
 msgstr ""
 
-#. TP: We have to cry, because the user has killed/interrupted vmm with
-#. Ctrl+C or Ctrl+D.
+#. TP: We have to cry, because root has killed/interrupted vmm
+#. with Ctrl+C or Ctrl+D.
 #: vmm:540
 msgid ""
 "\n"
--- a/vmm	Tue Oct 20 02:41:36 2009 +0000
+++ b/vmm	Tue Oct 20 18:58:09 2009 +0000
@@ -228,7 +228,7 @@
     except VMME.VMMDomainException, e:
         if e.code() is ERR.DOMAIN_ALIAS_EXISTS:
             w_std(plan_a_b % {'subcommand': u'aliasdomaininfo',
-                'address': argv[2].lower()})
+                'object': argv[2].lower()})
             alias_domain_info()
         else:
             raise e
@@ -260,7 +260,7 @@
     except VMME.VMMAliasDomainException, e:
         if e.code() is ERR.ALIASDOMAIN_ISDOMAIN:
             w_std(plan_a_b % {'subcommand': u'domaininfo',
-                'address': argv[2].lower()})
+                'object': argv[2].lower()})
             argv[1] = u'di' # necessary manipulation to get the order
             domain_info()
         else:
@@ -315,11 +315,11 @@
     except VMME.VMMAccountException, e:
         if e.code() is ERR.ALIAS_EXISTS:
             w_std(plan_a_b % {'subcommand': u'aliasinfo',
-                'address': argv[2].lower()})
+                'object': argv[2].lower()})
             alias_info()
         elif e.code() is ERR.RELOCATED_EXISTS:
             w_std(plan_a_b % {'subcommand': u'relocatedinfo',
-                'address': argv[2].lower()})
+                'object': argv[2].lower()})
             relocated_info()
         else:
             raise e
@@ -381,12 +381,12 @@
     except VMME.VMMAliasException, e:
         if e.code() is ERR.ACCOUNT_EXISTS:
             w_std(plan_a_b % {'subcommand': u'userinfo',
-                'address': argv[2].lower()})
+                'object': argv[2].lower()})
             argv[1] = u'ui' # necessary manipulation to get the order
             user_info()
         elif e.code() is ERR.RELOCATED_EXISTS:
             w_std(plan_a_b % {'subcommand': u'relocatedinfo',
-                'address': argv[2].lower()})
+                'object': argv[2].lower()})
             relocated_info()
         else:
             raise e
@@ -417,11 +417,11 @@
             'dest': vmm.relocatedInfo(relocated)})
     except VMME.VMMRelocatedException, e:
         if e.code() is ERR.ACCOUNT_EXISTS:
-            w_std(plan_a_b % {'subcommand': u'userinfo', 'address': relocated})
+            w_std(plan_a_b % {'subcommand': u'userinfo', 'object': relocated})
             argv[1] = u'ui' # necessary manipulation to get the order
             user_info()
         elif e.code() is ERR.ALIAS_EXISTS:
-            w_std(plan_a_b % {'subcommand': u'aliasinfo', 'address': relocated})
+            w_std(plan_a_b % {'subcommand': u'aliasinfo', 'object': relocated})
             alias_info()
         else:
             raise e
@@ -469,7 +469,7 @@
     gettext.install(__prog__, '/usr/local/share/locale', unicode=1)
     argv = [unicode(arg, ENCODING) for arg in os.sys.argv]
     argc = len(os.sys.argv)
-    plan_a_b =_(u'Plan A failed ... trying Plan B: %(subcommand)s %(address)s')
+    plan_a_b =_(u'Plan A failed ... trying Plan B: %(subcommand)s %(object)s')
 
     if argc < 2:
         usage(EXIT.MISSING_ARGS)
@@ -535,8 +535,8 @@
             usage(EXIT.UNKNOWN_COMMAND, _(u'Unknown subcommand: ā€œ%sā€')% argv[1])
         show_warnings()
     except (EOFError, KeyboardInterrupt):
-        # TP: We have to cry, because the user has killed/interrupted vmm with
-        # Ctrl+C or Ctrl+D.
+        # TP: We have to cry, because root has killed/interrupted vmm
+        # with Ctrl+C or Ctrl+D.
         w_err(EXIT.USER_INTERRUPT, _(u'\nOuch!\n'))
     except (VMME.VMMConfigException, VMME.VMMException), e:
         if e.code() != ERR.DATABASE_ERROR: