mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Update templates to fit the new translator
This commit is contained in:
@@ -53,7 +53,7 @@ $(function () {
|
||||
add: function(e, data) {
|
||||
if( ! /(\.|\/)(csv|rtf)$/i.test(data.files[0].type)) {
|
||||
{% set supported_file_types = ['csv', 'rtf']|join(' | ') %}
|
||||
alert("{% trans %} Invalid file type, only ({{ supported_file_types }}) file formats are supported {% endtrans %}");
|
||||
alert("{{ 'Invalid file type, only (%supported_file_types%) file formats are supported' | trans({'%supported_file_types%' : supported_file_types}) | e('js') }}");
|
||||
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user