NetworkManager/libnm
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
libnm.pc.in libnm: add libnm/libnm-core (part 2) 2014-08-01 14:34:04 -04:00
libnm.ver libnm,core: enhance nm_utils_hexstr2bin() 2014-11-07 12:18:32 -06:00
Makefile.am libnm: rename NMVpnPluginUiInterface, add to NetworkManager.h 2014-11-07 08:00:32 -05:00
NetworkManager.h libnm: rename NMVpnPluginUiInterface, add to NetworkManager.h 2014-11-07 08:00:32 -05:00
nm-access-point.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-access-point.h libnm: change GSList to GPtrArray in libnm methods 2014-10-28 17:17:17 -04:00
nm-active-connection.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-active-connection.h libnm: create NMDhcpConfig as parent of NMDhcp4Config and NMDhcp6Config 2014-11-07 07:49:40 -05:00
nm-client.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-client.h libnm: change GSList to GPtrArray in libnm methods 2014-10-28 17:17:17 -04:00
nm-dbus-helpers.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-dbus-helpers.h libnm: drop _nm_dbus_register_error_domain() 2014-10-22 08:29:10 -04:00
nm-device-adsl.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-device-adsl.h libnm: merge device-type-specific errors into NMDeviceError 2014-10-22 08:29:08 -04:00
nm-device-bond.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-device-bond.h libnm: merge device-type-specific errors into NMDeviceError 2014-10-22 08:29:08 -04:00
nm-device-bridge.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-device-bridge.h libnm: merge device-type-specific errors into NMDeviceError 2014-10-22 08:29:08 -04:00
nm-device-bt.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-device-bt.h libnm: merge device-type-specific errors into NMDeviceError 2014-10-22 08:29:08 -04:00
nm-device-ethernet.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-device-ethernet.h libnm: merge device-type-specific errors into NMDeviceError 2014-10-22 08:29:08 -04:00
nm-device-generic.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-device-generic.h libnm: merge device-type-specific errors into NMDeviceError 2014-10-22 08:29:08 -04:00
nm-device-infiniband.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-device-infiniband.h libnm: merge device-type-specific errors into NMDeviceError 2014-10-22 08:29:08 -04:00
nm-device-modem.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-device-modem.h libnm: merge device-type-specific errors into NMDeviceError 2014-10-22 08:29:08 -04:00
nm-device-olpc-mesh.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-device-olpc-mesh.h libnm: merge device-type-specific errors into NMDeviceError 2014-10-22 08:29:08 -04:00
nm-device-private.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-device-team.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-device-team.h libnm: merge device-type-specific errors into NMDeviceError 2014-10-22 08:29:08 -04:00
nm-device-vlan.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-device-vlan.h libnm: merge device-type-specific errors into NMDeviceError 2014-10-22 08:29:08 -04:00
nm-device-wifi.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-device-wifi.h libnm: merge device-type-specific errors into NMDeviceError 2014-10-22 08:29:08 -04:00
nm-device-wimax.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-device-wimax.h libnm: merge device-type-specific errors into NMDeviceError 2014-10-22 08:29:08 -04:00
nm-device.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-device.h libnm: create NMDhcpConfig as parent of NMDhcp4Config and NMDhcp6Config 2014-11-07 07:49:40 -05:00
nm-dhcp-config.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-dhcp-config.h libnm: create NMDhcpConfig as parent of NMDhcp4Config and NMDhcp6Config 2014-11-07 07:49:40 -05:00
nm-dhcp4-config.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-dhcp4-config.h libnm: create NMDhcpConfig as parent of NMDhcp4Config and NMDhcp6Config 2014-11-07 07:49:40 -05:00
nm-dhcp6-config.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-dhcp6-config.h libnm: create NMDhcpConfig as parent of NMDhcp4Config and NMDhcp6Config 2014-11-07 07:49:40 -05:00
nm-ip-config.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-ip-config.h libnm: create NMIPConfig as parent of NMIP4Config and NMIP6Config 2014-11-07 07:49:40 -05:00
nm-ip4-config.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-ip4-config.h libnm: create NMIPConfig as parent of NMIP4Config and NMIP6Config 2014-11-07 07:49:40 -05:00
nm-ip6-config.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-ip6-config.h libnm: create NMIPConfig as parent of NMIP4Config and NMIP6Config 2014-11-07 07:49:40 -05:00
nm-manager.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-manager.h libnm: add -added and -removed signals for ACs to NMManager 2014-10-19 09:26:49 -04:00
nm-object-cache.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-object-cache.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-object-private.h trivial: make _nm_object_reload_properties() private to nm-object.c 2014-11-06 20:51:58 -06:00
nm-object.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-object.h libnm: consolidate NMClientError and NMObjectError 2014-10-22 08:29:10 -04:00
nm-remote-connection-private.h libnm: add libnm/libnm-core (part 1) 2014-08-01 14:34:04 -04:00
nm-remote-connection.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-remote-connection.h libnm: drop unused NMRemoteConnectionError 2014-10-22 08:29:08 -04:00
nm-remote-settings.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-remote-settings.h libnm: change GSList to GPtrArray in libnm methods 2014-10-28 17:17:17 -04:00
nm-secret-agent.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-secret-agent.h libnm-core, libnm, settings: move NMSecretAgentError to nm-errors 2014-10-22 08:29:09 -04:00
nm-types.h libnm, docs: docs fixes 2014-11-07 13:16:54 -05:00
nm-vpn-connection.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-vpn-connection.h libnm: add nm-types.h, to avoid include loops 2014-10-10 13:10:18 -04:00
nm-vpn-editor-plugin.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-vpn-editor-plugin.h libnm, docs: docs fixes 2014-11-07 13:16:54 -05:00
nm-vpn-plugin-old.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-vpn-plugin-old.h libnm: merge nm-vpn-plugin-utils into nm-vpn-plugin-old 2014-10-28 14:50:27 -04:00
nm-wimax-nsp.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-wimax-nsp.h libnm, docs: docs fixes 2014-11-07 13:16:54 -05:00