Преглед изворни кода

Update message when detecting old database

oz123 пре 11 година
родитељ
комит
8899b844e4
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3 3
      scripts/pwman3

+ 3 - 3
scripts/pwman3

@@ -33,9 +33,9 @@ import pwman.data.factory
 from pwman.data.convertdb import PwmanConvertDB
 from pwman.data.convertdb import PwmanConvertDB
 from pwman.util.crypto import CryptoEngine
 from pwman.util.crypto import CryptoEngine
 
 
-_db_warn = ("pwman3 detected that are using the old database format"
+_db_warn = ("pwman3 detected that you are using the old database format"
             " which is insecure."
             " which is insecure."
-            " pwman3 will try to convert the database now."
+            " pwman3 will try to automatically convert the database now."
             "\n"
             "\n"
             "If you choose not to convert the database, pwman3, will quit."
             "If you choose not to convert the database, pwman3, will quit."
             "\nYou can check the help (pwman3 -h) or look at the manpage how to convert "
             "\nYou can check the help (pwman3 -h) or look at the manpage how to convert "
@@ -174,7 +174,7 @@ def main(args):
         sys.exit(0)
         sys.exit(0)
 
 
     if dbver < 0.4:
     if dbver < 0.4:
-        ans = raw_input("Would you like to proceed with conversion of the database"
+        ans = raw_input("Would you like to proceed with the conversion of the database"
                         " before starting pwman3 [y/N]?")
                         " before starting pwman3 [y/N]?")
         if ans.lower() != "y":
         if ans.lower() != "y":
             sys.exit(1)
             sys.exit(1)