[shotwell] Use Unicode in new translatable strings
- From: Piotr Drąg <piotrdrag src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [shotwell] Use Unicode in new translatable strings
- Date: Sat, 2 Jun 2018 12:13:44 +0000 (UTC)
commit 34c0ee8acf92f0e872f82c4c3a0f08c34dc831d5
Author: Piotr Drąg <piotrdrag gmail com>
Date: Sat Jun 2 14:12:15 2018 +0200
Use Unicode in new translatable strings
See https://developer.gnome.org/hig/stable/typography.html
https://bugzilla.gnome.org/show_bug.cgi?id=772339
src/Dialogs.vala | 4 ++--
src/Resources.vala | 18 +++++++++---------
2 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/src/Dialogs.vala b/src/Dialogs.vala
index c1a5225a..d99ac9f3 100644
--- a/src/Dialogs.vala
+++ b/src/Dialogs.vala
@@ -51,8 +51,8 @@ public bool confirm_warn_developer_changed(int number) {
public bool confirm_delete_face(Face face) {
int count = face.get_sources_count();
string msg = ngettext(
- "This will remove the face \"%s\" from one photo. Continue?",
- "This will remove the face \"%s\" from %d photos. Continue?",
+ "This will remove the face “%s” from one photo. Continue?",
+ "This will remove the face “%s” from %d photos. Continue?",
count).printf(face.get_name(), count);
return AppWindow.negate_affirm_question(msg, _("_Cancel"), _("_Delete"),
diff --git a/src/Resources.vala b/src/Resources.vala
index 5cae901f..2d48d7f0 100644
--- a/src/Resources.vala
+++ b/src/Resources.vala
@@ -405,33 +405,33 @@ along with Shotwell; if not, write to the Free Software Foundation, Inc.,
#if ENABLE_FACES
public static string rename_face_exists_message(string name) {
- return _("Unable to rename face to \"%s\" because the face already exists.").printf(name);
+ return _("Unable to rename face to “%s” because the face already exists.").printf(name);
}
public string remove_face_from_photos_menu(string name, int count) {
- return ngettext ("Remove Face \"%s\" From _Photo",
- "Remove Face \"%s\" From _Photos", count).printf(name);
+ return ngettext ("Remove Face “%s” From _Photo",
+ "Remove Face “%s” From _Photos", count).printf(name);
}
public string remove_face_from_photos_label(string name, int count) {
- return ngettext ("Remove Face \"%s\" From Photo",
- "Remove Face \"%s\" From Photos", count).printf(name);
+ return ngettext ("Remove Face “%s” From Photo",
+ "Remove Face “%s” From Photos", count).printf(name);
}
public string rename_face_menu(string name) {
- return _("Re_name Face \"%s\"...").printf(name);
+ return _("Re_name Face “%s”…").printf(name);
}
public string rename_face_label(string old_name, string new_name) {
- return _("Rename Face \"%s\" to \"%s\"").printf(old_name, new_name);
+ return _("Rename Face “%s” to “%s”").printf(old_name, new_name);
}
public string delete_face_menu(string name) {
- return _("_Delete Face \"%s\"").printf(name);
+ return _("_Delete Face “%s”").printf(name);
}
public string delete_face_label(string name) {
- return _("Delete Face \"%s\"").printf(name);
+ return _("Delete Face “%s”").printf(name);
}
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]