/*************************************************************************** * __________ __ ___. * Open \______ \ ____ ____ | | _\_ |__ _______ ___ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ * \/ \/ \/ \/ \/ * $Id: i18n.h,v 1.3 2002/05/31 08:12:29 adiamas Exp $ * * Copyright (C) 2002 by Pierre-Yves Vasener * * All files in this archive are subject to the GNU General Public License. * See the file COPYING in the source tree root for full license agreement. * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY * KIND, either express or implied. * ****************************************************************************/ #include "i18n.h" #include "settings.h" #include "string.h" #include "debug.h" char* translation[NBTRANS]; char* translate(int code) { DEBUGF("TRANSLATE\n"); return translation[code]; } void set_lang(int lang) { DEBUGF("SET_LANG\n"); switch(lang) { case FRENCH: translation[SOUND_MENU]="Réglage du son"; break; default: translation[SOUND_MENU]="Sound Menu"; } }