openstreetmap-website/app
Andy Allan 085412f624 Use i18n for submit button for issue comments
Normally when an en-GB.yml translation is missing, rails falls back to en.yml. But when
using the submit helpers, if the en-GB translation is missing, rails knows how to create
a fallback like 'Create {model_name}' without touching the en.yml file. This string might
then be different from what the test expects, e.g. 'Add Comment'.

So it's important to set the language headers, to avoid phantomjs from picking up your desktop
preferences in this specific case.
2019-06-12 19:24:06 +02:00
..
abilities Allow admins to unhide diary comments, if they wish 2019-06-06 16:03:42 +02:00
assets Make hidden diary entries and comments more visible 2019-06-06 17:51:58 +01:00
controllers Show all diary comments to administrators 2019-06-06 16:03:42 +02:00
helpers Allow user_blocks to be created for longer periods 2019-05-15 11:30:28 +02:00
jobs Fix new rubocop warnings 2019-04-23 09:33:34 +01:00
mailers Move all settings to settings.yml 2019-03-13 18:06:23 +01:00
models Parse each GPX file in an archive separately 2019-06-11 12:57:00 +01:00
validators Move utf8 validator into app/validators 2019-02-06 12:11:44 +01:00
views Use i18n for submit button for issue comments 2019-06-12 19:24:06 +02:00