<?php
$lang['deprecated'] = 'unsupported';
$lang['subject_newnews'] = 'Um novo artigo foi inserido';
$lang['email_subject'] = 'O assunto do email a enviar';
$lang['email_template'] = 'O formato da mensagem de email';
$lang['formsubmit_emailaddress'] = 'Endereço de email que irá receber notificações de submissão de notícias';
$lang['extra'] = 'Extra';
$lang['uploadscategory'] = 'Categoria de Uploads';
$lang['title_available_templates'] = 'Templates Disponíveis';
$lang['resettodefault'] = 'Repor as definições de origem';
$lang['title_form_template'] = 'Editor de Template de Formulário';
$lang['title_detail_template'] = 'Editor de Template de Detalhes';
$lang['title_summary_template'] = 'Editor de Template de Resumo';
$lang['prompt_templatename'] = 'Nome da Template';
$lang['prompt_template'] = 'Origem da Template';
$lang['title_form_sysdefault'] = 'Template do Formulário por Omissão';
$lang['title_summary_sysdefault'] = 'Template do Resumo por Omissão';
$lang['title_detail_sysdefault'] = 'Template do Detalhe por Omissão';
$lang['info_sysdefault2'] = '<strong>Nota:</strong> Este separador contém áreas de texto que lhe permitem editar um conjunto de templates que estão visíveis quando se cria um \'novo\' template de resumo, detalhe ou formulário.  Mudar conteúdo neste separador, e clicar \'enviar\' <strong>não afectará quaisquer visualizações actuais</strong>.';
$lang['info_sysdefault'] = '<em>(o conteúdo utilizado por omissão quando uma nova template é criada)</em>';
$lang['template'] = 'Template';
$lang['prompt_name'] = 'Nome';
$lang['prompt_default'] = 'Por omissão';
$lang['prompt_newtemplate'] = 'Criar uma nova template';
$lang['help_pagelimit'] = 'Número máximo de items a mostrar (por página). Se este parâmetro não for fornecido todos os items correspondentes serão mostrados. Se estiver, e houver mais items disponíveis que os especificados nos parâmetros, texto e links serão fornecidos para permitir deslocar ao longo dos resultados';
$lang['prompt_page'] = 'Página';
$lang['firstpage'] = '<<';
$lang['prevpage'] = '<';
$lang['nextpage'] = '>';
$lang['lastpage'] = '>>';
$lang['prompt_of'] = 'de';
$lang['prompt_pagelimit'] = 'Limite de Páginas';
$lang['prompt_sorting'] = 'Ordenar por';
$lang['title_filter'] = 'Filtros';
$lang['published'] = 'Publicado';
$lang['draft'] = 'Rascunho';
$lang['expired'] = 'Data de Expiração';
$lang['author'] = 'Autor';
$lang['sysdefaults'] = 'Repor definições originais';
$lang['restoretodefaultsmsg'] = 'Esta operação irá repor o conteúdo da template com o seu conteúdo por omissão (de origem). Tem a certeza que pretende prosseguir?';
$lang['addarticle'] = 'Adicionar artigo';
$lang['articleadded'] = 'O artigo foi adicionado com sucesso.';
$lang['articleupdated'] = 'O artigo foi actualizado com sucesso.';
$lang['articledeleted'] = 'O artigo foi apagado com sucesso.';
$lang['addcategory'] = 'Adicionar Categoria';
$lang['categoryadded'] = 'A categoria foi adicionada com sucesso.';
$lang['categoryupdated'] = 'A categoria foi actualizada com sucesso.';
$lang['categorydeleted'] = 'A categoria foi apagada com sucesso.';
$lang['addnewsitem'] = 'Adicionar Item de Notícia';
$lang['allcategories'] = 'Todas as Categorias';
$lang['allentries'] = 'Todas as Entradas';
$lang['areyousure'] = 'Tem a certeza de que quer apagar?';
$lang['articles'] = 'Artigos';
$lang['cancel'] = 'Cancelar';
$lang['category'] = 'Categoria';
$lang['categories'] = 'Categorias';
$lang['default_category'] = 'Categoria por omissão';
$lang['changelog'] = '
<ul>
<li>
<p>Version: 1.0</p>
<p>This module is a hacked and extended version of <em>Ted Kulp\'s</em> News module.  I simply added another field to the database, and some more code to make that field worl.... I also re-cleaned the code a bit, so it was a little easier to read, other than that, it\'s Ted\'s code.</p>
</li> 
<li> 
<p>Version: 1.1</p> 
<p>Added the ability to set an automatic expiry date from a pulldown, moved the category selection, and on the main page you now filter the entries you want to see.</p> 
</li> 
<li> 
<p>Version: 1.2</p> 
<p>Added summary, no_anchor and length parameters.  In summary mode links are made to the real articles, tags are stripped, and links are insreted to the news page and the specific news item.</p> 
</li> 
<li> 
<p>Version: 1.3</p> 
<p>Minor cosmetic changes</p> 
</li> 
<li> 
<p>Version 1.5</p> 
<p>Merged into the trunk News module</p> 
</li> 
<li> 
<p>Version 1.6</p> 
<p>Added pagination, and moved the add button to the top (calguy)</p>
</li>
<li>
<p>Version 2.0</p>
<p>Re-written to use smarty templates, and several other significant improvements</p>
</li>
<li>
<p>Version 2.0.1</p>
<p>Minor tweaks to the RSS output to allow it to work correctly on different browsers, and to support non alpha numeric characters in the description.</p> 
</li> 
<li>
<p>Version 2.0.2</p>
<p>- Add a "start" parameter to specify a start offset for news items</p>
<p>- The template tabs now have a "reset to default" button on them</p>
<p>- Start menu item is now required, but end date is optional when useexpirydate is on, 
<p>- Change the permissions model significantly, The "Modify News" permission is only for articles and categories. "Modify Templates" permission is required to edit the templates, and "Modify Site Preferences" is required to edit the options.</p> 
<p>- Put the rss feed titile into the lang entries</p>
</li> 
<li>
<p>Version 2.0.3</p>
<p>- Added the ability to track the original author of an article</p>
</li>
<li>
<p>Version 2.2</p>
<p>- Added browsecat parameter
</li>
<li>
<p>Version 2.3</p>
<p>- Changed to use multiple database templates <em>Old file templates will not work.</p>
<p>- Now allow for admin approval to change news state from draft to published.</p>
<p>- Pagination is now available in the default summary templates</p>
<p>- More.</p>
</li>
<li>
<p>Version 2.3.0.2</p>
<p>- Minor fixes to the help, changelog, to the number parameter, and to add a missing CreatePermission call.</p>
<p>- Fixes to the start parameter to work differently</p>
</li>
<li>
<p>Version 2.4</p>
<p>- Added a form on the frontend to allow users to submit news articles.  This should be wrapped with customcontent to prevent spamming, etc.</p>
<p>- Fixes to allow 1.0.x compatibility.</p>
<p>- Updated the help.</p>
</li>
<li>Version 2.5
<p>Adds an extra field that can be re-used for anything (associating with a file, an extra image, etc.</p>
</li>
<li>Version 2.5.1
<p>Removes a small error I left in a template.</p>
<p>Moves the default templates into their own tab to remove confusion.</p>
<p>Use SelectLimit in the summary view instead of the LIMIT n,start or LIMIT n offset startelement</p>
<p>Bumped minimum version to 1.1</p>
</li>
</ul>
';
$lang['content'] = 'Conteúdo';
$lang['dateformat'] = '%s não está no formato válido yyyy-mm-dd hh:mm:ss';
$lang['delete'] = 'Apagar';
$lang['description'] = 'Adicionar, editar e remover items de notícias';
$lang['formtemplate'] = 'Templates de Formulário';
$lang['detailtemplate'] = 'Templates de Detalhe';
$lang['default_templates'] = 'Templates por Omissão';
$lang['detailtemplateupdated'] = 'A Template de Detalhe actualizada foi guardada com sucesso na base de dados.';
$lang['displaytemplate'] = 'Mostrar Template';
$lang['edit'] = 'Editar';
$lang['enddate'] = 'Data de Fim';
$lang['endrequiresstart'] = 'Introduzir uma data de fim requer também uma data de início';
$lang['entries'] = '%s Entradas';
$lang['status'] = 'Estado';
$lang['expiry'] = 'Expira';
$lang['filter'] = 'Filtro';
$lang['more'] = 'Mais';
$lang['category_label'] = 'Categoria:';
$lang['author_label'] = 'Inserida por:';
$lang['moretext'] = 'Mais texto';
$lang['name'] = 'Nome';
$lang['news'] = 'Notícias';
$lang['news_return'] = 'Voltar';
$lang['newcategory'] = 'Nova Categoria';
$lang['needpermission'] = 'Precisa da permissão \'%s\' para executar esta função.';
$lang['nocategorygiven'] = 'Não foi fornecida nenhuma categoria';
$lang['startdatetoolate'] = 'A Data de Início é tarde demais (depois da Data de Fim?)';
$lang['nocontentgiven'] = 'Não foi fornecido nenhum conteúdo';
$lang['noitemsfound'] = '<strong>Não</strong> foram encontrados items para esta categoria: %s';
$lang['nopostdategiven'] = 'Não foi introduzida nenhuma Data de Inserção';
$lang['note'] = '<em>Nota:</em> As datas têm que ser introduzidas no formato \'yyyy-mm-dd hh:mm:ss\'.';
$lang['notitlegiven'] = 'Não foi fornecido nenhum título';
$lang['nonamegiven'] = 'Não foi fornecido nenhum nome';
$lang['numbertodisplay'] = 'Número a Mostrar (vazio mostra todos os registos)';
$lang['print'] = 'Imprimir';
$lang['postdate'] = 'Data de Inserção';
$lang['postinstall'] = 'Certifique-se que marcou a permissão "Modificar Notícias" a utilizadores que vão administrar items de notícias.';
$lang['rssfeedtitle'] = 'Feed RSS do CMS Made Simple';
$lang['rsstemplate'] = 'Template RSS';
$lang['selectcategory'] = 'Seleccionar Categorias';
$lang['showchildcategories'] = 'Mostrar Categorias Filhas';
$lang['sortascending'] = 'Ordenação Crescente';
$lang['startdate'] = 'Data de Início';
$lang['startoffset'] = 'Começar a mostrar ao enésimo item';
$lang['startrequiresend'] = 'Introduzir uma data de início requer também um data de fim';
$lang['submit'] = 'Enviar';
$lang['summary'] = 'Resumo';
$lang['summarytemplate'] = 'Templates de Resumo';
$lang['summarytemplateupdated'] = 'A Template de Resumo de Notícia foi actualizada com sucesso.';
$lang['title'] = 'Título';
$lang['options'] = 'Opções';
$lang['optionsupdated'] = 'Opções actualizadas com sucesso.';
$lang['useexpiration'] = 'Utilizar Data de Expiração';
$lang['showautodiscovery'] = 'Mostrar Link de Auto-Descoberta da Feed';
$lang['autodiscoverylink'] = 'URL para Link de Auto-Descoberta de Feed (deixar em branco para utilizar a opção por omissão)';
$lang['eventdesc-NewsArticleAdded'] = 'Enviado quando um artigo é actualizado.';
$lang['eventhelp-NewsArticleAdded'] = '<p>Enviado quando um artigo é adicionado.</p>
<h4>Parameters</h4>
<ul>
<li>\"news_id\" - Id do artigo de notícias</li>
<li>\"category_id\" - Id da categoria para este artigo</li>
<li>\"title\" - Título deste artigo</li>
<li>\"content\" - Conteúdo deste artigo</li>
<li>\"summary\" - Resumo deste artigo</li>
<li>\"status\" - Estado deste artigo ("rascunho" ou "publicar")</li>
<li>\"start_time\" - Data em que o artigo deve começar a ser mostrado</li>
<li>\"end_time\" - Data em que o artigo deve deixar de ser mostrado</li>
<li>\"useexp\" - Se a data de expiração deve ser ignorada ou não</li>
</ul>
';
$lang['eventdesc-NewsArticleEdited'] = 'Enviado quando um artigo é editado.';
$lang['eventhelp-NewsArticleEdited'] = '<p>Sent when an article is edited.</p>
<h4>Parameters</h4>
<ul>
<li>\"news_id\" - Id of the news article</li>
<li>\"category_id\" - Id of the category for this article</li>
<li>\"title\" - Title of the article</li>
<li>\"content\" - Content of the article</li>
<li>\"summary\" - Summary of the article</li>
<li>\"status\" - Status of the article ("draft" or "publish")</li>
<li>\"start_time\" - Date the article should start being displayed</li>
<li>\"end_time\" - Date the article should stop being displayed</li>
<li>\"useexp\" - Whether the expiration date should be ignored or not</li>
</ul>
';
$lang['eventdesc-NewsArticleDeleted'] = 'Sent when an article is deleted.';
$lang['eventhelp-NewsArticleDeleted'] = '<p>Sent when an article is deleted.</p>
<h4>Parameters</h4>
<ul>
<li>\"news_id\" - Id of the news article</li>
</ul>
';
$lang['eventdesc-NewsCategoryAdded'] = 'Sent when a category is added.';
$lang['eventhelp-NewsCategoryAdded'] = '<p>Sent when a category is added.</p>
<h4>Parameters</h4>
<ul>
<li>\"category_id\" - Id of the news category</li>
<li>\"name\" - Name of the news category</li>
</ul>
';
$lang['eventdesc-NewsCategoryEdited'] = 'Sent when a category is edited.';
$lang['eventhelp-NewsCategoryEdited'] = '<p>Sent when a category is edited.</p>
<h4>Parameters</h4>
<ul>
<li>\"category_id\" - Id of the news category</li>
<li>\"name\" - Name of the news category</li>
<li>\"origname\" - The original name of the news category</li>
</ul>
';
$lang['eventdesc-NewsCategoryDeleted'] = 'Sent when a category is deleted.';
$lang['eventhelp-NewsCategoryDeleted'] = '<p>Sent when a category is deleted.</p>
<h4>Parameters</h4>
<ul>
<li>\"category_id\" - Id of the deleted category </li>
<li>\"name\" - Name of the deleted category</li>
</ul>
';
$lang['helpnumber'] = 'Maximum number of items to display =- leaving empty will show all items.';
$lang['helpstart'] = 'Start at the nth item -- leaving empty will start at the first item.';
$lang['helpmakerssbutton'] = 'Make a button to link to an RSS feed of the News items.';
$lang['helpcategory'] = 'Only display items for that category. <b>Use * after the name to show children.</b>  Multiple categories can be used if separated with a comma. Leaving empty, will show all categories.';
$lang['helpmoretext'] = 'Text to display at the end of a news item if it goes over the summary length.  Defaults to "more..."';
$lang['helpsummarytemplate'] = 'Use a separate database template for displaying the article summary.  This template must exist and be visible in the summary template tab of the News admin, though it does not need to be the default.  If this parameter is not specified, then the current template marked as default will be used.';
$lang['helpformtemplate'] = 'Use a database template for displaying the article submission form. This template must exist and be visible in the form templates tab of the News admin, though it does not need to be the default.  If this parameter is not specified, then the current template marked as default will be used.';
$lang['helpdetailtemplate'] = 'Use a separate database template for displaying the article detail. This template must exist and be visible in the detail template tab of the News admin, though it does not need to be the default.  If this parameter is not specified, then the current template marked as default will be used.';
$lang['helpsortby'] = 'Field to sort by.  Options are: "news_date", "summary", "news_data", "news_category", "news_title", "random".  Defaults to "news_date". If "random" is specified, the sortasc param is ignored.';
$lang['helpsortasc'] = 'Sort news items in ascending date order rather than descending.';
$lang['helpdetailpage'] = 'Page to display News details in.  This can either be a page alias or an id. Used to allow details to be displayed in a different template from the summary.';
$lang['helpdateformat'] = 'Format to display the article\'s post date with.  This is based on the <a href="http://php.net/strftime" target="_blank">strftime</a> function and can be used in your template with $entry->formatpostdate.  It defaults to %x, which is the default date format for the server\'s locale.';
$lang['helpshowarchive'] = 'Show only expired news articles.';
$lang['helpbrowsecat'] = 'Shows a browseable category list.';
$lang['helpaction'] = 'Override the default action.  Possible values are \'default\' to display the summary view, and \'fesubmit\' to display the frontend form for allowing users to submit news articles on the front end.';
$lang['help'] = <<<EOF
<h3>Important Notes</h3>
<p>This version of News is greater than the one supplied with the 1.1 branch of CMS Made Simple.  If you use this version of News you must use extreme caution when upgrading CMS Made Simple to ensure that nothing in the modules/News directory is overwritten.</p>
	<h3>What does this do?</h3>
	<p>News is a module for displaying news events on your page, similar to a blog style, except with more features!.  When the module is installed, a News admin page is added to administration menu that will allow you to select or add a news category.  Once a news category is created or selected, a list of news items for that category will be displayed.  From here, you can add, edit or delete news items for that category.</p>
	<h3>Template variables</h3>
	<ul>
		<li><b>itemcount</b> - The number of news articles to be shown.</li>
		<li><b>entry->authorname</b> - The full name of the the author including First and Last name.</li>
	</ul>
	<h3>Security</h3>
	<p>The user must belong to a group with the 'Modify News' permission in order to add, edit, or delete News entries.</p>
	<p>In order to edit the layout templates, the user must belong to a group with the 'Modify Templates' permission.</p>
	<p>In order to edit the global news preferences, the user must belong to a group with the 'Modify Site Preferences' permission.</p>
	<p>Additionally, to approve news for frontend display the user must belong to a group with the 'Approve News' permission.</p>
	<h3>How do I use it?</h3>
	<p>The easiest way to use it is with the {news} wrapper tag (wraps the module in a tag, to simplify the syntax).  This will insert the module into your template or page anywhere you wish, and display news items.  The code would look something like: <code>{news number='5'}</code></p>
<h3>Templates</h3>
	<p>Since version 2.3 News supports multiple database templates, and no longer supports additional file templates.  Users who used the old file template system should follow these steps (for each file template):
<ul>
<li>Copy the file template into the clipboard</li>
<li>Create a new database template <em>(either summary or detailed as required)</em>.  Give the new template the same name (including the .tpl extension) as the old file template, and paste the contents.</li>
<li>Hit Submit</li>
</ul>
Following these steps should solve the problem of your news templates not being found and other similar smarty errors when you upgrade to a version of CMS that has News 2.3 or greater.</p>
EOF;
?>
