Skip to content

Commit 4aa9864

Browse files
author
borysiasty
committed
Plugin Installer update: The last string fixes
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9745 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent a20c483 commit 4aa9864

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

python/plugins/plugin_installer/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def name():
1414
return "Plugin Installer"
1515

1616
def version():
17-
return "Version 0.9.3"
17+
return "Version 0.9.4"
1818

1919
def description():
2020
return "Downloads and installs QGIS python plugins"

python/plugins/plugin_installer/i18n.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ QgsPluginInstallerDialog::foo()
142142
tr("This plugin is not installed and is seen for the first time")
143143
tr("This plugin is installed and is newer than its version available in a repository")
144144
tr("This plugin is incompatible with your Quantum GIS version and probably won't work.")
145-
tr("The required Python module is not installed.\nFor more information, please visit its homepage.")
145+
tr("The required Python module is not installed.\nFor more information, please visit its homepage and Quantum GIS wiki.")
146146
tr("This plugin seems to be broken.\nIt has been installed but can't be loaded.\nHere is the error message:")
147147
tr("not installed", "singular")
148148
tr("installed", "singular")
@@ -181,9 +181,9 @@ QgsPluginInstallerDialog::foo()
181181
tr("Plugin has disappeared")
182182
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.")
183183
tr("Plugin installed successfully")
184-
tr("Python plugin installed.\nYou have to enable it in the Plugin Manager.")
184+
tr("Python plugin installed.\nNow you need to enable it in Plugin Manager.")
185185
tr("Plugin reinstalled successfully")
186-
tr("Python plugin reinstalled.\nYou have to restart Quantum GIS to reload it.")
186+
tr("Python plugin reinstalled.\nYou need to restart Quantum GIS in order to reload it.")
187187
tr("The plugin is designed for a newer version of Quantum GIS. The minimum required version is:")
188188
tr("The plugin depends on some components missing on your system. You need to install the following Python module in order to enable it:")
189189
tr("The plugin is broken. Python said:")
@@ -196,7 +196,7 @@ QgsPluginInstallerDialog::foo()
196196
tr("Plugin uninstall failed")
197197
tr("QGIS Python Plugin Installer")
198198
tr("Plugin uninstalled successfully")
199-
199+
tr("Python plugin uninstalled. Note that tou may need to restart Quantum GIS in order to remove it completely.")
200200
// def ChangeCheckingPolicy
201201

202202
// def addKnownRepositories

python/plugins/plugin_installer/installer_gui.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ def populatePluginTree(self):
380380
"new" : self.tr("This plugin is not installed and is seen for the first time"),
381381
"newer" : self.tr("This plugin is installed and is newer than its version available in a repository"),
382382
"incompatible" : self.tr("This plugin is incompatible with your Quantum GIS version and probably won't work."),
383-
"dependent" : self.tr("The required Python module is not installed.\nFor more information, please visit its homepage."),
383+
"dependent" : self.tr("The required Python module is not installed.\nFor more information, please visit its homepage and Quantum GIS wiki."),
384384
"broken" : self.tr("This plugin seems to be broken.\nIt has been installed but can't be loaded.\nHere is the error message:")}
385385
statuses ={"not installed" : self.tr("not installed", "singular"),
386386
"installed" : self.tr("installed", "singular"),
@@ -559,10 +559,10 @@ def installPlugin(self):
559559
if not plugin["error"]:
560560
if previousStatus in ["not installed", "new"]:
561561
infoString = (self.tr("Plugin installed successfully"),
562-
self.tr("Python plugin installed.\nYou have to enable it in the Plugin Manager."))
562+
self.tr("Python plugin installed.\nNow you need to enable it in Plugin Manager."))
563563
else:
564564
infoString = (self.tr("Plugin reinstalled successfully"),
565-
self.tr("Python plugin reinstalled.\nYou have to restart Quantum GIS to reload it."))
565+
self.tr("Python plugin reinstalled.\nYou need to restart Quantum GIS in order to reload it."))
566566
else:
567567
if plugin["error"] == "incompatible":
568568
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):
643643
plugins.setPluginData(key, "error", "")
644644
plugins.setPluginData(key, "error_details", "")
645645
self.populatePluginTree()
646-
QMessageBox.information(self, self.tr("QGIS Python Plugin Installer"), self.tr("Plugin uninstalled successfully"))
646+
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."))
647647

648648

649649
# ----------------------------------------- #

0 commit comments

Comments
 (0)