mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 17:33:25 +00:00

Since localization is fully handled plug-in side now (see #8124), we need to make sure the query functions are run again for all plug-ins when the UI language changes (otherwise we might end up with localizations from the previously used languages). We were already reloading plug-ins when explicitly changing the lang in the Preferences, but this new implementation is much better as it's generic. In particular, it will also handle the case when the system language changes (or when you play with locale environment variables).
29 lines
984 B
C
29 lines
984 B
C
/* GIMP - The GNU Image Manipulation Program
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#ifndef __LANGUAGE_H__
|
|
#define __LANGUAGE_H__
|
|
|
|
#ifndef GIMP_APP_GLUE_COMPILATION
|
|
#error You must not #include "language.h" from a subdir
|
|
#endif
|
|
|
|
|
|
const gchar * language_init (const gchar *language);
|
|
|
|
|
|
#endif /* __LANGUAGE_H__ */
|