]> git.saurik.com Git - wxWidgets.git/blobdiff - misc/languages/genlang.py
Make it possible to use svn-find-native-eols script without svn checkout.
[wxWidgets.git] / misc / languages / genlang.py
index c8779020253ce0c6e3233ed853aa49a357a22538..f9c9ae635421e6161e7bdd9c719fc3fe28c77ac3 100755 (executable)
@@ -115,7 +115,6 @@ def WriteTable(f, table):
 void wxLocale::InitLanguagesDB()
 {
    wxLanguageInfo info;
-   wxStringTokenizer tkn;
 
 %s
 }
@@ -165,6 +164,6 @@ def ReplaceGeneratedPartOfFile(fname, func):
     os.rename(fnameNew, fname)
 
 table = ReadTable()
-ReplaceGeneratedPartOfFile('include/wx/intl.h', WriteEnum)
-ReplaceGeneratedPartOfFile('interface/wx/intl.h', WriteEnum)
-ReplaceGeneratedPartOfFile('src/common/intl.cpp', WriteTable)
+ReplaceGeneratedPartOfFile('include/wx/language.h', WriteEnum)
+ReplaceGeneratedPartOfFile('interface/wx/language.h', WriteEnum)
+ReplaceGeneratedPartOfFile('src/common/languageinfo.cpp', WriteTable)