po/i18n: update pt_BR translation

This commit is contained in:
Vinícius 2021-08-20 18:31:08 -03:00 committed by Peter F. Patel-Schneider
parent c2de1b59ef
commit 4b97ebd649
6 changed files with 898 additions and 285 deletions

View File

@ -88,4 +88,8 @@ _DUMMY = (
_('Gesture Button Navigation'),
_('Mouse Scroll Left Button'),
_('Mouse Scroll Right Button'),
# key/button statuses
_('pressed'),
_('released'),
)

View File

@ -186,9 +186,9 @@ _GESTURE2_GESTURES_LABELS = {
_GESTURE2_PARAMS_LABELS = {
_GP['ExtraCapabilities']: (None, None), # not supported
_GP['PixelZone']: ('Pixel zone', None), # TO DO: replace None with a short description
_GP['RatioZone']: ('Ratio zone', None), # TO DO: replace None with a short description
_GP['ScaleFactor']: ('Scale factor', 'Sets the cursor speed.'),
_GP['PixelZone']: (_('Pixel zone'), None), # TO DO: replace None with a short description
_GP['RatioZone']: (_('Ratio zone'), None), # TO DO: replace None with a short description
_GP['ScaleFactor']: (_('Scale factor'), _('Sets the cursor speed.')),
}
_GESTURE2_PARAMS_LABELS_SUB = {

View File

@ -1036,10 +1036,10 @@ class KeyUI(ConditionUI):
self.key_field.set_size_request(600, 0)
self.key_field.connect('changed', self._on_update)
self.widgets[self.key_field] = (0, 0, 2, 1)
self.action_pressed_radio = Gtk.RadioButton.new_with_label_from_widget(None, 'Key down')
self.action_pressed_radio = Gtk.RadioButton.new_with_label_from_widget(None, _('Key down'))
self.action_pressed_radio.connect('toggled', self._on_update, _Key.DOWN)
self.widgets[self.action_pressed_radio] = (2, 0, 1, 1)
self.action_released_radio = Gtk.RadioButton.new_with_label_from_widget(self.action_pressed_radio, 'Key up')
self.action_released_radio = Gtk.RadioButton.new_with_label_from_widget(self.action_pressed_radio, _('Key up'))
self.action_released_radio.connect('toggled', self._on_update, _Key.UP)
self.widgets[self.action_released_radio] = (3, 0, 1, 1)
@ -1067,7 +1067,7 @@ class KeyUI(ConditionUI):
@classmethod
def right_label(cls, component):
return '%s (%04X) (%s)' % (str(component.key), int(component.key), component.action) if component.key else 'None'
return '%s (%04X) (%s)' % (str(component.key), int(component.key), _(component.action)) if component.key else 'None'
class TestUI(ConditionUI):

View File

@ -65,7 +65,7 @@ def _create_menu(quit_handler):
from .action import about, make
menu.append(about.create_menu_item())
menu.append(make('application-exit', _('Quit'), quit_handler, stock_id='application-exit').create_menu_item())
menu.append(make('application-exit', _('Quit') + ' ' + NAME, quit_handler, stock_id='application-exit').create_menu_item())
del about, make
menu.show_all()

File diff suppressed because it is too large Load Diff

View File

@ -7,7 +7,7 @@
msgid ""
msgstr "Project-Id-Version: solaar 1.0.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-08-06 10:58-0400\n"
"POT-Creation-Date: 2021-08-20 18:22-0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -148,9 +148,85 @@ msgid "Other"
msgstr ""
#: lib/logitech_receiver/i18n.py:73
msgid "Left Button"
msgstr ""
#: lib/logitech_receiver/i18n.py:74
msgid "Right Button"
msgstr ""
#: lib/logitech_receiver/i18n.py:75
msgid "Middle Button"
msgstr ""
#: lib/logitech_receiver/i18n.py:76
msgid "Back Button"
msgstr ""
#: lib/logitech_receiver/i18n.py:77
msgid "Forward Button"
msgstr ""
#: lib/logitech_receiver/i18n.py:78
msgid "Mouse Gesture Button"
msgstr ""
#: lib/logitech_receiver/i18n.py:79
msgid "Smart Shift"
msgstr ""
#: lib/logitech_receiver/i18n.py:80
msgid "DPI Switch"
msgstr ""
#: lib/logitech_receiver/i18n.py:81
msgid "Left Tilt"
msgstr ""
#: lib/logitech_receiver/i18n.py:82
msgid "Right Tilt"
msgstr ""
#: lib/logitech_receiver/i18n.py:83
msgid "Left Click"
msgstr ""
#: lib/logitech_receiver/i18n.py:84
msgid "Right Click"
msgstr ""
#: lib/logitech_receiver/i18n.py:85
msgid "Mouse Middle Button"
msgstr ""
#: lib/logitech_receiver/i18n.py:86
msgid "Mouse Back Button"
msgstr ""
#: lib/logitech_receiver/i18n.py:87
msgid "Mouse Forward Button"
msgstr ""
#: lib/logitech_receiver/i18n.py:88
msgid "Gesture Button Navigation"
msgstr ""
#: lib/logitech_receiver/i18n.py:89
msgid "Mouse Scroll Left Button"
msgstr ""
#: lib/logitech_receiver/i18n.py:90
msgid "Mouse Scroll Right Button"
msgstr ""
#: lib/logitech_receiver/i18n.py:93
msgid "pressed"
msgstr ""
#: lib/logitech_receiver/i18n.py:94
msgid "released"
msgstr ""
#: lib/logitech_receiver/notifications.py:76
msgid "pairing lock is closed"
msgstr ""
@ -581,6 +657,22 @@ msgstr ""
msgid "Zoom with two fingers"
msgstr ""
#: lib/logitech_receiver/settings_templates.py:189
msgid "Pixel zone"
msgstr ""
#: lib/logitech_receiver/settings_templates.py:190
msgid "Ratio zone"
msgstr ""
#: lib/logitech_receiver/settings_templates.py:191
msgid "Scale factor"
msgstr ""
#: lib/logitech_receiver/settings_templates.py:191
msgid "Sets the cursor speed."
msgstr ""
#: lib/logitech_receiver/settings_templates.py:195
msgid "Left"
msgstr ""
@ -675,19 +767,6 @@ msgstr ""
msgid "Battery: %(percent)d%% (%(status)s)"
msgstr ""
#: lib/solaar/gtk.py:152
msgid "ERROR: "
msgstr ""
#: lib/solaar/gtk.py:153
msgid "Solaar depends on a udev file that is not present"
msgstr ""
#: lib/solaar/gtk.py:156
msgid "For more information see the Solaar installation directions\n"
"at https://pwr-solaar.github.io/Solaar/installation"
msgstr ""
#: lib/solaar/ui/__init__.py:52
msgid "Permissions error"
msgstr ""
@ -1004,6 +1083,14 @@ msgstr ""
msgid "Not"
msgstr ""
#: lib/solaar/ui/diversion_rules.py:1039
msgid "Key down"
msgstr ""
#: lib/solaar/ui/diversion_rules.py:1042
msgid "Key up"
msgstr ""
#: lib/solaar/ui/diversion_rules.py:1131
msgid "Add action"
msgstr ""