rem: const char *locale; char buf[B_PATH_NAME_LENGTH]; status_t sts;   locale = gTermPref->getString (PREF_GUI_LANGUAGE); sprintf (buf, "%s%s", LOCALE_FILE_DIR, locale);  sts = pref->OpenText (buf);  if (sts == B_ERROR) pref->OpenText (LOCALE_FILE_DEFAULT);  return;
add: const char *locale; char buf[B_PATH_NAME_LENGTH]; status_t sts;  locale = gTermPref->getString (PREF_GUI_LANGUAGE); sprintf (buf, "%s%s", LOCALE_FILE_DIR, locale);  sts = pref->OpenText (buf);  if (sts == B_ERROR) pref->OpenText (LOCALE_FILE_DEFAULT);
context: LoadLocaleFile (PrefHandler *pref){  const char *locale;  char buf[B_PATH_NAME_LENGTH];  status_t sts;    /*   * Open menu localize file.   */  locale = gTermPref->getString (PREF_GUI_LANGUAGE);  sprintf (buf, "%s%s", LOCALE_FILE_DIR, locale);  sts = pref->OpenText (buf);  if (sts == B_ERROR)    pref->OpenText (LOCALE_FILE_DEFAULT);  return;  }