Dotclear

Changeset 1832:cbcdd5611d74


Ignore:
Timestamp:
09/11/13 23:31:36 (12 years ago)
Author:
kevin@…
Branch:
Ticket #1539
Message:

Ticket #1539 : Message d'alert sur la validation d'un contenu non enregistré.

Files:
31 edited

Legend:

Unmodified
Added
Removed
  • admin/js/_post.js

    r1830 r1832  
    146146                         return false; 
    147147                    } 
     148                          
     149                    $('.message, .success, .error, .warning-msg').remove(); 
    148150 
    149151                    if ($(data).find('valid').text() == 1) { 
    150152                         var p = document.createElement('p'); 
    151153                         p.id = 'markup-validator'; 
    152  
    153                          if ($('#markup-validator').length > 0) { 
    154                               $('#markup-validator').remove(); 
    155                          } 
    156154                          
    157                          $('.message, .success, .error').remove(); 
    158155                         $(p).addClass('success'); 
    159156                         $(p).text(dotclear.msg.xhtml_valid); 
     
    163160                         var div = document.createElement('div'); 
    164161                         div.id = 'markup-validator'; 
    165  
    166                          if ($('#markup-validator').length > 0) { 
    167                               $('#markup-validator').remove(); 
    168                          } 
    169162                          
    170                          $('.message, .success, .error').remove(); 
    171163                         $(div).addClass('error'); 
    172164                         $(div).html('<p><strong>' + dotclear.msg.xhtml_not_valid + '</strong></p>' + $(data).find('errors').text()); 
    173165                         $('#entry-content h3').after(div); 
    174166                         $(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); 
    175174                    } 
    176175 
  • inc/admin/lib.dc.page.php

    r1778 r1832  
    577577          self::jsVar('dotclear.msg.xhtml_not_valid', 
    578578               __('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.')). 
    579581          self::jsVar('dotclear.msg.confirm_change_post_format', 
    580582               __('You have unsaved changes. Switch post format will loose these changes. Proceed anyway?')). 
  • locales/_pot/main.pot

    r1718 r1832  
    30013001msgstr "" 
    30023002 
     3003#: inc/admin/lib.dc.page.php:469 
     3004msgid "Attention: an audit of a content not yet registered." 
     3005msgstr "" 
     3006 
    30033007#: inc/admin/lib.dc.page.php:471 
    30043008msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 
  • locales/bn/main.po

    r1718 r1832  
    21982198msgstr "" 
    21992199 
     2200msgid "Attention: an audit of a content not yet registered." 
     2201msgstr "" 
     2202 
    22002203msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 
    22012204msgstr "" 
  • locales/ca/main.po

    r1718 r1832  
    22782278msgstr "" 
    22792279 
     2280msgid "Attention: an audit of a content not yet registered." 
     2281msgstr "" 
     2282 
    22802283msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 
    22812284msgstr "" 
  • locales/cs/main.po

    r1718 r1832  
    22012201msgstr "Jsou tam XHTML chyby.." 
    22022202 
     2203msgid "Attention: an audit of a content not yet registered." 
     2204msgstr "" 
     2205 
    22032206msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 
    22042207msgstr "" 
  • locales/da/main.po

    r1718 r1832  
    22092209msgstr "" 
    22102210 
     2211msgid "Attention: an audit of a content not yet registered." 
     2212msgstr "" 
     2213 
    22112214msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 
    22122215msgstr "" 
  • locales/de/main.po

    r1718 r1832  
    22012201msgstr "Es gibt XHTML-Markup-Fehler." 
    22022202 
     2203msgid "Attention: an audit of a content not yet registered." 
     2204msgstr "" 
     2205 
    22032206msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 
    22042207msgstr "Du hast Änderungen nicht gespeichert. Wenn du das Format des Eintrags änderst, gehen die Änderungen verloren. Trotzdem fortfahren?" 
  • locales/en/main.po

    r1718 r1832  
    21612161msgstr "" 
    21622162 
     2163msgid "Attention: an audit of a content not yet registered." 
     2164msgstr "" 
     2165 
    21632166msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 
    21642167msgstr "" 
  • locales/eo/main.po

    r1718 r1832  
    21482148msgstr "" 
    21492149 
     2150msgid "Attention: an audit of a content not yet registered." 
     2151msgstr "" 
     2152 
    21502153msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 
    21512154msgstr "" 
  • locales/es-ar/main.po

    r1718 r1832  
    22162216msgstr "Hay errores en el lenguaje de marcas XHTML." 
    22172217 
     2218msgid "Attention: an audit of a content not yet registered." 
     2219msgstr "" 
     2220 
    22182221msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 
    22192222msgstr "" 
  • locales/es/main.po

    r1718 r1832  
    22212221msgstr "Hay errores en las etiquetas XHTML." 
    22222222 
     2223msgid "Attention: an audit of a content not yet registered." 
     2224msgstr "" 
     2225 
    22232226msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 
    22242227msgstr "" 
  • locales/eu/main.po

    r1718 r1832  
    21482148msgstr "" 
    21492149 
     2150msgid "Attention: an audit of a content not yet registered." 
     2151msgstr "" 
     2152 
    21502153msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 
    21512154msgstr "" 
  • locales/fr/main.po

    r1786 r1832  
    23132313msgstr "Il y a des erreurs XHTML." 
    23142314 
     2315msgid "Attention: an audit of a content not yet registered." 
     2316msgstr "Attention : la vérification porte sur un contenu non encore enregistré." 
     2317 
    23152318msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 
    23162319msgstr "Vous avez des modifications non sauvegardées. Changer de format vous fera perdre ces modifications. Continuer ?" 
  • locales/hu/main.po

    r1718 r1832  
    22572257msgstr "Vannak hibák az XHTML kódban." 
    22582258 
     2259msgid "Attention: an audit of a content not yet registered." 
     2260msgstr "" 
     2261 
    22592262msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 
    22602263msgstr "" 
  • locales/it/main.po

    r1718 r1832  
    22002200msgstr "Sono stati trovati degli errori XHTML." 
    22012201 
     2202msgid "Attention: an audit of a content not yet registered." 
     2203msgstr "" 
     2204 
    22022205msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 
    22032206msgstr "" 
  • locales/ja/main.po

    r1718 r1832  
    22302230msgstr "XHTMLマークアップエラーがあります。" 
    22312231 
     2232msgid "Attention: an audit of a content not yet registered." 
     2233msgstr "" 
     2234 
    22322235msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 
    22332236msgstr "" 
  • locales/ko/main.po

    r1718 r1832  
    22302230msgstr "XHTML 오류가 있습니다." 
    22312231 
     2232msgid "Attention: an audit of a content not yet registered." 
     2233msgstr "" 
     2234 
    22322235msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 
    22332236msgstr "" 
  • locales/lt/main.po

    r1718 r1832  
    20102010msgstr "Yra XHTML markup klaidų." 
    20112011 
     2012msgid "Attention: an audit of a content not yet registered." 
     2013msgstr "" 
     2014 
    20122015msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 
    20132016msgstr "Yra neišsaugotų pakeitimų. Įrašo formato keitimas panaikins visus atnaujinimus. Tęsti?" 
  • locales/nl/main.po

    r1718 r1832  
    21622162msgstr "" 
    21632163 
     2164msgid "Attention: an audit of a content not yet registered." 
     2165msgstr "" 
     2166 
    21642167msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 
    21652168msgstr "" 
  • locales/oc/main.po

    r1718 r1832  
    21812181msgstr "" 
    21822182 
     2183msgid "Attention: an audit of a content not yet registered." 
     2184msgstr "" 
     2185 
    21832186msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 
    21842187msgstr "" 
  • locales/pl/main.po

    r1718 r1832  
    21742174msgstr "Wystąpiły błędy składni XHTML." 
    21752175 
     2176msgid "Attention: an audit of a content not yet registered." 
     2177msgstr "" 
     2178 
    21762179msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 
    21772180msgstr "Niektóre zmiany nie zostały zachowane. Zmiana formatu wpisu spowoduje że zostaną utracone. Kontynuować?" 
  • locales/pt-br/main.po

    r1718 r1832  
    22972297msgstr "Têm erros no XHTML." 
    22982298 
     2299msgid "Attention: an audit of a content not yet registered." 
     2300msgstr "" 
     2301 
    22992302msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 
    23002303msgstr "" 
  • locales/pt/main.po

    r1718 r1832  
    22082208msgstr "O código XHTML contem erros." 
    22092209 
     2210msgid "Attention: an audit of a content not yet registered." 
     2211msgstr "" 
     2212 
    22102213msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 
    22112214msgstr "" 
  • locales/ro/main.po

    r1718 r1832  
    21592159msgstr "" 
    21602160 
     2161msgid "Attention: an audit of a content not yet registered." 
     2162msgstr "" 
     2163 
    21612164msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 
    21622165msgstr "" 
  • locales/ru/main.po

    r1718 r1832  
    22012201msgstr "В разметке XHTML есть ошибки." 
    22022202 
     2203msgid "Attention: an audit of a content not yet registered." 
     2204msgstr "" 
     2205 
    22032206msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 
    22042207msgstr "Вы не сохранили изменения. Переключение формата поста  приведет к потере этих изменений. Продолжить?" 
  • locales/sr/main.po

    r1718 r1832  
    22432243msgstr "Il y a des erreurs XHTML." 
    22442244 
     2245msgid "Attention: an audit of a content not yet registered." 
     2246msgstr "Attention : la vérification porte sur un contenu non encore enregistré." 
     2247 
    22452248msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 
    22462249msgstr "" 
  • locales/sv/main.po

    r1718 r1832  
    21482148msgstr "" 
    21492149 
     2150msgid "Attention: an audit of a content not yet registered." 
     2151msgstr "" 
     2152 
    21502153msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 
    21512154msgstr "" 
  • locales/te/main.po

    r1718 r1832  
    22272227msgstr "" 
    22282228 
     2229msgid "Attention: an audit of a content not yet registered." 
     2230msgstr "" 
     2231 
    22292232msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 
    22302233msgstr "" 
  • locales/tr/main.po

    r1718 r1832  
    22042204msgstr "XHTML markup hataları var." 
    22052205 
     2206msgid "Attention: an audit of a content not yet registered." 
     2207msgstr "" 
     2208 
    22062209msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 
    22072210msgstr "" 
  • locales/zh-cn/main.po

    r1718 r1832  
    22072207msgstr "这是 XHTML 标记的错误。" 
    22082208 
     2209msgid "Attention: an audit of a content not yet registered." 
     2210msgstr "" 
     2211 
    22092212msgid "You have unsaved changes. Switch post format will loose these changes. Proceed anyway?" 
    22102213msgstr "" 
Note: See TracChangeset for help on using the changeset viewer.

Sites map