Commit graph

264 commits

Author SHA1 Message Date
Marco Bonetti
b02ad3ad1d initial tests against Django 3.1 2020-06-07 17:11:30 +02:00
Marco Bonetti
efdc0a649d dropped support for python2 and django < 1.11 2020-06-07 16:43:21 +02:00
Marco Bonetti
6cdc390567 Merge branch 'direct_access_function' of github.com:alvra/django-rosetta into alvra-direct_access_function 2020-06-07 15:48:16 +02:00
Marco Bonetti
583a614922 Uncheck fuzzy on translation keyup instead of change 2020-06-07 15:41:19 +02:00
Marco Bonetti
6931e7ea7c Merge branch '237' of github.com:mondeja/django-rosetta into mondeja-237 2020-06-07 15:16:24 +02:00
soyuzbek
e9566361dd added translation for Kyrgyz 2020-05-26 23:54:40 +06:00
soyuzbek
b6a4674c9e added translation for Kyrgyz 2020-05-26 23:06:03 +06:00
Álvaro Mondéjar
d160e178a8 Ignore translator context hints checking unmatched variables. 2020-05-21 17:36:24 +02:00
Marco Bonetti
de8ebfa10d Merge branch 'bugfix_typo_iterate' of github.com:timgates42/django-rosetta into develop 2020-04-14 09:41:29 +02:00
Marco Bonetti
ce027b28db Fixed DeprecationWarning: invalid escape sequence 2020-04-14 09:41:26 +02:00
Marco Bonetti
4b2a5638ed 0.9.4: Django 3.0 and python 3.8 2020-04-13 17:12:07 +02:00
Tim Gates
a4def51639
docs: Fix simple typo, interate -> iterate
There is a small typo in rosetta/views.py.

Should read `iterate` rather than `interate`.
2020-03-24 19:36:22 +11:00
mondeja
a192b574e3
Minor fix
"Translations" is "Traducciones"
2020-03-19 18:51:09 +01:00
Álvaro Mondéjar
927216f10b Updated spanish translation. 2020-03-02 16:28:07 +01:00
Alexander van Ratingen
19442f8166 Allow passing a function itself to the setting ROSETTA_ACCESS_CONTROL_FUNCTION. 2019-10-12 00:22:59 +02:00
Marco Bonetti
3c249d344e Changelog 2019-04-23 17:32:18 +02:00
Marco Bonetti
6b5aef3cc1 Merge branch 'develop' of github.com:mbi/django-rosetta into pr/221 2019-04-23 17:23:33 +02:00
serhat
785eb30f35 Option to hide file name & path - feature request #77 2019-04-23 20:35:19 +05:30
Marco Bonetti
f3f430168e Unfuzzy fuzzy entries when the translation is changed 2019-04-20 15:22:44 +02:00
serhat
734426e688 wish: un-tick 'fuzzy' when a translation is changed #16 2019-04-20 17:02:14 +05:30
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
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
41b8a2e790 Merge branch 'develop' of github.com:mbi/django-rosetta into pr/189 2019-01-18 11:52:58 +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
e7fe1ae552 Merge branch 'develop' of github.com:mbi/django-rosetta into pr/211 2019-01-18 11:12:19 +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
bfea1b170f Merge branch 'develop' of github.com:mbi/django-rosetta into pr/213 2019-01-18 11:08:00 +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
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