commit/Emoticons: 3 new changesets

  • From: commits-noreply@xxxxxxxxxxxxx
  • To: nvda-addons-commits@xxxxxxxxxxxxx
  • Date: Mon, 16 Jan 2017 22:11:10 -0000

3 new commits in Emoticons:

https://bitbucket.org/nvdaaddonteam/emoticons/commits/b7646555f5fd/
Changeset:   b7646555f5fd
Branch:      None
User:        norrumar
Date:        2017-01-16 19:51:43+00:00
Summary:     Removed spaces between parameter and value

Affected #:  1 file

diff --git a/addon/globalPlugins/emoticons/__init__.py 
b/addon/globalPlugins/emoticons/__init__.py
index 3710e6e..888a667 100644
--- a/addon/globalPlugins/emoticons/__init__.py
+++ b/addon/globalPlugins/emoticons/__init__.py
@@ -297,7 +297,7 @@ class InsertEmoticonDialog(wx.Dialog):
                        if self.smileysList.GetItemCount() > 0: focusedItem = 0
                        else:
                                # Translators: Error message when none emoticon 
is selected or the list is empty, and title of the error dialog.
-                               gui.messageBox(_("There is not any emoticon 
selected."), _("Error"), parent = self)
+                               gui.messageBox(_("There is not any emoticon 
selected."), _("Error"), parent=self)
                                return
                icon = self._filteredEmoticons[focusedItem]
                if not icon.isEmoji:


https://bitbucket.org/nvdaaddonteam/emoticons/commits/adbe5651f7ba/
Changeset:   adbe5651f7ba
Branch:      None
User:        norrumar
Date:        2017-01-16 19:54:00+00:00
Summary:     Fix style of error dialog

Affected #:  1 file

diff --git a/addon/globalPlugins/emoticons/__init__.py 
b/addon/globalPlugins/emoticons/__init__.py
index 888a667..06df16e 100644
--- a/addon/globalPlugins/emoticons/__init__.py
+++ b/addon/globalPlugins/emoticons/__init__.py
@@ -297,7 +297,7 @@ class InsertEmoticonDialog(wx.Dialog):
                        if self.smileysList.GetItemCount() > 0: focusedItem = 0
                        else:
                                # Translators: Error message when none emoticon 
is selected or the list is empty, and title of the error dialog.
-                               gui.messageBox(_("There is not any emoticon 
selected."), _("Error"), parent=self)
+                               gui.messageBox(_("There is not any emoticon 
selected."), _("Error"), parent=self, style=wx.OK | wx.ICON_ERROR)
                                return
                icon = self._filteredEmoticons[focusedItem]
                if not icon.isEmoji:


https://bitbucket.org/nvdaaddonteam/emoticons/commits/a37e91adb6c5/
Changeset:   a37e91adb6c5
Branch:      master
User:        norrumar
Date:        2017-01-16 20:01:11+00:00
Summary:     Use translate method to skip translation of 'Error' message, 
included in NVDA's core

Affected #:  1 file

diff --git a/addon/globalPlugins/emoticons/__init__.py 
b/addon/globalPlugins/emoticons/__init__.py
index 06df16e..5e55c62 100644
--- a/addon/globalPlugins/emoticons/__init__.py
+++ b/addon/globalPlugins/emoticons/__init__.py
@@ -297,7 +297,7 @@ class InsertEmoticonDialog(wx.Dialog):
                        if self.smileysList.GetItemCount() > 0: focusedItem = 0
                        else:
                                # Translators: Error message when none emoticon 
is selected or the list is empty, and title of the error dialog.
-                               gui.messageBox(_("There is not any emoticon 
selected."), _("Error"), parent=self, style=wx.OK | wx.ICON_ERROR)
+                               gui.messageBox(_("There is not any emoticon 
selected."), translate("Error"), parent=self, style=wx.OK | wx.ICON_ERROR)
                                return
                icon = self._filteredEmoticons[focusedItem]
                if not icon.isEmoji:

Repository URL: https://bitbucket.org/nvdaaddonteam/emoticons/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.

Other related posts: