Skip to content

Commit

Permalink
Merge remote-tracking branch 'gh-alireza/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
cweiske committed Aug 20, 2012
2 parents 3558b5f + b6f1a81 commit 153b86f
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions src/Date/HumanDiff/Locale/fa.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<?php
/**
* Part of Date_HumanDiff
*
* PHP version 5
*
* @category Date
* @package Date_HumanDiff
* @author Alireza Meskin<alireza.meskin@gmail.com>
* @license http://www.gnu.org/copyleft/lesser.html LGPL
* @link http://pear.php.net/package/Date_HumanDiff
*/
require_once 'Date/HumanDiff/LocaleArray.php';

/**
* Persian translation of the english messages.
*
* @category Date
* @package Date_HumanDiff
* @author Alireza Meskin<alireza.meskin@gmail.com>
* @license http://www.gnu.org/copyleft/lesser.html LGPL
* @version Release: @package_version@
* @link http://pear.php.net/package/Date_HumanDiff
*/
class Date_HumanDiff_Locale_fa extends Date_HumanDiff_LocaleArray
{
/**
* Translation array.
* Key is the english variant, value the persian translation.
*
* @var array
*/
public $trans = array(
'just now' => 'در حال حاضر',
'a minute ago' => 'یک دقیقه پیش',
'%d minutes ago' => '%d دقیقه پیش',
'an hour ago' => 'یک ساعت پیش',
'%d hours ago' => '%d ساعت پیش',
'yesterday' => 'دیروز',
'%d days ago' => '%d روز پیش',
'a week ago' => 'یک هفته پیش',
'%d weeks ago' => '%d هفته پیش',
'a month ago' => 'یک ماه پیش',
'%d months ago' => '%d ماه پیش',
'a year ago' => 'یک سال پیش',
'%d years ago' => '%d سال پیش',
);
}
?>

0 comments on commit 153b86f

Please sign in to comment.