As an editor I want to see all parts of the UI in my language when entering geocoordinates or dates in order to know what my input will be interpreted as.
Problem:
In the experts for geocoordinate and date inputs the precision is not localized. We've solved a similar issue for the error message in the same place in T242769.
Screenshots/mockups:
BDD
GIVEN an input field for geocoordinates or dates
WHEN entering a value
THEN the precision is shown in the UI language
Acceptance criteria:
- precision is shown in UI language
Notes:
- see parent task for previous work in the same area
Technical Notes:
- the currently shown label of the time precision is hardcoded in DataValuesJavaScript via https://gerrit.wikimedia.org/g/data-values/value-view/+/d1456b6f967248cfdc2c93b7d7f317f2823bbf27/src/experts/TimeInput.js#17
- the currently shown label for the coordinate precision is hardcoded here: https://gerrit.wikimedia.org/g/data-values/value-view/+/d1456b6f967248cfdc2c93b7d7f317f2823bbf27/src/experts/GlobeCoordinateInput.js#37
- interestingly WikibaseMediaInfo seems to be doing a good job there already https://gerrit.wikimedia.org/g/mediawiki/extensions/WikibaseMediaInfo/+/705a2a550d48f5e25c1e259292705313604cafaa/resources/statements/inputs/GlobeCoordinateInputWidget.js#462