<div class="rng-module-documentHistory">
<div class="toolbar">
<div class="group">
- <button class="btn btn-mini compare">Compare</button>
- <button class="btn btn-mini restore">Revert</button>
- <button class="btn btn-mini display">Preview</button>
- <button class="btn btn-mini publish">Publish</button>
+ <button class="btn btn-mini compare"><%= gettext('Compare') %></button>
+ <button class="btn btn-mini restore"><%= gettext('Revert') %></button>
+ <button class="btn btn-mini display"><%= gettext('Preview') %></button>
+ <button class="btn btn-mini publish"><%= gettext('Publish') %></button>
</div>
</div>
<div style="clear:both;"></div>
<ul>
<!--li><a target="_blank" href="<%= documentScheduleUrl %>">Edit schedule</a></li>
<li><a target="_blank" href="<%= documentForkUrl %>">Create another version</a></li-->
- <li><a target="_blank" href="<%= documentPreviewUrl %>">Preview saved version</a></li>
- <li><a target="_blank" href="<%= documentGalleryUrl %>">Attachments</a></li>
+ <li><a target="_blank" href="<%= documentPreviewUrl %>"><%= gettext('Preview saved version') %></a></li>
+ <li><a target="_blank" href="<%= documentGalleryUrl %>"><%= gettext('Attachments') %></a></li>
<li><a href="#" data-cmd="drop-draft" data-disabled-text="<%= gettext('no draft exists') %>"><%= gettext('drop a working draft') %></a></li>
<li><button class="btn btn-mini btn-info" data-cmd="save"><%= gettext('Save') %></button></li>
prePasteHandler: function(text) {
return params.fragment.document.getLinkForUrl(text);
}.bind(this),
- description: '<a href="#-" class="attachment-library">attachment library</a>'
+ description: '<a href="#-" class="attachment-library">' + gettext('attachment library') + '</a>'
}
]
}),
prePasteHandler: function(text) {
return this.wlxmlNode.document.getLinkForUrl(text);
}.bind(this),
- description: '<a href="#-" class="attachment-library">attachment library</a>'
+ description: '<a href="#-" class="attachment-library">' + gettext('attachment library') + '</a>'
}
]
});
prePasteHandler: function(text) {
return this.wlxmlNode.document.getLinkForUrl(text);
}.bind(this),
- description: '<a href="#-" class="attachment-library">attachment library</a>'
+ description: '<a href="#-" class="attachment-library">' + gettext('attachment library') + '</a>'
}
]
});
newRow.find('td:nth-child(2)').append(valueSelectView.el).data('view', valueSelectView);
if (this.getIsFileForKey(row.getKey())) {
- var el = $("<a href='#-' class='attachment-library' style='float: right'>attachments</a>");
+ var el = $("<a href='#-' class='attachment-library' style='float: right'>" + gettext('attachments') + "</a>");
el.on('click', function() {
attachments.select(function(v) {
valueSelectView.setInput(v);
--- /dev/null
+// comment.html
+gettext('edit');
+gettext('remove');
+gettext('Delete this comment?');
+gettext('Delete');
+
+// template.html
+gettext('Exit');
+gettext('Preview saved version');
+gettext('Attachments');
+gettext('drop a working draft');
+
+// documentSummary.html
+gettext('Draft Saved');
+
+// box.html
+gettext('change');
+gettext('remove');
+
+// main.html
+gettext('Compare');
+gettext('Revert');
+gettext('Preview');
+gettext('Publish');