X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/1ef7c1807a866e5d8fb99238499be4ea240dceae..refs/heads/edumed-ofop:/librarian/pypdf.py diff --git a/librarian/pypdf.py b/librarian/pypdf.py index 904b9b3..d53d71e 100644 --- a/librarian/pypdf.py +++ b/librarian/pypdf.py @@ -131,12 +131,11 @@ class EduModule(Xmill): curr_elements = curriculum(identifiers) except ImportError: curr_elements = {'identifiers': identifiers} - items = ['Podstawa programowa 2017:' if new else 'Podstawa programowa:'] + items = ['Nowa podstawa programowa:' if new else 'Podstawa programowa:'] newline = '\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]