doc_lang.hh File Reference

#include <iostream>
#include <fstream>
#include <sstream>
#include <map>
#include <string>
Include dependency graph for doc_lang.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void loadTranslationFile (const string &lang)

Function Documentation

void loadTranslationFile ( const string &  lang  ) 

First ensure that the default file is loaded a least.

Then try and load the target file.

Definition at line 76 of file doc_lang.cpp.

References gDocTextsDefaultFile, importDocStrings(), initDocAutodoc(), initDocMath(), initDocMetadatas(), and initDocNotice().

Referenced by printDoc().

00077 {
00078     initDocMath();
00079     initDocNotice();
00080     initDocAutodoc();
00081     initDocMetadatas();
00082     
00084     importDocStrings(gDocTextsDefaultFile);
00085     
00087     if ( ! lang.empty() ) {
00088         importDocStrings( "mathdoctexts-" + lang + ".txt" );
00089     }
00090 }

Here is the call graph for this function:

Here is the caller graph for this function:

Generated on Thu Jul 15 15:46:59 2010 for FAUST compiler by  doxygen 1.6.3