~s-cecilio/lenmus/v5.3

« back to all changes in this revision

Viewing changes to langtool/src/command.cpp

  • Committer: cecilios
  • Date: 2011-06-12 17:25:18 UTC
  • Revision ID: svn-v4:2587a929-2f0e-0410-ae78-fe6f687d5efe:branches/TRY-5.0:687
Initial update for v5.0 first working core using lomse

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
 
58
58
    wxMessageBox(
59
59
        wxString::Format(_T("Compliling eBook '%s' for languages '%s'. Output will\n")
60
 
                        _T("be left in folder '%s'"), sBook, sLangs, sOut ));
 
60
                        _T("be left in folder '%s'"), sBook.c_str(), sLangs.c_str(), sOut.c_str() ));
61
61
 
62
62
    //Get book name
63
63
    const wxString sBookName = sBook;
71
71
    //if (rOptions.fLogTree) nDbgOpt |= eLogTree;
72
72
    lmEbookProcessor oEBP(nDbgOpt, (wxTextCtrl*)NULL);
73
73
    //Loop to use each selected language
74
 
    //for(int i=0; i < eLangLast; i++) 
75
 
    for(int i=0; i < 1; i++) 
 
74
    //for(int i=0; i < eLangLast; i++)
 
75
    for(int i=0; i < 1; i++)
76
76
    {
77
77
        //if (fLanguage[i]) {
78
78
        if (true)
93
93
                pLocale->AddCatalogLookupPathPrefix( sLocalePath );
94
94
                wxString sCatalogName = sBookName + _T("_") + pLocale->GetName();
95
95
                pLocale->AddCatalog(sCatalogName);
96
 
                
 
96
 
97
97
                //LogMessage(_T("Locale changed to %s language (using %s)."),
98
98
                //            pLocale->GetName(), sCatalogName + _T(".mo\n") );
99
99
            }