Version Description
(01/09/2010) = * Feature: wordpress htaccess rules can be replaced or modified.
Download this release
Release Info
Developer | andrad |
Plugin | WP htaccess Control |
Version | 1.7 |
Comparing to | |
See all releases |
Code changes from version 1.6.1 to 1.7
- lang/wp-htaccess-control-pt_BR.mo +0 -0
- lang/wp-htaccess-control-pt_BR.po +83 -76
- lang/wp-htaccess-control-pt_PT.mo +0 -0
- lang/wp-htaccess-control-pt_PT.po +83 -76
- lang/wp-htaccess-control.pot +76 -64
- readme.txt +7 -4
- wp-htaccess-control-ui.css +2 -1
- wp-htaccess-control-ui.js +13 -0
- wp-htaccess-control-ui.php +29 -10
- wp-htaccess-control.php +40 -20
lang/wp-htaccess-control-pt_BR.mo
CHANGED
Binary file
|
lang/wp-htaccess-control-pt_BR.po
CHANGED
@@ -1,233 +1,240 @@
|
|
1 |
-
# Translation of the WordPress plugin WP htaccess Control 1.6 by António Andrade.
|
2 |
# Copyright (C) 2010 António Andrade
|
3 |
# This file is distributed under the same license as the WP htaccess Control package.
|
4 |
-
#
|
5 |
#
|
6 |
msgid ""
|
7 |
msgstr ""
|
8 |
-
"Project-Id-Version:
|
9 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-htaccess-control\n"
|
10 |
-
"POT-Creation-Date: 2010-
|
11 |
-
"PO-Revision-Date: 2010-
|
12 |
"Last-Translator: António Andrade <dardna@dardna.com>\n"
|
13 |
-
"Language-Team:
|
14 |
"MIME-Version: 1.0\n"
|
15 |
"Content-Type: text/plain; charset=UTF-8\n"
|
16 |
"Content-Transfer-Encoding: 8bit\n"
|
17 |
-
|
18 |
-
|
19 |
-
"X-Poedit-SourceCharset: utf-8\n"
|
20 |
-
"X-Poedit-KeywordsList: _e\n"
|
21 |
-
"X-Poedit-Basepath: .\n"
|
22 |
-
"X-Poedit-SearchPath-0: E:\\#Werk\\_soft\\xampp\\htdocs\\wp0\\wp-content\\plugins\\wp-htaccess-control\n"
|
23 |
-
|
24 |
-
#: wp-htaccess-control-ui.php:13
|
25 |
msgid "Please log in as admin"
|
26 |
msgstr "Por favor ligue-se como administrador"
|
27 |
|
28 |
-
#: wp-htaccess-control-ui.php:
|
29 |
msgid "Custom Author Permalink"
|
30 |
msgstr "Personalização de Permalink para Autores "
|
31 |
|
32 |
-
#: wp-htaccess-control-ui.php:
|
33 |
msgid "Author Base"
|
34 |
msgstr "Base de Permalink para Autores"
|
35 |
|
36 |
-
#: wp-htaccess-control-ui.php:
|
37 |
-
#: wp-htaccess-control-ui.php:
|
38 |
msgid "(your-base)"
|
39 |
msgstr "(a-sua-base)"
|
40 |
|
41 |
-
#: wp-htaccess-control-ui.php:
|
42 |
-
#: wp-htaccess-control-ui.php:
|
43 |
msgid "Permalink settings must be set and not Default (/?p=123)."
|
44 |
msgstr "As Definições de Permalinks devem estar configuradas e não Predefenidas (/?p=123)."
|
45 |
|
46 |
-
#: wp-htaccess-control-ui.php:
|
47 |
msgid "If set, the author base will be used as shown next to the form field."
|
48 |
msgstr "Se preenchida, esta base de autor será usada como demonstrado."
|
49 |
|
50 |
-
#: wp-htaccess-control-ui.php:
|
51 |
msgid "If you do not want to use a custom Author Permalink base just leave the field empty."
|
52 |
msgstr "Se não deseja utilizar um Base para Permalink de Autores personalizada deixe este campo em branco."
|
53 |
|
54 |
-
#: wp-htaccess-control-ui.php:
|
55 |
msgid "Apply Custom Author Permalink on Generated Sitemap"
|
56 |
msgstr "Utilizar a Base de Permalink para Autores no Sitemap gerado"
|
57 |
|
58 |
-
#: wp-htaccess-control-ui.php:
|
59 |
msgid "Leave \"Include author pages\" unchecked on Google XML Sitemap options page if using this."
|
60 |
msgstr "Não utilizar a opção \"Include author pages\" na página de opções do plugin Google XML Sitemap se utilizar este recurso."
|
61 |
|
62 |
-
#: wp-htaccess-control-ui.php:
|
63 |
msgid "However, if you want to adjust the \"Priority\" or \"Change frequency\" you should do so on the <a href=\"options-general.php?page=google-sitemap-generator/sitemap.php\">Google XML Sitemap options page</a>."
|
64 |
msgstr "No entanto, se desejar ajustar a \"Priority\" ou \"Change frequency\" deve fazê-lo na <a href=\"options-general.php?page=google-sitemap-generator/sitemap.php\">página de opções do Google XML Sitemap</a>."
|
65 |
|
66 |
-
#: wp-htaccess-control-ui.php:
|
67 |
msgid "Custom Pagination Permalink"
|
68 |
msgstr "Personalização do Permalink para Paginação"
|
69 |
|
70 |
-
#: wp-htaccess-control-ui.php:
|
71 |
msgid "Page Base"
|
72 |
msgstr "Base de Permalink de Paginação"
|
73 |
|
74 |
-
#: wp-htaccess-control-ui.php:
|
75 |
msgid "If set, the page base will be used as shown next to the form field in every post listing (category, tag, archive, etc)."
|
76 |
msgstr "Se preenchida, esta base de página será usada como demonstrado em todas as listagens de posts (categoria, tag, arquivos, etc)."
|
77 |
|
78 |
-
#: wp-htaccess-control-ui.php:
|
79 |
msgid "If you do not want to use a custom Pagination Permalink base just leave the field empty."
|
80 |
msgstr "Se não deseja utilizar um Base de Permalink para Páginas personalizada deixe este campo em branco."
|
81 |
|
82 |
-
#: wp-htaccess-control-ui.php:
|
83 |
msgid "Custom htaccess"
|
84 |
msgstr "htaccess Personalizado"
|
85 |
|
86 |
-
#: wp-htaccess-control-ui.php:
|
87 |
msgid "This rules will be printed before any Wordpress rules."
|
88 |
msgstr "Estas regras serão impressas antes das regras do Wordpress."
|
89 |
|
90 |
-
#: wp-htaccess-control-ui.php:
|
|
|
91 |
msgid "Please double check them before saving as a mistake could make your site unaccessable."
|
92 |
msgstr "Por favor reveja as suas regras antes de as salvar pois qualquer erro poder tornar o seu site inacessivel."
|
93 |
|
94 |
-
#: wp-htaccess-control-ui.php:
|
95 |
-
msgid "htaccess
|
96 |
-
msgstr "
|
97 |
-
|
98 |
-
#: wp-htaccess-control-ui.php:96
|
99 |
-
msgid "Jim Morgan's htaccess"
|
100 |
-
msgstr "Proteger ficheiro htaccess"
|
101 |
|
102 |
#: wp-htaccess-control-ui.php:100
|
103 |
-
msgid "
|
104 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
|
106 |
-
#: wp-htaccess-control-ui.php:
|
|
|
|
|
|
|
|
|
107 |
msgid "ServerSignature"
|
108 |
msgstr "ServerSignature"
|
109 |
|
110 |
-
#: wp-htaccess-control-ui.php:
|
111 |
msgid "Disable the ServerSignature on server generated error pages."
|
112 |
msgstr "Desactivar a assinatura do servidor (ServerSignature) em páginas de erro geradas pelo mesmo."
|
113 |
|
114 |
-
#: wp-htaccess-control-ui.php:
|
115 |
msgid "Indexes"
|
116 |
msgstr "Índices"
|
117 |
|
118 |
-
#: wp-htaccess-control-ui.php:
|
119 |
msgid "Disable directory browsing."
|
120 |
msgstr "Desactivar a navegação de directórios via browser."
|
121 |
|
122 |
-
#: wp-htaccess-control-ui.php:
|
123 |
msgid "Protect wp-config.php file"
|
124 |
msgstr "Proteger ficheiro wp-config.php"
|
125 |
|
126 |
-
#: wp-htaccess-control-ui.php:
|
127 |
msgid "Deny access to wp-config.php file."
|
128 |
msgstr "Recusar acesso ao ficheiro wp-config.php."
|
129 |
|
130 |
-
#: wp-htaccess-control-ui.php:
|
131 |
msgid "Protect htaccess file"
|
132 |
msgstr "Proteger ficheiro htaccess"
|
133 |
|
134 |
-
#: wp-htaccess-control-ui.php:
|
135 |
msgid "Deny access to .htaccess file."
|
136 |
msgstr "Recusar acesso ao ficheiro htaccess."
|
137 |
|
138 |
-
#: wp-htaccess-control-ui.php:
|
139 |
msgid "mod_gzip"
|
140 |
msgstr "mod_gzip"
|
141 |
|
142 |
-
#: wp-htaccess-control-ui.php:
|
143 |
msgid "Use mod_gzip if available."
|
144 |
msgstr "Utilizar mod_gzip se disponível."
|
145 |
|
146 |
-
#: wp-htaccess-control-ui.php:
|
147 |
msgid "mod_deflate"
|
148 |
msgstr "mod_deflate"
|
149 |
|
150 |
-
#: wp-htaccess-control-ui.php:
|
151 |
msgid "Use mod_deflate if available."
|
152 |
msgstr "Utilizar mod_deflate se disponível."
|
153 |
|
154 |
-
#: wp-htaccess-control-ui.php:
|
155 |
msgid "Limit Upload Size"
|
156 |
msgstr "Limitar Tamanho de Upload"
|
157 |
|
158 |
-
#: wp-htaccess-control-ui.php:
|
159 |
msgid "If set, this value in MB will be used as limit to file uploads."
|
160 |
msgstr "Se preenchido, este valor em MB será utilizado como limite para uploads de ficheiros."
|
161 |
|
162 |
-
#: wp-htaccess-control-ui.php:
|
163 |
msgid "Admin Email"
|
164 |
msgstr "Email do Administrador"
|
165 |
|
166 |
-
#: wp-htaccess-control-ui.php:
|
167 |
msgid "If set, this will be used as the admin email on server generated error pages."
|
168 |
msgstr "Se preenchido, este valor será utilizado como email do administrador em páginas de erro geradas pelo servidor."
|
169 |
|
170 |
-
#: wp-htaccess-control-ui.php:
|
171 |
msgid "Disable hotlinking"
|
172 |
msgstr "Desactivar \"hotlinking\" (proteger imagens)"
|
173 |
|
174 |
-
#: wp-htaccess-control-ui.php:
|
175 |
msgid "If set, this url will be used as redirection to hotlinked images (you should be using an image url here). If you prefer no output on hotlinked images use \"-\"."
|
176 |
msgstr "Se preenchido, esta url será utilizada como redireccionamento para \"hotlinked\" images (deverá ser uma url de imagem). Se preferir simplesmente bloquear qualquer saída utilize \"-\"."
|
177 |
|
178 |
-
#: wp-htaccess-control-ui.php:
|
179 |
msgid "500 error"
|
180 |
msgstr "Erro 500"
|
181 |
|
182 |
-
#: wp-htaccess-control-ui.php:
|
183 |
msgid "If set, this path will be used as page to 500 errors (example: /error.php)."
|
184 |
msgstr "Se preenchido, esta localização será utilizada como página de erros 500 (exemplo: /erro.php)."
|
185 |
|
186 |
-
#: wp-htaccess-control-ui.php:
|
187 |
msgid "Canonical Url"
|
188 |
msgstr "Url Canónica"
|
189 |
|
190 |
-
#: wp-htaccess-control-ui.php:
|
191 |
msgid "Force WWW"
|
192 |
msgstr "Forçar WWW"
|
193 |
|
194 |
-
#: wp-htaccess-control-ui.php:
|
195 |
msgid "Force non-WWW"
|
196 |
msgstr "Forçar sem-WWW"
|
197 |
|
198 |
-
#: wp-htaccess-control-ui.php:
|
199 |
msgid "This will force canonization. This will be done by simply modifying the wordpress \"site url\" and \"home\" options (not htaccess)."
|
200 |
msgstr "Forçar canonização. Não utilizará htaccess mas sim as opções do Wordpress \"site url\" e \"home\"."
|
201 |
|
202 |
-
#: wp-htaccess-control-ui.php:
|
203 |
msgid "Rewrite Pairs"
|
204 |
msgstr "Pares Rewrite"
|
205 |
|
206 |
-
#: wp-htaccess-control-ui.php:
|
207 |
msgid "Add rule"
|
208 |
msgstr "Juntar regra"
|
209 |
|
210 |
-
#: wp-htaccess-control-ui.php:
|
211 |
msgid "These are rewrite pairs (RewriteRule) which Wordpress can add inside its rules."
|
212 |
msgstr "Estes pares rewrite (RewriteRule) serão adicionados às regras geradas pelo Wordpress."
|
213 |
|
214 |
-
#: wp-htaccess-control-ui.php:
|
215 |
msgid "Delete Pair"
|
216 |
msgstr "Apagar Par"
|
217 |
|
218 |
-
#: wp-htaccess-control-ui.php:
|
219 |
msgid "Reset all rules"
|
220 |
msgstr "Reiniciar todas as Regras"
|
221 |
|
222 |
-
#: wp-htaccess-control-ui.php:
|
223 |
msgid "Save all changes"
|
224 |
msgstr "Salvar todas as modificações"
|
225 |
|
226 |
-
#: wp-htaccess-control-ui.php:
|
227 |
msgid "Current htaccess file as it is generated by Wordpress"
|
228 |
msgstr "Ficheiro htaccess tal como gerado actualmente pelo Wordpress"
|
229 |
|
230 |
-
#: wp-htaccess-control-ui.php:
|
231 |
msgid "by"
|
232 |
msgstr "por"
|
233 |
|
@@ -235,15 +242,15 @@ msgstr "por"
|
|
235 |
msgid "All rules reset."
|
236 |
msgstr "Todas as regras foram reiniciadas."
|
237 |
|
238 |
-
#: wp-htaccess-control.php:
|
239 |
msgid "All options updated."
|
240 |
msgstr "As modificações foram salvas."
|
241 |
|
242 |
-
#: wp-htaccess-control.php:
|
243 |
msgid "Wordpress Rewrite pairs reset."
|
244 |
msgstr "Pares de Rewrite do Wordpress reiniciados."
|
245 |
|
246 |
-
#: wp-htaccess-control.php:
|
247 |
msgid "Wordpress Rewrite pair deleted."
|
248 |
msgstr "Par de Rewrite do Wordpress apagado."
|
249 |
|
1 |
+
# Translation of the WordPress plugin WP htaccess Control 1.6.1 by António Andrade.
|
2 |
# Copyright (C) 2010 António Andrade
|
3 |
# This file is distributed under the same license as the WP htaccess Control package.
|
4 |
+
# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
|
5 |
#
|
6 |
msgid ""
|
7 |
msgstr ""
|
8 |
+
"Project-Id-Version: WP htaccess Control 1.6.1\n"
|
9 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-htaccess-control\n"
|
10 |
+
"POT-Creation-Date: 2010-09-01 04:57+0000\n"
|
11 |
+
"PO-Revision-Date: 2010-09-01 06:01-0000\n"
|
12 |
"Last-Translator: António Andrade <dardna@dardna.com>\n"
|
13 |
+
"Language-Team: \n"
|
14 |
"MIME-Version: 1.0\n"
|
15 |
"Content-Type: text/plain; charset=UTF-8\n"
|
16 |
"Content-Transfer-Encoding: 8bit\n"
|
17 |
+
|
18 |
+
#: wp-htaccess-control-ui.php:14
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
msgid "Please log in as admin"
|
20 |
msgstr "Por favor ligue-se como administrador"
|
21 |
|
22 |
+
#: wp-htaccess-control-ui.php:25
|
23 |
msgid "Custom Author Permalink"
|
24 |
msgstr "Personalização de Permalink para Autores "
|
25 |
|
26 |
+
#: wp-htaccess-control-ui.php:29
|
27 |
msgid "Author Base"
|
28 |
msgstr "Base de Permalink para Autores"
|
29 |
|
30 |
+
#: wp-htaccess-control-ui.php:32
|
31 |
+
#: wp-htaccess-control-ui.php:64
|
32 |
msgid "(your-base)"
|
33 |
msgstr "(a-sua-base)"
|
34 |
|
35 |
+
#: wp-htaccess-control-ui.php:35
|
36 |
+
#: wp-htaccess-control-ui.php:67
|
37 |
msgid "Permalink settings must be set and not Default (/?p=123)."
|
38 |
msgstr "As Definições de Permalinks devem estar configuradas e não Predefenidas (/?p=123)."
|
39 |
|
40 |
+
#: wp-htaccess-control-ui.php:36
|
41 |
msgid "If set, the author base will be used as shown next to the form field."
|
42 |
msgstr "Se preenchida, esta base de autor será usada como demonstrado."
|
43 |
|
44 |
+
#: wp-htaccess-control-ui.php:37
|
45 |
msgid "If you do not want to use a custom Author Permalink base just leave the field empty."
|
46 |
msgstr "Se não deseja utilizar um Base para Permalink de Autores personalizada deixe este campo em branco."
|
47 |
|
48 |
+
#: wp-htaccess-control-ui.php:44
|
49 |
msgid "Apply Custom Author Permalink on Generated Sitemap"
|
50 |
msgstr "Utilizar a Base de Permalink para Autores no Sitemap gerado"
|
51 |
|
52 |
+
#: wp-htaccess-control-ui.php:47
|
53 |
msgid "Leave \"Include author pages\" unchecked on Google XML Sitemap options page if using this."
|
54 |
msgstr "Não utilizar a opção \"Include author pages\" na página de opções do plugin Google XML Sitemap se utilizar este recurso."
|
55 |
|
56 |
+
#: wp-htaccess-control-ui.php:48
|
57 |
msgid "However, if you want to adjust the \"Priority\" or \"Change frequency\" you should do so on the <a href=\"options-general.php?page=google-sitemap-generator/sitemap.php\">Google XML Sitemap options page</a>."
|
58 |
msgstr "No entanto, se desejar ajustar a \"Priority\" ou \"Change frequency\" deve fazê-lo na <a href=\"options-general.php?page=google-sitemap-generator/sitemap.php\">página de opções do Google XML Sitemap</a>."
|
59 |
|
60 |
+
#: wp-htaccess-control-ui.php:57
|
61 |
msgid "Custom Pagination Permalink"
|
62 |
msgstr "Personalização do Permalink para Paginação"
|
63 |
|
64 |
+
#: wp-htaccess-control-ui.php:61
|
65 |
msgid "Page Base"
|
66 |
msgstr "Base de Permalink de Paginação"
|
67 |
|
68 |
+
#: wp-htaccess-control-ui.php:68
|
69 |
msgid "If set, the page base will be used as shown next to the form field in every post listing (category, tag, archive, etc)."
|
70 |
msgstr "Se preenchida, esta base de página será usada como demonstrado em todas as listagens de posts (categoria, tag, arquivos, etc)."
|
71 |
|
72 |
+
#: wp-htaccess-control-ui.php:69
|
73 |
msgid "If you do not want to use a custom Pagination Permalink base just leave the field empty."
|
74 |
msgstr "Se não deseja utilizar um Base de Permalink para Páginas personalizada deixe este campo em branco."
|
75 |
|
76 |
+
#: wp-htaccess-control-ui.php:77
|
77 |
msgid "Custom htaccess"
|
78 |
msgstr "htaccess Personalizado"
|
79 |
|
80 |
+
#: wp-htaccess-control-ui.php:85
|
81 |
msgid "This rules will be printed before any Wordpress rules."
|
82 |
msgstr "Estas regras serão impressas antes das regras do Wordpress."
|
83 |
|
84 |
+
#: wp-htaccess-control-ui.php:86
|
85 |
+
#: wp-htaccess-control-ui.php:106
|
86 |
msgid "Please double check them before saving as a mistake could make your site unaccessable."
|
87 |
msgstr "Por favor reveja as suas regras antes de as salvar pois qualquer erro poder tornar o seu site inacessivel."
|
88 |
|
89 |
+
#: wp-htaccess-control-ui.php:94
|
90 |
+
msgid "Wordpress htaccess"
|
91 |
+
msgstr "htaccess do Wordpress"
|
|
|
|
|
|
|
|
|
92 |
|
93 |
#: wp-htaccess-control-ui.php:100
|
94 |
+
msgid "Leave empty for default."
|
95 |
+
msgstr "Deixe em branco para manter as regras por defeito."
|
96 |
+
|
97 |
+
#: wp-htaccess-control-ui.php:102
|
98 |
+
msgid "<strong>Use <a href='http://www.webmasterworld.com/apache/4053973.htm'>Jim Morgan's wordpress htaccess</a></strong> (has been reported to \"speed up your WP mod_rewrite code by a factor of more than two\")"
|
99 |
+
msgstr "<strong>Utilizar <a href='http://www.webmasterworld.com/apache/4053973.htm'>o htaccess para wordpress de Jim Morgan</a></strong> (pode \"acelerar o mod_rewrite do wordpress por mais de duas vezes\")"
|
100 |
+
|
101 |
+
#: wp-htaccess-control-ui.php:105
|
102 |
+
msgid "This rules will be printed instead of Wordpress rules."
|
103 |
+
msgstr "Estas regras serão impressas em vez das regras do Wordpress."
|
104 |
+
|
105 |
+
#: wp-htaccess-control-ui.php:107
|
106 |
+
msgid "Original rules:"
|
107 |
+
msgstr "Regras originais:"
|
108 |
|
109 |
+
#: wp-htaccess-control-ui.php:118
|
110 |
+
msgid "htaccess Suggestions"
|
111 |
+
msgstr "Sugestões de htaccess"
|
112 |
+
|
113 |
+
#: wp-htaccess-control-ui.php:122
|
114 |
msgid "ServerSignature"
|
115 |
msgstr "ServerSignature"
|
116 |
|
117 |
+
#: wp-htaccess-control-ui.php:126
|
118 |
msgid "Disable the ServerSignature on server generated error pages."
|
119 |
msgstr "Desactivar a assinatura do servidor (ServerSignature) em páginas de erro geradas pelo mesmo."
|
120 |
|
121 |
+
#: wp-htaccess-control-ui.php:129
|
122 |
msgid "Indexes"
|
123 |
msgstr "Índices"
|
124 |
|
125 |
+
#: wp-htaccess-control-ui.php:133
|
126 |
msgid "Disable directory browsing."
|
127 |
msgstr "Desactivar a navegação de directórios via browser."
|
128 |
|
129 |
+
#: wp-htaccess-control-ui.php:136
|
130 |
msgid "Protect wp-config.php file"
|
131 |
msgstr "Proteger ficheiro wp-config.php"
|
132 |
|
133 |
+
#: wp-htaccess-control-ui.php:140
|
134 |
msgid "Deny access to wp-config.php file."
|
135 |
msgstr "Recusar acesso ao ficheiro wp-config.php."
|
136 |
|
137 |
+
#: wp-htaccess-control-ui.php:143
|
138 |
msgid "Protect htaccess file"
|
139 |
msgstr "Proteger ficheiro htaccess"
|
140 |
|
141 |
+
#: wp-htaccess-control-ui.php:147
|
142 |
msgid "Deny access to .htaccess file."
|
143 |
msgstr "Recusar acesso ao ficheiro htaccess."
|
144 |
|
145 |
+
#: wp-htaccess-control-ui.php:150
|
146 |
msgid "mod_gzip"
|
147 |
msgstr "mod_gzip"
|
148 |
|
149 |
+
#: wp-htaccess-control-ui.php:154
|
150 |
msgid "Use mod_gzip if available."
|
151 |
msgstr "Utilizar mod_gzip se disponível."
|
152 |
|
153 |
+
#: wp-htaccess-control-ui.php:157
|
154 |
msgid "mod_deflate"
|
155 |
msgstr "mod_deflate"
|
156 |
|
157 |
+
#: wp-htaccess-control-ui.php:161
|
158 |
msgid "Use mod_deflate if available."
|
159 |
msgstr "Utilizar mod_deflate se disponível."
|
160 |
|
161 |
+
#: wp-htaccess-control-ui.php:166
|
162 |
msgid "Limit Upload Size"
|
163 |
msgstr "Limitar Tamanho de Upload"
|
164 |
|
165 |
+
#: wp-htaccess-control-ui.php:170
|
166 |
msgid "If set, this value in MB will be used as limit to file uploads."
|
167 |
msgstr "Se preenchido, este valor em MB será utilizado como limite para uploads de ficheiros."
|
168 |
|
169 |
+
#: wp-htaccess-control-ui.php:173
|
170 |
msgid "Admin Email"
|
171 |
msgstr "Email do Administrador"
|
172 |
|
173 |
+
#: wp-htaccess-control-ui.php:177
|
174 |
msgid "If set, this will be used as the admin email on server generated error pages."
|
175 |
msgstr "Se preenchido, este valor será utilizado como email do administrador em páginas de erro geradas pelo servidor."
|
176 |
|
177 |
+
#: wp-htaccess-control-ui.php:180
|
178 |
msgid "Disable hotlinking"
|
179 |
msgstr "Desactivar \"hotlinking\" (proteger imagens)"
|
180 |
|
181 |
+
#: wp-htaccess-control-ui.php:184
|
182 |
msgid "If set, this url will be used as redirection to hotlinked images (you should be using an image url here). If you prefer no output on hotlinked images use \"-\"."
|
183 |
msgstr "Se preenchido, esta url será utilizada como redireccionamento para \"hotlinked\" images (deverá ser uma url de imagem). Se preferir simplesmente bloquear qualquer saída utilize \"-\"."
|
184 |
|
185 |
+
#: wp-htaccess-control-ui.php:187
|
186 |
msgid "500 error"
|
187 |
msgstr "Erro 500"
|
188 |
|
189 |
+
#: wp-htaccess-control-ui.php:191
|
190 |
msgid "If set, this path will be used as page to 500 errors (example: /error.php)."
|
191 |
msgstr "Se preenchido, esta localização será utilizada como página de erros 500 (exemplo: /erro.php)."
|
192 |
|
193 |
+
#: wp-htaccess-control-ui.php:194
|
194 |
msgid "Canonical Url"
|
195 |
msgstr "Url Canónica"
|
196 |
|
197 |
+
#: wp-htaccess-control-ui.php:198
|
198 |
msgid "Force WWW"
|
199 |
msgstr "Forçar WWW"
|
200 |
|
201 |
+
#: wp-htaccess-control-ui.php:199
|
202 |
msgid "Force non-WWW"
|
203 |
msgstr "Forçar sem-WWW"
|
204 |
|
205 |
+
#: wp-htaccess-control-ui.php:202
|
206 |
msgid "This will force canonization. This will be done by simply modifying the wordpress \"site url\" and \"home\" options (not htaccess)."
|
207 |
msgstr "Forçar canonização. Não utilizará htaccess mas sim as opções do Wordpress \"site url\" e \"home\"."
|
208 |
|
209 |
+
#: wp-htaccess-control-ui.php:209
|
210 |
msgid "Rewrite Pairs"
|
211 |
msgstr "Pares Rewrite"
|
212 |
|
213 |
+
#: wp-htaccess-control-ui.php:214
|
214 |
msgid "Add rule"
|
215 |
msgstr "Juntar regra"
|
216 |
|
217 |
+
#: wp-htaccess-control-ui.php:215
|
218 |
msgid "These are rewrite pairs (RewriteRule) which Wordpress can add inside its rules."
|
219 |
msgstr "Estes pares rewrite (RewriteRule) serão adicionados às regras geradas pelo Wordpress."
|
220 |
|
221 |
+
#: wp-htaccess-control-ui.php:223
|
222 |
msgid "Delete Pair"
|
223 |
msgstr "Apagar Par"
|
224 |
|
225 |
+
#: wp-htaccess-control-ui.php:231
|
226 |
msgid "Reset all rules"
|
227 |
msgstr "Reiniciar todas as Regras"
|
228 |
|
229 |
+
#: wp-htaccess-control-ui.php:232
|
230 |
msgid "Save all changes"
|
231 |
msgstr "Salvar todas as modificações"
|
232 |
|
233 |
+
#: wp-htaccess-control-ui.php:238
|
234 |
msgid "Current htaccess file as it is generated by Wordpress"
|
235 |
msgstr "Ficheiro htaccess tal como gerado actualmente pelo Wordpress"
|
236 |
|
237 |
+
#: wp-htaccess-control-ui.php:246
|
238 |
msgid "by"
|
239 |
msgstr "por"
|
240 |
|
242 |
msgid "All rules reset."
|
243 |
msgstr "Todas as regras foram reiniciadas."
|
244 |
|
245 |
+
#: wp-htaccess-control.php:361
|
246 |
msgid "All options updated."
|
247 |
msgstr "As modificações foram salvas."
|
248 |
|
249 |
+
#: wp-htaccess-control.php:369
|
250 |
msgid "Wordpress Rewrite pairs reset."
|
251 |
msgstr "Pares de Rewrite do Wordpress reiniciados."
|
252 |
|
253 |
+
#: wp-htaccess-control.php:375
|
254 |
msgid "Wordpress Rewrite pair deleted."
|
255 |
msgstr "Par de Rewrite do Wordpress apagado."
|
256 |
|
lang/wp-htaccess-control-pt_PT.mo
CHANGED
Binary file
|
lang/wp-htaccess-control-pt_PT.po
CHANGED
@@ -1,233 +1,240 @@
|
|
1 |
-
# Translation of the WordPress plugin WP htaccess Control 1.6 by António Andrade.
|
2 |
# Copyright (C) 2010 António Andrade
|
3 |
# This file is distributed under the same license as the WP htaccess Control package.
|
4 |
-
#
|
5 |
#
|
6 |
msgid ""
|
7 |
msgstr ""
|
8 |
-
"Project-Id-Version:
|
9 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-htaccess-control\n"
|
10 |
-
"POT-Creation-Date: 2010-
|
11 |
-
"PO-Revision-Date: 2010-
|
12 |
"Last-Translator: António Andrade <dardna@dardna.com>\n"
|
13 |
-
"Language-Team:
|
14 |
"MIME-Version: 1.0\n"
|
15 |
"Content-Type: text/plain; charset=UTF-8\n"
|
16 |
"Content-Transfer-Encoding: 8bit\n"
|
17 |
-
|
18 |
-
|
19 |
-
"X-Poedit-SourceCharset: utf-8\n"
|
20 |
-
"X-Poedit-KeywordsList: _e\n"
|
21 |
-
"X-Poedit-Basepath: .\n"
|
22 |
-
"X-Poedit-SearchPath-0: E:\\#Werk\\_soft\\xampp\\htdocs\\wp0\\wp-content\\plugins\\wp-htaccess-control\n"
|
23 |
-
|
24 |
-
#: wp-htaccess-control-ui.php:13
|
25 |
msgid "Please log in as admin"
|
26 |
msgstr "Por favor ligue-se como administrador"
|
27 |
|
28 |
-
#: wp-htaccess-control-ui.php:
|
29 |
msgid "Custom Author Permalink"
|
30 |
msgstr "Personalização de Permalink para Autores "
|
31 |
|
32 |
-
#: wp-htaccess-control-ui.php:
|
33 |
msgid "Author Base"
|
34 |
msgstr "Base de Permalink para Autores"
|
35 |
|
36 |
-
#: wp-htaccess-control-ui.php:
|
37 |
-
#: wp-htaccess-control-ui.php:
|
38 |
msgid "(your-base)"
|
39 |
msgstr "(a-sua-base)"
|
40 |
|
41 |
-
#: wp-htaccess-control-ui.php:
|
42 |
-
#: wp-htaccess-control-ui.php:
|
43 |
msgid "Permalink settings must be set and not Default (/?p=123)."
|
44 |
msgstr "As Definições de Permalinks devem estar configuradas e não Predefenidas (/?p=123)."
|
45 |
|
46 |
-
#: wp-htaccess-control-ui.php:
|
47 |
msgid "If set, the author base will be used as shown next to the form field."
|
48 |
msgstr "Se preenchida, esta base de autor será usada como demonstrado."
|
49 |
|
50 |
-
#: wp-htaccess-control-ui.php:
|
51 |
msgid "If you do not want to use a custom Author Permalink base just leave the field empty."
|
52 |
msgstr "Se não deseja utilizar um Base para Permalink de Autores personalizada deixe este campo em branco."
|
53 |
|
54 |
-
#: wp-htaccess-control-ui.php:
|
55 |
msgid "Apply Custom Author Permalink on Generated Sitemap"
|
56 |
msgstr "Utilizar a Base de Permalink para Autores no Sitemap gerado"
|
57 |
|
58 |
-
#: wp-htaccess-control-ui.php:
|
59 |
msgid "Leave \"Include author pages\" unchecked on Google XML Sitemap options page if using this."
|
60 |
msgstr "Não utilizar a opção \"Include author pages\" na página de opções do plugin Google XML Sitemap se utilizar este recurso."
|
61 |
|
62 |
-
#: wp-htaccess-control-ui.php:
|
63 |
msgid "However, if you want to adjust the \"Priority\" or \"Change frequency\" you should do so on the <a href=\"options-general.php?page=google-sitemap-generator/sitemap.php\">Google XML Sitemap options page</a>."
|
64 |
msgstr "No entanto, se desejar ajustar a \"Priority\" ou \"Change frequency\" deve fazê-lo na <a href=\"options-general.php?page=google-sitemap-generator/sitemap.php\">página de opções do Google XML Sitemap</a>."
|
65 |
|
66 |
-
#: wp-htaccess-control-ui.php:
|
67 |
msgid "Custom Pagination Permalink"
|
68 |
msgstr "Personalização do Permalink para Paginação"
|
69 |
|
70 |
-
#: wp-htaccess-control-ui.php:
|
71 |
msgid "Page Base"
|
72 |
msgstr "Base de Permalink de Paginação"
|
73 |
|
74 |
-
#: wp-htaccess-control-ui.php:
|
75 |
msgid "If set, the page base will be used as shown next to the form field in every post listing (category, tag, archive, etc)."
|
76 |
msgstr "Se preenchida, esta base de página será usada como demonstrado em todas as listagens de posts (categoria, tag, arquivos, etc)."
|
77 |
|
78 |
-
#: wp-htaccess-control-ui.php:
|
79 |
msgid "If you do not want to use a custom Pagination Permalink base just leave the field empty."
|
80 |
msgstr "Se não deseja utilizar um Base de Permalink para Páginas personalizada deixe este campo em branco."
|
81 |
|
82 |
-
#: wp-htaccess-control-ui.php:
|
83 |
msgid "Custom htaccess"
|
84 |
msgstr "htaccess Personalizado"
|
85 |
|
86 |
-
#: wp-htaccess-control-ui.php:
|
87 |
msgid "This rules will be printed before any Wordpress rules."
|
88 |
msgstr "Estas regras serão impressas antes das regras do Wordpress."
|
89 |
|
90 |
-
#: wp-htaccess-control-ui.php:
|
|
|
91 |
msgid "Please double check them before saving as a mistake could make your site unaccessable."
|
92 |
msgstr "Por favor reveja as suas regras antes de as salvar pois qualquer erro poder tornar o seu site inacessivel."
|
93 |
|
94 |
-
#: wp-htaccess-control-ui.php:
|
95 |
-
msgid "htaccess
|
96 |
-
msgstr "
|
97 |
-
|
98 |
-
#: wp-htaccess-control-ui.php:96
|
99 |
-
msgid "Jim Morgan's htaccess"
|
100 |
-
msgstr "Proteger ficheiro htaccess"
|
101 |
|
102 |
#: wp-htaccess-control-ui.php:100
|
103 |
-
msgid "
|
104 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
|
106 |
-
#: wp-htaccess-control-ui.php:
|
|
|
|
|
|
|
|
|
107 |
msgid "ServerSignature"
|
108 |
msgstr "ServerSignature"
|
109 |
|
110 |
-
#: wp-htaccess-control-ui.php:
|
111 |
msgid "Disable the ServerSignature on server generated error pages."
|
112 |
msgstr "Desactivar a assinatura do servidor (ServerSignature) em páginas de erro geradas pelo mesmo."
|
113 |
|
114 |
-
#: wp-htaccess-control-ui.php:
|
115 |
msgid "Indexes"
|
116 |
msgstr "Índices"
|
117 |
|
118 |
-
#: wp-htaccess-control-ui.php:
|
119 |
msgid "Disable directory browsing."
|
120 |
msgstr "Desactivar a navegação de directórios via browser."
|
121 |
|
122 |
-
#: wp-htaccess-control-ui.php:
|
123 |
msgid "Protect wp-config.php file"
|
124 |
msgstr "Proteger ficheiro wp-config.php"
|
125 |
|
126 |
-
#: wp-htaccess-control-ui.php:
|
127 |
msgid "Deny access to wp-config.php file."
|
128 |
msgstr "Recusar acesso ao ficheiro wp-config.php."
|
129 |
|
130 |
-
#: wp-htaccess-control-ui.php:
|
131 |
msgid "Protect htaccess file"
|
132 |
msgstr "Proteger ficheiro htaccess"
|
133 |
|
134 |
-
#: wp-htaccess-control-ui.php:
|
135 |
msgid "Deny access to .htaccess file."
|
136 |
msgstr "Recusar acesso ao ficheiro htaccess."
|
137 |
|
138 |
-
#: wp-htaccess-control-ui.php:
|
139 |
msgid "mod_gzip"
|
140 |
msgstr "mod_gzip"
|
141 |
|
142 |
-
#: wp-htaccess-control-ui.php:
|
143 |
msgid "Use mod_gzip if available."
|
144 |
msgstr "Utilizar mod_gzip se disponível."
|
145 |
|
146 |
-
#: wp-htaccess-control-ui.php:
|
147 |
msgid "mod_deflate"
|
148 |
msgstr "mod_deflate"
|
149 |
|
150 |
-
#: wp-htaccess-control-ui.php:
|
151 |
msgid "Use mod_deflate if available."
|
152 |
msgstr "Utilizar mod_deflate se disponível."
|
153 |
|
154 |
-
#: wp-htaccess-control-ui.php:
|
155 |
msgid "Limit Upload Size"
|
156 |
msgstr "Limitar Tamanho de Upload"
|
157 |
|
158 |
-
#: wp-htaccess-control-ui.php:
|
159 |
msgid "If set, this value in MB will be used as limit to file uploads."
|
160 |
msgstr "Se preenchido, este valor em MB será utilizado como limite para uploads de ficheiros."
|
161 |
|
162 |
-
#: wp-htaccess-control-ui.php:
|
163 |
msgid "Admin Email"
|
164 |
msgstr "Email do Administrador"
|
165 |
|
166 |
-
#: wp-htaccess-control-ui.php:
|
167 |
msgid "If set, this will be used as the admin email on server generated error pages."
|
168 |
msgstr "Se preenchido, este valor será utilizado como email do administrador em páginas de erro geradas pelo servidor."
|
169 |
|
170 |
-
#: wp-htaccess-control-ui.php:
|
171 |
msgid "Disable hotlinking"
|
172 |
msgstr "Desactivar \"hotlinking\" (proteger imagens)"
|
173 |
|
174 |
-
#: wp-htaccess-control-ui.php:
|
175 |
msgid "If set, this url will be used as redirection to hotlinked images (you should be using an image url here). If you prefer no output on hotlinked images use \"-\"."
|
176 |
msgstr "Se preenchido, esta url será utilizada como redireccionamento para \"hotlinked\" images (deverá ser uma url de imagem). Se preferir simplesmente bloquear qualquer saída utilize \"-\"."
|
177 |
|
178 |
-
#: wp-htaccess-control-ui.php:
|
179 |
msgid "500 error"
|
180 |
msgstr "Erro 500"
|
181 |
|
182 |
-
#: wp-htaccess-control-ui.php:
|
183 |
msgid "If set, this path will be used as page to 500 errors (example: /error.php)."
|
184 |
msgstr "Se preenchido, esta localização será utilizada como página de erros 500 (exemplo: /erro.php)."
|
185 |
|
186 |
-
#: wp-htaccess-control-ui.php:
|
187 |
msgid "Canonical Url"
|
188 |
msgstr "Url Canónica"
|
189 |
|
190 |
-
#: wp-htaccess-control-ui.php:
|
191 |
msgid "Force WWW"
|
192 |
msgstr "Forçar WWW"
|
193 |
|
194 |
-
#: wp-htaccess-control-ui.php:
|
195 |
msgid "Force non-WWW"
|
196 |
msgstr "Forçar sem-WWW"
|
197 |
|
198 |
-
#: wp-htaccess-control-ui.php:
|
199 |
msgid "This will force canonization. This will be done by simply modifying the wordpress \"site url\" and \"home\" options (not htaccess)."
|
200 |
msgstr "Forçar canonização. Não utilizará htaccess mas sim as opções do Wordpress \"site url\" e \"home\"."
|
201 |
|
202 |
-
#: wp-htaccess-control-ui.php:
|
203 |
msgid "Rewrite Pairs"
|
204 |
msgstr "Pares Rewrite"
|
205 |
|
206 |
-
#: wp-htaccess-control-ui.php:
|
207 |
msgid "Add rule"
|
208 |
msgstr "Juntar regra"
|
209 |
|
210 |
-
#: wp-htaccess-control-ui.php:
|
211 |
msgid "These are rewrite pairs (RewriteRule) which Wordpress can add inside its rules."
|
212 |
msgstr "Estes pares rewrite (RewriteRule) serão adicionados às regras geradas pelo Wordpress."
|
213 |
|
214 |
-
#: wp-htaccess-control-ui.php:
|
215 |
msgid "Delete Pair"
|
216 |
msgstr "Apagar Par"
|
217 |
|
218 |
-
#: wp-htaccess-control-ui.php:
|
219 |
msgid "Reset all rules"
|
220 |
msgstr "Reiniciar todas as Regras"
|
221 |
|
222 |
-
#: wp-htaccess-control-ui.php:
|
223 |
msgid "Save all changes"
|
224 |
msgstr "Salvar todas as modificações"
|
225 |
|
226 |
-
#: wp-htaccess-control-ui.php:
|
227 |
msgid "Current htaccess file as it is generated by Wordpress"
|
228 |
msgstr "Ficheiro htaccess tal como gerado actualmente pelo Wordpress"
|
229 |
|
230 |
-
#: wp-htaccess-control-ui.php:
|
231 |
msgid "by"
|
232 |
msgstr "por"
|
233 |
|
@@ -235,15 +242,15 @@ msgstr "por"
|
|
235 |
msgid "All rules reset."
|
236 |
msgstr "Todas as regras foram reiniciadas."
|
237 |
|
238 |
-
#: wp-htaccess-control.php:
|
239 |
msgid "All options updated."
|
240 |
msgstr "As modificações foram salvas."
|
241 |
|
242 |
-
#: wp-htaccess-control.php:
|
243 |
msgid "Wordpress Rewrite pairs reset."
|
244 |
msgstr "Pares de Rewrite do Wordpress reiniciados."
|
245 |
|
246 |
-
#: wp-htaccess-control.php:
|
247 |
msgid "Wordpress Rewrite pair deleted."
|
248 |
msgstr "Par de Rewrite do Wordpress apagado."
|
249 |
|
1 |
+
# Translation of the WordPress plugin WP htaccess Control 1.6.1 by António Andrade.
|
2 |
# Copyright (C) 2010 António Andrade
|
3 |
# This file is distributed under the same license as the WP htaccess Control package.
|
4 |
+
# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
|
5 |
#
|
6 |
msgid ""
|
7 |
msgstr ""
|
8 |
+
"Project-Id-Version: WP htaccess Control 1.6.1\n"
|
9 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-htaccess-control\n"
|
10 |
+
"POT-Creation-Date: 2010-09-01 04:57+0000\n"
|
11 |
+
"PO-Revision-Date: 2010-09-01 06:01-0000\n"
|
12 |
"Last-Translator: António Andrade <dardna@dardna.com>\n"
|
13 |
+
"Language-Team: \n"
|
14 |
"MIME-Version: 1.0\n"
|
15 |
"Content-Type: text/plain; charset=UTF-8\n"
|
16 |
"Content-Transfer-Encoding: 8bit\n"
|
17 |
+
|
18 |
+
#: wp-htaccess-control-ui.php:14
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
msgid "Please log in as admin"
|
20 |
msgstr "Por favor ligue-se como administrador"
|
21 |
|
22 |
+
#: wp-htaccess-control-ui.php:25
|
23 |
msgid "Custom Author Permalink"
|
24 |
msgstr "Personalização de Permalink para Autores "
|
25 |
|
26 |
+
#: wp-htaccess-control-ui.php:29
|
27 |
msgid "Author Base"
|
28 |
msgstr "Base de Permalink para Autores"
|
29 |
|
30 |
+
#: wp-htaccess-control-ui.php:32
|
31 |
+
#: wp-htaccess-control-ui.php:64
|
32 |
msgid "(your-base)"
|
33 |
msgstr "(a-sua-base)"
|
34 |
|
35 |
+
#: wp-htaccess-control-ui.php:35
|
36 |
+
#: wp-htaccess-control-ui.php:67
|
37 |
msgid "Permalink settings must be set and not Default (/?p=123)."
|
38 |
msgstr "As Definições de Permalinks devem estar configuradas e não Predefenidas (/?p=123)."
|
39 |
|
40 |
+
#: wp-htaccess-control-ui.php:36
|
41 |
msgid "If set, the author base will be used as shown next to the form field."
|
42 |
msgstr "Se preenchida, esta base de autor será usada como demonstrado."
|
43 |
|
44 |
+
#: wp-htaccess-control-ui.php:37
|
45 |
msgid "If you do not want to use a custom Author Permalink base just leave the field empty."
|
46 |
msgstr "Se não deseja utilizar um Base para Permalink de Autores personalizada deixe este campo em branco."
|
47 |
|
48 |
+
#: wp-htaccess-control-ui.php:44
|
49 |
msgid "Apply Custom Author Permalink on Generated Sitemap"
|
50 |
msgstr "Utilizar a Base de Permalink para Autores no Sitemap gerado"
|
51 |
|
52 |
+
#: wp-htaccess-control-ui.php:47
|
53 |
msgid "Leave \"Include author pages\" unchecked on Google XML Sitemap options page if using this."
|
54 |
msgstr "Não utilizar a opção \"Include author pages\" na página de opções do plugin Google XML Sitemap se utilizar este recurso."
|
55 |
|
56 |
+
#: wp-htaccess-control-ui.php:48
|
57 |
msgid "However, if you want to adjust the \"Priority\" or \"Change frequency\" you should do so on the <a href=\"options-general.php?page=google-sitemap-generator/sitemap.php\">Google XML Sitemap options page</a>."
|
58 |
msgstr "No entanto, se desejar ajustar a \"Priority\" ou \"Change frequency\" deve fazê-lo na <a href=\"options-general.php?page=google-sitemap-generator/sitemap.php\">página de opções do Google XML Sitemap</a>."
|
59 |
|
60 |
+
#: wp-htaccess-control-ui.php:57
|
61 |
msgid "Custom Pagination Permalink"
|
62 |
msgstr "Personalização do Permalink para Paginação"
|
63 |
|
64 |
+
#: wp-htaccess-control-ui.php:61
|
65 |
msgid "Page Base"
|
66 |
msgstr "Base de Permalink de Paginação"
|
67 |
|
68 |
+
#: wp-htaccess-control-ui.php:68
|
69 |
msgid "If set, the page base will be used as shown next to the form field in every post listing (category, tag, archive, etc)."
|
70 |
msgstr "Se preenchida, esta base de página será usada como demonstrado em todas as listagens de posts (categoria, tag, arquivos, etc)."
|
71 |
|
72 |
+
#: wp-htaccess-control-ui.php:69
|
73 |
msgid "If you do not want to use a custom Pagination Permalink base just leave the field empty."
|
74 |
msgstr "Se não deseja utilizar um Base de Permalink para Páginas personalizada deixe este campo em branco."
|
75 |
|
76 |
+
#: wp-htaccess-control-ui.php:77
|
77 |
msgid "Custom htaccess"
|
78 |
msgstr "htaccess Personalizado"
|
79 |
|
80 |
+
#: wp-htaccess-control-ui.php:85
|
81 |
msgid "This rules will be printed before any Wordpress rules."
|
82 |
msgstr "Estas regras serão impressas antes das regras do Wordpress."
|
83 |
|
84 |
+
#: wp-htaccess-control-ui.php:86
|
85 |
+
#: wp-htaccess-control-ui.php:106
|
86 |
msgid "Please double check them before saving as a mistake could make your site unaccessable."
|
87 |
msgstr "Por favor reveja as suas regras antes de as salvar pois qualquer erro poder tornar o seu site inacessivel."
|
88 |
|
89 |
+
#: wp-htaccess-control-ui.php:94
|
90 |
+
msgid "Wordpress htaccess"
|
91 |
+
msgstr "htaccess do Wordpress"
|
|
|
|
|
|
|
|
|
92 |
|
93 |
#: wp-htaccess-control-ui.php:100
|
94 |
+
msgid "Leave empty for default."
|
95 |
+
msgstr "Deixe em branco para manter as regras por defeito."
|
96 |
+
|
97 |
+
#: wp-htaccess-control-ui.php:102
|
98 |
+
msgid "<strong>Use <a href='http://www.webmasterworld.com/apache/4053973.htm'>Jim Morgan's wordpress htaccess</a></strong> (has been reported to \"speed up your WP mod_rewrite code by a factor of more than two\")"
|
99 |
+
msgstr "<strong>Utilizar <a href='http://www.webmasterworld.com/apache/4053973.htm'>o htaccess para wordpress de Jim Morgan</a></strong> (pode \"acelerar o mod_rewrite do wordpress por mais de duas vezes\")"
|
100 |
+
|
101 |
+
#: wp-htaccess-control-ui.php:105
|
102 |
+
msgid "This rules will be printed instead of Wordpress rules."
|
103 |
+
msgstr "Estas regras serão impressas em vez das regras do Wordpress."
|
104 |
+
|
105 |
+
#: wp-htaccess-control-ui.php:107
|
106 |
+
msgid "Original rules:"
|
107 |
+
msgstr "Regras originais:"
|
108 |
|
109 |
+
#: wp-htaccess-control-ui.php:118
|
110 |
+
msgid "htaccess Suggestions"
|
111 |
+
msgstr "Sugestões de htaccess"
|
112 |
+
|
113 |
+
#: wp-htaccess-control-ui.php:122
|
114 |
msgid "ServerSignature"
|
115 |
msgstr "ServerSignature"
|
116 |
|
117 |
+
#: wp-htaccess-control-ui.php:126
|
118 |
msgid "Disable the ServerSignature on server generated error pages."
|
119 |
msgstr "Desactivar a assinatura do servidor (ServerSignature) em páginas de erro geradas pelo mesmo."
|
120 |
|
121 |
+
#: wp-htaccess-control-ui.php:129
|
122 |
msgid "Indexes"
|
123 |
msgstr "Índices"
|
124 |
|
125 |
+
#: wp-htaccess-control-ui.php:133
|
126 |
msgid "Disable directory browsing."
|
127 |
msgstr "Desactivar a navegação de directórios via browser."
|
128 |
|
129 |
+
#: wp-htaccess-control-ui.php:136
|
130 |
msgid "Protect wp-config.php file"
|
131 |
msgstr "Proteger ficheiro wp-config.php"
|
132 |
|
133 |
+
#: wp-htaccess-control-ui.php:140
|
134 |
msgid "Deny access to wp-config.php file."
|
135 |
msgstr "Recusar acesso ao ficheiro wp-config.php."
|
136 |
|
137 |
+
#: wp-htaccess-control-ui.php:143
|
138 |
msgid "Protect htaccess file"
|
139 |
msgstr "Proteger ficheiro htaccess"
|
140 |
|
141 |
+
#: wp-htaccess-control-ui.php:147
|
142 |
msgid "Deny access to .htaccess file."
|
143 |
msgstr "Recusar acesso ao ficheiro htaccess."
|
144 |
|
145 |
+
#: wp-htaccess-control-ui.php:150
|
146 |
msgid "mod_gzip"
|
147 |
msgstr "mod_gzip"
|
148 |
|
149 |
+
#: wp-htaccess-control-ui.php:154
|
150 |
msgid "Use mod_gzip if available."
|
151 |
msgstr "Utilizar mod_gzip se disponível."
|
152 |
|
153 |
+
#: wp-htaccess-control-ui.php:157
|
154 |
msgid "mod_deflate"
|
155 |
msgstr "mod_deflate"
|
156 |
|
157 |
+
#: wp-htaccess-control-ui.php:161
|
158 |
msgid "Use mod_deflate if available."
|
159 |
msgstr "Utilizar mod_deflate se disponível."
|
160 |
|
161 |
+
#: wp-htaccess-control-ui.php:166
|
162 |
msgid "Limit Upload Size"
|
163 |
msgstr "Limitar Tamanho de Upload"
|
164 |
|
165 |
+
#: wp-htaccess-control-ui.php:170
|
166 |
msgid "If set, this value in MB will be used as limit to file uploads."
|
167 |
msgstr "Se preenchido, este valor em MB será utilizado como limite para uploads de ficheiros."
|
168 |
|
169 |
+
#: wp-htaccess-control-ui.php:173
|
170 |
msgid "Admin Email"
|
171 |
msgstr "Email do Administrador"
|
172 |
|
173 |
+
#: wp-htaccess-control-ui.php:177
|
174 |
msgid "If set, this will be used as the admin email on server generated error pages."
|
175 |
msgstr "Se preenchido, este valor será utilizado como email do administrador em páginas de erro geradas pelo servidor."
|
176 |
|
177 |
+
#: wp-htaccess-control-ui.php:180
|
178 |
msgid "Disable hotlinking"
|
179 |
msgstr "Desactivar \"hotlinking\" (proteger imagens)"
|
180 |
|
181 |
+
#: wp-htaccess-control-ui.php:184
|
182 |
msgid "If set, this url will be used as redirection to hotlinked images (you should be using an image url here). If you prefer no output on hotlinked images use \"-\"."
|
183 |
msgstr "Se preenchido, esta url será utilizada como redireccionamento para \"hotlinked\" images (deverá ser uma url de imagem). Se preferir simplesmente bloquear qualquer saída utilize \"-\"."
|
184 |
|
185 |
+
#: wp-htaccess-control-ui.php:187
|
186 |
msgid "500 error"
|
187 |
msgstr "Erro 500"
|
188 |
|
189 |
+
#: wp-htaccess-control-ui.php:191
|
190 |
msgid "If set, this path will be used as page to 500 errors (example: /error.php)."
|
191 |
msgstr "Se preenchido, esta localização será utilizada como página de erros 500 (exemplo: /erro.php)."
|
192 |
|
193 |
+
#: wp-htaccess-control-ui.php:194
|
194 |
msgid "Canonical Url"
|
195 |
msgstr "Url Canónica"
|
196 |
|
197 |
+
#: wp-htaccess-control-ui.php:198
|
198 |
msgid "Force WWW"
|
199 |
msgstr "Forçar WWW"
|
200 |
|
201 |
+
#: wp-htaccess-control-ui.php:199
|
202 |
msgid "Force non-WWW"
|
203 |
msgstr "Forçar sem-WWW"
|
204 |
|
205 |
+
#: wp-htaccess-control-ui.php:202
|
206 |
msgid "This will force canonization. This will be done by simply modifying the wordpress \"site url\" and \"home\" options (not htaccess)."
|
207 |
msgstr "Forçar canonização. Não utilizará htaccess mas sim as opções do Wordpress \"site url\" e \"home\"."
|
208 |
|
209 |
+
#: wp-htaccess-control-ui.php:209
|
210 |
msgid "Rewrite Pairs"
|
211 |
msgstr "Pares Rewrite"
|
212 |
|
213 |
+
#: wp-htaccess-control-ui.php:214
|
214 |
msgid "Add rule"
|
215 |
msgstr "Juntar regra"
|
216 |
|
217 |
+
#: wp-htaccess-control-ui.php:215
|
218 |
msgid "These are rewrite pairs (RewriteRule) which Wordpress can add inside its rules."
|
219 |
msgstr "Estes pares rewrite (RewriteRule) serão adicionados às regras geradas pelo Wordpress."
|
220 |
|
221 |
+
#: wp-htaccess-control-ui.php:223
|
222 |
msgid "Delete Pair"
|
223 |
msgstr "Apagar Par"
|
224 |
|
225 |
+
#: wp-htaccess-control-ui.php:231
|
226 |
msgid "Reset all rules"
|
227 |
msgstr "Reiniciar todas as Regras"
|
228 |
|
229 |
+
#: wp-htaccess-control-ui.php:232
|
230 |
msgid "Save all changes"
|
231 |
msgstr "Salvar todas as modificações"
|
232 |
|
233 |
+
#: wp-htaccess-control-ui.php:238
|
234 |
msgid "Current htaccess file as it is generated by Wordpress"
|
235 |
msgstr "Ficheiro htaccess tal como gerado actualmente pelo Wordpress"
|
236 |
|
237 |
+
#: wp-htaccess-control-ui.php:246
|
238 |
msgid "by"
|
239 |
msgstr "por"
|
240 |
|
242 |
msgid "All rules reset."
|
243 |
msgstr "Todas as regras foram reiniciadas."
|
244 |
|
245 |
+
#: wp-htaccess-control.php:361
|
246 |
msgid "All options updated."
|
247 |
msgstr "As modificações foram salvas."
|
248 |
|
249 |
+
#: wp-htaccess-control.php:369
|
250 |
msgid "Wordpress Rewrite pairs reset."
|
251 |
msgstr "Pares de Rewrite do Wordpress reiniciados."
|
252 |
|
253 |
+
#: wp-htaccess-control.php:375
|
254 |
msgid "Wordpress Rewrite pair deleted."
|
255 |
msgstr "Par de Rewrite do Wordpress apagado."
|
256 |
|
lang/wp-htaccess-control.pot
CHANGED
@@ -1,14 +1,14 @@
|
|
1 |
-
# Translation of the WordPress plugin WP htaccess Control 1.6 by António Andrade.
|
2 |
# Copyright (C) 2010 António Andrade
|
3 |
# This file is distributed under the same license as the WP htaccess Control package.
|
4 |
-
#
|
5 |
#
|
6 |
#, fuzzy
|
7 |
msgid ""
|
8 |
msgstr ""
|
9 |
-
"Project-Id-Version: WP htaccess Control 1.6\n"
|
10 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-htaccess-control\n"
|
11 |
-
"POT-Creation-Date: 2010-
|
12 |
"PO-Revision-Date: 2010-MO-DA HO:MI+ZONE\n"
|
13 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
@@ -16,236 +16,248 @@ msgstr ""
|
|
16 |
"Content-Type: text/plain; charset=utf-8\n"
|
17 |
"Content-Transfer-Encoding: 8bit\n"
|
18 |
|
19 |
-
#: wp-htaccess-control-ui.php:
|
20 |
msgid "Please log in as admin"
|
21 |
msgstr ""
|
22 |
|
23 |
-
#: wp-htaccess-control-ui.php:
|
24 |
msgid "Custom Author Permalink"
|
25 |
msgstr ""
|
26 |
|
27 |
-
#: wp-htaccess-control-ui.php:
|
28 |
msgid "Author Base"
|
29 |
msgstr ""
|
30 |
|
31 |
-
#: wp-htaccess-control-ui.php:
|
32 |
msgid "(your-base)"
|
33 |
msgstr ""
|
34 |
|
35 |
-
#: wp-htaccess-control-ui.php:
|
36 |
msgid "Permalink settings must be set and not Default (/?p=123)."
|
37 |
msgstr ""
|
38 |
|
39 |
-
#: wp-htaccess-control-ui.php:
|
40 |
msgid "If set, the author base will be used as shown next to the form field."
|
41 |
msgstr ""
|
42 |
|
43 |
-
#: wp-htaccess-control-ui.php:
|
44 |
msgid ""
|
45 |
"If you do not want to use a custom Author Permalink base just leave the "
|
46 |
"field empty."
|
47 |
msgstr ""
|
48 |
|
49 |
-
#: wp-htaccess-control-ui.php:
|
50 |
msgid "Apply Custom Author Permalink on Generated Sitemap"
|
51 |
msgstr ""
|
52 |
|
53 |
-
#: wp-htaccess-control-ui.php:
|
54 |
msgid ""
|
55 |
"Leave \"Include author pages\" unchecked on Google XML Sitemap options page "
|
56 |
"if using this."
|
57 |
msgstr ""
|
58 |
|
59 |
-
#: wp-htaccess-control-ui.php:
|
60 |
msgid ""
|
61 |
"However, if you want to adjust the \"Priority\" or \"Change frequency\" you "
|
62 |
"should do so on the <a href=\"options-general.php?page=google-sitemap-"
|
63 |
"generator/sitemap.php\">Google XML Sitemap options page</a>."
|
64 |
msgstr ""
|
65 |
|
66 |
-
#: wp-htaccess-control-ui.php:
|
67 |
msgid "Custom Pagination Permalink"
|
68 |
msgstr ""
|
69 |
|
70 |
-
#: wp-htaccess-control-ui.php:
|
71 |
msgid "Page Base"
|
72 |
msgstr ""
|
73 |
|
74 |
-
#: wp-htaccess-control-ui.php:
|
75 |
msgid ""
|
76 |
"If set, the page base will be used as shown next to the form field in every "
|
77 |
"post listing (category, tag, archive, etc)."
|
78 |
msgstr ""
|
79 |
|
80 |
-
#: wp-htaccess-control-ui.php:
|
81 |
msgid ""
|
82 |
"If you do not want to use a custom Pagination Permalink base just leave the "
|
83 |
"field empty."
|
84 |
msgstr ""
|
85 |
|
86 |
-
#: wp-htaccess-control-ui.php:
|
87 |
msgid "Custom htaccess"
|
88 |
msgstr ""
|
89 |
|
90 |
-
#: wp-htaccess-control-ui.php:
|
91 |
msgid "This rules will be printed before any Wordpress rules."
|
92 |
msgstr ""
|
93 |
|
94 |
-
#: wp-htaccess-control-ui.php:
|
95 |
msgid ""
|
96 |
"Please double check them before saving as a mistake could make your site "
|
97 |
"unaccessable."
|
98 |
msgstr ""
|
99 |
|
100 |
-
#: wp-htaccess-control-ui.php:
|
101 |
-
msgid "htaccess
|
102 |
msgstr ""
|
103 |
|
104 |
-
#: wp-htaccess-control-ui.php:
|
105 |
-
msgid "
|
106 |
msgstr ""
|
107 |
|
108 |
-
#: wp-htaccess-control-ui.php:
|
109 |
msgid ""
|
110 |
-
"
|
111 |
-
"Morgan's wordpress htaccess</a> has been reported to \"speed up
|
112 |
-
"mod_rewrite code by a factor of more than two\"
|
113 |
msgstr ""
|
114 |
|
115 |
-
#: wp-htaccess-control-ui.php:
|
116 |
-
msgid "
|
117 |
msgstr ""
|
118 |
|
119 |
#: wp-htaccess-control-ui.php:107
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
120 |
msgid "Disable the ServerSignature on server generated error pages."
|
121 |
msgstr ""
|
122 |
|
123 |
-
#: wp-htaccess-control-ui.php:
|
124 |
msgid "Indexes"
|
125 |
msgstr ""
|
126 |
|
127 |
-
#: wp-htaccess-control-ui.php:
|
128 |
msgid "Disable directory browsing."
|
129 |
msgstr ""
|
130 |
|
131 |
-
#: wp-htaccess-control-ui.php:
|
132 |
msgid "Protect wp-config.php file"
|
133 |
msgstr ""
|
134 |
|
135 |
-
#: wp-htaccess-control-ui.php:
|
136 |
msgid "Deny access to wp-config.php file."
|
137 |
msgstr ""
|
138 |
|
139 |
-
#: wp-htaccess-control-ui.php:
|
140 |
msgid "Protect htaccess file"
|
141 |
msgstr ""
|
142 |
|
143 |
-
#: wp-htaccess-control-ui.php:
|
144 |
msgid "Deny access to .htaccess file."
|
145 |
msgstr ""
|
146 |
|
147 |
-
#: wp-htaccess-control-ui.php:
|
148 |
msgid "mod_gzip"
|
149 |
msgstr ""
|
150 |
|
151 |
-
#: wp-htaccess-control-ui.php:
|
152 |
msgid "Use mod_gzip if available."
|
153 |
msgstr ""
|
154 |
|
155 |
-
#: wp-htaccess-control-ui.php:
|
156 |
msgid "mod_deflate"
|
157 |
msgstr ""
|
158 |
|
159 |
-
#: wp-htaccess-control-ui.php:
|
160 |
msgid "Use mod_deflate if available."
|
161 |
msgstr ""
|
162 |
|
163 |
-
#: wp-htaccess-control-ui.php:
|
164 |
msgid "Limit Upload Size"
|
165 |
msgstr ""
|
166 |
|
167 |
-
#: wp-htaccess-control-ui.php:
|
168 |
msgid "If set, this value in MB will be used as limit to file uploads."
|
169 |
msgstr ""
|
170 |
|
171 |
-
#: wp-htaccess-control-ui.php:
|
172 |
msgid "Admin Email"
|
173 |
msgstr ""
|
174 |
|
175 |
-
#: wp-htaccess-control-ui.php:
|
176 |
msgid ""
|
177 |
"If set, this will be used as the admin email on server generated error pages."
|
178 |
msgstr ""
|
179 |
|
180 |
-
#: wp-htaccess-control-ui.php:
|
181 |
msgid "Disable hotlinking"
|
182 |
msgstr ""
|
183 |
|
184 |
-
#: wp-htaccess-control-ui.php:
|
185 |
msgid ""
|
186 |
"If set, this url will be used as redirection to hotlinked images (you should "
|
187 |
"be using an image url here). If you prefer no output on hotlinked images use "
|
188 |
"\"-\"."
|
189 |
msgstr ""
|
190 |
|
191 |
-
#: wp-htaccess-control-ui.php:
|
192 |
msgid "500 error"
|
193 |
msgstr ""
|
194 |
|
195 |
-
#: wp-htaccess-control-ui.php:
|
196 |
msgid ""
|
197 |
"If set, this path will be used as page to 500 errors (example: /error.php)."
|
198 |
msgstr ""
|
199 |
|
200 |
-
#: wp-htaccess-control-ui.php:
|
201 |
msgid "Canonical Url"
|
202 |
msgstr ""
|
203 |
|
204 |
-
#: wp-htaccess-control-ui.php:
|
205 |
msgid "Force WWW"
|
206 |
msgstr ""
|
207 |
|
208 |
-
#: wp-htaccess-control-ui.php:
|
209 |
msgid "Force non-WWW"
|
210 |
msgstr ""
|
211 |
|
212 |
-
#: wp-htaccess-control-ui.php:
|
213 |
msgid ""
|
214 |
"This will force canonization. This will be done by simply modifying the "
|
215 |
"wordpress \"site url\" and \"home\" options (not htaccess)."
|
216 |
msgstr ""
|
217 |
|
218 |
-
#: wp-htaccess-control-ui.php:
|
219 |
msgid "Rewrite Pairs"
|
220 |
msgstr ""
|
221 |
|
222 |
-
#: wp-htaccess-control-ui.php:
|
223 |
msgid "Add rule"
|
224 |
msgstr ""
|
225 |
|
226 |
-
#: wp-htaccess-control-ui.php:
|
227 |
msgid ""
|
228 |
"These are rewrite pairs (RewriteRule) which Wordpress can add inside its "
|
229 |
"rules."
|
230 |
msgstr ""
|
231 |
|
232 |
-
#: wp-htaccess-control-ui.php:
|
233 |
msgid "Delete Pair"
|
234 |
msgstr ""
|
235 |
|
236 |
-
#: wp-htaccess-control-ui.php:
|
237 |
msgid "Reset all rules"
|
238 |
msgstr ""
|
239 |
|
240 |
-
#: wp-htaccess-control-ui.php:
|
241 |
msgid "Save all changes"
|
242 |
msgstr ""
|
243 |
|
244 |
-
#: wp-htaccess-control-ui.php:
|
245 |
msgid "Current htaccess file as it is generated by Wordpress"
|
246 |
msgstr ""
|
247 |
|
248 |
-
#: wp-htaccess-control-ui.php:
|
249 |
msgid "by"
|
250 |
msgstr ""
|
251 |
|
@@ -253,15 +265,15 @@ msgstr ""
|
|
253 |
msgid "All rules reset."
|
254 |
msgstr ""
|
255 |
|
256 |
-
#: wp-htaccess-control.php:
|
257 |
msgid "All options updated."
|
258 |
msgstr ""
|
259 |
|
260 |
-
#: wp-htaccess-control.php:
|
261 |
msgid "Wordpress Rewrite pairs reset."
|
262 |
msgstr ""
|
263 |
|
264 |
-
#: wp-htaccess-control.php:
|
265 |
msgid "Wordpress Rewrite pair deleted."
|
266 |
msgstr ""
|
267 |
|
1 |
+
# Translation of the WordPress plugin WP htaccess Control 1.6.1 by António Andrade.
|
2 |
# Copyright (C) 2010 António Andrade
|
3 |
# This file is distributed under the same license as the WP htaccess Control package.
|
4 |
+
# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
|
5 |
#
|
6 |
#, fuzzy
|
7 |
msgid ""
|
8 |
msgstr ""
|
9 |
+
"Project-Id-Version: WP htaccess Control 1.6.1\n"
|
10 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-htaccess-control\n"
|
11 |
+
"POT-Creation-Date: 2010-09-01 04:57+0000\n"
|
12 |
"PO-Revision-Date: 2010-MO-DA HO:MI+ZONE\n"
|
13 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
16 |
"Content-Type: text/plain; charset=utf-8\n"
|
17 |
"Content-Transfer-Encoding: 8bit\n"
|
18 |
|
19 |
+
#: wp-htaccess-control-ui.php:14
|
20 |
msgid "Please log in as admin"
|
21 |
msgstr ""
|
22 |
|
23 |
+
#: wp-htaccess-control-ui.php:25
|
24 |
msgid "Custom Author Permalink"
|
25 |
msgstr ""
|
26 |
|
27 |
+
#: wp-htaccess-control-ui.php:29
|
28 |
msgid "Author Base"
|
29 |
msgstr ""
|
30 |
|
31 |
+
#: wp-htaccess-control-ui.php:32 wp-htaccess-control-ui.php:64
|
32 |
msgid "(your-base)"
|
33 |
msgstr ""
|
34 |
|
35 |
+
#: wp-htaccess-control-ui.php:35 wp-htaccess-control-ui.php:67
|
36 |
msgid "Permalink settings must be set and not Default (/?p=123)."
|
37 |
msgstr ""
|
38 |
|
39 |
+
#: wp-htaccess-control-ui.php:36
|
40 |
msgid "If set, the author base will be used as shown next to the form field."
|
41 |
msgstr ""
|
42 |
|
43 |
+
#: wp-htaccess-control-ui.php:37
|
44 |
msgid ""
|
45 |
"If you do not want to use a custom Author Permalink base just leave the "
|
46 |
"field empty."
|
47 |
msgstr ""
|
48 |
|
49 |
+
#: wp-htaccess-control-ui.php:44
|
50 |
msgid "Apply Custom Author Permalink on Generated Sitemap"
|
51 |
msgstr ""
|
52 |
|
53 |
+
#: wp-htaccess-control-ui.php:47
|
54 |
msgid ""
|
55 |
"Leave \"Include author pages\" unchecked on Google XML Sitemap options page "
|
56 |
"if using this."
|
57 |
msgstr ""
|
58 |
|
59 |
+
#: wp-htaccess-control-ui.php:48
|
60 |
msgid ""
|
61 |
"However, if you want to adjust the \"Priority\" or \"Change frequency\" you "
|
62 |
"should do so on the <a href=\"options-general.php?page=google-sitemap-"
|
63 |
"generator/sitemap.php\">Google XML Sitemap options page</a>."
|
64 |
msgstr ""
|
65 |
|
66 |
+
#: wp-htaccess-control-ui.php:57
|
67 |
msgid "Custom Pagination Permalink"
|
68 |
msgstr ""
|
69 |
|
70 |
+
#: wp-htaccess-control-ui.php:61
|
71 |
msgid "Page Base"
|
72 |
msgstr ""
|
73 |
|
74 |
+
#: wp-htaccess-control-ui.php:68
|
75 |
msgid ""
|
76 |
"If set, the page base will be used as shown next to the form field in every "
|
77 |
"post listing (category, tag, archive, etc)."
|
78 |
msgstr ""
|
79 |
|
80 |
+
#: wp-htaccess-control-ui.php:69
|
81 |
msgid ""
|
82 |
"If you do not want to use a custom Pagination Permalink base just leave the "
|
83 |
"field empty."
|
84 |
msgstr ""
|
85 |
|
86 |
+
#: wp-htaccess-control-ui.php:77
|
87 |
msgid "Custom htaccess"
|
88 |
msgstr ""
|
89 |
|
90 |
+
#: wp-htaccess-control-ui.php:85
|
91 |
msgid "This rules will be printed before any Wordpress rules."
|
92 |
msgstr ""
|
93 |
|
94 |
+
#: wp-htaccess-control-ui.php:86 wp-htaccess-control-ui.php:106
|
95 |
msgid ""
|
96 |
"Please double check them before saving as a mistake could make your site "
|
97 |
"unaccessable."
|
98 |
msgstr ""
|
99 |
|
100 |
+
#: wp-htaccess-control-ui.php:94
|
101 |
+
msgid "Wordpress htaccess"
|
102 |
msgstr ""
|
103 |
|
104 |
+
#: wp-htaccess-control-ui.php:100
|
105 |
+
msgid "Leave empty for default."
|
106 |
msgstr ""
|
107 |
|
108 |
+
#: wp-htaccess-control-ui.php:102
|
109 |
msgid ""
|
110 |
+
"<strong>Use <a href='http://www.webmasterworld.com/apache/4053973.htm'>Jim "
|
111 |
+
"Morgan's wordpress htaccess</a></strong> (has been reported to \"speed up "
|
112 |
+
"your WP mod_rewrite code by a factor of more than two\")"
|
113 |
msgstr ""
|
114 |
|
115 |
+
#: wp-htaccess-control-ui.php:105
|
116 |
+
msgid "This rules will be printed instead of Wordpress rules."
|
117 |
msgstr ""
|
118 |
|
119 |
#: wp-htaccess-control-ui.php:107
|
120 |
+
msgid "Original rules:"
|
121 |
+
msgstr ""
|
122 |
+
|
123 |
+
#: wp-htaccess-control-ui.php:118
|
124 |
+
msgid "htaccess Suggestions"
|
125 |
+
msgstr ""
|
126 |
+
|
127 |
+
#: wp-htaccess-control-ui.php:122
|
128 |
+
msgid "ServerSignature"
|
129 |
+
msgstr ""
|
130 |
+
|
131 |
+
#: wp-htaccess-control-ui.php:126
|
132 |
msgid "Disable the ServerSignature on server generated error pages."
|
133 |
msgstr ""
|
134 |
|
135 |
+
#: wp-htaccess-control-ui.php:129
|
136 |
msgid "Indexes"
|
137 |
msgstr ""
|
138 |
|
139 |
+
#: wp-htaccess-control-ui.php:133
|
140 |
msgid "Disable directory browsing."
|
141 |
msgstr ""
|
142 |
|
143 |
+
#: wp-htaccess-control-ui.php:136
|
144 |
msgid "Protect wp-config.php file"
|
145 |
msgstr ""
|
146 |
|
147 |
+
#: wp-htaccess-control-ui.php:140
|
148 |
msgid "Deny access to wp-config.php file."
|
149 |
msgstr ""
|
150 |
|
151 |
+
#: wp-htaccess-control-ui.php:143
|
152 |
msgid "Protect htaccess file"
|
153 |
msgstr ""
|
154 |
|
155 |
+
#: wp-htaccess-control-ui.php:147
|
156 |
msgid "Deny access to .htaccess file."
|
157 |
msgstr ""
|
158 |
|
159 |
+
#: wp-htaccess-control-ui.php:150
|
160 |
msgid "mod_gzip"
|
161 |
msgstr ""
|
162 |
|
163 |
+
#: wp-htaccess-control-ui.php:154
|
164 |
msgid "Use mod_gzip if available."
|
165 |
msgstr ""
|
166 |
|
167 |
+
#: wp-htaccess-control-ui.php:157
|
168 |
msgid "mod_deflate"
|
169 |
msgstr ""
|
170 |
|
171 |
+
#: wp-htaccess-control-ui.php:161
|
172 |
msgid "Use mod_deflate if available."
|
173 |
msgstr ""
|
174 |
|
175 |
+
#: wp-htaccess-control-ui.php:166
|
176 |
msgid "Limit Upload Size"
|
177 |
msgstr ""
|
178 |
|
179 |
+
#: wp-htaccess-control-ui.php:170
|
180 |
msgid "If set, this value in MB will be used as limit to file uploads."
|
181 |
msgstr ""
|
182 |
|
183 |
+
#: wp-htaccess-control-ui.php:173
|
184 |
msgid "Admin Email"
|
185 |
msgstr ""
|
186 |
|
187 |
+
#: wp-htaccess-control-ui.php:177
|
188 |
msgid ""
|
189 |
"If set, this will be used as the admin email on server generated error pages."
|
190 |
msgstr ""
|
191 |
|
192 |
+
#: wp-htaccess-control-ui.php:180
|
193 |
msgid "Disable hotlinking"
|
194 |
msgstr ""
|
195 |
|
196 |
+
#: wp-htaccess-control-ui.php:184
|
197 |
msgid ""
|
198 |
"If set, this url will be used as redirection to hotlinked images (you should "
|
199 |
"be using an image url here). If you prefer no output on hotlinked images use "
|
200 |
"\"-\"."
|
201 |
msgstr ""
|
202 |
|
203 |
+
#: wp-htaccess-control-ui.php:187
|
204 |
msgid "500 error"
|
205 |
msgstr ""
|
206 |
|
207 |
+
#: wp-htaccess-control-ui.php:191
|
208 |
msgid ""
|
209 |
"If set, this path will be used as page to 500 errors (example: /error.php)."
|
210 |
msgstr ""
|
211 |
|
212 |
+
#: wp-htaccess-control-ui.php:194
|
213 |
msgid "Canonical Url"
|
214 |
msgstr ""
|
215 |
|
216 |
+
#: wp-htaccess-control-ui.php:198
|
217 |
msgid "Force WWW"
|
218 |
msgstr ""
|
219 |
|
220 |
+
#: wp-htaccess-control-ui.php:199
|
221 |
msgid "Force non-WWW"
|
222 |
msgstr ""
|
223 |
|
224 |
+
#: wp-htaccess-control-ui.php:202
|
225 |
msgid ""
|
226 |
"This will force canonization. This will be done by simply modifying the "
|
227 |
"wordpress \"site url\" and \"home\" options (not htaccess)."
|
228 |
msgstr ""
|
229 |
|
230 |
+
#: wp-htaccess-control-ui.php:209
|
231 |
msgid "Rewrite Pairs"
|
232 |
msgstr ""
|
233 |
|
234 |
+
#: wp-htaccess-control-ui.php:214
|
235 |
msgid "Add rule"
|
236 |
msgstr ""
|
237 |
|
238 |
+
#: wp-htaccess-control-ui.php:215
|
239 |
msgid ""
|
240 |
"These are rewrite pairs (RewriteRule) which Wordpress can add inside its "
|
241 |
"rules."
|
242 |
msgstr ""
|
243 |
|
244 |
+
#: wp-htaccess-control-ui.php:223
|
245 |
msgid "Delete Pair"
|
246 |
msgstr ""
|
247 |
|
248 |
+
#: wp-htaccess-control-ui.php:231
|
249 |
msgid "Reset all rules"
|
250 |
msgstr ""
|
251 |
|
252 |
+
#: wp-htaccess-control-ui.php:232
|
253 |
msgid "Save all changes"
|
254 |
msgstr ""
|
255 |
|
256 |
+
#: wp-htaccess-control-ui.php:238
|
257 |
msgid "Current htaccess file as it is generated by Wordpress"
|
258 |
msgstr ""
|
259 |
|
260 |
+
#: wp-htaccess-control-ui.php:246
|
261 |
msgid "by"
|
262 |
msgstr ""
|
263 |
|
265 |
msgid "All rules reset."
|
266 |
msgstr ""
|
267 |
|
268 |
+
#: wp-htaccess-control.php:361
|
269 |
msgid "All options updated."
|
270 |
msgstr ""
|
271 |
|
272 |
+
#: wp-htaccess-control.php:369
|
273 |
msgid "Wordpress Rewrite pairs reset."
|
274 |
msgstr ""
|
275 |
|
276 |
+
#: wp-htaccess-control.php:375
|
277 |
msgid "Wordpress Rewrite pair deleted."
|
278 |
msgstr ""
|
279 |
|
readme.txt
CHANGED
@@ -6,18 +6,18 @@ Donate link:
|
|
6 |
Tags: permalinks, permalink, author, htaccess, rewrite, redirect
|
7 |
Requires at least: 2.7
|
8 |
Tested up to: 3.0.1
|
9 |
-
Stable tag: 1.
|
10 |
|
11 |
-
Interface to
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
-
**WP htaccess Control** provides an interface to
|
16 |
**I still haven't tested this under Wordpress multisite, some issues have however been reported.**
|
17 |
|
18 |
**Features:**
|
19 |
|
20 |
-
*
|
21 |
* Customizing the Author Permalink Base (if Google XML Sitemap is found installed, you'll be able to use your Custom Author Permalink on the sitemap generated);
|
22 |
* Customizing Paginated Permalinks (translate the "page" word on permalinks to your own language);
|
23 |
|
@@ -59,6 +59,9 @@ Suggestions are welcome and please report any bugs found!
|
|
59 |
|
60 |
== Changelog ==
|
61 |
|
|
|
|
|
|
|
62 |
= 1.6.1 (17/08/2010) =
|
63 |
* Fix: Small update on Jim Morgan's htaccess;
|
64 |
|
6 |
Tags: permalinks, permalink, author, htaccess, rewrite, redirect
|
7 |
Requires at least: 2.7
|
8 |
Tested up to: 3.0.1
|
9 |
+
Stable tag: 1.7
|
10 |
|
11 |
+
Interface to customize the htaccess file generated by Wordpress and the Author and Pagination Permalinks.
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
+
**WP htaccess Control** provides an interface to customize the htaccess file generated by Wordpress, the Author Permalink Base and the Paginated Permalinks. (Take a look at the screenshot...)
|
16 |
**I still haven't tested this under Wordpress multisite, some issues have however been reported.**
|
17 |
|
18 |
**Features:**
|
19 |
|
20 |
+
* Customizing the htaccess file generated by Wordpress;
|
21 |
* Customizing the Author Permalink Base (if Google XML Sitemap is found installed, you'll be able to use your Custom Author Permalink on the sitemap generated);
|
22 |
* Customizing Paginated Permalinks (translate the "page" word on permalinks to your own language);
|
23 |
|
59 |
|
60 |
== Changelog ==
|
61 |
|
62 |
+
= 1.7 (01/09/2010) =
|
63 |
+
* Feature: wordpress htaccess rules can be replaced or modified.
|
64 |
+
|
65 |
= 1.6.1 (17/08/2010) =
|
66 |
* Fix: Small update on Jim Morgan's htaccess;
|
67 |
|
wp-htaccess-control-ui.css
CHANGED
@@ -8,4 +8,5 @@
|
|
8 |
.wphtc-inputs tr{border-bottom:1px solid #ddd}
|
9 |
.wphtc-inputs caption{text-align:left;padding:10px;background:#ddd;}
|
10 |
.form-table{margin:0;}
|
11 |
-
#wphtc-footer{text-align:right;}
|
|
8 |
.wphtc-inputs tr{border-bottom:1px solid #ddd}
|
9 |
.wphtc-inputs caption{text-align:left;padding:10px;background:#ddd;}
|
10 |
.form-table{margin:0;}
|
11 |
+
#wphtc-footer{text-align:right;}
|
12 |
+
textarea.readonly{background-color:#eee;}
|
wp-htaccess-control-ui.js
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
jQuery(document).ready(function(){
|
2 |
addRewritePairButton();
|
3 |
collapseSections();
|
|
|
4 |
function addRewritePairButton(){
|
5 |
jQuery('.add-rewrite-pair').click(function(){addRule();});
|
6 |
}
|
@@ -49,4 +50,16 @@ jQuery(document).ready(function(){
|
|
49 |
}
|
50 |
);
|
51 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
});
|
1 |
jQuery(document).ready(function(){
|
2 |
addRewritePairButton();
|
3 |
collapseSections();
|
4 |
+
editWPhtaJM();
|
5 |
function addRewritePairButton(){
|
6 |
jQuery('.add-rewrite-pair').click(function(){addRule();});
|
7 |
}
|
50 |
}
|
51 |
);
|
52 |
}
|
53 |
+
function editWPhtaJM(){
|
54 |
+
jQuery("input[name='WPhtc_jim_morgan_hta']").click(
|
55 |
+
function(){
|
56 |
+
if(jQuery("textarea[name='WPhtc_wp_hta']").attr('readonly')==true){
|
57 |
+
jQuery("textarea[name='WPhtc_wp_hta']").text('').removeAttr("readonly").removeClass('readonly');
|
58 |
+
}
|
59 |
+
else{
|
60 |
+
jQuery("textarea[name='WPhtc_wp_hta']").addClass('readonly');
|
61 |
+
}
|
62 |
+
}
|
63 |
+
);
|
64 |
+
}
|
65 |
});
|
wp-htaccess-control-ui.php
CHANGED
@@ -9,10 +9,12 @@ $WPhtc_data=get_option('WPhtc_data');
|
|
9 |
?>
|
10 |
<div id="wphtc-page" class="wrap">
|
11 |
<h2>Wp htaccess Control</h2>
|
12 |
-
<?php
|
13 |
-
|
14 |
-
|
15 |
-
|
|
|
|
|
16 |
<form method="post" action="<?php echo $purl?>">
|
17 |
<?php if($echo!=''){?>
|
18 |
<div class="updated fade" id="message" style="background-color: rgb(255, 251, 204);"><p><?php echo $echo;?></p></div>
|
@@ -77,7 +79,7 @@ $WPhtc_data=get_option('WPhtc_data');
|
|
77 |
<table class="form-table wphtc-inputs">
|
78 |
<tr valign="top">
|
79 |
<td>
|
80 |
-
<textarea name="WPhtc_hta" style="width:100%;" rows="
|
81 |
</td>
|
82 |
<td style="width:50%;">
|
83 |
<p class="description"><?php _e('This rules will be printed before any Wordpress rules.', 'wp-htaccess-control'); ?></p>
|
@@ -89,16 +91,33 @@ $WPhtc_data=get_option('WPhtc_data');
|
|
89 |
<div class="wphtc-section">
|
90 |
<div class="wphtc-section-title stuffbox">
|
91 |
<div title="Click to toggle" class="handlediv" style="background:url('<?php bloginfo("wpurl")?>/wp-admin/images/menu-bits.gif') no-repeat scroll left -111px transparent"><br></div>
|
92 |
-
<h3><?php _e('htaccess
|
93 |
</div>
|
94 |
<table class="form-table wphtc-inputs">
|
95 |
<tr valign="top">
|
96 |
-
<
|
97 |
-
|
98 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
99 |
</td>
|
100 |
-
<td valign="middle"><?php _e("Using <a href='http://www.webmasterworld.com/apache/4053973.htm'>Jim Morgan's wordpress htaccess</a> has been reported to \"speed up your WP mod_rewrite code by a factor of more than two\".", 'wp-htaccess-control'); ?></td>
|
101 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
102 |
<tr valign="top">
|
103 |
<th scope="row" style="width:18%;"><?php _e('ServerSignature', 'wp-htaccess-control'); ?></th>
|
104 |
<td style="width:3%;" valign="middle">
|
9 |
?>
|
10 |
<div id="wphtc-page" class="wrap">
|
11 |
<h2>Wp htaccess Control</h2>
|
12 |
+
<?php
|
13 |
+
if(!current_user_can("administrator")) {
|
14 |
+
echo '<p>'.__('Please log in as admin','wp-htaccess-control').'</p>';
|
15 |
+
return;
|
16 |
+
}
|
17 |
+
?>
|
18 |
<form method="post" action="<?php echo $purl?>">
|
19 |
<?php if($echo!=''){?>
|
20 |
<div class="updated fade" id="message" style="background-color: rgb(255, 251, 204);"><p><?php echo $echo;?></p></div>
|
79 |
<table class="form-table wphtc-inputs">
|
80 |
<tr valign="top">
|
81 |
<td>
|
82 |
+
<textarea name="WPhtc_hta" style="width:100%;" rows="7"><?php echo stripslashes($WPhtc_data['hta']); ?></textarea>
|
83 |
</td>
|
84 |
<td style="width:50%;">
|
85 |
<p class="description"><?php _e('This rules will be printed before any Wordpress rules.', 'wp-htaccess-control'); ?></p>
|
91 |
<div class="wphtc-section">
|
92 |
<div class="wphtc-section-title stuffbox">
|
93 |
<div title="Click to toggle" class="handlediv" style="background:url('<?php bloginfo("wpurl")?>/wp-admin/images/menu-bits.gif') no-repeat scroll left -111px transparent"><br></div>
|
94 |
+
<h3><?php _e('Wordpress htaccess', 'wp-htaccess-control'); ?></h3>
|
95 |
</div>
|
96 |
<table class="form-table wphtc-inputs">
|
97 |
<tr valign="top">
|
98 |
+
<td>
|
99 |
+
<textarea name="WPhtc_wp_hta" style="width:100%;" rows="7" <?php if($WPhtc_data['jim_morgan_hta']){ echo "readonly='true' class='readonly'";}?>><?php echo stripslashes($WPhtc_data['wp_hta']); ?></textarea>
|
100 |
+
<p class="description"><?php _e('Leave empty for default.', 'wp-htaccess-control'); ?></p>
|
101 |
+
<p><input type="checkbox" name="WPhtc_jim_morgan_hta" value="true" <?php if($WPhtc_data['jim_morgan_hta']){ echo "checked";}?>/>
|
102 |
+
<?php _e("<strong>Use <a href='http://www.webmasterworld.com/apache/4053973.htm'>Jim Morgan's wordpress htaccess</a></strong> (has been reported to \"speed up your WP mod_rewrite code by a factor of more than two\")", 'wp-htaccess-control'); ?></p>
|
103 |
+
</td>
|
104 |
+
<td style="width:50%;">
|
105 |
+
<p class="description"><?php _e('This rules will be printed instead of Wordpress rules.', 'wp-htaccess-control'); ?></p>
|
106 |
+
<p class="description"><?php _e('Please double check them before saving as a mistake could make your site unaccessable.', 'wp-htaccess-control'); ?></p>
|
107 |
+
<p class="description"><?php _e('Original rules:', 'wp-htaccess-control'); ?></p>
|
108 |
+
<p class="description">
|
109 |
+
<code><?php echo nl2br(htmlspecialchars(substr($WPhtc_data['original_hta'],0,-1)));?></code>
|
110 |
+
</p>
|
111 |
</td>
|
|
|
112 |
</tr>
|
113 |
+
</table>
|
114 |
+
</div>
|
115 |
+
<div class="wphtc-section">
|
116 |
+
<div class="wphtc-section-title stuffbox">
|
117 |
+
<div title="Click to toggle" class="handlediv" style="background:url('<?php bloginfo("wpurl")?>/wp-admin/images/menu-bits.gif') no-repeat scroll left -111px transparent"><br></div>
|
118 |
+
<h3><?php _e('htaccess Suggestions', 'wp-htaccess-control'); ?></h3>
|
119 |
+
</div>
|
120 |
+
<table class="form-table wphtc-inputs">
|
121 |
<tr valign="top">
|
122 |
<th scope="row" style="width:18%;"><?php _e('ServerSignature', 'wp-htaccess-control'); ?></th>
|
123 |
<td style="width:3%;" valign="middle">
|
wp-htaccess-control.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: WP htaccess Control
|
4 |
Plugin URI: http://dardna.com/wp-htaccess-control
|
5 |
Description: Provides an interface to add custom htaccess rules to the htaccess file generated by wordpress. Also provides customisation of the Author Permalink Base and of Paginated Permalinks.
|
6 |
-
Version: 1.
|
7 |
Author: António Andrade
|
8 |
Author URI: http://dardna.com
|
9 |
*/
|
@@ -28,12 +28,21 @@ if (!class_exists("WPhtc")) {
|
|
28 |
function WPhtc() {
|
29 |
}
|
30 |
function wphtc_init(){
|
|
|
31 |
$currentLocale = get_locale();
|
32 |
if(!empty($currentLocale)) {
|
33 |
$moFile = dirname(__FILE__) . "/lang/wp-htaccess-control-" . $currentLocale . ".mo";
|
34 |
if(@file_exists($moFile) && is_readable($moFile)) load_textdomain('wp-htaccess-control', $moFile);
|
35 |
}
|
36 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
# Filter pagination links generated by Wordpress
|
38 |
function wphtc_filter_get_pagenum_link($result){
|
39 |
$WPhtc_data=get_option('WPhtc_data');
|
@@ -120,13 +129,18 @@ if (!class_exists("WPhtc")) {
|
|
120 |
}
|
121 |
}
|
122 |
# Keeping a copy of the generated htaccess in our option array for later reviewing
|
123 |
-
$WPhtc_data['cur_hta']='# BEGIN Wordpress<br/>'.nl2br($wp_rewrite->mod_rewrite_rules()).
|
124 |
update_option('WPhtc_data',$WPhtc_data);
|
125 |
return $wp_rewrite;
|
126 |
}
|
127 |
# Adding Custom Rules to htaccess file generated by Wordpress, everytime the rules are flush
|
128 |
function wphtc_hta_rules($rules){
|
129 |
$WPhtc_data=get_option('WPhtc_data');
|
|
|
|
|
|
|
|
|
|
|
130 |
if($WPhtc_data['hta']){
|
131 |
$new_rules.="\n# WPhtc: Begin Custom htaccess\n";
|
132 |
$new_rules.=stripslashes($WPhtc_data['hta'])."\n";
|
@@ -228,23 +242,8 @@ if (!class_exists("WPhtc")) {
|
|
228 |
$new_rules.="Header append Vary User-Agent env=!dont-vary\n";
|
229 |
$new_rules.="</IfModule>\n";
|
230 |
}
|
231 |
-
if($WPhtc_data['
|
232 |
-
$new_rules.="\
|
233 |
-
$new_rules.="# Unless you have set a different RewriteBase preceding this point,\n";
|
234 |
-
$new_rules.="# you may delete or comment-out the following RewriteBase directive:\n";
|
235 |
-
$new_rules.="RewriteBase /\n";
|
236 |
-
$new_rules.="# if this request is for \"/\" or has already been rewritten to WP\n";
|
237 |
-
$new_rules.="RewriteCond $1 ^(index\.php)?$ [OR]\n";
|
238 |
-
$new_rules.="# or if request is for image, css, or js file\n";
|
239 |
-
$new_rules.="RewriteCond $1 \.(gif|jpg|jpeg|png|css|js|ico)$ [NC,OR]\n";
|
240 |
-
$new_rules.="# or if URL resolves to existing file\n";
|
241 |
-
$new_rules.="RewriteCond %{REQUEST_FILENAME} -f [OR]\n";
|
242 |
-
$new_rules.="# or if URL resolves to existing directory\n";
|
243 |
-
$new_rules.="RewriteCond %{REQUEST_FILENAME} -d\n";
|
244 |
-
$new_rules.="# then skip the rewrite to WP\n";
|
245 |
-
$new_rules.="RewriteRule ^(.*)$ - [S=1]\n";
|
246 |
-
$new_rules.="# else rewrite the request to WP\n";
|
247 |
-
$new_rules.="RewriteRule . /index.php [L]\n";
|
248 |
}
|
249 |
else{
|
250 |
$new_rules.="\n".$rules;
|
@@ -273,6 +272,7 @@ if (!class_exists("WPhtc")) {
|
|
273 |
}
|
274 |
# Options Page Actions
|
275 |
function wphtc_page_action(){
|
|
|
276 |
$action=$_POST['action']?$_POST['action']:$_GET['action'];
|
277 |
global $echo;
|
278 |
if(isset($action)){
|
@@ -307,8 +307,28 @@ if (!class_exists("WPhtc")) {
|
|
307 |
$WPhtc_data['cap']=$_POST['WPhtc_cap'];
|
308 |
# get Custom Pagination Permalink
|
309 |
$WPhtc_data['cpp']=$_POST['WPhtc_cpp'];
|
310 |
-
#
|
|
|
311 |
$WPhtc_data['jim_morgan_hta']=$_POST['WPhtc_jim_morgan_hta'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
312 |
$WPhtc_data['disable_serversignature']=$_POST['WPhtc_disable_serversignature'];
|
313 |
$WPhtc_data['disable_indexes']=$_POST['WPhtc_disable_indexes'];
|
314 |
$WPhtc_data['up_limit']=(is_numeric($_POST['WPhtc_up_limit'])&&$_POST['WPhtc_up_limit']>0)?$_POST['WPhtc_up_limit']:'';
|
3 |
Plugin Name: WP htaccess Control
|
4 |
Plugin URI: http://dardna.com/wp-htaccess-control
|
5 |
Description: Provides an interface to add custom htaccess rules to the htaccess file generated by wordpress. Also provides customisation of the Author Permalink Base and of Paginated Permalinks.
|
6 |
+
Version: 1.7
|
7 |
Author: António Andrade
|
8 |
Author URI: http://dardna.com
|
9 |
*/
|
28 |
function WPhtc() {
|
29 |
}
|
30 |
function wphtc_init(){
|
31 |
+
# set locale
|
32 |
$currentLocale = get_locale();
|
33 |
if(!empty($currentLocale)) {
|
34 |
$moFile = dirname(__FILE__) . "/lang/wp-htaccess-control-" . $currentLocale . ".mo";
|
35 |
if(@file_exists($moFile) && is_readable($moFile)) load_textdomain('wp-htaccess-control', $moFile);
|
36 |
}
|
37 |
}
|
38 |
+
function wphtc_check_first_run(){
|
39 |
+
# flush rules to get some data filled
|
40 |
+
$WPhtc_data=get_option('WPhtc_data');
|
41 |
+
if(!isset($WPhtc_data['original_hta'])){
|
42 |
+
global $wp_rewrite;
|
43 |
+
$wp_rewrite->flush_rules();
|
44 |
+
}
|
45 |
+
}
|
46 |
# Filter pagination links generated by Wordpress
|
47 |
function wphtc_filter_get_pagenum_link($result){
|
48 |
$WPhtc_data=get_option('WPhtc_data');
|
129 |
}
|
130 |
}
|
131 |
# Keeping a copy of the generated htaccess in our option array for later reviewing
|
132 |
+
$WPhtc_data['cur_hta']='# BEGIN Wordpress<br/>'.nl2br($wp_rewrite->mod_rewrite_rules())."# END Wordpress";
|
133 |
update_option('WPhtc_data',$WPhtc_data);
|
134 |
return $wp_rewrite;
|
135 |
}
|
136 |
# Adding Custom Rules to htaccess file generated by Wordpress, everytime the rules are flush
|
137 |
function wphtc_hta_rules($rules){
|
138 |
$WPhtc_data=get_option('WPhtc_data');
|
139 |
+
# keeping original hta
|
140 |
+
if(!isset($WPhtc_data['original_hta'])||$WPhtc_data['original_hta']!=$rules){
|
141 |
+
$WPhtc_data['original_hta']=$rules;
|
142 |
+
update_option('WPhtc_data',$WPhtc_data);
|
143 |
+
}
|
144 |
if($WPhtc_data['hta']){
|
145 |
$new_rules.="\n# WPhtc: Begin Custom htaccess\n";
|
146 |
$new_rules.=stripslashes($WPhtc_data['hta'])."\n";
|
242 |
$new_rules.="Header append Vary User-Agent env=!dont-vary\n";
|
243 |
$new_rules.="</IfModule>\n";
|
244 |
}
|
245 |
+
if($WPhtc_data['wp_hta']&&trim($WPhtc_data['wp_hta'])!=''){
|
246 |
+
$new_rules.="\n".$WPhtc_data['wp_hta'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
247 |
}
|
248 |
else{
|
249 |
$new_rules.="\n".$rules;
|
272 |
}
|
273 |
# Options Page Actions
|
274 |
function wphtc_page_action(){
|
275 |
+
WPhtc::wphtc_check_first_run();
|
276 |
$action=$_POST['action']?$_POST['action']:$_GET['action'];
|
277 |
global $echo;
|
278 |
if(isset($action)){
|
307 |
$WPhtc_data['cap']=$_POST['WPhtc_cap'];
|
308 |
# get Custom Pagination Permalink
|
309 |
$WPhtc_data['cpp']=$_POST['WPhtc_cpp'];
|
310 |
+
# wordpress htaccess and jim morgan's htaccess
|
311 |
+
$WPhtc_data['wp_hta']=$_POST['WPhtc_wp_hta']."\n";
|
312 |
$WPhtc_data['jim_morgan_hta']=$_POST['WPhtc_jim_morgan_hta'];
|
313 |
+
if($WPhtc_data['jim_morgan_hta']){
|
314 |
+
$WPhtc_data['wp_hta'] ="\nRewriteEngine on\n";
|
315 |
+
$WPhtc_data['wp_hta'].="# Unless you have set a different RewriteBase preceding this point,\n";
|
316 |
+
$WPhtc_data['wp_hta'].="# you may delete or comment-out the following RewriteBase directive:\n";
|
317 |
+
$WPhtc_data['wp_hta'].="RewriteBase /\n";
|
318 |
+
$WPhtc_data['wp_hta'].="# if this request is for \"/\" or has already been rewritten to WP\n";
|
319 |
+
$WPhtc_data['wp_hta'].="RewriteCond $1 ^(index\.php)?$ [OR]\n";
|
320 |
+
$WPhtc_data['wp_hta'].="# or if request is for image, css, or js file\n";
|
321 |
+
$WPhtc_data['wp_hta'].="RewriteCond $1 \.(gif|jpg|jpeg|png|css|js|ico)$ [NC,OR]\n";
|
322 |
+
$WPhtc_data['wp_hta'].="# or if URL resolves to existing file\n";
|
323 |
+
$WPhtc_data['wp_hta'].="RewriteCond %{REQUEST_FILENAME} -f [OR]\n";
|
324 |
+
$WPhtc_data['wp_hta'].="# or if URL resolves to existing directory\n";
|
325 |
+
$WPhtc_data['wp_hta'].="RewriteCond %{REQUEST_FILENAME} -d\n";
|
326 |
+
$WPhtc_data['wp_hta'].="# then skip the rewrite to WP\n";
|
327 |
+
$WPhtc_data['wp_hta'].="RewriteRule ^(.*)$ - [S=1]\n";
|
328 |
+
$WPhtc_data['wp_hta'].="# else rewrite the request to WP\n";
|
329 |
+
$WPhtc_data['wp_hta'].="RewriteRule . /index.php [L]\n";
|
330 |
+
}
|
331 |
+
# get htaccess Suggestions
|
332 |
$WPhtc_data['disable_serversignature']=$_POST['WPhtc_disable_serversignature'];
|
333 |
$WPhtc_data['disable_indexes']=$_POST['WPhtc_disable_indexes'];
|
334 |
$WPhtc_data['up_limit']=(is_numeric($_POST['WPhtc_up_limit'])&&$_POST['WPhtc_up_limit']>0)?$_POST['WPhtc_up_limit']:'';
|