From b0cf3360899ecc085075db1b64d55d582d708390 Mon Sep 17 00:00:00 2001
From: Fumii Chuu "+e+"s?s:a+16383));1===i?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return o.join("")};for(var r=[],i=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=a.length;ss&&(n=s-l),o=n;o>=0;o--){for(var h=!0,f=0;fu);c++){var h=e.getLine(l++);a=null==a?h:a+"\n"+h}s*=2,t.lastIndex=n.ch;var f=t.exec(a);if(f){var d=a.slice(0,f.index).split("\n"),p=f[0].split("\n"),m=n.line+d.length-1,g=d[d.length-1].length;return{from:r(m,g),to:r(m+p.length-1,1==p.length?g+p[0].length:p[p.length-1].length),match:f}}}})(e,l,n)})}String.prototype.normalize?(t=function(e){return e.normalize("NFD").toLowerCase()},n=function(e){return e.normalize("NFD")}):(t=function(e){return e.toLowerCase()},n=function(e){return e}),l.prototype={findNext:function(){return this.find(!1)},findPrevious:function(){return this.find(!0)},find:function(t){for(var n=this.matches(t,this.doc.clipPos(t?this.pos.from:this.pos.to));n&&0==e.cmpPos(n.from,n.to);)t?n.from.ch?n.from=r(n.from.line,n.from.ch-1):n=n.from.line==this.doc.firstLine()?null:this.matches(t,this.doc.clipPos(r(n.from.line-1))):n.to.ch>1,c=-7,h=n?i-1:0,f=n?-1:1,d=e[t+h];for(h+=f,o=d&(1<<-c)-1,d>>=-c,c+=s;c>0;o=256*o+e[t+h],h+=f,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+h],h+=f,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,r),o-=u}return(d?-1:1)*a*Math.pow(2,o-r)},n.write=function(e,t,n,r,i,o){var a,s,l,u=8*o-i-1,c=(1<>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,p=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+h>=1?f/l:f*Math.pow(2,1-h))*l>=2&&(a++,l/=2),a+h>=c?(s=0,a=c):a+h>=1?(s=(t*l-1)*Math.pow(2,i),a+=h):(s=t*Math.pow(2,h-1)*Math.pow(2,i),a=0));i>=8;e[n+d]=255&s,d+=p,s/=256,i-=8);for(a=a<0;e[n+d]=255&a,d+=p,a/=256,u-=8);e[n+d-p]|=128*m}},{}],17:[function(e,t,n){(function(e){!function(e){"use strict";var r={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:/^ {0,3}(`{3,}|~{3,})([^`~\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|\\n*|\\n*|?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:v,table:v,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/};function i(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||C.defaults,this.rules=r.normal,this.options.pedantic?this.rules=r.pedantic:this.options.gfm&&(this.rules=r.gfm)}r._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,r._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,r.def=d(r.def).replace("label",r._label).replace("title",r._title).getRegex(),r.bullet=/(?:[*+-]|\d{1,9}\.)/,r.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,r.item=d(r.item,"gm").replace(/bull/g,r.bullet).getRegex(),r.list=d(r.list).replace(/bull/g,r.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+r.def.source+")").getRegex(),r._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",r._comment=//,r.html=d(r.html,"i").replace("comment",r._comment).replace("tag",r._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),r.paragraph=d(r._paragraph).replace("hr",r.hr).replace("heading"," {0,3}#{1,6} +").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}|~{3,})[^`\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",r._tag).getRegex(),r.blockquote=d(r.blockquote).replace("paragraph",r.paragraph).getRegex(),r.normal=y({},r),r.gfm=y({},r.normal,{nptable:/^ *([^|\n ].*\|.*)\n *([-:]+ *\|[-| :]*)(?:\n((?:.*[^>\n ].*(?:\n|$))*)\n*|$)/,table:/^ *\|(.+)\n *\|?( *[-:]+[-| :]*)(?:\n((?: *[^>\n ].*(?:\n|$))*)\n*|$)/}),r.pedantic=y({},r.normal,{html:d("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?\\1> *(?:\\n{2,}|\\s*$)|
\n":"'+(n?e:h(e,!0))+"
"},s.prototype.blockquote=function(e){return""+(n?e:h(e,!0))+"
\n"+e+"
\n"},s.prototype.html=function(e){return e},s.prototype.heading=function(e,t,n,r){return this.options.headerIds?"
\n":"
\n"},s.prototype.list=function(e,t,n){var r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+""+r+">\n"},s.prototype.listitem=function(e){return"\n\n"+e+"\n"+t+"
\n"},s.prototype.tablerow=function(e){return"\n"+e+" \n"},s.prototype.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+""+n+">\n"},s.prototype.strong=function(e){return""+e+""},s.prototype.em=function(e){return""+e+""},s.prototype.codespan=function(e){return""+e+"
"},s.prototype.br=function(){return this.options.xhtml?"
":"
"},s.prototype.del=function(e){return""+e+""},s.prototype.link=function(e,t,n){if(null===(e=p(this.options.sanitize,this.options.baseUrl,e)))return n;var r='"+n+""},s.prototype.image=function(e,t,n){if(null===(e=p(this.options.sanitize,this.options.baseUrl,e)))return n;var r='":">"},s.prototype.text=function(e){return e},l.prototype.strong=l.prototype.em=l.prototype.codespan=l.prototype.del=l.prototype.text=function(e){return e},l.prototype.link=l.prototype.image=function(e,t,n){return""+n},l.prototype.br=function(){return""},u.parse=function(e,t){return new u(t).parse(e)},u.prototype.parse=function(e){this.inline=new a(e.links,this.options),this.inlineText=new a(e.links,y({},this.options,{renderer:new l})),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},u.prototype.next=function(){return this.token=this.tokens.pop(),this.token},u.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},u.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},u.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,f(this.inlineText.output(this.token.text)),this.slugger);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,r,i="",o="";for(n="",e=0;e
"+h(e.message+"",!0)+"";throw e}}v.exec=v,C.options=C.setOptions=function(e){return y(C.defaults,e),C},C.getDefaults=function(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:new s,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,xhtml:!1}},C.defaults=C.getDefaults(),C.Parser=u,C.parser=u.parse,C.Renderer=s,C.TextRenderer=l,C.Lexer=i,C.lexer=i.lex,C.InlineLexer=a,C.inlineLexer=a.output,C.Slugger=c,C.parse=C,void 0!==t&&"object"==typeof n?t.exports=C:e.marked=C}(this||("undefined"!=typeof window?window:e))}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],18:[function(e,t,n){(function(n,r){var i;!function(){"use strict";(i=function(e,t,n,i){i=i||{},this.dictionary=null,this.rules={},this.dictionaryTable={},this.compoundRules=[],this.compoundRuleCodes={},this.replacementTable=[],this.flags=i.flags||{},this.memoized={},this.loaded=!1;var o,a,s,l,u,c=this;function h(e,t){var n=c._readFile(e,null,i.asyncLoad);i.asyncLoad?n.then(function(e){t(e)}):t(n)}function f(e){t=e,n&&p()}function d(e){n=e,t&&p()}function p(){for(c.rules=c._parseAFF(t),c.compoundRuleCodes={},a=0,l=c.compoundRules.length;a
'+(n?e:o(e,!0))+"
\n":""+(n?e:o(e,!0))+"
"}blockquote(e){return"\n"+e+"\n"}html(e){return e}heading(e,t,n,r){return this.options.headerIds?"
"+e+"
\n"}table(e,t){return t&&(t=""+t+""),""+e+"
"}br(){return this.options.xhtml?""+h(e.message+"",!0)+"";throw e}}m.options=m.setOptions=function(e){return u(m.defaults,e),d(m.defaults),m},m.getDefaults=f,m.defaults=p,m.Parser=i,m.parser=i.parse,m.Renderer=o,m.TextRenderer=a,m.Lexer=r,m.lexer=r.lex,m.InlineLexer=s,m.inlineLexer=s.output,m.Slugger=l,m.parse=m,t.exports=m},{"./InlineLexer.js":17,"./Lexer.js":18,"./Parser.js":19,"./Renderer.js":20,"./Slugger.js":21,"./TextRenderer.js":22,"./defaults.js":23,"./helpers.js":24}],26:[function(e,t,n){const{noopTest:r,edit:i,merge:o}=e("./helpers.js"),a={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:/^ {0,3}(`{3,}|~{3,})([^`~\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|\\n*|\\n*|?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:r,table:r,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};a.def=i(a.def).replace("label",a._label).replace("title",a._title).getRegex(),a.bullet=/(?:[*+-]|\d{1,9}\.)/,a.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,a.item=i(a.item,"gm").replace(/bull/g,a.bullet).getRegex(),a.list=i(a.list).replace(/bull/g,a.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+a.def.source+")").getRegex(),a._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",a._comment=//,a.html=i(a.html,"i").replace("comment",a._comment).replace("tag",a._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),a.paragraph=i(a._paragraph).replace("hr",a.hr).replace("heading"," {0,3}#{1,6} +").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}|~{3,})[^`\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",a._tag).getRegex(),a.blockquote=i(a.blockquote).replace("paragraph",a.paragraph).getRegex(),a.normal=o({},a),a.gfm=o({},a.normal,{nptable:/^ *([^|\n ].*\|.*)\n *([-:]+ *\|[-| :]*)(?:\n((?:.*[^>\n ].*(?:\n|$))*)\n*|$)/,table:/^ *\|(.+)\n *\|?( *[-:]+[-| :]*)(?:\n((?: *[^>\n ].*(?:\n|$))*)\n*|$)/}),a.pedantic=o({},a.normal,{html:i("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?\\1> *(?:\\n{2,}|\\s*$)|
YYYY-MM-DD Hours:Minutes:Seconds<\/code>",
- "start-typing-a-page-title-to-see-a-list-of-suggestions": "Start typing a page title to see a list of suggestions.",
- "field-used-when-ordering-content-by-position": "Field used when ordering content by position",
- "write-a-template-name-to-filter-the-page-in-the-theme-and-change-the-style-of-the-page": "Write a template name to filter the page in the theme and change the style of the page.",
- "write-the-tags-separated-by-commas": "Write the tags separated by comma.",
- "apply-code-noindex-code-to-this-page": "Apply noindex<\/code> to this page.",
- "this-tells-search-engines-not-to-show-this-page-in-their-search-results": "This tells search engines not to show this page in their search results.",
- "apply-code-nofollow-code-to-this-page": "Apply nofollow<\/code> to this page.",
- "this-tells-search-engines-not-to-follow-links-on-this-page": "This tells search engines not to follow links on this page.",
- "apply-code-noarchive-code-to-this-page": "Apply noarchive<\/code> to this page.",
- "this-tells-search-engines-not-to-save-a-cached-copy-of-this-page": "This tells search engines not to save a cached copy of this page.",
- "uncategorized": "Uncategorized",
- "done": "Done",
+ "set-a-cover-image-from-external-url,-such-as-a-cdn-or-some-server-dedicated-for-images": "Define uma imagem de capa externa, como de uma CDN ou dum servidor dedicado de imagens.",
+ "user": "Utilizador",
+ "date-format-format": "Formato da data: YYYY-MM-DD Hours:Minutes:Seconds<\/code>",
+ "start-typing-a-page-title-to-see-a-list-of-suggestions": "Começa a escrever o título duma página para ver uma lista de sugestões.",
+ "field-used-when-ordering-content-by-position": "Campo usado quando se ordena o conteúdo por posição",
+ "write-a-template-name-to-filter-the-page-in-the-theme-and-change-the-style-of-the-page": "Escreve o nome dum template para filtrar a página no tema e mudar o estilo da página.",
+ "write-the-tags-separated-by-commas": "Escreve as tags separadas por vírgulas.",
+ "apply-code-noindex-code-to-this-page": "Aplica noindex<\/code> a esta página.",
+ "this-tells-search-engines-not-to-show-this-page-in-their-search-results": "Isto diz aos motores de busca que esta página para não apresentar esta página nos seus resultados de pesquisa.",
+ "apply-code-nofollow-code-to-this-page": "Aplicar nofollow<\/code> a esta página.",
+ "this-tells-search-engines-not-to-follow-links-on-this-page": "Isto diz aos motores de busca para não seguir os links nesta página.",
+ "apply-code-noarchive-code-to-this-page": "Aplicar noarchive<\/code> a esta página.",
+ "this-tells-search-engines-not-to-save-a-cached-copy-of-this-page": "Isto diz aos motores de busca que não gravem uma cópia desta página na cache.",
+ "uncategorized": "Não categorizado",
+ "done": "Pronto",
"delete-category": "Delete category",
- "are-you-sure-you-want-to-delete-this-category?": "Are you sure you want to delete this category?",
- "confirm-new-password": "Confirm new password",
- "the-nickname-is-almost-used-in-the-themes-to-display-the-author-of-the-content": "The nickname is almost used in the themes to display the author of the content",
- "allow-unicode": "Allow Unicode",
- "allow-unicode-characters-in-the-url-and-some-part-of-the-system": "Allow Unicode characters in the URL and some part of the system.",
- "variables-allowed": "Variables allowed",
+ "are-you-sure-you-want-to-delete-this-category?": "Tens a certeza que queres apagar esta categoria?",
+ "confirm-new-password": "Confirmar a nova senha",
+ "the-nickname-is-almost-used-in-the-themes-to-display-the-author-of-the-content": "O nickname é usado em praticamente todos os temas para mostrar o autor do conteúdo",
+ "allow-unicode": "Permitir Unicode",
+ "allow-unicode-characters-in-the-url-and-some-part-of-the-system": "Permitir caracteres Unicode no URL e nalgumas partes do sistema.",
+ "variables-allowed": "Variáveis permitidas",
"tag": "Tag",
- "drag-and-drop-to-sort-the-plugins": "Drag and Drop to sort the plugins.",
+ "drag-and-drop-to-sort-the-plugins": "Arrastar (Drag and Drop) para re-ordenar os plugins.",
"seo": "SEO",
- "documentation": "Documentation",
+ "documentation": "Documentação",
"forum-support": "Forum support",
"chat-support": "Chat support",
- "quick-links": "Quick links",
- "leave-empty-for-autocomplete-by-bludit": "Leave empty for autocomplete by Bludit.",
- "choose-a-password-for-the-user-admin": "Choose a password for the user admin<\/code>",
- "access-denied": "Access denied",
- "choose-images-to-upload": "Choose images to upload",
- "insert": "Insert",
+ "quick-links": "Links rápidos",
+ "leave-empty-for-autocomplete-by-bludit": "Deixar em branco para que o Bludit preencha automáticamente.",
+ "choose-a-password-for-the-user-admin": "Escolhe uma password para o utilizador admin<\/code>",
+ "access-denied": "Acesso não permitido",
+ "choose-images-to-upload": "Escolhe imagens para upload",
+ "insert": "Inserir",
"upload": "Upload",
"autosave": "Autosave",
- "the-content-is-saved-as-a-draft-to-publish-it": "The content is saved as a draft. To publish it click on the button Publish<\/b> or if you still working on it click on Save as draft<\/b>.",
+ "the-content-is-saved-as-a-draft-to-publish-it": "O conteúdo está gravado como rascunho. Para publicar clica no butão Publicar<\/b>, ou caso ainda estejas a trabalhar no conteúdo clica em Gravar como rascunho<\/b>.",
"site": "Site",
- "first": "First",
- "last": "Last",
- "there-are-no-pages-at-this-moment": "There are no pages at this moment.",
- "there-are-no-static-pages-at-this-moment": "There are no static pages at this moment.",
- "there-are-no-draft-pages-at-this-moment": "There are no draft pages at this moment.",
- "good-morning": "Good morning",
- "good-afternoon": "Good afternoon",
- "good-evening": "Good evening",
- "good-night": "Good night",
- "hello": "Hello",
- "there-are-no-images-for-the-page": "There are no images for the page.",
- "select-cover-image": "Select cover image",
- "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.",
- "no-pages-found": "No pages found",
- "system-updated": "System updated",
- "security": "Security",
- "remove-cover-image": "Remove cover image",
- "width": "Width",
- "height": "Height",
- "quality": "Quality",
- "thumbnails": "Thumbnails",
- "thumbnail": "Thumbnail",
- "thumbnail-width-in-pixels": "Thumbnail width in pixels (px).",
- "thumbnail-height-in-pixels": "Thumbnail height in pixels (px).",
- "thumbnail-quality-in-percentage": "Thumbnail quality in percentage (%).",
- "maximum-load-file-size-allowed:": "Maximum load file size allowed:",
- "file-type-is-not-supported": "File type is not supported. Allowed types:",
- "page-content": "Page content",
+ "first": "Primeiro",
+ "last": "Último",
+ "there-are-no-pages-at-this-moment": "Não há páginas de momento.",
+ "there-are-no-static-pages-at-this-moment": "Não há páginas estáticas de momento.",
+ "there-are-no-draft-pages-at-this-moment": "Não há rascunhos de momento.",
+ "good-morning": "Bom dia",
+ "good-afternoon": "Boa tarde",
+ "good-evening": "Bom fim de tarde",
+ "good-night": "Boa noite",
+ "hello": "Olá",
+ "there-are-no-images-for-the-page": "Não há imagens para esta página.",
+ "select-cover-image": "Escolhe a imagem de capa",
+ "this-plugin-depends-on-the-following-plugins": "Este plugin depende dos seguintes plugins.",
+ "no-pages-found": "Não foi encontrada nenhuma página",
+ "system-updated": "Sistema actualizado",
+ "security": "Segurança",
+ "remove-cover-image": "Remover imagem de capa",
+ "width": "Largura",
+ "height": "Altura",
+ "quality": "Qualidade",
+ "thumbnails": "Miniaturas",
+ "thumbnail": "Miniatura",
+ "thumbnail-width-in-pixels": "Largura da miniatura em pixels (px).",
+ "thumbnail-height-in-pixels": "Altura da miniatura em pixels (px).",
+ "thumbnail-quality-in-percentage": "Qualidade da miniatura em percentagem (%).",
+ "maximum-load-file-size-allowed:": "Tamanho máximo permitido do ficheiro:",
+ "file-type-is-not-supported": "Tipo de ficheiro não suportado. Tipos de ficheiro suportados:",
+ "page-content": "Conteúdo da página",
"markdown-parser": "Markdown parser",
- "site-logo": "Site logo",
- "search": "Search",
- "search-plugins": "Search plugins",
- "enabled-plugins": "Enabled plugins",
- "disabled-plugins": "Disabled plugins",
- "remove-logo": "Remove logo",
- "preview": "Preview",
- "author-can-write-and-edit-their-own-content": "Author: Can write and edit their own content. Editor: Can write and edit the content of others.",
- "custom-fields": "Custom fields",
- "define-custom-fields-for-the-content": "Define custom fields for the content. Learn more about custom fields in the documentation<\/a>.",
- "start-typing-to-see-a-list-of-suggestions": "Start typing to see a list of suggestions.",
- "view": "View"
-}
\ No newline at end of file
+ "site-logo": "Logótipo do site",
+ "search": "Procurar",
+ "search-plugins": "Procurar plugins",
+ "enabled-plugins": "Plugins activados",
+ "disabled-plugins": "Plugins desactivados",
+ "remove-logo": "Remover logótipo",
+ "preview": "Prever",
+ "author-can-write-and-edit-their-own-content": "Autor: Pode escrever e editar os seus próprios conteúdos. Editor: Pode escrever e editar os seus próprios conteúdos e o dos outros.",
+ "custom-fields": "Campos customizados",
+ "define-custom-fields-for-the-content": "Define campos customizados para o teu conteúdo. Aprende mais sobre os campos customizados na documentação official (em inglês)<\/a>.",
+ "start-typing-to-see-a-list-of-suggestions": "Começa a escrever para ver uma lista de sugestões.",
+ "view": "Ver"
+}
From d42e8665a552f97090d9e89096694997993b8663 Mon Sep 17 00:00:00 2001
From: LimonadaPT
Date: Mon, 3 Feb 2020 23:06:10 +0000
Subject: [PATCH 09/12] Added portuguese translation
Reviewed also _Last update_ date
---
bl-languages/pt_PT.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bl-languages/pt_PT.json b/bl-languages/pt_PT.json
index 2a1f732d..b8542288 100644
--- a/bl-languages/pt_PT.json
+++ b/bl-languages/pt_PT.json
@@ -3,7 +3,7 @@
"native": "Português (Portugal)",
"english-name": "Portuguese (Portugal)",
"locale": "pt_PT",
- "last-update": "2018-06-10",
+ "last-update": "2020-02-03",
"authors": [
"Jacques Schlender (@jcqSCH)",
"Ricardo Pinto",
From 4d0912308d9c55405e5d6cb9c2a8305828dde617 Mon Sep 17 00:00:00 2001
From: Diego Najar
Date: Wed, 5 Feb 2020 20:45:43 +0100
Subject: [PATCH 10/12] Update jstz to detect the timezone in the installation
---
bl-kernel/js/jstz.min.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bl-kernel/js/jstz.min.js b/bl-kernel/js/jstz.min.js
index a6be0f66..a05b7e84 100644
--- a/bl-kernel/js/jstz.min.js
+++ b/bl-kernel/js/jstz.min.js
@@ -1,2 +1,2 @@
-/* jstz.min.js Version: 1.0.6 Build date: 2015-11-04 */
-!function(e){var a=function(){"use strict";var e="s",s={DAY:864e5,HOUR:36e5,MINUTE:6e4,SECOND:1e3,BASELINE_YEAR:2014,MAX_SCORE:864e6,AMBIGUITIES:{"America/Denver":["America/Mazatlan"],"Europe/London":["Africa/Casablanca"],"America/Chicago":["America/Mexico_City"],"America/Asuncion":["America/Campo_Grande","America/Santiago"],"America/Montevideo":["America/Sao_Paulo","America/Santiago"],"Asia/Beirut":["Asia/Amman","Asia/Jerusalem","Europe/Helsinki","Asia/Damascus","Africa/Cairo","Asia/Gaza","Europe/Minsk"],"Pacific/Auckland":["Pacific/Fiji"],"America/Los_Angeles":["America/Santa_Isabel"],"America/New_York":["America/Havana"],"America/Halifax":["America/Goose_Bay"],"America/Godthab":["America/Miquelon"],"Asia/Dubai":["Asia/Yerevan"],"Asia/Jakarta":["Asia/Krasnoyarsk"],"Asia/Shanghai":["Asia/Irkutsk","Australia/Perth"],"Australia/Sydney":["Australia/Lord_Howe"],"Asia/Tokyo":["Asia/Yakutsk"],"Asia/Dhaka":["Asia/Omsk"],"Asia/Baku":["Asia/Yerevan"],"Australia/Brisbane":["Asia/Vladivostok"],"Pacific/Noumea":["Asia/Vladivostok"],"Pacific/Majuro":["Asia/Kamchatka","Pacific/Fiji"],"Pacific/Tongatapu":["Pacific/Apia"],"Asia/Baghdad":["Europe/Minsk","Europe/Moscow"],"Asia/Karachi":["Asia/Yekaterinburg"],"Africa/Johannesburg":["Asia/Gaza","Africa/Cairo"]}},i=function(e){var a=-e.getTimezoneOffset();return null!==a?a:0},r=function(){var a=i(new Date(s.BASELINE_YEAR,0,2)),r=i(new Date(s.BASELINE_YEAR,5,2)),n=a-r;return 0>n?a+",1":n>0?r+",1,"+e:a+",0"},n=function(){var e,a;if("undefined"!=typeof Intl&&"undefined"!=typeof Intl.DateTimeFormat&&(e=Intl.DateTimeFormat(),"undefined"!=typeof e&&"undefined"!=typeof e.resolvedOptions))return a=e.resolvedOptions().timeZone,a&&(a.indexOf("/")>-1||"UTC"===a)?a:void 0},o=function(e){for(var a=new Date(e,0,1,0,0,1,0).getTime(),s=new Date(e,12,31,23,59,59).getTime(),i=a,r=new Date(i).getTimezoneOffset(),n=null,o=null;s-864e5>i;){var t=new Date(i),A=t.getTimezoneOffset();A!==r&&(r>A&&(n=t),A>r&&(o=t),r=A),i+=864e5}return n&&o?{s:u(n).getTime(),e:u(o).getTime()}:!1},u=function l(e,a,i){"undefined"==typeof a&&(a=s.DAY,i=s.HOUR);for(var r=new Date(e.getTime()-a).getTime(),n=e.getTime()+a,o=new Date(r).getTimezoneOffset(),u=r,t=null;n-i>u;){var A=new Date(u),c=A.getTimezoneOffset();if(c!==o){t=A;break}u+=i}return a===s.DAY?l(t,s.HOUR,s.MINUTE):a===s.HOUR?l(t,s.MINUTE,s.SECOND):t},t=function(e,a,s,i){if("N/A"!==s)return s;if("Asia/Beirut"===a){if("Africa/Cairo"===i.name&&13983768e5===e[6].s&&14116788e5===e[6].e)return 0;if("Asia/Jerusalem"===i.name&&13959648e5===e[6].s&&14118588e5===e[6].e)return 0}else if("America/Santiago"===a){if("America/Asuncion"===i.name&&14124816e5===e[6].s&&1397358e6===e[6].e)return 0;if("America/Campo_Grande"===i.name&&14136912e5===e[6].s&&13925196e5===e[6].e)return 0}else if("America/Montevideo"===a){if("America/Sao_Paulo"===i.name&&14136876e5===e[6].s&&1392516e6===e[6].e)return 0}else if("Pacific/Auckland"===a&&"Pacific/Fiji"===i.name&&14142456e5===e[6].s&&13961016e5===e[6].e)return 0;return s},A=function(e,i){for(var r=function(a){for(var r=0,n=0;n=a.rules[n].s&&e[n].e<=a.rules[n].e)){r="N/A";break}if(r=0,r+=Math.abs(e[n].s-a.rules[n].s),r+=Math.abs(a.rules[n].e-e[n].e),r>s.MAX_SCORE){r="N/A";break}}return r=t(e,i,r,a)},n={},o=a.olson.dst_rules.zones,u=o.length,A=s.AMBIGUITIES[i],c=0;u>c;c++){var m=o[c],l=r(o[c]);"N/A"!==l&&(n[m.name]=l)}for(var f in n)if(n.hasOwnProperty(f))for(var d=0;d1&&(a=s[0]-s[1]),s.length>3?s[0]+",1,weird":a<0?s[0]+",1":a>0?s[1]+",1,"+e:s[0]+",0"},o=function(){var e,a;if(Intl&&"undefined"!=typeof Intl&&"undefined"!=typeof Intl.DateTimeFormat&&(e=Intl.DateTimeFormat(),"undefined"!=typeof e&&"undefined"!=typeof e.resolvedOptions))return a=e.resolvedOptions().timeZone,a&&(a.indexOf("/")>-1||"UTC"===a)?a:void 0},t=function(e){for(var a=new Date(e,0,1,0,0,1,0).getTime(),s=new Date(e,12,31,23,59,59).getTime(),i=a,r=new Date(i).getTimezoneOffset(),n=null,o=null;ir&&(o=t),r=A),i+=864e5}return!(!n||!o)&&{s:u(n).getTime(),e:u(o).getTime()}},u=function f(e,a,i){"undefined"==typeof a&&(a=s.DAY,i=s.HOUR);for(var r=new Date(e.getTime()-a).getTime(),n=e.getTime()+a,o=new Date(r).getTimezoneOffset(),t=r,u=null;t=a.rules[n].s&&e[n].e<=a.rules[n].e)){r="N/A";break}if(r=0,r+=Math.abs(e[n].s-a.rules[n].s),r+=Math.abs(a.rules[n].e-e[n].e),r>s.MAX_SCORE){r="N/A";break}}return r=A(e,i,r,a)},n={},o=a.olson.dst_rules.zones,t=o.length,u=s.AMBIGUITIES[i],c=0;c
Date: Wed, 5 Feb 2020 20:57:07 +0100
Subject: [PATCH 11/12] Security bug fixed #1131 and refresh profile picture
after uploaded
---
bl-kernel/admin/views/edit-user.php | 3 +--
bl-kernel/ajax/profile-picture-upload.php | 4 ++++
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/bl-kernel/admin/views/edit-user.php b/bl-kernel/admin/views/edit-user.php
index 22415760..ba279bfa 100644
--- a/bl-kernel/admin/views/edit-user.php
+++ b/bl-kernel/admin/views/edit-user.php
@@ -134,9 +134,8 @@
contentType: false,
processData: false
}).done(function(data) {
- console.log(data);
if (data.status==0) {
- $("#jsprofilePicturePreview").attr('src',json.absoluteURL+"?time="+Math.random());
+ $("#jsprofilePicturePreview").attr('src',data.absoluteURL+"?time="+Math.random());
} else {
showAlert(data.message);
}
diff --git a/bl-kernel/ajax/profile-picture-upload.php b/bl-kernel/ajax/profile-picture-upload.php
index a32e8362..31d49911 100644
--- a/bl-kernel/ajax/profile-picture-upload.php
+++ b/bl-kernel/ajax/profile-picture-upload.php
@@ -11,6 +11,10 @@ if ($username===false) {
ajaxResponse(1, 'Error in username.');
}
+if ( ($login->role()!='admin') && ($login->username()!=$username) ) {
+ ajaxResponse(1, 'Error in username.');
+}
+
if (!isset($_FILES['profilePictureInputFile'])) {
ajaxResponse(1, 'Error trying to upload the profile picture.');
}
From 5cd6283caf5ad4c91ff43475e8614a8b8ec0c419 Mon Sep 17 00:00:00 2001
From: Diego Najar
Date: Wed, 5 Feb 2020 20:59:33 +0100
Subject: [PATCH 12/12] Fix for #1102, show search input on small devices
---
bl-kernel/admin/views/dashboard.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bl-kernel/admin/views/dashboard.php b/bl-kernel/admin/views/dashboard.php
index acd10438..aafb4d81 100644
--- a/bl-kernel/admin/views/dashboard.php
+++ b/bl-kernel/admin/views/dashboard.php
@@ -1,6 +1,6 @@
-
+