{ "info": { "author": "Jarom\u00edr Pufler", "author_email": "jaromir.pufler@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Internationalization" ], "description": "pybabel-angularjs\n=================\n\n[![Build Status](https://travis-ci.org/chuckyblack/pybabel-angularjs.svg?branch=master)](https://travis-ci.org/chuckyblack/pybabel-angularjs.svg?branch=master)\n\nA Babel extractor for AngularJS templates.\n\nTo translate the content of an HTML element use the `i18n`\nattribute:\n\n
hello world!
\n\nTo give somme context to your translators add value to the attribute:\n\n
hello world!
\n\n## Babel configuration\n\n### extract_attribute\n\nTo change default `i18n` attribute use `extract_attribute` options:\n\n [angularjs: **/*.html]\n encoding = utf-8\n extract_attribute = translate\n \nThen use in template:\n\n
hello world!
\n \n### include_attributes\n\nTo translate attributes of HTML nodes use `include_attributes` options:\n\n [angularjs: **/*.html]\n encoding = utf-8\n include_attributes = title, alt\n \nThen use in template:\n\n
hello world!
\n \"some\n \n \n### allowed_tags\n\nContent of every translated tag is checked for tags it contains. You have to define sub-tags that can occur.\nTags allowed by default are: strong, br, i\n\n [angularjs: **/*.html]\n encoding = utf-8\n allowed_tags = a, strong, br\n \n \n### allowed_attributes_x\n\nSub-tags (described in 'allowed_tags') may by default contain NO attributes at all.\nIf you want to enable them to, you have to use this notation:\n\n [angularjs: **/*.html]\n encoding = utf-8\n allowed_tags = a, i\n allowed_attributes_a = href\n allowed_attributes_i = class\n \nThe allowed_attribues_x setting needs to be accompanied by appropriate 'allowed_tags' setting. \n\n\nHeavily inspired by \nhttps://bitbucket.org/shoreware/pybabel-angularjs", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/chuckyblack/pybabel-angularjs", "keywords": "angularjs gettext babel i18n translate", "license": "Apache Software License", "maintainer": "", "maintainer_email": "", "name": "pybabel-angularjs", "package_url": "https://pypi.org/project/pybabel-angularjs/", "platform": "", "project_url": "https://pypi.org/project/pybabel-angularjs/", "project_urls": { "Homepage": "https://github.com/chuckyblack/pybabel-angularjs" }, "release_url": "https://pypi.org/project/pybabel-angularjs/1.3.5/", "requires_dist": null, "requires_python": "", "summary": "An AngularJS extractor for Babel", "version": "1.3.5" }, "last_serial": 4361535, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "c234d4028cd27aeeeb2f60e763b33377", "sha256": "0b70bf7a2c28af852b34bde9c9539e4375abbaecd89b130b5fa243518be31c42" }, "downloads": -1, "filename": "pybabel_angularjs-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c234d4028cd27aeeeb2f60e763b33377", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3247, "upload_time": "2018-06-30T07:52:02", "url": "https://files.pythonhosted.org/packages/b1/cc/0f1e750b33a9a9e261beb43398d1ebee3b9ff20890595e123f2da6d46c12/pybabel_angularjs-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7c97c21ec1e3cff6ede2e775b3df699d", "sha256": "fae8b3ffcc0ba2cbc108d78cc05e2184eca080deab7c5d223b4ecb6ae431e2aa" }, "downloads": -1, "filename": "pybabel-angularjs-1.0.0.tar.gz", "has_sig": false, "md5_digest": "7c97c21ec1e3cff6ede2e775b3df699d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6755, "upload_time": "2018-06-30T07:52:03", "url": "https://files.pythonhosted.org/packages/a8/b6/d1f64854ea1d5a7cd8c5056306cc0cef84da121b3f5e1407208ca162e325/pybabel-angularjs-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "6bf879127faadbe0503fe39568eab22e", "sha256": "fac67dbb7bf188bf70ec4408efad813108c3f0dc245475cfa73eef350d872e83" }, "downloads": -1, "filename": "pybabel_angularjs-1.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6bf879127faadbe0503fe39568eab22e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3866, "upload_time": "2018-09-06T18:50:41", "url": "https://files.pythonhosted.org/packages/ff/28/f2c35985175a225eaaea5a62709548cb8e2974ba9488df1a2e83747fca37/pybabel_angularjs-1.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "68aa9809fa909609f0ba54cceffaa53a", "sha256": "4f9e5162ee4cb28b470a0538ca48dab365c800a75ebee38c2d6bfc02375a4139" }, "downloads": -1, "filename": "pybabel-angularjs-1.1.0.tar.gz", "has_sig": false, "md5_digest": "68aa9809fa909609f0ba54cceffaa53a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7371, "upload_time": "2018-09-06T18:50:43", "url": "https://files.pythonhosted.org/packages/3d/d0/57637ab0872a652d5a9c2d8d57fc54a375578c019f0500b09c15b9e4ddb5/pybabel-angularjs-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "98241eb7a1782597be26e0681e2417e4", "sha256": "a221f1d9655a93be899be1923dbc2966621813d0c8886b6708122d4bde452295" }, "downloads": -1, "filename": "pybabel_angularjs-1.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "98241eb7a1782597be26e0681e2417e4", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3866, "upload_time": "2018-09-16T08:11:35", "url": "https://files.pythonhosted.org/packages/b4/08/facca5dd85e3081439024508fcd012b7aac34b37d25c1bb273a4a263517b/pybabel_angularjs-1.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e840a1415fab1910010dcf8ab7025558", "sha256": "552933f4b5163040be09fb6bbb2a0a46f447fac54f4d5e91d1a6292cb68f7625" }, "downloads": -1, "filename": "pybabel-angularjs-1.1.1.tar.gz", "has_sig": false, "md5_digest": "e840a1415fab1910010dcf8ab7025558", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7377, "upload_time": "2018-09-16T08:11:37", "url": "https://files.pythonhosted.org/packages/a5/cf/4d52208315c8a16712112e1c738373ab48f0010b3c1ef02184eaa971989d/pybabel-angularjs-1.1.1.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "86ba714f39ad9572b1851739a83849ee", "sha256": "32915c28105da5fe895469805754f47b4c3f9cc608e6a2a340f0c90e2e59e858" }, "downloads": -1, "filename": "pybabel_angularjs-1.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "86ba714f39ad9572b1851739a83849ee", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4489, "upload_time": "2018-09-18T20:16:08", "url": "https://files.pythonhosted.org/packages/81/40/4ce4fff3aed3147fc9fb12c9e62318d6574033a2a5fc42354bde95d4bd42/pybabel_angularjs-1.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fe98f4561e4d290db9bef88ec5af803c", "sha256": "d669c6e21cb2f467a0b9f45754e203c5757556cd880ee9ef03bc700a158e5c0c" }, "downloads": -1, "filename": "pybabel-angularjs-1.2.0.tar.gz", "has_sig": false, "md5_digest": "fe98f4561e4d290db9bef88ec5af803c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8072, "upload_time": "2018-09-18T20:16:09", "url": "https://files.pythonhosted.org/packages/d7/7d/01a80b40005bd042b0fd4ab88e3d67870835e667bdd90e4f93b2ca615e93/pybabel-angularjs-1.2.0.tar.gz" } ], "1.3.0": [ { "comment_text": "", "digests": { "md5": "58468d14bbd5f3cbd8f457c17f4672ac", "sha256": "1a1e52b2424c9f2af7957ce69220870d74d9bdb2a57776d94e5110c03161dd68" }, "downloads": -1, "filename": "pybabel-angularjs-1.3.0.tar.gz", "has_sig": false, "md5_digest": "58468d14bbd5f3cbd8f457c17f4672ac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8414, "upload_time": "2018-09-21T10:11:20", "url": "https://files.pythonhosted.org/packages/69/ba/59796b5511ce0ae849055889f44d42ee589fb035ab0ccc0df2aea3b52f15/pybabel-angularjs-1.3.0.tar.gz" } ], "1.3.3": [ { "comment_text": "", "digests": { "md5": "d9782e824adc17828d4353ed73bb7ca0", "sha256": "4b852ca9a33e6f60a1663f442f00d16e4e2d9ea3b124c0d43a333ebf212b6ec1" }, "downloads": -1, "filename": "pybabel-angularjs-1.3.3.tar.gz", "has_sig": false, "md5_digest": "d9782e824adc17828d4353ed73bb7ca0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8462, "upload_time": "2018-09-27T19:43:58", "url": "https://files.pythonhosted.org/packages/75/b0/5edf374ed1752ee0a8e5c9b634759436ad5eaa055f1f194368ea5441b0f3/pybabel-angularjs-1.3.3.tar.gz" } ], "1.3.5": [ { "comment_text": "", "digests": { "md5": "d18011438e1f5358a269a604a1334b70", "sha256": "a290a810df7a0c72aa76296e6564bc401342926fb35890d2fa3b0f667417e871" }, "downloads": -1, "filename": "pybabel-angularjs-1.3.5.tar.gz", "has_sig": false, "md5_digest": "d18011438e1f5358a269a604a1334b70", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8489, "upload_time": "2018-10-10T20:35:27", "url": "https://files.pythonhosted.org/packages/6c/25/6159abe989f630503879876e55167653ce45226eed5dbfcbebb46e23970f/pybabel-angularjs-1.3.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d18011438e1f5358a269a604a1334b70", "sha256": "a290a810df7a0c72aa76296e6564bc401342926fb35890d2fa3b0f667417e871" }, "downloads": -1, "filename": "pybabel-angularjs-1.3.5.tar.gz", "has_sig": false, "md5_digest": "d18011438e1f5358a269a604a1334b70", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8489, "upload_time": "2018-10-10T20:35:27", "url": "https://files.pythonhosted.org/packages/6c/25/6159abe989f630503879876e55167653ce45226eed5dbfcbebb46e23970f/pybabel-angularjs-1.3.5.tar.gz" } ] }