From: Dwayne B. <dwa...@us...> - 2006-01-30 14:28:44
|
Update of /cvsroot/translate/src/translate/filters In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11867 Modified Files: test_checks.py Log Message: Test for double variable problem. Index: test_checks.py =================================================================== RCS file: /cvsroot/translate/src/translate/filters/test_checks.py,v retrieving revision 1.47 retrieving revision 1.48 diff -u -d -r1.47 -r1.48 --- test_checks.py 30 Jan 2006 14:09:50 -0000 1.47 +++ test_checks.py 30 Jan 2006 14:28:25 -0000 1.48 @@ -363,6 +363,8 @@ assert checks.fails(mozillachecker.variables, "Create In <<", "Etsa ka Ho <lt;") # Variables at the end of a sentence assert checks.fails(mozillachecker.variables, "...time you start &brandShortName;.", "...lekgetlo le latelang ha o qala &LebitsoKgutshwane la kgwebo;.") + # Ensure that we can detect two variables of the same name with one faulty + assert checks.fails(mozillachecker.variables, "&brandShortName; successfully downloaded and installed updates. You will have to restart &brandShortName; to complete the update.", "&brandShortName; ḽo dzhenisa na u longela khwinifhadzo zwavhuá¸i. Ni á¸o tea u thoma hafhu &DzinaḼipfufhi ḽa pfungavhuá¹e; u itela u fhedzisa khwinifha dzo.") def test_variables_openoffice(): """tests variables in OpenOffice translations""" |