aboutsummaryrefslogtreecommitdiff
path: root/views.js
diff options
context:
space:
mode:
Diffstat (limited to 'views.js')
-rw-r--r--views.js36
1 files changed, 18 insertions, 18 deletions
diff --git a/views.js b/views.js
index 87a4c10..72ecd4c 100644
--- a/views.js
+++ b/views.js
@@ -22,7 +22,7 @@ function profilePage (src, keys) {
sync(subs, keys)
- var input = h('input', {placeholder: 'New name'})
+ var input = h('input', {placeholder: 'Nova nomo'})
profile.appendChild(h('a', {href: '#' + src}, [getName(src, keys)]))
@@ -47,7 +47,7 @@ function profilePage (src, keys) {
})
}
}
- }, ['Identify'])
+ }, ['Identigi'])
])
var identifyButton = h('button', {
@@ -55,13 +55,13 @@ function profilePage (src, keys) {
profile.appendChild(identify)
identifyButton.parentNode.removeChild(identifyButton)
}
- }, ['Identify ' + src.substring(0, 10) + '...'])
+ }, ['Identigi ' + src.substring(0, 10) + '...'])
var mentionsButton = h('button', {
onclick: function () {
location.href = '#?' + src
}
- }, ['Mentions'])
+ }, ['Mencioj'])
profile.appendChild(identifyButton)
@@ -74,14 +74,14 @@ function profilePage (src, keys) {
subs = subs.filter(a => a !== src)
localforage.setItem('subscriptions', subs).then(function () { location.reload() })
}
- }, ['Unsubscribe']))
+ }, ['Ne plu sekvi']))
} else {
profile.appendChild(h('button', {
onclick: function () {
subs.push(src)
localforage.setItem('subscriptions', subs).then(function () { location.reload() })
}
- }, ['Subscribe']))
+ }, ['Sekvi']))
}
})
@@ -92,7 +92,7 @@ function profilePage (src, keys) {
regenerate(home)
})
}
- }, ['Delete feed']))
+ }, ['Forigi fluon']))
bog().then(log => {
if (log) {
@@ -150,13 +150,13 @@ function publicPage (keys) {
onclick: function () {
localforage.clear().then(function () {location.reload()})
}
- }, ['Delete Everything']))
+ }, ['Forviŝi ĉion']))
div.appendChild(h('button', {
onclick: function () {
regenerate()
}
- }, ['Regenerate']))
+ }, ['Regeneri']))
scroller.appendChild(div)
@@ -173,7 +173,7 @@ function publicPage (keys) {
function keyPage (keys) {
var message = h('div', {classList: 'message'})
- message.appendChild(h('p', {innerHTML: marked('This is your ed25519 public/private keypair. It was generated using [TweetNaCl.js](https://tweetnacl.js.org/#/). Your public key is your identity when using [Bogbook](http://bogbook.com/), save your key in a safe place so that you can continue to use the same identity.')}))
+ message.appendChild(h('p', {innerHTML: marked('Jen via ŝlosilparo de ed25519-norma publika kaj privata ŝlosilo. Ĝi estas kreita per [TweetNaCl.js](https://tweetnacl.js.org/#/). Via publika ŝlosilo estas via identeco dum vi uzas [Interskri.be](https://interskri.be) (aŭ [Bogbook](http://bogbook.com/), la ĉefa projekto, se vi elektas tion), konservu vian ŝlosilon en sekura loko por ke vi povu uzadi la saman identecon.')}))
message.appendChild(h('pre', {style: 'width: 80%'}, [h('code', [JSON.stringify(keys)])]))
@@ -184,9 +184,9 @@ function keyPage (keys) {
location.reload()
})
}
- }, ['Delete Key']))
+ }, ['Forigi ŝlosilon']))
- var textarea = h('textarea', {placeholder: 'Import your existing ed25519 keypair'})
+ var textarea = h('textarea', {placeholder: 'Ĉi tie vi povas importi vian ekzistantan ed25519-ŝlosilparon'})
message.appendChild(textarea)
message.appendChild(h('button', {
onclick: function () {
@@ -194,7 +194,7 @@ function keyPage (keys) {
localforage.setItem('id', JSON.parse(textarea.value)).then(function () { location.reload() })
}
}
- }, ['Import Key']))
+ }, ['Importi ŝlosilon']))
scroller.appendChild(message)
}
@@ -202,9 +202,9 @@ function keyPage (keys) {
function pubs () {
var message = h('div', {classList: 'message'})
- message.appendChild(h('p', {innerHTML: marked('These are the Bogbook pubs that your browser will connect to as it looks for new messages from your subscriptions, when you post new bog posts, and when you click on feeds.\n\nAdd or remove these pubs to control where your Bogbook gossips. Localhost is a default, but will only work if you install Bogbook on your local computer by [cloning down the repo](https://git.sr.ht/~ev/bogbook).')}))
+ message.appendChild(h('p', {innerHTML: marked('Jen la Bogbook-konigejoj al kiuj via foliumilo konektiĝas por kontroli pri novaj mesaĝoj de viaj sekvataj personoj, kiam vi afiŝas novajn aferojn kaj kiam vi surklakas fluojn.\n\nAldonu aŭ forigu ĉi tie konigejojn por decidi kien afiŝas la retejo. Se vi loke instalis kaj ruligas Bogbook, ĝi ankaŭ uzas tion kiel publikigo-celo. Atentu ke la kreinto de Bogbook ne ŝatas https, do ĉi tie malkiel en (Bogbook)[http://bogbook.com] nur funkcias wss-konigejoj krom se via retumilo permesas konektiĝi de https al nesekuraj ws-konektoj. Vi povas loke instali kaj ruligi Bogbook [klonante la deponejon](https://git.sr.ht/~ev/bogbook).')}))
- var add = h('input', {placeholder: 'Add a pub'})
+ var add = h('input', {placeholder: 'Aldoni konigejon'})
localforage.getItem('securepubs').then(function (servers) {
@@ -217,7 +217,7 @@ function pubs () {
localforage.setItem('securepubs', servers).then(function () { location.reload() })
}
}
- }, ['Add a pub'])
+ }, ['Aldoni konigejon'])
]))
servers.forEach(function (pub) {
@@ -228,7 +228,7 @@ function pubs () {
var newServers = servers.filter(item => item !== pub)
localforage.setItem('securepubs', newServers).then(function () { location.reload() })
}
- }, ['Remove'])
+ }, ['Forigi'])
]))
})
})
@@ -240,7 +240,7 @@ function pubs () {
location.reload()
})
}
- }, ['Reset pubs']))
+ }, ['Restarigi konigejojn']))
scroller.appendChild(message)
}