Changeset 1832:cbcdd5611d74
- Timestamp:
- 09/11/13 23:31:36 (12 years ago)
- Branch:
- Ticket #1539
- Files:
-
- 31 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/js/_post.js
r1830 r1832 146 146 return false; 147 147 } 148 149 $('.message, .success, .error, .warning-msg').remove(); 148 150 149 151 if ($(data).find('valid').text() == 1) { 150 152 var p = document.createElement('p'); 151 153 p.id = 'markup-validator'; 152 153 if ($('#markup-validator').length > 0) {154 $('#markup-validator').remove();155 }156 154 157 $('.message, .success, .error').remove();158 155 $(p).addClass('success'); 159 156 $(p).text(dotclear.msg.xhtml_valid); … … 163 160 var div = document.createElement('div'); 164 161 div.id = 'markup-validator'; 165 166 if ($('#markup-validator').length > 0) {167 $('#markup-validator').remove();168 }169 162 170 $('.message, .success, .error').remove();171 163 $(div).addClass('error'); 172 164 $(div).html('<p><strong>' + dotclear.msg.xhtml_not_valid + '</strong></p>' + $(data).find('errors').text()); 173 165 $('#entry-content h3').after(div); 174 166 $(div).backgroundFade({sColor:'#ffdec8',eColor:'#ffbaba',steps:20}); 167 } 168 169 if ( $('#post_excerpt').text() != excerpt_content || $('#post_content').text() != post_content ) { 170 var pn = document.createElement('p'); 171 $(pn).addClass('warning-msg'); 172 $(pn).text(dotclear.msg.warning_validate_no_save_content); 173 $('#entry-content h3').after(pn); 175 174 } 176 175 -
inc/admin/lib.dc.page.php
r1778 r1832 577 577 self::jsVar('dotclear.msg.xhtml_not_valid', 578 578 __('There are XHTML markup errors.')). 579 self::jsVar('dotclear.msg.warning_validate_no_save_content', 580 __('Attention: an audit of a content not yet registered.')). 579 581 self::jsVar('dotclear.msg.confirm_change_post_format', 580 582 __('You have unsaved changes. Switch post format will loose these changes. Proceed anyway?')). -
locales/_pot/main.pot
r1718 r1832 3001 3001 msgstr "" 3002 3002 3003 #: inc/admin/lib.dc.page.php:469 3004 msgid "Attention: an audit of a content not yet registered." 3005 msgstr "" 3006 3003 3007 #: inc/admin/lib.dc.page.php:471 3004 3008 msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" -
locales/bn/main.po
r1718 r1832 2198 2198 msgstr "" 2199 2199 2200 msgid "Attention: an audit of a content not yet registered." 2201 msgstr "" 2202 2200 2203 msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 2201 2204 msgstr "" -
locales/ca/main.po
r1718 r1832 2278 2278 msgstr "" 2279 2279 2280 msgid "Attention: an audit of a content not yet registered." 2281 msgstr "" 2282 2280 2283 msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 2281 2284 msgstr "" -
locales/cs/main.po
r1718 r1832 2201 2201 msgstr "Jsou tam XHTML chyby.." 2202 2202 2203 msgid "Attention: an audit of a content not yet registered." 2204 msgstr "" 2205 2203 2206 msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 2204 2207 msgstr "" -
locales/da/main.po
r1718 r1832 2209 2209 msgstr "" 2210 2210 2211 msgid "Attention: an audit of a content not yet registered." 2212 msgstr "" 2213 2211 2214 msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 2212 2215 msgstr "" -
locales/de/main.po
r1718 r1832 2201 2201 msgstr "Es gibt XHTML-Markup-Fehler." 2202 2202 2203 msgid "Attention: an audit of a content not yet registered." 2204 msgstr "" 2205 2203 2206 msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 2204 2207 msgstr "Du hast Änderungen nicht gespeichert. Wenn du das Format des Eintrags änderst, gehen die Änderungen verloren. Trotzdem fortfahren?" -
locales/en/main.po
r1718 r1832 2161 2161 msgstr "" 2162 2162 2163 msgid "Attention: an audit of a content not yet registered." 2164 msgstr "" 2165 2163 2166 msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 2164 2167 msgstr "" -
locales/eo/main.po
r1718 r1832 2148 2148 msgstr "" 2149 2149 2150 msgid "Attention: an audit of a content not yet registered." 2151 msgstr "" 2152 2150 2153 msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 2151 2154 msgstr "" -
locales/es-ar/main.po
r1718 r1832 2216 2216 msgstr "Hay errores en el lenguaje de marcas XHTML." 2217 2217 2218 msgid "Attention: an audit of a content not yet registered." 2219 msgstr "" 2220 2218 2221 msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 2219 2222 msgstr "" -
locales/es/main.po
r1718 r1832 2221 2221 msgstr "Hay errores en las etiquetas XHTML." 2222 2222 2223 msgid "Attention: an audit of a content not yet registered." 2224 msgstr "" 2225 2223 2226 msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 2224 2227 msgstr "" -
locales/eu/main.po
r1718 r1832 2148 2148 msgstr "" 2149 2149 2150 msgid "Attention: an audit of a content not yet registered." 2151 msgstr "" 2152 2150 2153 msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 2151 2154 msgstr "" -
locales/fr/main.po
r1786 r1832 2313 2313 msgstr "Il y a des erreurs XHTML." 2314 2314 2315 msgid "Attention: an audit of a content not yet registered." 2316 msgstr "Attention : la vérification porte sur un contenu non encore enregistré." 2317 2315 2318 msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 2316 2319 msgstr "Vous avez des modifications non sauvegardées. Changer de format vous fera perdre ces modifications. Continuer ?" -
locales/hu/main.po
r1718 r1832 2257 2257 msgstr "Vannak hibák az XHTML kódban." 2258 2258 2259 msgid "Attention: an audit of a content not yet registered." 2260 msgstr "" 2261 2259 2262 msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 2260 2263 msgstr "" -
locales/it/main.po
r1718 r1832 2200 2200 msgstr "Sono stati trovati degli errori XHTML." 2201 2201 2202 msgid "Attention: an audit of a content not yet registered." 2203 msgstr "" 2204 2202 2205 msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 2203 2206 msgstr "" -
locales/ja/main.po
r1718 r1832 2230 2230 msgstr "XHTMLマークアップエラーがあります。" 2231 2231 2232 msgid "Attention: an audit of a content not yet registered." 2233 msgstr "" 2234 2232 2235 msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 2233 2236 msgstr "" -
locales/ko/main.po
r1718 r1832 2230 2230 msgstr "XHTML 오류가 있습니다." 2231 2231 2232 msgid "Attention: an audit of a content not yet registered." 2233 msgstr "" 2234 2232 2235 msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 2233 2236 msgstr "" -
locales/lt/main.po
r1718 r1832 2010 2010 msgstr "Yra XHTML markup klaidų." 2011 2011 2012 msgid "Attention: an audit of a content not yet registered." 2013 msgstr "" 2014 2012 2015 msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 2013 2016 msgstr "Yra neišsaugotų pakeitimų. Įrašo formato keitimas panaikins visus atnaujinimus. Tęsti?" -
locales/nl/main.po
r1718 r1832 2162 2162 msgstr "" 2163 2163 2164 msgid "Attention: an audit of a content not yet registered." 2165 msgstr "" 2166 2164 2167 msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 2165 2168 msgstr "" -
locales/oc/main.po
r1718 r1832 2181 2181 msgstr "" 2182 2182 2183 msgid "Attention: an audit of a content not yet registered." 2184 msgstr "" 2185 2183 2186 msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 2184 2187 msgstr "" -
locales/pl/main.po
r1718 r1832 2174 2174 msgstr "Wystąpiły błędy składni XHTML." 2175 2175 2176 msgid "Attention: an audit of a content not yet registered." 2177 msgstr "" 2178 2176 2179 msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 2177 2180 msgstr "Niektóre zmiany nie zostały zachowane. Zmiana formatu wpisu spowoduje że zostaną utracone. Kontynuować?" -
locales/pt-br/main.po
r1718 r1832 2297 2297 msgstr "Têm erros no XHTML." 2298 2298 2299 msgid "Attention: an audit of a content not yet registered." 2300 msgstr "" 2301 2299 2302 msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 2300 2303 msgstr "" -
locales/pt/main.po
r1718 r1832 2208 2208 msgstr "O código XHTML contem erros." 2209 2209 2210 msgid "Attention: an audit of a content not yet registered." 2211 msgstr "" 2212 2210 2213 msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 2211 2214 msgstr "" -
locales/ro/main.po
r1718 r1832 2159 2159 msgstr "" 2160 2160 2161 msgid "Attention: an audit of a content not yet registered." 2162 msgstr "" 2163 2161 2164 msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 2162 2165 msgstr "" -
locales/ru/main.po
r1718 r1832 2201 2201 msgstr "В разметке XHTML есть ошибки." 2202 2202 2203 msgid "Attention: an audit of a content not yet registered." 2204 msgstr "" 2205 2203 2206 msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 2204 2207 msgstr "Вы не сохранили изменения. Переключение формата поста приведет к потере этих изменений. Продолжить?" -
locales/sr/main.po
r1718 r1832 2243 2243 msgstr "Il y a des erreurs XHTML." 2244 2244 2245 msgid "Attention: an audit of a content not yet registered." 2246 msgstr "Attention : la vérification porte sur un contenu non encore enregistré." 2247 2245 2248 msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 2246 2249 msgstr "" -
locales/sv/main.po
r1718 r1832 2148 2148 msgstr "" 2149 2149 2150 msgid "Attention: an audit of a content not yet registered." 2151 msgstr "" 2152 2150 2153 msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 2151 2154 msgstr "" -
locales/te/main.po
r1718 r1832 2227 2227 msgstr "" 2228 2228 2229 msgid "Attention: an audit of a content not yet registered." 2230 msgstr "" 2231 2229 2232 msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 2230 2233 msgstr "" -
locales/tr/main.po
r1718 r1832 2204 2204 msgstr "XHTML markup hataları var." 2205 2205 2206 msgid "Attention: an audit of a content not yet registered." 2207 msgstr "" 2208 2206 2209 msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 2207 2210 msgstr "" -
locales/zh-cn/main.po
r1718 r1832 2207 2207 msgstr "这是 XHTML 标记的错误。" 2208 2208 2209 msgid "Attention: an audit of a content not yet registered." 2210 msgstr "" 2211 2209 2212 msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 2210 2213 msgstr ""
Note: See TracChangeset
for help on using the changeset viewer.