NetworkManager/libnm-core
Dan Winship 53f5e9afa4 libnm*: fix library gettext usage
Libraries need to include <gi18n-lib.h>, not <gi18n.h>, so that _()
will get defined to "dgettext (GETTEXT_DOMAIN, string)" rather than
"gettext (string)" (which will use the program's default domain, which
works fine for programs in the NetworkManager tree, but not for
external users). Likewise, we need to call bindtextdomain() so that
gettext can find the translations if the library is installed in a
different prefix from the program using it (and
bind_textdomain_codeset(), so it will know the translations are in
UTF-8 even if the locale isn't).

(The fact that no one noticed this was broken before is because the
libraries didn't really start returning useful translated strings much
until 0.9.10, and none of the out-of-tree clients have been updated to
actually show those strings to users yet.)
2014-11-13 17:18:42 -05:00
..
tests all: consistently include config.h 2014-11-13 17:18:42 -05:00
crypto.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
crypto.h libnm-core: add nm-errors.[ch] 2014-10-22 08:29:08 -04:00
crypto_gnutls.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
crypto_nss.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
Makefile.am libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
Makefile.libnm-core libnm-core, all: merge IPv4 and IPv6 address/route types 2014-11-07 07:49:40 -05:00
nm-connection-private.h libnm-core: make nm_setting_verify() take an NMConnection 2014-10-28 17:17:17 -04:00
nm-connection.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-connection.h libnm, docs: docs fixes 2014-11-07 13:16:54 -05:00
nm-core-internal.h libnm-core: add NMIPAddress/NMIPRoute attributes, use for labels 2014-11-07 07:49:40 -05:00
nm-core-types.h libnm-core: extract NMSettingIPConfig superclass out of IP4, IP6 classes 2014-11-07 07:49:40 -05:00
nm-dbus-interface.h libnm, docs: docs fixes 2014-11-07 13:16:54 -05:00
nm-errors.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-errors.h libnm, docs: docs fixes 2014-11-07 13:16:54 -05:00
nm-property-compare.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-property-compare.h libnm-core: change connection hash tables to variants in API 2014-09-18 11:51:09 -04:00
nm-setting-8021x.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-setting-8021x.h libnm, docs: docs fixes 2014-11-07 13:16:54 -05:00
nm-setting-adsl.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-setting-adsl.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-bluetooth.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-setting-bluetooth.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-bond.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-setting-bond.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-bridge-port.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-setting-bridge-port.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-bridge.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-setting-bridge.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-cdma.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-setting-cdma.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-connection.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-setting-connection.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-dcb.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-setting-dcb.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-generic.c libnm-core: merge NMSetting*Error into NMConnectionError 2014-10-22 08:29:07 -04:00
nm-setting-generic.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-gsm.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-setting-gsm.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-infiniband.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-setting-infiniband.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-ip-config.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-setting-ip-config.h libnm: add NMSettingIPConfig:route-metric 2014-11-07 15:19:06 +01:00
nm-setting-ip4-config.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-setting-ip4-config.h libnm-core: extract NMSettingIPConfig superclass out of IP4, IP6 classes 2014-11-07 07:49:40 -05:00
nm-setting-ip6-config.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-setting-ip6-config.h libnm-core: extract NMSettingIPConfig superclass out of IP4, IP6 classes 2014-11-07 07:49:40 -05:00
nm-setting-olpc-mesh.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-setting-olpc-mesh.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-ppp.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-setting-ppp.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-pppoe.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-setting-pppoe.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-private.h libnm-core: tweak handling of overridden properties 2014-11-07 07:49:40 -05:00
nm-setting-serial.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-setting-serial.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-team-port.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-setting-team-port.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-team.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-setting-team.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-vlan.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-setting-vlan.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-vpn.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-setting-vpn.h libnm/libnm-util: add VPN 'persistent' property 2014-11-06 21:16:57 -06:00
nm-setting-wimax.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-setting-wimax.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-wired.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-setting-wired.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-wireless-security.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-setting-wireless-security.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-wireless.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-setting-wireless.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-setting.h libnm-core: make nm_setting_verify() take an NMConnection 2014-10-28 17:17:17 -04:00
nm-simple-connection.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-simple-connection.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-utils-private.h libnm-core, all: merge IPv4 and IPv6 address/route types 2014-11-07 07:49:40 -05:00
nm-utils.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-utils.h libnm,core: enhance nm_utils_hexstr2bin() 2014-11-07 12:18:32 -06:00
nm-version.h.in libnm: add libnm/libnm-core (part 1) 2014-08-01 14:34:04 -04:00
nm-vpn-dbus-interface.h vpn: allow plugins to indicate 'can-persist' capability 2014-11-06 21:17:34 -06:00