all: fix typos in documentation, translated strings and comments
https://bugzilla.gnome.org/show_bug.cgi?id=783173
This commit is contained in:

committed by
Thomas Haller

parent
7bafe6dece
commit
0050e8bd34
@@ -76,7 +76,7 @@ typedef struct {
|
||||
* @factory: the #NMDeviceFactory
|
||||
* @connection: the #NMConnection to return the parent name for, if supported
|
||||
*
|
||||
* Given a connection, returns the a parent interface name, parent connection
|
||||
* Given a connection, returns the parent interface name, parent connection
|
||||
* UUID, or parent device permanent hardware address for @connection.
|
||||
*
|
||||
* Returns: the parent interface name, parent connection UUID, parent
|
||||
|
@@ -3505,7 +3505,7 @@ nm_utils_stable_id_parse (const char *stable_id,
|
||||
_stable_id_append (str, bootid ?: nm_utils_get_boot_id ());
|
||||
else if (g_str_has_prefix (&stable_id[i], "${RANDOM}")) {
|
||||
/* RANDOM makes not so much sense for cloned-mac-address
|
||||
* as the result is simmilar to specifing "cloned-mac-address=random".
|
||||
* as the result is simmilar to specyifing "cloned-mac-address=random".
|
||||
* It makes however sense for RFC 7217 Stable Privacy IPv6 addresses
|
||||
* where this is effectively the only way to generate a different
|
||||
* (random) host identifier for each connect.
|
||||
|
@@ -304,7 +304,7 @@ guint8 *nm_utils_secret_key_read (gsize *out_key_len, GError **error);
|
||||
|
||||
const char *nm_utils_get_boot_id (void);
|
||||
|
||||
/* IPv6 Interface Identifer helpers */
|
||||
/* IPv6 Interface Identifier helpers */
|
||||
|
||||
/**
|
||||
* NMUtilsIPv6IfaceId:
|
||||
|
@@ -178,7 +178,7 @@ typedef struct {
|
||||
* is enforced. NMDefaultRouteManager will actively remove any default
|
||||
* route on such ifindexes.
|
||||
* Also, for VPN sources in addition we track them so that a never-default
|
||||
* VPN connection can be choosen by get_best_config() to receive the DNS configuration.
|
||||
* VPN connection can be chosen by get_best_config() to receive the DNS configuration.
|
||||
*
|
||||
* (!synced && never_default): this combination makes no sense.
|
||||
*/
|
||||
@@ -272,7 +272,7 @@ _platform_route_sync_add (const VTableIP *vtable, NMDefaultRouteManager *self, g
|
||||
gboolean success;
|
||||
|
||||
/* Find the entries for the given metric.
|
||||
* The effective metric for synced entries is choosen in a way that it
|
||||
* The effective metric for synced entries is chosen in a way that it
|
||||
* is unique (except for G_MAXUINT32, where a clash is not solvable). */
|
||||
for (i = 0; i < entries->len; i++) {
|
||||
Entry *e = g_ptr_array_index (entries, i);
|
||||
|
@@ -287,7 +287,7 @@ test_merge_subtract_mss_mtu (void)
|
||||
g_assert_cmpuint (nm_ip4_config_get_mtu (cfg1), ==, expected_mtu2);
|
||||
|
||||
nm_ip4_config_merge (cfg1, cfg3, NM_IP_CONFIG_MERGE_DEFAULT);
|
||||
/* ensure again the MSS and MTU in cfg1 got overriden */
|
||||
/* ensure again the MSS and MTU in cfg1 got overridden */
|
||||
g_assert_cmpuint (nm_ip4_config_get_mss (cfg1), ==, expected_mss3);
|
||||
g_assert_cmpuint (nm_ip4_config_get_mtu (cfg1), ==, expected_mtu3);
|
||||
|
||||
|
Reference in New Issue
Block a user