MantisBT - ATutor
View Issue Details
0003656ATutor- no cat -public2008-12-02 03:342009-07-21 08:51
cindy 
cindy 
normalminoralways
closedfixed 
1.6.2 
1.6.2 
SVN
0003656: Translation: translating a new foreign term gives error
How to re-produce:
1. set AT_DEVEL_TRANSLATE to 1; at "translate to", choose a foreign language
2. Go to admin -> language -> translate, click on button "translate"
3. set "filter" to "new language"
4. from listed results, select a page -> a term
5. shows error "The source language was not found for that item (try using the English source)."

Instead of giving the error, the page should show a edit form for adding the new term with selected foreign language code.
No tags attached.
Issue History
2008-12-02 03:34cindyNew Issue
2008-12-02 03:34cindyAffects version => SVN
2008-12-02 08:21cindyStatusnew => resolved
2008-12-02 08:21cindyFixed in Version => 1.6.2
2008-12-02 08:21cindyResolutionopen => fixed
2008-12-02 08:21cindyAssigned To => cindy
2008-12-02 08:21cindyNote Added: 0003419
2009-07-21 08:51gregStatusresolved => closed

Notes
(0003419)
cindy   
2008-12-02 08:21   
SVN Revision: 8258

Affected script: admin/translator.php

Solution: in function display_page_terms(), check if the term is defined in selected variable (template, module, msg). If not, do not display.