You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ui_next] Schedules, values for 'FrequencyDetailSubform__RunEveryLabel' and 'Detail__DetailName: Repeat Frequency', needs to be marked for translations
#6858
Open
sshedmake opened this issue
Apr 28, 2020
· 4 comments
With Japanese (dummy translation) google-chrome, values for 'FrequencyDetailSubform__RunEveryLabel' and 'Detail__DetailName: Repeat Frequency', at 'Templates > JT > Schedules > {Edit and Schedule} Details' screen, appears in English (instead of Japanese)
ENVIRONMENT
AWX version: 10.0.0
AWX install method: docker on linux
Ansible version: 2.10.0.dev0
Operating System: Fedora 31
Web Browser: google-chrome
STEPS TO REPRODUCE
Do a successful login to the ui_next interface in the preferred language (say Japanese)
Navigate to breadcrumb 'Templates > Demo Job Template > Schedules > Run Demo JT 5 Times > {Edit and Schedule} Details'
Observe respective values for 'FrequencyDetailSubform__RunEveryLabel' and 'Detail__DetailName: Repeat Frequency'
EXPECTED RESULTS
Content should appear in Japanese
ACTUAL RESULTS
'weeks' | 'months'
'Every week on Monday, Wednesday, Friday for 5 times' | 'Every month on Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday until October 27, 2020'
ADDITIONAL INFORMATION
Screenshot higlighting respective values for 'FrequencyDetailSubform__RunEveryLabel' and 'Detail__DetailName: Repeat Frequency', appearing in English, with Japanese google-chrome:
Run every 1 months:
Run every 1 weeks:
The text was updated successfully, but these errors were encountered:
The string for Repeat Frequency is dynamically generated and comes from RRule . After talking with @mabashian about it, we came up with a few possible solutions.
1 - Always show as an English.
2 - Custom translation issue - See: jkbrzt/rrule#13
3 - Hide the field Repeat Frequency if the browser language is not English.
4 - Remove the field - Repeat Frequency, since the info is already present with UI Occurrences.
ISSUE TYPE
SUMMARY
With Japanese (dummy translation) google-chrome, values for 'FrequencyDetailSubform__RunEveryLabel' and 'Detail__DetailName: Repeat Frequency', at 'Templates > JT > Schedules > {Edit and Schedule} Details' screen, appears in English (instead of Japanese)
ENVIRONMENT
STEPS TO REPRODUCE
EXPECTED RESULTS
Content should appear in Japanese
ACTUAL RESULTS
'weeks' | 'months'
'Every week on Monday, Wednesday, Friday for 5 times' | 'Every month on Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday until October 27, 2020'
ADDITIONAL INFORMATION
Run every 1 months:
Run every 1 weeks:
The text was updated successfully, but these errors were encountered: