diff --git a/htdocs/compta/bank/search.php b/htdocs/compta/bank/search.php index 623909b2ba8df4e82cd839bcdeef8df4795a5acc..ab0d1d3c46075a161205f77ce74c77ed894be102 100644 --- a/htdocs/compta/bank/search.php +++ b/htdocs/compta/bank/search.php @@ -1,7 +1,8 @@ <?php -/* Copyright (C) 2001-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org> - * Copyright (C) 2004-2008 Laurent Destailleur <eldy@users.sourceforge.net> - * Copytight (C) 2005-2010 Regis Houssin <regis@dolibarr.fr> +/* Copyright (C) 2001-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org> + * Copyright (C) 2004-2008 Laurent Destailleur <eldy@users.sourceforge.net> + * Copytight (C) 2005-2010 Regis Houssin <regis@dolibarr.fr> + * Copytight (C) 20012-2012 Vinícius Nogueira <viniciusvgn@gmail.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -211,7 +212,7 @@ if ($resql) // Payment type print "<td align=\"center\">"; - $labeltype=$langs->getLabelFromKey($db,$objp->fk_type,'c_paiement','code','libelle'); + $labeltype=($langs->trans("PaymentTypeShort".$objp->fk_type)!="PaymentTypeShort".$objp->fk_type)?$langs->trans("PaymentTypeShort".$objp->fk_type):$objp->fk_type; if ($labeltype == 'SOLD') print ' '; //$langs->trans("InitialBankBalance"); else print $labeltype; print "</td>\n"; diff --git a/htdocs/langs/pt_BR/bills.lang b/htdocs/langs/pt_BR/bills.lang index 074e759b57f4de809e6517aa3a7c40b1cc264e9b..92ee568d59c2e152bbe3e57494ce38268e03832c 100755 --- a/htdocs/langs/pt_BR/bills.lang +++ b/htdocs/langs/pt_BR/bills.lang @@ -13,6 +13,8 @@ BillsUnpayed=Pendentes de Pagamento BillsLate=Atrasos de Pagamento BillsStatistics=Estatísticas faturas a clientes BillsStatisticsSuppliers=Estatísticas faturas de Fornecedores +RelatedBill=Fatura Anexo +RelatedBills=Faturas Anexos InvoiceStandard=Fatura Standard InvoiceStandardAsk=Fatura Standard InvoiceStandardDesc=Este tipo de fatura é a fatura tradicional. Também é conhecida como <b>Fatura de Débito</b>. @@ -184,8 +186,6 @@ RemainderToTake=Falta Cobrar AmountExpected=Valor Reclamado ExcessReceived=Recebido em Excesso EscompteOffered=Desconto (Pronto pagamento) -CreateDraft=Criar Rascunho -CreateeDraft=Criar Rascunho SendBillRef=Enviar Fatura %s SendReminderBillRef=Lembrete Fatura %s StandingOrders=Débitos Diretos diff --git a/htdocs/langs/pt_BR/main.lang b/htdocs/langs/pt_BR/main.lang index e039423322912214e9a151e9cf3c3b51406a738e..0e069997cdf9eb3f497b04b1b5a8d03dee5840a3 100755 --- a/htdocs/langs/pt_BR/main.lang +++ b/htdocs/langs/pt_BR/main.lang @@ -1,4 +1,5 @@ # Dolibarr language file - pt_BR rev. 0.0 - main +# 2012 Vinícius Nogueira <viniciusvgn@gmail.com> CHARSET=UTF-8 SeparatorDecimal=, SeparatorThousand=. @@ -521,5 +522,6 @@ ShortThursday=Qui ShortFriday=Sex ShortSaturday=Sab ShortSunday=Dom +CreateDraft=Criar Rascunho