Index: /main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py
===================================================================
--- /main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py	(revision 9978)
+++ /main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py	(revision 9979)
@@ -468,4 +468,12 @@
         return available_beds[0]
 
+    def _admissionText(portal_language):
+        inst_name = grok.getSite()['configuration'].name
+        text = trans(_(
+            'This is to inform you that you have been provisionally'
+            ' admitted into ${a} as follows:', mapping = {'a': inst_name}),
+            portal_language)
+        return text
+
     def renderPDFAdmissionLetter(self, view, student=None):
         """Render pdf admission letter.
@@ -475,4 +483,5 @@
         style = getSampleStyleSheet()
         creator = self.getPDFCreator(student)
+        portal_language = getUtility(IKofaUtils).PORTAL_LANGUAGE
         data = []
         doc_title = view.label
@@ -490,11 +499,5 @@
 
         # Admission text
-        portal_language = getUtility(IKofaUtils).PORTAL_LANGUAGE
-        inst_name = grok.getSite()['configuration'].name
-        text = trans(_(
-            'This is to inform you that you have been provisionally'
-            ' admitted into ${a} as follows:', mapping = {'a': inst_name}),
-            portal_language)
-        html = format_html(text)
+        html = format_html(self._admissionText())
         data.append(Paragraph(html, NOTE_STYLE))
         data.append(Spacer(1, 20))
