-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'gh-alireza/master'
- Loading branch information
Showing
1 changed file
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 سال پیش', | ||
); | ||
} | ||
?> |