From 57851c4a460a353aebc4ab8057712ac8ce545a9e Mon Sep 17 00:00:00 2001
From: liedekef <liedekef>
Date: Sat, 6 Jan 2007 14:59:34 +0000
Subject: [PATCH] translation of the country the user is in

---
 htdocs/contact.class.php          | 1 +
 htdocs/contact/fiche.php          | 3 ++-
 htdocs/html.form.class.php        | 1 +
 htdocs/langs/en_US/companies.lang | 1 +
 htdocs/langs/fr_FR/companies.lang | 3 ++-
 htdocs/langs/nl_BE/companies.lang | 1 +
 6 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/htdocs/contact.class.php b/htdocs/contact.class.php
index c491905ef2c..81291db28cc 100644
--- a/htdocs/contact.class.php
+++ b/htdocs/contact.class.php
@@ -3,6 +3,7 @@
  * Copyright (C) 2004      Benoit Mortier       <benoit.mortier@opensides.be>
  * Copyright (C) 2004-2006 Laurent Destailleur  <eldy@users.sourceforge.net>
  * Copyright (C) 2005      Regis Houssin  <regis.houssin@cap-networks.com>
+ * Copyright (C) 2007      Franky Van Liedekerke <franky.van.liedekerker@telenet.be>
  *
  * 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
diff --git a/htdocs/contact/fiche.php b/htdocs/contact/fiche.php
index ab51049708c..597304046ee 100644
--- a/htdocs/contact/fiche.php
+++ b/htdocs/contact/fiche.php
@@ -3,6 +3,7 @@
  * Copyright (C) 2004-2006 Laurent Destailleur  <eldy@users.sourceforge.net>
  * Copyright (C) 2004      Benoit Mortier       <benoit.mortier@opensides.be>
  * Copyright (C) 2005-2006 Regis Houssin        <regis.houssin@cap-networks.com>
+ * Copyright (C) 2007      Franky Van Liedekerke <franky.van.liedekerke@telenet.be>
  *
  * 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
@@ -293,7 +294,7 @@ if ($user->rights->societe->contact->creer)
 		print '<tr><td width="15%">'.$langs->trans("Lastname").'</td><td><input name="name" type="text" size="20" maxlength="80" value="'.$contact->name.'"></td>';
 		print '<td width="20%">'.$langs->trans("Firstname").'</td><td width="25%"><input name="firstname" type="text" size="15" maxlength="80" value="'.$contact->firstname.'"></td></tr>';
 
-		print '<tr><td>Poste/Fonction</td><td colspan="3"><input name="poste" type="text" size="50" maxlength="80" value="'.$contact->poste.'"></td>';
+		print '<tr><td>'.$langs->trans("PostOrFunction").'</td><td colspan="3"><input name="poste" type="text" size="50" maxlength="80" value="'.$contact->poste.'"></td>';
 
 		print '<tr><td>'.$langs->trans("Address").'</td><td colspan="3"><input name="address" type="text" size="50" maxlength="80" value="'.$contact->address.'"></td>';
 
diff --git a/htdocs/html.form.class.php b/htdocs/html.form.class.php
index 51137c6142a..3b6d914d68e 100644
--- a/htdocs/html.form.class.php
+++ b/htdocs/html.form.class.php
@@ -7,6 +7,7 @@
  * Copyright (C) 2005-2007 Regis Houssin        <regis.houssin@cap-networks.com>
  * Copyright (C) 2006      Andre Cianfarani     <acianfa@free.fr>
  * Copyright (C) 2006      Marc Barilley/Oc�bo  <marc@ocebo.com>
+ * Copyright (C) 2007      Franky Van Liedekerke <franky.van.liedekerker@telenet.be>
  *
  * 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
diff --git a/htdocs/langs/en_US/companies.lang b/htdocs/langs/en_US/companies.lang
index 5ec6144f045..3e7dc444ec9 100644
--- a/htdocs/langs/en_US/companies.lang
+++ b/htdocs/langs/en_US/companies.lang
@@ -33,6 +33,7 @@ RegisteredOffice=Registered office
 Name=Name
 Lastname=Lastname
 Firstname=Firstname
+PostOrFunction=Post/Function
 UserTitle=Title
 Surname=Surname/Pseudo
 Address=Address
diff --git a/htdocs/langs/fr_FR/companies.lang b/htdocs/langs/fr_FR/companies.lang
index f37d1f80ddc..b2c0f9fdad8 100644
--- a/htdocs/langs/fr_FR/companies.lang
+++ b/htdocs/langs/fr_FR/companies.lang
@@ -33,6 +33,7 @@ RegisteredOffice=Si
 Name=Nom
 Lastname=Nom
 Firstname=Pr�nom
+PostOrFunction=Poste/Fonction
 UserTitle=Titre civilit�
 Surname=Surnom/Pseudo
 Address=Adresse
@@ -194,4 +195,4 @@ NewDeliveryAddress=Nouvelle adresse de livraison
 AddDeliveryAddress=Ajouter l'adresse
 AddAddress=Ajouter adresse
 NoOtherDeliveryAddress=Pas d'adresses alternatives d�finies
-SupplierCategory=Cat�gorie du fournisseur
\ No newline at end of file
+SupplierCategory=Cat�gorie du fournisseur
diff --git a/htdocs/langs/nl_BE/companies.lang b/htdocs/langs/nl_BE/companies.lang
index 339a8ebf3c5..6a3b22e3512 100644
--- a/htdocs/langs/nl_BE/companies.lang
+++ b/htdocs/langs/nl_BE/companies.lang
@@ -33,6 +33,7 @@ RegisteredOffice=Geregistreerd kantoor
 Name=Naam
 Lastname=Familienaam
 Firstname=Voorname
+PostOrFunction=Functie
 UserTitle=Titel
 Surname=Familienaam/Pseudoniem
 Address=Adres
-- 
GitLab