[gnome-initial-setup] Use Unicode in translatable strings
- From: Piotr Drąg <piotrdrag src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-initial-setup] Use Unicode in translatable strings
- Date: Fri, 23 Jun 2017 23:12:55 +0000 (UTC)
commit ec90ee20e949b032b6fb8a4fb8619144fe8174f9
Author: Piotr Drąg <piotrdrag gmail com>
Date: Thu Nov 10 13:42:46 2016 +0100
Use Unicode in translatable strings
See https://developer.gnome.org/hig/stable/typography.html
https://bugzilla.gnome.org/show_bug.cgi?id=774203
gnome-initial-setup/gnome-initial-setup.c | 2 +-
gnome-initial-setup/pages/account/um-utils.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnome-initial-setup/gnome-initial-setup.c b/gnome-initial-setup/gnome-initial-setup.c
index 600e730..5671cae 100644
--- a/gnome-initial-setup/gnome-initial-setup.c
+++ b/gnome-initial-setup/gnome-initial-setup.c
@@ -220,7 +220,7 @@ main (int argc, char *argv[])
g_unsetenv ("GIO_USE_VFS");
- context = g_option_context_new (_("- GNOME initial setup"));
+ context = g_option_context_new (_("— GNOME initial setup"));
g_option_context_add_main_entries (context, entries, NULL);
g_option_context_parse (context, &argc, &argv, NULL);
diff --git a/gnome-initial-setup/pages/account/um-utils.c b/gnome-initial-setup/pages/account/um-utils.c
index 0ac8c95..00133a7 100644
--- a/gnome-initial-setup/pages/account/um-utils.c
+++ b/gnome-initial-setup/pages/account/um-utils.c
@@ -248,7 +248,7 @@ is_valid_username (const gchar *username, gchar **tip)
*tip = g_strdup_printf (_("The username is too long."));
}
else if (username[0] == '-') {
- *tip = g_strdup (_("The username cannot start with a ‘-’."));
+ *tip = g_strdup (_("The username cannot start with a “-”."));
}
else {
*tip = g_strdup (_("The username should only consist of upper and lower case letters
from a-z, digits and the following characters: . - _"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]