From 4be453802846802b3559eb66d9419fef98001591 Mon Sep 17 00:00:00 2001
From: Vinicius Nogueira <Nogueira@MacBook-Air-de-Vinicius-Nogueira.local>
Date: Tue, 3 Apr 2012 23:45:00 -0300
Subject: [PATCH] Trans: Added line that was missing

---
 htdocs/compta/bank/search.php | 9 +++++----
 htdocs/langs/pt_BR/bills.lang | 4 ++--
 htdocs/langs/pt_BR/main.lang  | 2 ++
 3 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/htdocs/compta/bank/search.php b/htdocs/compta/bank/search.php
index 623909b2ba8..ab0d1d3c460 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 '&nbsp;'; //$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 074e759b57f..92ee568d59c 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 e0394233229..0e069997cdf 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
 
 
-- 
GitLab