Librarian in regular requirements.
[redakcja.git] / apps / wiki / templates / wiki / tabs / wysiwyg_editor.html
index dbf1b6a..f54f3fb 100644 (file)
@@ -1,14 +1,15 @@
+{% load i18n %}
 <div id="simple-editor" class="editor" style="display: none">
     <div id="html-view" class="htmlview">
     </div>
 
        <div class="toolbar">
-       {% if not document_info.readonly %}
+       {% if not readonly %}
         <button id="insert-theme-button">
-            Wstaw motyw
+            {% trans "Insert theme" %}
         </button>
         <button id="insert-annotation-button">
-            Wstaw przypis
+            {% trans "Insert annotation" %}
         </button>
                {% endif %}
         <div class="toolbar-end">