Changeset 171734
- Timestamp:
- 11/09/2009 03:57:02 PM (16 years ago)
- Location:
- meneame-comments-to-wp/trunk
- Files:
-
- 4 edited
-
langs/beplugin-es_ES.mo (modified) (previous)
-
langs/beplugin-es_ES.po (modified) (4 diffs)
-
langs/beplugin.pot (modified) (4 diffs)
-
meneame-comments.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
meneame-comments-to-wp/trunk/langs/beplugin-es_ES.po
r70464 r171734 3 3 "Project-Id-Version: BE Plugin\n" 4 4 "Report-Msgid-Bugs-To: \n" 5 "POT-Creation-Date: 200 8-10-20 12:21+0100\n"6 "PO-Revision-Date: 200 8-10-20 12:21+0100\n"5 "POT-Creation-Date: 2009-11-09 16:53+0100\n" 6 "PO-Revision-Date: 2009-11-09 16:53+0100\n" 7 7 "Last-Translator: Alejandro Carravedo <acarravedo@blogestudio.com>\n" 8 8 "Language-Team: Blogestudio <info@blogestudio.com>\n" … … 29 29 msgstr "Comentarios actualizados" 30 30 31 #: meneame-comments.php:12632 #: meneame-comments.php:12733 #: meneame-comments-options.php:9334 msgid "Menéame Comments to WP"35 msgstr "Menéame Comments to WP"36 37 31 #: meneame-comments-options.php:18 38 #: meneame-comments-options.php:19 932 #: meneame-comments-options.php:197 39 33 msgid "Update Options" 40 34 msgstr "Actualizar Opciones" … … 75 69 76 70 #: meneame-comments-options.php:65 77 #: meneame-comments-options.php:20 771 #: meneame-comments-options.php:205 78 72 msgid "Delete Meneame Comments" 79 73 msgstr "Borrar los Comentarios de Menéame" 74 75 #: meneame-comments-options.php:93 76 #: meneame-comments.php:126 77 #: meneame-comments.php:127 78 msgid "Menéame Comments to WP" 79 msgstr "Menéame Comments to WP" 80 80 81 81 #: meneame-comments-options.php:96 … … 116 116 msgstr "Fecha y Hora del Servidor" 117 117 118 #: meneame-comments-options.php:16 3118 #: meneame-comments-options.php:161 119 119 msgid "New Comments Options" 120 120 msgstr "Opciones para los Nuevos Comentarios" 121 121 122 #: meneame-comments-options.php:16 7122 #: meneame-comments-options.php:165 123 123 msgid "Status" 124 124 msgstr "Estado" 125 125 126 #: meneame-comments-options.php:16 9126 #: meneame-comments-options.php:167 127 127 msgid "Equal to Trackback" 128 128 msgstr "Igual que el Trackback" 129 129 130 #: meneame-comments-options.php:1 70130 #: meneame-comments-options.php:168 131 131 msgid "Approve" 132 132 msgstr "Aprobar" 133 133 134 #: meneame-comments-options.php:1 71134 #: meneame-comments-options.php:169 135 135 msgid "Moderate" 136 136 msgstr "Moderar" 137 137 138 #: meneame-comments-options.php:17 2138 #: meneame-comments-options.php:170 139 139 msgid "Spam" 140 140 msgstr "Spam" 141 141 142 #: meneame-comments-options.php:17 7142 #: meneame-comments-options.php:175 143 143 msgid "Menéame Configuration" 144 144 msgstr "Configuración de Menéame" 145 145 146 #: meneame-comments-options.php:1 81146 #: meneame-comments-options.php:179 147 147 msgid "Comments Feed URL" 148 148 msgstr "URL del Feed de los Comentarios" 149 149 150 #: meneame-comments-options.php:18 5150 #: meneame-comments-options.php:183 151 151 msgid "URL ID Parameter" 152 152 msgstr "Parámetro del Identificador en la URL" 153 153 154 #: meneame-comments-options.php:18 9154 #: meneame-comments-options.php:187 155 155 msgid "URL Karma Parameter" 156 156 msgstr "Parámetro del Karma en la URL" 157 157 158 #: meneame-comments-options.php:19 3158 #: meneame-comments-options.php:191 159 159 msgid "Minimal Karma" 160 160 msgstr "Karma Mínimo" 161 161 162 #: meneame-comments-options.php:19 9162 #: meneame-comments-options.php:197 163 163 msgid "Cancel" 164 164 msgstr "Cancelar" 165 165 166 #: meneame-comments-options.php:20 4166 #: meneame-comments-options.php:202 167 167 msgid "Management" 168 168 msgstr "Gestión" 169 169 170 #: meneame-comments-options.php:20 7170 #: meneame-comments-options.php:205 171 171 msgid "Are you sure you want to delete all Meneame Comments" 172 172 msgstr "¿Estás seguro de querer eliminar todos los Comentarios de Menéame?" 173 174 #: meneame-comments.php:196 175 #, php-format 176 msgid "Post %s: Error loading from Meneame" 177 msgstr "Entrada %s: Error cargando desde Meneame" 173 178 174 179 #~ msgid "Menéame Comments to WordPress Posts" -
meneame-comments-to-wp/trunk/langs/beplugin.pot
r70464 r171734 3 3 "Project-Id-Version: BE Plugin\n" 4 4 "Report-Msgid-Bugs-To: \n" 5 "POT-Creation-Date: 200 8-10-20 12:21+0100\n"6 "PO-Revision-Date: 200 8-10-20 12:23+0100\n"5 "POT-Creation-Date: 2009-11-09 16:54+0100\n" 6 "PO-Revision-Date: 2009-11-09 16:54+0100\n" 7 7 "Last-Translator: Alejandro Carravedo <acarravedo@blogestudio.com>\n" 8 8 "Language-Team: Blogestudio <info@blogestudio.com>\n" … … 28 28 msgstr "" 29 29 30 #: meneame-comments.php:12631 #: meneame-comments.php:12732 #: meneame-comments-options.php:9333 msgid "Menéame Comments to WP"34 msgstr ""35 36 30 #: meneame-comments-options.php:18 37 #: meneame-comments-options.php:19 931 #: meneame-comments-options.php:197 38 32 msgid "Update Options" 39 33 msgstr "" … … 74 68 75 69 #: meneame-comments-options.php:65 76 #: meneame-comments-options.php:20 770 #: meneame-comments-options.php:205 77 71 msgid "Delete Meneame Comments" 72 msgstr "" 73 74 #: meneame-comments-options.php:93 75 #: meneame-comments.php:126 76 #: meneame-comments.php:127 77 msgid "Menéame Comments to WP" 78 78 msgstr "" 79 79 … … 115 115 msgstr "" 116 116 117 #: meneame-comments-options.php:16 3117 #: meneame-comments-options.php:161 118 118 msgid "New Comments Options" 119 119 msgstr "" 120 120 121 #: meneame-comments-options.php:16 7121 #: meneame-comments-options.php:165 122 122 msgid "Status" 123 123 msgstr "" 124 124 125 #: meneame-comments-options.php:16 9125 #: meneame-comments-options.php:167 126 126 msgid "Equal to Trackback" 127 127 msgstr "" 128 128 129 #: meneame-comments-options.php:1 70129 #: meneame-comments-options.php:168 130 130 msgid "Approve" 131 131 msgstr "" 132 132 133 #: meneame-comments-options.php:1 71133 #: meneame-comments-options.php:169 134 134 msgid "Moderate" 135 135 msgstr "" 136 136 137 #: meneame-comments-options.php:17 2137 #: meneame-comments-options.php:170 138 138 msgid "Spam" 139 139 msgstr "" 140 140 141 #: meneame-comments-options.php:17 7141 #: meneame-comments-options.php:175 142 142 msgid "Menéame Configuration" 143 143 msgstr "" 144 144 145 #: meneame-comments-options.php:1 81145 #: meneame-comments-options.php:179 146 146 msgid "Comments Feed URL" 147 147 msgstr "" 148 148 149 #: meneame-comments-options.php:18 5149 #: meneame-comments-options.php:183 150 150 msgid "URL ID Parameter" 151 151 msgstr "" 152 152 153 #: meneame-comments-options.php:18 9153 #: meneame-comments-options.php:187 154 154 msgid "URL Karma Parameter" 155 155 msgstr "" 156 156 157 #: meneame-comments-options.php:19 3157 #: meneame-comments-options.php:191 158 158 msgid "Minimal Karma" 159 159 msgstr "" 160 160 161 #: meneame-comments-options.php:19 9161 #: meneame-comments-options.php:197 162 162 msgid "Cancel" 163 163 msgstr "" 164 164 165 #: meneame-comments-options.php:20 4165 #: meneame-comments-options.php:202 166 166 msgid "Management" 167 167 msgstr "" 168 168 169 #: meneame-comments-options.php:20 7169 #: meneame-comments-options.php:205 170 170 msgid "Are you sure you want to delete all Meneame Comments" 171 171 msgstr "" 172 172 173 #: meneame-comments.php:196 174 #, php-format 175 msgid "Post %s: Error loading from Meneame" 176 msgstr "" 177 -
meneame-comments-to-wp/trunk/meneame-comments.php
r169967 r171734 178 178 global $meneame_comments__defaults; 179 179 180 $htmlCode = file_get_contents($url); 180 // Probe standar system from PHP to load Meneame content ... 181 $readOK = false; 182 if ( $htmlCode = file_get_contents($url) ) { 183 $readOK = true; 184 }else{ 185 // ... not correct ... probe WordPress system. 186 require_once(ABSPATH . WPINC . '/rss.php'); 187 $htmlObj = _fetch_remote_file($url); 188 if ( $htmlObj ) { 189 $readOK = true; 190 $htmlCode = $htmlObj->results; 191 } 192 } 193 194 // If not run, alert user 195 if ( !$readOK ) { 196 echo 'alert("'. sprintf(__('Post %s: Error loading from Meneame', 'beplugin'), $post_id) .'");'; 197 return false; 198 } 199 181 200 182 201 // Search Patterns
Note: See TracChangeset
for help on using the changeset viewer.