Voting starts in March for the Drupal Association Board election.
Views default options are not translated at runtime, they contain English strings verbatim. This causes problems in two ways:
1. When the view does not include the default options (such as some pager options in views.view.content.yml), the runtime options are used and those are never translated despite the view possibly being displayed in other languages. While the options saved into the view are translatable via config translation (and/or locale in case of shipped config), settings that are not exported to views will fall back on the runtime collected defaults. These need to use t() to be translated properly at time of display.
2. When creating a new view in a foreign language (such as a German only site), the default options are expected to appear and be saved in that language. That also requires the default options to be t()-ed.
Make default options in views t()-ed when they are translatable human readable text. Add tests for the pager case that prompted this issue.
User interface changes
The defaultOptions() expected return value slightly changes. Will not be always English anymore.
PASSED: [[SimpleTest]]: [PHP 5.4 MySQL] 87,706 pass(es). View
FAILED: [[SimpleTest]]: [PHP 5.4 MySQL] 87,701 pass(es), 13 fail(s), and 0 exception(s). View
FAILED: [[SimpleTest]]: [PHP 5.4 MySQL] 87,704 pass(es), 5 fail(s), and 0 exception(s). View
FAILED: [[SimpleTest]]: [PHP 5.4 MySQL] 87,691 pass(es), 14 fail(s), and 0 exception(s). View