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
4d8afd8e5b
wip
2013-12-26 14:59:23 +01:00
Marco Bonetti
46c6ff05a3
included the Microsoft translator API client
2013-12-26 14:34:04 +01:00
Marco Bonetti
bf0b253dec
Fixes issue 87, missing context variable in catalog list
2013-08-07 13:23:17 +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
btx
90cf37c912
Fixed reflang switching – keeping current reflang selected.
2013-06-18 15:15:32 +02:00
Virgil Dupras
0aa1b1917f
Removed a comment that became obsolete with recent developments.
...
The local scope is no longer used to build the template context. It is now
explicitely built.
2013-04-19 09:17:54 -04:00
Virgil Dupras
ba6aa9d37e
Fixed a crash when reflang wouldn't be enabled.
...
This crash was introduced by the merge with mbi/develop.
2013-04-19 09:11:21 -04:00
Virgil Dupras
1ff1e04460
Merge remote-tracking branch 'mbi/develop' into reflang
...
Conflicts:
README.rst
rosetta/views.py
2013-04-19 09:09:21 -04: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
Virgil Dupras
bb005cade8
Adjusted the reflang branch to latest commits in develop.
...
Since render_to_response() in the home() view no longer passes the local scope
as context, we have to explicitly set ENABLE_REFLANG in the template context.
2013-03-05 11:49:01 -05:00
Virgil Dupras
a4a7ddb589
Merge branch 'develop' into reflang
2013-03-05 08:48:50 -05:00
Marco Bonetti
0e1f21e88b
release 0.7.1 -- missing value in context
2013-03-01 11:33:07 +01:00
Marco Bonetti
f0ac2216d1
Django 1.3 requires Python2.4+, so we can now drop the old style decorator syntax
2013-02-28 13:52:28 +01:00
Marco Bonetti
b42f729b73
list apps by alphabetical order
2013-02-28 13:47:11 +01:00
Marco Bonetti
d9b0355825
coverage and removed nasty locals() calls
2013-02-28 13:36:31 +01:00
Marco Bonetti
6ac75be721
wip cleanup
2013-02-28 12:18:08 +01:00
Marco Bonetti
16d1a49515
all tests pass
2013-02-27 21:01:00 +01:00
Marco Bonetti
08569f23ce
wip python 3 support
2013-02-27 18:24:53 +01:00
Virgil Dupras
e83d68655e
Don't crash when a PO file for the selected ref language is missing or invalid.
2013-01-30 15:59:14 -05:00
Marco Bonetti
f243ab7eaa
add an explicit cache timeout value in the CacheRosettaStorage, to mitigate #59
2013-01-30 20:45:16 +01:00
Virgil Dupras
f00009686f
Added the ROSETTA_ENABLE_REFLANG flag.
...
This way, it's possible to disable the feature. Also, added a description of
the feature in the README.
2013-01-30 14:18:34 -05:00
Virgil Dupras
ed446f9321
Use the new "storage" object instead of request.session.
...
Also, made the default ref lang 'msgid' instead of 'fr'.
2013-01-29 16:19:51 -05:00
Virgil Dupras
31a0427f78
Merge branch 'develop' into reflang
2013-01-29 15:53:17 -05:00
Virgil Dupras
7a200ece7c
Merge commit '4146da3287f71ccec5a6713e7e75cb346e805bce' into reflang
...
There was a conflict with rosetta/views.py, but it was easily resolved.
2013-01-29 15:53:05 -05:00
Virgil Dupras
1a13a890b6
Merge commit '4067e069bd680d67aea10afbd841113f6a7f3fd3' into reflang
...
That's (I think), the last commit for v0.6.7 (versionning in this
project is hazy).
2013-01-29 15:47:27 -05:00
Virgil Dupras
8f8429d27d
Merge commit '329e8c693bc90b667f6f09235eec728dffc62f87' into reflang.
...
That commit if v0.6.6.
2013-01-29 15:41:17 -05:00
Virgil Dupras
3ebed99ac2
Extracted the "reflang" feature and applied it on its original commit.
...
I extracted the minimal feature set I could so that integration with newer
upstream commits are easier.
2013-01-29 15:35:11 -05:00
David Kuchar
d959ddc3cd
building a separate bulk translator
2012-09-28 20:02:02 -07:00
David Kuchar
8785c39483
updated Azure Translator support
2012-08-29 12:46:09 -07:00
Jason Moiron
d00dca3d22
force the inclusion of a timezone with timestamps that make it to the pofile to keep them compatible with pybabel
2012-07-26 14:53:52 -04:00
Marco Bonetti
49b4c3e964
Actually move to the next block when submitting a lot of translations (Issue #13 ) - Thanks @fetzig for the patch
2012-06-08 15:50:12 +02:00
Marco Bonetti
9b3359002c
Merge branch 'develop' of https://github.com/metalpriest/django-rosetta into pull-request-39
2012-06-07 14:37:08 +02:00
Marco Bonetti
4146da3287
rosetta 0.6.8 with pluggable storage classes, fixes Issue 38
2012-06-07 13:46:16 +02:00
Marco Bonetti
3185d99bf7
storages, wip
2012-05-23 11:45:04 +02:00
Dmitry Upolovnikov
f0252f1cfc
Added msgctxt for entrie's md5.
2012-05-21 12:41:02 +03:00
Marco Bonetti
7ffc385e72
Merge branch 'master' of https://github.com/sleepyjames/django-rosetta into pull-request-29
2012-03-31 09:09:59 +02:00
Marco Bonetti
d05eece0d4
Merged @rory's PR to correcty handle plural strings that have a leading/trailing newline (Issue #34 )
2012-03-29 17:21:09 +02:00
Marco Bonetti
329e8c693b
Version 0.6.6, Django 1.4 compatibility
2012-03-27 17:08:48 +02:00
Marco Bonetti
7c3a8bb159
initial django 1.4 support. Fixes issue 30.
2012-03-14 09:18:56 +01:00
James White
0cc88501c8
Re-instance .po file save.
2012-03-09 12:27:02 +00:00
James White
10f7c5210b
Fix .mo save if path contains the '.mo' string
2012-03-07 13:38:02 +00:00
Marco Bonetti
f7872d5598
Merge branch 'pull-request-23' into develop
2012-01-28 09:00:30 +01:00
Marco Bonetti
32f7a1f0a1
Fix for issue #24 . Support for --nowrap in the edited Po file
2012-01-28 08:58:41 +01:00
Nick Pope
b663129902
Prevent context issue w/ django.contrib.messages
...
Due to the situation we have at work, I encounter a problem whereby the
variable 'messages' in the template render context is overwritten by the
variable 'messages' provided by django.contrib.messages which is passed
in via a RequestContext.
This commit simply renames 'messages' to 'rosetta_messages' to avoid
this problem.
2012-01-25 22:44:50 +00:00
Marco Bonetti
33c1ae6078
merged PR 19, slightly modified to fix a failing test (we want to recheck the setting on each decorator call)
2012-01-16 10:32:35 +01:00
Thomas W
dd304810c6
Adds a flag that allows users to disable authentication requirements for Rosetta views.
2012-01-16 00:14:08 -08:00
Marco Bonetti
4e6e19093d
0.6.3: use the Bing translation service instead of Google's
2012-01-05 15:38:46 +01:00
Marco Bonetti
c38757f9dc
initial commit
2011-06-16 11:25:15 +02:00