verbose curriculum levels in model
[librarian.git] / librarian / pypdf.py
index 6aadbc4..256bc34 100644 (file)
@@ -131,12 +131,11 @@ class EduModule(Xmill):
                 curr_elements = curriculum(identifiers)
             except ImportError:
                 curr_elements = {'identifiers': identifiers}
-            items = ['Nowa podstawa programowa:' if new else 'Podstawa programowa:']
+            items = ['Podstawa programowa 2017:' if new else 'Podstawa programowa:']
             newline = '<ctrl ch="\\"/>\n'
             if 'currset' in curr_elements:
                 for (course, level), types in curr_elements['currset'].iteritems():
-                    label = u'klasa' if new else u'poziom edukacyjny'
-                    lines = [u'%s, %s %s' % (course, level, label)]
+                    lines = [u'%s, %s' % (course, level)]
                     for type, currs in types.iteritems():
                         lines.append(type)
                         lines += [curr.title for curr in currs]