Skip to content

Commit 6bedde1

Browse files
author
borysiasty
committed
Plugin Installer update: inclusion to i18n
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9617 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 8bd0494 commit 6bedde1

File tree

1 file changed

+212
-0
lines changed

1 file changed

+212
-0
lines changed
+212
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,212 @@
1+
/*
2+
This is NOT a proper c++ source code. This file is only designed to be catched
3+
by qmake and included to lupdate. It contains all translateable strings copied
4+
from the python files:
5+
installer_data.py
6+
installer_plugin.py
7+
installer_gui.py
8+
9+
Please keep the python files and this file synchronized. I hope we'll find
10+
a more automated way to put PyQt strings to the qgis_*.ts files some day.
11+
*/
12+
13+
/***************************************************************************
14+
* *
15+
* This program is free software; you can redistribute it and/or modify *
16+
* it under the terms of the GNU General Public License as published by *
17+
* the Free Software Foundation; either version 2 of the License, or *
18+
* (at your option) any later version. *
19+
* *
20+
***************************************************************************/
21+
22+
23+
24+
25+
/*---------------------
26+
file: installer_data.py
27+
---------------------*/
28+
29+
// Repositories::xmlDownloaded
30+
translate("QgsPluginInstaller","Couldn't parse output from the repository")
31+
32+
// Plugins::getAllInstalled
33+
translate("QgsPluginInstaller","Couldn't open the system plugin directory")
34+
translate("QgsPluginInstaller","Couldn't open the local plugin directory")
35+
36+
37+
38+
39+
/* ----------------------
40+
file: installer_plugin.py
41+
------------------------*/
42+
43+
// InstallerPlugin::initGui
44+
translate("QgsPluginInstaller","Fetch Python Plugins...")
45+
translate("QgsPluginInstaller","Install more plugins from remote repositories")
46+
translate("QgsPluginInstaller","Install more plugins from remote repositories")
47+
translate("QgsPluginInstaller","Looking for new plugins...")
48+
49+
// InstallerPlugin::checkingDone
50+
translate("QgsPluginInstaller","There is a new plugin available")
51+
translate("QgsPluginInstaller","There is a plugin update available")
52+
53+
// InstallerPlugin::run
54+
translate("QgsPluginInstaller","QGIS Python Plugin Installer")
55+
translate("QgsPluginInstaller","Error reading repository:")
56+
57+
58+
59+
60+
/*--------------------
61+
file: installer_gui.py
62+
--------------------*/
63+
64+
// common functions
65+
translate("QgsPluginInstaller","Plugin directory doesn't exist:")
66+
translate("QgsPluginInstaller","Failed to remove the directory:")
67+
translate("QgsPluginInstaller","Check permissions or remove it manually")
68+
69+
QgsPluginInstallerFetchingDialog::foo()
70+
{
71+
// def displayState
72+
tr("Success")
73+
tr("Resolving host name...")
74+
tr("Connecting...")
75+
tr("Host connected. Sending request...")
76+
tr("Downloading data...")
77+
tr("Idle")
78+
tr("Closing connection...")
79+
tr("Error")
80+
}
81+
82+
QgsPluginInstallerInstallingDialog::foo()
83+
{
84+
// def stateChanged
85+
tr("Installing...")
86+
tr("Resolving host name...")
87+
tr("Connecting...")
88+
tr("Host connected. Sending request...")
89+
tr("Downloading data...")
90+
tr("Idle")
91+
tr("Closing connection...")
92+
tr("Error")
93+
94+
// def requestFinished
95+
tr("Failed to unzip file to the following directory:")
96+
tr("Check permissions")
97+
98+
// def abort
99+
tr("Aborted by user")
100+
}
101+
102+
103+
QgsPluginInstallerPluginErrorDialog::foo()
104+
{
105+
// def __init__
106+
tr("No error message received. Try to restart Quantum GIS and ensure the plugin isn't installed under a different name. If it is, contact the plugin author and submit this issue, please.")
107+
}
108+
109+
QgsPluginInstallerDialog::foo()
110+
{
111+
// def __init__
112+
113+
// def getAllAvailablePlugins
114+
tr("QGIS Python Plugin Installer")
115+
tr("Error reading repository:")
116+
117+
// def populateMostWidgets
118+
tr("all repositories")
119+
tr("connected")
120+
tr("This repository is connected")
121+
tr("unavailable")
122+
tr("This repository is enabled, but unavailable")
123+
tr("disabled")
124+
tr("This repository is disabled")
125+
tr("This repository is blocked due to incompatibility with your Quantum GIS version")
126+
tr("orphans")
127+
tr("any status")
128+
tr("not installed", "plural")
129+
tr("installed", "plural")
130+
tr("upgradeable and news")
131+
132+
// def filterChanged
133+
134+
// def filterCheck
135+
tr("orphans")
136+
tr("orphans")
137+
138+
// def populatePluginTree
139+
tr("This plugin is not installed")
140+
tr("This plugin is installed")
141+
tr("This plugin is installed, but there is an updated version available")
142+
tr("This plugin is installed, but I can't find it in any enabled repository")
143+
tr("This plugin is not installed and is seen for the first time")
144+
tr("This plugin is installed and is newer than its version available in a repository")
145+
tr("This plugin seems to be invalid or have unfulfilled dependencies\nIt has been installed, but can't be loaded")
146+
tr("not installed", "singular")
147+
tr("installed", "singular")
148+
tr("upgradeable", "singular")
149+
tr("installed", "singular")
150+
tr("new!", "singular")
151+
tr("installed", "singular")
152+
tr("invalid", "singular")
153+
tr("Note that it's an uninsatallable core plugin")
154+
tr("installed version")
155+
tr("available version")
156+
tr("available version")
157+
tr("installed version")
158+
tr("That's the newest available version")
159+
tr("installed version")
160+
tr("There is no version available for download")
161+
tr("This plugin seems to be invalid or have unfulfilled dependencies")
162+
tr("This plugin seems to be invalid or have unfulfilled dependencies\nIt has been installed, but can't be loaded")
163+
tr("only locally available")
164+
165+
// def treeClicked
166+
tr("Install plugin")
167+
tr("Reinstall plugin")
168+
tr("Upgrade plugin")
169+
tr("Install/upgrade plugin")
170+
tr("Install plugin")
171+
tr("Downgrade plugin")
172+
tr("Reinstall plugin")
173+
tr("Install/upgrade plugin")
174+
175+
// def installPlugin
176+
tr("Plugin installation failed")
177+
tr("Plugin installed successfully")
178+
tr("Python plugin installed.\nYou have to enable it in the Plugin Manager.")
179+
tr("Plugin installed successfully")
180+
tr("Python plugin reinstalled.\nYou have to restart Quantum GIS to reload it.")
181+
tr("Plugin uninstall failed")
182+
183+
// def uninstallPlugin
184+
tr("Are you sure you want to uninstall the following plugin?")
185+
tr("Warning: this plugin isn't available in any accessible repository!")
186+
tr("QGIS Python Plugin Installer")
187+
tr("Plugin uninstall failed")
188+
tr("QGIS Python Plugin Installer")
189+
tr("Plugin uninstalled successfully")
190+
191+
// def ChangeCheckingPolicy
192+
193+
// def addKnownRepositories
194+
tr("You are going to add some plugin repositories neither authorized nor supported by the Quantum GIS team, however provided by folks associated with us. Plugin authors generally make efforts to make their works useful and safe, but we can't assume any responsibility for them. FEEL WARNED!")
195+
tr("QGIS Python Plugin Installer")
196+
197+
// def addRepository
198+
tr("QGIS Python Plugin Installer")
199+
tr("Unable to add another repository with the same URL!")
200+
201+
// def editRepository
202+
tr("This repository is blocked due to incompatibility with your Quantum GIS version")
203+
tr("QGIS Python Plugin Installer")
204+
tr("Unable to add another repository with the same URL!")
205+
206+
// def deleteRepository
207+
tr("Are you sure you want to remove the following repository?")
208+
tr("QGIS Python Plugin Installer")
209+
210+
// def reject
211+
212+
}

0 commit comments

Comments
 (0)