//***************************************************************************** // // Switch out all of the dynamic strings. // //***************************************************************************** void ChangeLanguage(uint16_t ui16Language) { // // Change the language. // GrStringLanguageSet(ui16Language); // // Update the Language string. // GrStringGet(STR_LANGUAGE, g_pcLanguage, LANGUAGE_MAX_SIZE); // // Update the title string. // GrStringGet(g_ui32PanelNames[g_ui32Panel], g_pcTitle, TITLE_MAX_SIZE); }
//***************************************************************************** // // Switch out all of the dynamic strings. // //***************************************************************************** void ChangeLanguage(unsigned short usLanguage) { // // Change the language. // GrStringLanguageSet(usLanguage); // // Update the Language string. // GrStringGet(STR_LANGUAGE, g_pcLanguage, LANGUAGE_MAX_SIZE); // // Update the Update button. // GrStringGet(STR_UPDATE, g_pcUpdateButton, UPDATE_BUTTON_MAX_SIZE); // // Update the title string. // GrStringGet(g_ulPanelNames[g_ulPanel], g_pcTitle, TITLE_MAX_SIZE); }