Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit 7858b88

Browse files
committed
ENH: refs #0278. Removing gratuitous abuse of iso-8859-1 in files.
1 parent 07c07be commit 7858b88

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

core/controllers/ItemController.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,3 @@ function mergeAction()
370370
}//end delete
371371

372372
}//end class
373-
374-
/* pour la récupérer
375-
*/

core/controllers/components/DateComponent.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ static public function ago($timestamp, $only_time = false)
4747
}
4848
$difference = time() - $timestamp;
4949
$periods = array("second", "minute", "hour", "day", "week", "month", "years", "decade");
50-
$periodsFr = array("seconde", "minute", "heure", "jour", "semaine", "mois", "année", "décades");
50+
$periodsFr = array("seconde", "minute", "heure", "jour", "semaine", "mois", "annee", "decades");
5151
$lengths = array("60", "60", "24", "7", "4.35", "12", "10");
5252
for($j = 0; $difference >= $lengths[$j]; $j++)
5353
{
@@ -84,4 +84,4 @@ static public function ago($timestamp, $only_time = false)
8484
}
8585
return $text;
8686
}
87-
} // end class
87+
} // end class

core/layouts/layout.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,11 +154,11 @@ echo $this->doctype()
154154
<?php
155155
if($this->lang=='fr')
156156
{
157-
echo '<a href="#"><b>Français</b></a>';
157+
echo '<a href="#"><b>Francais</b></a>';
158158
}
159159
else
160160
{
161-
echo '<a href="'.$this->webroot.'?lang=fr">Français</a>';
161+
echo '<a href="'.$this->webroot.'?lang=fr">Francais</a>';
162162
}
163163
?>
164164
</li>

0 commit comments

Comments
 (0)