22< html xmlns ="http://www.w3.org/1999/xhtml ">
33< head >
44 < title > Help Python Console</ title >
5+ < meta http-equiv ="Content-Type " content ="text/html; charset=UTF-8 " />
6+ < script type ="text/javascript " src ="js/jquery-1.8.2.min.js "> </ script >
7+ < script type ="text/javascript " src ="js/jquery.i18n.min.js "> </ script >
8+ < script type ="text/javascript ">
9+ $ ( document ) . ready ( function ( ) {
10+ var parameter = window . location . search . replace ( "?" , "" ) ;
11+ var locale = parameter . split ( "=" ) ;
12+ var lang = locale [ 1 ]
13+ var js = document . createElement ( "script" ) ;
14+ js . type = "text/javascript" ;
15+ js . src = "i18n/" + lang + ".properties" ;
16+ document . body . appendChild ( js ) ;
17+ //alert(js.src);
18+
19+ var encode = document . createElement ( "script" ) ;
20+ encode . type = "text/javascript" ;
21+ encode . src = "js/encoding.js" ;
22+ document . body . appendChild ( encode ) ;
23+ } ) ;
24+ </ script >
525 < style >
626 body {
727 font-family : verdana, arial, helvetica, sans-serif;
2545 < img src ="../iconConsole/imgHelpDialog.png " />
2646 </ td >
2747 < td >
28- < h2 > Python Console for QGIS</ h2 >
48+ < h2 id =" headerTitle " > Python Console for QGIS</ h2 >
2949 </ td >
3050 </ tr >
3151 </ table >
3252 < p align ="justify ">
33- Python Console based on pyScintilla . (Developed by Salvatore Larosa)
53+ < span id =" headerSubject " > Python Console based on PyQScintilla2 . (Developed by Salvatore Larosa)</ span >
3454 < br > < br >
35- To access Quantum GIS environment from this console
55+ < span id =" headerSubjectMain " > To access Quantum GIS environment from this console
3656 use qgis.utils.iface object (instance of QgisInterface class).
3757 To import the class QgisInterface can also use the dedicated
38- button on the toolbar on the left.
58+ button on the toolbar on the left.</ span >
3959 </ p >
4060 < table id ="header ">
4161 < tr >
4262 < td >
43- < h4 > Features</ h4 >
63+ < h4 id =" features " > Features</ h4 >
4464 </ td >
4565 </ tr >
4666 </ table >
4767 < p align ="justify ">
4868 < ul >
49- < li > Auto-completion and highlighting syntax for the following APIs:
69+ < li > < span id =" featuresTitle " > Auto-completion and highlighting syntax for the following APIs:</ span >
5070 < ol >
5171 < li > Python</ li >
5272 < li > PyQGIS-master</ li >
@@ -56,75 +76,75 @@ <h4>Features</h4>
5676 </ ol >
5777 </ li >
5878 < br >
59- < li > CTRL+SPACE to view the auto-completion list.</ li >
79+ < li > < span id =" featuresA " > CTRL+SPACE to view the auto-completion list.</ span > </ li >
6080 < br >
61- < li > CTRL+ALT+SPACE to view the command history list.</ li >
81+ < li > < span id =" featuresB " > CTRL+ALT+SPACE to view the command history list.</ span > </ li >
6282 < br >
63- < li > Saves the command history by typing < b > _save</ b > or closing the widget.< br >
64- This command saves the history command in the file ~/.qgis/console_history.txt
83+ < li > < span id =" featuresC " > Saves the command history by typing < b > _save</ b > or closing the widget.< br >
84+ This command saves the history command in the file ~/.qgis/console_history.txt</ span >
6585 </ li >
6686 < br >
67- < li > Clears the command history by typing < b > _clear</ b > .< br >
68- This command clears the command history from file ~/.qgis/console_history.txt
87+ < li > < span id =" featuresD " > Clears the command history by typing < b > _clear</ b > .< br >
88+ This command clears the command history from file ~/.qgis/console_history.txt</ span >
6989 </ li >
7090 < br >
71- < li > Clears completely command history by typing < b > _clearAll</ b > .< br >
72- This command clears completely the command history. It has an irreversible effect.
91+ < li > < span id =" featuresE " > Clears completely command history by typing < b > _clearAll</ b > .< br >
92+ This command clears completely the command history. It has an irreversible effect.</ span >
7393 </ li >
7494 </ ul >
7595 </ p >
7696 < table id ="header ">
7797 < tr >
7898 < td >
79- < h4 > Toolbar</ h4 >
99+ < h4 id =" toolbar " > Toolbar</ h4 >
80100 </ td >
81101 </ tr >
82102 </ table >
83- < p > The following is a description of the tools in the toolbar:</ p >
103+ < p > < span id =" toolbarTitle " > The following is a description of the tools in the toolbar:</ span > </ p >
84104 < table width ="100% " border ="0 " id ="headerTool ">
85105 < tr >
86106 < td > < img src ="../iconConsole/iconClearConsole.png " /> </ td >
87- < td colspan ="2 "> Tool to clear python console</ td >
107+ < td colspan ="2 "> < span id =" toolbarClear " > Tool to clear python console</ span > </ td >
88108 </ tr >
89109 < tr >
90110 < td > < img src ="../iconConsole/iconClassConsole.png " /> </ td >
91111 < td > < img src ="../iconConsole/iconIfaceConsole.png " /> </ td >
92- < td > Tool to import iface class</ td >
112+ < td > < span id =" toolbarIfaceClass " > Tool to import iface class</ span > </ td >
93113 </ tr >
94114 < tr >
95115 < td > </ td >
96116 < td > < img src ="../iconConsole/iconSextanteConsole.png " /> </ td >
97- < td > Tool to import Sextante class</ td >
117+ < td > < span id =" toolbarSextClass " > Tool to import Sextante class</ span > </ td >
98118 </ tr >
99119 < tr >
100120 < td > < img src ="../iconConsole/iconScriptConsole.png " /> </ td >
101121 < td > < img src ="../iconConsole/iconOpenConsole.png " /> </ td >
102- < td > Tool to open a python script and load in console</ td >
122+ < td > < span id =" toolbarScriptOpen " > Tool to open a python script and load in console</ span > </ td >
103123 </ tr >
104124 < tr >
105125 < td > </ td >
106126 < td > < img src ="../iconConsole/iconSaveConsole.png " /> </ td >
107- < td > Tool to save a python script</ td >
127+ < td > < span id =" toolbarScriptSave " > Tool to save a python script</ span > </ td >
108128 </ tr >
109129 < tr >
110130 < td > < img src ="../iconConsole/iconHelpConsole.png " /> </ td >
111- < td colspan ="2 "> Help</ td >
131+ < td colspan ="2 "> < span id =" toolbarHelp " > Help</ span > </ td >
112132 </ tr >
113133 < tr >
114134 < td > < img src ="../iconConsole/iconRunConsole.png " /> </ td >
115- < td colspan ="2 "> Run command (like Enter key pressed)</ td >
135+ < td colspan ="2 "> < span id =" toolbarRun " > Run command (like Enter key pressed)</ span > </ td >
116136 </ tr >
117137 </ table >
118138 < br >
119139 < table id ="header ">
120140 < tr >
121141 < td >
122- < h4 > Acknowledgments</ h4 >
142+ < h4 id =" thanks " > Acknowledgments</ h4 >
123143 </ td >
124144 </ tr >
125145 </ table >
126146 < p >
127- Thanks to Larry Shaffer who provided the API files.
147+ < span id =" thanksText " > Thanks to Larry Shaffer who provided the API files.</ span >
128148 </ p >
129149</ body >
130150</ html >
0 commit comments