diff --git a/FL/Fl.H b/FL/Fl.H index b8f606d15..0e963e501 100644 --- a/FL/Fl.H +++ b/FL/Fl.H @@ -52,7 +52,7 @@ struct Fl_Label; class Fl_Screen_Driver; class Fl_System_Driver; -// Pointers you can use to change FLTK to a foreign language. +// Pointers you can use to change FLTK to another language. // Note: Similar pointers are defined in FL/fl_ask.H and src/fl_ask.cxx extern FL_EXPORT const char* fl_local_alt; ///< string pointer used in shortcuts, you can change it to another language diff --git a/FL/fl_ask.H b/FL/fl_ask.H index ad1b7b236..63fe87435 100644 --- a/FL/fl_ask.H +++ b/FL/fl_ask.H @@ -69,7 +69,7 @@ FL_EXPORT int fl_message_hotspot(void); FL_EXPORT void fl_message_title(const char *title); FL_EXPORT void fl_message_title_default(const char *title); -// pointers you can use to change FLTK to a foreign language: +// pointers you can use to change FLTK to another language: extern FL_EXPORT const char* fl_no; extern FL_EXPORT const char* fl_yes; extern FL_EXPORT const char* fl_ok; diff --git a/src/Fl_Input.cxx b/src/Fl_Input.cxx index 205babaf3..d6ebd0415 100644 --- a/src/Fl_Input.cxx +++ b/src/Fl_Input.cxx @@ -313,7 +313,7 @@ int Fl_Input::handle_key() { // Insert characters into numeric fields after checking for legality: if (input_type() == FL_FLOAT_INPUT || input_type() == FL_INT_INPUT) { - Fl::compose_reset(); // ignore any foreign letters... + Fl::compose_reset(); // ignore any composed characters... // initialize the list of legal characters inside a floating point number #if defined(HAVE_LOCALECONV) && defined(HAVE_LOCALE_H) diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx index c96da78db..9c5e37131 100644 --- a/src/Fl_win32.cxx +++ b/src/Fl_win32.cxx @@ -1230,7 +1230,7 @@ static LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lPar if (GetKeyState(VK_SHIFT)&~1) state |= FL_SHIFT; if (GetKeyState(VK_CAPITAL)) state |= FL_CAPS_LOCK; if (GetKeyState(VK_CONTROL)&~1) state |= FL_CTRL; - // Alt gets reported for the Alt-GR switch on foreign keyboards. + // Alt gets reported for the Alt-GR switch on non-English keyboards. // so we need to check the event as well to get it right: if ((lParam&(1<<29)) //same as GetKeyState(VK_MENU) && uMsg != WM_CHAR) state |= FL_ALT;