User talk:EroXXX
Jump to navigation
Jump to search
WiiRecipe
Maybe it would be better to have one single dol file for both languages (English and German). Language could be taken from the Wii settings, so you may consider using something like this.
#include <ogc/conf.h> // needed for CONF_GetLanguage()
// ...
switch(CONF_GetLanguage())
{
case CONF_LANG_GERMAN:
printf("Ingredients for a Burrito:\n");
printf("tortilla\n");
printf("beef chicken\n");
printf("tomatoes\n");
printf("onions\n");
printf("cheese\n");
printf("Sour Cream\n");
printf("Salsa\n");
printf("lettuce\n");
printf("refried Beans\n\n");
printf("Press any key to continue..\n");
wait_anyKey();
printf("\x1b[2J");
printf("press (Down) to see ingredients for a burrito\n");
printf("press (Up) to See ingredients for a burger\n");
printf("press (Left) to See ingredients for Meatloaf\n");
printf("Press (Home) to exit\n\n");
break;
default: // CONF_LANG_ENGLISH
printf("Ingredients for a Burrito:\n");
printf("tortilla\n");
printf("beef chicken\n");
printf("tomatoes\n");
printf("onions\n");
printf("cheese\n");
printf("Sour Cream\n");
printf("Salsa\n");
printf("lettuce\n");
printf("refried Beans\n\n");
printf("Press any key to continue..\n");
wait_anyKey();
printf("\x1b[2J");
printf("press (Down) to see ingredients for a burrito\n");
printf("press (Up) to See ingredients for a burger\n");
printf("press (Left) to See ingredients for Meatloaf\n");
printf("Press (Home) to exit\n\n");
}
--Crayon 20:23, 18 September 2009 (UTC)