Commit graph

364 commits

Author SHA1 Message Date
Nikita Sobolev
2ebd173034
Updates README.rst 2018-02-09 16:01:52 +03:00
Marco Bonetti
ba91431587 version bump to 0.8.1 2018-01-10 21:23:49 +01:00
Jon Baldivieso
a701097073 Allow searching of plural strings (source & translation). Closes #186. 2018-01-10 12:03:01 -08:00
Jon Baldivieso
20c7ff4a07 If there's no search query, don't show "None" in search box! 2018-01-10 12:02:17 -08:00
Jon Baldivieso
372d665386 HTML encode ampersands in query string urls in template 2018-01-10 12:01:37 -08:00
Marco Bonetti
e4e7e3dc45 include .pep8 2018-01-10 16:09:18 +01:00
Marco Bonetti
a43d369387 Check PEP8 while running tests
Use polib >= 1.1.0
Rosetta version bump and changelog
2018-01-10 12:44:24 +01:00
Jon Baldivieso
d797b76a10 Rewrite urls to be RESTful & views to be class-based & less cache-heavy
Previously, state was extensively persisted in the cache. This
large-scale rewrite uses the cache only to persist changes to the
catalog file when it is read-only. State is now conveyed through the url
structure and through query string arguments.

The primary downside to this new approach is that there's no explicit
way of purging a cached catalog from memory, or refreshing it from
what's on disk. The user is forced (untransparently!) to wait until
the cached file falls out of the cache (untransparently!), which
is currently 24 hours after the last save (or after if the session
ends). Addressing this would require some design considerations,
and probably some new text that would require its own translation.
2018-01-09 10:45:37 -08:00
Marco Bonetti
1ae24a13a1 0.7.14 final 2017-12-02 18:21:17 +01:00
Marco Bonetti
ff283491aa test against Django 2.0b1 2017-10-23 11:23:53 +02:00
Marco Bonetti
0bd2f6e3dc Tests passing on Django 2.0a1 2017-09-23 21:16:16 +02:00
Marco Bonetti
d6fe378676 version bump 2017-09-23 08:19:21 +02:00
Marco Bonetti
d1930b75a0 updated docs 2017-09-23 08:18:30 +02:00
Adam Uhlíř
78c56b5cba Update installation.rst 2017-08-10 16:56:05 +02:00
Marco Bonetti
30b12a9fda explicitly enable warnings in the test runner 2017-04-07 10:13:53 +02:00
Marco Bonetti
de8bc76013 Release 0.7.13 2017-04-05 09:57:08 +02:00
Marco Bonetti
b88fd69f63 fixes Travis yml 2017-03-23 15:46:26 +01:00
Marco Bonetti
39974d5a3c test against django 1.11rc1 2017-03-23 15:43:09 +01:00
Marco Bonetti
56a62f415d changelog 2017-03-10 11:22:30 +01:00
Marco Bonetti
80492e45c6 Template cleaunp, fixes #181 2017-03-10 11:19:20 +01:00
Marco Bonetti
e5485991fb use python 3.6 now 2017-02-21 12:15:06 +01:00
Marco Bonetti
46475e156c test against django 1.11b1 2017-02-21 12:02:26 +01:00
Marco Bonetti
67285f2174 use AdminSite.index_template instead of overriding the default AdminSite 2016-12-13 11:26:09 +01:00
Slava Kyrachevsky
cc74135ff2 updated docs 2016-12-13 11:04:49 +02:00
Slava Kyrachevsky
84acecc54d rename settings variable 2016-12-13 10:54:54 +02:00
Slava Kyrachevsky
69a305927e Rosetta at admin panel 2016-12-13 10:48:14 +02:00
Marco Bonetti
d89248e53f version bump 2016-12-11 12:51:25 +01:00
Marco Bonetti
8a35c2e210 Merge pull request #174 from torchingloom/develop
Update views.py
2016-12-11 12:48:16 +01:00
Alexey Baranov
33d27e83e3 Update views.py
search in comment too
2016-11-22 17:07:40 +03:00
Marco Bonetti
052133fe17 travis config for django 1.10 2016-08-02 00:09:34 +02:00
Marco Bonetti
c385ce3584 0.7.12 release 2016-08-02 00:06:12 +02:00
Marco Bonetti
ba44f3bf6b Test against Django 1.10b1 and dropped support for goslate and the Google translate API 2016-06-24 12:24:29 +02:00
Marco Bonetti
b9427a0a74 updted changelog, preparing for 0.7.12 2016-05-21 15:44:58 +02:00
Marco Bonetti
4168a07bdc Merge pull request #169 from dnaranjo89/patch-1
Clean ROSETTA_CACHE_NAME initialization
2016-05-21 15:43:05 +02:00
Marco Bonetti
cd1dee08f4 Merge pull request #170 from dnaranjo89/patch-2
Fixup comment
2016-05-21 15:40:09 +02:00
Marco Bonetti
b254811faf Merge pull request #171 from nealtodd/int_percent_translated
Remove 2dp float formatting of integer percent translated
2016-05-21 15:38:46 +02:00
Marco Bonetti
a2d1a74a78 Merge pull request #168 from nealtodd/bugfix_fix_nls
Fix IndexError in fix_nls when translation is just a carriage return
2016-05-21 15:36:34 +02:00
Neal Todd
bdaf06ef50 Remove 2dp float formatting of integer percent translated
pofile.percent_translated returns an int so the floatformat:2 filter
only ever renders as X.00, so tidier just to show X% rather than X.00%
2016-05-19 11:51:40 +01:00
dnaranjo89
4139a5dd1f Fixup comment 2016-05-19 12:40:09 +02:00
dnaranjo89
d28879d346 Clean ROSETTA_CACHE_NAME initialization
Just for readability
2016-05-19 12:38:51 +02:00
Neal Todd
9fca19ebfe Fix IndexError in fix_nls when translation is just a carriage return
"string index out of range" occurs with a non-empty source string
where the user has (probably erroneously) entered a carriage return
in the translated string, e.g. fix_nls('x', '\r\n')
2016-05-18 16:53:00 +01:00
Marco Bonetti
7264033178 Merge branch 'develop' of github.com:mbi/django-rosetta into develop 2016-05-14 23:10:01 +02:00
Marco Bonetti
c80f2db4a3 removed an import test that was used to support Django 1.4 2016-05-14 23:09:40 +02:00
Marco Bonetti
49f486a00b getting ready for 0.7.11 2016-03-30 21:25:55 +02:00
Marco Bonetti
5f8e350527 dont require a specific theme 2016-03-30 21:22:25 +02:00
Marco Bonetti
094c2a0c49 updates documentation and changelg 2016-03-22 09:45:40 +01:00
Marco Bonetti
8f3fafb73b Merge branch 'develop' into pr/60 2016-03-22 09:34:12 +01:00
Marco Bonetti
24c3bde593 dont barf on unicode language names 2016-03-22 09:34:06 +01:00
Marco Bonetti
38eea0d8dd updates style for language selector 2016-03-22 09:26:05 +01:00
Marco Bonetti
2dce7f9a77 fixes tests 2016-03-22 09:15:08 +01:00