Changes between Version 37 and Version 38 of GIS/Data
- Timestamp:
- 05/21/14 22:40:28 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GIS/Data
v37 v38 25 25 26 26 auth.override = True 27 settings.L10n.languages["prs"] = "Dari" 28 settings.L10n.languages["ps"] = "Pashto" 27 languages = s3.l10n_languages 28 languages["prs"] = "Dari" 29 languages["ps"] = "Pashto" 29 30 stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl") 30 31 resource = s3db.resource("gis_location") … … 62 63 63 64 auth.override = True 64 settings.L10n.languages["hy"] = "Armenian" 65 settings.L10n.languages["ru"] = "Russian" 65 languages = s3.l10n_languages 66 languages["hy"] = "Armenian" 67 languages["ru"] = "Russian" 66 68 resource = s3db.resource("gis_location") 67 69 stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl") … … 87 89 88 90 auth.override = True 89 settings.L10n.languages["az"] = "Azerbaijani" 90 settings.L10n.languages["ru"] = "Russian" 91 languages = s3.l10n_languages 92 languages["az"] = "Azerbaijani" 93 languages["ru"] = "Russian" 91 94 resource = s3db.resource("gis_location") 92 95 stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl") … … 113 116 114 117 auth.override = True 115 settings.L10n.languages["km"] = "Khmer" 118 languages = s3.l10n_languages 119 languages["km"] = "Khmer" 116 120 resource = s3db.resource("gis_location") 117 121 stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl") … … 215 219 216 220 auth.override = True 217 settings.L10n.languages["kk"] = "Kazakh" 218 settings.L10n.languages["ru"] = "Russian" 221 languages = s3.l10n_languages 222 languages["kk"] = "Kazakh" 223 languages["ru"] = "Russian" 219 224 resource = s3db.resource("gis_location") 220 225 stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl") … … 240 245 241 246 auth.override = True 242 settings.L10n.languages["ky"] = "Kyrgyz" 243 settings.L10n.languages["ru"] = "Russian" 247 languages = s3.l10n_languages 248 languages["ky"] = "Kyrgyz" 249 languages["ru"] = "Russian" 244 250 resource = s3db.resource("gis_location") 245 251 stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl") … … 394 400 395 401 auth.override = True 396 s3db.gis_location_name.language.requires = IS_IN_SET({"tl":"Tagalog"}) 402 languages = s3.l10n_languages 403 languages["tl"] = "Tagalog" 397 404 resource = s3db.resource("gis_location") 398 405 stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl") … … 434 441 435 442 auth.override = True 436 settings.L10n.languages["tg"] = "Tajik" 437 settings.L10n.languages["ru"] = "Russian" 443 languages = s3.l10n_languages 444 languages["tg"] = "Tajik" 445 languages["ru"] = "Russian" 438 446 resource = s3db.resource("gis_location") 439 447 stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl") … … 490 498 491 499 auth.override = True 492 settings.L10n.languages["tk"] = "Turkmen" 493 settings.L10n.languages["ru"] = "Russian" 500 languages = s3.l10n_languages 501 languages["tk"] = "Turkmen" 502 languages["ru"] = "Russian" 494 503 resource = s3db.resource("gis_location") 495 504 stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl") … … 515 524 516 525 auth.override = True 517 settings.L10n.languages["uz"] = "Uzbek" 518 settings.L10n.languages["ru"] = "Russian" 526 languages = s3.l10n_languages 527 languages["uz"] = "Uzbek" 528 languages["ru"] = "Russian" 519 529 resource = s3db.resource("gis_location") 520 530 stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl") … … 585 595 586 596 auth.override = True 597 languages = s3.l10n_languages 598 languages["vi"] = "Vietnamese" 587 599 resource = s3db.resource("gis_location") 588 600 stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl") … … 621 633 622 634 auth.override = True 623 settings.L10n.languages["bs"] = "Bosnian" 624 settings.L10n.languages["hr"] = "Croatian" 625 settings.L10n.languages["rs"] = "Serbian" 635 languages = s3.l10n_languages 636 languages["bs"] = "Bosnian" 637 languages["hr"] = "Croatian" 638 languages["sr"] = "Serbian" 626 639 stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl") 627 640 resource = s3db.resource("gis_location") … … 659 672 660 673 auth.override = True 661 settings.L10n.languages["ka"] = "Georgian" 662 settings.L10n.languages["ru"] = "Russian" 674 languages = s3.l10n_languages 675 languages["ka"] = "Georgian" 676 languages["ru"] = "Russian" 663 677 resource = s3db.resource("gis_location") 664 678 stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl") … … 682 696 683 697 auth.override = True 684 settings.L10n.languages["el"] = "Greek" 698 languages = s3.l10n_languages 699 languages["el"] = "Greek" 685 700 resource = s3db.resource("gis_location") 686 701 stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl") … … 752 767 753 768 auth.override = True 754 settings.L10n.languages["ar"] = "Arabic" 769 languages = s3.l10n_languages 770 languages["ar"] = "Arabic" 755 771 resource = s3db.resource("gis_location") 756 772 stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl") … … 790 806 791 807 auth.override = True 792 settings.L10n.languages["ar"] = "Arabic" 808 languages = s3.l10n_languages 809 languages["ar"] = "Arabic" 793 810 resource = s3db.resource("gis_location") 794 811 stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl") … … 828 845 829 846 auth.override = True 830 settings.L10n.languages["ar"] = "Arabic" 847 languages = s3.l10n_languages 848 languages["ar"] = "Arabic" 831 849 resource = s3db.resource("gis_location") 832 850 stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl") … … 896 914 897 915 auth.override = True 898 settings.L10n.languages["tpi"] = "Tok Pisin" 899 settings.L10n.languages["ho"] = "Hiri Motu" 916 languages = s3.l10n_languages 917 languages["tpi"] = "Tok Pisin" 918 languages["ho"] = "Hiri Motu" 900 919 resource = s3db.resource("gis_location") 901 920 stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl")