Skip to content

Commit

Permalink
Fixed grammatical errors
Browse files Browse the repository at this point in the history
  • Loading branch information
JeysonFlores committed Aug 22, 2021
1 parent ecc024f commit adc38bd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion data/com.github.jeysonflores.hasher.appdata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
Hash, Compare or Verify your files!
</p>
<p>
Supported Algorythms:
Supported Algorithms:
</p>
<ul>
<li>MD5</li>
Expand Down
12 changes: 6 additions & 6 deletions src/MainWindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def __init__(self):
hashes_alg_combo_context = self.hashes_alg_combo.get_style_context()
hashes_alg_combo_context.add_class("highlighted_text")

algorythms = [
algorithms = [
"MD5",
"SHA1",
"SHA224",
Expand All @@ -50,8 +50,8 @@ def __init__(self):
"SHA512",
]

for algorythm in algorythms:
self.hashes_alg_combo.append_text(algorythm)
for algorithm in algorithms:
self.hashes_alg_combo.append_text(algorithm)

self.hashes_alg_combo.set_active(0)
button_combo = Gtk.Box(orientation = Gtk.Orientation.HORIZONTAL)
Expand Down Expand Up @@ -265,7 +265,7 @@ def verify_hashes(self, button):
self.verify_alert.set_visible(True)
return 0

algorythms = [
algorithms = [
"MD5",
"SHA1",
"SHA224",
Expand All @@ -274,9 +274,9 @@ def verify_hashes(self, button):
"SHA512",
]

algorythms.remove(self.main_file["alg"])
algorithms.remove(self.main_file["alg"])

for alg in algorythms:
for alg in algorithms:
hash = self.get_hash(alg, self.main_file["route"])
if hash == self.verify_form_entry.get_text():
self.verify_alert.set_from_icon_name("emblem-default-symbolic", Gtk.IconSize.DND)
Expand Down

0 comments on commit adc38bd

Please sign in to comment.