X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/13042ddcb4ad5af860cff616d2a69d4f05dac5d8..f9210448beac9bce1c9b971d38e8533fe7da1b82:/src/annoy/places.py?ds=inline

diff --git a/src/annoy/places.py b/src/annoy/places.py
index 7663a6105..8fa767bba 100644
--- a/src/annoy/places.py
+++ b/src/annoy/places.py
@@ -1,14 +1,16 @@
-from django.utils.translation import ugettext_lazy as _
-
 PLACE_DEFINITIONS = [
-    ('top', _('Top of all pages.'), True),
-    ('book-page', _('Book page'), False),
-    ('book-text-intermission', _('Book text intermission'), False),
-    ('book-fragment-list', _('Next to list of book fragments.'), False),
-    ('blackout', _('Blackout'), True, (
-        ('full', _('Full screen')),
-#        ('centre', _('Centre of screen')),
-        ('upper', _('Upper half of screen')),
+    ('top', 'U góry wszystkich stron', True),
+    ('book-page', 'Strona książki', False),
+    ('book-text-intermission', 'Przerwa w treści książki', False),
+    ('book-fragment-list', 'Obok listy fragmentów książki', False),
+    ('blackout', 'Blackout', True, (
+        ('full', 'Cały ekran'),
+#        ('centre', 'Środek ekranu'),
+        ('upper', 'Górna połowa ekranu'),
+    )),
+    ('crisis', 'Kryzysowa', False, (
+        ('quiet', 'Spokojny'),
+        ('loud', 'Ostry'),
     )),
 ]
 
@@ -24,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]
         ])