[c_selection.js] If safari_mobile, get current selection from a previously created global variable
[c_sync.js] ref where the safari_mobile global is used
[c_text_view_comments.js] if safari_mobile update selection also on selectionChange event
[text_view_comments.html] if safari_mobile store a clone of the current selection on each selectionChange
set layout width to 99% to improve display
factorize safari mobile detection code
# i18n values (from database) to be translated
from django.utils.translation import ugettext as _
# generic roles
_(u'Observer')
_(u'Manager')
_(u'Editor')
_(u'Moderator')
_(u'Commentator')
_(u'Observer')
_(u'Participant')
# permissions
_(u'Can view text')
_(u'Can edit text')
_(u'Can create text')
_(u'Can delete text')
_(u'Can manage text')
_(u'Can create comment')
_(u'Can delete comment')
_(u'Can delete own comment')
_(u'Can view approved comment')
_(u'Can view own comment')
_(u'Can view unapproved comment')
_(u'Can edit comment')
_(u'Can edit own comment')
_(u'Can manage workspace')
_(u'Can view workspace')
# school roles
_(u'Teacher')
_(u'Student')
_(u'Individual student')