Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
Found via `codespell -S translations -L te,gir` and `typos --format
brief`.
  • Loading branch information
kianmeng committed Oct 21, 2022
1 parent 235b8c0 commit 4f55f1c
Show file tree
Hide file tree
Showing 21 changed files with 99 additions and 99 deletions.
18 changes: 9 additions & 9 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ Version 0.1a-50
* Set cursor on first menu item in bookmarks menu.
* Select first extension in column editor.
* Properly detect file type when preparing popup menu.
* Lazy command forking to avoid problems with programs wich measure size of terminal window.
* Lazy command forking to avoid problems with programs which measure size of terminal window.
* Get list of selected items before starting operation to avoid potential problems.
* Fixed problem with removing files on remote file systems.
* Check for supported options in providers and only allow supported in copy/move dialog.
Expand Down Expand Up @@ -372,7 +372,7 @@ Version 0.1a-44
+ Samba extension for mount manager. Editing and removing still doesn't work.
+ Volumes extension for mount manager.
+ "Copy/move to other" context menu options.
+ Ability to disable red color when starting program with superuser priviledges.
+ Ability to disable red color when starting program with superuser privileges.
* Fixed mount manager to properly handle different extensions.
* Properly handle all exceptions in delete operation.
* Ask user what to do when trashing files is not possible.
Expand Down Expand Up @@ -429,13 +429,13 @@ Version 0.1a-41
+ Created simple file viewer.
+ Show information dialog when compared directories are identical.
+ Added support for selecting items using Shift + Up/Down arrows.
* Sessions: Fix for problem occured after change of way tabs are stored
* Sessions: Fix for problem occurred after change of way tabs are stored
* Updated Russian translation.
* Fixed random crashes when inheriting path. (issue #175)
* Properly handle toggle selection when assigned to key other than default. (issue #176)
* Updated Polish translation
* Fix random crashes when closing tab with keyboard accelerator.
* Fixed problem with list grabing focus on path change.
* Fixed problem with list grabbing focus on path change.
* Properly form bookmark replacement list to include home directory key bindings editor.
* Fixed problem with Ubuntu coloring method.
* Changed default search modifier.
Expand Down Expand Up @@ -575,7 +575,7 @@ Version 0.1a-33
+ Support for rename extension reordering
+ Find files tool
+ Keybindings editor
+ Open path from history browser in oposite list
+ Open path from history browser in opposite list
* Issue #76 - Notify user when rename fails
* Issue #78 - Fixed exception when sort is set for extension column
* Fixed problem with loading secondary accelerator
Expand Down Expand Up @@ -641,7 +641,7 @@ Version 0.1a-27
+ Tab close buttons
+ Display sizes in more friendly format
+ Ability to unmount items
* Optional command line paramters
* Optional command line parameters
* Optional plugin status bars
* Set WM_CLASS to fix issues with global menu
- Unused indicator entries and dependencies
Expand Down Expand Up @@ -680,7 +680,7 @@ Version 0.1a-24
* Clear selection on source list after operation has started
* Modified startup method to be even more robust
* Fixed regression bug with bookmarks menu
* Increas plugin border width to fix issues on some themes (eg. Equinox)
* Increase plugin border width to fix issues on some themes (eg. Equinox)
* Fixed language template so Poedit can use it

Version 0.1a-23
Expand Down Expand Up @@ -746,7 +746,7 @@ Version 0.1a-19
* Use of xdg-open instead of gnome-open
* Open with list didn't show all associated programs
* Fixed popup menu behavior
* Fixed bug #28: Focus oposite notebook with hidden tabs
* Fixed bug #28: Focus opposite notebook with hidden tabs
* Update fullscreen menu image properly
* Proper directory statistics update on item removal

Expand Down Expand Up @@ -877,7 +877,7 @@ Version 0.1a-7
+ Reload list icons on theme change
+ Saving window size and position
+ Free/total space display
+ Added setting/getting path from oposite list (CTRL+Left CTRL+Right)
+ Added setting/getting path from opposite list (CTRL+Left CTRL+Right)
+ Pressing Up (or Escape) in command edit will focus last used list
* Changed status bar type to fit system theme natively
* Fixed handling of `cd` command
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Note: Prefered repository hosting is [GitLab](https://gitlab.com/MeanEYE/Sunflower). If you don't have an account there and don't wish to make one interacting with one on GitHub is fine.
Note: Preferred repository hosting is [GitLab](https://gitlab.com/MeanEYE/Sunflower). If you don't have an account there and don't wish to make one interacting with one on GitHub is fine.

Sunflower
=========
Expand Down
2 changes: 1 addition & 1 deletion sunflower/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def do_activate(self):
self.window.create_tabs(self.arguments)

def do_command_line(self, command_line):
"""Handle command line argumens and flags."""
"""Handle command line arguments and flags."""
Gtk.Application.do_command_line(self, command_line)

def absolute_path(cwd, path):
Expand Down
2 changes: 1 addition & 1 deletion sunflower/clipboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@


class Clipboard:
"""Support for various clipboard implementations accross different platforms
"""Support for various clipboard implementations across different platforms
and different protocols."""

def __init__(self):
Expand Down
6 changes: 3 additions & 3 deletions sunflower/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class Config(Container):
"""This class provides easy way to create and edit configuration files
located in project's configuration directory.
It is recomended that this class is used for all purposes of storing
It is recommended that this class is used for all purposes of storing
data used by program itself and plugins!
"""
Expand Down Expand Up @@ -114,7 +114,7 @@ def load(self):
self._values[name] = values

def add_section(self, name, section):
"""Add new section to configutation"""
"""Add new section to configuration"""
self._sections[name] = section

def create_section(self, name):
Expand All @@ -139,5 +139,5 @@ def section(self, name):
return self._sections[name]

def has_section(self, name):
"""Check for existance of section"""
"""Check for existence of section"""
return name in self._sections
10 changes: 5 additions & 5 deletions sunflower/gui/input_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -1379,7 +1379,7 @@ def _confirm_entry(self, widget, data=None):
def get_response(self):
"""Return value and self-destruct
This method returns tupple with response code and
This method returns tuple with response code and
input text.
"""
Expand All @@ -1394,7 +1394,7 @@ def get_response(self):


class OperationError:
"""Dialog used to ask user about error occured during certain operation."""
"""Dialog used to ask user about error occurred during certain operation."""
RESPONSE_CANCEL = 0
RESPONSE_RETRY = 1
RESPONSE_SKIP = 2
Expand Down Expand Up @@ -1482,7 +1482,7 @@ def get_response(self):


class CreateToolbarWidgetDialog:
"""Create widget persisten dialog."""
"""Create widget persistent dialog."""

def __init__(self, application):
self._dialog = Gtk.Dialog(parent=application, use_header_bar=True)
Expand All @@ -1501,7 +1501,7 @@ def __init__(self, application):
vbox = Gtk.VBox(False, 5)
vbox.set_border_width(5)

# create interfacce
# create interface
vbox_name = Gtk.VBox(False, 0)

label_name = Gtk.Label(label=_('Name:'))
Expand Down Expand Up @@ -1616,7 +1616,7 @@ def get_response(self):


class ApplicationInputDialog(InputDialog):
"""Input dialog for associations manager. Offers two fiels
"""Input dialog for associations manager. Offers two fields
for entry: application name and command."""

def __init__(self, application):
Expand Down
6 changes: 3 additions & 3 deletions sunflower/gui/main_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ def _destroy(self, widget=None, data=None):
# TODO: Make sure all threads are stopped at this point.

def _quit(self, widget=None, data=None):
"""Trigger destory action from Quit menu item"""
"""Trigger destroy action from Quit menu item"""
if not self.emit('delete-event', Gdk.Event.new(Gdk.EventType.DELETE)):
self.destroy()

Expand Down Expand Up @@ -671,7 +671,7 @@ def _handle_window_state_event(self, widget, event):
self._window_state = event.new_window_state

def _page_added(self, notebook, child, page_num):
"""Handle adding/moving tab accross notebooks"""
"""Handle adding/moving tab across notebooks"""
if hasattr(child, 'update_notebook'):
child.update_notebook(notebook)

Expand Down Expand Up @@ -1154,7 +1154,7 @@ def _command_edit_focused(self, widget, event):
self._accel_group.deactivate()

def _command_edit_lost_focus(self, widget, event):
"""Handle command entry loosing focus"""
"""Handle command entry losing focus"""
self._accel_group.activate(self)

def _save_window_position(self):
Expand Down
4 changes: 2 additions & 2 deletions sunflower/gui/operation_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,11 +257,11 @@ def _update_total_count(self):
def _update_total_size(self):
"""Update progress bar and labels for total size"""
# update label
formated_size = self._size_format.format(
formatted_size = self._size_format.format(
common.format_size(self._current_size, self._size_format_type),
common.format_size(self._total_size, self._size_format_type)
)
self._value_total_size.set_label(formated_size)
self._value_total_size.set_label(formatted_size)

if self._total_size > 0:
self.set_total_size_fraction(float(self._current_size) / self._total_size)
Expand Down
2 changes: 1 addition & 1 deletion sunflower/gui/preferences/bookmarks.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def _load_options(self):
self._checkbox_add_home.set_active(options.get('add_home'))
self._checkbox_system_bookmarks.set_active(options.get('system_bookmarks'))

# load and parse bookmars
# load and parse bookmarks
self._bookmarks.clear()

bookmarks = options.get('bookmarks')
Expand Down
2 changes: 1 addition & 1 deletion sunflower/gui/preferences/toolbar.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def __init__(self, parent, application):
col_name.set_min_width(200)
col_name.set_resizable(True)

# pack and configure renderes
# pack and configure renderer's
col_name.pack_start(cell_icon, False)
col_name.pack_start(cell_name, True)
col_name.add_attribute(cell_icon, 'icon-name', Column.ICON)
Expand Down
2 changes: 1 addition & 1 deletion sunflower/gui/preferences/view_and_edit.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def _populate_list(self, selected_application):
application.command_line
))

# make selected aplication active
# make selected application active
if selected_index is not None:
self._combobox_application.set_active(selected_index)

Expand Down
2 changes: 1 addition & 1 deletion sunflower/gui/properties_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def _update_data(self):
"""Update widgets to represent item state"""
associations_manager = self._application.associations_manager

# get the rest of the infromation
# get the rest of the information
description = associations_manager.get_mime_description(self._mime_type)
time_format = self._application.options.section('item_list').get('time_format')
size_format = self._application.options.get('size_format')
Expand Down
2 changes: 1 addition & 1 deletion sunflower/indicator.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


class Indicator(object):
"""This class provides access to application indicators in Gnome envirnoments"""
"""This class provides access to application indicators in Gnome environments"""

def __init__(self, parent):
self._parent = parent
Expand Down
Loading

0 comments on commit 4f55f1c

Please sign in to comment.