diff options
author | hollowman6 <hollowman186@vip.qq.com> | 2020-03-03 09:17:49 +0000 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2020-03-03 19:15:27 +0900 |
commit | 8c65964af7d214ff2ba700b341c9adc80de860e7 (patch) | |
tree | d5a94b6de05504b9e1c4ec0289fa517cdfaf706c /setup | |
parent | 107e405d72e0bb09112b82d3cfef51e29f0119cd (diff) | |
download | ibus-libpinyin-8c65964af7d214ff2ba700b341c9adc80de860e7.tar.gz ibus-libpinyin-8c65964af7d214ff2ba700b341c9adc80de860e7.tar.xz ibus-libpinyin-8c65964af7d214ff2ba700b341c9adc80de860e7.zip |
Fix grammar errors in code
Diffstat (limited to 'setup')
-rw-r--r-- | setup/ibus-libpinyin-preferences.ui | 6 | ||||
-rw-r--r-- | setup/keyboardshortcut.py | 2 | ||||
-rw-r--r-- | setup/shortcuteditor.py | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/setup/ibus-libpinyin-preferences.ui b/setup/ibus-libpinyin-preferences.ui index 36bfe47..e4f970a 100644 --- a/setup/ibus-libpinyin-preferences.ui +++ b/setup/ibus-libpinyin-preferences.ui @@ -601,7 +601,7 @@ <property name="orientation">vertical</property> <child> <object class="GtkCheckButton" id="DynamicAdjust"> - <property name="label" translatable="yes">Dynamic adjust the candidates order.</property> + <property name="label" translatable="yes">Dynamically adjust the candidates order.</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -1128,7 +1128,7 @@ </child> <child> <object class="GtkCheckButton" id="CorrectPinyin"> - <property name="label" translatable="yes">Enable correct pinyin</property> + <property name="label" translatable="yes">Enable pinyin correction</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -1856,7 +1856,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="valign">end</property> - <property name="label" translatable="yes">Tips: this changes may take effects after ime restarted.</property> + <property name="label" translatable="yes">Tips: Changes may not take effect until ime restarts.</property> </object> <packing> <property name="expand">True</property> diff --git a/setup/keyboardshortcut.py b/setup/keyboardshortcut.py index 755888d..fdf936b 100644 --- a/setup/keyboardshortcut.py +++ b/setup/keyboardshortcut.py @@ -169,7 +169,7 @@ class KeyboardShortcutSelection(Gtk.Box): dlg = Gtk.MessageDialog(transient_for = self.get_toplevel(), buttons = Gtk.ButtonsType.CLOSE) message = _("Please press a key (or a key combination).\n" \ - "The dialog will be closed when the key is released.") + "The dialog will close when the key is released.") dlg.set_markup(message) dlg.set_title(_("Please press a key (or a key combination)")) diff --git a/setup/shortcuteditor.py b/setup/shortcuteditor.py index a40b84e..af07faa 100644 --- a/setup/shortcuteditor.py +++ b/setup/shortcuteditor.py @@ -103,7 +103,7 @@ class ShortcutTreeView(Gtk.TreeView): if row[COLUMN_ACCELERATOR] == value: dialog = Gtk.MessageDialog(None, 0, Gtk.MessageType.WARNING, Gtk.ButtonsType.OK, - _("This shortcut key is already used.")) + _("This shortcut key is already in use.")) dialog.run() dialog.destroy() return False |