SproutCMS

This is the code documentation for the SproutCMS project

source of /sprout/Helpers/Locales/LocaleInfoTWN.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 Taiwan; see {@see LocaleInfo}
  19.  */
  20. class LocaleInfoTWN extends LocaleInfo
  21. {
  22. protected $state_list = [
  23. 'CHA' => 'Changhua',
  24. 'CYI' => 'Chiayi',
  25. 'CYQ' => 'Chiayi',
  26. 'HSQ' => 'Hsinchu',
  27. 'HSZ' => 'Hsinchu',
  28. 'HUA' => 'Hualien',
  29. 'ILA' => 'Yilan',
  30. 'KEE' => 'Keelung',
  31. 'KHH' => 'Kaohsiung',
  32. 'KIN' => 'Kinmen',
  33. 'LIE' => 'Lienchiang',
  34. 'MIA' => 'Miaoli',
  35. 'NAN' => 'Nantou',
  36. 'NWT' => 'New Taipei',
  37. 'PEN' => 'Penghu',
  38. 'PIF' => 'Pingtung',
  39. 'TAO' => 'Taoyuan',
  40. 'TNN' => 'Tainan',
  41. 'TPE' => 'Taipei',
  42. 'TTT' => 'Taitung',
  43. 'TXG' => 'Taichung',
  44. 'YUN' => 'Yunlin',
  45. ];
  46. }
  47.