equal
deleted
inserted
replaced
1 /****************************************************************************** |
1 /****************************************************************************** |
2 * |
2 * |
3 * |
3 * |
4 * |
4 * |
5 * Copyright (C) 1997-2008 by Dimitri van Heesch. |
5 * Copyright (C) 1997-2010 by Dimitri van Heesch. |
6 * |
6 * |
7 * Permission to use, copy, modify, and distribute this software and its |
7 * Permission to use, copy, modify, and distribute this software and its |
8 * documentation under the terms of the GNU General Public License is hereby |
8 * documentation under the terms of the GNU General Public License is hereby |
9 * granted. No representations are made about the suitability of this software |
9 * granted. No representations are made about the suitability of this software |
10 * for any purpose. It is provided "as is" without express or implied warranty. |
10 * for any purpose. It is provided "as is" without express or implied warranty. |
203 } |
203 } |
204 #endif |
204 #endif |
205 #ifdef LANG_DE |
205 #ifdef LANG_DE |
206 else if (L_EQUAL("german")) |
206 else if (L_EQUAL("german")) |
207 { |
207 { |
208 theTranslator=new TranslatorDecoder(new TranslatorGerman); |
208 theTranslator=new TranslatorGerman; |
209 } |
209 } |
210 #endif |
210 #endif |
211 #ifdef LANG_JP |
211 #ifdef LANG_JP |
212 else if (L_EQUAL("japanese")) |
212 else if (L_EQUAL("japanese")) |
213 { |
213 { |
221 } |
221 } |
222 #endif |
222 #endif |
223 #ifdef LANG_ES |
223 #ifdef LANG_ES |
224 else if (L_EQUAL("spanish")) |
224 else if (L_EQUAL("spanish")) |
225 { |
225 { |
226 theTranslator=new TranslatorDecoder(new TranslatorSpanish); |
226 theTranslator=new TranslatorSpanish; |
227 } |
227 } |
228 #endif |
228 #endif |
229 #ifdef LANG_FI |
229 #ifdef LANG_FI |
230 else if (L_EQUAL("finnish")) |
230 else if (L_EQUAL("finnish")) |
231 { |
231 { |
239 } |
239 } |
240 #endif |
240 #endif |
241 #ifdef LANG_HR |
241 #ifdef LANG_HR |
242 else if (L_EQUAL("croatian")) |
242 else if (L_EQUAL("croatian")) |
243 { |
243 { |
244 theTranslator=new TranslatorDecoder(new TranslatorCroatian); |
244 theTranslator=new TranslatorCroatian; |
245 } |
245 } |
246 #endif |
246 #endif |
247 #ifdef LANG_PL |
247 #ifdef LANG_PL |
248 else if (L_EQUAL("polish")) |
248 else if (L_EQUAL("polish")) |
249 { |
249 { |
250 theTranslator=new TranslatorDecoder(new TranslatorPolish); |
250 theTranslator=new TranslatorPolish; |
251 } |
251 } |
252 #endif |
252 #endif |
253 #ifdef LANG_PT |
253 #ifdef LANG_PT |
254 else if (L_EQUAL("portuguese")) |
254 else if (L_EQUAL("portuguese")) |
255 { |
255 { |