From 973945fb58e219c3169f8171a03a941029173b4a Mon Sep 17 00:00:00 2001 From: Pierre de La Morinerie Date: Thu, 9 Sep 2021 13:42:26 -0500 Subject: [PATCH] i18n-tasks: add gems locales to the search path --- config/i18n-tasks.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/i18n-tasks.yml b/config/i18n-tasks.yml index 28dca98d1..cf7eab633 100644 --- a/config/i18n-tasks.yml +++ b/config/i18n-tasks.yml @@ -29,8 +29,8 @@ data: # External locale data (e.g. gems). # This data is not considered unused and is never written to. external: - ## Example (replace %#= with %=): - # - "<%#= %x[bundle show vagrant].chomp %>/templates/locales/%{locale}.yml" + - "<%= %x[bundle info --path administrate].chomp %>/config/locales/*%{locale}.yml" + - "<%= %x[bundle info --path devise-i18n].chomp %>/rails/locales/*%{locale}.yml" ## Specify the router (see Readme for details). Valid values: conservative_router, pattern_router, or a custom class. # router: conservative_router