Ian McEwen added a comment - 19/Feb/12 11:23 PM Edit types being in the database (rather than defined in sub edit_name in every edit type) would probably make for a cleaner solution to this
In light of my http://codereview.musicbrainz.org/r/1941/ changes, I'll probably add an l_edit_name function to edits, so it's possible to specify translated or untranslated, then migrate things where appropriate.
Ian McEwen added a comment - 08/Jun/12 04:30 AM In light of my http://codereview.musicbrainz.org/r/1941/ changes, I'll probably add an l_edit_name function to edits, so it's possible to specify translated or untranslated, then migrate things where appropriate.
The edit_template property is determined from edit_name that is translated when language is not English:
https://github.com/metabrainz/musicbrainz-server/blob/master/lib/MusicBrainz/Server/Edit.pm#L15
As a consequence, edit details can't be displayed if language is not English:
shows error
http://i18n.mbsandbox.org/edit/14678011
("Add medium" translates to "Ajouter un média" in French)