SproutCMS

This is the code documentation for the SproutCMS project

source of /sprout/Helpers/Locales/LocaleInfoJPN.php

  1. <?php
  2. /*
  3.  * Copyright (C) 2017 Karmabunny Pty Ltd.
  4.  *
  5.  * This file is a part of SproutCMS.
  6.  *
  7.  * SproutCMS is free software: you can redistribute it and/or modify it under the terms
  8.  * of the GNU General Public License as published by the Free Software Foundation, either
  9.  * version 2 of the License, or (at your option) any later version.
  10.  *
  11.  * For more information, visit <http://getsproutcms.com>.
  12.  */
  13.  
  14. namespace Sprout\Helpers\Locales;
  15.  
  16.  
  17. /**
  18.  * Locale info for Japan; see {@see LocaleInfo}
  19.  */
  20. class LocaleInfoJPN extends LocaleInfo
  21. {
  22. protected $state_name = 'Prefecture';
  23. protected $state_list = array(
  24. 'Hokkaidō' => array(
  25. 'Hokkaidō' => 'Hokkaidō',
  26. ),
  27. 'Tōhoku' => array(
  28. 'Aomori-ken' => 'Aomori',
  29. 'Iwate-ken' => 'Iwate',
  30. 'Miyagi-ken' => 'Miyagi',
  31. 'Akita-ken' => 'Akita',
  32. 'Yamagata-ken' => 'Yamagata',
  33. 'Fukushima-ken' => 'Fukushima',
  34. ),
  35. 'Kantō' => array(
  36. 'Ibaraki-ken' => 'Ibaraki',
  37. 'Tochigi-ken' => 'Tochigi',
  38. 'Gunma-ken' => 'Gunma',
  39. 'Saitama-ken' => 'Saitama',
  40. 'Chiba-ken' => 'Chiba',
  41. 'Tōkyō-to' => 'Tōkyō',
  42. 'Kanagawa-ken' => 'Kanagawa',
  43. ),
  44. 'Chūbu' => array(
  45. 'Niigata-ken' => 'Niigata',
  46. 'Toyama-ken' => 'Toyama',
  47. 'Ishikawa-ken' => 'Ishikawa',
  48. 'Fukui-ken' => 'Fukui',
  49. 'Yamanashi-ken' => 'Yamanashi',
  50. 'Nagano-ken' => 'Nagano',
  51. 'Gifu-ken' => 'Gifu',
  52. 'Shizuoka-ken' => 'Shizuoka',
  53. 'Aichi-ken' => 'Aichi',
  54. ),
  55. 'Kansai' => array(
  56. 'Mie-ken' => 'Mie',
  57. 'Shiga-ken' => 'Shiga',
  58. 'Kyōto-fu' => 'Kyōto',
  59. 'Ōsaka-fu' => 'Ōsaka',
  60. 'Hyōgo-ken' => 'Hyōgo',
  61. 'Nara-ken' => 'Nara',
  62. 'Wakayama-ken' => 'Wakayama',
  63. ),
  64. 'Chūgoku' => array(
  65. 'Tottori-ken' => 'Tottori',
  66. 'Shimane-ken' => 'Shimane',
  67. 'Okayama-ken' => 'Okayama',
  68. 'Hiroshima-ken' => 'Hiroshima',
  69. 'Yamaguchi-ken' => 'Yamaguchi',
  70. ),
  71. 'Shikoku' => array(
  72. 'Tokushima-ken' => 'Tokushima',
  73. 'Kagawa-ken' => 'Kagawa',
  74. 'Ehime-ken' => 'Ehime',
  75. 'Kōchi-ken' => 'Kōchi',
  76. ),
  77. 'Kyushu' => array(
  78. 'Fukuoka-ken' => 'Fukuoka',
  79. 'Saga-ken' => 'Saga',
  80. 'Nagasaki-ken' => 'Nagasaki',
  81. 'Kumamoto-ken' => 'Kumamoto',
  82. 'Ōita-ken' => 'Ōita',
  83. 'Miyazaki-ken' => 'Miyazaki',
  84. 'Kagoshima-ken' => 'Kagoshima',
  85. 'Okinawa-ken' => 'Okinawa',
  86. ),
  87. );
  88.  
  89. protected $currency_symbol = '¥';
  90. protected $currency_decimal = 0;
  91. protected $currency_name = 'Yen';
  92. }
  93.  
  94.  
  95.