Commit 3c6b7f02248a391017653c8caeccf5bfa034ed27
1 parent
954cd635
Exists in
master
and in
7 other branches
Adaptação para dicionário
Showing
1 changed file
with
32 additions
and
32 deletions
Show diff stats
admin/menu.html
... | ... | @@ -40,11 +40,11 @@ |
40 | 40 | type: "html", |
41 | 41 | enableHighlight: false, |
42 | 42 | },{ |
43 | - html: "<a href='../testainstal.php' target='principal'>Testar a instalação do i3geo (testainstal.php)</a>", | |
43 | + html: "<a href='../testainstal.php' target='principal'>"+$trad("testaInstal",i3GEOadmin.menu.dicionario)+"</a>", | |
44 | 44 | type: "html", |
45 | 45 | enableHighlight: false, |
46 | 46 | },{ |
47 | - html: "<a href='../init/remover.php' target='principal'>Remover a tela inicial de apresentação do i3Geo</a>", | |
47 | + html: "<a href='../init/remover.php' target='principal'>"+$trad("removeInicia",i3GEOadmin.menu.dicionario)+"</a>", | |
48 | 48 | type: "html", |
49 | 49 | enableHighlight: false, |
50 | 50 | |
... | ... | @@ -54,153 +54,153 @@ |
54 | 54 | type: "html", |
55 | 55 | children:[ |
56 | 56 | { |
57 | - html: "<a href='html/operacoes.html' target='principal'>Controle de operações</a>", | |
57 | + html: "<a href='html/operacoes.html' target='principal'>"+$trad("controleOperac",i3GEOadmin.menu.dicionario)+"</a>", | |
58 | 58 | type: "html", |
59 | 59 | enableHighlight: false, |
60 | 60 | |
61 | 61 | },{ |
62 | - html: "<a href='html/usuarios.html' target='principal'>Cadastro de usuários e relação com papéis</a>", | |
62 | + html: "<a href='html/usuarios.html' target='principal'>"+$trad("cadastroUsuario",i3GEOadmin.menu.dicionario)+"</a>", | |
63 | 63 | type: "html", |
64 | 64 | enableHighlight: false, |
65 | 65 | |
66 | 66 | },{ |
67 | - html: "<a href='html/gruposusuarios.html' target='principal'>Cadastro de grupos e relação com usuários</a>", | |
67 | + html: "<a href='html/gruposusuarios.html' target='principal'>"+$trad("cadastroGrupos",i3GEOadmin.menu.dicionario)+"</a>", | |
68 | 68 | type: "html", |
69 | 69 | enableHighlight: false, |
70 | 70 | |
71 | 71 | } |
72 | 72 | ]},{ |
73 | - html: "Metadados estatísticos", | |
73 | + html: $trad("metadadosEstatisticos",i3GEOadmin.menu.dicionario), | |
74 | 74 | type: "html", |
75 | 75 | children:[ |
76 | 76 | { |
77 | - html: "<a href='http://i3geo.com.br/i3geosaude/docs/index.php?conteudo=fluxograma.html' target='principal'>Documentação (baseada no i3GeoSaúde)</a>", | |
77 | + html: "<a href='http://i3geo.com.br/i3geosaude/docs/index.php?conteudo=fluxograma.html' target='principal'>"+$trad("documentacao",i3GEOadmin.menu.dicionario)+"</a>", | |
78 | 78 | type: "html", |
79 | 79 | enableHighlight: false, |
80 | 80 | |
81 | 81 | },{ |
82 | - html: "<a href='html/estat_variavel.html' target='principal'>Cadastro principal de variáveis</a>", | |
82 | + html: "<a href='html/estat_variavel.html' target='principal'>"+$trad("cadastroVariav",i3GEOadmin.menu.dicionario)+"</a>", | |
83 | 83 | type: "html", |
84 | 84 | enableHighlight: false, |
85 | 85 | |
86 | 86 | },{ |
87 | - html: "<a href='html/estat_mapa.html' target='principal'>Cadastro de mapas para publicação</a>", | |
87 | + html: "<a href='html/estat_mapa.html' target='principal'>"+$trad("cadastroMapas",i3GEOadmin.menu.dicionario)+"</a>", | |
88 | 88 | type: "html", |
89 | 89 | enableHighlight: false, |
90 | 90 | |
91 | 91 | },{ |
92 | - html: "<a href='html/estat_unidade_medida.html' target='principal'>Cadastro de unidades de medida</a>", | |
92 | + html: "<a href='html/estat_unidade_medida.html' target='principal'>"+$trad("cadastroMedidas",i3GEOadmin.menu.dicionario)+"</a>", | |
93 | 93 | type: "html", |
94 | 94 | enableHighlight: false, |
95 | 95 | |
96 | 96 | },{ |
97 | - html: "<a href='html/estat_tipo_periodo.html' target='principal'>Cadastro de tipos de períodos de tempo</a>", | |
97 | + html: "<a href='html/estat_tipo_periodo.html' target='principal'>"+$trad("cadastroPeriodos",i3GEOadmin.menu.dicionario)+"</a>", | |
98 | 98 | type: "html", |
99 | 99 | enableHighlight: false, |
100 | 100 | |
101 | 101 | },{ |
102 | - html: "<a href='html/estat_conexao.html' target='principal'>Cadastro de conexões com banco de dados</a>", | |
102 | + html: "<a href='html/estat_conexao.html' target='principal'>"+$trad("cadastroConexoes",i3GEOadmin.menu.dicionario)+"</a>", | |
103 | 103 | type: "html", |
104 | 104 | enableHighlight: false, |
105 | 105 | |
106 | 106 | },{ |
107 | - html: "<a href='html/estat_tipo_regiao.html' target='principal'>Cadastro de tabelas com regiões geográficas</a>", | |
107 | + html: "<a href='html/estat_tipo_regiao.html' target='principal'>"+$trad("cadastroTabelas",i3GEOadmin.menu.dicionario)+"</a>", | |
108 | 108 | type: "html", |
109 | 109 | enableHighlight: false, |
110 | 110 | |
111 | 111 | },{ |
112 | - html: "<a href='html/estat_fonteinfo.html' target='principal'>Cadastro de fontes de informação</a>", | |
112 | + html: "<a href='html/estat_fonteinfo.html' target='principal'>"+$trad("cadastroFonte",i3GEOadmin.menu.dicionario)+"</a>", | |
113 | 113 | type: "html", |
114 | 114 | enableHighlight: false, |
115 | 115 | |
116 | 116 | },{ |
117 | - html: "<a href='html/estat_editor.html' target='principal'>Gerenciador de banco de dados, upload de SHP e CSV</a>", | |
117 | + html: "<a href='html/estat_editor.html' target='principal'>"+$trad("gerenciaBd",i3GEOadmin.menu.dicionario)+"</a>", | |
118 | 118 | type: "html", |
119 | 119 | enableHighlight: false, |
120 | 120 | |
121 | 121 | },{ |
122 | - html: "<a href='xmlmetaestatogc.php' target='principal'>Ver xml com a lista de serviços WMS originados do sistema de metadados estatísticos</a>", | |
122 | + html: "<a href='xmlmetaestatogc.php' target='principal'>"+$trad("xmlWms",i3GEOadmin.menu.dicionario)+"</a>", | |
123 | 123 | type: "html", |
124 | 124 | enableHighlight: false, |
125 | 125 | |
126 | 126 | },{ |
127 | - html: "<a href='rssmapas.php' target='principal'>Ver RSS com a lista de mapas cadastrados</a>", | |
127 | + html: "<a href='rssmapas.php' target='principal'>"+$trad("verRss",i3GEOadmin.menu.dicionario)+"</a>", | |
128 | 128 | type: "html", |
129 | 129 | enableHighlight: false, |
130 | 130 | |
131 | 131 | } |
132 | 132 | ]},{ |
133 | - html: "Enviar arquivo para o servidor", | |
133 | + html: $trad("enviarArquivo",i3GEOadmin.menu.dicionario), | |
134 | 134 | type: "html", |
135 | 135 | children:[ |
136 | 136 | { |
137 | - html: "<a href='html/subirshapefile.html' target='principal'>Upload de arquivo Shape file</a>", | |
137 | + html: "<a href='html/subirshapefile.html' target='principal'>"+$trad("enviarShp",i3GEOadmin.menu.dicionario)+"</a>", | |
138 | 138 | type: "html", |
139 | 139 | enableHighlight: false, |
140 | 140 | |
141 | 141 | },{ |
142 | - html: "<a href='html/estat_editor.html' target='principal'>Gerenciador de banco de dados (upload/inserção de SHP e CSV)</a>", | |
142 | + html: "<a href='html/estat_editor.html' target='principal'>"+$trad("gerenciaBd",i3GEOadmin.menu.dicionario)+"</a>", | |
143 | 143 | type: "html", |
144 | 144 | enableHighlight: false, |
145 | 145 | |
146 | 146 | },{ |
147 | - html: "<a href='html/subirsimbolo.html' target='principal'>Upload de imagem para uso como símbolo</a>", | |
147 | + html: "<a href='html/subirsimbolo.html' target='principal'>"+$trad("uploadSimbolo",i3GEOadmin.menu.dicionario)+"</a>", | |
148 | 148 | type: "html", |
149 | 149 | enableHighlight: false, |
150 | 150 | |
151 | 151 | } |
152 | 152 | ]},{ |
153 | - html: "Editor de mapfiles", | |
153 | + html: $trad("editaMapfile",i3GEOadmin.menu.dicionario), | |
154 | 154 | type: "html", |
155 | 155 | children:[ |
156 | 156 | { |
157 | - html: "<a href='html/editormapfile.html' target='principal'>Edição de mapfiles</a>", | |
157 | + html: "<a href='html/editormapfile.html' target='principal'>"+$trad("editorMapfile",i3GEOadmin.menu.dicionario)+"</a>", | |
158 | 158 | type: "html", |
159 | 159 | enableHighlight: false, |
160 | 160 | |
161 | 161 | },{ |
162 | - html: "<a href='html/menus.html' target='principal'>Edição da lista de menus</a>", | |
162 | + html: "<a href='html/menus.html' target='principal'>"+$trad("editorMenus",i3GEOadmin.menu.dicionario)+"</a>", | |
163 | 163 | type: "html", |
164 | 164 | enableHighlight: false, |
165 | 165 | |
166 | 166 | },{ |
167 | - html: "<a href='html/arvore.html' target='principal'>Árvore de temas</a>", | |
167 | + html: "<a href='html/arvore.html' target='principal'>"+$trad("arvoreTemas",i3GEOadmin.menu.dicionario)+"</a>", | |
168 | 168 | type: "html", |
169 | 169 | enableHighlight: false, |
170 | 170 | |
171 | 171 | },{ |
172 | - html: "<a href='html/subirsimbolo.html' target='principal'>Upload de imagem para uso como símbolo</a>", | |
172 | + html: "<a href='html/subirsimbolo.html' target='principal'>"+$trad("uploadSimbolo",i3GEOadmin.menu.dicionario)+"</a>", | |
173 | 173 | type: "html", |
174 | 174 | enableHighlight: false, |
175 | 175 | |
176 | 176 | },{ |
177 | - html: "<a href='rssgrupos.php' target='principal'>Ver RSS com os grupos, subgrupos e temas</a>", | |
177 | + html: "<a href='rssgrupos.php' target='principal'>"+$trad("rssArvore",i3GEOadmin.menu.dicionario)+"</a>", | |
178 | 178 | type: "html", |
179 | 179 | enableHighlight: false, |
180 | 180 | |
181 | 181 | },{ |
182 | - html: "<a href='rsscomentariostemas.php' target='principal'>Ver RSS com os comentários sobre os temas</a>", | |
182 | + html: "<a href='rsscomentariostemas.php' target='principal'>"+$trad("rssComentarios",i3GEOadmin.menu.dicionario)+"</a>", | |
183 | 183 | type: "html", |
184 | 184 | enableHighlight: false, |
185 | 185 | |
186 | 186 | } |
187 | 187 | ]},{ |
188 | - html: "Links para mapas", | |
188 | + html: $trad("linkMapas",i3GEOadmin.menu.dicionario), | |
189 | 189 | type: "html", |
190 | 190 | children:[ |
191 | 191 | { |
192 | - html: "<a href='html/mapas.html' target='principal'>Edição dos links</a>", | |
192 | + html: "<a href='html/mapas.html' target='principal'>"+$trad("editaLinks",i3GEOadmin.menu.dicionario)+"</a>", | |
193 | 193 | type: "html", |
194 | 194 | enableHighlight: false, |
195 | 195 | |
196 | 196 | },{ |
197 | - html: "<a href='xmlmapas.php' target='principal'>XML com a lista de mapas</a>", | |
197 | + html: "<a href='xmlmapas.php' target='principal'>"+$trad("xmlMapas",i3GEOadmin.menu.dicionario)+"</a>", | |
198 | 198 | type: "html", |
199 | 199 | enableHighlight: false, |
200 | 200 | |
201 | 201 | } |
202 | 202 | ]},{ |
203 | - html: "Edição dos menus de adição de temas", | |
203 | + html: $trad("editaMenus",i3GEOadmin.menu.dicionario), | |
204 | 204 | type: "html", |
205 | 205 | children:[ |
206 | 206 | { | ... | ... |