add i18n to frontend, still incomplete, but a start

This commit is contained in:
dni ⚡
2023-04-13 09:32:12 +02:00
parent 8ee6be30eb
commit 8c3b4a87b1
14 changed files with 634 additions and 206 deletions
+5 -5
View File
@@ -148,27 +148,27 @@ new Vue({
{
name: 'memo',
align: 'left',
label: 'Memo',
label: this.$t('memo'),
field: 'memo'
},
{
name: 'date',
align: 'left',
label: 'Date',
label: this.$t('date'),
field: 'date',
sortable: true
},
{
name: 'sat',
align: 'right',
label: 'Amount (' + LNBITS_DENOMINATION + ')',
label: this.$t('amount') + ' (' + LNBITS_DENOMINATION + ')',
field: 'sat',
sortable: true
},
{
name: 'fee',
align: 'right',
label: 'Fee (m' + LNBITS_DENOMINATION + ')',
label: this.$t('fee') + ' (m' + LNBITS_DENOMINATION + ')',
field: 'fee'
}
],
@@ -510,7 +510,7 @@ new Vue({
payInvoice: function () {
let dismissPaymentMsg = this.$q.notify({
timeout: 0,
message: 'Processing payment...'
message: this.$t('processing_payment')
})
LNbits.api