Skip to content
Permalink
Browse files

Plugin Installer update: The last string fixes

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9745 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
borysiasty
borysiasty committed Dec 5, 2008
1 parent a20c483 commit 4aa9864f9412867fb9a12bd82d5bb2969a5c92f3
@@ -14,7 +14,7 @@ def name():
return "Plugin Installer"

def version():
return "Version 0.9.3"
return "Version 0.9.4"

def description():
return "Downloads and installs QGIS python plugins"
@@ -142,7 +142,7 @@ QgsPluginInstallerDialog::foo()
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 @@ QgsPluginInstallerDialog::foo()
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 @@ QgsPluginInstallerDialog::foo()
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
@@ -380,7 +380,7 @@ def populatePluginTree(self):
"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 @@ def installPlugin(self):
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 @@ def uninstallPlugin(self):
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."))


# ----------------------------------------- #

0 comments on commit 4aa9864

Please sign in to comment.
You can’t perform that action at this time.