X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/e24e657ebf536f55c1bde66bd41563fae30a98b0..7e1eb02f59f06e2d40e85be4dda05f7a222fe593:/src/annoy/places.py diff --git a/src/annoy/places.py b/src/annoy/places.py index c9f8031af..8fa767bba 100644 --- a/src/annoy/places.py +++ b/src/annoy/places.py @@ -8,6 +8,10 @@ PLACE_DEFINITIONS = [ # ('centre', 'Środek ekranu'), ('upper', 'Górna połowa ekranu'), )), + ('crisis', 'Kryzysowa', False, ( + ('quiet', 'Spokojny'), + ('loud', 'Ostry'), + )), ] PLACE_CHOICES = [p[:2] for p in PLACE_DEFINITIONS] @@ -22,6 +26,6 @@ STYLES = [] for p in PLACE_DEFINITIONS: if len(p) > 3: STYLES.extend([ - (f'{p[0]}_{s[0]}', s[1]) + (f'{p[0]}_{s[0]}', f'{p[1]} — {s[1]}') for s in p[3] ])