From e05a3723d2eabd6942b9b6fbb39ef722bea40404 Mon Sep 17 00:00:00 2001 From: Shohei Tanaka Date: Mon, 22 Jan 2018 06:23:30 +0900 Subject: [PATCH] Correction of English spelling of prefectures Correction of English spelling of prefectures and addition of explanatory text. Reference site https://en.wikipedia.org/wiki/Prefectures_of_Japan http://www.post.japanpost.jp/int/use/writing/ems.html * please check [tokyo] spell at image for EMS. I will edit the prefectures on translate file at translate.wordpress.org. --- i18n/states/JP.php | 97 ++++++++++++++++++++++++---------------------- 1 file changed, 50 insertions(+), 47 deletions(-) diff --git a/i18n/states/JP.php b/i18n/states/JP.php index 3645cde7b3a..4e56d137f96 100644 --- a/i18n/states/JP.php +++ b/i18n/states/JP.php @@ -6,6 +6,9 @@ * @category i18n * @package WooCommerce/i18n * @version 2.0.0 + * + * English notation of prefectures conform to the notation of Japan Post. + * The suffix corresponds with the Japanese translation file. */ global $states; @@ -14,51 +17,51 @@ if ( ! defined( 'ABSPATH' ) ) { } $states['JP'] = array( - 'JP01' => __( 'Hokkai-do', 'woocommerce' ), - 'JP02' => __( 'Aomori-ken', 'woocommerce' ), - 'JP03' => __( 'Iwate-ken', 'woocommerce' ), - 'JP04' => __( 'Miyagi-ken', 'woocommerce' ), - 'JP05' => __( 'Akita-ken', 'woocommerce' ), - 'JP06' => __( 'Yamagata-ken', 'woocommerce' ), - 'JP07' => __( 'Fukushima-ken', 'woocommerce' ), - 'JP08' => __( 'Ibaraki-ken', 'woocommerce' ), - 'JP09' => __( 'Tochigi-ken', 'woocommerce' ), - 'JP10' => __( 'Gunma-ken', 'woocommerce' ), - 'JP11' => __( 'Saitama-ken', 'woocommerce' ), - 'JP12' => __( 'Chiba-ken', 'woocommerce' ), - 'JP13' => __( 'Tokyo-to', 'woocommerce' ), - 'JP14' => __( 'Kanagawa-ken', 'woocommerce' ), - 'JP15' => __( 'Niigata-ken', 'woocommerce' ), - 'JP16' => __( 'Toyama-ken', 'woocommerce' ), - 'JP17' => __( 'Ishikawa-ken', 'woocommerce' ), - 'JP18' => __( 'Fukui-ken', 'woocommerce' ), - 'JP19' => __( 'Yamanashi-ken', 'woocommerce' ), - 'JP20' => __( 'Nagano-ken', 'woocommerce' ), - 'JP21' => __( 'Gifu-ken', 'woocommerce' ), - 'JP22' => __( 'Shizuoka-ken', 'woocommerce' ), - 'JP23' => __( 'Aichi-ken', 'woocommerce' ), - 'JP24' => __( 'Mie-ken', 'woocommerce' ), - 'JP25' => __( 'Shiga-ken', 'woocommerce' ), - 'JP26' => __( 'Kyoto-fu', 'woocommerce' ), - 'JP27' => __( 'Osaka-fu', 'woocommerce' ), - 'JP28' => __( 'Hyogo-ken', 'woocommerce' ), - 'JP29' => __( 'Nara-ken', 'woocommerce' ), - 'JP30' => __( 'Wakayama-ken', 'woocommerce' ), - 'JP31' => __( 'Tottori-ken', 'woocommerce' ), - 'JP32' => __( 'Shimane-ken', 'woocommerce' ), - 'JP33' => __( 'Okayama-ken', 'woocommerce' ), - 'JP34' => __( 'Hiroshima-ken', 'woocommerce' ), - 'JP35' => __( 'Yamaguchi-ken', 'woocommerce' ), - 'JP36' => __( 'Tokushima-ken', 'woocommerce' ), - 'JP37' => __( 'Kagawa-ken', 'woocommerce' ), - 'JP38' => __( 'Ehime-ken', 'woocommerce' ), - 'JP39' => __( 'Kochi-ken', 'woocommerce' ), - 'JP40' => __( 'Fukuoka-ken', 'woocommerce' ), - 'JP41' => __( 'Saga-ken', 'woocommerce' ), - 'JP42' => __( 'Nagasaki-ken', 'woocommerce' ), - 'JP43' => __( 'Kumamoto-ken', 'woocommerce' ), - 'JP44' => __( 'Oita-ken', 'woocommerce' ), - 'JP45' => __( 'Miyazaki-ken', 'woocommerce' ), - 'JP46' => __( 'Kagoshima-ken', 'woocommerce' ), - 'JP47' => __( 'Okinawa-ken', 'woocommerce' ), + 'JP01' => __( 'Hokkaido', 'woocommerce' ), + 'JP02' => __( 'Aomori', 'woocommerce' ), + 'JP03' => __( 'Iwate', 'woocommerce' ), + 'JP04' => __( 'Miyagi', 'woocommerce' ), + 'JP05' => __( 'Akita', 'woocommerce' ), + 'JP06' => __( 'Yamagata', 'woocommerce' ), + 'JP07' => __( 'Fukushima', 'woocommerce' ), + 'JP08' => __( 'Ibaraki', 'woocommerce' ), + 'JP09' => __( 'Tochigi', 'woocommerce' ), + 'JP10' => __( 'Gunma', 'woocommerce' ), + 'JP11' => __( 'Saitama', 'woocommerce' ), + 'JP12' => __( 'Chiba', 'woocommerce' ), + 'JP13' => __( 'Tokyo', 'woocommerce' ), + 'JP14' => __( 'Kanagawa', 'woocommerce' ), + 'JP15' => __( 'Niigata', 'woocommerce' ), + 'JP16' => __( 'Toyama', 'woocommerce' ), + 'JP17' => __( 'Ishikawa', 'woocommerce' ), + 'JP18' => __( 'Fukui', 'woocommerce' ), + 'JP19' => __( 'Yamanashi', 'woocommerce' ), + 'JP20' => __( 'Nagano', 'woocommerce' ), + 'JP21' => __( 'Gifu', 'woocommerce' ), + 'JP22' => __( 'Shizuoka', 'woocommerce' ), + 'JP23' => __( 'Aichi', 'woocommerce' ), + 'JP24' => __( 'Mie', 'woocommerce' ), + 'JP25' => __( 'Shiga', 'woocommerce' ), + 'JP26' => __( 'Kyoto', 'woocommerce' ), + 'JP27' => __( 'Osaka', 'woocommerce' ), + 'JP28' => __( 'Hyogo', 'woocommerce' ), + 'JP29' => __( 'Nara', 'woocommerce' ), + 'JP30' => __( 'Wakayama', 'woocommerce' ), + 'JP31' => __( 'Tottori', 'woocommerce' ), + 'JP32' => __( 'Shimane', 'woocommerce' ), + 'JP33' => __( 'Okayama', 'woocommerce' ), + 'JP34' => __( 'Hiroshima', 'woocommerce' ), + 'JP35' => __( 'Yamaguchi', 'woocommerce' ), + 'JP36' => __( 'Tokushima', 'woocommerce' ), + 'JP37' => __( 'Kagawa', 'woocommerce' ), + 'JP38' => __( 'Ehime', 'woocommerce' ), + 'JP39' => __( 'Kochi', 'woocommerce' ), + 'JP40' => __( 'Fukuoka', 'woocommerce' ), + 'JP41' => __( 'Saga', 'woocommerce' ), + 'JP42' => __( 'Nagasaki', 'woocommerce' ), + 'JP43' => __( 'Kumamoto', 'woocommerce' ), + 'JP44' => __( 'Oita', 'woocommerce' ), + 'JP45' => __( 'Miyazaki', 'woocommerce' ), + 'JP46' => __( 'Kagoshima', 'woocommerce' ), + 'JP47' => __( 'Okinawa', 'woocommerce' ), );