Commit 92740e3d authored by Piotr Drąg's avatar Piotr Drąg 😐 Committed by Thomas Haller

all: use Unicode in translatable strings

See https://developer.gnome.org/hig/stable/typography.html
parent 2f3f2680
......@@ -249,7 +249,7 @@ unlock_dialog_response (GtkDialog *dialog,
g_assert (lock == MM_MODEM_LOCK_SIM_PIN || lock == MM_MODEM_LOCK_SIM_PUK);
/* Start the spinner to show the progress of the unlock */
applet_mobile_pin_dialog_start_spinner (info->dialog, _("Sending unlock code..."));
applet_mobile_pin_dialog_start_spinner (info->dialog, _("Sending unlock code"));
code1 = applet_mobile_pin_dialog_get_entry1 (info->dialog);
if (!code1 || !strlen (code1)) {
......@@ -798,7 +798,7 @@ add_menu_item (NMDevice *device,
}
} else {
/* Default connection item */
item = gtk_check_menu_item_new_with_label (_("New Mobile Broadband connection..."));
item = gtk_check_menu_item_new_with_label (_("New Mobile Broadband connection"));
add_connection_item (device, NULL, item, menu, applet);
}
}
......
......@@ -113,20 +113,20 @@ bt_get_icon (NMDevice *device,
switch (state) {
case NM_DEVICE_STATE_PREPARE:
*tip = g_strdup_printf (_("Preparing mobile broadband connection '%s'..."), id);
*tip = g_strdup_printf (_("Preparing mobile broadband connection “%s”…"), id);
break;
case NM_DEVICE_STATE_CONFIG:
*tip = g_strdup_printf (_("Configuring mobile broadband connection '%s'..."), id);
*tip = g_strdup_printf (_("Configuring mobile broadband connection “%s”…"), id);
break;
case NM_DEVICE_STATE_NEED_AUTH:
*tip = g_strdup_printf (_("User authentication required for mobile broadband connection '%s'..."), id);
*tip = g_strdup_printf (_("User authentication required for mobile broadband connection “%s”…"), id);
break;
case NM_DEVICE_STATE_IP_CONFIG:
*tip = g_strdup_printf (_("Requesting a network address for '%s'..."), id);
*tip = g_strdup_printf (_("Requesting a network address for “%s”…"), id);
break;
case NM_DEVICE_STATE_ACTIVATED:
*out_icon_name = "nm-device-wwan";
*tip = g_strdup_printf (_("Mobile broadband connection '%s' active"), id);
*tip = g_strdup_printf (_("Mobile broadband connection “%s” active"), id);
break;
default:
break;
......
......@@ -158,20 +158,20 @@ ethernet_get_icon (NMDevice *device,
switch (state) {
case NM_DEVICE_STATE_PREPARE:
*tip = g_strdup_printf (_("Preparing ethernet network connection '%s'..."), id);
*tip = g_strdup_printf (_("Preparing ethernet network connection “%s”…"), id);
break;
case NM_DEVICE_STATE_CONFIG:
*tip = g_strdup_printf (_("Configuring ethernet network connection '%s'..."), id);
*tip = g_strdup_printf (_("Configuring ethernet network connection “%s”…"), id);
break;
case NM_DEVICE_STATE_NEED_AUTH:
*tip = g_strdup_printf (_("User authentication required for ethernet network connection '%s'..."), id);
*tip = g_strdup_printf (_("User authentication required for ethernet network connection “%s”…"), id);
break;
case NM_DEVICE_STATE_IP_CONFIG:
*tip = g_strdup_printf (_("Requesting an ethernet network address for '%s'..."), id);
*tip = g_strdup_printf (_("Requesting an ethernet network address for “%s”…"), id);
break;
case NM_DEVICE_STATE_ACTIVATED:
*out_icon_name = "nm-device-wired";
*tip = g_strdup_printf (_("Ethernet network connection '%s' active"), id);
*tip = g_strdup_printf (_("Ethernet network connection “%s” active"), id);
break;
default:
break;
......
......@@ -227,7 +227,7 @@ nma_menu_add_hidden_network_item (GtkWidget *menu, NMApplet *applet)
GtkWidget *label;
menu_item = gtk_menu_item_new ();
label = gtk_label_new_with_mnemonic (_("_Connect to Hidden Wi-Fi Network..."));
label = gtk_label_new_with_mnemonic (_("_Connect to Hidden Wi-Fi Network"));
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_container_add (GTK_CONTAINER (menu_item), label);
gtk_widget_show_all (menu_item);
......@@ -278,7 +278,7 @@ nma_menu_add_create_network_item (GtkWidget *menu, NMApplet *applet)
GtkWidget *label;
menu_item = gtk_menu_item_new ();
label = gtk_label_new_with_mnemonic (_("Create _New Wi-Fi Network..."));
label = gtk_label_new_with_mnemonic (_("Create _New Wi-Fi Network"));
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_container_add (GTK_CONTAINER (menu_item), label);
gtk_widget_show_all (menu_item);
......@@ -1181,7 +1181,7 @@ idle_check_avail_access_point_notification (gpointer datap)
_("Use the network menu to connect to a Wi-Fi network"),
"nm-device-wireless",
"dont-show",
_("Don't show this message again"),
_("Dont show this message again"),
wifi_available_dont_show_cb,
applet);
return FALSE;
......@@ -1361,7 +1361,7 @@ wifi_notify_connected (NMDevice *device,
else
signal_strength_icon = mobile_helper_get_quality_icon_name (nm_access_point_get_strength (ap));
ssid_msg = g_strdup_printf (_("You are now connected to the Wi-Fi network '%s'."), esc_ssid);
ssid_msg = g_strdup_printf (_("You are now connected to the Wi-Fi network “%s”."), esc_ssid);
applet_do_notify_with_pref (applet, _("Connection Established"),
ssid_msg, signal_strength_icon,
PREF_DISABLE_CONNECTED_NOTIFICATIONS);
......@@ -1396,16 +1396,16 @@ wifi_get_icon (NMDevice *device,
switch (state) {
case NM_DEVICE_STATE_PREPARE:
*tip = g_strdup_printf (_("Preparing Wi-Fi network connection '%s'..."), id);
*tip = g_strdup_printf (_("Preparing Wi-Fi network connection “%s”…"), id);
break;
case NM_DEVICE_STATE_CONFIG:
*tip = g_strdup_printf (_("Configuring Wi-Fi network connection '%s'..."), id);
*tip = g_strdup_printf (_("Configuring Wi-Fi network connection “%s”…"), id);
break;
case NM_DEVICE_STATE_NEED_AUTH:
*tip = g_strdup_printf (_("User authentication required for Wi-Fi network '%s'..."), id);
*tip = g_strdup_printf (_("User authentication required for Wi-Fi network “%s”…"), id);
break;
case NM_DEVICE_STATE_IP_CONFIG:
*tip = g_strdup_printf (_("Requesting a Wi-Fi network address for '%s'..."), id);
*tip = g_strdup_printf (_("Requesting a Wi-Fi network address for “%s”…"), id);
break;
case NM_DEVICE_STATE_ACTIVATED:
strength = ap ? nm_access_point_get_strength (ap) : 0;
......@@ -1416,11 +1416,11 @@ wifi_get_icon (NMDevice *device,
if (ap) {
char *ssid = get_ssid_utf8 (ap);
*tip = g_strdup_printf (_("Wi-Fi network connection '%s' active: %s (%d%%)"),
*tip = g_strdup_printf (_("Wi-Fi network connection “%s” active: %s (%d%%)"),
id, ssid, strength);
g_free (ssid);
} else
*tip = g_strdup_printf (_("Wi-Fi network connection '%s' active"), id);
*tip = g_strdup_printf (_("Wi-Fi network connection “%s” active"), id);
break;
default:
break;
......
......@@ -1037,7 +1037,7 @@ applet_mobile_password_dialog_new (NMConnection *connection,
s_con = nm_connection_get_setting_connection (connection);
id = nm_setting_connection_get_id (s_con);
g_assert (id);
tmp = g_strdup_printf (_("A password is required to connect to '%s'."), id);
tmp = g_strdup_printf (_("A password is required to connect to “%s”."), id);
w = gtk_label_new (tmp);
g_free (tmp);
......@@ -1337,7 +1337,7 @@ applet_mobile_pin_dialog_new (const char *unlock_required,
title = _("SIM PIN unlock required");
header = _("SIM PIN Unlock Required");
/* FIXME: some warning about # of times you can enter incorrect PIN */
desc = g_strdup_printf (_("The mobile broadband device '%s' requires a SIM PIN code before it can be used."), device_description);
desc = g_strdup_printf (_("The mobile broadband device “%s” requires a SIM PIN code before it can be used."), device_description);
/* Translators: PIN code entry label */
label1 = _("PIN code:");
label1_min = 4;
......@@ -1348,7 +1348,7 @@ applet_mobile_pin_dialog_new (const char *unlock_required,
title = _("SIM PUK unlock required");
header = _("SIM PUK Unlock Required");
/* FIXME: some warning about # of times you can enter incorrect PUK */
desc = g_strdup_printf (_("The mobile broadband device '%s' requires a SIM PUK code before it can be used."), device_description);
desc = g_strdup_printf (_("The mobile broadband device “%s” requires a SIM PUK code before it can be used."), device_description);
/* Translators: PUK code entry label */
label1 = _("PUK code:");
label1_min = label1_max = 8;
......
......@@ -754,7 +754,7 @@ void applet_do_notify_with_pref (NMApplet *applet,
return;
applet_do_notify (applet, NOTIFY_URGENCY_LOW, summary, message, icon, pref,
_("Don't show this message again"),
_("Dont show this message again"),
notify_dont_show_cb,
applet);
}
......@@ -841,35 +841,35 @@ make_vpn_failure_message (NMVpnConnection *vpn,
switch (reason) {
case NM_VPN_CONNECTION_STATE_REASON_DEVICE_DISCONNECTED:
return g_strdup_printf (_("\nThe VPN connection '%s' failed because the network connection was interrupted."),
return g_strdup_printf (_("\nThe VPN connection “%s” failed because the network connection was interrupted."),
nm_connection_get_id (connection));
case NM_VPN_CONNECTION_STATE_REASON_SERVICE_STOPPED:
return g_strdup_printf (_("\nThe VPN connection '%s' failed because the VPN service stopped unexpectedly."),
return g_strdup_printf (_("\nThe VPN connection “%s” failed because the VPN service stopped unexpectedly."),
nm_connection_get_id (connection));
case NM_VPN_CONNECTION_STATE_REASON_IP_CONFIG_INVALID:
return g_strdup_printf (_("\nThe VPN connection '%s' failed because the VPN service returned invalid configuration."),
return g_strdup_printf (_("\nThe VPN connection “%s” failed because the VPN service returned invalid configuration."),
nm_connection_get_id (connection));
case NM_VPN_CONNECTION_STATE_REASON_CONNECT_TIMEOUT:
return g_strdup_printf (_("\nThe VPN connection '%s' failed because the connection attempt timed out."),
return g_strdup_printf (_("\nThe VPN connection “%s” failed because the connection attempt timed out."),
nm_connection_get_id (connection));
case NM_VPN_CONNECTION_STATE_REASON_SERVICE_START_TIMEOUT:
return g_strdup_printf (_("\nThe VPN connection '%s' failed because the VPN service did not start in time."),
return g_strdup_printf (_("\nThe VPN connection “%s” failed because the VPN service did not start in time."),
nm_connection_get_id (connection));
case NM_VPN_CONNECTION_STATE_REASON_SERVICE_START_FAILED:
return g_strdup_printf (_("\nThe VPN connection '%s' failed because the VPN service failed to start."),
return g_strdup_printf (_("\nThe VPN connection “%s” failed because the VPN service failed to start."),
nm_connection_get_id (connection));
case NM_VPN_CONNECTION_STATE_REASON_NO_SECRETS:
return g_strdup_printf (_("\nThe VPN connection '%s' failed because there were no valid VPN secrets."),
return g_strdup_printf (_("\nThe VPN connection “%s” failed because there were no valid VPN secrets."),
nm_connection_get_id (connection));
case NM_VPN_CONNECTION_STATE_REASON_LOGIN_FAILED:
return g_strdup_printf (_("\nThe VPN connection '%s' failed because of invalid VPN secrets."),
return g_strdup_printf (_("\nThe VPN connection “%s” failed because of invalid VPN secrets."),
nm_connection_get_id (connection));
default:
break;
}
return g_strdup_printf (_("\nThe VPN connection '%s' failed."), nm_connection_get_id (connection));
return g_strdup_printf (_("\nThe VPN connection “%s” failed."), nm_connection_get_id (connection));
}
static char *
......@@ -885,16 +885,16 @@ make_vpn_disconnection_message (NMVpnConnection *vpn,
switch (reason) {
case NM_VPN_CONNECTION_STATE_REASON_DEVICE_DISCONNECTED:
return g_strdup_printf (_("\nThe VPN connection '%s' disconnected because the network connection was interrupted."),
return g_strdup_printf (_("\nThe VPN connection “%s” disconnected because the network connection was interrupted."),
nm_connection_get_id (connection));
case NM_VPN_CONNECTION_STATE_REASON_SERVICE_STOPPED:
return g_strdup_printf (_("\nThe VPN connection '%s' disconnected because the VPN service stopped."),
return g_strdup_printf (_("\nThe VPN connection “%s” disconnected because the VPN service stopped."),
nm_connection_get_id (connection));
default:
break;
}
return g_strdup_printf (_("\nThe VPN connection '%s' disconnected."), nm_connection_get_id (connection));
return g_strdup_printf (_("\nThe VPN connection “%s” disconnected."), nm_connection_get_id (connection));
}
static void
......@@ -987,10 +987,10 @@ activate_vpn_cb (GObject *client,
name = g_dbus_error_get_remote_error (error);
if (strstr (name, "ServiceStartFailed")) {
msg = g_strdup_printf (_("\nThe VPN connection '%s' failed because the VPN service failed to start.\n\n%s"),
msg = g_strdup_printf (_("\nThe VPN connection “%s” failed because the VPN service failed to start.\n\n%s"),
info->vpn_name, error->message);
} else {
msg = g_strdup_printf (_("\nThe VPN connection '%s' failed to start.\n\n%s"),
msg = g_strdup_printf (_("\nThe VPN connection “%s” failed to start.\n\n%s"),
info->vpn_name, error->message);
}
......@@ -1495,10 +1495,10 @@ nma_menu_add_vpn_submenu (GtkWidget *menu, NMApplet *applet)
/* Draw a separator, but only if we have VPN connections above it */
if (list->len) {
nma_menu_add_separator_item (GTK_WIDGET (vpn_menu));
item = GTK_MENU_ITEM (gtk_menu_item_new_with_mnemonic (_("_Configure VPN...")));
item = GTK_MENU_ITEM (gtk_menu_item_new_with_mnemonic (_("_Configure VPN")));
g_signal_connect (item, "activate", G_CALLBACK (nma_menu_configure_vpn_item_activate), applet);
} else {
item = GTK_MENU_ITEM (gtk_menu_item_new_with_mnemonic (_("_Add a VPN connection...")));
item = GTK_MENU_ITEM (gtk_menu_item_new_with_mnemonic (_("_Add a VPN connection")));
g_signal_connect (item, "activate", G_CALLBACK (nma_menu_add_vpn_item_activate), applet);
}
gtk_menu_shell_append (GTK_MENU_SHELL (vpn_menu), GTK_WIDGET (item));
......@@ -1604,7 +1604,7 @@ static void nma_menu_show_cb (GtkWidget *menu, NMApplet *applet)
gtk_status_icon_set_tooltip_text (applet->status_icon, NULL);
if (!nm_client_get_nm_running (applet->nm_client)) {
nma_menu_add_text_item (menu, _("NetworkManager is not running..."));
nma_menu_add_text_item (menu, _("NetworkManager is not running"));
return;
}
......@@ -1869,7 +1869,7 @@ static GtkWidget *nma_context_menu_create (NMApplet *applet)
gtk_menu_shell_append (menu, applet->info_menu_item);
/* 'Edit Connections...' item */
applet->connections_menu_item = gtk_menu_item_new_with_mnemonic (_("Edit Connections..."));
applet->connections_menu_item = gtk_menu_item_new_with_mnemonic (_("Edit Connections"));
g_signal_connect (applet->connections_menu_item,
"activate",
G_CALLBACK (nma_edit_connections_cb),
......@@ -2168,7 +2168,7 @@ foo_device_state_changed_cb (NMDevice *device,
connection = applet_find_active_connection_for_device (device, applet, NULL);
if (connection) {
str = g_strdup_printf (_("You are now connected to '%s'."),
str = g_strdup_printf (_("You are now connected to “%s”."),
nm_connection_get_id (connection));
}
......@@ -2478,16 +2478,16 @@ get_tip_for_device_state (NMDevice *device,
switch (state) {
case NM_DEVICE_STATE_PREPARE:
case NM_DEVICE_STATE_CONFIG:
tip = g_strdup_printf (_("Preparing network connection '%s'..."), id);
tip = g_strdup_printf (_("Preparing network connection “%s”…"), id);
break;
case NM_DEVICE_STATE_NEED_AUTH:
tip = g_strdup_printf (_("User authentication required for network connection '%s'..."), id);
tip = g_strdup_printf (_("User authentication required for network connection “%s”…"), id);
break;
case NM_DEVICE_STATE_IP_CONFIG:
tip = g_strdup_printf (_("Requesting a network address for '%s'..."), id);
tip = g_strdup_printf (_("Requesting a network address for “%s”…"), id);
break;
case NM_DEVICE_STATE_ACTIVATED:
tip = g_strdup_printf (_("Network connection '%s' active"), id);
tip = g_strdup_printf (_("Network connection “%s” active"), id);
break;
default:
break;
......@@ -2561,13 +2561,13 @@ get_tip_for_vpn (NMActiveConnection *active, NMVpnConnectionState state, NMApple
switch (state) {
case NM_VPN_CONNECTION_STATE_CONNECT:
case NM_VPN_CONNECTION_STATE_PREPARE:
tip = g_strdup_printf (_("Starting VPN connection '%s'..."), id);
tip = g_strdup_printf (_("Starting VPN connection “%s”…"), id);
break;
case NM_VPN_CONNECTION_STATE_NEED_AUTH:
tip = g_strdup_printf (_("User authentication required for VPN connection '%s'..."), id);
tip = g_strdup_printf (_("User authentication required for VPN connection “%s”…"), id);
break;
case NM_VPN_CONNECTION_STATE_IP_CONFIG_GET:
tip = g_strdup_printf (_("Requesting a VPN address for '%s'..."), id);
tip = g_strdup_printf (_("Requesting a VPN address for “%s”…"), id);
break;
case NM_VPN_CONNECTION_STATE_ACTIVATED:
tip = g_strdup_printf (_("VPN connection active"));
......
......@@ -80,7 +80,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="has_tooltip">True</property>
<property name="tooltip_text" translatable="yes">IP addresses identify your computer on the network. Click the "Add" button to add an IP address.</property>
<property name="tooltip_text" translatable="yes">IP addresses identify your computer on the network. Click the “Add” button to add an IP address.</property>
<child internal-child="selection">
<object class="GtkTreeSelection" id="treeview-selection1"/>
</child>
......
......@@ -80,7 +80,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="has_tooltip">True</property>
<property name="tooltip_text" translatable="yes">IP addresses identify your computer on the network. Click the "Add" button to add an IP address.</property>
<property name="tooltip_text" translatable="yes">IP addresses identify your computer on the network. Click the “Add” button to add an IP address.</property>
<child internal-child="selection">
<object class="GtkTreeSelection" id="treeview-selection1"/>
</child>
......
......@@ -373,7 +373,7 @@
</child>
<child>
<object class="GtkButton" id="pfc_options_button">
<property name="label" translatable="yes">Options...</property>
<property name="label" translatable="yes">Options</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
......@@ -448,7 +448,7 @@
</child>
<child>
<object class="GtkButton" id="pg_options_button">
<property name="label" translatable="yes">Options...</property>
<property name="label" translatable="yes">Options</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
......
......@@ -190,7 +190,7 @@
<object class="GtkEntry" id="ip4_dhcp_client_id_entry">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="tooltip_text" translatable="yes">The DHCP client identifier allows the network administrator to customize your computer's configuration. If you wish to use a DHCP client identifier, enter it here.</property>
<property name="tooltip_text" translatable="yes">The DHCP client identifier allows the network administrator to customize your computers configuration. If you wish to use a DHCP client identifier, enter it here.</property>
<property name="invisible_char"></property>
</object>
<packing>
......
......@@ -230,7 +230,7 @@
</child>
<child>
<object class="GtkButton" id="mobile_apn_button">
<property name="label" translatable="yes">Change...</property>
<property name="label" translatable="yes">Change</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
......
......@@ -41,7 +41,7 @@
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Ad_vanced...</property>
<property name="label" translatable="yes">Ad_vanced</property>
<property name="use_underline">True</property>
</object>
<packing>
......@@ -799,7 +799,7 @@
<property name="column_spacing">12</property>
<child>
<object class="GtkButton" id="import_config_button">
<property name="label" translatable="yes">Im_port team configuration from a file...</property>
<property name="label" translatable="yes">Im_port team configuration from a file</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
......
......@@ -388,7 +388,7 @@
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Ad_vanced...</property>
<property name="label" translatable="yes">Ad_vanced</property>
<property name="use_underline">True</property>
</object>
<packing>
......@@ -848,7 +848,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="tooltip_text" translatable="yes">If checked, LACPDU frames are sent along the configured links periodically. If not, it acts as "speak when spoken to".</property>
<property name="tooltip_text" translatable="yes">If checked, LACPDU frames are sent along the configured links periodically. If not, it acts as “speak when spoken to”.</property>
<property name="halign">start</property>
<property name="use_underline">True</property>
<property name="draw_indicator">True</property>
......@@ -1488,7 +1488,7 @@
<property name="column_spacing">12</property>
<child>
<object class="GtkButton" id="import_config_button">
<property name="label" translatable="yes">Im_port team configuration from a file...</property>
<property name="label" translatable="yes">Im_port team configuration from a file</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
......
......@@ -100,13 +100,13 @@ typedef CEPage* (*CEPageNewFunc)(NMConnectionEditor *editor,
GError **error);
#define CE_TOOLTIP_ADDR_AUTO _("IP addresses identify your computer on the network. " \
"Click the \"Add\" button to add static IP address to be " \
"Click the “Add” button to add static IP address to be " \
"configured in addition to the automatic ones.")
#define CE_TOOLTIP_ADDR_MANUAL _("IP addresses identify your computer on the network. " \
"Click the \"Add\" button to add an IP address.")
"Click the “Add” button to add an IP address.")
#define CE_TOOLTIP_ADDR_SHARED _("The IP address identify your computer on the network and " \
"determines the address range distributed to other computers. " \
"Click the \"Add\" button to add an IP address. "\
"Click the “Add” button to add an IP address. "\
"If no address is provided, one in the 10.42.x.x range will " \
"be used.")
......
......@@ -167,7 +167,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">In most cases, the provider's PPP servers will support all authentication methods. If connections fail, try disabling support for some methods.</property>
<property name="label" translatable="yes">In most cases, the providers PPP servers will support all authentication methods. If connections fail, try disabling support for some methods.</property>
<property name="wrap">True</property>
<attributes>
<attribute name="style" value="italic"/>
......
......@@ -367,9 +367,9 @@ next:
gtk_list_store_append (model, &iter);
if (show_headers)
markup = g_strdup_printf (" %s", _("Import a saved VPN configuration..."));
markup = g_strdup_printf (" %s", _("Import a saved VPN configuration"));
else
markup = g_strdup (_("Import a saved VPN configuration..."));
markup = g_strdup (_("Import a saved VPN configuration"));
gtk_list_store_append (model, &iter);
gtk_list_store_set (model, &iter,
COL_MARKUP, markup,
......
......@@ -184,7 +184,7 @@ connection_editor_validate (NMConnectionEditor *editor)
GError *error = NULL;
if (!editor_is_initialized (editor)) {
validation_error = g_strdup (_("Editor initializing..."));
validation_error = g_strdup (_("Editor initializing"));
goto done;
}
......
......@@ -203,7 +203,7 @@
<property name="spacing">6</property>
<child>
<object class="GtkButton" id="export_button">
<property name="label" translatable="yes">_Export...</property>
<property name="label" translatable="yes">_Export</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="use_underline">True</property>
......
......@@ -915,7 +915,7 @@ nm_connection_list_create (NMConnectionList *self, GType ctype, const char *deta
_("No VPN plugins are installed."));
} else {
nm_connection_editor_error (NULL, _("Error creating connection"),
_("Don't know how to create '%s' connections"), g_type_name (ctype));
_("Don’t know how to create “%s” connections"), g_type_name (ctype));
}
} else {
new_connection_of_type (GTK_WINDOW (self->dialog),
......@@ -939,7 +939,7 @@ nm_connection_list_edit (NMConnectionList *self, const gchar *uuid)
if (!connection) {
nm_connection_editor_error (NULL,
_("Error editing connection"),
_("Did not find a connection with UUID '%s'"), uuid);
_("Did not find a connection with UUID “%s”"), uuid);
return;
}
......
......@@ -73,7 +73,7 @@ ethernet_private_init (CEPageEthernet *self)
gtk_widget_set_tooltip_text (GTK_WIDGET (priv->device_combo),
_("This option locks this connection to the network device specified "
"either by its interface name or permanent MAC or both. Examples: "
"\"em1\", \"3C:97:0E:42:1A:19\", \"em1 (3C:97:0E:42:1A:19)\""));
"“em1”, “3C:97:0E:42:1A:19”, “em1 (3C:97:0E:42:1A:19)”"));
vbox = GTK_WIDGET (gtk_builder_get_object (builder, "ethernet_device_vbox"));
gtk_container_add (GTK_CONTAINER (vbox), GTK_WIDGET (priv->device_combo));
......
......@@ -56,8 +56,8 @@ infiniband_private_init (CEPageInfiniband *self)
gtk_widget_set_tooltip_text (GTK_WIDGET (priv->device_combo),
_("This option locks this connection to the network device specified "
"either by its interface name or permanent MAC or both. Examples: "
"\"ib0\", \"80:00:00:48:fe:80:00:00:00:00:00:00:00:02:c9:03:00:00:0f:65\", "
"\"ib0 (80:00:00:48:fe:80:00:00:00:00:00:00:00:02:c9:03:00:00:0f:65)\""));
"“ib0”, “80:00:00:48:fe:80:00:00:00:00:00:00:00:02:c9:03:00:00:0f:65”, "
"“ib0 (80:00:00:48:fe:80:00:00:00:00:00:00:00:02:c9:03:00:00:0f:65)”"));
vbox = GTK_WIDGET (gtk_builder_get_object (builder, "infiniband_device_vbox"));
gtk_container_add (GTK_CONTAINER (vbox), GTK_WIDGET (priv->device_combo));
......
......@@ -1318,7 +1318,7 @@ ui_to_setting (CEPageIP4 *self, GError **error)
if ( !addr
|| !nm_utils_ipaddr_valid (AF_INET, addr)
|| is_address_unspecified (addr)) {
g_set_error (error, NMA_ERROR, NMA_ERROR_GENERIC, _("IPv4 address \"%s\" invalid"), addr ? addr : "");
g_set_error (error, NMA_ERROR, NMA_ERROR_GENERIC, _("IPv4 address “%s” invalid"), addr ? addr : "");
g_free (addr);
g_free (netmask);
g_free (addr_gw);
......@@ -1326,7 +1326,7 @@ ui_to_setting (CEPageIP4 *self, GError **error)
}
if (!parse_netmask (netmask, &prefix)) {
g_set_error (error, NMA_ERROR, NMA_ERROR_GENERIC, _("IPv4 address netmask \"%s\" invalid"), netmask ? netmask : "");
g_set_error (error, NMA_ERROR, NMA_ERROR_GENERIC, _("IPv4 address netmask “%s” invalid"), netmask ? netmask : "");
g_free (addr);
g_free (netmask);
g_free (addr_gw);
......@@ -1335,7 +1335,7 @@ ui_to_setting (CEPageIP4 *self, GError **error)
/* Gateway is optional... */
if (addr_gw && *addr_gw && !nm_utils_ipaddr_valid (AF_INET, addr_gw)) {
g_set_error (error, NMA_ERROR, NMA_ERROR_GENERIC, _("IPv4 gateway \"%s\" invalid"), addr_gw);
g_set_error (error, NMA_ERROR, NMA_ERROR_GENERIC, _("IPv4 gateway “%s” invalid"), addr_gw);
g_free (addr);
g_free (netmask);
g_free (addr_gw);
......@@ -1378,7 +1378,7 @@ ui_to_setting (CEPageIP4 *self, GError **error)
if (inet_pton (AF_INET, stripped, &tmp_addr))
g_ptr_array_add (tmp_array, g_strdup (stripped));
else {
g_set_error (error, NMA_ERROR, NMA_ERROR_GENERIC, _("IPv4 DNS server \"%s\" invalid"), stripped);
g_set_error (error, NMA_ERROR, NMA_ERROR_GENERIC, _("IPv4 DNS server “%s” invalid"), stripped);
g_strfreev (items);
g_ptr_array_free (tmp_array, TRUE);
goto out;
......
......@@ -1269,7 +1269,7 @@ ui_to_setting (CEPageIP6 *self, GError **error)
if ( !addr_str
|| !nm_utils_ipaddr_valid (AF_INET6, addr_str)
|| is_address_unspecified (addr_str)) {
g_set_error (error, NMA_ERROR, NMA_ERROR_GENERIC, _("IPv6 address \"%s\" invalid"), addr_str ? addr_str : "");
g_set_error (error, NMA_ERROR, NMA_ERROR_GENERIC, _("IPv6 address “%s” invalid"), addr_str ? addr_str : "");
g_free (addr_str);
g_free (prefix_str);
g_free (addr_gw_str);
......@@ -1277,7 +1277,7 @@ ui_to_setting (CEPageIP6 *self, GError **error)
}
if (!is_prefix_valid (prefix_str, &prefix)) {
g_set_error (error, NMA_ERROR, NMA_ERROR_GENERIC, _("IPv6 prefix \"%s\" invalid"), prefix_str ? prefix_str : "");
g_set_error (error, NMA_ERROR, NMA_ERROR_GENERIC, _("IPv6 prefix “%s” invalid"), prefix_str ? prefix_str : "");
g_free (addr_str);
g_free (prefix_str);
g_free (addr_gw_str);
......@@ -1286,7 +1286,7 @@ ui_to_setting (CEPageIP6 *self, GError **error)
/* Gateway is optional... */
if (addr_gw_str && *addr_gw_str && !nm_utils_ipaddr_valid (AF_INET6, addr_gw_str)) {