aboutsummaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'app.js')
-rw-r--r--app.js22
1 files changed, 11 insertions, 11 deletions
diff --git a/app.js b/app.js
index ed118c8..5523e7c 100644
--- a/app.js
+++ b/app.js
@@ -13,11 +13,11 @@ function route (keys) {
if (!name) {
var identify = h('div', {id: 'identify', classList: 'message'})
scroller.appendChild(identify)
- identify.appendChild(h('span', {innerHTML: marked("Hey [" + keys.publicKey.substring(0, 10) + "...](/#"+ keys.publicKey +")! Welcome to Bogbook. If you have any questions be sure to reach out to [@ev](/#@Q++V5BbvWIg8B+TqtC9ZKFhetruuw+nOgxEqfjlOZI0=).")}))
+ identify.appendChild(h('span', {innerHTML: marked("Saluton [" + keys.publicKey.substring(0, 10) + "...](/#"+ keys.publicKey +")! Bonvenon al Interskri.be. Se vi havas ajnan demandon, sentu vin libera demandi ĉe [@LaPingvino](/#@gl6HzjWL8SndhDGpN1mtLkf6OXdBQi67vaAyCoCnsCU=).")}))
- identify.appendChild(h('span', {innerHTML: marked("Your current public key doesn't have a name yet. Either import your existing id on the [key](/#key) page, or identify yourself using the box below. Identifying is optional, but you'll see this welcome message as long as you don't give yourself a name.")}))
+ identify.appendChild(h('span', {innerHTML: marked("Via nuna publika ŝlosilo ankoraŭ ne havas nomon. Vi povas ĉu importi vian ekzistantant identecon en la [ŝlosilo](/#key)-paĝo, aŭ identigi vin per la suba kesto. Ne estas ajna devigo identigi vin, sed vi vidos ĉi tiun bonvenigon dum vi ne donis nomon al vi.")}))
- var input = h('input', {placeholder: 'Give yourself a name'})
+ var input = h('input', {placeholder: 'Donu nomon por vi'})
identify.appendChild(h('div', [
input,
@@ -38,12 +38,12 @@ function route (keys) {
}, 1000)
}
}
- }, ['Identify'])
+ }, ['Identigi'])
]))
- identify.appendChild(h('span', {innerHTML: marked("Next, make sure to save your public/private keypair on the [key](/#key) page, so that you can continue to use the same identity. No one but you can access your private key, so only you can restore your ability to publish to this identity. If you lose your key, you lose your ability to publish to this identity forever.")}))
+ identify.appendChild(h('span', {innerHTML: marked("Sekve, certigu ke via paro de publika kaj privata ŝlosilo de la [ŝlosilo](/#key)-paĝo estu konservita en sekura loko por ke vi povu uzadi la saman identecon. Nur vi povas aliri vian privatan ŝlosilon, do nur vi povas restarigi la eblon afiŝi al ĉi tiu identeco. Se vi perdas vian ŝlosilon, vi perdas vian kapablon afiŝi al ĉi tiu identeco por ĉiam.")}))
- identify.appendChild(h('span', {innerHTML: marked("Finally, be sure to check out the code on [SourceHut](http://git.sr.ht/~ev/bogbook)")}))
+ identify.appendChild(h('span', {innerHTML: marked("Fine, la (anglalingva versio de la) kodo de ĉi tiu paĝo troveblas en [SourceHut](http://git.sr.ht/~ev/bogbook)")}))
}
})
@@ -67,15 +67,15 @@ function route (keys) {
}
keys().then(key => {
- var search = h('input', {placeholder: 'Search', classList: 'search'})
+ var search = h('input', {placeholder: 'Serĉilo', classList: 'search'})
var navbar = h('div', {classList: 'navbar'}, [
h('div', {classList: 'internal'}, [
- h('li', [h('a', {href: '#'}, ['Home'])]),
+ h('li', [h('a', {href: '#'}, ['Hejmo'])]),
h('li', [h('a', {href: '#' + key.publicKey}, [getName(key.publicKey, keys)])]),
- h('li', [h('a', {href: '#key'}, ['Key'])]),
- h('li', [h('a', {href: '#pubs'}, ['Pubs'])]),
- h('li', {classList: 'right'}, [h('a', {href: 'http://git.sr.ht/~ev/bogbook'}, ['Git'])]),
+ h('li', [h('a', {href: '#key'}, ['Ŝlosilo'])]),
+ h('li', [h('a', {href: '#pubs'}, ['Konigejoj'])]),
+ h('li', {classList: 'right'}, [h('a', {href: 'http://git.sr.ht/~ev/bogbook'}, ['Fontkodo'])]),
h('form', { classList: 'search',
onsubmit: function (e) {
window.location.hash = '?' + search.value