Marco Bonetti
deceaf0ef0
how about that
2019-04-12 16:31:40 +02:00
Marco Bonetti
f242ff7b0d
try installing python3 on macos
2019-04-12 16:20:34 +02:00
Marco Bonetti
c430ff4eb5
99% this will not work ¯\_(ツ)_/¯
2019-04-12 16:13:29 +02:00
Marco Bonetti
698a04dd35
No need to lower keys, after all…
2019-04-12 16:06:13 +02:00
Marco Bonetti
cb982b8556
Fix for duplicate PO files listed on case insensitive filesystems ( #47 , #52 , #218 , thanks @malkstar)
2019-04-12 16:02:42 +02:00
Marco Bonetti
72b7329766
Merge branch 'develop' of github.com:mbi/django-rosetta into pr/218
2019-04-12 15:11:59 +02:00
Marco Bonetti
664b37e904
New ROSETTA_LANGUAGES setting allows for translating languages which are not yet in LANGUAGES
2019-04-07 12:50:18 +02:00
Marco Bonetti
a5c5203e09
#206 : added a tooltip explaining fuzzy entries
2019-04-07 11:47:55 +02:00
Jim
bf8322f48a
If file system not case sensitive, transform string to lower so that it is correctly unique in set.
2019-03-22 10:38:15 +00:00
Jim
18001e170a
Add bool indicating case sensitive file system.
2019-03-22 10:37:48 +00:00
Marco Bonetti
d4ee6ca736
version bump
2019-02-28 09:33:46 +01:00
Marco Bonetti
8766e44c4b
install memcache on 1.11/3.7
2019-02-28 09:25:43 +01:00
Marco Bonetti
6e1c0e4fe5
Try forcing xenial for testing 3.7
2019-02-28 09:20:56 +01:00
Marco Bonetti
cf0f49b45d
version bump
2019-02-28 09:08:02 +01:00
Marco Bonetti
0c1d9b60dd
Imports cleanup
2019-02-28 08:57:33 +01:00
Marco Bonetti
4fd7f658d1
Release 0.9.1
2019-01-18 12:02:50 +01:00
Marco Bonetti
5b5fe3b440
changelog
2019-01-18 11:58:17 +01:00
Marco Bonetti
41b8a2e790
Merge branch 'develop' of github.com:mbi/django-rosetta into pr/189
2019-01-18 11:52:58 +01:00
Marco Bonetti
fb55ec2b2a
changelog
2019-01-18 11:47:08 +01:00
Marco Bonetti
4fceb36c7b
Merge branch 'develop' of github.com:mbi/django-rosetta into pr/207
2019-01-18 11:46:17 +01:00
Marco Bonetti
38d274ccb0
formatting
2019-01-18 11:21:06 +01:00
Marco Bonetti
6d9b3202d4
changelog
2019-01-18 11:20:12 +01:00
Marco Bonetti
e7fe1ae552
Merge branch 'develop' of github.com:mbi/django-rosetta into pr/211
2019-01-18 11:12:19 +01:00
Marco Bonetti
ef36cae07f
changelog
2019-01-18 11:11:23 +01:00
Marco Bonetti
39c266d8c5
Merge branch 'develop' of github.com:mbi/django-rosetta into pr/212
2019-01-18 11:10:31 +01:00
Marco Bonetti
b874c5c0ba
changelog
2019-01-18 11:09:14 +01:00
Marco Bonetti
bfea1b170f
Merge branch 'develop' of github.com:mbi/django-rosetta into pr/213
2019-01-18 11:08:00 +01:00
Marco Bonetti
e79070078d
Optional line number in the occurrences column
2019-01-18 11:06:26 +01:00
Marco Bonetti
cf7c780313
Merge branch 'develop' of github.com:mbi/django-rosetta into pr/215
2019-01-18 11:05:15 +01:00
Marco Bonetti
a704f4f565
test against Django 2.2
2019-01-17 21:48:38 +01:00
Paolo Melchiorre
a8305f4d22
Optional line number in the occurrences column
...
Useful when the line number is omitted in the comment lines in language
files using makemessages with --add-location=file.
https://docs.djangoproject.com/en/stable/ref/django-admin/#cmdoption-makemessages-add-location
2018-12-19 16:16:50 +01:00
Iacopo Spalletti
a73e7edc8e
Add search in msgctxt
2018-11-20 10:21:15 +01:00
David Jean Louis
12490bae56
Strip code tag from Yandex reponse.
...
When getting a translation suggestion for a string that contains string
replacements (like %(foo)s), Yandex wraps string replacements in
annoying <code> tags, this commit strips those tags automatically.
2018-11-15 18:03:01 +01:00
David Jean Louis
413625b03b
Merge remote-tracking branch 'upstream/develop' into test_friendly_settings
2018-11-15 17:47:11 +01:00
Marco Bonetti
710da65f04
Changelog for #210 , and test with Python3.7
2018-11-15 17:39:51 +01:00
David Jean Louis
9cecf2d49b
DRY
2018-11-15 09:19:38 +01:00
David Jean Louis
0c8352ec8e
Cleanup of tests
...
Now we don't mess up with settings or rosetta_settings directly,
we just use the django tools to change settings in a given context (like the
``override_settings`` decorator).
2018-11-14 18:26:32 +01:00
David Jean Louis
44821f4c88
Guess SETTINGS_MODULE is is set to None (in tests)
...
When testing and using override_settings(), SETTINGS_MODULE is reset, so in case it is set to None, we try to guess it via the DJANGO_SETTINGS_MODULE env var.
2018-11-14 18:25:01 +01:00
David Jean Louis
7d882990fc
Make LOGIN_URL a promise to be test friendly
2018-11-14 18:22:33 +01:00
David Jean Louis
0db5ccb406
Rosetta settings are now "test friendly"
...
* Added a RosettaSettings class that keep rosetta settings
* Settings are reloaded via the ``setting_changed`` django signal is sent
* this should be completely backwards compatible, unless for hacks like reading the settings file from disk (nobody does this right ?)
2018-11-14 18:17:56 +01:00
David Jean Louis
4c17dd805f
Allow overriding rosetta login url.
...
* Added a settings variable ``ROSETTA_LOGIN_URL`` that allows to
override the login URL for rosetta.
* No test is included because it is not possible to override this
particular setting variable due to how tests are organized (top level
import of rosetta_settings).
2018-11-14 12:45:56 +01:00
Matthias Kestenholz
401fab90d8
Fix the icon-alert.svg file name
...
Fixes a rosetta crash when using ManifestStaticFilesStorage.
2018-09-24 10:53:15 +02:00
Marco Bonetti
caa4806e42
PEP8 fix and version pre-bump
2018-08-24 14:21:47 +02:00
Claude Paroz
c7bbf68cf3
Removed old compatibility code for Django < 1.11
2018-08-24 10:11:14 +02:00
Marco Bonetti
9cd7fd9b27
0.9.0 release
2018-08-24 09:11:26 +02:00
Marco Bonetti
daef242974
Fix pep8, dropped Django 1.8, 1.9, 1.10 from the test config
2018-08-24 08:54:52 +02:00
Claude Paroz
a616412ef1
Removed access to old ADMIN_* variables
...
This commit will break the alert image for Django 1.8, but with the current code,
all versions after Django 1.8 are broken (.gif admin images were converted to .svg
during the 1.9 release).
2018-08-23 21:14:46 +02:00
Claude Paroz
f6ed983013
Removed old compatibility code for Django < 1.8
2018-08-23 20:25:09 +02:00
Marco Bonetti
00f7e5a432
Why we can't use override_settings…
2018-08-17 16:21:44 +02:00
Marco Bonetti
dd4d653a84
Fixes #203 : ROSETTA_REQUIRES_AUTH not being respected
2018-08-17 16:05:03 +02:00