TheRosettaFoundation / SOLAS-Match

Self-managed translation project interface
www.TheRosettaFoundation.org
GNU Lesser General Public License v3.0
12 stars 8 forks source link

Project Create/Alter (& Task) should not default to "Aari" Language, Default should be blank #1274

Closed alanbarrett closed 7 years ago

alanbarrett commented 7 years ago

Project Create/Alter (& Task) should not default to "Aari" Language, Default should be blank. And a blank should not be be allowed submit.

@mari-na requested.

Alan.
alanbarrett commented 7 years ago

I propose not to do Task Create as it is not used so much (and the code is somewhat different). Also Project Edit does not add much as the language should be a valid one.

However I think I should do Country for Project Create.

Alan.
alanbarrett commented 7 years ago

@mari-na

I need translations for these before I go live (cannot do that 'till sometime next week in any case because our test server in Limerick is down for a planned campus shutdown this weekend and I do not want to waste time working around that)... <string name="project_create_set_source_language">Source Language must be set.</string> <string name="project_create_set_source_country">Source Country must be set.</string> <string name="project_create_set_target_language">Target Languages must be set.</string> <string name="project_create_set_target_country">Target Countries must be set.</string>

Alan.
alanbarrett commented 7 years ago

commit a79e257a5f7ffad23df352a9995c14ee8dfec8ce fixes

alanbarrett commented 7 years ago

Complete.

Alan.
alanbarrett commented 7 years ago

All languages and countries must be specifically selected in Create Project. They no longer default to Aari. The form will not submit if these are blank.