languages_substitution.go 502 B

1234567891011121314151617181920212223242526
  1. // Copyright 2013 by Dobrosław Żybort. All rights reserved.
  2. // This Source Code Form is subject to the terms of the Mozilla Public
  3. // License, v. 2.0. If a copy of the MPL was not distributed with this
  4. // file, You can obtain one at http://mozilla.org/MPL/2.0/.
  5. package slug
  6. var deSub = map[rune]string{
  7. '&': "und",
  8. '@': "an",
  9. }
  10. var enSub = map[rune]string{
  11. '&': "and",
  12. '@': "at",
  13. }
  14. var plSub = map[rune]string{
  15. '&': "i",
  16. '@': "na",
  17. }
  18. var esSub = map[rune]string{
  19. '&': "y",
  20. '@': "en",
  21. }