root/branches/release-29/php/lib/l10n_fr.php @ 1308

Revision 1308, 3.1 kB (checked in by bsmith, 23 months ago)

Merging commits from release-28 changesets 1274 to 1306

  • Property svn:executable set to *
Line 
1<?php
2# Movable Type (r) Open Source (C) 2001-2008 Six Apart, Ltd.
3# This program is distributed under the terms of the
4# GNU General Public License, version 2.
5#
6# $Id$
7
8global $Lexicon_fr;
9$Lexicon_fr = array(
10## php/lib/function.mtvar.php
11        'You used a [_1] tag without a valid name attribute.' => 'Vous avez utilisé un tag [_1] sans un attribut de nom valide',
12        '\'[_1]\' is not a valid function for a hash.' => '\'[_1]\' n\'est pas une fonction valide pour un hash',
13        '\'[_1]\' is not a valid function for an array.' => '\'[_1]\' n\'est pas une fonction valide pour un tableau',
14        '[_1] [_2] [_3] is illegal.' => '[_1] [_2] [_3] est illégal.',
15
16## php/lib/archive_lib.php
17        'Page' => 'Page',
18        'Individual' => 'Individuel',
19        'Yearly' => 'Annuelles',
20        'Monthly' => 'Mensuelles',
21        'Daily' => 'JournaliÚres',
22        'Weekly' => 'Hebdomadaires',
23        'Author' => 'Par auteurs',
24        '(Display Name not set)' => '(Nom pas spécifié)',
25        'Author Yearly' => 'Par auteurs et années',
26        'Author Monthly' => 'Par auteurs et mois',
27        'Author Daily' => 'Par auteurs et jours',
28        'Author Weekly' => 'Par auteurs et semaines',
29        'Category Yearly' => 'Par catégories et années',
30        'Category Monthly' => 'Par catégories et mois',
31        'Category Daily' => 'Par catégories et jours',
32        'Category Weekly' => 'Par catégories et semaines',
33
34## php/lib/block.mtsethashvar.php
35
36## php/lib/block.mtif.php
37
38## php/lib/function.mtremotesigninlink.php
39        'TypeKey authentication is not enabled in this blog.  MTRemoteSignInLink can\'t be used.' => 'L\'authentification TypeKey n\'est pas activée sur ce blog.  MTRemoteSignInLink ne peut être utilisé.',
40
41## php/lib/block.mtauthorhaspage.php
42        'No author available' => 'Il n\'a pas d\'auteurs disponibles',
43
44## php/lib/block.mtauthorhasentry.php
45
46## php/lib/function.mtproductname.php
47        '[_1] [_2]' => '[_1] [_2]',
48
49## php/lib/captcha_lib.php
50        'Captcha' => 'Captcha',
51        'Type the characters you see in the picture above.' => 'Saisissez les caractÚres que vous voyez dans l\'image ci-dessus.',
52
53## php/lib/function.mtsetvar.php
54        '\'[_1]\' is not a hash.' => '\'[_1]\' n\'est pas un hash',
55        'Invalid index.' => 'Index invalide',
56        '\'[_1]\' is not an array.' => '\'[_1]\' n\'est pas un tableau',
57        '\'[_1]\' is not a valid function.' => '\'[_1]\' n\'est pas une fonction valide',
58
59## php/lib/block.mtassets.php
60        'sort_by="score" must be used in combination with namespace.' => 'sort_by="score" doit être utilisé en combinaison avec le namespace.',
61
62## php/lib/block.mtsetvarblock.php
63
64## php/lib/block.mtentries.php
65
66## php/lib/MTUtil.php
67        'userpic-[_1]-%wx%h%x' => 'userpic-[_1]-%wx%h%x',
68
69## php/lib/function.mtauthordisplayname.php
70
71## php/lib/function.mtentryclasslabel.php
72        'page' => 'Page',
73        'entry' => 'note',
74        'Entry' => 'Note',
75);
76function translate_phrase($str, $params = null) {
77    global $Lexicon, $Lexicon_fr;
78    $l10n_str = isset($Lexicon_fr[$str]) ? $Lexicon_fr[$str] : (isset($Lexicon[$str]) ? $Lexicon[$str] : $str);
79    if (extension_loaded('mbstring')) {
80        $str = mb_convert_encoding($l10n_str,mb_internal_encoding(),"UTF-8");
81    } else {
82        $str = $l10n_str;
83    }
84    return translate_phrase_param($str, $params);
85}
86?>
Note: See TracBrowser for help on using the browser.