Menu

#149 translation bug in delete_page.php

Version 1.7.2
open-fixed
Defects (66)
4
2009-10-18
2009-09-13
No

In line 80 in delete_page.php there is a missing lang_get();

} elseif( $_POST['confirm'] == 'Yes' ) {

should be:

} elseif( $_POST['confirm'] == lang_get('yes') ) {

You would not be able to delete a Requirement for example if you are using a custom string_<lang>.txt non-english language file.

Discussion

  • andreas_rth

    andreas_rth - 2009-10-18
    • assigned_to: nobody --> bbalet
     
  • Benjamin BALET

    Benjamin BALET - 2009-10-18

    Fix done.
    Did you translate the application into another language than french or chinese ?
    If so, could you share the translate file ?
    benjamin.balet at gmail.com

     
  • Benjamin BALET

    Benjamin BALET - 2009-10-18
    • milestone: 898642 --> 898668
    • priority: 5 --> 4
    • status: open --> open-fixed
     
  • Benjamin BALET

    Benjamin BALET - 2009-10-18
    • milestone: 898668 --> Version 1.7.2
     
  • Plamen Nedkov

    Plamen Nedkov - 2009-10-19

    Not quite ready yet.

     

Log in to post a comment.