Skip to content

Commit e7ebc49

Browse files
MartinRieseclaude
andcommitted
include search_button_label in bulk translations for all case search modules
Previously gated by CASE_SEARCH_DEPRECATED, so projects without that FF couldn't translate the Search All Cases button label. Now included for any SYNC_SEARCH_CASE_CLAIM domain, consistent with title_label and description. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent f68e927 commit e7ebc49

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

corehq/apps/translations/app_translations/download.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -203,16 +203,13 @@ def get_module_search_command_rows(langs, module, domain):
203203
return []
204204

205205
rows = [
206+
('search_label', 'list')
207+
+ tuple(module.search_config.search_button_label.get(lang, '') for lang in langs),
206208
('title_label', 'list')
207209
+ tuple(module.search_config.title_label.get(lang, '') for lang in langs),
208210
('description', 'list')
209211
+ tuple(module.search_config.description.get(lang, '') for lang in langs),
210212
]
211-
if toggles.CASE_SEARCH_DEPRECATED.enabled(domain):
212-
return [
213-
('search_label', 'list')
214-
+ tuple(module.search_config.search_button_label.get(lang, '') for lang in langs),
215-
] + rows
216213
return rows
217214

218215

0 commit comments

Comments
 (0)