Commit graph

111 commits

Author SHA1 Message Date
vesteinn
6ea3198417 Update views.py
Mimetype changed to content_type in django 1.7, fix in rosett views.
2014-10-17 10:40:02 +02:00
Marco Bonetti
bd00ce90b4 initial fixes for testing against django 1.7 final, fixes some translations 2014-09-17 10:40:41 +02:00
Marco Bonetti
142570ae75 Merge pull request #110 from benebun/patch-2
Use formal form of address consistently in German
2014-08-12 21:03:03 +02:00
Benedikt Breinbauer
8a0f7ced03 Use formal form of address consistently in German 2014-08-12 20:21:29 +02:00
Benedikt Breinbauer
34c42991fe Capitalize German spelling of Sie consistently 2014-08-12 20:18:28 +02:00
artscoop
88136e21b3 Update poutil.py 2014-06-07 03:02:54 +02:00
artscoop
a08e017980 Initial Django 1.7 compatibility fix
When rosetta tries to load every INSTALLED_APP, it fetches app modules. However, in Django 1.7, importing some INSTALLED_APPS can fetch AppConfig instances instead of modules, and they have no `__file__` attribute. You then need to find the app module for the AppConfig instance.
This allows rosetta to properly seek locale folders.
2014-06-07 02:54:05 +02:00
Marco Bonetti
6c638bcc3f Removed microsofttranslator as a shipped dependency, now that Python3 support has landed upstream 2014-06-02 09:32:29 +02:00
Marco Bonetti
e963ca69f1 Added docs, tests and fine tuned ROSETTA_LANGUAGE_GROUPS setting 2014-05-02 12:04:41 +02:00
Marco Bonetti
dc5a2462fd Merge branch 'develop' into pr/103 2014-05-02 11:40:56 +02:00
Marco Bonetti
7b84c42016 Changelog, tests and docs for ROSETTA_EXCLUDE_PATHS 2014-05-02 11:37:39 +02:00
Morten Barklund
1efd2a8ba0 Added new config option to enable language-specific translator groups 2014-04-29 15:53:28 +02:00
elpaso
729286033d Added ROSETTA_EXCLUDED_PATHS 2014-04-29 15:33:22 +02:00
Marco Bonetti
68e02a3094 version bump 2014-04-06 10:01:27 +02:00
Marco Bonetti
c1ebedd95a fixes a microsofttranslator test that was too noisy 2014-04-06 09:33:40 +02:00
Marco Bonetti
2ad3f83e61 import the external js file with the correct URL scheme 2014-04-06 09:18:37 +02:00
tsouvarev
18ae20cbea Update base.html
jsapi from 'http://www.google.com/jsapi' is not working, but 'httpS://www.google.com/jsapi' loading just fine
2014-04-01 11:14:08 -04:00
Marco Bonetti
84991fa7c8 rebuilt Czech translation 2014-03-01 15:09:18 +01:00
Joe
b2879d46e9 Update czech plural forms 2014-02-28 14:53:32 +01:00
Marco Bonetti
78a6b4d325 No longer ship Polib but rely on the cheese shop instead. Also fixes a behavior with plural forms that was addressed upstram in polib 1.0.4 2014-02-28 14:12:21 +01:00
Marco Bonetti
b8654ab7b1 fixes standard compliance of all shipped translation catalogs 2014-02-28 14:11:19 +01:00
cuchac
acbe54ae4a Update czech translation 2014-02-28 10:57:48 +01:00
Marco Bonetti
78224d7f7c Merged PR #44, wrote a test 2014-01-15 17:22:38 +01:00
Marco Bonetti
043ace4ebb Merge branch 'develop' into pr/44
Conflicts:
	README.rst
	rosetta/conf/settings.py
	rosetta/poutil.py
2014-01-15 17:07:38 +01:00
Marco Bonetti
5125ebac7f Merge branch 'develop' of https://github.com/tback/django-rosetta into tback-develop
Conflicts:
	rosetta/__init__.py
2013-12-26 15:02:38 +01:00
Marco Bonetti
4d8afd8e5b wip 2013-12-26 14:59:23 +01:00
Marco Bonetti
5304595cd7 include the translator tests 2013-12-26 14:46:07 +01:00
Marco Bonetti
46c6ff05a3 included the Microsoft translator API client 2013-12-26 14:34:04 +01:00
Marco Bonetti
a5ea8cc35e Small refactoring of tests 2013-09-18 14:38:48 +02:00
Alexey Subbotin
7afdffb34a just single quotes 2013-09-18 13:37:16 +02:00
dotsbb
f3a38f5877 ORM Query refactoring access.py
One query instead of two queries to database.
2013-09-18 13:12:34 +02:00
Marco Bonetti
76e8387f8c Removed support for the signed_cookies SESSION_ENGINE + SessionRosettaStorage in Django 1.6 2013-09-09 10:57:28 +02:00
Marco Bonetti
6e8c30b843 Yandex Translate API support 2013-09-05 15:04:19 +02:00
Marco Bonetti
0c5bd77122 Merge branch 'develop' into pr/89 2013-09-05 14:49:51 +02:00
Marco Bonetti
860e69a686 clear the django apps cache key prior to testing 2013-09-05 14:49:37 +02:00
BlackWizard
f799e0ba4c Yandex Translate API support 2013-09-03 17:19:21 +04:00
Marco Bonetti
bf0b253dec Fixes issue 87, missing context variable in catalog list 2013-08-07 13:23:17 +02:00
Maikel Wever
efe71a39d2 Minor cleanup 2013-07-18 17:11:42 +02:00
Maikel Wever
edd215e706 Remove utils file which does nothing 2013-07-18 17:08:45 +02:00
Maikel Wever
05c91d44ef Fix error in merge 2013-07-18 16:48:54 +02:00
Maikel Wever
9c2a791c82 Merge bing to azure fix with current rosetta 2013-07-18 16:44:47 +02:00
Marco Bonetti
f891399d52 WIP tests against Django 1.6b1, some tests failing with Python3 2013-06-29 08:57:42 +02:00
Marco Bonetti
4ac54ff679 Fixes issue #81 - settings are poisoned during tests 2013-06-26 09:51:23 +02:00
Olivier Cortès
eed2987659 Implement ROSETTA_CACHE_NAME, which defaults to 'rosetta' with a fallback to 'default' if unset. 2013-05-06 11:31:07 +02:00
Marco Bonetti
44b3314fd4 Accept languages as 'fr_FR.utf8' in lang_sel url. Fixes Issue #71 2013-04-30 14:57:16 +02:00
Mathieu Comandon
5ca9eb8234 Add test for pull request #71 2013-04-16 13:57:17 +02:00
Marco Bonetti
1d96772b04 Merge branch 'develop' of https://github.com/kanu/django-rosetta into pull-request-73 2013-04-16 13:17:44 +02:00
David Winterbottom
718f9430ad Allow access control function to be replaced
The current access control function `can_translate` is not always
sufficient.  For instance, some projects require access to translation
to be controlled using a permission rather than using groups.

This change introduces a new setting `ROSETTA_ACCESS_CONTROL_FUNCTION`
that allows an alternative predicate to be specified.  The default is to
use the current function so this change is backwards compatible.
2013-04-16 11:42:44 +01:00
kanu
6e5e6ef28e fixed lang_sel view picking the wrong file. 2013-04-12 12:36:57 +02:00
Mathieu Comandon
ffeefe014c Accept languages as 'fr_FR.utf8' in lang_sel url 2013-04-03 14:47:09 +02:00