Skip to content

Commit

Permalink
Merge pull request #5895 from freedomofpress/wordlist-removals
Browse files Browse the repository at this point in the history
Wordlist removals and translation updates for next SecureDrop release
  • Loading branch information
zenmonkeykstop authored Jun 8, 2021
2 parents f318065 + c16c952 commit 3d46171
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 0 additions & 2 deletions securedrop/dictionaries/adjectives.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1110,7 +1110,6 @@ casebook
cased
cast-iron
cast-off
castrated
casual
catalytic
catastrophic
Expand Down Expand Up @@ -3396,7 +3395,6 @@ histological
historic
historical
histrionic
hit-and-run
hitless
hoary
holey
Expand Down
2 changes: 0 additions & 2 deletions securedrop/dictionaries/nouns.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11607,8 +11607,6 @@ pedal
pedant
pedantry
peddler
pederast
pederasty
pedestal
pedestrian
pediatrics
Expand Down
2 changes: 1 addition & 1 deletion securedrop/journalist_app/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ def col_delete(cols_selected: List[str]) -> werkzeug.Response:
num = len(cols_selected)

success_message = ngettext(
"The account and all data for {n} source have been deleted.",
"The account and all data for the source have been deleted.",
"The accounts and all data for {n} sources have been deleted.",
num).format(n=num)

Expand Down
4 changes: 3 additions & 1 deletion securedrop/tests/functional/journalist_navigation_steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,9 @@ def _journalist_clicks_delete_collections_on_second_modal(self):
def collection_deleted():
if not self.accept_languages:
flash_msg = self.driver.find_element_by_css_selector(".flash")
assert "The account and all data for 1 source have been deleted." in flash_msg.text
assert (
"The account and all data for the source have been deleted." in flash_msg.text
)

self.wait_for(collection_deleted)

Expand Down

0 comments on commit 3d46171

Please sign in to comment.