From c77b400283e29d51fcdc159799af5fe18f8eb7c9 Mon Sep 17 00:00:00 2001 From: Takuma Mikami Date: Mon, 23 Mar 2015 12:02:12 +0900 Subject: [PATCH] add Ja Lang --- .../DiffFormatters/JaDiffFormatter.php | 18 ++++++++++++++++++ src/lang/ja/months.php | 16 ++++++++++++++++ src/lang/ja/units.php | 11 +++++++++++ 3 files changed, 45 insertions(+) create mode 100644 src/Laravelrus/LocalizedCarbon/DiffFormatters/JaDiffFormatter.php create mode 100644 src/lang/ja/months.php create mode 100644 src/lang/ja/units.php diff --git a/src/Laravelrus/LocalizedCarbon/DiffFormatters/JaDiffFormatter.php b/src/Laravelrus/LocalizedCarbon/DiffFormatters/JaDiffFormatter.php new file mode 100644 index 0000000..efb3a5c --- /dev/null +++ b/src/Laravelrus/LocalizedCarbon/DiffFormatters/JaDiffFormatter.php @@ -0,0 +1,18 @@ + "1月", + "february" => "2月", + "march" => "3月", + "april" => "4月", + "may" => "5月", + "june" => "6月", + "july" => "7月", + "august" => "8月", + "september" => "9月", + "october" => "10月", + "november" => "11月", + "december" => "12月", +); diff --git a/src/lang/ja/units.php b/src/lang/ja/units.php new file mode 100644 index 0000000..6a2f5c6 --- /dev/null +++ b/src/lang/ja/units.php @@ -0,0 +1,11 @@ + "秒", + "minute" => "分", + "hour" => "時間", + "day" => "日", + "week" => "週間|", + "month" => "ヶ月", + "year" => "年", +);