[ckan-changes] [ckan/ckan] 0cff7b: Fix #2895: Problems with translations in plugins (...
GitHub
noreply at github.com
Tue Mar 29 11:30:34 UTC 2016
Branch: refs/heads/master
Home: https://github.com/ckan/ckan
Commit: 0cff7b7b28f23b0f99a55c2349f2b56cf754e650
https://github.com/ckan/ckan/commit/0cff7b7b28f23b0f99a55c2349f2b56cf754e650
Author: Florian Brucker <florian.brucker at mb.karlsruhe.de>
Date: 2016-03-03 (Thu, 03 Mar 2016)
Changed paths:
M ckan/lib/plugins.py
Log Message:
-----------
Fix #2895: Problems with translations in plugins (part 1)
`ckan.lib.plugin.DefaultTranslation` relies on the extension package's
`__file__` attribute which is not available for namespace packages.
The fix is to use `ckanext.my_extension.plugin.__file__` instead. Note
that the existing code already assumes the existance of the `plugin`
module.
Commit: ad255e252b1e4f3f025bc359001a5b2083a7783e
https://github.com/ckan/ckan/commit/ad255e252b1e4f3f025bc359001a5b2083a7783e
Author: Florian Brucker <florian.brucker at mb.karlsruhe.de>
Date: 2016-03-03 (Thu, 03 Mar 2016)
Changed paths:
M ckan/pastertemplates/template/MANIFEST.in_tmpl
Log Message:
-----------
Fix #2895: Problems with translations in plugins (part 2)
In extensions created using the current templates `*.mo` files (compiled
translations) are not picked up during packaging.
The fix is to include these files via the `MANIFEST.in` file and to
update the template accordingly.
Commit: a406000c8c5d65efb6c2f2b03346c9e69f792bc6
https://github.com/ckan/ckan/commit/a406000c8c5d65efb6c2f2b03346c9e69f792bc6
Author: Motornyuk Sergey <tonnydexter at gmail.com>
Date: 2016-03-24 (Thu, 24 Mar 2016)
Changed paths:
M ckan/templates/package/snippets/resource_view.html
Log Message:
-----------
[#2873] Use `resource.url` as raw_resource_url
`resource_view` template uses raw_resouce_url in order to create
download link if resource can't be displayed, but this variable is not
passed into snippet. To make that simpler, use resource.url property
for download button.
Commit: 2336602df4bdd029da09a4f64c0e7eca65c436bb
https://github.com/ckan/ckan/commit/2336602df4bdd029da09a4f64c0e7eca65c436bb
Author: amercader <amercadero at gmail.com>
Date: 2016-03-29 (Tue, 29 Mar 2016)
Changed paths:
M ckan/templates/package/snippets/resource_view.html
Log Message:
-----------
Merge branch '2873-incorrect-download-resource-link-for-not-available-resource' of https://github.com/smotornyuk/ckan into smotornyuk-2873-incorrect-download-resource-link-for-not-available-resource
Commit: d60c9472a2cc2a7fdfe962286cb6c3ea38db94a1
https://github.com/ckan/ckan/commit/d60c9472a2cc2a7fdfe962286cb6c3ea38db94a1
Author: amercader <amercadero at gmail.com>
Date: 2016-03-29 (Tue, 29 Mar 2016)
Changed paths:
M ckan/templates/package/snippets/resource_view.html
Log Message:
-----------
Merge branch 'smotornyuk-2873-incorrect-download-resource-link-for-not-available-resource'
Commit: c4b5f2b00bbe5aa5c77fbeaea715840b782fea9f
https://github.com/ckan/ckan/commit/c4b5f2b00bbe5aa5c77fbeaea715840b782fea9f
Author: amercader <amercadero at gmail.com>
Date: 2016-03-29 (Tue, 29 Mar 2016)
Changed paths:
M ckan/lib/plugins.py
M ckan/pastertemplates/template/MANIFEST.in_tmpl
Log Message:
-----------
Merge branch '2895-problems-with-translations-in-plugins' of https://github.com/torfsen/ckan into torfsen-2895-problems-with-translations-in-plugins
Commit: f9a8d4eb6c1f021c592f0770658f9897952668b1
https://github.com/ckan/ckan/commit/f9a8d4eb6c1f021c592f0770658f9897952668b1
Author: amercader <amercadero at gmail.com>
Date: 2016-03-29 (Tue, 29 Mar 2016)
Changed paths:
M ckan/lib/plugins.py
M ckan/pastertemplates/template/MANIFEST.in_tmpl
Log Message:
-----------
Merge branch 'torfsen-2895-problems-with-translations-in-plugins'
Commit: b4a3749a536cbe440401b55bdd8a17e5355b55b1
https://github.com/ckan/ckan/commit/b4a3749a536cbe440401b55bdd8a17e5355b55b1
Author: amercader <amercadero at gmail.com>
Date: 2016-03-29 (Tue, 29 Mar 2016)
Changed paths:
M ckan/tests/controllers/test_package.py
Log Message:
-----------
Merge branch 'master' of github.com:ckan/ckan
Compare: https://github.com/ckan/ckan/compare/4e12c9df6358...b4a3749a536c
More information about the ckan-changes
mailing list