SproutCMS

This is the code documentation for the SproutCMS project

source of /sprout/Helpers/Locales/LocaleInfoSWE.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 Sweden; see {@see LocaleInfo}
  19.  */
  20. class LocaleInfoSWE extends LocaleInfo
  21. {
  22. protected $state_list = [
  23. 'AB' => 'Stockholms län',
  24. 'AC' => 'Västerbottens län',
  25. 'BD' => 'Norrbottens län',
  26. 'C' => 'Uppsala län',
  27. 'D' => 'Södermanlands län',
  28. 'E' => 'Östergötlands län',
  29. 'F' => 'Jönköpings län',
  30. 'G' => 'Kronoborgs län',
  31. 'H' => 'Kalmar län',
  32. 'I' => 'Gotlands län',
  33. 'K' => 'Blekinge län',
  34. 'M' => 'Skåne län',
  35. 'N' => 'Hallands län',
  36. 'O' => 'Västra Götalands län',
  37. 'S' => 'Värmlands län',
  38. 'T' => 'Örebro län',
  39. 'U' => 'Västmanlands län',
  40. 'W' => 'Dalarnes län',
  41. 'X' => 'Gävleborgs län',
  42. 'Y' => 'Västernorrlands län',
  43. 'Z' => 'Jämtlands län',
  44. ];
  45. }
  46.