Skip to content

Commit

Permalink
Changed format string
Browse files Browse the repository at this point in the history
  • Loading branch information
JessicaTegner committed Mar 30, 2023
1 parent cf8696d commit 4345826
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ygo/deck_editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def list_decks(self, selector = DECK.OWNED, name = '', banlist = ''):
banlist_text = pl._("compatible with {0} banlist").format(b.name)
break

pl.notify(pl._("{deckname} - {deck_id} ({banlist})").format(deck_id=deck.id, deckname=deck.account.name + "/" + deck.name, banlist=banlist_text))
pl.notify(pl._("{deckname}: {deck_id} ({banlist})").format(deck_id=deck.id, deckname=deck.account.name + "/" + deck.name, banlist=banlist_text))

if len(owned_decks):

Expand All @@ -143,7 +143,7 @@ def list_decks(self, selector = DECK.OWNED, name = '', banlist = ''):
banlist_text = pl._("compatible with {0} banlist").format(b.name)
break

pl.notify(pl._("{deckname} - {deck_id} ({privacy}) ({banlist})").format(deck_id=deck.id, deckname=deck.name, privacy=privacy, banlist=banlist_text))
pl.notify(pl._("{deckname}: {deck_id} ({privacy}) ({banlist})").format(deck_id=deck.id, deckname=deck.name, privacy=privacy, banlist=banlist_text))

if len(other_decks):

Expand All @@ -167,7 +167,7 @@ def list_decks(self, selector = DECK.OWNED, name = '', banlist = ''):
banlist_text = pl._("compatible with {0} banlist").format(b.name)
break

pl.notify(pl._("{deckname} ({privacy}) ({banlist})").format(deckname=deck.account.name + "/" + deck.name, privacy=privacy, banlist=banlist_text))
pl.notify(pl._("{deckname}: {deck_id} ({privacy}) ({banlist})").format(deck_id=deck.id, deckname=deck.account.name + "/" + deck.name, privacy=privacy, banlist=banlist_text))

pl.notify(pl._("{shown} decks shown, {filtered} decks filtered").format(shown = len(public_decks) + len(owned_decks) + len(other_decks), filtered = filtered_decks))

Expand Down

0 comments on commit 4345826

Please sign in to comment.