fix upstream change in i18n

c4dfcda202
This commit is contained in:
Paul Chavard 2021-01-28 18:43:47 +01:00
parent c46ab38055
commit 6ea44eefa9

View file

@ -76,7 +76,7 @@ class ProcedureExportService
# transliterate: convert to ASCII characters
# to ensure truncate respects 30 bytes
# /\*?[] are invalid Excel worksheet characters
options[:sheet_name] = I18n.transliterate(options[:sheet_name], '', locale: :en)
options[:sheet_name] = I18n.transliterate(options[:sheet_name], locale: :en)
.delete('/\*?[]')
.truncate(30, omission: '')