[Libguestfs] [PATCH 2/3] Use Unicode single quotes ‘’ in place of `' in strings throughout.

Richard W.M. Jones rjones at redhat.com
Fri Mar 31 09:32:23 UTC 2017


See: https://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html
---
 align/scan.c                       |  2 +-
 cat/cat.c                          |  2 +-
 cat/filesystems.c                  |  2 +-
 cat/log.c                          |  2 +-
 cat/ls.c                           |  2 +-
 cat/tail.c                         |  2 +-
 df/main.c                          |  2 +-
 diff/diff.c                        |  2 +-
 edit/edit.c                        |  2 +-
 fish/fish.c                        |  2 +-
 format/format.c                    |  2 +-
 fuse/guestmount.c                  |  2 +-
 fuse/guestunmount.c                |  2 +-
 inspector/inspector.c              |  2 +-
 make-fs/make-fs.c                  |  2 +-
 mllib/getopt-c.c                   |  2 +-
 p2v/main.c                         |  2 +-
 rescue/rescue.c                    |  2 +-
 sparsify/cmdline.ml                |  2 +-
 v2v/libvirt_utils-c.c              |  2 +-
 website/download/builder/index     |  4 ++--
 website/download/builder/index.asc | 30 +++++++++++++++---------------
 22 files changed, 37 insertions(+), 37 deletions(-)

diff --git a/align/scan.c b/align/scan.c
index 175df1e83..7ae8adf1f 100644
--- a/align/scan.c
+++ b/align/scan.c
@@ -76,7 +76,7 @@ static void __attribute__((noreturn))
 usage (int status)
 {
   if (status != EXIT_SUCCESS)
-    fprintf (stderr, _("Try `%s --help' for more information.\n"),
+    fprintf (stderr, _("Try ‘%s --help’ for more information.\n"),
              getprogname ());
   else {
     printf (_("%s: check alignment of virtual machine partitions\n"
diff --git a/cat/cat.c b/cat/cat.c
index 90f6fb0d6..9fa8b4fed 100644
--- a/cat/cat.c
+++ b/cat/cat.c
@@ -56,7 +56,7 @@ static void __attribute__((noreturn))
 usage (int status)
 {
   if (status != EXIT_SUCCESS)
-    fprintf (stderr, _("Try `%s --help' for more information.\n"),
+    fprintf (stderr, _("Try ‘%s --help’ for more information.\n"),
              getprogname ());
   else {
     printf (_("%s: display files in a virtual machine\n"
diff --git a/cat/filesystems.c b/cat/filesystems.c
index 0c7748de1..6146984c9 100644
--- a/cat/filesystems.c
+++ b/cat/filesystems.c
@@ -90,7 +90,7 @@ static void __attribute__((noreturn))
 usage (int status)
 {
   if (status != EXIT_SUCCESS)
-    fprintf (stderr, _("Try `%s --help' for more information.\n"),
+    fprintf (stderr, _("Try ‘%s --help’ for more information.\n"),
              getprogname ());
   else {
     printf (_("%s: list filesystems, partitions, block devices, LVM in a VM\n"
diff --git a/cat/log.c b/cat/log.c
index cc180ecea..e5691ddbf 100644
--- a/cat/log.c
+++ b/cat/log.c
@@ -65,7 +65,7 @@ static void __attribute__((noreturn))
 usage (int status)
 {
   if (status != EXIT_SUCCESS)
-    fprintf (stderr, _("Try `%s --help' for more information.\n"),
+    fprintf (stderr, _("Try ‘%s --help’ for more information.\n"),
              getprogname ());
   else {
     printf (_("%s: display log files in a virtual machine\n"
diff --git a/cat/ls.c b/cat/ls.c
index 7568a5f88..590e64587 100644
--- a/cat/ls.c
+++ b/cat/ls.c
@@ -93,7 +93,7 @@ static void __attribute__((noreturn))
 usage (int status)
 {
   if (status != EXIT_SUCCESS)
-    fprintf (stderr, _("Try `%s --help' for more information.\n"),
+    fprintf (stderr, _("Try ‘%s --help’ for more information.\n"),
              getprogname ());
   else {
     printf (_("%s: list files in a virtual machine\n"
diff --git a/cat/tail.c b/cat/tail.c
index ef5bbb159..0759c9d88 100644
--- a/cat/tail.c
+++ b/cat/tail.c
@@ -62,7 +62,7 @@ static void __attribute__((noreturn))
 usage (int status)
 {
   if (status != EXIT_SUCCESS)
-    fprintf (stderr, _("Try `%s --help' for more information.\n"),
+    fprintf (stderr, _("Try ‘%s --help’ for more information.\n"),
              getprogname ());
   else {
     printf (_("%s: follow (tail) files in a virtual machine\n"
diff --git a/df/main.c b/df/main.c
index 29a1a1db3..19ae77a6a 100644
--- a/df/main.c
+++ b/df/main.c
@@ -69,7 +69,7 @@ static void __attribute__((noreturn))
 usage (int status)
 {
   if (status != EXIT_SUCCESS)
-    fprintf (stderr, _("Try `%s --help' for more information.\n"),
+    fprintf (stderr, _("Try ‘%s --help’ for more information.\n"),
              getprogname ());
   else {
     printf (_("%s: display free space on virtual filesystems\n"
diff --git a/diff/diff.c b/diff/diff.c
index 8c045ad74..a6f161b82 100644
--- a/diff/diff.c
+++ b/diff/diff.c
@@ -102,7 +102,7 @@ static void __attribute__((noreturn))
 usage (int status)
 {
   if (status != EXIT_SUCCESS)
-    fprintf (stderr, _("Try `%s --help' for more information.\n"),
+    fprintf (stderr, _("Try ‘%s --help’ for more information.\n"),
              getprogname ());
   else {
     printf (_("%s: list differences between virtual machines\n"
diff --git a/edit/edit.c b/edit/edit.c
index 6807c28a3..a5ef7f970 100644
--- a/edit/edit.c
+++ b/edit/edit.c
@@ -65,7 +65,7 @@ static void __attribute__((noreturn))
 usage (int status)
 {
   if (status != EXIT_SUCCESS)
-    fprintf (stderr, _("Try `%s --help' for more information.\n"),
+    fprintf (stderr, _("Try ‘%s --help’ for more information.\n"),
              getprogname ());
   else {
     printf (_("%s: Edit a file in a virtual machine\n"
diff --git a/fish/fish.c b/fish/fish.c
index beccafdbb..781e1148c 100644
--- a/fish/fish.c
+++ b/fish/fish.c
@@ -112,7 +112,7 @@ static void __attribute__((noreturn))
 usage (int status)
 {
   if (status != EXIT_SUCCESS)
-    fprintf (stderr, _("Try `%s --help' for more information.\n"),
+    fprintf (stderr, _("Try ‘%s --help’ for more information.\n"),
              getprogname ());
   else {
     printf (_("%s: guest filesystem shell\n"
diff --git a/format/format.c b/format/format.c
index f23113bbe..d0eb6a003 100644
--- a/format/format.c
+++ b/format/format.c
@@ -68,7 +68,7 @@ usage (int status)
     _("IMPORTANT NOTE: This program ERASES ALL DATA on disks.");
 
   if (status != EXIT_SUCCESS)
-    fprintf (stderr, _("Try `%s --help' for more information.\n%s\n"),
+    fprintf (stderr, _("Try ‘%s --help’ for more information.\n%s\n"),
              getprogname (), warning);
   else {
     printf (_("%s: erase and make a blank disk\n"
diff --git a/fuse/guestmount.c b/fuse/guestmount.c
index 3839397ed..98933bc02 100644
--- a/fuse/guestmount.c
+++ b/fuse/guestmount.c
@@ -100,7 +100,7 @@ static void __attribute__((noreturn))
 usage (int status)
 {
   if (status != EXIT_SUCCESS)
-    fprintf (stderr, _("Try `%s --help' for more information.\n"),
+    fprintf (stderr, _("Try ‘%s --help’ for more information.\n"),
              getprogname ());
   else {
     printf (_("%s: FUSE module for libguestfs\n"
diff --git a/fuse/guestunmount.c b/fuse/guestunmount.c
index dde691a46..a1d3702da 100644
--- a/fuse/guestunmount.c
+++ b/fuse/guestunmount.c
@@ -53,7 +53,7 @@ static void __attribute__((noreturn))
 usage (int status)
 {
   if (status != EXIT_SUCCESS)
-    fprintf (stderr, _("Try `%s --help' for more information.\n"),
+    fprintf (stderr, _("Try ‘%s --help’ for more information.\n"),
              getprogname ());
   else {
     printf (_("%s: clean up a mounted filesystem\n"
diff --git a/inspector/inspector.c b/inspector/inspector.c
index 7a115c058..77f7e08aa 100644
--- a/inspector/inspector.c
+++ b/inspector/inspector.c
@@ -72,7 +72,7 @@ static void __attribute__((noreturn))
 usage (int status)
 {
   if (status != EXIT_SUCCESS)
-    fprintf (stderr, _("Try `%s --help' for more information.\n"),
+    fprintf (stderr, _("Try ‘%s --help’ for more information.\n"),
              getprogname ());
   else {
     printf (_("%s: display information about a virtual machine\n"
diff --git a/make-fs/make-fs.c b/make-fs/make-fs.c
index 4fbef2d4b..961127ab9 100644
--- a/make-fs/make-fs.c
+++ b/make-fs/make-fs.c
@@ -76,7 +76,7 @@ static void __attribute__((noreturn))
 usage (int status)
 {
   if (status != EXIT_SUCCESS)
-    fprintf (stderr, _("Try `%s --help' for more information.\n"),
+    fprintf (stderr, _("Try ‘%s --help’ for more information.\n"),
              getprogname ());
   else {
     printf (_("%s: make a filesystem from a tar archive or files\n"
diff --git a/mllib/getopt-c.c b/mllib/getopt-c.c
index 955dc1832..8336c3fb5 100644
--- a/mllib/getopt-c.c
+++ b/mllib/getopt-c.c
@@ -70,7 +70,7 @@ cleanup_option_list (void *ptr)
 static void __attribute__((noreturn))
 show_error (int status)
 {
-  fprintf (stderr, _("Try `%s --help' or consult %s(1) for more information.\n"),
+  fprintf (stderr, _("Try ‘%s --help’ or consult %s(1) for more information.\n"),
            getprogname (), getprogname ());
   exit (status);
 }
diff --git a/p2v/main.c b/p2v/main.c
index 8921184b4..e0758c588 100644
--- a/p2v/main.c
+++ b/p2v/main.c
@@ -89,7 +89,7 @@ static void __attribute__((noreturn))
 usage (int status)
 {
   if (status != EXIT_SUCCESS)
-    fprintf (stderr, _("Try `%s --help' for more information.\n"),
+    fprintf (stderr, _("Try ‘%s --help’ for more information.\n"),
              getprogname ());
   else {
     printf (_("%s: Convert a physical machine to use KVM\n"
diff --git a/rescue/rescue.c b/rescue/rescue.c
index c88e9f35b..f03040690 100644
--- a/rescue/rescue.c
+++ b/rescue/rescue.c
@@ -77,7 +77,7 @@ static void __attribute__((noreturn))
 usage (int status)
 {
   if (status != EXIT_SUCCESS)
-    fprintf (stderr, _("Try `%s --help' for more information.\n"),
+    fprintf (stderr, _("Try ‘%s --help’ for more information.\n"),
              getprogname ());
   else {
     printf (_("%s: Run a rescue shell on a virtual machine\n"
diff --git a/sparsify/cmdline.ml b/sparsify/cmdline.ml
index 5403d92d7..09e013555 100644
--- a/sparsify/cmdline.ml
+++ b/sparsify/cmdline.ml
@@ -51,7 +51,7 @@ let parse_cmdline () =
     | "warn" | "warning" | "w" -> check_tmpdir := `Warn
     | "fail" | "f" | "error" -> check_tmpdir := `Fail
     | str ->
-      error (f_"--check-tmpdir: unknown argument `%s'") str
+      error (f_"--check-tmpdir: unknown argument ‘%s’") str
   in
 
   let compress = ref false in
diff --git a/v2v/libvirt_utils-c.c b/v2v/libvirt_utils-c.c
index 695ba83de..7e505da48 100644
--- a/v2v/libvirt_utils-c.c
+++ b/v2v/libvirt_utils-c.c
@@ -160,7 +160,7 @@ connect_and_load_pool (value connv, value poolnamev)
   if (!pool) {
     err = virGetLastError ();
     snprintf (errmsg, sizeof errmsg,
-              _("cannot find libvirt pool '%s': %s\n\nUse `virsh pool-list --all' to list all available pools, and `virsh pool-dumpxml <pool>' to display details about a particular pool.\n\nTo set the pool which virt-v2v uses, add the `-os <pool>' option."),
+              _("cannot find libvirt pool '%s': %s\n\nUse ‘virsh pool-list --all’ to list all available pools, and ‘virsh pool-dumpxml <pool>’ to display details about a particular pool.\n\nTo set the pool which virt-v2v uses, add the ‘-os <pool>’ option."),
               poolname, err->message);
     virConnectClose (conn);
     caml_invalid_argument (errmsg);
diff --git a/website/download/builder/index b/website/download/builder/index
index 51418902b..d005981ca 100644
--- a/website/download/builder/index
+++ b/website/download/builder/index
@@ -18,7 +18,7 @@ notes=CentOS 6.6
  
  builder/website/centos.sh
  
- Note that `virt-builder centos-6' will always install the latest
+ Note that ‘virt-builder centos-6’ will always install the latest
  6.x release.
 
 [centos-7.0]
@@ -929,7 +929,7 @@ notes=Scientific Linux 6.5
  
  builder/website/scientificlinux.sh
  
- Note that `virt-builder scientificlinux-6' will always install the
+ Note that ‘virt-builder scientificlinux-6’ will always install the
  latest 6.x release.
 
 [ubuntu-10.04]
diff --git a/website/download/builder/index.asc b/website/download/builder/index.asc
index 250161ea7..e33c39e49 100644
--- a/website/download/builder/index.asc
+++ b/website/download/builder/index.asc
@@ -21,7 +21,7 @@ notes=CentOS 6.6
  
  builder/website/centos.sh
  
- Note that `virt-builder centos-6' will always install the latest
+ Note that ‘virt-builder centos-6’ will always install the latest
  6.x release.
 
 [centos-7.0]
@@ -932,7 +932,7 @@ notes=Scientific Linux 6.5
  
  builder/website/scientificlinux.sh
  
- Note that `virt-builder scientificlinux-6' will always install the
+ Note that ‘virt-builder scientificlinux-6’ will always install the
  latest 6.x release.
 
 [ubuntu-10.04]
@@ -1056,17 +1056,17 @@ notes=Ubuntu 16.04 (Xenial).
 
 -----BEGIN PGP SIGNATURE-----
 
-iQIcBAEBAgAGBQJYTyDMAAoJEJFzj3Pht2ig2wQP/0lghEEUc9KjtEpJ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Iy2365oJlMck4IR2rH16mI
+O8pQZiA/o7xh9xbbuOaZ+eRU8NfwRvHI+W+kgfnWhcZZ16khIYPURmbq01IeLtDz
+hXZ1kDjRTK7+zNiiDMXSz5P/8CZBNWrnSKrjl9s2dnoQnX0QxXipkCWrOYyPmKvO
+mphb8LjjFyEKwPI092rOTh9KQvJHQGXjXRip/LBTmLkUyrA4lE35Tdm0d9Z6GrXZ
+Qii8aXGJ1F4N52hG40T8ZOpSHvqRc3LkEhqbJQ61aQCNm3NtJJbKeEOAwRSKU/O0
+x6S6YheEzolmSncEjALGKi8A/EEvo35p3KIcQzeWCrbWA8J7+vfXHoS1mELanZcL
+yVA++kRpnW7Cl1dfkSm3
+=6RVP
 -----END PGP SIGNATURE-----
-- 
2.12.0




More information about the Libguestfs mailing list