message/html/shares.jsView |
---|
29 | 29 | var captionInput = h('textarea#caption', { |
30 | 30 | style: { |
31 | 31 | width: '90%' |
32 | 32 | }, |
33 | | - placeholder: 'Type an optional caption here', |
| 33 | + placeholder: strings.share.captionPlaceholder, |
34 | 34 | value: computed(captionRaw, t => t), |
35 | 35 | 'ev-input': () => captionRaw.set(captionInput.value), |
36 | 36 | }) |
37 | 37 | |
38 | 38 | var confirmationDialog = h('div.dialog', [ |
39 | 39 | h('div.message', [ |
40 | | - h('p', 'Do you to share this post with your followers?'), |
| 40 | + h('p', strings.share.dialogLabel), |
41 | 41 | ]), |
42 | 42 | h('div.form', [ |
43 | 43 | captionInput |
44 | 44 | ]), |
45 | 45 | h('div.actions', [ |
46 | 46 | h('Button', { 'ev-click': () => isOpen.set(false) }, strings.userShow.action.cancel), |
47 | | - h('Button -primary', { 'ev-click': () => publishAndClose(msg, true) }, "Share") |
| 47 | + h('Button -primary', { 'ev-click': () => publishAndClose(msg, true) }, strings.share.action.share) |
48 | 48 | ]) |
49 | 49 | ]) |
50 | 50 | |
51 | 51 | var lb = api.app.html.lightbox(confirmationDialog, isOpen) |