mirror of
https://github.com/Hopiu/django-rosetta.git
synced 2026-04-29 09:24:43 +00:00
Merge branch 'pr/220' into develop
This commit is contained in:
commit
1808edfca9
6 changed files with 17 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -14,6 +14,7 @@ testproject/htmlcov/
|
|||
testproject/rosetta.db
|
||||
testproject/src/
|
||||
testproject/.coverage
|
||||
/env
|
||||
.tox
|
||||
.eggs
|
||||
.idea
|
||||
|
|
|
|||
4
CHANGES
4
CHANGES
|
|
@ -1,6 +1,10 @@
|
|||
Version History
|
||||
===============
|
||||
|
||||
Version 0.9.4 (unreleased)
|
||||
--------------------------
|
||||
* Unfuzzy fuzzy entries when the translation is changed (#16, PR #220, thanks @sarathak)
|
||||
|
||||
|
||||
Version 0.9.3
|
||||
-------------
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
VERSION = (0, 9, 3)
|
||||
VERSION = (0, 9, 4)
|
||||
default_app_config = "rosetta.apps.RosettaAppConfig"
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -122,6 +122,14 @@ google.setOnLoadCallback(function() {
|
|||
$(e).removeAttr('checked');
|
||||
}
|
||||
});
|
||||
});
|
||||
$('tbody .translation textarea').change(function () {
|
||||
var fuzzy = $(this).closest('tr').find('input[type="checkbox"]');
|
||||
if(fuzzy[0].checked){
|
||||
fuzzy[0].checked = false;
|
||||
fuzzy.removeAttr( 'checked')
|
||||
}
|
||||
|
||||
})
|
||||
|
||||
});
|
||||
|
|
|
|||
2
setup.py
2
setup.py
|
|
@ -49,9 +49,9 @@ setup(
|
|||
'Topic :: Software Development :: Internationalization',
|
||||
'Framework :: Django',
|
||||
'Programming Language :: Python :: 2.7',
|
||||
'Programming Language :: Python :: 3.4',
|
||||
'Programming Language :: Python :: 3.5',
|
||||
'Programming Language :: Python :: 3.6',
|
||||
'Programming Language :: Python :: 3.7',
|
||||
],
|
||||
include_package_data=True,
|
||||
zip_safe=False,
|
||||
|
|
|
|||
|
|
@ -19,8 +19,9 @@ msgstr ""
|
|||
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
||||
|
||||
#: templates/test.html:3
|
||||
#, fuzzy
|
||||
msgid "Some text to translate"
|
||||
msgstr ""
|
||||
msgstr "Crunchum ipsum dolor sit coder void, constructor function"
|
||||
|
||||
#: templates/test.html:5
|
||||
#, python-format
|
||||
|
|
|
|||
Loading…
Reference in a new issue