-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
/
qgspluginmanager_texts.cpp
114 lines (95 loc) · 2.96 KB
/
qgspluginmanager_texts.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
#include <QCoreApplication>
#include "qgspluginmanager.h"
// QMap<QString, QString> QgsPluginManager::mTabDescriptions;
void QgsPluginManager::initTabDescriptions()
{
if ( !mTabDescriptions.isEmpty() )
return;
mTabDescriptions.insert( QStringLiteral( "all_plugins" ), tr( "<h3>All Plugins</h3>\
\
<p>\
On the left you see the list of all plugins available for your QGIS, both installed and available for download. \
Some plugins come with your QGIS installation while most of them are made available via the plugin repositories.\
</p>\
\
<p>\
You can temporarily enable or disable a plugin.\
To <i>enable</i> or <i>disable</i> a plugin, click its checkbox or double-click its name…\
</p>\
\
<p>\
Plugins showing in <span style='color:red'>red</span> are not loaded because there is a problem. They are also listed \
on the 'Invalid' tab. Click on the plugin name to see more details, or to reinstall or uninstall this plugin.\
</p>\
" ) );
mTabDescriptions.insert( QStringLiteral( "installed_plugins" ), tr( "<h3>Installed Plugins</h3>\
\
<p>\
Here you only see plugins <b>installed on your QGIS</b>.\
</p>\
<p>\
Click on the name to see details. \
</p>\
<p>\
Click the checkbox or double-click the name to <i>activate</i> or <i>deactivate</i> the plugin.\
</p>\
<p>\
You can change the sorting via the context menu (right click).\
</p>\
" ) );
mTabDescriptions.insert( QStringLiteral( "upgradeable_plugins" ), tr( "<h3>Upgradable plugins</h3>\
\
<p>\
Here are <b>upgradeable plugins</b>. It means more recent versions of installed \
plugins are available in the repositories.\
</p>\
\
" ) );
mTabDescriptions.insert( QStringLiteral( "not_installed_plugins" ), tr( "<h3>Not installed plugins</h3>\
\
<p>\
Here you see the list of all plugins available in the repositories, but which are <b>not yet installed</b>.\
</p>\
<p>\
Click on the name to see details.\
</p>\
<p>\
You can change the sorting via the context menu (right click).\
</p>\
<p>\
A plugin can be downloaded and installed by clicking on it's name, and \
then click the 'Install plugin' button.\
</p>\
\
\
" ) );
mTabDescriptions.insert( QStringLiteral( "new_plugins" ), tr( "<h3>New plugins</h3>\
\
<p>\
Here you see brand <b>new</b> plugins which can be installed.\
</p>\
\
\
" ) );
mTabDescriptions.insert( QStringLiteral( "invalid_plugins" ), tr( "<h3>Invalid plugins</h3>\
\
<p>\
Plugins in this list here are <b>broken or incompatible</b> with your version of QGIS.\
</p>\
\
<p>\
Click on an individual plugin; if possible QGIS shows you more information.\
</p>\
\
<p>\
The main reasons to have invalid plugins is that this plugin is not build \
for this version of QGIS. Maybe you can download another version from <a href=\"https://plugins.qgis.org\">plugins.qgis.org</a>.\
</p>\
\
<p>\
Another common reason is that a python plugin needs some external python libraries (dependencies). \
You can install them yourself, depending on your operating system. After a correct \
install the plugin should work.\
</p>\
" ) );
}