diff options
-rw-r--r-- | identify.js | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/identify.js b/identify.js index 2ba5eea..83191e1 100644 --- a/identify.js +++ b/identify.js @@ -3,7 +3,7 @@ function identify (src, profile, keys) { var identifyDiv = h('div') if (src != keys.publicKey) { - identifyDiv.appendChild(h('p', ['Please note: ' + src + ' is not you.'])) + identifyDiv.appendChild(h('p', ['Atentu: ' + src + ' ne estas vi.'])) } var photoURL = {} @@ -39,7 +39,7 @@ function identify (src, profile, keys) { } } }), - h('p', ['We recommend uploading a square photo. It will automatically be cropped to 250 x 250 px.']), + h('p', ['Ni rekomendas alŝuti kvadratan foton. Ĝi aŭtomate tranĉiĝas al 250 je 250 px.']), h('canvas', {id: 'canvas', width: '0', height: '0'}), h('button', { onclick: function () { @@ -67,10 +67,10 @@ function identify (src, profile, keys) { identifyDiv.appendChild(identifyButton) } } - }, ['Publish']) + }, ['Publikigi']) ]) - var nameInput = h('input', {placeholder: 'New name'}) + var nameInput = h('input', {placeholder: 'Nova nomo'}) var newName = h('div', [ nameInput, @@ -93,13 +93,13 @@ function identify (src, profile, keys) { identifyDiv.appendChild(identifyButton) } } - }, ['Publish']), + }, ['Publikigi']), h('button', { onclick: function () { identifyDiv.appendChild(identifyButtons) newName.parentNode.removeChild(newName) } - }, ['Cancel']) + }, ['Nuligi']) ]) var identifyButtons = h('span', [ @@ -108,19 +108,19 @@ function identify (src, profile, keys) { identifyDiv.appendChild(newName) identifyButtons.parentNode.removeChild(identifyButtons) } - }, ['Identify ' + src.substring(0, 10) + '... with a new name']), + }, ['Identigi ' + src.substring(0, 10) + '... per nova nomo']), h('button', { onclick: function () { identifyDiv.appendChild(newPhoto) identifyButtons.parentNode.removeChild(identifyButtons) } - }, ['Identify ' + src.substring(0, 10) + '... with a new photo']), + }, ['Identigi ' + src.substring(0, 10) + '... per nova foto']), h('button', { onclick: function () { identifyDiv.appendChild(identifyButton) identifyButtons.parentNode.removeChild(identifyButtons) } - }, ['Cancel']) + }, ['Nuligi']) ]) var identifyButton = h('button', { @@ -129,7 +129,7 @@ function identify (src, profile, keys) { profile.appendChild(identifyButtons) identifyButton.parentNode.removeChild(identifyButton) } - },['Identify ' + src.substring(0, 10) + '...']) + },['Identigi ' + src.substring(0, 10) + '...']) return identifyButton } |