[QGIS Commit] r9745 - trunk/qgis/python/plugins/plugin_installer

svn_qgis at osgeo.org svn_qgis at osgeo.org
Fri Dec 5 13:51:00 EST 2008


Author: borysiasty
Date: 2008-12-05 13:51:00 -0500 (Fri, 05 Dec 2008)
New Revision: 9745

Modified:
   trunk/qgis/python/plugins/plugin_installer/__init__.py
   trunk/qgis/python/plugins/plugin_installer/i18n.cpp
   trunk/qgis/python/plugins/plugin_installer/installer_gui.py
Log:
Plugin Installer update: The last string fixes

Modified: trunk/qgis/python/plugins/plugin_installer/__init__.py
===================================================================
--- trunk/qgis/python/plugins/plugin_installer/__init__.py	2008-12-05 16:43:44 UTC (rev 9744)
+++ trunk/qgis/python/plugins/plugin_installer/__init__.py	2008-12-05 18:51:00 UTC (rev 9745)
@@ -14,7 +14,7 @@
   return "Plugin Installer"
 
 def version():
-  return "Version 0.9.3"
+  return "Version 0.9.4"
 
 def description():
   return "Downloads and installs QGIS python plugins"

Modified: trunk/qgis/python/plugins/plugin_installer/i18n.cpp
===================================================================
--- trunk/qgis/python/plugins/plugin_installer/i18n.cpp	2008-12-05 16:43:44 UTC (rev 9744)
+++ trunk/qgis/python/plugins/plugin_installer/i18n.cpp	2008-12-05 18:51:00 UTC (rev 9745)
@@ -142,7 +142,7 @@
   tr("This plugin is not installed and is seen for the first time")
   tr("This plugin is installed and is newer than its version available in a repository")
   tr("This plugin is incompatible with your Quantum GIS version and probably won't work.")
-  tr("The required Python module is not installed.\nFor more information, please visit its homepage.")
+  tr("The required Python module is not installed.\nFor more information, please visit its homepage and Quantum GIS wiki.")
   tr("This plugin seems to be broken.\nIt has been installed but can't be loaded.\nHere is the error message:")
   tr("not installed", "singular")
   tr("installed", "singular")
@@ -181,9 +181,9 @@
   tr("Plugin has disappeared")
   tr("The plugin seems to have been installed but I don't know where. Probably the plugin package contained a wrong named directory.\nPlease search the list of installed plugins. I'm nearly sure you'll find the plugin there, but I just can't determine which of them it is. It also means that I won't be able to determine if this plugin is installed and inform you about available updates. However the plugin may work. Please contact the plugin author and submit this issue.")
   tr("Plugin installed successfully")
-  tr("Python plugin installed.\nYou have to enable it in the Plugin Manager.")
+  tr("Python plugin installed.\nNow you need to enable it in Plugin Manager.")
   tr("Plugin reinstalled successfully")
-  tr("Python plugin reinstalled.\nYou have to restart Quantum GIS to reload it.")
+  tr("Python plugin reinstalled.\nYou need to restart Quantum GIS in order to reload it.")
   tr("The plugin is designed for a newer version of Quantum GIS. The minimum required version is:")
   tr("The plugin depends on some components missing on your system. You need to install the following Python module in order to enable it:")
   tr("The plugin is broken. Python said:")
@@ -196,7 +196,7 @@
   tr("Plugin uninstall failed")
   tr("QGIS Python Plugin Installer")
   tr("Plugin uninstalled successfully")
-
+  tr("Python plugin uninstalled. Note that tou may need to restart Quantum GIS in order to remove it completely.")
  // def ChangeCheckingPolicy
 
  // def addKnownRepositories

Modified: trunk/qgis/python/plugins/plugin_installer/installer_gui.py
===================================================================
--- trunk/qgis/python/plugins/plugin_installer/installer_gui.py	2008-12-05 16:43:44 UTC (rev 9744)
+++ trunk/qgis/python/plugins/plugin_installer/installer_gui.py	2008-12-05 18:51:00 UTC (rev 9745)
@@ -380,7 +380,7 @@
             "new" : self.tr("This plugin is not installed and is seen for the first time"),
             "newer" : self.tr("This plugin is installed and is newer than its version available in a repository"),
             "incompatible" : self.tr("This plugin is incompatible with your Quantum GIS version and probably won't work."),
-            "dependent" : self.tr("The required Python module is not installed.\nFor more information, please visit its homepage."),
+            "dependent" : self.tr("The required Python module is not installed.\nFor more information, please visit its homepage and Quantum GIS wiki."),
             "broken" : self.tr("This plugin seems to be broken.\nIt has been installed but can't be loaded.\nHere is the error message:")}
     statuses ={"not installed" : self.tr("not installed", "singular"),
             "installed" : self.tr("installed", "singular"),
@@ -559,10 +559,10 @@
       if not plugin["error"]:
         if previousStatus in ["not installed", "new"]:
           infoString = (self.tr("Plugin installed successfully"),
-          self.tr("Python plugin installed.\nYou have to enable it in the Plugin Manager."))
+          self.tr("Python plugin installed.\nNow you need to enable it in Plugin Manager."))
         else:
           infoString = (self.tr("Plugin reinstalled successfully"),
-          self.tr("Python plugin reinstalled.\nYou have to restart Quantum GIS to reload it."))
+          self.tr("Python plugin reinstalled.\nYou need to restart Quantum GIS in order to reload it."))
       else:
         if plugin["error"] == "incompatible":
           message = self.tr("The plugin is designed for a newer version of Quantum GIS. The minimum required version is:")
@@ -643,7 +643,7 @@
         plugins.setPluginData(key, "error", "")
         plugins.setPluginData(key, "error_details", "")
       self.populatePluginTree()
-      QMessageBox.information(self, self.tr("QGIS Python Plugin Installer"), self.tr("Plugin uninstalled successfully"))
+      QMessageBox.information(self, self.tr("Plugin uninstalled successfully"), self.tr("Python plugin uninstalled. Note that tou may need to restart Quantum GIS in order to remove it completely."))
 
 
   # ----------------------------------------- #



More information about the QGIS-commit mailing list