SkillMemo: December 2011 Archives

WordPress 日付を英語表記に

[wp-includes/general-template.php] を修正

[アーカイブの見出し日付]
修正前
$text = sprintf(__('%1$s %2$d'), $wp_locale->get_month($arcresult->month), $arcresult->year);
修正後
$text = sprintf(__('%1$s, %2$d'), $wp_locale->get_month($arcresult->month), $arcresult->year);

[カレンダーの見出し日付]
修正前
$calendar_caption = _x('%1$s %2$s', 'calendar caption');
修正後
$calendar_caption = _x('%1$s, %2$s', 'calendar caption');

双方「%1$s %2$s」の間に「,」を入れて「%1$s, %2$s」とするだけ。

他は[wp-content/languages/ja.po]を[Poedit]で編集し、[ja.mo]を書き出し、アップ。
Poeditダウンロード : http://www.poedit.net/download.php

SkillMemo by koji nishida - 2011/12/01 09:14 (Thu)