Browse Source

Merge pull request #1919 from JoniDS/master

Translation for Portuguese (pt-PT, Portugal).
tags/2.0.0-beta
Carsten Brandt 11 years ago
parent
commit
b97cd2c4d1
  1. 2
      framework/messages/config.php
  2. 81
      framework/messages/pt-PT/yii.php

2
framework/messages/config.php

@ -7,7 +7,7 @@ return [
'messagePath' => __DIR__, 'messagePath' => __DIR__,
// array, required, list of language codes that the extracted messages // array, required, list of language codes that the extracted messages
// should be translated to. For example, ['zh-CN', 'de']. // should be translated to. For example, ['zh-CN', 'de'].
'languages' => ['ar', 'da', 'de', 'es', 'it', 'ja', 'pl', 'pt-BR', 'ro', 'ru', 'sk', 'sr', 'sr-Latn', 'zh-CN'], 'languages' => ['ar', 'da', 'de', 'es', 'it', 'ja', 'pl', 'pt-BR', 'pt-PT', 'ro', 'ru', 'sk', 'sr', 'sr-Latn', 'zh-CN'],
// string, the name of the function for translating messages. // string, the name of the function for translating messages.
// Defaults to 'Yii::t'. This is used as a mark to find the messages to be // Defaults to 'Yii::t'. This is used as a mark to find the messages to be
// translated. You may use a string for single function name or an array for // translated. You may use a string for single function name or an array for

81
framework/messages/pt-PT/yii.php

@ -0,0 +1,81 @@
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
*/
return array (
'View' => '',
'(not set)' => '(não definido)',
'An internal server error occurred.' => 'Ocorreu um erro interno do servidor.',
'Are you sure to delete this item?' => 'Tem certeza de que deseja apagar este item?',
'Delete' => 'Apagar',
'Error' => 'Erro',
'File upload failed.' => 'O upload do ficheiro falhou.',
'Home' => 'Página Inicial',
'Invalid data received for parameter "{param}".' => 'Dados inválidos recebidos para o parâmetro “{param}”.',
'Login Required' => 'Login Necessário.',
'Missing required arguments: {params}' => 'Argumentos obrigatórios em falta: {params}',
'Missing required parameters: {params}' => 'Parâmetros obrigatórios em falta: {params}',
'No' => 'Não',
'No help for unknown command "{command}".' => 'Não há ajuda para o comando desconhecido “{command}”.',
'No help for unknown sub-command "{command}".' => 'Não há ajuda para o sub-comando desconhecido “{command}”.',
'No results found.' => 'Não foram encontrados resultados.',
'Only files with these extensions are allowed: {extensions}.' => 'Só são permitidos ficheiros com as seguintes extensões: {extensions}.',
'Only files with these mimeTypes are allowed: {mimeTypes}.' => 'Só são permitidos ficheiros com os seguintes mimeTypes: {mimeTypes}.',
'Page not found.' => 'Página não encontrada.',
'Please fix the following errors:' => 'Por favor, corrija os seguintes erros:',
'Please upload a file.' => 'Por favor faça upload de um ficheiro.',
'Showing <b>{begin, number}-{end, number}</b> of <b>{totalCount, number}</b> {totalCount, plural, one{item} other{items}}.' => 'A exibir <b>{begin, number}-{end, number}</b> de <b>{totalCount, number}</b> {totalCount, plural, one{item} other{itens}}.',
'The file "{file}" is not an image.' => 'O ficheiro “{file}” não é uma imagem.',
'The file "{file}" is too big. Its size cannot exceed {limit, number} {limit, plural, one{byte} other{bytes}}.' => 'O ficheiro “{file}” é grande demais. O tamanho não pode exceder {limit, number} {limit, plural, one{byte} other{bytes}}.',
'The file "{file}" is too small. Its size cannot be smaller than {limit, number} {limit, plural, one{byte} other{bytes}}.' => 'O ficheiro “{file}” é pequeno demais. O tamanho não pode ser menor do que {limit, number} {limit, plural, one{byte} other{bytes}}.',
'The format of {attribute} is invalid.' => 'O formato de “{attribute}” é inválido.',
'The image "{file}" is too large. The height cannot be larger than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'O ficheiro “{file}” é grande demais. A altura não pode ser maior do que {limit, number} {limit, plural, one{pixel} other{pixels}}.',
'The image "{file}" is too large. The width cannot be larger than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'O ficheiro “{file}” é grande demais. A largura não pode ser maior do que {limit, number} {limit, plural, one{pixel} other{pixels}}.',
'The image "{file}" is too small. The height cannot be smaller than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'O ficheiro “{file}” é pequeno demais. A altura não pode ser menor do que {limit, number} {limit, plural, one{pixel} other{pixels}}.',
'The image "{file}" is too small. The width cannot be smaller than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'O ficheiro “{file}” é pequeno demais. A largura não pode ser menor do que {limit, number} {limit, plural, one{pixel} other{pixels}}.',
'The verification code is incorrect.' => 'O código de verificação está incorreto.',
'Total <b>{count, number}</b> {count, plural, one{item} other{items}}.' => 'Total <b>{count, number}</b> {count, plural, one{item} other{itens}}.',
'Unable to verify your data submission.' => 'Não foi possível verificar a sua submissão de dados.',
'Unknown command "{command}".' => 'Comando desconhecido “{command}”.',
'Unknown option: --{name}' => 'Opção desconhecida : --{name}',
'Update' => 'Atualizar',
'Yes' => 'Sim',
'You are not allowed to perform this action.' => 'Você não está autorizado a realizar essa ação.',
'You can upload at most {limit, number} {limit, plural, one{file} other{files}}.' => 'Você pode fazer o upload de no máximo {limit, number} {limit, plural, one{ficheiro} other{ficheiros}}.',
'the input value' => 'o valor de entrada',
'{attribute} "{value}" has already been taken.' => '{attribute} “{value}” já foi atribuido.',
'{attribute} cannot be blank.' => '“{attribute}” não pode ficar em branco.',
'{attribute} is invalid.' => '“{attribute}” é inválido.',
'{attribute} is not a valid URL.' => '“{attribute}” não é uma URL válida.',
'{attribute} is not a valid email address.' => '“{attribute}” não é um endereço de e-mail válido.',
'{attribute} must be "{requiredValue}".' => '“{attribute}” deve ser “{requiredValue}”.',
'{attribute} must be a number.' => '“{attribute}” deve ser um número.',
'{attribute} must be a string.' => '“{attribute}” deve ser uma string.',
'{attribute} must be an integer.' => '“{attribute}” deve ser um número inteiro.',
'{attribute} must be either "{true}" or "{false}".' => '“{attribute}” deve ser “{true}” ou “{false}”.',
'{attribute} must be greater than "{compareValue}".' => '“{attribute}” deve ser maior do que “{compareValue}”.',
'{attribute} must be greater than or equal to "{compareValue}".' => '“{attribute}” deve ser maior ou igual a “{compareValue}”.',
'{attribute} must be less than "{compareValue}".' => '“{attribute}” deve ser menor do que “{compareValue}”.',
'{attribute} must be less than or equal to "{compareValue}".' => '“{attribute}” deve ser menor ou igual a “{compareValue}”.',
'{attribute} must be no greater than {max}.' => '“{attribute}” não pode ser maior do que {max}.',
'{attribute} must be no less than {min}.' => '“{attribute}” não pode ser menor do que {min}.',
'{attribute} must be repeated exactly.' => '“{attribute}” deve ser repetido exatamente.',
'{attribute} must not be equal to "{compareValue}".' => '“{attribute}” não deve ser igual a “{compareValue}”.',
'{attribute} should contain at least {min, number} {min, plural, one{character} other{characters}}.' => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.',
'{attribute} should contain at most {max, number} {max, plural, one{character} other{characters}}.' => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.',
'{attribute} should contain {length, number} {length, plural, one{character} other{characters}}.' => '“{attribute}” deve conter {length, number} {length, plural, one{caractere} other{caracteres}}.',
);
Loading…
Cancel
Save