mirror of
https://github.com/Hopiu/django-modeltranslation.git
synced 2026-04-23 14:34:43 +00:00
docs: Fix simple typo, splitable -> splittable
There is a small typo in modeltranslation/static/modeltranslation/js/tabbed_translation_fields.js, modeltranslation/utils.py. Should read `splittable` rather than `splitable`.
This commit is contained in:
parent
4617551ea7
commit
01a41783cb
2 changed files with 2 additions and 2 deletions
|
|
@ -58,7 +58,7 @@ var google, django, gettext;
|
|||
* id_news-data2-content_type-object_id-0-1-name'
|
||||
*/
|
||||
// TODO: We should be able to simplify this, the modeltranslation specific
|
||||
// field classes are already build to be easily splitable, so we could use them
|
||||
// field classes are already build to be easily splittable, so we could use them
|
||||
// to slice off the language code.
|
||||
var idBits = this.id.split('-'),
|
||||
idPrefix = 'id_' + this.origFieldname;
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ def _join_css_class(bits, offset):
|
|||
def build_css_class(localized_fieldname, prefix=''):
|
||||
"""
|
||||
Returns a css class based on ``localized_fieldname`` which is easily
|
||||
splitable and capable of regionalized language codes.
|
||||
splittable and capable of regionalized language codes.
|
||||
|
||||
Takes an optional ``prefix`` which is prepended to the returned string.
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue