templates/jsTranslations.html.twig line 1
<script>
let trans = {
'invalid_hexadecimal_code': "{{ 'message.invalid_hexadecimal_code'|trans({}, 'forms') }}",
'impossible_to_copy': "{{ 'message.error.impossible_to_copy'|trans }}",
'result': "{{ 'message.result'|trans }}",
'result_plural': "{{ 'message.result_plural'|trans }}",
'address_count': "{{ 'message.address_count'|trans({}, 'forms') }}",
'address_count_plural': "{{ 'message.address_count_plural'|trans({}, 'forms') }}",
'delete': "{{ 'delete'|trans({}, 'commons') }}",
'deleting': "{{ 'message.deleting'|trans }}",
'multiple_delete': "{{ 'message.multiple_delete'|trans }}",
'multiple_delete_plural': "{{ 'message.multiple_delete_plural'|trans }}",
'empty_row': "{{ 'message.empty_row'|trans }}",
'account.field.dropbox_token_response.valid': "{{ 'account.field.dropbox_token_response.valid'|trans({}, 'forms') }}",
'account.field.dropbox_token_response.error': "{{ 'account.field.dropbox_token_response.error'|trans({}, 'forms') }}",
'inbox': "{{ 'inbox'|trans({}, 'commons') }}",
'archive': "{{ 'archive'|trans({}, 'commons') }}",
};
function plural(number, asset, col)
{
if (number > 1) {
asset = asset + '_plural';
}
trans[col] = number + " " + trans[asset];
}
</script>