Daniel Brötzmann pushed to branch master at gajim / gajim

Commits:

1 changed file:

Changes:

  • gajim/gtk/conversation/rows/widgets.py
    ... ... @@ -21,7 +21,7 @@
    21 21
     from gi.repository import GLib
    
    22 22
     
    
    23 23
     from gajim.common import app
    
    24
    -from gajim.common.i18n import _
    
    24
    +from gajim.common.i18n import Q_
    
    25 25
     from gajim.common.helpers import is_retraction_allowed
    
    26 26
     from gajim.common.modules.contacts import GroupchatContact
    
    27 27
     from gajim.common.types import ChatContactT
    
    ... ... @@ -111,7 +111,7 @@ def _create_popover(self,
    111 111
             quote_button = Gtk.ModelButton()
    
    112 112
             quote_button.set_halign(Gtk.Align.START)
    
    113 113
             quote_button.connect('clicked', self._row.on_quote_message)
    
    114
    -        quote_button.set_label(_('Quote…'))
    
    114
    +        quote_button.set_label(Q_('?Message row action:Quote…'))
    
    115 115
             quote_button.set_image(Gtk.Image.new_from_icon_name(
    
    116 116
                 'mail-reply-sender-symbolic', Gtk.IconSize.MENU))
    
    117 117
             quote_button.set_sensitive(quote_enabled)
    
    ... ... @@ -120,7 +120,7 @@ def _create_popover(self,
    120 120
             copy_button = Gtk.ModelButton()
    
    121 121
             copy_button.set_halign(Gtk.Align.START)
    
    122 122
             copy_button.connect('clicked', self._row.on_copy_message)
    
    123
    -        copy_button.set_label(_('Copy'))
    
    123
    +        copy_button.set_label(Q_('?Message row action:Copy'))
    
    124 124
             copy_button.set_image(Gtk.Image.new_from_icon_name(
    
    125 125
                 'edit-copy-symbolic', Gtk.IconSize.MENU))
    
    126 126
             menu_box.add(copy_button)
    
    ... ... @@ -130,7 +130,7 @@ def _create_popover(self,
    130 130
                 correct_button.set_halign(Gtk.Align.START)
    
    131 131
                 correct_button.connect(
    
    132 132
                     'clicked', self._row.on_correct_message)
    
    133
    -            correct_button.set_label(_('Correct'))
    
    133
    +            correct_button.set_label(Q_('?Message row action:Correct'))
    
    134 134
                 correct_button.set_image(Gtk.Image.new_from_icon_name(
    
    135 135
                     'document-edit-symbolic', Gtk.IconSize.MENU))
    
    136 136
                 menu_box.add(correct_button)
    
    ... ... @@ -140,7 +140,7 @@ def _create_popover(self,
    140 140
                 retract_button.set_halign(Gtk.Align.START)
    
    141 141
                 retract_button.connect(
    
    142 142
                     'clicked', self._row.on_retract_message)
    
    143
    -            retract_button.set_label(_('Retract'))
    
    143
    +            retract_button.set_label(Q_('?Message row action:Retract'))
    
    144 144
                 retract_button.set_image(Gtk.Image.new_from_icon_name(
    
    145 145
                     'edit-undo-symbolic', Gtk.IconSize.MENU))
    
    146 146
                 menu_box.add(retract_button)