From e1c0b5c7c5c66dc9ec6c81560851e7ce919ebf72 Mon Sep 17 00:00:00 2001 From: olivierm Date: Fri, 21 Jan 2011 10:39:15 +0100 Subject: Started the french translation (up to the "TODO" comment in view/fr/strings.php) --- view/fr/profile_advanced.php | 226 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 226 insertions(+) create mode 100644 view/fr/profile_advanced.php (limited to 'view/fr/profile_advanced.php') diff --git a/view/fr/profile_advanced.php b/view/fr/profile_advanced.php new file mode 100644 index 000000000..9aee6c262 --- /dev/null +++ b/view/fr/profile_advanced.php @@ -0,0 +1,226 @@ +Profile + + +EOT; + +if($a->profile['name']) { +$o .= <<< EOT +
+
Full Name:
+
{$a->profile['name']}
+
+
+EOT; +} + +if($a->profile['gender']) { +$o .= <<< EOT +
+
Gender:
+
{$a->profile['gender']}
+
+
+EOT; +} + +if(($a->profile['dob']) && ($a->profile['dob'] != '0000-00-00')) { +$o .= <<< EOT +
+
Birthday:
+EOT; + +// If no year, add an arbitrary one so just we can parse the month and day. + +$o .= '
' + . ((intval($a->profile['dob'])) + ? day_translate(datetime_convert('UTC',date_default_timezone_get(),$a->profile['dob'],'j F, Y')) + : day_translate(datetime_convert('UTC',date_default_timezone_get(),'2001-' . substr($a->profile['dob'],6),'j F'))) + . "
\r\n
"; + +$o .= '
'; + +} + +if($age = age($a->profile['dob'],$a->profile['timezone'],'')) { +$o .= <<< EOT +
+
Age:
+
$age
+
+
+EOT; +} + +if($a->profile['marital']) { +$o .= <<< EOT +
+
Status:
+
{$a->profile['marital']}
+EOT; + +if($a->profile['with']) + $o .= "
({$a->profile['with']})
"; +$o .= <<< EOT +
+
+EOT; +} + +if($a->profile['sexual']) { +$o .= <<< EOT +
+
Sexual Preference:
+
{$a->profile['sexual']}
+
+
+EOT; +} + +if($a->profile['homepage']) { + $homepage = linkify($a->profile['homepage']); +$o .= <<< EOT +
+
Homepage:
+
$homepage
+
+
+EOT; +} + +if($a->profile['politic']) { +$o .= <<< EOT +
+
Political Views:
+
{$a->profile['politic']}
+
+
+EOT; +} + +if($a->profile['religion']) { +$o .= <<< EOT +
+
Religion:
+
{$a->profile['religion']}
+
+
+EOT; +} + +if($txt = bbcode($a->profile['about'])) { +$o .= <<< EOT +
+
About:
+
+
$txt
+
+
+EOT; +} + +if($txt = bbcode($a->profile['interest'])) { +$o .= <<< EOT +
+
Hobbies/Interests:
+
+
$txt
+
+
+EOT; +} + +if($txt = bbcode($a->profile['contact'])) { +$o .= <<< EOT +
+
Contact information and Social Networks:
+
+
$txt
+
+
+EOT; +} + +if($txt = bbcode($a->profile['music'])) { +$o .= <<< EOT +
+
Musical interests:
+
+
$txt
+
+
+EOT; +} + +if($txt = bbcode($a->profile['book'])) { +$o .= <<< EOT +
+
Books, literature:
+
+
$txt
+
+
+EOT; +} + +if($txt = bbcode($a->profile['tv'])) { +$o .= <<< EOT +
+
Television:
+
+
$txt
+
+
+EOT; +} + +if($txt = bbcode($a->profile['film'])) { +$o .= <<< EOT +
+
Film/dance/culture/entertainment:
+
+
$txt
+
+
+EOT; +} + +if($txt = bbcode($a->profile['romance'])) { +$o .= <<< EOT +
+
Love/romance:
+
+
$txt
+
+
+EOT; +} + +if($txt = bbcode($a->profile['work'])) { +$o .= <<< EOT +
+
Work/employment:
+
+
$txt
+
+
+EOT; +} + +if($txt = bbcode($a->profile['education'])) { +$o .= <<< EOT +
+
School/education:
+
+
$txt
+
+
+EOT; +} + + -- cgit v1.2.3