Skip to content

Commit

Permalink
Plugin Installer update: The last string fixes
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@9745 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
borysiasty committed Dec 5, 2008
1 parent 2fcc46e commit a0c1971
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion python/plugins/plugin_installer/__init__.py
Expand Up @@ -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"
Expand Down
8 changes: 4 additions & 4 deletions python/plugins/plugin_installer/i18n.cpp
Expand Up @@ -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")
Expand Down Expand Up @@ -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:")
Expand All @@ -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
Expand Down
8 changes: 4 additions & 4 deletions python/plugins/plugin_installer/installer_gui.py
Expand Up @@ -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"),
Expand Down Expand Up @@ -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:")
Expand Down Expand Up @@ -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."))


# ----------------------------------------- #
Expand Down

0 comments on commit a0c1971

Please sign in to comment.