[sound-juicer/wip/gettext: 5/5] Use proper ellipsis



commit 3c5c93515bdc9af69d560e302b6301de5672155c
Author: Phillip Wood <phillip wood dunelm org uk>
Date:   Wed Jun 22 18:38:19 2016 +0100

    Use proper ellipsis
    
    xgettext has an option to enforce using ‘…’ instead of ‘...’ so lets
    use it. Unfortunately it doesn’t actually pick up the ellipsis in the
    UI as it’s not at the end of the string or followed by a space :-(
    
    https://bugzilla.gnome.org/show_bug.cgi?id=769623

 po/Makevars   |    2 +-
 src/sj-main.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/po/Makevars b/po/Makevars
index f0a2fd4..8abf6bc 100644
--- a/po/Makevars
+++ b/po/Makevars
@@ -56,7 +56,7 @@ XGETTEXT_OPTIONS = --from-code=UTF-8                                  \
                --flag=g_vsnprintf:3:c-format                         \
                --flag=g_vsprintf:2:c-format                          \
                --add-comments=Translators:                           \
-               --check=quote-unicode
+               --check=quote-unicode     --check=ellipsis-unicode
 
 # This is the copyright holder that gets inserted into the header of the
 # $(DOMAIN).pot file.  Set this to the copyright holder of the surrounding
diff --git a/src/sj-main.c b/src/sj-main.c
index 14bf881..a7ae3c9 100644
--- a/src/sj-main.c
+++ b/src/sj-main.c
@@ -2122,7 +2122,7 @@ ui_set_retrieving_metadata (gboolean state)
 {
   if (state) {
     gtk_statusbar_push(GTK_STATUSBAR(status_bar), 1,
-                       _("Retrieving track listing...please wait."));
+                       _("Retrieving track listing…please wait."));
     g_application_mark_busy (g_application_get_default ());
   } else {
     gtk_statusbar_pop(GTK_STATUSBAR(status_bar), 1);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]