add polls
This commit is contained in:
@@ -415,7 +415,8 @@
|
||||
fileupload_comments_mode: "{{ fileupload_comments_mode }}",
|
||||
dm_attachments: @if(dm_attachments) true @else false @endif,
|
||||
dm_unencrypted: @if(dm_unencrypted) true @else false @endif,
|
||||
allow_comment_deletion: @if(allow_comment_deletion) true @else false @endif
|
||||
allow_comment_deletion: @if(allow_comment_deletion) true @else false @endif,
|
||||
enable_comment_polls: @if(enable_comment_polls) true @else false @endif
|
||||
};
|
||||
window.f0ckDebug = window.f0ckSession.development ? console.log.bind(console) : () => {};
|
||||
window.f0ckI18n = {
|
||||
@@ -570,7 +571,19 @@
|
||||
attach_file: "{{ t('comments.attach_file') }}",
|
||||
uploading_file: "{{ t('comments.uploading_file') }}",
|
||||
remove_file: "{{ t('comments.remove_file') }}",
|
||||
file_too_large: "{{ t('comments.file_too_large') }}"
|
||||
file_too_large: "{{ t('comments.file_too_large') }}",
|
||||
// polls
|
||||
poll_btn_title: "{{ t('comments.poll_btn_title') || 'Create poll' }}",
|
||||
poll_question_placeholder: "{{ t('comments.poll_question_placeholder') || 'Poll question...' }}",
|
||||
poll_option_placeholder: "{{ t('comments.poll_option_placeholder') || 'Option...' }}",
|
||||
poll_add_option: "{{ t('comments.poll_add_option') || 'Add option' }}",
|
||||
poll_remove: "{{ t('comments.poll_remove') || 'Remove poll' }}",
|
||||
poll_vote: "{{ t('comments.poll_vote') || 'Vote' }}",
|
||||
poll_voted: "{{ t('comments.poll_voted') || 'You voted' }}",
|
||||
poll_votes: "{{ t('comments.poll_votes') || 'votes' }}",
|
||||
poll_vote_single: "{{ t('comments.poll_vote_single') || 'vote' }}",
|
||||
poll_delete: "{{ t('comments.poll_delete') || 'Delete poll' }}",
|
||||
poll_expired: "{{ t('comments.poll_expired') || 'Poll closed' }}"
|
||||
};
|
||||
</script>
|
||||
<script src="/s/js/f0ckm.js?v={{ ts }}"></script>
|
||||
|
||||
Reference in New Issue
Block a user