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
btx
90cf37c912
Fixed reflang switching – keeping current reflang selected.
2013-06-18 15:15:32 +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
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
2b2c5772c4
Added a testcase for the reflang feature.
2013-04-19 09:11:50 -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
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
AmirAli Akbari
2195d59ba8
Added translation for Farsi (fa).
2013-04-01 19:05:38 +04:30
minime
c1700d7233
fixed mess with app_id between pages
2013-03-06 18:22:53 +04: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
f1a332bf90
Fixes issue #67 - settings imports unicode_literals from __future__
2013-03-04 18:24:36 +01: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
Marco Bonetti
ba972b5b6a
Possible fix for issues #63 and #64
2013-02-21 16:46:16 +01:00
Till Backhaus
f6fcf2d12b
bump version number
2013-02-11 13:32:29 +01:00
Till Backhaus
7d9e0c5918
fix admin urls for static files in django 1.5
2013-02-11 13:01:51 +01:00
Marco Bonetti
5cbd6e6ca2
upgraded bundled polib to v1.0.3
2013-02-10 11:08:27 +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
19fcde6053
Fixed bad call to the "url" templatetag.
...
The url name was unquoted.
2013-01-29 15:57:35 -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
Marco Bonetti
4b9de2eac6
fallback for django 1.3, too
2013-01-15 14:35:08 +01:00
Marco Bonetti
95a53c7234
Merge branch 'develop' of https://github.com/jmoiron/django-rosetta into pull-request-43
2013-01-15 14:28:36 +01:00
Marco Bonetti
bb0c774ed8
additional storage tests to make sure cache and session storage actually works
2013-01-09 15:24:51 +01:00
Marco Bonetti
3009ab1525
added a test to check for DummyCache when using CacheRosettaStorage, which could explain issues #51 and #56
2013-01-09 15:03:01 +01:00
Marco Bonetti
5a51e39738
FIXES #46 - New quoted URL system in django 1.5
2013-01-09 14:16:54 +01: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
Will Boyce
9f87f67338
added ROSETTA_POFILENAMES setting
2012-07-31 09:34:10 +01: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
5cbf5f80ed
Fix for issue 39 - Add msgctxt to the entry hash to differentiate entries with context. Thanks @metalpriest
2012-06-07 16:52:38 +02:00
Marco Bonetti
f756e0c7ee
Fix for issue 39 - Add msgctxt to the entry hash to differentiate entries with context. Thanks @metalpriest
2012-06-07 16:52:28 +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
4bf26e1c01
Merge branch 'develop' of github.com:mbi/django-rosetta into storages
2012-06-07 10:18:27 +02:00
Henk Vos
b10e37ebeb
change to def proces to display the actual po file that contains the error on top of the line number
2012-05-30 14:55:26 +02:00
Marco Bonetti
3185d99bf7
storages, wip
2012-05-23 11:45:04 +02:00
Marco Bonetti
72452dd4b3
storages, wip
2012-05-23 11:44:15 +02:00
Dmitry Upolovnikov
f0252f1cfc
Added msgctxt for entrie's md5.
2012-05-21 12:41:02 +03:00
Marco Bonetti
4067e069bd
Merge branch 'develop' of github.com:mbi/django-rosetta into develop
...
Conflicts:
CHANGES
rosetta/locale/fr/LC_MESSAGES/django.po
2012-04-15 09:04:56 +02:00
Marco Bonetti
a73243f30b
added a test project to run tests
2012-04-15 09:02:06 +02:00
Bertrand Bordage
ae14db8588
Update french translation.
2012-04-05 15:33:45 +02: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
Kit Sunde
b34d24915b
Fixes the translation callback not being called and allow for suggestions on "zh-tw" and "zh-cn".
2012-02-25 05:47:43 +08:00
Kit Sunde
9fbf953216
Show bing suggest errors.
2012-02-24 18:37:21 +08:00
Marco Bonetti
e89c42b48c
moved CHANGES file
2012-01-28 09:03:52 +01: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
64df1d79c7
version bump
2012-01-16 10:36:58 +01: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
Daniel Boczek
e68b9af59c
Comments for translators are considered safe in template so developer can add html (fe. links) in them and they display correctly in browser.
2011-08-31 11:27:46 +03:00
Marco Bonetti
eca151e974
bumbed the requirements to Django 1.2, added a fix to handle the tests under Django 1.2
2011-08-27 17:20:23 +02:00
Marco Bonetti
acbd1ceac0
fix for (GoogleCode) issues 112 - Sublanguages & invalid translation language pair
2011-08-27 16:51:33 +02:00
Jarek Śmiejczak
5ffd64915c
fixing test_10_issue_79_num_entries to use proper locale formatting of float
2011-08-12 13:28:46 +02:00
Marco Bonetti
0a75bf00aa
merge of pull request 1, slightly edited
2011-06-30 14:45:40 +02:00
Juan Pablo Martínez
4c23b74a56
add button to translate all rows and unfuzzy
2011-06-25 15:59:56 -03:00
Marco Bonetti
057f278c5c
version bump
2011-06-16 12:23:57 +02:00
Marco Bonetti
c38757f9dc
initial commit
2011-06-16 11:25:15 +02:00