aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2010-12-07 23:49:40 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2010-12-07 23:49:40 +0000
commit1d2c9e00545ac5005274c6a4d3b372b4c0f60ae0 (patch)
tree9a4283e2333ef367f90cc84b8337dedd53111d5c
parent87e2c9d5b67e2cd816da2ad27a9a6b9db8b43a4b (diff)
improved i18n
-rw-r--r--h-source/Application/Include/languages.php73
-rw-r--r--h-source/Application/Views/history.php4
-rw-r--r--h-source/Application/Views/talk.php2
3 files changed, 76 insertions, 3 deletions
diff --git a/h-source/Application/Include/languages.php b/h-source/Application/Include/languages.php
index 69dcdd4..99cfd6f 100644
--- a/h-source/Application/Include/languages.php
+++ b/h-source/Application/Include/languages.php
@@ -45,6 +45,7 @@ class Lang
"STATUS" => "STATO",
"You have to" => "Devi eseguire il",
"in order to submit an issue" => "per poter aprire una nuova questione",
+ "in order to add a message" => "per poter inviare un messaggio",
"Description" => "Descrizione",
"Messages" => "Messaggi",
"this message has been deleted" => "questo messaggio è stato cancellato",
@@ -101,6 +102,7 @@ class Lang
"webcam model" => "modello di webcam",
"does it have a free bios?" => "ha il bios libero?",
"does the webcam work?" => "funziona la webcam?",
+ "Current revision" => "Revisione corrente",
),
'es' => array
(
@@ -114,6 +116,7 @@ class Lang
"STATUS" => "ESTADO",
"You have to" => "Tiene que",
"in order to submit an issue" => "para poder agregar una incidencia",
+ "in order to add a message" => "para poder agregar un mensaje",
"Description" => "Descripción",
"Messages" => "Mensajes",
"this message has been deleted" => "este mensaje ha sido borrado",
@@ -166,6 +169,76 @@ class Lang
"does it work with free software?" => "¿funciona con software libre?",
"differences in the entry" => "diferencias en el campo",
),
+ 'fr' => array
+ (
+ "List of issues" => "Liste de problème",
+ "TITLE" => "TITRE",
+ "TOPIC" => "SUJET",
+ "OPENED BY" => "OUVERT PAR",
+ "DATE" => "DATE",
+ "REPLIES" => "REPONSES",
+ "PRIORITY" => "PRIORITE",
+ "STATUS" => "STATUS",
+ "You have to" => "Vous devez",
+ "in order to submit an issue" => "pour pouvoir soumettre un problème",
+ "in order to add a message" => "pour pouvoir envoyer un message",
+ "Description" => "Description",
+ "Messages" => "Messagges",
+ "this message has been deleted" => "ce message à été supprimé",
+ "in order to submit a message to this issue" => "pour pouvoir envoyer un message concernant ce problème",
+ "model name" => "nom de modèle",
+ "model type" => "type de modèle",
+ "year of commercialization" => "année de commercialisation",
+ "Results of the search" => "Resultat de la recherche",
+ "page list" => "liste de page",
+ "No devices found" => "Aucun appareil trouvé",
+ "vendor" => "vendeur",
+ "compatibility" => "compatibilitée",
+ "year" => "année",
+ "subtype" => "sous-type",
+ "sort by" => "afficher par",
+ "interface" => "interface",
+ "does it work?" => "cela fonctionne?",
+ "preview of the message" => "prévisualisation du message",
+ "preview of the new issue message" => "prévisualisation du message du nouveau problème",
+ "Add a message to this issue" => "Ajouter un message à ce problème",
+ "Add a new issue" => "Ajouter un nouveau problème",
+ "MESSAGE" => "MESSAGE",
+ "there are no messages" => "Il n'y a pas de messages",
+ "No notebooks found" => "Aucun notebooks trouvé",
+ "subtype (notebook or netbook)" => "sous-type (notebook ou netbook)",
+ "compatibility with free software" => "compatibilitée avec le logiciel libre",
+ "view the other specifications" => "voir les autres spécifications",
+ "model" => "modèle",
+ "model id" => "ID du modèle",
+ "tested on" => "testé sur",
+ "tested with the following kernel libre" => "testé avec le kernel libre suivant",
+ "video card model" => "modèle de carte vidéo",
+ "wifi model" => "modèle de carte wifi",
+ "GNU/Linux distribution used for the test" => "Distribution GNU/Linux utilisée pour le test",
+ "does the video card work?" => "La carte vidéo fonctionne t'elle?",
+ "does the wifi card work?" => "La carte wifi fonctionne t'elle?",
+ "Description: (write here all the useful information)" => "Description (écrivez ici toutes informations utile)",
+ "discover all the wiki tags" => "voir tout les tags wiki",
+ "Fields marked with <b>*</b> are mandatory" => "Les champs marqués avec <b>*</b> sont mandatoire",
+ "No printers found" => "Aucun imprimante trouvée",
+ "interface" => "interface",
+ "VendorID:ProductID code of the device" => "VendorID:ProductID de l'appareil",
+ "free driver used" => "pilote libre utilisé",
+ "set not-specified if not sure" => "voir non-spécifié en cas de doute",
+ "see the help page or leave blank if you are not sure" => "Voir la page d'aide ou laisser blanc si vous n'êtes pas sur",
+ "No scanners found" => "Aucun scanner trouvé",
+ "No video cards found" => "Aucun carte vidéo trouvée",
+ "how does it work with free software?" => "A quel point cela fonctionne t'il avec du logiciel libre?",
+ "No wifi cards found" => "Aucune carte wifi trouvée",
+ "does it work with free software?" => "cela fonctionne t'il avec le logiciel libre",
+ "differences in the entry" => "difference dans l'entrée",
+ "No 3G cards found" => "Aucune carte 3G trouvée",
+ "Please specify in the below description entry the Internet Service Provider (ISP) and the country where the service is provided" => "Merci de préciser dans cette description le fournisseur d'accès et le pays dans lequel le service est fournis",
+ "webcam model" => "modèle de webcam",
+ "does it have a free bios?" => "à t'il un bios libre?",
+ "does the webcam work?" => "la webcam fonctionne t'elle?",
+ ),
);
public static function sanitize($lang = 'en')
diff --git a/h-source/Application/Views/history.php b/h-source/Application/Views/history.php
index 3c821ee..a809596 100644
--- a/h-source/Application/Views/history.php
+++ b/h-source/Application/Views/history.php
@@ -26,7 +26,7 @@
<?php if ($this->viewArgs['history_page'] === 1) { ?>
<?php foreach ($rev1 as $rev) { ?>
- <li class="page_history_current_item"><b>Current revision:</b> <?php echo smartDate($rev['hardware']['update_date']);?> by <?php echo getLinkToUser($u->getUser($rev['hardware']['updated_by']));?> (<a href="<?php echo $this->baseUrl."/".$this->controller."/differences/$lang/$id/0".$this->viewStatus;?>">diff</a>)</li>
+ <li class="page_history_current_item"><b><?php echo gtext("Current revision");?>:</b> <?php echo smartDate($rev['hardware']['update_date']);?> by <?php echo getLinkToUser($u->getUser($rev['hardware']['updated_by']));?> (<a href="<?php echo $this->baseUrl."/".$this->controller."/differences/$lang/$id/0".$this->viewStatus;?>">diff</a>)</li>
<?php } ?>
<?php } ?>
@@ -51,5 +51,5 @@
</div>
<div class="history_page_list">
- page list: <?php echo $pageList;?>
+ <?php echo gtext("page list");?>: <?php echo $pageList;?>
</div> \ No newline at end of file
diff --git a/h-source/Application/Views/talk.php b/h-source/Application/Views/talk.php
index c251080..11f6bbc 100644
--- a/h-source/Application/Views/talk.php
+++ b/h-source/Application/Views/talk.php
@@ -140,7 +140,7 @@
<?php } else { ?>
<div class="talk_login_notice">
- <a name="form">You have to <a href="<?php echo $this->baseUrl."/users/login/$lang/".$this->controller."/view/$id_hard";?>">login</a> in order to add a message</a>
+ <a name="form"><?php echo gtext("You have to");?> <a href="<?php echo $this->baseUrl."/users/login/$lang/".$this->controller."/view/$id_hard";?>">login</a> <?php echo gtext("in order to add a message");?></a>
</div>
<?php } ?> \ No newline at end of file