From 6ea44eefa903d3b1945aabaed2e623959e6f8388 Mon Sep 17 00:00:00 2001 From: Paul Chavard Date: Thu, 28 Jan 2021 18:43:47 +0100 Subject: [PATCH] fix upstream change in i18n https://github.com/ruby-i18n/i18n/commit/c4dfcda202e2fe76764732c77389e90e086db9aa --- app/services/procedure_export_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/procedure_export_service.rb b/app/services/procedure_export_service.rb index 437d4b13d..5e6df9689 100644 --- a/app/services/procedure_export_service.rb +++ b/app/services/procedure_export_service.rb @@ -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: '')