Changes related to translation strings
parent
a82481c36d
commit
68c4232eb3
|
@ -527,6 +527,7 @@ define([
|
|||
var sframeChan = common.getSframeChannel();
|
||||
var appType = (common.getMetadataMgr().getMetadata().type || 'pad').toUpperCase();
|
||||
data = data || {};
|
||||
Messages.toolbar_preview = "Preview"; // XXX
|
||||
switch (type) {
|
||||
case 'export':
|
||||
button = $('<button>', {
|
||||
|
@ -753,7 +754,7 @@ define([
|
|||
//title: Messages.previewButtonTitle, // TODO display if the label text is collapsed
|
||||
}, [
|
||||
h('i.fa.fa-eye'),
|
||||
h('span.cp-toolbar-name', Messages.share_linkOpen)
|
||||
h('span.cp-toolbar-name', Messages.toolbar_preview)
|
||||
])).click(common.prepareFeedback(type));
|
||||
break;
|
||||
case 'print':
|
||||
|
|
|
@ -420,12 +420,12 @@ define([
|
|||
embed: Util.isChecked($link.find('#cp-share-embed'))
|
||||
}));
|
||||
});
|
||||
|
||||
Messages.share_linkOpen = "Open link"; // XXX
|
||||
var linkButtons = [
|
||||
makeCancelButton(),
|
||||
!opts.sharedFolder && {
|
||||
className: 'secondary cp-nobar',
|
||||
name: Messages.share_linkOpen,
|
||||
name: Messages.share_linkOpen, // XXX add fa-eye icon
|
||||
onClick: function () {
|
||||
opts.saveValue();
|
||||
var v = opts.getLinkValue({
|
||||
|
@ -441,7 +441,7 @@ define([
|
|||
keys: [[13, 'ctrl']]
|
||||
}, {
|
||||
className: 'primary cp-nobar',
|
||||
name: Messages.share_linkCopy,
|
||||
name: Messages.share_linkCopy, // XXX add fa-link icon
|
||||
onClick: function () {
|
||||
opts.saveValue();
|
||||
var v = opts.getLinkValue({
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
define([
|
||||
'/customize/messages.js'
|
||||
], function (Messages) {
|
||||
Messages.form_type_poll = "Quick poll"; // XXX update key
|
||||
Messages.form_template_poll = "Quick poll"; // XXX update key
|
||||
var pollValues = [];
|
||||
var d8 = new Date();
|
||||
d8.setDate(d8.getDate() - d8.getDay() + 7); // set sunday
|
||||
|
@ -24,7 +24,7 @@ define([
|
|||
return [{
|
||||
id: 'a',
|
||||
used: 1,
|
||||
name: Messages.form_type_poll,
|
||||
name: Messages.form_template_poll,
|
||||
content: {
|
||||
answers: {
|
||||
anonymous: true,
|
||||
|
|
Loading…
Reference in New Issue