[gedit-latex/wip/piotrdrag/unicode-typography: 2/2] Use Unicode in translatable strings



commit f3ac6ac869b5191f480d49950cd330a277556f49
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Fri Nov 11 16:55:28 2016 +0100

    Use Unicode in translatable strings
    
    See https://developer.gnome.org/hig/stable/typography.html
    
    https://bugzilla.gnome.org/show_bug.cgi?id=774276

 latex/bibtex/actions.py    | 2 +-
 latex/latex/actions.py     | 6 +++---
 latex/latex/dialogs.py     | 8 ++++----
 latex/preferences/tools.py | 4 ++--
 4 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/latex/bibtex/actions.py b/latex/bibtex/actions.py
index 756b61c..f36da09 100644
--- a/latex/bibtex/actions.py
+++ b/latex/bibtex/actions.py
@@ -40,7 +40,7 @@ class BibTeXMenuAction(Action):
 
 class BibTeXNewEntryAction(Action):
     extensions = [".bib"]
-    label = _("New BibTeX Entry...")
+    label = _("New BibTeX Entry…")
     stock_id = None
     accelerator = None
     tooltip = _("Create a new BibTeX entry")
diff --git a/latex/latex/actions.py b/latex/latex/actions.py
index 78bcee5..48ddd91 100644
--- a/latex/latex/actions.py
+++ b/latex/latex/actions.py
@@ -70,7 +70,7 @@ class LaTeXMenuAction(LaTeXAction):
 
 
 class LaTeXNewAction(Action):
-    label = _("New LaTeX Document...")
+    label = _("New LaTeX Document…")
     stock_id = Gtk.STOCK_NEW
     accelerator = "<Ctrl><Alt>N"
     tooltip = _("Create a new LaTeX document")
@@ -92,7 +92,7 @@ class LaTeXNewAction(Action):
 
 
 class LaTeXChooseMasterAction(LaTeXAction):
-    label = _("Choose Master Document...")
+    label = _("Choose Master Document…")
     stock_id = None
     accelerator = None
     tooltip = None
@@ -154,7 +154,7 @@ class LaTeXCloseEnvironmentAction(LaTeXIconAction):
 
 
 class LaTeXUseBibliographyAction(LaTeXIconAction):
-    label = _("Use Bibliography...")
+    label = _("Use Bibliography…")
     accelerator = None
     tooltip = _("Use Bibliography")
     icon_name = "bib"
diff --git a/latex/latex/dialogs.py b/latex/latex/dialogs.py
index 714b058..9d56ebe 100644
--- a/latex/latex/dialogs.py
+++ b/latex/latex/dialogs.py
@@ -1075,10 +1075,10 @@ class BuildImageDialog(GladeInterface):
 
             self._storeAntialias = Gtk.ListStore(str, int)    # label, factor
             self._storeAntialias.append([_("Off"), 0])
-            self._storeAntialias.append([_("1x"), 1])
-            self._storeAntialias.append([_("2x"), 2])
-            self._storeAntialias.append([_("4x"), 4])
-            self._storeAntialias.append([_("8x"), 8])
+            self._storeAntialias.append([_("1×"), 1])
+            self._storeAntialias.append([_("2×"), 2])
+            self._storeAntialias.append([_("4×"), 4])
+            self._storeAntialias.append([_("8×"), 8])
 
             self._comboAntialias = self.find_widget("comboAntialias")
             self._comboAntialias.set_model(self._storeAntialias)
diff --git a/latex/preferences/tools.py b/latex/preferences/tools.py
index b451a1a..06919ea 100644
--- a/latex/preferences/tools.py
+++ b/latex/preferences/tools.py
@@ -78,8 +78,8 @@ class ToolPreferences(GObject.GObject):
                         break
                     i += 1
                 os.rename(filename, destname)
-                open_error(_("The file \"%s\" is corrupted and cannot be "
-                            "parsed. It was moved to \"%s\", and the Latex "
+                open_error(_("The file “%s” is corrupted and cannot be "
+                            "parsed. It was moved to “%s”, and the Latex "
                             "Plugin will now fallback to the default tools.")
                             % (filename, destname))
 


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