%{short_name_limit} not being passed in new Competition Form #9410
Labels
META: good first issue
Small/easy change which is a good introduction to working in the WCA repo
TECH: reactJS
Requires knowledge of React
See screenshot below for an example of this issue (halfway through the sentence at the bottom of the picture):
![image](https://private-user-images.githubusercontent.com/52967253/333131946-3377f200-49d2-4ec2-93a6-828a510350ec.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAwNzIzMDQsIm5iZiI6MTcyMDA3MjAwNCwicGF0aCI6Ii81Mjk2NzI1My8zMzMxMzE5NDYtMzM3N2YyMDAtNDlkMi00ZWMyLTkzYTYtODI4YTUxMDM1MGVjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA0VDA1NDY0NFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQyY2MwYzNhMmM4ZGQxZjE2YWJhNzI2Y2ZjYzZkYjJhMjRkODZiNGVjNTIxY2Q0OTIyOGYzMmI4MTY3YWYwMzYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.OUry-Slkh-bfYXS41tz_ZpCJHcwHKyNkxTePWWoHhys)
My suspicion is that the React Competition Form is rendering the i18n string but not passing in the variable value it expects. Should be a straightforward change to how the i18n string is invoked - and I'm pretty sure short_name_limit should be 32 characters*.
*This can probably be confirmed by grepping the repo for variants of short_name_limit - it's probably defined in the backend somewhere
The text was updated successfully, but these errors were encountered: