mirror of
https://github.com/Qortal/qortal-ui.git
synced 2025-04-27 05:17:51 +00:00
Compare commits
290 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
747b555edb | ||
|
36e7bd8ba6 | ||
|
29965500fc | ||
|
75f923e025 | ||
|
f12b0c9bf8 | ||
|
0e3220eed0 | ||
|
f0a5eeebc8 | ||
|
2ed1b08cd8 | ||
|
e4eede5087 | ||
|
9dbc4b085b | ||
|
7ca9acaf3a | ||
|
e3ef24dc5e | ||
|
9d72f4539d | ||
|
060390da23 | ||
|
2547025d9e | ||
|
665d708563 | ||
|
c686a12c3a | ||
|
e2d6d83fd8 | ||
|
78f25607e2 | ||
|
502952550c | ||
|
7cae21d8ed | ||
|
6e648ece9d | ||
|
b74cd40cd3 | ||
|
d7708259de | ||
|
3837973ba8 | ||
|
af8dcae748 | ||
|
8b64c80019 | ||
|
1ded359b7a | ||
|
2e3a02458d | ||
|
8b8ad3015f | ||
|
d16781e73b | ||
|
d6e0846d58 | ||
|
003eb5c45a | ||
|
f7971f7026 | ||
|
d3f9e0878b | ||
|
585d133143 | ||
|
4457215a0e | ||
|
d915b25b47 | ||
|
5011917a68 | ||
|
137dc4d0b3 | ||
|
aca57727a1 | ||
|
72ec9fc092 | ||
|
a0a1fb34f1 | ||
|
d822c65fc5 | ||
|
80d4ce82f1 | ||
|
db71257c02 | ||
|
2483163b6e | ||
|
82dfabd6c0 | ||
|
baeb25e8bf | ||
|
9b54fde947 | ||
|
10c38b3c40 | ||
|
c0e2935d9b | ||
|
525f866447 | ||
|
162ac0fda3 | ||
|
7c39de10fd | ||
|
c9a4133013 | ||
|
6ad91d6934 | ||
|
1041964df4 | ||
|
04a91efcac | ||
|
d2cb1e9d1c | ||
|
18c85674d9 | ||
|
f261a7d4d7 | ||
|
9ab7f77292 | ||
|
34cb1bcb38 | ||
|
4fa85d4923 | ||
|
4d35a7d6c0 | ||
|
f3874fdc72 | ||
|
800884302d | ||
|
2450c6326f | ||
|
950d098249 | ||
|
7a8bbab6d1 | ||
|
bf3d968c18 | ||
|
b89a424131 | ||
|
6debf5fd72 | ||
|
e9ab20a451 | ||
|
aa902563dd | ||
|
599df66c88 | ||
|
2871d3d4c5 | ||
|
e2e358c748 | ||
|
a645d76b10 | ||
|
a696444978 | ||
|
eade77c98b | ||
|
79e9080f6e | ||
|
694e4e6f92 | ||
|
38d4c38393 | ||
|
53c3006482 | ||
|
5b46191945 | ||
|
95e5c8a752 | ||
|
bd9d74892b | ||
|
0eff3c3d15 | ||
|
3667db0616 | ||
|
7c2e74b03b | ||
|
cdb363c8c7 | ||
|
d36c006f21 | ||
|
54061dcf2b | ||
|
d980dae71a | ||
|
591269ee1e | ||
|
ae2cc2b3d1 | ||
|
287f582275 | ||
|
0a6e2b7f85 | ||
|
d86e3134c0 | ||
|
edf1160d27 | ||
|
1ca2cd3652 | ||
|
8b14cd2aa2 | ||
|
caa745ab4c | ||
|
a4a5af8928 | ||
|
f887bc6b4f | ||
|
3fc0281655 | ||
|
3b378c6e56 | ||
|
b5a9be475e | ||
|
3edea9fe8c | ||
|
d212bf95ae | ||
|
22e938bb87 | ||
|
5893d4de7d | ||
|
ac79619eaf | ||
|
ced56e0a1c | ||
|
8c548add2e | ||
|
dc0221f727 | ||
|
9691e3f6d0 | ||
|
6d7be2f40b | ||
|
1a3794e9e8 | ||
|
643e7fa80a | ||
|
1183e89022 | ||
|
c828df6775 | ||
|
054195c2bf | ||
|
10329a5810 | ||
|
52ad30bb9f | ||
|
96a7415181 | ||
|
1bf23e8a2d | ||
|
fbff262146 | ||
|
8d6c83d999 | ||
|
05c6e2bdce | ||
|
e063a3e0f9 | ||
|
dc77e36b15 | ||
|
d847106996 | ||
|
2c920c5c85 | ||
|
70646f1f3f | ||
|
422b5fc8fa | ||
|
6838efb973 | ||
|
64d66d961e | ||
|
b2da63d694 | ||
|
f587743dc2 | ||
|
679f84a76f | ||
|
df60cf51e9 | ||
|
c6e3271222 | ||
|
8f920cac42 | ||
|
6778decd5a | ||
|
5cf52baa87 | ||
|
96230a60f5 | ||
|
4276f54933 | ||
|
2572690f17 | ||
|
368f80e8b7 | ||
|
e7fa83dfde | ||
|
555aa1bc07 | ||
|
2658d86c79 | ||
|
78a0c31cf3 | ||
|
30439a9cf3 | ||
|
d09af08bca | ||
|
8b336da053 | ||
|
564981fb4c | ||
|
c95dfa6edd | ||
|
7c0948886f | ||
|
7d9cd57340 | ||
|
00e4eb765b | ||
|
c2d4182e47 | ||
|
7f65f7e15e | ||
|
d9ead66b04 | ||
|
3da1c4c891 | ||
|
55d56dd162 | ||
|
c93797df0c | ||
12472e8bde | |||
|
a7e9db19df | ||
|
8208d33d41 | ||
|
5dace2614e | ||
|
0d83fab14f | ||
|
8c77967b1d | ||
a8e4cd04de | |||
39d00f294a | |||
|
36866d3cf1 | ||
|
5f7d8da815 | ||
|
959dbd7fd1 | ||
|
0b2bceb842 | ||
|
3cc5d544a2 | ||
|
5cb2d02063 | ||
|
55409c9183 | ||
|
33c74b77b1 | ||
|
8f8e625574 | ||
|
62579a8929 | ||
|
1383022cd6 | ||
|
db93f51083 | ||
|
3b4581a448 | ||
|
a66d945ed4 | ||
|
fa29ff4c43 | ||
|
940f9f82f8 | ||
|
1cc91eb6af | ||
|
63f908fa45 | ||
|
fbc31bf6e0 | ||
|
87f3a81663 | ||
|
177e138594 | ||
|
e9bd6bf488 | ||
|
1027252c1a | ||
|
512af47b0c | ||
|
82f93d327e | ||
|
2059bf666a | ||
|
2f830cccd1 | ||
|
10a9b2bd65 | ||
|
66dd5868d7 | ||
|
c91b60b333 | ||
|
d273e9d6b9 | ||
|
cbb05cca64 | ||
|
0d67a27591 | ||
|
d786089766 | ||
|
70e4feb15b | ||
|
728dc79bd6 | ||
|
b4c7f6008e | ||
|
9b031b5bb9 | ||
|
030a0d0080 | ||
|
c9282b0f32 | ||
|
f0b30e6f6e | ||
|
41356d113f | ||
|
66f8b96047 | ||
|
c5890f400f | ||
|
f2d943e451 | ||
|
5f0c57d8e9 | ||
|
3293a222f0 | ||
|
42201341c1 | ||
|
1c587325e8 | ||
|
37dcd444e8 | ||
|
d5b0fa2242 | ||
|
4a1f8c8e4e | ||
|
55728e38fa | ||
|
a63e108631 | ||
|
225256d6cb | ||
|
732f3f97f2 | ||
|
f2afe9c147 | ||
|
443c47bb94 | ||
|
bcde7bc16e | ||
|
be9d5a6fcf | ||
|
7669b1caf0 | ||
|
6df3aa1f33 | ||
|
046c3832ad | ||
|
4d3a0d1553 | ||
|
3363dc292f | ||
|
068310679c | ||
|
8c562a0f6a | ||
|
ef59cc018d | ||
|
f316aa1178 | ||
|
d84ab71d32 | ||
|
3671db591e | ||
|
6bc1b174db | ||
|
1061b85a1a | ||
|
e2b383629a | ||
|
87330fa6e5 | ||
|
9b28d6cd1c | ||
|
6e66e58335 | ||
|
c080682860 | ||
|
09c3207bf0 | ||
|
70f130b087 | ||
|
001390ffed | ||
|
6b39660a2b | ||
|
5109744fc4 | ||
|
800557f600 | ||
|
0ac0abb1b8 | ||
|
fc84abb407 | ||
|
293fecbaa6 | ||
|
21ea70f73c | ||
|
2600ede3e9 | ||
|
762b2a896d | ||
|
17a06b4863 | ||
|
e15a68f180 | ||
|
0650e47810 | ||
|
dff92dde1a | ||
|
c00c891948 | ||
|
f041f7c662 | ||
f6e953e153 | |||
|
dbe1860584 | ||
|
ca8381bae8 | ||
|
83ec9eaaa4 | ||
|
8456194787 | ||
|
9ce39d2794 | ||
21f5a21cae | |||
b3807f88d8 | |||
|
6af4241942 | ||
|
abe344016c | ||
|
00ad2b88d5 | ||
|
519de9a471 | ||
|
12d4daf3ee | ||
|
d901a5d2da | ||
1ec38d2ff5 | |||
|
b018255e8c |
@ -1 +0,0 @@
|
||||
/node_modules
|
@ -1,15 +0,0 @@
|
||||
{
|
||||
"env": {
|
||||
"browser": true,
|
||||
"es2021": true
|
||||
},
|
||||
"plugins": ["lit", "wc"],
|
||||
"extends": ["eslint:recommended", "plugin:lit/recommended", "plugin:wc/recommended"],
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 12,
|
||||
"sourceType": "module"
|
||||
},
|
||||
"rules": {
|
||||
"no-mixed-spaces-and-tabs": 0
|
||||
}
|
||||
}
|
71
.travis.yml
71
.travis.yml
@ -1,71 +0,0 @@
|
||||
|
||||
branches:
|
||||
except:
|
||||
- master
|
||||
|
||||
language: node_js
|
||||
node_js: "14.17.0"
|
||||
|
||||
cache:
|
||||
yarn: true
|
||||
directories:
|
||||
- node_modules
|
||||
# - qortal-ui-core/node_modules
|
||||
# - qortal-ui-plugins/node_modules
|
||||
# - qortal-ui-crypto/node_modules
|
||||
- $HOME/.cache/electron
|
||||
- $HOME/.cache/electron-builder
|
||||
|
||||
install:
|
||||
- sh install-dependencies.sh
|
||||
|
||||
env:
|
||||
global:
|
||||
- ELECTRON_CACHE=$HOME/.cache/electron
|
||||
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
|
||||
- ELECTRON_ENABLE_LOGGING=true
|
||||
|
||||
jobs:
|
||||
include:
|
||||
- stage: Deploy Linux
|
||||
if: tag IS present
|
||||
os: linux
|
||||
dist: bionic
|
||||
sudo: required
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
# default Electron dependencies
|
||||
- build-essential
|
||||
- gconf2
|
||||
- gconf-service
|
||||
- libgtk-3-0
|
||||
- libnotify4
|
||||
- libxss-dev
|
||||
- libxss1
|
||||
- xdg-utils
|
||||
- libatspi2.0-0
|
||||
- libappindicator1
|
||||
- libxext-dev
|
||||
- libxtst6
|
||||
- libxtst-dev
|
||||
- libnss3
|
||||
script:
|
||||
- newVersion=$(git describe --abbrev=0)
|
||||
- yarn version --new-version $newVersion
|
||||
- sh set-up-snap.sh
|
||||
- yarn run release
|
||||
- stage: Deploy Windows & Mac
|
||||
if: tag IS present
|
||||
os: osx
|
||||
osx_image: xcode12.5.1
|
||||
script:
|
||||
- newVersion=$(git describe --abbrev=0)
|
||||
- yarn version --new-version $newVersion
|
||||
- yarn run release -- --mac --win
|
||||
before_cache:
|
||||
- rm -rf $HOME/.cache/electron-builder/wine
|
||||
# - stage: Update GitHub with Builds
|
||||
# if: tag IS present
|
||||
# script:
|
||||
# - sh push-updates-with-travis-build.sh
|
@ -4,7 +4,6 @@
|
||||
[](https://github.com/Qortal/qortal-ui/releases/latest)
|
||||
[](https://opensource.org/licenses/GPL-3.0)
|
||||
[](https://discord.com/invite/54UyhB7)
|
||||
[](https://discord.com/invite/tqnpDMfuR2)
|
||||
|
||||
Decentralizing The World
|
||||
|
||||
@ -27,8 +26,8 @@ Easiest way to install the lastest required packages on Linux is via nvm.
|
||||
``` source ~/.profile ``` (For Debian based distro) <br/>
|
||||
``` source ~/.bashrc ``` (For Fedora / CentOS) <br/>
|
||||
``` nvm ls-remote ``` (Fetch list of available versions) <br/>
|
||||
``` nvm install v18.18.2 ``` (LTS: Hydrogen supported by Electron) <br/>
|
||||
``` npm --location=global install npm@10.2.5 ``` <br/>
|
||||
``` nvm install v20.16.0 ``` (Latest LTS: Iron supported by Electron V32) <br/>
|
||||
``` npm --location=global install npm@10.9.2 ``` <br/>
|
||||
|
||||
Adding via binary package mirror will only work if you have set the package path. You can do a node or java build via ports instead by downloading ports with portsnap fetch method.
|
||||
|
||||
|
@ -1,23 +0,0 @@
|
||||
{
|
||||
"name": "Q-Blog",
|
||||
"defaultFeedIndex": 0,
|
||||
"feed": [
|
||||
{
|
||||
"id": "post-creation",
|
||||
"version": 1,
|
||||
"updated": 1696646223261,
|
||||
"title": "Q-Blog Post creations",
|
||||
"description": "Get your friends Q-Blog posts on your feed",
|
||||
"search": {
|
||||
"query": "-post-",
|
||||
"identifier": "q-blog-",
|
||||
"service": "BLOG_POST",
|
||||
"exactmatchnames": true
|
||||
},
|
||||
"click": "qortal://APP/Q-Blog/$${resource.name}$$/blog/$${resource.identifier}$$",
|
||||
"display": {
|
||||
"title": "$${rawdata.title}$$"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
29
build.js
29
build.js
@ -1,28 +1,23 @@
|
||||
const path = require('path')
|
||||
const uiCore = require('./core/ui-core.js')
|
||||
|
||||
const config = require('./config/config.js')
|
||||
const pluginsController = require('./plugins/default-plugins.js')
|
||||
const generateBuildConfig = uiCore('generate_build_config')
|
||||
const build = uiCore('build')
|
||||
|
||||
const config = require('./config/config.js')
|
||||
|
||||
const pluginsController = require('./plugins/default-plugins.js')
|
||||
const buildDefalutPlugins = pluginsController('build')
|
||||
|
||||
|
||||
srcConfig = {
|
||||
...config.build,
|
||||
options: {
|
||||
...config.build.options,
|
||||
outputDir: path.join(__dirname, '/builtWWW'),
|
||||
sassOutputDir: path.join(__dirname, '/builtWWW/styles.bundle.css'),
|
||||
}
|
||||
...config.build,
|
||||
options: {
|
||||
...config.build.options,
|
||||
outputDir: path.join(__dirname, '/builtWWW'),
|
||||
sassOutputDir: path.join(__dirname, '/builtWWW/styles.bundle.css')
|
||||
}
|
||||
}
|
||||
|
||||
const { buildConfig, inlineConfigs } = generateBuildConfig(srcConfig)
|
||||
|
||||
build(buildConfig.options, buildConfig.outputs, buildConfig.outputOptions, buildConfig.inputOptions, inlineConfigs)
|
||||
.then(() => {
|
||||
console.log("Building and Bundling Plugins");
|
||||
buildDefalutPlugins()
|
||||
})
|
||||
build(buildConfig.options, buildConfig.outputs, buildConfig.outputOptions, buildConfig.inputOptions, inlineConfigs).then(() => {
|
||||
console.log("Building and Bundling Plugins")
|
||||
buildDefalutPlugins()
|
||||
})
|
@ -2,7 +2,23 @@
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
|
||||
<key>com.apple.security.cs.allow-jit</key>
|
||||
<true/>
|
||||
<key>com.apple.security.cs.allow-dyld-environment-variables</key>
|
||||
<true/>
|
||||
<key>com.apple.security.cs.disable-executable-page-protection</key>
|
||||
<true/>
|
||||
<key>com.apple.security.inherit</key>
|
||||
<true/>
|
||||
<key>com.apple.security.automation.apple-events</key>
|
||||
<true/>
|
||||
<key>com.apple.security.device.audio-input</key>
|
||||
<true/>
|
||||
<key>com.apple.security.device.camera</key>
|
||||
<true/>
|
||||
<key>com.apple.security.device.microphone</key>
|
||||
<true/>
|
||||
<key>com.apple.security.device.bluetooth</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
||||
|
@ -2,13 +2,13 @@ const path = require('path')
|
||||
const defaultConfig = require('./default.config.js')
|
||||
|
||||
const build = {
|
||||
options: {
|
||||
outputDir: path.join(__dirname, '../build'),
|
||||
imgDir: path.join(__dirname, '../img')
|
||||
},
|
||||
aliases: {
|
||||
'qortal-ui-crypto': path.join(__dirname, '../crypto/api.js')
|
||||
}
|
||||
options: {
|
||||
outputDir: path.join(__dirname, '../build'),
|
||||
imgDir: path.join(__dirname, '../img')
|
||||
},
|
||||
aliases: {
|
||||
'qortal-ui-crypto': path.join(__dirname, '../crypto/api.js')
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = build
|
||||
module.exports = build
|
@ -1,8 +1,8 @@
|
||||
const defaultConfig = require('./default.config.js')
|
||||
|
||||
module.exports = {
|
||||
name: 'Qortal',
|
||||
symbol: 'Qort',
|
||||
addressVersion: 58, // Q for Qortal
|
||||
logo: '/img/QORT_LOGO.svg'
|
||||
}
|
||||
name: 'Qortal',
|
||||
symbol: 'Qort',
|
||||
addressVersion: 58, // Q for Qortal
|
||||
logo: '/img/QORT_LOGO.svg'
|
||||
}
|
@ -1,27 +1,33 @@
|
||||
let config = require('./default.config.js')
|
||||
let userConfig = {}
|
||||
try {
|
||||
userConfig = require('./customConfig.js')
|
||||
} catch (e) {
|
||||
console.warn(e)
|
||||
console.warn('Error loading user config')
|
||||
}
|
||||
const checkKeys = (storeObj, newObj) => {
|
||||
for (const key in newObj) {
|
||||
if (!Object.prototype.hasOwnProperty.call(storeObj, key)) return
|
||||
|
||||
if (typeof newObj[key] === 'object') {
|
||||
storeObj[key] = checkKeys(storeObj[key], newObj[key])
|
||||
} else {
|
||||
storeObj[key] = newObj[key]
|
||||
}
|
||||
}
|
||||
return storeObj
|
||||
let userConfig = {}
|
||||
|
||||
try {
|
||||
userConfig = require('./customConfig.js')
|
||||
} catch (e) {
|
||||
console.warn(e)
|
||||
console.warn('Error loading user config')
|
||||
}
|
||||
|
||||
const checkKeys = (storeObj, newObj) => {
|
||||
for (const key in newObj) {
|
||||
if (!Object.prototype.hasOwnProperty.call(storeObj, key)) {
|
||||
return
|
||||
}
|
||||
|
||||
if (typeof newObj[key] === 'object') {
|
||||
storeObj[key] = checkKeys(storeObj[key], newObj[key])
|
||||
} else {
|
||||
storeObj[key] = newObj[key]
|
||||
}
|
||||
}
|
||||
|
||||
return storeObj
|
||||
}
|
||||
|
||||
const getConfig = customConfig => {
|
||||
config = checkKeys(config, customConfig)
|
||||
return config
|
||||
config = checkKeys(config, customConfig)
|
||||
return config
|
||||
}
|
||||
|
||||
module.exports = getConfig(userConfig)
|
||||
module.exports = getConfig(userConfig)
|
@ -1,3 +1,3 @@
|
||||
const defaultConfig = require('./default.config.js')
|
||||
|
||||
module.exports = {}
|
||||
module.exports = {}
|
@ -4,10 +4,4 @@ const styles = require('./styles.config.js')
|
||||
const build = require('./build.config.js')
|
||||
const user = require('./user.config.js')
|
||||
|
||||
module.exports = {
|
||||
coin,
|
||||
styles,
|
||||
build,
|
||||
user,
|
||||
crypto
|
||||
}
|
||||
module.exports = { coin, styles, build, user, crypto }
|
@ -1,5 +1,4 @@
|
||||
const uiCore = require('../core/ui-core.js')
|
||||
const defaultConfig = uiCore('default_config')
|
||||
|
||||
|
||||
module.exports = defaultConfig
|
||||
module.exports = defaultConfig
|
@ -1 +1 @@
|
||||
module.exports = {}
|
||||
module.exports = {}
|
@ -1,10 +1,11 @@
|
||||
const user = require('./default.config.js').user
|
||||
|
||||
module.exports = {
|
||||
node: 0, // set to mainnet
|
||||
server: {
|
||||
primary: {
|
||||
port: 12388, // set as default UI port
|
||||
address: '0.0.0.0', // can specify an IP for a fixed bind
|
||||
},
|
||||
},
|
||||
}
|
||||
address: '0.0.0.0' // can specify an IP for a fixed bind
|
||||
}
|
||||
}
|
||||
}
|
@ -1 +0,0 @@
|
||||
/node_modules
|
@ -1,22 +0,0 @@
|
||||
{
|
||||
"extends" : "standard",
|
||||
"rules": {
|
||||
"indent": [
|
||||
"error",
|
||||
4,
|
||||
{
|
||||
"SwitchCase": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
"env": {
|
||||
"es6": true,
|
||||
"browser": true,
|
||||
"worker": true
|
||||
},
|
||||
"parser": "babel-eslint",
|
||||
"parserOptions": {
|
||||
"sourceType": "module",
|
||||
"allowImportExportEverywhere": true
|
||||
}
|
||||
}
|
@ -4,4 +4,4 @@ const user = require('./default.user.config.js')
|
||||
const styles = require('./default.styles.config.js')
|
||||
const build = require('./default.build.options.js')
|
||||
|
||||
module.exports = { coin, crypto, user, styles, build }
|
||||
module.exports = { coin, crypto, user, styles, build }
|
@ -4,132 +4,132 @@ const { makeSourceAbsolute } = require('../tooling/utils.js')
|
||||
const srcDir = '../src'
|
||||
|
||||
const options = {
|
||||
inputFile: path.join(__dirname, '../src/main.js'),
|
||||
outputDir: path.join(__dirname, '../build'),
|
||||
sassOutputDir: path.join(__dirname, '../build/styles.bundle.css'),
|
||||
imgDir: path.join(__dirname, '../img')
|
||||
inputFile: path.join(__dirname, '../src/main.js'),
|
||||
outputDir: path.join(__dirname, '../build'),
|
||||
sassOutputDir: path.join(__dirname, '../build/styles.bundle.css'),
|
||||
imgDir: path.join(__dirname, '../img')
|
||||
}
|
||||
|
||||
const aliases = {
|
||||
'qortal-ui-crypto': '../../crypto/api.js'
|
||||
'qortal-ui-crypto': '../../crypto/api.js'
|
||||
}
|
||||
|
||||
const apiComponents = {
|
||||
api: {
|
||||
file: '../../crypto/api.js',
|
||||
className: 'api'
|
||||
}
|
||||
api: {
|
||||
file: '../../crypto/api.js',
|
||||
className: 'api'
|
||||
}
|
||||
}
|
||||
|
||||
const functionalComponents = {
|
||||
'loading-ripple': {
|
||||
file: 'functional-components/loading-ripple.js',
|
||||
className: 'LoadingRipple'
|
||||
},
|
||||
'confirm-transaction-dialog': {
|
||||
file: 'functional-components/confirm-transaction-dialog',
|
||||
className: 'ConfirmTransactionDialog'
|
||||
}
|
||||
'loading-ripple': {
|
||||
file: 'functional-components/loading-ripple.js',
|
||||
className: 'LoadingRipple'
|
||||
},
|
||||
'confirm-transaction-dialog': {
|
||||
file: 'functional-components/confirm-transaction-dialog',
|
||||
className: 'ConfirmTransactionDialog'
|
||||
}
|
||||
}
|
||||
|
||||
const inlineComponents = [
|
||||
{
|
||||
className: 'worker',
|
||||
input: path.join(__dirname, srcDir, 'worker.js'),
|
||||
output: 'worker.js'
|
||||
},
|
||||
{
|
||||
className: 'PluginMainJSLoader',
|
||||
input: path.join(__dirname, srcDir, '/plugins/plugin-mainjs-loader.js'),
|
||||
output: 'plugins/plugin-mainjs-loader.js'
|
||||
}
|
||||
{
|
||||
className: 'worker',
|
||||
input: path.join(__dirname, srcDir, 'worker.js'),
|
||||
output: 'worker.js'
|
||||
},
|
||||
{
|
||||
className: 'PluginMainJSLoader',
|
||||
input: path.join(__dirname, srcDir, '/plugins/plugin-mainjs-loader.js'),
|
||||
output: 'plugins/plugin-mainjs-loader.js'
|
||||
}
|
||||
]
|
||||
|
||||
const elementComponents = {
|
||||
'main-app': {
|
||||
file: 'components/main-app.js',
|
||||
className: 'MainApp',
|
||||
children: {
|
||||
'app-styles': {
|
||||
file: 'styles/app-styles.js',
|
||||
className: 'AppStyles',
|
||||
children: {
|
||||
'app-theme': {
|
||||
className: 'AppTheme',
|
||||
file: 'styles/app-theme.js'
|
||||
}
|
||||
}
|
||||
},
|
||||
'app-view': {
|
||||
file: 'components/app-view.js',
|
||||
className: 'AppView',
|
||||
children: {
|
||||
'show-plugin': {
|
||||
file: 'components/show-plugin.js',
|
||||
className: 'ShowPlugin'
|
||||
},
|
||||
'wallet-profile': {
|
||||
file: 'components/wallet-profile.js',
|
||||
className: 'WalletProfile'
|
||||
},
|
||||
'app-info': {
|
||||
file: 'components/app-info.js',
|
||||
className: 'AppInfo'
|
||||
}
|
||||
}
|
||||
},
|
||||
'login-view': {
|
||||
file: 'components/login-view/login-view.js',
|
||||
className: 'LoginView',
|
||||
children: {
|
||||
'create-account-section': {
|
||||
file: 'components/login-view/create-account-section.js',
|
||||
className: 'CreateAccountSection'
|
||||
},
|
||||
'login-section': {
|
||||
file: 'components/login-view/login-section.js',
|
||||
className: 'LoginSection'
|
||||
}
|
||||
}
|
||||
},
|
||||
'settings-view': {
|
||||
file: 'components/settings-view/user-settings.js',
|
||||
className: 'UserSettings',
|
||||
children: {
|
||||
'account-view': {
|
||||
file: 'components/settings-view/account-view.js',
|
||||
className: 'AccountView'
|
||||
},
|
||||
'security-view': {
|
||||
file: 'components/settings-view/security-view.js',
|
||||
className: 'SecurityView'
|
||||
},
|
||||
'qr-login-view': {
|
||||
file: 'components/settings-view/qr-login-view.js',
|
||||
className: 'QRLoginView'
|
||||
},
|
||||
'notifications-view': {
|
||||
file: 'components/settings-view/notifications-view.js',
|
||||
className: 'NotificationsView'
|
||||
}
|
||||
}
|
||||
},
|
||||
'user-info-view': {
|
||||
file: 'components/user-info-view/user-info-view.js',
|
||||
className: 'UserInfoView'
|
||||
}
|
||||
}
|
||||
}
|
||||
'main-app': {
|
||||
file: 'components/main-app.js',
|
||||
className: 'MainApp',
|
||||
children: {
|
||||
'app-styles': {
|
||||
file: 'styles/app-styles.js',
|
||||
className: 'AppStyles',
|
||||
children: {
|
||||
'app-theme': {
|
||||
className: 'AppTheme',
|
||||
file: 'styles/app-theme.js'
|
||||
}
|
||||
}
|
||||
},
|
||||
'app-view': {
|
||||
file: 'components/app-view.js',
|
||||
className: 'AppView',
|
||||
children: {
|
||||
'show-plugin': {
|
||||
file: 'components/show-plugin.js',
|
||||
className: 'ShowPlugin'
|
||||
},
|
||||
'wallet-profile': {
|
||||
file: 'components/wallet-profile.js',
|
||||
className: 'WalletProfile'
|
||||
},
|
||||
'app-info': {
|
||||
file: 'components/app-info.js',
|
||||
className: 'AppInfo'
|
||||
}
|
||||
}
|
||||
},
|
||||
'login-view': {
|
||||
file: 'components/login-view/login-view.js',
|
||||
className: 'LoginView',
|
||||
children: {
|
||||
'create-account-section': {
|
||||
file: 'components/login-view/create-account-section.js',
|
||||
className: 'CreateAccountSection'
|
||||
},
|
||||
'login-section': {
|
||||
file: 'components/login-view/login-section.js',
|
||||
className: 'LoginSection'
|
||||
}
|
||||
}
|
||||
},
|
||||
'settings-view': {
|
||||
file: 'components/settings-view/user-settings.js',
|
||||
className: 'UserSettings',
|
||||
children: {
|
||||
'account-view': {
|
||||
file: 'components/settings-view/account-view.js',
|
||||
className: 'AccountView'
|
||||
},
|
||||
'security-view': {
|
||||
file: 'components/settings-view/security-view.js',
|
||||
className: 'SecurityView'
|
||||
},
|
||||
'qr-login-view': {
|
||||
file: 'components/settings-view/qr-login-view.js',
|
||||
className: 'QRLoginView'
|
||||
},
|
||||
'notifications-view': {
|
||||
file: 'components/settings-view/notifications-view.js',
|
||||
className: 'NotificationsView'
|
||||
}
|
||||
}
|
||||
},
|
||||
'user-info-view': {
|
||||
file: 'components/user-info-view/user-info-view.js',
|
||||
className: 'UserInfoView'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
makeSourceAbsolute(path.join(__dirname, srcDir), elementComponents)
|
||||
makeSourceAbsolute(path.join(__dirname, srcDir), functionalComponents)
|
||||
|
||||
module.exports = {
|
||||
options,
|
||||
elementComponents,
|
||||
functionalComponents,
|
||||
inlineComponents,
|
||||
apiComponents,
|
||||
aliases
|
||||
}
|
||||
options,
|
||||
elementComponents,
|
||||
functionalComponents,
|
||||
inlineComponents,
|
||||
apiComponents,
|
||||
aliases
|
||||
}
|
@ -1,11 +1,11 @@
|
||||
const coin = {
|
||||
name: 'Qortal',
|
||||
symbol: 'QORT',
|
||||
addressCount: 1,
|
||||
addressVersion: 58,
|
||||
decimals: 100000000,
|
||||
logo: '/img/QORT_LOGO.png',
|
||||
icon: '/img/QORT_LOGO.png'
|
||||
name: 'Qortal',
|
||||
symbol: 'QORT',
|
||||
addressCount: 1,
|
||||
addressVersion: 58,
|
||||
decimals: 100000000,
|
||||
logo: '/img/QORT_LOGO.png',
|
||||
icon: '/img/QORT_LOGO.png'
|
||||
}
|
||||
|
||||
module.exports = coin
|
||||
module.exports = coin
|
@ -1,11 +1,11 @@
|
||||
const crypto = {
|
||||
kdfThreads: 16,
|
||||
staticSalt: '4ghkVQExoneGqZqHTMMhhFfxXsVg2A75QeS1HCM5KAih', // Base58 encoded
|
||||
bcryptRounds: 11, // Note it's kinda bcryptRounds * log.2.16, cause it runs on all 16 threads
|
||||
bcryptVersion: '2a',
|
||||
get staticBcryptSalt () {
|
||||
return `$${this.bcryptVersion}$${this.bcryptRounds}$IxVE941tXVUD4cW0TNVm.O`
|
||||
}
|
||||
kdfThreads: 16,
|
||||
staticSalt: '4ghkVQExoneGqZqHTMMhhFfxXsVg2A75QeS1HCM5KAih', // Base58 encoded
|
||||
bcryptRounds: 11, // Note it's kinda bcryptRounds * log.2.16, cause it runs on all 16 threads
|
||||
bcryptVersion: '2a',
|
||||
get staticBcryptSalt() {
|
||||
return `$${this.bcryptVersion}$${this.bcryptRounds}$IxVE941tXVUD4cW0TNVm.O`
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = crypto
|
||||
module.exports = crypto
|
@ -1,40 +1,41 @@
|
||||
const styles = {
|
||||
breakpoints: {
|
||||
desktop: '',
|
||||
laptop: '',
|
||||
tablet: '',
|
||||
mobile: ''
|
||||
},
|
||||
theme: {
|
||||
colors: {
|
||||
primary: '#03a9f4', /* Sets the text color to the theme primary color. */
|
||||
primaryBg: '#e8eaf6', /* Sets the background color to the theme primary color. */
|
||||
onPrimary: '#fff', /* Sets the text color to the color configured for text on the primary color. */
|
||||
breakpoints: {
|
||||
desktop: '',
|
||||
laptop: '',
|
||||
tablet: '',
|
||||
mobile: ''
|
||||
},
|
||||
theme: {
|
||||
colors: {
|
||||
primary: '#03a9f4', /* Sets the text color to the theme primary color. */
|
||||
primaryBg: '#e8eaf6', /* Sets the background color to the theme primary color. */
|
||||
onPrimary: '#fff', /* Sets the text color to the color configured for text on the primary color. */
|
||||
|
||||
secondary: '#03a9f4', /* Sets the text color to the theme secondary color. */
|
||||
secondaryBg: '#fce4ec', /* Sets the background color to the theme secondary color. */
|
||||
onSecondary: '#fff', /* Sets the text color to the color configured for text on the secondary color. */
|
||||
secondary: '#03a9f4', /* Sets the text color to the theme secondary color. */
|
||||
secondaryBg: '#fce4ec', /* Sets the background color to the theme secondary color. */
|
||||
onSecondary: '#fff', /* Sets the text color to the color configured for text on the secondary color. */
|
||||
|
||||
surface: '#fff', /* Sets the background color to the surface background color. */
|
||||
onSurface: '#333', /* Sets the text color to the color configured for text on the surface color. */
|
||||
background: '#eee', /* Sets the background color to the theme background color. */
|
||||
surface: '#fff', /* Sets the background color to the surface background color. */
|
||||
onSurface: '#333', /* Sets the text color to the color configured for text on the surface color. */
|
||||
background: '#eee', /* Sets the background color to the theme background color. */
|
||||
|
||||
warning: '#FFA000',
|
||||
error: '#F44336'
|
||||
},
|
||||
warning: '#FFA000',
|
||||
error: '#F44336'
|
||||
},
|
||||
|
||||
addressColors: [
|
||||
'#256480',
|
||||
'#002530',
|
||||
'#02564e',
|
||||
'#d32f2f',
|
||||
'#795548',
|
||||
'#004d40',
|
||||
'#006064',
|
||||
'#9c27b0',
|
||||
'#2196f3',
|
||||
'#d81b60'
|
||||
]
|
||||
}
|
||||
addressColors: [
|
||||
'#256480',
|
||||
'#002530',
|
||||
'#02564e',
|
||||
'#d32f2f',
|
||||
'#795548',
|
||||
'#004d40',
|
||||
'#006064',
|
||||
'#9c27b0',
|
||||
'#2196f3',
|
||||
'#d81b60'
|
||||
]
|
||||
}
|
||||
}
|
||||
module.exports = styles
|
||||
|
||||
module.exports = styles
|
@ -1,46 +1,43 @@
|
||||
const path = require('path')
|
||||
|
||||
const user = {
|
||||
node: 0,
|
||||
nodeSettings: {
|
||||
pingInterval: 30 * 1000,
|
||||
},
|
||||
server: {
|
||||
writeHosts: {
|
||||
enabled: true,
|
||||
},
|
||||
relativeTo: path.join(__dirname, '../'),
|
||||
primary: {
|
||||
domain: '0.0.0.0',
|
||||
address: '0.0.0.0',
|
||||
port: 12388,
|
||||
directory: './src/',
|
||||
page404: './src/404.html',
|
||||
host: '0.0.0.0',
|
||||
},
|
||||
},
|
||||
tls: {
|
||||
enabled: false,
|
||||
options: {
|
||||
key: '',
|
||||
cert: '',
|
||||
},
|
||||
},
|
||||
constants: {
|
||||
pollingInterval: 30 * 1000, // How long between checking for new unconfirmed transactions and new blocks (in milliseconds).
|
||||
workerURL: '/build/worker.js',
|
||||
},
|
||||
node: 0,
|
||||
nodeSettings: {
|
||||
pingInterval: 30 * 1000
|
||||
},
|
||||
server: {
|
||||
writeHosts: {
|
||||
enabled: true
|
||||
},
|
||||
relativeTo: path.join(__dirname, '../'),
|
||||
primary: {
|
||||
domain: '0.0.0.0',
|
||||
address: '0.0.0.0',
|
||||
port: 12388,
|
||||
directory: './src/',
|
||||
page404: './src/404.html',
|
||||
host: '0.0.0.0'
|
||||
}
|
||||
},
|
||||
tls: {
|
||||
enabled: false,
|
||||
options: {
|
||||
key: '',
|
||||
cert: ''
|
||||
}
|
||||
},
|
||||
constants: {
|
||||
pollingInterval: 30 * 1000, // How long between checking for new unconfirmed transactions and new blocks (in milliseconds).
|
||||
workerURL: '/build/worker.js'
|
||||
},
|
||||
|
||||
// Notification Settings (All defaults to true)
|
||||
notifications: {
|
||||
q_chat: {
|
||||
playSound: true,
|
||||
showNotification: true,
|
||||
},
|
||||
block: {
|
||||
playSound: true,
|
||||
showNotification: true,
|
||||
},
|
||||
},
|
||||
// Notification Settings (All defaults to true)
|
||||
notifications: {
|
||||
q_chat: {
|
||||
playSound: true,
|
||||
showNotification: true
|
||||
}
|
||||
}
|
||||
}
|
||||
module.exports = user
|
||||
|
||||
module.exports = user
|
@ -1,21 +1,22 @@
|
||||
let config = require('./config.js')
|
||||
|
||||
const checkKeys = (storeObj, newObj) => {
|
||||
for (const key in newObj) {
|
||||
if (!Object.prototype.hasOwnProperty.call(storeObj, key)) return
|
||||
for (const key in newObj) {
|
||||
if (!Object.prototype.hasOwnProperty.call(storeObj, key)) return
|
||||
|
||||
if (typeof newObj[key] === 'object') {
|
||||
storeObj[key] = checkKeys(storeObj[key], newObj[key])
|
||||
} else {
|
||||
storeObj[key] = newObj[key]
|
||||
}
|
||||
}
|
||||
return storeObj
|
||||
if (typeof newObj[key] === 'object') {
|
||||
storeObj[key] = checkKeys(storeObj[key], newObj[key])
|
||||
} else {
|
||||
storeObj[key] = newObj[key]
|
||||
}
|
||||
}
|
||||
|
||||
return storeObj
|
||||
}
|
||||
|
||||
const getConfig = customConfig => {
|
||||
config = checkKeys(config, customConfig)
|
||||
return config
|
||||
config = checkKeys(config, customConfig)
|
||||
return config
|
||||
}
|
||||
|
||||
module.exports = getConfig
|
||||
module.exports = getConfig
|
BIN
core/font/TwemojiCountryFlags.woff2
Normal file
BIN
core/font/TwemojiCountryFlags.woff2
Normal file
Binary file not shown.
@ -101,3 +101,10 @@
|
||||
local('PaytoneOne'),
|
||||
url(PaytoneOne.ttf) format('truetype');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Twemoji Country Flags';
|
||||
src: url('TwemojiCountryFlags.woff2') format('woff2');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
@ -6,6 +6,7 @@ html {
|
||||
--plugback: #ffffff;
|
||||
--border: #d0d6de;
|
||||
--border2: #dde2e8;
|
||||
--border3: #080808;
|
||||
--copybutton: #707584;
|
||||
--chat-group: #080808;
|
||||
--chat-bubble: #9f9f9f0a;
|
||||
@ -66,6 +67,13 @@ html {
|
||||
--app-hr: rgba(0, 0, 0, .3);
|
||||
--code-block-text-color: #008fd5;
|
||||
--noavatar: url("/img/noavatar_light.png");
|
||||
--login-border: rgba(0, 167, 245);
|
||||
--login-border-50pct: rgba(0, 167, 245, 0.5);
|
||||
--login-border-10pct: rgba(0, 167, 245, 0.1);
|
||||
--login-button: rgb(3, 169, 244);
|
||||
--general-color-blue: #03a9f4;
|
||||
--qchat-name: #03a9f4;
|
||||
--qchat-my-name: #05be0e;
|
||||
}
|
||||
|
||||
html[theme="dark"] {
|
||||
@ -76,6 +84,7 @@ html[theme="dark"] {
|
||||
--plugback: #0f1a2e;
|
||||
--border: #0b305e;
|
||||
--border2: #0b305e;
|
||||
--border3: #767676;
|
||||
--copybutton: #d0d6de;
|
||||
--chat-group: #ffffff;
|
||||
--chat-bubble: #9694941a;
|
||||
@ -136,4 +145,11 @@ html[theme="dark"] {
|
||||
--app-hr: rgba(255, 255, 255, .3);
|
||||
--code-block-text-color: #008fd5;
|
||||
--noavatar: url("/img/noavatar_dark.png");
|
||||
--login-border: rgba(0, 167, 245);
|
||||
--login-border-50pct: rgba(0, 167, 245, 0.5);
|
||||
--login-border-10pct: rgba(0, 167, 245, 0.1);
|
||||
--login-button: rgb(3, 169, 244);
|
||||
--general-color-blue: #03a9f4;
|
||||
--qchat-name: #03a9f4;
|
||||
--qchat-my-name: #05be0e;
|
||||
}
|
@ -8,6 +8,7 @@
|
||||
"dutch": "Niederländisch",
|
||||
"english": "Englisch",
|
||||
"estonian": "Estnisch",
|
||||
"finnish": "Finnisch",
|
||||
"french": "Französisch",
|
||||
"german": "Deutsch",
|
||||
"hindi": "Hindi",
|
||||
@ -79,7 +80,7 @@
|
||||
"tm32": "Diesem Konto folgt keinem Benutzer",
|
||||
"tm33": "Registerkartenmenü importieren",
|
||||
"tm34": "Registerkartenmenü Exportieren",
|
||||
"tm35": "Ihr vorhandenes Tab-Menü wird gelöscht und auf das hochgeladene Tab-Menü gesetzt.",
|
||||
"tm35": "Ihr vorhandenes Tab-Menü wird gelöscht und auf das importiert Tab-Menü gesetzt.",
|
||||
"tm36": "Tab-Menü erfolgreich wiederhergestellt",
|
||||
"tm37": "Tab-Menü erfolgreich gespeichert als",
|
||||
"tm38": "DEV-MODUS",
|
||||
@ -97,43 +98,43 @@
|
||||
"youraccounts": "Ihre Konten",
|
||||
"clickto": "Klicken Sie auf Ihr Konto, um sich damit anzumelden",
|
||||
"needcreate": "Sie müssen ein Konto erstellen oder speichern, bevor Sie sich anmelden können!",
|
||||
"upload": "Laden Sie Ihr Qortal-Backup hoch",
|
||||
"upload": "Importieren Sie Ihre Qortal Backup-Datei",
|
||||
"howlogin": "Wie möchten Sie sich anmelden?",
|
||||
"seed": "Seedphrase",
|
||||
"seedphrase": "seedphrase",
|
||||
"saved": "Gespeichertes Konto",
|
||||
"qora": "Qora Adresssamen",
|
||||
"backup": "Qortal wallet backup",
|
||||
"decrypt": "Entschlüssel Sicherung",
|
||||
"qora": "QORA Adresssamen",
|
||||
"backup": "Qortal-Sicherungsdatei",
|
||||
"decrypt": "Sicherungsdatei entschlüsseln",
|
||||
"save": "In diesem Browser speichern.",
|
||||
"prepare": "Vorbereiten Ihres Kontos",
|
||||
"areyousure": "Möchten Sie dieses Wallet wirklich aus den gespeicherten Wallets entfernen?",
|
||||
"error1": "Sicherung muss gültiges JSON format sein",
|
||||
"prepare": "Vorbereiten Ihres Kontos...",
|
||||
"areyousure": "Möchten Sie dieses Wallet wirklich aus den gespeicherten Wallets entfernen? (Wenn es entfernt wird und keine Sicherungsdatei vorhanden ist, könnte das Konto für immer verloren gehen! Stellen Sie sicher, dass Sie über eine Sicherungsdatei verfügen, bevor Sie dies tun!)",
|
||||
"error1": "Die Sicherungsdatei muss gültiges JSON sein",
|
||||
"error2": "Anmeldeoption nicht ausgewählt",
|
||||
"createwelcome": "Willkommen bei Qortal, Sie werden feststellen, dass es dem eines RPG-Spiels ähnelt. Sie als Minter im Qortal-Netzwerk (wenn Sie sich dafür entscheiden, einer zu werden) haben die Möglichkeit, Ihr Konto zu verbessern, wodurch Sie mehr von der QORT-Block-Belohnung haben und auch einen größeren Einfluss auf das Netzwerk in Bezug auf die Abstimmung über Entscheidungen für die Plattform zu haben.",
|
||||
"createwelcome": "Willkommen bei Qortal! Ihre dezentrale digitale Zukunft erwartet Sie! Nur bei Qortal haben Sie die absolute Kontrolle über Ihre Daten. Qortal bietet die Basisebene einer neuen, vollständig benutzergesteuerten digitalen Welt.",
|
||||
"createa": "Eine",
|
||||
"click": "Klicken Sie hier, um die Seedphrase anzuzeigen",
|
||||
"confirmpass": "Passwort bestätigen",
|
||||
"willbe": "wird zufällig im Hintergrund generiert. Diese wird als Ihr privater Schlüsselgenerator für Ihr Blockchain-Konto in Qortal verwendet.",
|
||||
"willbe": "wird zufällig im Hintergrund generiert. Wenn Sie die Seedphrase ANZEIGEN möchten, klicken Sie in diesem Text auf die hervorgehobene „Seedphrase“. Dies wird als Ihr privater Schlüsselgenerator für Ihr Blockchain-Konto in Qortal verwendet. Aus Sicherheitsgründen werden Seedphrases standardmäßig nicht angezeigt, es sei denn, dies wurde ausdrücklich ausgewählt.",
|
||||
"clicknext": "Erstellen Sie Ihr Qortal-Konto, indem Sie unten auf WEITER klicken.",
|
||||
"ready": "Ihr Konto kann jetzt erstellt werden. Es wird in diesem Browser gespeichert. Wenn Sie nicht möchten, dass Ihr neues Konto in Ihrem Browser gespeichert wird, können Sie das Kontrollkästchen unten deaktivieren. Sie können sich weiterhin mit Ihrem neuen Konto anmelden (nachdem Sie sich abgemeldet haben), indem Sie Ihre Brieftaschen-Sicherungsdatei verwenden, die Sie herunterladen MÜSSEN, sobald Sie Ihr Konto erstellt haben.",
|
||||
"ready": "Ihr Konto kann jetzt erstellt werden. Es wird standardmäßig in verschlüsselter Form in dieser Kopie der Qortal-Benutzeroberfläche gespeichert. Wenn Sie nicht möchten, dass Ihr neues Konto hier gespeichert wird, können Sie das Kontrollkästchen unten deaktivieren. Sie können sich weiterhin mit Ihrem neuen Konto anmelden (nachdem Sie sich abgemeldet haben) und dabei Ihre Wallet-Sicherungsdatei verwenden, die Sie nach der Erstellung Ihres Kontos unbedingt herunterladen müssen.",
|
||||
"welmessage": "Willkommen bei Qortal",
|
||||
"pleaseenter": "Bitte Passwort eingeben!",
|
||||
"notmatch": "Passwörter stimmen nicht überein!",
|
||||
"notmatch": "Hoppla! Passwörter stimmen nicht überein! Versuchen Sie es erneut!",
|
||||
"lessthen8": "Ihr Passwort hat weniger als 5 Zeichen! Dies wird nicht empfohlen. Sie können diese Warnung weiterhin ignorieren.",
|
||||
"lessthen8-2": "Ihr Passwort hat weniger als 5 Zeichen!",
|
||||
"entername": "Bitte geben Sie einen Namen ein!",
|
||||
"downloaded": "Ihre Wallet BackUp-Datei wird heruntergeladen!",
|
||||
"entername": "Bitte geben Sie einen Anzeigenamen ein!",
|
||||
"downloaded": "Ihre Wallet-Backup-Datei wurde gespeichert!",
|
||||
"loading": "Wird geladen, bitte warten...",
|
||||
"createdseed": "Ihre erstellte Seedphrase",
|
||||
"createdseed": "Ihre erstellte Seedphrase:",
|
||||
"saveseed": "Seedphrase speichern",
|
||||
"savein": "Im Browser speichern",
|
||||
"backup2": "Diese Datei ist die EINZIGE Möglichkeit, auf Ihr Konto auf einem System zuzugreifen, auf dem das Konto nicht in der App oder im Browser gespeichert ist. SICHERN SIE DIESE DATEI AN MEHREREN ORTEN. Die Datei wird sehr sicher verschlüsselt und mit Ihrem lokalen Passwort, das Sie im vorherigen Schritt erstellt haben, entschlüsselt. Sie können es überall sicher speichern, aber stellen Sie sicher, dass Sie dies an mehreren Orten tun.",
|
||||
"savein": "Speichern Sie in dieser Benutzeroberfläche",
|
||||
"backup2": "Diese Datei ist (standardmäßig) die EINZIGE Möglichkeit, auf Ihr Konto zuzugreifen, sofern sie nicht in der Benutzeroberfläche gespeichert wird. Stellen Sie sicher, dass Sie diese Datei an mehreren Orten sichern. Die Datei wird sehr sicher verschlüsselt und mit Ihrem lokalen Passwort, das Sie im vorherigen Schritt erstellt haben, entschlüsselt. Sie können es überall sicher speichern, aber achten Sie darauf, dass Sie dies an mehreren Orten tun.",
|
||||
"savewallet": "Speichern Sie die Wallet-Sicherungsdatei",
|
||||
"created1": "Ihr Konto ist jetzt erstellt",
|
||||
"created2": " und wird in diesem Browser gespeichert.",
|
||||
"downloadbackup": "Laden Sie die Wallet-Sicherungsdatei herunter",
|
||||
"passwordhint": "Ein Passwort muss mindestens 5 Zeichen lang sein.",
|
||||
"created2": " und in verschlüsselter Form in dieser Benutzeroberfläche gespeichert.",
|
||||
"downloadbackup": "Speichern Sie die Wallet-BackUp-Datei",
|
||||
"passwordhint": "Das Passwort muss mindestens 5 Zeichen lang sein.",
|
||||
"lp1": "Bildschirm sperren",
|
||||
"lp2": "Es ist kein Passwort für den Sperrbildschirm festgelegt!",
|
||||
"lp3": "Bitte legen Sie eins fest",
|
||||
@ -162,8 +163,8 @@
|
||||
"confirmlogout": "Möchten Sie sich wirklich abmelden?"
|
||||
},
|
||||
"fragfile": {
|
||||
"selectfile": "Datei auswählen",
|
||||
"dragfile": "Backup per Drag-and-Drop hierher ziehen"
|
||||
"selectfile": "Wählen Sie die Sicherungsdatei aus",
|
||||
"dragfile": "Ziehen Sie die Datei per Drag-and-Drop oder klicken Sie hier, um die Sicherungsdatei auszuwählen"
|
||||
},
|
||||
"settings": {
|
||||
"generalinfo": "Allgemeine Kontoinformationen",
|
||||
@ -180,20 +181,19 @@
|
||||
"notifications": "Benachrichtigungen",
|
||||
"accountsecurity": "Konto Sicherheit",
|
||||
"password": "Passwort",
|
||||
"download": "Sicherungsdatei herunterladen",
|
||||
"choose": "Bitte wählen Sie ein Passwort, um Ihr Backup zu verschlüsseln. (Dies kann dasselbe sein wie das, mit dem Sie sich angemeldet haben, oder ein anderes)",
|
||||
"block": "Block Benachrichtigungen (Kommt bald...)",
|
||||
"download": "Sicherungsdatei exportieren/speichern",
|
||||
"choose": "Bitte geben Sie ein Passwort ein, um Ihre Sicherungsdatei zu verschlüsseln. (Dies kann dasselbe sein wie das, mit dem Sie sich angemeldet haben, oder ein neues.)",
|
||||
"playsound": "Ton abspielen",
|
||||
"shownotifications": "Zeige Benachrichtigungen",
|
||||
"nodeurl": "Knotenverbindung",
|
||||
"nodehint": "Wählen Sie einen Knoten aus der Standardliste der Knoten oben aus oder fügen Sie der obigen Liste einen benutzerdefinierten Knoten hinzu, indem Sie auf die Schaltfläche unten klicken",
|
||||
"nodehint": "Wählen Sie einen Knoten aus der Standardliste aus oder fügen Sie der Liste einen benutzerdefinierten Knoten hinzu, indem Sie auf die Schaltfläche unten klicken",
|
||||
"addcustomnode": "Benutzerdefinierten Knoten hinzufügen",
|
||||
"addandsave": "Hinzufügen und speichern",
|
||||
"protocol": "Protokoll",
|
||||
"domain": "Domain",
|
||||
"port": "Port",
|
||||
"import": "Knoten Importieren",
|
||||
"export": "Knoten Exportieren",
|
||||
"import": "Gespeicherte Knoten importieren",
|
||||
"export": "Gespeicherte Knoten exportieren",
|
||||
"deletecustomnode": "Alle benutzerdefinierten Knoten entfernen",
|
||||
"warning": "Ihre bestehenden Knoten werden gelöscht und aus dem Backup neu erstellt.",
|
||||
"snack1": "Benutzerdefinierten Knoten erfolgreich gelöscht und Standardknoten hinzugefügt",
|
||||
@ -203,17 +203,18 @@
|
||||
"snack5": "Knoten erfolgreich importiert",
|
||||
"snack6": "Benutzerdefinierter Knoten erfolgreich entfernt",
|
||||
"snack7": "Benutzerdefinierter Knoten erfolgreich bearbeitet",
|
||||
"exp1": "Privaten Hauptschlüssel exportieren",
|
||||
"exp1": "Master-Privatschlüssel exportieren (xpriv)",
|
||||
"exp2": "Hauptschlüssel exportieren",
|
||||
"exp3": "Exportieren",
|
||||
"exp4": "Bitte wählen Sie eine Brieftasche aus, um den privaten Hauptschlüssel zu sichern.",
|
||||
"core": "Core-Einstellungen starten",
|
||||
"exp4": "Bitte wählen Sie eine Wallet aus, um den privaten Master-Schlüssel zu sichern/exportieren.",
|
||||
"core": "Grundlegende Autostart-Einstellungen",
|
||||
"qappNotification1": "Q-App Benachrichtigungen",
|
||||
"selectnode": "Bitte wählen Sie eine Option",
|
||||
"arrr1": "ARRR-Wallet nicht initialisiert!",
|
||||
"arrr2": "Bitte gehen Sie zur Registerkarte „Wallet“ und initialisieren Sie zuerst Ihre arrr-Wallet.",
|
||||
"arrr2": "Bitte gehen Sie zur Registerkarte „Wallet“ und greifen Sie auf das ARRR-Wallet zu, um zuerst das Wallet zu initialisieren.",
|
||||
"arrr3": "Core-Update erforderlich!",
|
||||
"arrr4": "Um den privaten Schlüssel Ihrer arrr-Wallet zu speichern, benötigen Sie zuerst ein Core-Update!"
|
||||
"arrr4": "Um den privaten Schlüssel Ihres ARRR-Wallets zu speichern, müssen Sie zunächst den Qortal Core aktualisieren!",
|
||||
"sync_indicator": "Synchronisierungsanzeige-Popup deaktivieren"
|
||||
},
|
||||
"appinfo": {
|
||||
"blockheight": "Blockhöhe",
|
||||
@ -247,7 +248,9 @@
|
||||
"balance": "Guthaben",
|
||||
"balances": "IHR WALLET-GUTHABEN",
|
||||
"update": "AKTUALISIERE WALLET-GUTHABEN",
|
||||
"view": "Ansehen"
|
||||
"view": "Ansehen",
|
||||
"all": "Alle",
|
||||
"page": "Seite"
|
||||
},
|
||||
"gifs": {
|
||||
"gchange1": "GIF-Explorer",
|
||||
@ -282,15 +285,15 @@
|
||||
},
|
||||
"startminting": {
|
||||
"smchange1": "Prägekonten können nicht abgerufen werden",
|
||||
"smchange2": "Schlüssel konnte nicht entfernt werden",
|
||||
"smchange3": "Prägeschlüssel konnte nicht hinzugefügt werden",
|
||||
"smchange2": "Minting-Schlüssel konnte nicht entfernt werden",
|
||||
"smchange3": "Das Hinzufügen des Minting-Schlüssels ist fehlgeschlagen. Wenn der Schlüssel gerade erstellt wurde, warten Sie ein paar Blöcke und fügen Sie ihn erneut hinzu",
|
||||
"smchange4": "Sponsorship-Schlüssel kann nicht erstellt werden",
|
||||
"smchange5": "Beziehung schaffen",
|
||||
"smchange6": "Warten auf Bestätigung in der Blockchain",
|
||||
"smchange7": "Beziehung beenden",
|
||||
"smchange8": "Prägeschlüssel zum Knoten hinzufügen",
|
||||
"smchange9": "Vollständig",
|
||||
"smchange10": "Pro Node sind nur 2 Minting Keys erlaubt, Sie versuchen 3 Keys zuzuweisen, gehen Sie bitte zu Management - Node Management und entfernen Sie den Key, den Sie diesem Node nicht zuweisen möchten, danke!"
|
||||
"smchange10": "Pro Knoten sind nur 2 Minting-Schlüssel zulässig. Sie versuchen, 3 Schlüssel zuzuweisen. Gehen Sie bitte zur Knotenverwaltung und entfernen Sie alle unnötigen Schlüssel. Vielen Dank!"
|
||||
},
|
||||
"mintingpage": {
|
||||
"mchange1": "Allgemeine Prägedetails",
|
||||
@ -465,10 +468,10 @@
|
||||
"rchange6": "Empfänger",
|
||||
"rchange7": "Aktion",
|
||||
"rchange8": "Typ",
|
||||
"rchange9": "Level 1 - 4 können einen Self Share erstellen und Level 5 oder höher können einen Reward Share erstellen!",
|
||||
"rchange9": "Die Stufen 0–4 können nur Self-Share-(Minting-)Schlüssel erstellen. Nur Level 5 oder höher kann einen Prämienanteil erstellen!",
|
||||
"rchange10": "Öffentlicher Schlüssel des Empfängers",
|
||||
"rchange11": "Belohnungsanteil in Prozent",
|
||||
"rchange12": "Mache Etwas Leckeres",
|
||||
"rchange12": "Angeforderter Befehl wird ausgeführt...",
|
||||
"rchange13": "Füge Minting Konto hinzu",
|
||||
"rchange14": "Hinzufügen",
|
||||
"rchange15": "Dieses Konto ist nicht an Belohnungsanteile beteiligt",
|
||||
@ -506,12 +509,12 @@
|
||||
"nchange23": "Verkaufspreis",
|
||||
"nchange24": "Keine Namen zu verkaufen",
|
||||
"nchange25": "Name zu verkaufen",
|
||||
"nchange26": "Sind Sie sicher, dass Sie diesen Namen verkaufen möchten?",
|
||||
"nchange26": "Sind Sie sicher, dass Sie diesen Namen verkaufen möchten? Wenn der Name von einem anderen Konto gekauft wird, liegt dies außerhalb Ihrer Kontrolle!",
|
||||
"nchange27": "Für diesen Preis in QORT",
|
||||
"nchange28": "Beim Drücken auf Bestätigen wird die Anfrage zum Verkauf gesendet!",
|
||||
"nchange28": "Wenn Sie auf „Bestätigen“ klicken, wird Ihr Name zum Verkauf angeboten!",
|
||||
"nchange29": "Name zu stornieren",
|
||||
"nchange30": "Sind Sie sicher, den Verkauf für diesen Namen abzubrechen?",
|
||||
"nchange31": "Beim Drücken auf Bestätigen wird die Anfrage zum Stornieren des Verkaufs gesendet!",
|
||||
"nchange31": "Wenn Sie auf „Bestätigen“ klicken, wird der Namensverkauf abgebrochen!",
|
||||
"nchange32": "Namensverkaufsanfrage erfolgreich!",
|
||||
"nchange33": "Verkaufsnamensanfrage erfolgreich stornieren!",
|
||||
"nchange34": "Kaufname-Anfrage erfolgreich!",
|
||||
@ -548,7 +551,7 @@
|
||||
"schange15": "Blockierte Webseiten",
|
||||
"schange16": "Sie haben keine Webseiten blockiert",
|
||||
"schange17": "Name nicht gefunden!",
|
||||
"schange18": "Der Relay-Modus ist aktiviert. Dies bedeutet, dass Ihr Knoten dabei hilft, verschlüsselte Daten im Netzwerk zu transportieren, wenn ein Peer sie anfordert. Sie können sich per Einstellung abmelden, ändern Sie",
|
||||
"schange18": "Der Relaismodus ist aktiviert. Das bedeutet, dass Ihr Knoten dabei hilft, VERSCHLÜSSELTE/CHUNKIERTE Daten im Netzwerk zu transportieren, wenn ein Peer dies anfordert. Sie können sich per Einstellung abmelden",
|
||||
"schange19": "in",
|
||||
"schange20": "Der Relay-Modus ist deaktiviert. Sie können es durch Einstellung aktivieren, ändern Sie",
|
||||
"schange21": "Webseite veröffentlichen",
|
||||
@ -739,7 +742,8 @@
|
||||
"bchange51": "Um die Änderungen zu übermitteln, vergessen Sie nicht, auf ‚Profil aktualisieren‘ zu klicken",
|
||||
"bchange52": "Erteilen Sie dieser Anwendung die Berechtigung, Ihre Wallet-Informationen abzurufen?",
|
||||
"bchange53": "Erlaube immer, dass deine Freundesliste automatisch von allen Apps abgerufen wird",
|
||||
"bchange54": "Erteilen Sie dieser Anwendung die Berechtigung, auf Ihre Freundesliste zuzugreifen?"
|
||||
"bchange54": "Erteilen Sie dieser Anwendung die Berechtigung, auf Ihre Freundesliste zuzugreifen?",
|
||||
"bchange55": "Geben Sie dieser Anwendung die Erlaubnis, diesen Befehl zu senden?"
|
||||
},
|
||||
"datapage": {
|
||||
"dchange1": "Datenmanagement",
|
||||
@ -839,7 +843,7 @@
|
||||
"cchange74": "reagiert mit",
|
||||
"cchange75": "Anhang wird hochgeladen. Dies kann bis zu einer Minute dauern.",
|
||||
"cchange76": "Anhang wird gelöscht. Dies kann bis zu einer Minute dauern.",
|
||||
"cchange77": "Größe des Anhangs überschreitet 1 MB",
|
||||
"cchange77": "Größe des Anhangs überschreitet 10 MB",
|
||||
"cchange78": "Möchten Sie dieses Bild wirklich löschen?",
|
||||
"cchange79": "Möchten Sie diesen Anhang wirklich löschen?",
|
||||
"cchange80": "Dieses Bild wurde gelöscht",
|
||||
@ -852,7 +856,24 @@
|
||||
"cchange94": "geladen",
|
||||
"cchange95": "Nur meine Ressourcen",
|
||||
"cchange96": "Gruppenverwaltung öffnen",
|
||||
"cchange97": "Link zur Gruppe beitreten, in Zwischenablage kopiert"
|
||||
"cchange97": "Link zur Gruppe beitreten, in Zwischenablage kopiert",
|
||||
"cchange98": "Datei wird hochgeladen. Dies kann einige Minuten dauern.",
|
||||
"cchange99": "Datei wird gelöscht. Dies kann bis zu einer Minute dauern.",
|
||||
"cchange100": "Dateigröße überschreitet 125 MB",
|
||||
"cchange101": "Sind Sie sicher, dass Sie diese Datei löschen möchten?",
|
||||
"cchange102": "Diese Datei wurde gelöscht",
|
||||
"cchange103": "GIF wird hochgeladen. Dies kann bis zu einer Minute dauern.",
|
||||
"cchange104": "GIF wird gelöscht. Dies kann bis zu einer Minute dauern.",
|
||||
"cchange105": "Dateigröße überschreitet 3 MB",
|
||||
"cchange106": "Sind Sie sicher, dass Sie dieses GIF löschen möchten?",
|
||||
"cchange107": "Dieses GIF wurde gelöscht",
|
||||
"cchange108": "Der Download wird im Hintergrund fortgesetzt, es kann nur EINE Q-Chat-Datei gleichzeitig heruntergeladen werden.",
|
||||
"cchange109": "Dateityp nicht unterstützt!",
|
||||
"cchange110": "BILD HOCHLADEN",
|
||||
"cchange111": "GIF HOCHLADEN",
|
||||
"cchange112": "ANHANG HOCHLADEN",
|
||||
"cchange113": "DATEI HOCHLADEN",
|
||||
"cchange114": "Schreibe etwas …"
|
||||
},
|
||||
"welcomepage": {
|
||||
"wcchange1": "Willkommen zu Q-Chat",
|
||||
@ -944,7 +965,19 @@
|
||||
"gchange56": "Zu suchender Gruppenname",
|
||||
"gchange57": "Privater Gruppenname nicht gefunden",
|
||||
"gchange58": "Beachten Sie, dass der Gruppenname genau übereinstimmen muss.",
|
||||
"gchange59": "Ticker ein-/ausblenden"
|
||||
"gchange59": "Ticker ein-/ausblenden",
|
||||
"gchange60": "Bitte geben Sie den Gruppennamen ein",
|
||||
"gchange61": "Bitte Beschreibung eingeben",
|
||||
"gchange62": "Sind Sie sicher, dass Sie diese Gruppe AKTUALISIEREN möchten?",
|
||||
"gchange63": "Wenn Sie auf CONFIRM klicken, wird die UPDATE_GROUP Anfrage gesendet!",
|
||||
"gchange64": "Derzeitiger Besitzer / Neuer Besitzer",
|
||||
"gchange65": "Ersetzen Sie diese Adresse durch EIGENTUM der Gruppe übertragen!",
|
||||
"gchange66": "Ungültige Besitzer-/neue Besitzeradresse",
|
||||
"gchange67": "Gruppen-UPDATE erfolgreich!",
|
||||
"gchange68": "Gruppen-Avatar festlegen",
|
||||
"gchange69": "Nachrichten",
|
||||
"gchange70": "Keine Nachrichten in den letzten 24 Stunden!",
|
||||
"gchange71": "Du bist dieser Gruppe bereits beigetreten!"
|
||||
},
|
||||
"puzzlepage": {
|
||||
"pchange1": "Rätsel",
|
||||
@ -1287,5 +1320,104 @@
|
||||
"tour20": "Blocks dahinter. Möchten Sie eine Aktualisierung (Bootstrap) durchführen, um den Synchronisierungsprozess zu beschleunigen?",
|
||||
"tour21": "Verbleibende Blöcke.",
|
||||
"tour22": "Aktualisierung (Bootstrap) angefordert. Bitte warten."
|
||||
},
|
||||
"chatsettings": {
|
||||
"cs1": "Chat-Einstellungen",
|
||||
"cs2": "Allgemeine Chat-Einstellungen",
|
||||
"cs3": "Zeitstempel der Chat-Nachricht",
|
||||
"cs4": "Vorherige Zeit",
|
||||
"cs5": "Ortszeit",
|
||||
"cs6": "Schriftgröße der Chat-Nachricht",
|
||||
"cs7": "Standard",
|
||||
"cs8": "px"
|
||||
},
|
||||
"modals": {
|
||||
"mpchange1": "Alle angeforderten ATs müssen von derselben ausländischen Blockchain sein.",
|
||||
"mpchange2": "Geben Sie dieser Anwendung die Berechtigung, einen Kaufauftrag auszuführen?",
|
||||
"mpchange3": "Kaufauftrag erfolgreich erstellt",
|
||||
"mpchange4": "Bitte warten Sie, bis Kaufauftrag ausgeführt wurde",
|
||||
"mpchange5": "Kaufauftrag konnte nicht übermittelt werden.",
|
||||
"mpchange6": "Geben Sie dieser Anwendung die Berechtigung, einen Verkaufsauftrag auszuführen?",
|
||||
"mpchange7": "Für:",
|
||||
"mpchange8": "Verkaufsauftrag wurde erfolgreich erstellt.",
|
||||
"mpchange9": "Bitte warten Sie, bis der Verkaufsauftrag aufgelistet wird.",
|
||||
"mpchange10": "Verkaufsauftrag konnte nicht übermittelt werden.",
|
||||
"mpchange11": "AT-Informationen können nicht gefunden werden.",
|
||||
"mpchange12": "Geben Sie dieser Anwendung die Berechtigung, einen Verkaufsauftrag zu stornieren?",
|
||||
"mpchange13": "Verkaufsauftrag wurde erfolgreich storniert.",
|
||||
"mpchange14": "Bitte warten Sie, bis die Stornierung des Handels ausgeführt wurde.",
|
||||
"mpchange15": "Verkaufsauftrag konnte nicht storniert werden.",
|
||||
"mpchange16": "Fehler beim Abrufen der Liste.",
|
||||
"mpchange17": "Fehler beim Hinzufügen zur Liste.",
|
||||
"mpchange18": "Fehler beim Löschen der Liste.",
|
||||
"mpchange19": "Fehler beim Abrufen der Freundesliste.",
|
||||
"mpchange20": "Anzahl ist keine Zahl.",
|
||||
"mpchange21": "Anzahl fehlt.",
|
||||
"mpchange22": "Es wurden keine Daten oder Dateien übermittelt.",
|
||||
"mpchange23": "Zum Verschlüsseln von Daten sind öffentliche Schlüssel erforderlich.",
|
||||
"mpchange24": "Nur verschlüsselte Daten können in private Dienste gelangen.",
|
||||
"mpchange25": "Upload aufgrund fehlgeschlagener Verschlüsselung fehlgeschlagen.",
|
||||
"mpchange26": "Upload fehlgeschlagen.",
|
||||
"mpchange27": "Ungültige Daten.",
|
||||
"mpchange28": "Keine Ressourcen zum Veröffentlichen.",
|
||||
"mpchange29": "Unbekannter Fehler.",
|
||||
"mpchange30": "Umfrage nicht gefunden.",
|
||||
"mpchange31": "Bei der Umfrage konnte nicht abgestimmt werden.",
|
||||
"mpchange32": "Umfrage konnte nicht erstellt werden.",
|
||||
"mpchange33": "Bitte geben Sie einen Qortal-Link ein - qortal://...",
|
||||
"mpchange34": "Ungültiger Qortal-Link.",
|
||||
"mpchange35": "Fehler beim Senden der Benachrichtigung.",
|
||||
"mpchange36": "Nachricht konnte nicht gesendet werden.",
|
||||
"mpchange37": "An diesen Benutzer kann keine verschlüsselte Nachricht gesendet werden, da sein öffentlicher Schlüssel nicht in der Kette vorhanden ist.",
|
||||
"mpchange38": "Anforderung konnte nicht erfüllt werden.",
|
||||
"mpchange39": "Gruppe nicht gefunden.",
|
||||
"mpchange40": "Geben Sie dieser Anwendung die Berechtigung, eine Gruppenbeitrittsanforderung auszuführen?",
|
||||
"mpchange41": "Gruppenname:",
|
||||
"mpchange42": "Gruppen-ID:",
|
||||
"mpchange43": "Gruppenbeitrittsanforderung erfolgreich erstellt.",
|
||||
"mpchange44": "Fehler beimbeitreten der Gruppe.",
|
||||
"mpchange45": "Ein MIME-Typ konnte nicht abgeleitet werden.",
|
||||
"mpchange46": "Eine Dateierweiterung konnte nicht abgeleitet werden.",
|
||||
"mpchange47": "Benutzer hat den Download abgelehnt.",
|
||||
"mpchange48": "Download konnte nicht gestartet werden.",
|
||||
"mpchange49": "AT konnte nicht bereitgestellt werden.",
|
||||
"mpchange50": "Benutzer hat kein Profil.",
|
||||
"mpchange51": "Angeforderte Daten konnten nicht gefunden werden.",
|
||||
"mpchange52": "Profildaten konnten nicht abgerufen werden.",
|
||||
"mpchange53": "Eigenschaft konnte nicht festgelegt werden.",
|
||||
"mpchange54": "Profil konnte nicht geöffnet werden.",
|
||||
"mpchange55": "Fehler beim Abrufen der Serverinformationen.",
|
||||
"mpchange56": "Fehler in der Zusammenfassung der Sendeaktivität.",
|
||||
"mpchange57": "Fehler beim Abrufen der ausländischen Gebühr.",
|
||||
"mpchange58": "Fehler beim Aktualisieren der ausländischen Gebühr.",
|
||||
"mpchange59": "Fehler beim Abrufen des Serververbindungsverlaufs.",
|
||||
"mpchange60": "Fehler beim Festlegen des aktuellen Servers.",
|
||||
"mpchange61": "Fehler beim Hinzufügen des Servers.",
|
||||
"mpchange62": "Fehler beim Entfernen des Servers.",
|
||||
"mpchange63": "Fehler beim Abrufen der Zusammenfassung.",
|
||||
"mpchange64": "Transaktion konnte nicht dekodiert werden.",
|
||||
"mpchange65": "Geben Sie dieser Anwendung die Berechtigung, eine Transaktion zu signieren und zu verarbeiten?",
|
||||
"mpchange66": "Geben Sie dieser Anwendung die Berechtigung, eine Transaktion zu signieren?",
|
||||
"mpchange67": "Lesen Sie die Transaktion sorgfältig durch, bevor Sie sie akzeptieren.",
|
||||
"mpchange68": "Tx-Typ:",
|
||||
"mpchange69": "TX-Daten:",
|
||||
"mpchange70": "Transaktion verarbeiten wurde nicht angefordert.",
|
||||
"mpchange71": "Signierte Bytes sind: ",
|
||||
"mpchange72": "Transaktion erfolgreich signiert und verarbeitet.",
|
||||
"mpchange73": "Transaktion wurde kann nicht verarbeitet werden.",
|
||||
"mpchange74": "QORT-Guthaben konnte nicht abgerufen werden. Versuchen Sie es erneut!",
|
||||
"mpchange75": "Münze konnte nicht gesendet werden.",
|
||||
"mpchange76": "BTC-Guthaben konnte nicht abgerufen werden. Versuchen Sie es erneut!",
|
||||
"mpchange77": "LTC-Guthaben konnte nicht abgerufen werden. Versuchen Sie es erneut!",
|
||||
"mpchange78": "DOGE-Guthaben konnte nicht abgerufen werden. Versuchen Sie es erneut!",
|
||||
"mpchange79": "DGB-Guthaben konnte nicht abgerufen werden. Versuchen Sie es erneut!",
|
||||
"mpchange80": "RVN-Guthaben konnte nicht abgerufen werden. Versuchen Sie es erneut!",
|
||||
"mpchange81": "ARRR-Guthaben konnte nicht abgerufen werden. Versuchen Sie es erneut!",
|
||||
"mpchange82": "FEHLENDE FELDER",
|
||||
"mpchange83": "ABGELEHNT",
|
||||
"mpchange84": "FEHLER",
|
||||
"mpchange85": "ERFOLGREICH",
|
||||
"mpchange86": "Immer automatisches Abrufen des Wallet-Guthabens zulassen",
|
||||
"mpchange87": "Bitte geben Sie die Gruppen-ID ein"
|
||||
}
|
||||
}
|
||||
|
@ -8,6 +8,7 @@
|
||||
"dutch": "Holandés",
|
||||
"english": "Inglés",
|
||||
"estonian": "Estonio",
|
||||
"finnish": "Finlandés",
|
||||
"french": "Francés",
|
||||
"german": "Alemán",
|
||||
"hindi": "Hindi",
|
||||
@ -79,7 +80,7 @@
|
||||
"tm32": "Esta cuenta no sigue a ningún usuario",
|
||||
"tm33": "Menú de pestaña Importar",
|
||||
"tm34": "Menú de pestaña Exportar",
|
||||
"tm35": "Tu menú de pestañas existente se eliminará y se establecerá en el menú de pestañas cargado.",
|
||||
"tm35": "Su menú de pestañas existente se eliminará y se configurará como menú de pestañas importado.",
|
||||
"tm36": "Menú de pestañas restaurado con éxito",
|
||||
"tm37": "Menú de pestañas guardado correctamente como",
|
||||
"tm38": "MODO DEV",
|
||||
@ -102,37 +103,37 @@
|
||||
"seed": "Frasesemilla",
|
||||
"seedphrase": "frasesemilla",
|
||||
"saved": "Cuenta guardada",
|
||||
"qora": "Frase semilla de la dirección Qora",
|
||||
"backup": "Copia de seguridad del monedero Qortal",
|
||||
"decrypt": "Descifrar copia de seguridad",
|
||||
"qora": "Frase semilla de la dirección QORA",
|
||||
"backup": "Archivo de copia de seguridad Qortal",
|
||||
"decrypt": "Descifrar archivo de copia de seguridad",
|
||||
"save": "Guardar en este navegador.",
|
||||
"prepare": "Preparando tu cuenta",
|
||||
"areyousure": "¿Está seguro que desea eliminar este monedero de los monederos guardados?",
|
||||
"prepare": "Preparando tu cuenta...",
|
||||
"areyousure": "¿Está seguro de que desea eliminar esta billetera de las billeteras guardadas? (Si se elimina y no existe un archivo de respaldo, la cuenta podría perderse para siempre. ¡Asegúrese de tener un archivo de respaldo antes de hacer esto!)",
|
||||
"error1": "La copia de seguridad tiene que ser un JSON válido",
|
||||
"error2": "Opción de inicio de sesión no seleccionada",
|
||||
"createwelcome": "Bienvenido a Qortal, encontrarás que es similar a un juego de rol, usted, como minero en la red Qortal (si decide convertirse en uno) tendrá la oportunidad de subir de nivel su cuenta, dándole más de la recompensa del bloque QORT y también una mayor influencia sobre la red en términos de votación sobre las decisiones en la plataforma.",
|
||||
"createwelcome": "¡Bienvenidos a Qortal! ¡Tu futuro digital descentralizado te espera! En Qortal sólo tú tienes control absoluto sobre tus datos. Qortal proporciona el nivel básico de un mundo digital nuevo y totalmente controlado por el usuario.",
|
||||
"createa": "A",
|
||||
"click": "Haz clic para ver la frasesemilla",
|
||||
"confirmpass": "Confirmar Contraseña",
|
||||
"willbe": "Se generará aleatoriamente en segundo plano. Esto se utiliza como su generador de clave privada para su cuenta de blockchain en Qortal.",
|
||||
"willbe": "se generará aleatoriamente en segundo plano. Si desea VER la frase inicial, haga clic en la 'frase inicial' resaltada en este texto. Esto se utiliza como su generador de clave privada para su cuenta blockchain en Qortal. Por seguridad, de forma predeterminada, las frases iniciales no se muestran a menos que se elijan específicamente para ello.",
|
||||
"clicknext": "Crea tu cuenta Qortal haciendo clic en SIGUIENTE a continuación",
|
||||
"ready": "Su cuenta está lista para ser creada. Será guardada en este navegador. Si no quiere que su nueva cuenta sea guardada en el navegador, puede desmarcar la casilla de abajo. Podrá seguir accediendo con su nueva cuenta (después de cerrar la sesión), utilizando el archivo de copia de seguridad de su monedero que DEBE descargar una vez que haya creado su cuenta.",
|
||||
"ready": "Su cuenta ahora está lista para ser creada. Se guardará dentro de esta copia de la interfaz de usuario de Qortal de forma predeterminada, en forma cifrada. Si no desea que su nueva cuenta se guarde aquí, puede desmarcar la casilla a continuación. Aún podrá iniciar sesión con su nueva cuenta (después de cerrar sesión), utilizando el archivo de respaldo de su billetera que DEBE descargar una vez que cree su cuenta.",
|
||||
"welmessage": "Bienvenido a Qortal",
|
||||
"pleaseenter": "Por favor, introduzca una Contraseña!",
|
||||
"notmatch": "Las contraseñas no coinciden!",
|
||||
"notmatch": "¡Ups! ¡Las contraseñas no coinciden! ¡Intentar otra vez!",
|
||||
"lessthen8": "Su contraseña tiene menos de 5 caracteres! Esto no es recomendable. Puede continuar para ignorar esta advertencia.",
|
||||
"lessthen8-2": "Su contraseña tiene menos de 5 caracteres!",
|
||||
"entername": "Por favor, introduzca un Nombre!",
|
||||
"downloaded": "La copia de seguridad de su monedero ha sido descargada!",
|
||||
"entername": "¡Ingrese un nombre para mostrar!",
|
||||
"downloaded": "¡Se guardó su archivo de copia de seguridad de Wallet!",
|
||||
"loading": "Cargando, Por favor espere...",
|
||||
"createdseed": "Su Frasesemilla creada",
|
||||
"createdseed": "Su Frasesemilla creada:",
|
||||
"saveseed": "Guardar Frasesemilla",
|
||||
"savein": "Guardar en el navegador",
|
||||
"savein": "Guardar en esta UI",
|
||||
"backup2": "Este archivo es la ÚNICA manera de acceder a su cuenta en un sistema que no lo tenga guardado en la aplicación/navegador. ASEGÚRATE DE HACER UNA COPIA DE SEGURIDAD DE ESTE ARCHIVO EN VARIOS LUGARES. El archivo está encriptado de forma muy segura y descifrado con su contraseña local que creó en el paso anterior. Puedes guardarlo en cualquier lugar de forma segura, pero asegúrate de hacerlo en múltiples lugares.",
|
||||
"savewallet": "Guardar archivo de copia de seguridad del monedero",
|
||||
"created1": "Su cuenta ha sido creada",
|
||||
"created2": " y será guardada en el navegador.",
|
||||
"downloadbackup": "Descargar archivo de copia de seguridad del monedero",
|
||||
"created2": " y guardado en esta interfaz de usuario en forma cifrada.",
|
||||
"downloadbackup": "Guardar archivo de respaldo de Wallet",
|
||||
"passwordhint": "Una contraseña debe tener al menos 5 caracteres.",
|
||||
"lp1": "Pantalla de bloqueo",
|
||||
"lp2": "¡No se estableció una contraseña de pantalla de bloqueo!",
|
||||
@ -162,8 +163,8 @@
|
||||
"confirmlogout": "¿Está seguro que desea cerrar sesión?"
|
||||
},
|
||||
"fragfile": {
|
||||
"selectfile": "Seleccione un archivo",
|
||||
"dragfile": "Arrastra y suelta la copia de seguridad aquí"
|
||||
"selectfile": "Seleccionar archivo de respaldo",
|
||||
"dragfile": "Arrastre y suelte o haga clic aquí para seleccionar el archivo de respaldo"
|
||||
},
|
||||
"settings": {
|
||||
"generalinfo": "Información General de la Cuenta",
|
||||
@ -180,20 +181,19 @@
|
||||
"notifications": "Notificaciones",
|
||||
"accountsecurity": "Seguridad de la Cuenta",
|
||||
"password": "Contraseña",
|
||||
"download": "Descargar copia de seguridad",
|
||||
"choose": "Por favor, elija una contraseña para cifrar su copia de seguridad. (Puede ser la misma con la que ha iniciado la sesión, o diferente)",
|
||||
"block": "Bloquear Notificaciones (próximamente...)",
|
||||
"download": "Exportar/guardar archivo de copia de seguridad",
|
||||
"choose": "Elija una contraseña para cifrar su archivo de copia de seguridad. (Este puede ser el mismo con el que inició sesión o uno nuevo).",
|
||||
"playsound": "Reproducir Sonido",
|
||||
"shownotifications": "Mostrar Notificaciones",
|
||||
"nodeurl": "URL del Nodo",
|
||||
"nodehint": "Seleccione un nodo de la lista predeterminada de nodos de arriba o añada un nodo personalizado a la lista de arriba haciendo clic en el botón de abajo",
|
||||
"nodehint": "Seleccione un nodo de la lista predeterminada o agregue un nodo personalizado a la lista haciendo clic en el botón a continuación",
|
||||
"addcustomnode": "Añadir un Nodo Personalizado",
|
||||
"addandsave": "Añadir Y Guardar",
|
||||
"protocol": "Protocolo",
|
||||
"domain": "Dominio",
|
||||
"port": "Puerto",
|
||||
"import": "Importar Nodos",
|
||||
"export": "Exportar Nodos",
|
||||
"import": "Importar nodos guardados",
|
||||
"export": "Exportar Nodos guardados",
|
||||
"deletecustomnode": "Eliminar todos los nodos personalizados",
|
||||
"warning": "Sus nodos existentes se eliminarán y se crearán nuevos a partir de la copia de seguridad.",
|
||||
"snack1": "Nodos estándar eliminados y agregados con éxito",
|
||||
@ -203,17 +203,18 @@
|
||||
"snack5": "Nodos importados con éxito",
|
||||
"snack6": "Nodo personalizado eliminado exitosamente",
|
||||
"snack7": "Nodo personalizado editado con éxito",
|
||||
"exp1": "Exportar clave maestra privada",
|
||||
"exp1": "Exportar clave privada maestra (xpriv)",
|
||||
"exp2": "Exportar clave maestra",
|
||||
"exp3": "Exportar",
|
||||
"exp4": "Elija una billetera para hacer una copia de seguridad de la clave maestra privada.",
|
||||
"core": "Iniciar configuración básica",
|
||||
"exp4": "Elija una billetera para hacer una copia de seguridad de la clave privada maestra.",
|
||||
"core": "Configuración principal de inicio automático",
|
||||
"qappNotification1": "Notificaciones de Q-App",
|
||||
"selectnode": "Por favor seleccione una opción",
|
||||
"arrr1": "¡Cartera ARRR no inicializada!",
|
||||
"arrr2": "Por favor, vaya a la pestaña de billetera e inicialice su billetera arrr primero.",
|
||||
"arrr2": "Vaya a la pestaña de billetera y acceda a la billetera ARRR para inicializar la billetera primero.",
|
||||
"arrr3": "¡Necesita actualización principal!",
|
||||
"arrr4": "¡Para guardar la clave privada de tu billetera arrr, primero necesitas una actualización básica!"
|
||||
"arrr4": "¡Para guardar la clave privada de su billetera ARRR, primero debe actualizar Qortal Core!",
|
||||
"sync_indicator": "Desactivar la ventana emergente del indicador de sincronización"
|
||||
},
|
||||
"appinfo": {
|
||||
"blockheight": "Altura del Bloque",
|
||||
@ -247,7 +248,9 @@
|
||||
"balance": "Saldo",
|
||||
"balances": "LOS SALDOS DE TU BILLETERA",
|
||||
"update": "ACTUALIZAR SALDOS DE CARTERA",
|
||||
"view": "Vista"
|
||||
"view": "Vista",
|
||||
"all": "Todo",
|
||||
"page": "Página"
|
||||
},
|
||||
"gifs": {
|
||||
"gchange1": "Explorador de gifs",
|
||||
@ -282,15 +285,15 @@
|
||||
},
|
||||
"startminting": {
|
||||
"smchange1": "No se pueden obtener cuentas de acuñación",
|
||||
"smchange2": "No se pudo quitar la clave",
|
||||
"smchange3": "No se pudo agregar la clave de acuñación",
|
||||
"smchange2": "No se pudo eliminar la clave de acuñación",
|
||||
"smchange3": "No se pudo agregar la clave de acuñación. Si la clave se acaba de crear, intente esperar unos bloques y agregarla nuevamente.",
|
||||
"smchange4": "No se puede crear la clave de patrocinio",
|
||||
"smchange5": "Creando relación",
|
||||
"smchange6": "En espera de confirmación en blockchain",
|
||||
"smchange7": "Terminando la relación",
|
||||
"smchange8": "Agregar clave de acuñación al nodo",
|
||||
"smchange9": "Completo",
|
||||
"smchange10": "Solo se permiten 2 claves de acuñación por nodo, está intentando asignar 3 claves, vaya a administración - administración de nodos y elimine la clave que no desea asignar a este nodo, gracias!"
|
||||
"smchange10": "Solo se permiten 2 claves de acuñación por nodo. Está intentando asignar 3 claves. Vaya a Administración de nodos y elimine las claves innecesarias. ¡Gracias!"
|
||||
},
|
||||
"mintingpage": {
|
||||
"mchange1": "Detalles Generales de Acuñación",
|
||||
@ -465,10 +468,10 @@
|
||||
"rchange6": "Receptor",
|
||||
"rchange7": "Acción",
|
||||
"rchange8": "Tipo",
|
||||
"rchange9": "Los niveles de 1 a 4 pueden crear una Self Share y los niveles 5 o superior pueden crear una Reward Share!",
|
||||
"rchange9": "Los niveles 0 a 4 solo pueden crear claves Self-Share (acuñación). ¡Solo el nivel 5 o superior puede crear una recompensa compartida!",
|
||||
"rchange10": "Clave pública del receptor",
|
||||
"rchange11": "Porcentaje de Reward share",
|
||||
"rchange12": "Haciendo algo delicioso",
|
||||
"rchange12": "Ejecutando el comando solicitado",
|
||||
"rchange13": "Añadir cuenta de acuñación",
|
||||
"rchange14": "Añadir",
|
||||
"rchange15": "La cuenta no participa en ninguna reward share",
|
||||
@ -506,12 +509,12 @@
|
||||
"nchange23": "Precio de venta",
|
||||
"nchange24": "No hay nombres para vender",
|
||||
"nchange25": "Nombre para vender",
|
||||
"nchange26": "¿Estás seguro de vender este nombre?",
|
||||
"nchange26": "¿Estás seguro de que quieres vender este nombre? Si otra cuenta compra el nombre, ¡estará fuera de su control!",
|
||||
"nchange27": "Por este precio en QORT",
|
||||
"nchange28": "¡Al presionar confirmar, se enviará la solicitud de nombre de venta!",
|
||||
"nchange28": "¡Al presionar confirmar, su nombre aparecerá a la venta!",
|
||||
"nchange29": "Nombre para cancelar",
|
||||
"nchange30": "¿Está seguro de cancelar la venta de este nombre?",
|
||||
"nchange31": "¡Al presionar confirmar, se enviará la solicitud de cancelación de nombre de venta!",
|
||||
"nchange31": "¡Al presionar confirmar, la venta del nombre será cancelada!",
|
||||
"nchange32": "¡Solicitud de nombre de venta exitosa!",
|
||||
"nchange33": "¡Cancelar solicitud de venta de nombre exitosa!",
|
||||
"nchange34": "¡Solicitud de nombre de compra exitosa!",
|
||||
@ -548,7 +551,7 @@
|
||||
"schange15": "Sitios web bloqueados",
|
||||
"schange16": "No ha bloqueado ningún sitio web",
|
||||
"schange17": "Nombre no encontrado!",
|
||||
"schange18": "El modo de retransmisión está activado. Esto significa que tu nodo ayudará a transportar datos encriptados por la red cuando un par lo solicite. Puedes optar por no hacerlo configurando",
|
||||
"schange18": "El modo de retransmisión está habilitado (relayModeEnabled: true). Esto significa que su nodo ayudará a transportar datos CIFRADOS/CHUNKED por la red cuando un par lo solicite. Puede optar por no participar configurando",
|
||||
"schange19": "en",
|
||||
"schange20": "El modo de retransmisión está desactivado. Puede activarlo configurando",
|
||||
"schange21": "Publicar Sitio Web",
|
||||
@ -585,7 +588,7 @@
|
||||
"schange15": "Q-Apps bloqueadas",
|
||||
"schange16": "No has bloqueado ninguna Q-Apps",
|
||||
"schange17": "¡No se encontró el nombre!",
|
||||
"schange18": "El modo de retransmisión está habilitado. Esto significa que su nodo ayudará a transportar datos cifrados por la red cuando un par lo solicite. Puede optar por no hacerlo configurando",
|
||||
"schange18": "El modo de retransmisión está habilitado. Esto significa que su nodo ayudará a transportar datos CIFRADOS/CHUNKED por la red cuando un par lo solicite. Puede optar por no participar configurando",
|
||||
"schange19": "en",
|
||||
"schange20": "El modo de relé está deshabilitado. Puedes habilitarlo configurando",
|
||||
"schange21": "Publicar Q-App",
|
||||
@ -739,7 +742,8 @@
|
||||
"bchange51": "Para enviar los cambios no olvides hacer clic en 'Actualizar perfil'",
|
||||
"bchange52": "¿Le das permiso a esta aplicación para obtener la información de tu billetera?",
|
||||
"bchange53": "Permitir siempre que todas las aplicaciones recuperen automáticamente tu lista de amigos",
|
||||
"bchange54": "¿Le das permiso a esta aplicación para acceder a tu lista de amigos?"
|
||||
"bchange54": "¿Le das permiso a esta aplicación para acceder a tu lista de amigos?",
|
||||
"bchange55": "¿Le das permiso a esta aplicación para enviar este comando?"
|
||||
},
|
||||
"datapage": {
|
||||
"dchange1": "Gestión de datos",
|
||||
@ -839,7 +843,7 @@
|
||||
"cchange74": "reaccionó con",
|
||||
"cchange75": "Cargando archivo adjunto. Esto puede demorar hasta un minuto.",
|
||||
"cchange76": "Eliminando archivo adjunto. Esto puede demorar hasta un minuto.",
|
||||
"cchange77": "El tamaño del archivo adjunto supera 1 MB",
|
||||
"cchange77": "El tamaño del archivo adjunto supera 10 MB",
|
||||
"cchange78": "¿Está seguro de que desea eliminar esta imagen?",
|
||||
"cchange79": "¿Está seguro de que desea eliminar este archivo adjunto?",
|
||||
"cchange80": "Esta imagen ha sido eliminada",
|
||||
@ -852,7 +856,24 @@
|
||||
"cchange94": "cargado",
|
||||
"cchange95": "Sólo mis recursos",
|
||||
"cchange96": "Gestión de grupos abiertos",
|
||||
"cchange97": "Enlace para unirse al grupo copiado al portapapeles"
|
||||
"cchange97": "Enlace para unirse al grupo copiado al portapapeles",
|
||||
"cchange98": "Subiendo archivo. Esto puede tardar algunos minutos.",
|
||||
"cchange99": "Eliminando archivo. Esto puede tardar hasta un minuto.",
|
||||
"cchange100": "El tamaño del archivo supera los 125 MB",
|
||||
"cchange101": "¿Está seguro de que desea eliminar este archivo?",
|
||||
"cchange102": "Este archivo ha sido eliminado",
|
||||
"cchange103": "Subiendo gif. Esto puede tardar hasta un minuto.",
|
||||
"cchange104": "Eliminando gif. Esto puede tardar hasta un minuto.",
|
||||
"cchange105": "El tamaño del archivo supera los 3 MB",
|
||||
"cchange106": "¿Estás seguro de que deseas eliminar este gif?",
|
||||
"cchange107": "Este gif ha sido eliminado",
|
||||
"cchange108": "La descarga continuará en segundo plano, sólo se puede descargar UN archivo Q-Chat simultáneamente.",
|
||||
"cchange109": "¡Tipo de archivo no compatible!",
|
||||
"cchange110": "CARGAR IMAGEN",
|
||||
"cchange111": "CARGAR GIF",
|
||||
"cchange112": "CARGA DE ADJUNTOS",
|
||||
"cchange113": "CARGA DE ARCHIVO",
|
||||
"cchange114": "Escribe algo ..."
|
||||
},
|
||||
"welcomepage": {
|
||||
"wcchange1": "Bienvenido al Q-Chat",
|
||||
@ -944,7 +965,19 @@
|
||||
"gchange56": "Nombre del grupo a buscar",
|
||||
"gchange57": "Nombre de grupo privado no encontrado",
|
||||
"gchange58": "Tenga en cuenta que el nombre del grupo debe coincidir exactamente.",
|
||||
"gchange59": "Mostrar/ocultar teletipo"
|
||||
"gchange59": "Mostrar/ocultar teletipo",
|
||||
"gchange60": "Por favor, introduzca el nombre del grupo",
|
||||
"gchange61": "Por favor, introduzca la descripción",
|
||||
"gchange62": "¿Estás seguro de ACTUALIZAR este grupo?",
|
||||
"gchange63": "Al presionar CONFIRMAR, se enviará la solicitud UPDATE_GROUP.",
|
||||
"gchange64": "Propietario actual / Nuevo propietario",
|
||||
"gchange65": "¡Reemplace esta dirección para TRANSFERIR LA PROPIEDAD del grupo!",
|
||||
"gchange66": "Propietario no válido / Dirección de nuevo propietario",
|
||||
"gchange67": "¡Éxito de la ACTUALIZACIÓN del grupo!",
|
||||
"gchange68": "Establecer avatar de grupo",
|
||||
"gchange69": "Mensajes",
|
||||
"gchange70": "¡No hay mensajes en las últimas 24 horas!",
|
||||
"gchange71": "¡Ya te uniste a este grupo!"
|
||||
},
|
||||
"puzzlepage": {
|
||||
"pchange1": "Rompecabezas",
|
||||
@ -1175,7 +1208,7 @@
|
||||
"inf7": "Información de compra automática",
|
||||
"inf8": "Cerrar información de compra automática",
|
||||
"inf9": "'Auto Buy' es una función que permite realizar 'órdenes de compra' en el Portal de comercio. Estas 'órdenes de compra' solo son visibles para la persona que las realiza. No son órdenes de compra 'públicas' como las Las 'ventas de mercado abierto' NO se almacenan en la cadena de bloques de Qortal. La compra automática es una característica de la interfaz de usuario y, como tal, requiere que la interfaz de usuario esté FUNCIONANDO.",
|
||||
"inf10": "Para realizar un pedido de compra automática, haga clic en el botón 'Agregar pedido de compra automática' y complete el cuadro que aparece. Ingrese la CANTIDAD DE QORT que desea COMPRAR y el PRECIO al que desea COMPRAR. Una vez la orden está activa, Auto Buy comprará HASTA esa cantidad de QORT para usted, HASTA el precio que establezca (comenzando en la orden más baja y subiendo en los libros)",
|
||||
"inf10": "Para realizar un pedido de Compra automática, haga clic en el botón 'Agregar pedido de Compra automática' y complete el cuadro que aparece. Ingrese la CANTIDAD DE QORT que desea COMPRAR o la cantidad de LTC que desea utilizar, y el PRECIO que desea COMPRAR HASTA. Una vez que la orden esté activa, Auto Buy comprará HASTA esa cantidad de QORT para usted, HASTA el precio que usted establezca (comenzando en la orden más baja y subiendo en los libros).",
|
||||
"inf11": "¡Simplemente DEJE SU IU FUNCIONANDO y Auto Buy hace el resto, automáticamente!",
|
||||
"inf12": "PUEDE explorar otros complementos en la IU (Q-Chat, carteras, etc.) pero NO PUEDE CERRAR LA IU si desea que se complete su compra automática. Deje la IU 'minimizada' en la 'barra de tareas' o 'panel' está bien, mientras la interfaz de usuario permanezca ABIERTA, Auto Buy funcionará.",
|
||||
"inf13": "Comprar automáticamente",
|
||||
@ -1287,5 +1320,104 @@
|
||||
"tour20": "bloques detrás. ¿Le gustaría actualizar (arrancar) para acelerar el proceso de sincronización?",
|
||||
"tour21": "bloques restantes.",
|
||||
"tour22": "Se solicitó actualización (arranque). Espere."
|
||||
},
|
||||
"chatsettings": {
|
||||
"cs1": "Configuración de chat",
|
||||
"cs2": "Configuración general del chat",
|
||||
"cs3": "Marca de tiempo del mensaje de chat",
|
||||
"cs4": "Hace tiempo",
|
||||
"cs5": "Hora local",
|
||||
"cs6": "Tamaño de fuente del mensaje de chat",
|
||||
"cs7": "Estándar",
|
||||
"cs8": "px"
|
||||
},
|
||||
"modals": {
|
||||
"mpchange1": "Todos los AT solicitados deben ser de la misma Blockchain extranjera.",
|
||||
"mpchange2": "¿Le da permiso a esta aplicación para ejecutar una orden de compra?",
|
||||
"mpchange3": "Orden de compra creada con éxito",
|
||||
"mpchange4": "Espere hasta que se complete la orden de compra",
|
||||
"mpchange5": "Error al enviar la orden de compra.",
|
||||
"mpchange6": "¿Le da permiso a esta aplicación para ejecutar una orden de venta?",
|
||||
"mpchange7": "Para:",
|
||||
"mpchange8": "Orden de venta creada con éxito.",
|
||||
"mpchange9": "Espere hasta que se incluya la orden de venta.",
|
||||
"mpchange10": "Error al enviar la orden de venta.",
|
||||
"mpchange11": "No se puede encontrar la información del AT.",
|
||||
"mpchange12": "¿Le da permiso a esta aplicación para ejecutar la cancelación de una orden de venta?",
|
||||
"mpchange13": "Orden de venta cancelada con éxito.",
|
||||
"mpchange14": "Espere hasta que se complete la cancelación de la operación cumplido.",
|
||||
"mpchange15": "Error al cancelar la orden de venta.",
|
||||
"mpchange16": "Error al recuperar la lista.",
|
||||
"mpchange17": "Error al agregar a la lista.",
|
||||
"mpchange18": "Error al eliminar la lista.",
|
||||
"mpchange19": "Error al recuperar la lista de amigos.",
|
||||
"mpchange20": "El recuento no es un número.",
|
||||
"mpchange21": "Falta el recuento.",
|
||||
"mpchange22": "No se enviaron datos ni archivos.",
|
||||
"mpchange23": "El cifrado de datos requiere claves públicas.",
|
||||
"mpchange24": "Solo los datos cifrados pueden ingresar a servicios privados.",
|
||||
"mpchange25": "Error de carga debido a un cifrado fallido.",
|
||||
"mpchange26": "Error de carga.",
|
||||
"mpchange27": "Datos no válidos.",
|
||||
"mpchange28": "No hay recursos para publicar.",
|
||||
"mpchange29": "Error desconocido.",
|
||||
"mpchange30": "Encuesta no encontrada.",
|
||||
"mpchange31": "Error al votar en la encuesta.",
|
||||
"mpchange32": "Error al crear la encuesta.",
|
||||
"mpchange33": "Por favor, introduzca un enlace qortal - qortal://...",
|
||||
"mpchange34": "Enlace qortal no válido.",
|
||||
"mpchange35": "Error al enviar la notificación.",
|
||||
"mpchange36": "No se pudo enviar el mensaje.",
|
||||
"mpchange37": "No se puede enviar un mensaje cifrado a este usuario ya que no tiene su clave pública en la cadena.",
|
||||
"mpchange38": "No se pudo completar la solicitud.",
|
||||
"mpchange39": "Grupo no encontrado.",
|
||||
"mpchange40": "¿Le da permiso a esta aplicación para realizar una solicitud de unirse a un grupo?",
|
||||
"mpchange41": "Nombre del grupo:",
|
||||
"mpchange42": "ID del grupo:",
|
||||
"mpchange43": "Solicitud de unirse a un grupo creada correctamente.",
|
||||
"mpchange44": "Error al unirse al grupo.",
|
||||
"mpchange45": "No se pudo derivar un tipo mime.",
|
||||
"mpchange46": "No se pudo derivar una extensión de archivo.",
|
||||
"mpchange47": "El usuario rechazó la descarga.",
|
||||
"mpchange48": "Error al iniciar la descarga.",
|
||||
"mpchange49": "Error al implementar AT.",
|
||||
"mpchange50": "El usuario no tiene un perfil.",
|
||||
"mpchange51": "No se pueden encontrar los datos solicitados.",
|
||||
"mpchange52": "Error al obtener los datos del perfil.",
|
||||
"mpchange53": "Error al establecer la propiedad.",
|
||||
"mpchange54": "Error al abrir el perfil.",
|
||||
"mpchange55": "Error al recuperar la información del servidor.",
|
||||
"mpchange56": "Error en el resumen de la actividad de la transacción.",
|
||||
"mpchange57": "Error al obtener la tarifa extranjera.",
|
||||
"mpchange58": "Error en la actualización de la tarifa extranjera.",
|
||||
"mpchange59": "Error al obtener el historial de conexión del servidor.",
|
||||
"mpchange60": "Error al establecer el servidor actual.",
|
||||
"mpchange61": "Error al agregar servidor.",
|
||||
"mpchange62": "Error al eliminar servidor.",
|
||||
"mpchange63": "Error al recuperar el resumen.",
|
||||
"mpchange64": "Error al decodificar la transacción.",
|
||||
"mpchange65": "¿Le da permiso a esta aplicación para firmar y procesar una transacción?",
|
||||
"mpchange66": "¿Le da permiso a esta aplicación para firmar una transacción?",
|
||||
"mpchange67": "Lea la transacción cuidadosamente antes de aceptarla.",
|
||||
"mpchange68": "Tipo de transacción:",
|
||||
"mpchange69": "Datos de la transacción:",
|
||||
"mpchange70": "No se solicitó procesar la transacción.",
|
||||
"mpchange71": "Los bytes firmados son: ",
|
||||
"mpchange72": "Transacción firmada y procesada exitosamente.",
|
||||
"mpchange73": "No se pudo procesar la transacción.",
|
||||
"mpchange74": "Error al obtener el saldo de QORT. ¡Inténtalo de nuevo!",
|
||||
"mpchange75": "No se pudo enviar la moneda.",
|
||||
"mpchange76": "Error al obtener el saldo de BTC. ¡Inténtalo de nuevo!",
|
||||
"mpchange77": "Error al obtener el saldo de LTC. ¡Inténtalo de nuevo!",
|
||||
"mpchange78": "Error al obtener el saldo de DOGE. ¡Inténtalo de nuevo!",
|
||||
"mpchange79": "Error al obtener el saldo de DGB. ¡Inténtalo de nuevo!",
|
||||
"mpchange80": "Error al obtener el saldo de RVN. ¡Inténtalo de nuevo!",
|
||||
"mpchange81": "Error al obtener el saldo de ARRR. ¡Inténtalo de nuevo!",
|
||||
"mpchange82": "CAMPOS FALTANTES",
|
||||
"mpchange83": "RECHAZADO",
|
||||
"mpchange84": "ERROR",
|
||||
"mpchange85": "ÉXITO",
|
||||
"mpchange86": "Permitir siempre obtener el saldo de la billetera automáticamente",
|
||||
"mpchange87": "Por favor, introduzca el ID del grupo"
|
||||
}
|
||||
}
|
||||
|
@ -8,6 +8,7 @@
|
||||
"dutch": "Hollandi",
|
||||
"english": "Inglise",
|
||||
"estonian": "Eesti",
|
||||
"finnish": "Soome",
|
||||
"french": "Prantsuse",
|
||||
"german": "Saksa",
|
||||
"hindi": "Hindi",
|
||||
@ -79,7 +80,7 @@
|
||||
"tm32": "See konto ei jälgi ühtegi kasutajat",
|
||||
"tm33": "Impordi vahekaardi menüü",
|
||||
"tm34": "Ekspordi vahekaardi menüü",
|
||||
"tm35": "Olemasolev vahekaardimenüü kustutatakse ja seatakse üleslaaditud vahekaardi menüüks.",
|
||||
"tm35": "Teie olemasolev vahekaardimenüü kustutatakse ja seatakse imporditud vahekaardimenüüks.",
|
||||
"tm36": "Vahekaardimenüü edukalt taastatud",
|
||||
"tm37": "Vahekaardimenüü edukalt salvestatud nimega",
|
||||
"tm38": "ARENDAJA REZHIIM",
|
||||
@ -95,44 +96,44 @@
|
||||
"address": "Aadress",
|
||||
"password": "Salasõna",
|
||||
"youraccounts": "Sinu kontod",
|
||||
"clickto": "Klõpsa kontole sellega sisse logimiseks",
|
||||
"clickto": "Sisselogimiseks klõpsake kontol",
|
||||
"needcreate": "Pead looma või salvestama konto enne sisse logimist!",
|
||||
"upload": "Laadi üles oma Qortal varukoopia",
|
||||
"upload": "Importige oma Qortali varukoopiafail",
|
||||
"howlogin": "Kuidas soovid sisse logida?",
|
||||
"seed": "Seemnefraas",
|
||||
"seedphrase": "seemnefraas",
|
||||
"saved": "Konto salvestatud",
|
||||
"qora": "Qora aadressi seeme",
|
||||
"backup": "Qortal rahakoti varukoopia",
|
||||
"decrypt": "Krüpti varukoopia lahti",
|
||||
"qora": "QORA aadressi seeme",
|
||||
"backup": "Qortal rahakoti varukoopiafail",
|
||||
"decrypt": "Krüpti varukoopiafail ",
|
||||
"save": "Salvesta selles sirvikus.",
|
||||
"prepare": "Konto ettevalmistus...",
|
||||
"areyousure": "Oled kindel, et soovid eemaldada seda rahakotti salvestatud rahakottide hulgast?",
|
||||
"error1": "Varukoopia peab olema korrektses JSON-formaadis",
|
||||
"areyousure": "Kas olete kindel, et soovite selle rahakoti salvestatud rahakottide hulgast eemaldada? (Kui eemaldate ja varukoopiafaili pole, võib konto jäädavalt kaduda! Enne seda veenduge, et teil oleks varukoopiafail!)",
|
||||
"error1": "Varukoopiafail peab olema korrektses JSON-formaadis",
|
||||
"error2": "Sisse logimise viis valimata",
|
||||
"createwelcome": "Tere tulemast Qortalisse! Sulle genereeritakse nüüd uus juhuslik seemnefraas, mida kasutatakse Sinu privaatvõtme ja aadressi loomiseks Qortali plokiahelasse. Lisaks, kui otsustad hakata ka Qortali platvormil nö. müntijaks, on Sul võimalus oma Qortali kontole saavutada kõrgem tase, mis toob Sulle suurema plokkide tasu QORT digimüntidena ning ka suurema hääletusmõjuvõimu Qortaliga seonduvate tulevikuotsuste osas.",
|
||||
"createwelcome": "Tere tulemast Qortal! Teie detsentraliseeritud digitaalne tulevik ootab teid! Ainult teil on Qortalis täielik kontroll oma andmete üle. Qortal pakub uue ja täielikult kasutaja juhitava digitaalse maailma baastaseme.",
|
||||
"createa": "",
|
||||
"click": "Klõpsa, et vaadata seemnefraasi",
|
||||
"confirmpass": "Kinnita salasõna",
|
||||
"willbe": "<- siit näed oma seemnefraasi.",
|
||||
"willbe": "genereeritakse taustal juhuslikult. Kui soovite lähtelauset VAADATA, klõpsake selles tekstis esiletõstetud 'idufraasi'. Seda kasutatakse teie Qortali plokiahela konto privaatvõtme generaatorina. Turvalisuse huvides vaikimisi seemnefraase ei kuvata, välja arvatud juhul, kui see on spetsiaalselt valitud.",
|
||||
"clicknext": "Qortal konto loomiseks klõpsa allpool olevat nuppu EDASI.",
|
||||
"ready": "Konto on peaaegu valmis ja see salvestatakse siia keskkonda (Qortal UI sirvikusse). Kui Sa mingil põhjusel seda salvestada ei soovi, võid eemaldada allpool oleva märkeruudu. Oma uue kontoga saad ikkagi sisse logida (pärast välja logimist), kasutades oma konto rahakoti varukoopia faili, mis tuleb KINDLASTI arvutis kuhugi kausta salvestada peale konto loomist.",
|
||||
"ready": "Teie konto on nüüd loomiseks valmis. See salvestatakse vaikimisi sellesse Qortali kasutajaliidese koopiasse krüpteeritud kujul. Kui te ei soovi, et teie uut kontot siia salvestataks, võite tühjendada alloleva kasti. Saate endiselt oma uue kontoga sisse logida (pärast väljalogimist), kasutades oma rahakoti varukoopiafaili, mille PEATE pärast konto loomist alla laadima.",
|
||||
"welmessage": "Tere tulemast Qortalisse",
|
||||
"pleaseenter": "Palun sisesta salasõna!",
|
||||
"notmatch": "Salasõnad ei kattu!",
|
||||
"notmatch": "Oih! Paroolid ei kattu! Proovi uuesti!",
|
||||
"lessthen8": "Salasõna on vähem kui 5 tähemärki! See ei ole turvakaalutlustel soovitatav, kuigi saab ka nii.",
|
||||
"lessthen8-2": "Salasõna on vähem kui 5 tähemärki!",
|
||||
"entername": "Palun sisesta Nimi!",
|
||||
"Lae allaed": "Sinu rahakoti varukoopia laeti alla.",
|
||||
"entername": "Palun sisestage kuvatav nimi!",
|
||||
"Lae allaed": "Teie Walleti varundusfail salvestati!",
|
||||
"loading": "Laadib, palun oota...",
|
||||
"createdseed": "Sa lõid seemnefraasi",
|
||||
"saveseed": "Salvesta seemnefraas",
|
||||
"savein": "Salvesta sirvikusse",
|
||||
"backup2": "Konto varukoopia fail on turvaliselt krüpteeritud, ja dekrüpteeritav Sinu poolt sisestatud salasõnaga, ning see fail on AINUS VIIS pääseda Sinu kontole ligi, kui kontot ei ole Qortal UI sirvikusse salvestatud. TEE SELLEST FAILIST VARUKOOPIA(D), et sa ei kaotaks oma kontole ligipääsu!",
|
||||
"backup2": "See fail on AINUS viis (vaikimisi) oma kontole juurde pääseda, kui seda pole kasutajaliidesesse salvestatud. VARUNDAGE SEE FAIL KINDLASTI MITMES KOHTA. Fail krüpteeritakse väga turvaliselt ja dekrüpteeritakse teie eelmises etapis loodud kohaliku parooliga. Saate selle turvaliselt kõikjale salvestada, kuid tehke seda kindlasti mitmes kohas.",
|
||||
"savewallet": "Salvesta rahakoti varukoopia fail",
|
||||
"created1": "Sinu konto on nüüd loodud",
|
||||
"created2": " ja salvestatakse siinse arvuti sirvikus.",
|
||||
"Lae allabackup": "Laadi rahakoti varukoopia fail alla",
|
||||
"created2": " ja salvestatakse sellesse kasutajaliidesesse krüptitud kujul.",
|
||||
"Lae allabackup": "Salvesta Walleti varufail",
|
||||
"passwordhint": "Salasõna peab olema vähemalt 5 tähemärki.",
|
||||
"lp1": "Lukusta ekraan",
|
||||
"lp2": "Ekraaniluku salasõna pole seatud.",
|
||||
@ -162,8 +163,8 @@
|
||||
"confirmlogout": "Kas soovid kindlasti välja logida?"
|
||||
},
|
||||
"fragfile": {
|
||||
"selectfile": "Vali fail",
|
||||
"dragfile": "või lohista varukoopia fail siia"
|
||||
"selectfile": "Valige varufail",
|
||||
"dragfile": "Varundusfaili valimiseks lohistage või klõpsake siin"
|
||||
},
|
||||
"settings": {
|
||||
"generalinfo": "Üldine konto teave",
|
||||
@ -180,9 +181,8 @@
|
||||
"notifications": "Teavitused",
|
||||
"accountsecurity": "Konto turvalisus",
|
||||
"password": "Salasõna",
|
||||
"Lae alla": "Laadi varukoopia fail alla",
|
||||
"Lae alla": "Ekspordi/salvesta varukoopiafail",
|
||||
"choose": "Palun vali salasõna, millega varukoopia krüpteerida. (See võib olla sama, millega sisse logisid, või erinev).",
|
||||
"block": "Ploki Teavitused (Tulemas varsti...)",
|
||||
"playsound": "Mängi heli",
|
||||
"shownotifications": "Näita teavitusi",
|
||||
"nodeurl": "Sõlme Url",
|
||||
@ -203,17 +203,18 @@
|
||||
"snack5": "Sõlmed edukalt imporditud",
|
||||
"snack6": "Kohandatud sõlm on edukalt eemaldatud",
|
||||
"snack7": "Kohandatud sõlme edukalt redigeeritud",
|
||||
"exp1": "Ekspordi privaatne üldvõti",
|
||||
"exp1": "Ekspordi privaatne üldvõti (xpriv)",
|
||||
"exp2": "Ekspordi üldvõti",
|
||||
"exp3": "Ekspordi",
|
||||
"exp4": "Palun vali rahakott privaatse üldvõtme varundamiseks.",
|
||||
"core": "Tuuma käivitamise seaded",
|
||||
"core": "Qortal automaatse käivitamise seaded",
|
||||
"qappNotification1": "Q-App märguanded",
|
||||
"selectnode": "Palun tehke valik",
|
||||
"arrr1": "ARRR rahakott pole initsialiseeritud!",
|
||||
"arrr2": "Minge rahakoti vahekaardile ja lähtestage esmalt oma arrr rahakott.",
|
||||
"arrr2": "Minge vahekaardile Rahakott ja avage esmalt ARRR-i rahakott, et rahakott lähtestada.",
|
||||
"arrr3": "Vaja põhivärskendust!",
|
||||
"arrr4": "Oma arrr rahakoti privaatvõtme salvestamiseks vajate esmalt põhivärskendust!"
|
||||
"arrr4": "ARRR-i rahakoti privaatvõtme salvestamiseks peate esmalt Qortal Core'i värskendama!",
|
||||
"sync_indicator": "Keela sünkroonimisindikaatori hüpikaken"
|
||||
},
|
||||
"appinfo": {
|
||||
"blockheight": "Ploki kõrgus",
|
||||
@ -229,8 +230,8 @@
|
||||
"wp1": "Mündimine",
|
||||
"wp2": "Ei vermita",
|
||||
"wp3": "Põhiteave",
|
||||
"wp4": "Sünkroonitud",
|
||||
"wp5": "Sünkroonimise olek"
|
||||
"wp4": "sünkroniseeritud",
|
||||
"wp5": "Sünkroniseerimise olek"
|
||||
},
|
||||
"general": {
|
||||
"yes": "Jah",
|
||||
@ -247,7 +248,9 @@
|
||||
"balance": "Saldo",
|
||||
"balances": "Sinu saldoseisud",
|
||||
"update": "Saldoseisude uuendamine",
|
||||
"view": "Vaata"
|
||||
"view": "Vaata",
|
||||
"all": "Kõik",
|
||||
"page": "Lehekülg"
|
||||
},
|
||||
"gifs": {
|
||||
"gchange1": "Gif avastaja",
|
||||
@ -283,14 +286,14 @@
|
||||
"startminting": {
|
||||
"smchange1": "Ei saa müntimise konto(de)le ligi",
|
||||
"smchange2": "Võtme eemaldamine ebaõnnestus",
|
||||
"smchange3": "Ebaõnnestus müntimise võtme lisamine",
|
||||
"smchange3": "Võtme lisamine nurjus. Kui võti just loodi, oodake mõni plokk ja lisage uuesti",
|
||||
"smchange4": "Ei saa luua sponsorluse võtit",
|
||||
"smchange5": "Suhte loomine",
|
||||
"smchange6": "Ootab kinnitust plokiahelalt",
|
||||
"smchange7": "Suhte lõpetamine",
|
||||
"smchange8": "Müntimise võtme lisamine sõlme",
|
||||
"smchange9": "Valmis",
|
||||
"smchange10": "Ühe sõlme kohta on lubatud ainult 2 müntimisvõtit, aga Sina üritad määrata 3. Palun ava Haldus - Sõlme Haldamine ja eemaldage võti, mida Sa ei soovi sellele sõlmele määrata, tänud!"
|
||||
"smchange10": "Ühe sõlme kohta on lubatud ainult 2 vermimisvõtit, proovite määrata 3 võtit. Minge sõlmede haldusse ja eemaldage kõik mittevajalikud võtmed, aitäh!"
|
||||
},
|
||||
"mintingpage": {
|
||||
"mchange1": "Üldised müntimise detailid",
|
||||
@ -465,7 +468,7 @@
|
||||
"rchange6": "Saaja",
|
||||
"rchange7": "Tegevus",
|
||||
"rchange8": "Tüüp",
|
||||
"rchange9": "Tase 1 - 4 saab luua iseseiseva jagamise. Tase 5 või kõrgem saab luua Preemiajagamise!",
|
||||
"rchange9": "Tase 0 - 4 saab luua iseseiseva jagamise. Tase 5 või kõrgem saab luua Preemiajagamise!",
|
||||
"rchange10": "Saaja avalik võti",
|
||||
"rchange11": "Preemiajagamise protsent",
|
||||
"rchange12": "Teeb midagi maitsvat",
|
||||
@ -506,7 +509,7 @@
|
||||
"nchange23": "Müügihind",
|
||||
"nchange24": "Müüdavaid Nimesid pole",
|
||||
"nchange25": "Müüa Nimi",
|
||||
"nchange26": "Kas oled kindel, et müüd selle Nime ära?",
|
||||
"nchange26": "Kas olete kindel, et soovite selle nime müüa? Kui nime ostab keegi teine, ei ole varasema nimega avaldatud andmed teie kontrolli all!",
|
||||
"nchange27": "Selle hinna eest (QORTis)",
|
||||
"nchange28": "Kui vajutad kinnita, saadetakse Nime müügitaotlus!",
|
||||
"nchange29": "Nimi tühistamiseks",
|
||||
@ -739,7 +742,8 @@
|
||||
"bchange51": "Muudatuste esitamiseks ärge unustage klõpsata Uuenda profiili",
|
||||
"bchange52": "Kas annate sellele rakendusele loa oma rahakoti teabe hankimiseks?",
|
||||
"bchange53": "Luba alati oma sõprade loendit kõikidel rakendustel automaatselt laadida",
|
||||
"bchange54": "Kas annate sellele rakendusele loa juurdepääsuks oma sõbraloendile?"
|
||||
"bchange54": "Kas annate sellele rakendusele loa juurdepääsuks oma sõbraloendile?",
|
||||
"bchange55": "Kas annad sellele rakendusele loa selle käsu saatmiseks?"
|
||||
},
|
||||
"datapage": {
|
||||
"dchange1": "Andmete haldamine",
|
||||
@ -839,7 +843,7 @@
|
||||
"cchange74": "reageerisid",
|
||||
"cchange75": "Manuse üleslaadimine. See võib võtta kuni minuti.",
|
||||
"cchange76": "Manuse kustutamine, võib võtta kuni minuti.",
|
||||
"cchange77": "Manuse suurus ületab 1 MB mahu",
|
||||
"cchange77": "Manuse suurus ületab 10 MB mahu",
|
||||
"cchange78": "Kas oled kindel, et soovid selle pildi kustutada?",
|
||||
"cchange79": "Kas oled kindel, et soovid selle manuse kustutada?",
|
||||
"cchange80": "Pilt kustutatud",
|
||||
@ -852,7 +856,24 @@
|
||||
"cchange94": "laaditud",
|
||||
"cchange95": "Ainult minu ressursid",
|
||||
"cchange96": "Avatud rühmahaldus",
|
||||
"cchange97": "Grupiga liitumise link on lõikelauale kopeeritud"
|
||||
"cchange97": "Grupiga liitumise link on lõikelauale kopeeritud",
|
||||
"cchange98": "Faili üleslaadimine. See võib võtta mõne minuti.",
|
||||
"cchange99": "Faili kustutamine. Selleks võib kuluda kuni üks minut.",
|
||||
"cchange100": "Faili suurus ületab 125 MB",
|
||||
"cchange101": "Kas soovite kindlasti selle faili kustutada?",
|
||||
"cchange102": "See fail on kustutatud",
|
||||
"cchange103": "GIF-i üleslaadimine. Selleks võib kuluda kuni üks minut.",
|
||||
"cchange104": "GIF-i kustutamine. Selleks võib kuluda kuni üks minut.",
|
||||
"cchange105": "Faili suurus ületab 3 MB",
|
||||
"cchange106": "Kas soovite kindlasti selle GIF-i kustutada?",
|
||||
"cchange107": "See gif on kustutatud",
|
||||
"cchange108": "Allalaadimine jätkub taustal, korraga saab alla laadida ainult ÜHE Q-Chat faili.",
|
||||
"cchange109": "Failitüüpi ei toetata!",
|
||||
"cchange110": "PILDI ÜLESLAADIMINE",
|
||||
"cchange111": "GIF-I ÜLESLAADIMINE",
|
||||
"cchange112": "MANUSE ÜLESLAADIMINE",
|
||||
"cchange113": "FAILI ÜLESLAADIMINE",
|
||||
"cchange114": "Kirjutage midagi ..."
|
||||
},
|
||||
"welcomepage": {
|
||||
"wcchange1": "Tere tulemast Q-Chatti",
|
||||
@ -944,7 +965,19 @@
|
||||
"gchange56": "Otsi grupi nime",
|
||||
"gchange57": "Privaatgrupi nime ei leitud",
|
||||
"gchange58": "Rühma nimi peab olema täpne vaste.",
|
||||
"gchange59": "Näita / Peida saldod"
|
||||
"gchange59": "Näita / Peida saldod",
|
||||
"gchange60": "Palun sisestage grupi nimi",
|
||||
"gchange61": "Palun sisestage kirjeldus",
|
||||
"gchange62": "Kas olete kindel, et värskendate seda rühma?",
|
||||
"gchange63": "Vajutades KINNITA, saadetakse UPDATE_GROUP päring!",
|
||||
"gchange64": "Praegune omanik / uus omanik",
|
||||
"gchange65": "Asendage see aadress grupi omandiõiguse üleandmiseks!",
|
||||
"gchange66": "Kehtetu omanik / uue omaniku aadress",
|
||||
"gchange67": "Grupi UUENDAMINE edukas!",
|
||||
"gchange68": "Rühma avatari määramine",
|
||||
"gchange69": "Sõnumid",
|
||||
"gchange70": "Viimase 24 tunni jooksul pole ühtegi sõnumit!",
|
||||
"gchange71": "Olete selle grupiga juba liitunud!"
|
||||
},
|
||||
"puzzlepage": {
|
||||
"pchange1": "Puzzled",
|
||||
@ -988,7 +1021,7 @@
|
||||
"nchange20": "Väljalaske versioon",
|
||||
"nchange21": "Ühendatud",
|
||||
"nchange22": "Tegevus",
|
||||
"nchange23": "Sünkroonimise sundimine",
|
||||
"nchange23": "Sünkroniseerimise sundimine",
|
||||
"nchange24": "Ühendatud partnereid pole",
|
||||
"nchange25": "Alustan sünki partneriga: ",
|
||||
"nchange26": "Partner edukalt eemaldatud: ",
|
||||
@ -1206,8 +1239,8 @@
|
||||
"notify1": "Tehingu kinnitamine",
|
||||
"notify2": "Tehing kinnitatud",
|
||||
"explanation": "Sinu tehing kinnitatakse. Edenemise jälgimiseks klõpsa kellaikoonil.",
|
||||
"status1": "Täielikult sünkroonitud",
|
||||
"status2": "Pole sünkroonitud",
|
||||
"status1": "Täielikult sünkroniseeritud",
|
||||
"status2": "Pole sünkroniseeritud",
|
||||
"notify3": "Märguandeid pole",
|
||||
"notify4": "Tx-teatised"
|
||||
},
|
||||
@ -1265,8 +1298,8 @@
|
||||
"profile26": "Lisa sõbraks"
|
||||
},
|
||||
"tour": {
|
||||
"tour1": "Qortali kasutamiseks peab Core olema sünkroonitud. See ikoon on sünkroonimisel sinine.",
|
||||
"tour2": "Sünkroonitud",
|
||||
"tour1": "Qortali kasutamiseks peab Core olema sünkroniseeritud. See ikoon on Sünkroniseerimisel sinine.",
|
||||
"tour2": "sünkroniseeritud",
|
||||
"tour3": "Sünkroonimine ja vermimine",
|
||||
"tour4": "Sünkroonimine",
|
||||
"tour5": "Sünkrooni oma tuum",
|
||||
@ -1277,15 +1310,114 @@
|
||||
"tour10": "See on vahekaardi vaikevaade, kus pääsete juurde olulistele Qortali sätetele ja Q-rakendustele, nagu Q-Tube.",
|
||||
"tour11": "Saage täielik kogemus",
|
||||
"tour12": "Qortali täieliku kogemuse saamiseks soovitame järgida seda kontroll-loendit.",
|
||||
"tour13": "Olete täielikult sünkroonitud! Nüüd saate kogeda Qortali plokiahela võimsust.",
|
||||
"tour13": "Olete täielikult sünkroniseeritud! Nüüd saate kogeda Qortali plokiahela võimsust.",
|
||||
"tour14": "Proovime külastada Q-Tube'i!",
|
||||
"tour15": "Külastage Q-Tube'i",
|
||||
"tour16": "Kontrollnimekiri",
|
||||
"tour17": "Qortali plokiahelale juurdepääsuks käivitage Core.",
|
||||
"tour18": "Värskenda (bootstrap)",
|
||||
"tour19": "Praegu sünkroonimine... Qortali kasutamiseks peate olema täielikult sünkroonitud",
|
||||
"tour19": "Praegu sünkroonimine... Qortali kasutamiseks peate olema täielikult sünkroniseeritud",
|
||||
"tour20": "blokeerib taga. Kas soovite sünkroonimisprotsessi kiirendamiseks värskendada (bootstrap)?",
|
||||
"tour21": "jäänud plokke.",
|
||||
"tour22": "Taotleb värskendamist (bootstrap). Palun oodake."
|
||||
},
|
||||
"chatsettings": {
|
||||
"cs1": "Vestluse seaded",
|
||||
"cs2": "Üldised vestluse seaded",
|
||||
"cs3": "Vestlussõnumi ajatempel",
|
||||
"cs4": "Aeg tagasi",
|
||||
"cs5": "Kohalik aeg",
|
||||
"cs6": "Vestlussõnumi fondi suurus",
|
||||
"cs7": "Standardne",
|
||||
"cs8": "px"
|
||||
},
|
||||
"modals": {
|
||||
"mpchange1": "Kõik taotletud AT peavad olema samast välismaisest plokiahelast.",
|
||||
"mpchange2": "Kas annate sellele rakendusele loa ostutellimuse täitmiseks?",
|
||||
"mpchange3": "Ostutellimuse loomine õnnestus",
|
||||
"mpchange4": "Palun oodake, kuni ostutellimus täidetakse",
|
||||
"mpchange5": "Ostutellimuse esitamine ebaõnnestus.",
|
||||
"mpchange6": "Kas annate sellele rakendusele loa müügitellimuse täitmiseks?",
|
||||
"mpchange7": "For:",
|
||||
"mpchange8": "Müügitellimuse loomine õnnestus.",
|
||||
"mpchange9": "Palun oodake, kuni müügitellimus loetletakse.",
|
||||
"mpchange10": "Müügitellimuse esitamine ebaõnnestus.",
|
||||
"mpchange11": "Ei leia AT-teavet.",
|
||||
"mpchange12": "Kas annate sellele rakendusele loa müügitellimuse tühistamiseks?",
|
||||
"mpchange13": "Müügitellimus on edukalt tühistatud.",
|
||||
"mpchange14": "Palun oodake, kuni tehingu tühistamine täidetakse.",
|
||||
"mpchange15": "Müügitellimuse tühistamine ebaõnnestus.",
|
||||
"mpchange16": "Viga loendi toomisel.",
|
||||
"mpchange17": "Viga loendisse lisamisel.",
|
||||
"mpchange18": "Viga kustutamisloendis.",
|
||||
"mpchange19": "Viga sõbraloendi toomisel.",
|
||||
"mpchange20": "Arv ei ole arv.",
|
||||
"mpchange21": "Puuduv arv.",
|
||||
"mpchange22": "Andmeid ega faili ei esitatud.",
|
||||
"mpchange23": "Andmete krüptimiseks on vaja avalikke võtmeid.",
|
||||
"mpchange24": "Privaatteenustesse saab minna ainult krüptitud andmeid.",
|
||||
"mpchange25": "Üleslaadimine nurjus krüptimise ebaõnnestumise tõttu.",
|
||||
"mpchange26": "Üleslaadimine ebaõnnestus.",
|
||||
"mpchange27": "Valed andmed.",
|
||||
"mpchange28": "Avaldamiseks pole ressursse.",
|
||||
"mpchange29": "Tundmatu viga.",
|
||||
"mpchange30": "Küsitlust ei leitud.",
|
||||
"mpchange31": "Küsitluses hääletamine ebaõnnestus.",
|
||||
"mpchange32": "Küsitluse loomine ebaõnnestus.",
|
||||
"mpchange33": "Palun sisestage qortali link - qortal://...",
|
||||
"mpchange34": "Vigane qortal link.",
|
||||
"mpchange35": "Viga teatise tõukamisel.",
|
||||
"mpchange36": "Sõnumit ei saanud saata.",
|
||||
"mpchange37": "Sellele kasutajale ei saa krüpteeritud sõnumit saata, kuna tal pole avalikku võtit ketis.",
|
||||
"mpchange38": "Taotlust ei saanud täita.",
|
||||
"mpchange39": "Grupi ei leitud.",
|
||||
"mpchange40": "Kas annate sellele rakendusele loa grupiga liitumise taotluse täitmiseks?",
|
||||
"mpchange41": "Rühma nimi:",
|
||||
"mpchange42": "Grupi ID:",
|
||||
"mpchange43": "Grupiga liitumistaotluse loomine õnnestus.",
|
||||
"mpchange44": "Grupiga liitumine ebaõnnestus.",
|
||||
"mpchange45": "Mime tüüpi ei saanud tuletada.",
|
||||
"mpchange46": "Faililaiendit ei saanud tuletada.",
|
||||
"mpchange47": "Kasutaja keeldus allalaadimisest.",
|
||||
"mpchange48": "Allalaadimine ebaõnnestus.",
|
||||
"mpchange49": "AT juurutamine ebaõnnestus.",
|
||||
"mpchange50": "Kasutajal pole profiili.",
|
||||
"mpchange51": "Ei leia nõutud andmeid.",
|
||||
"mpchange52": "Profiiliandmete hankimine ebaõnnestus.",
|
||||
"mpchange53": "Atribuudi määramine nurjus.",
|
||||
"mpchange54": "Profiili avamine nurjus.",
|
||||
"mpchange55": "Viga serveri teabe hankimisel.",
|
||||
"mpchange56": "Viga tx-tegevuse kokkuvõttes.",
|
||||
"mpchange57": "Viga välistasu hankimisel.",
|
||||
"mpchange58": "Viga välistasu värskendamisel.",
|
||||
"mpchange59": "Viga serveri ühenduse ajaloo hankimisel.",
|
||||
"mpchange60": "Viga praeguse serveri määramisel.",
|
||||
"mpchange61": "Viga serveri lisamisel.",
|
||||
"mpchange62": "Viga serveri eemaldamisel.",
|
||||
"mpchange63": "Viga kokkuvõtte toomisel.",
|
||||
"mpchange64": "Tehingu dekodeerimine ebaõnnestus.",
|
||||
"mpchange65": "Kas annate sellele rakendusele loa tehingu allkirjastamiseks ja töötlemiseks?",
|
||||
"mpchange66": "Kas annate sellele rakendusele loa tehingu allkirjastamiseks?",
|
||||
"mpchange67": "Enne aktsepteerimist lugege tehing hoolikalt läbi.",
|
||||
"mpchange68": "Tx tüüp:",
|
||||
"mpchange69": "TX andmed:",
|
||||
"mpchange70": "Protsessi tehingut ei taotletud.",
|
||||
"mpchange71": "Allkirjastatud baidid on: ",
|
||||
"mpchange72": "Tehing on allkirjastatud ja edukalt töödeldud.",
|
||||
"mpchange73": "Tehingut ei saanud töödelda.",
|
||||
"mpchange74": "QORT saldo toomine ebaõnnestus. Proovige uuesti!",
|
||||
"mpchange75": "Münti ei saanud saata.",
|
||||
"mpchange76": "BTC saldo toomine ebaõnnestus. Proovige uuesti!",
|
||||
"mpchange77": "LTC saldo toomine ebaõnnestus. Proovige uuesti!",
|
||||
"mpchange78": "DOGE saldo toomine ebaõnnestus. Proovige uuesti!",
|
||||
"mpchange79": "DGB tasakaalu toomine ebaõnnestus. Proovige uuesti!",
|
||||
"mpchange80": "RVN-i saldo toomine ebaõnnestus. Proovige uuesti!",
|
||||
"mpchange81": "ARRR-i saldo toomine ebaõnnestus. Proovige uuesti!",
|
||||
"mpchange82": "PUUDUVAD VÄLJAD",
|
||||
"mpchange83": "DECLINED",
|
||||
"mpchange84": "FAILURE",
|
||||
"mpchange85": "EDU",
|
||||
"mpchange86": "Luba alati rahakoti saldo automaatne hankimine",
|
||||
"mpchange87": "Palun sisestage grupi ID"
|
||||
}
|
||||
}
|
||||
|
1423
core/language/fi.json
Normal file
1423
core/language/fi.json
Normal file
File diff suppressed because it is too large
Load Diff
@ -8,6 +8,7 @@
|
||||
"dutch": "Néerlandais",
|
||||
"english": "Anglais",
|
||||
"estonian": "Estonien",
|
||||
"finnish": "Finlandais",
|
||||
"french": "Français",
|
||||
"german": "Allemand",
|
||||
"hindi": "Hindi",
|
||||
@ -79,7 +80,7 @@
|
||||
"tm32": "Ce compte ne suit aucun utilisateur",
|
||||
"tm33": "Menu de l'onglet Importer",
|
||||
"tm34": "Menu de l'onglet Exporter",
|
||||
"tm35": "Votre menu d'onglets existant sera supprimé et défini sur le menu d'onglets téléchargé.",
|
||||
"tm35": "Votre nouvelle page à onglet existante sera supprimée et définie sur la nouvelle page à onglet importée.",
|
||||
"tm36": "Le menu des onglets a été restauré avec succès",
|
||||
"tm37": "Le menu des onglets a été enregistré avec succès sous",
|
||||
"tm38": "MODE DEV",
|
||||
@ -95,45 +96,45 @@
|
||||
"address": "Adresse",
|
||||
"password": "Mot de passe",
|
||||
"youraccounts": "Vos comptes",
|
||||
"clickto": "Cliquez sur votre compte pour vous connecter",
|
||||
"clickto": "Cliquez sur compte pour vous connecter",
|
||||
"needcreate": "Vous devez créer ou sauver un compte avant de pouvoir vous connecter!",
|
||||
"upload": "Envoyer votre sauvegarde Qortal",
|
||||
"upload": "Importez votre fichier de sauvegarde Qortal",
|
||||
"howlogin": "Comment voulez-vous vous connecter ?",
|
||||
"seed": "Phrase mnémonique",
|
||||
"seedphrase": "phrase mnémonique",
|
||||
"saved": "Compte sauvegardé",
|
||||
"qora": "Adresse de contrôle Qora",
|
||||
"backup": "Sauvegarde du portefeuille Qortal",
|
||||
"decrypt": "Déchiffrer la sauvegarde",
|
||||
"qora": "Graine d'adresse QORA",
|
||||
"backup": "Fichier de Sauvegarde Qortal",
|
||||
"decrypt": "Décrypter le fichier de sauvegarde Qortal",
|
||||
"save": "Sauvegarder dans ce navigateur.",
|
||||
"prepare": "Préparation de votre compte",
|
||||
"areyousure": "Êtes-vous sûr de vouloir retirer ce portefeuille des portefeuilles sauvegardés?",
|
||||
"prepare": "Préparation de votre compte...",
|
||||
"areyousure": "Etes-vous sûr de vouloir supprimer ce compte ? (S'il est supprimé et qu'aucune sauvegarde Qortal n'existe, le compte pourrait être perdu à jamais ! Assurez-vous d'avoir un fichier de sauvegarde avant de faire cela !)",
|
||||
"error1": "La sauvegarde doit être un JSON valide",
|
||||
"error2": "Option de connexion non sélectionnée",
|
||||
"createwelcome": "Bienvenue dans Qortal, vous trouverez des similitudes avec un jeu de rôle, où, vous, en tant que frappeur dans le réseau Qortal (si vous choisissez d'en devenir un), aurez la chance d'augmenter votre niveau, vous donnant à la fois une plus grande partie de la récompense de bloc QORT et une plus grande influence sur le réseau en termes de vote sur les décisions pour la plate-forme.",
|
||||
"createwelcome": "Bienvenue à Qortal ! Votre avenir numérique décentralisé vous attend ! Sur Qortal, vous seul avez un contrôle absolu sur vos données. Qortal fournit le niveau de base d'un nouveau monde numérique entièrement contrôlé par l'utilisateur.",
|
||||
"createa": "Une",
|
||||
"click": "Cliquez pour voir la phrase mnémonique",
|
||||
"confirmpass": "Confirmez votre mot de passe",
|
||||
"willbe": "sera généré au hasard en arrière-plan. Il sera utilisé comme votre générateur de clé privée pour votre compte blockchain dans Qortal.",
|
||||
"willbe": "sera généré aléatoirement en arrière-plan. Si vous souhaitez VOIR la phrase de départ, cliquez sur la « phrase de départ » en surbrillance dans ce texte. Ceci est utilisé comme générateur de clé privée pour votre compte blockchain dans Qortal. Pour des raisons de sécurité, par défaut, les phrases de départ ne sont pas affichées à moins d'être spécifiquement choisies.",
|
||||
"clicknext": "Créez votre compte Qortal en cliquant sur SUIVANT ci-dessous.",
|
||||
"ready": "Votre compte est maintenant prêt à être créé. Il sera enregistré dans ce navigateur. Si vous ne souhaitez pas que votre nouveau compte soit enregistré dans votre navigateur, vous pouvez décocher la case ci-dessous. Vous serez toujours en mesure de vous connecter avec votre nouveau compte (après la déconnexion), en utilisant votre fichier de sauvegarde de portefeuille que vous DEVEZ télécharger une fois que vous créez votre compte.",
|
||||
"ready": "Votre compte est maintenant prêt à être créé. Il sera enregistré par défaut dans cette copie de l'interface utilisateur de Qortal, sous forme cryptée. Si vous ne souhaitez pas que votre nouveau compte soit enregistré ici, vous pouvez décocher la case ci-dessous. Vous pourrez toujours vous connecter avec votre nouveau compte (après vous être déconnecté), en utilisant votre fichier de sauvegarde Qortal que vous DEVEZ télécharger une fois votre compte créé.",
|
||||
"welmessage": "Bienvenue dans Qortal",
|
||||
"pleaseenter": "Veuillez entrer un mot de passe!",
|
||||
"notmatch": "Les mots de passe ne correspondent pas!",
|
||||
"notmatch": "Oops! Les mots de passe ne coïncident pas ! Essayer à nouveau!",
|
||||
"lessthen8": "Votre mot de passe est inférieur à 5 caractères! Ceci n’est pas recommandé. Vous pouvez continuer en ignorant cet avertissement.",
|
||||
"lessthen8-2": "Votre mot de passe est inférieur à 5 caractères!",
|
||||
"entername": "Veuillez saisir un nom!",
|
||||
"downloaded": "Le fichier de sauvegarde de votre portefeuille va être téléchargé!",
|
||||
"entername": "S'il vous plaît entrer un nom d'affichage!",
|
||||
"downloaded": "Votre fichier de compte Qortal a été enregistré!",
|
||||
"loading": "Chargement en cours, veuillez patienter...",
|
||||
"createdseed": "Votre phrase mnémonique créee",
|
||||
"saveseed": "Sauvegarder votre phrase mnémonique",
|
||||
"savein": "Sauvegarder dans le navigateur",
|
||||
"savein": "Enregistrer dans l'interface utilisateur",
|
||||
"backup2": "Ce fichier est la SEULE façon d’accéder à votre compte sur un système qui ne l’a pas d'enregistré dans l’application ou le navigateur. ASSUREZ-VOUS DE SAUVEGARDER CE FICHIER À PLUSIEURS ENDROITS. Le fichier est chiffré de manière très sécurisée et déchiffré avec votre mot de passe local que vous avez créé à l’étape précédente. Vous pouvez l’enregistrer n’importe où en toute sécurité, mais assurez-vous de le faire à plusieurs endroits.",
|
||||
"savewallet": "Sauvegarder le fichier de sauvegarde du portefeuille",
|
||||
"savewallet": "Enregistrer le fichier de sauvegarde Qortal",
|
||||
"created1": "Votre compte est maintenant créé",
|
||||
"created2": " et sera enregistré dans ce navigateur.",
|
||||
"downloadbackup": "Télécharger le fichier de sauvegarde du portefeuille",
|
||||
"passwordhint": "Un mot de passe doit comporter au moins 5 caractères.",
|
||||
"created2": " et enregistré dans cette interface utilisateur sous forme cryptée.",
|
||||
"downloadbackup": "Enregistrer le fichier de sauvegarde Qortal",
|
||||
"passwordhint": "Le mot de passe doit comporter au moins 5 caractères.",
|
||||
"lp1": "Verrouiller l'écran",
|
||||
"lp2": "Aucun mot de passe d'écran de verrouillage n'est défini !",
|
||||
"lp3": "Veuillez en définir un",
|
||||
@ -162,8 +163,8 @@
|
||||
"confirmlogout": "Êtes-vous certain de vouloir vous déconnecter?"
|
||||
},
|
||||
"fragfile": {
|
||||
"selectfile": "Sélectionnez un fichier",
|
||||
"dragfile": "Glisser-déposer la sauvegarde ici"
|
||||
"selectfile": "Sélectionnez le fichier de sauvegarde",
|
||||
"dragfile": "Glissez-déposez ou cliquez ici pour sélectionner le fichier de sauvegarde"
|
||||
},
|
||||
"settings": {
|
||||
"generalinfo": "Informations générales du compte",
|
||||
@ -180,9 +181,8 @@
|
||||
"notifications": "Notifications",
|
||||
"accountsecurity": "Sécurité du compte",
|
||||
"password": "Mot de passe",
|
||||
"download": "Télécharger le fichier de sauvegarde",
|
||||
"download": "Exporter/Enregistrer le fichier de sauvegarde",
|
||||
"choose": "Veuillez choisir un mot de passe pour chiffrer votre sauvegarde. (Il peut s’agir du même mot de passe que celui avec lequel vous vous êtes connecté, ou différent)",
|
||||
"block": "Notification de bloc (Pour bientôt...)",
|
||||
"playsound": "Lire le son",
|
||||
"shownotifications": "Afficher les notifications",
|
||||
"nodeurl": "Url du noeud",
|
||||
@ -203,17 +203,18 @@
|
||||
"snack5": "Les noeuds ont été importés avec succès",
|
||||
"snack6": "Nœud personnalisé supprimé avec succès",
|
||||
"snack7": "Nœud personnalisé édité avec succès",
|
||||
"exp1": "Exporter la clé principale privée",
|
||||
"exp1": "Exporter la clé privée principale (xpriv)",
|
||||
"exp2": "Exporter la clé principale",
|
||||
"exp3": "Exporter",
|
||||
"exp4": "Veuillez choisir un portefeuille pour sauvegarder la clé principale privée.",
|
||||
"core": "Démarrer les paramètres du noyau",
|
||||
"exp4": "Veuillez choisir un portefeuille pour sauvegarder la clé privée principale.",
|
||||
"core": "Paramètres de démarrage automatique de Qortal Core",
|
||||
"qappNotification1": "Notifications Q-App",
|
||||
"selectnode": "Veuillez sélectionner une option",
|
||||
"arrr1": "Portefeuille ARRR non initialisé !",
|
||||
"arrr2": "Veuillez aller dans l'onglet Portefeuille et initialiser d'abord votre portefeuille arrr.",
|
||||
"arrr2": "Veuillez accéder à « Portefeuilles » et accéder au portefeuille ARRR pour initialiser d'abord le portefeuille.",
|
||||
"arrr3": "Besoin d'une mise à jour principale !",
|
||||
"arrr4": "Pour sauvegarder la clé privée de votre portefeuille arrr, vous avez d'abord besoin d'une mise à jour principale !"
|
||||
"arrr4": "Pour sauvegarder la clé privée de votre portefeuille ARRR vous devez d'abord mettre à jour le Qortal Core!",
|
||||
"sync_indicator": "Désactiver la fenêtre contextuelle de l'indicateur de synchronisation"
|
||||
},
|
||||
"appinfo": {
|
||||
"blockheight": "Hauteur de bloc",
|
||||
@ -247,7 +248,9 @@
|
||||
"balance": "Solde",
|
||||
"balances": "VOS SOLDES DE PORTEFEUILLE",
|
||||
"update": "METTRE À JOUR LES SOLDES DES PORTEFEUILLES",
|
||||
"view": "Voir"
|
||||
"view": "Voir",
|
||||
"all": "Tous",
|
||||
"page": "Page"
|
||||
},
|
||||
"gifs": {
|
||||
"gchange1": "Explorateur GIF",
|
||||
@ -283,7 +286,7 @@
|
||||
"startminting": {
|
||||
"smchange1": "Impossible de récupérer les comptes de frappe",
|
||||
"smchange2": "Échec de la suppression de la clé",
|
||||
"smchange3": "Échec de l'ajout de la clé de frappe",
|
||||
"smchange3": "Échec de l'ajout de la clé de frappe, si la clé vient d'être créée, essayez d'attendre quelques blocs et d'ajouter à nouveau.",
|
||||
"smchange4": "Impossible de créer la clé de parrainage",
|
||||
"smchange5": "Créer une relation",
|
||||
"smchange6": "En attente de confirmation sur blockchain",
|
||||
@ -465,7 +468,7 @@
|
||||
"rchange6": "Destinataire",
|
||||
"rchange7": "Action",
|
||||
"rchange8": "Type",
|
||||
"rchange9": "Niveau 1 - 4 peuvent créer un autopartage et niveau 5 et supérieur peuvent créer un partage de récompense!",
|
||||
"rchange9": "Niveau 0 - 4 peuvent créer un autopartage et niveau 5 et supérieur peuvent créer un partage de récompense!",
|
||||
"rchange10": "Clé publique du bénéficiaire",
|
||||
"rchange11": "Pourcentage du partage de récompense",
|
||||
"rchange12": "Faire quelque chose de délicieux",
|
||||
@ -506,7 +509,7 @@
|
||||
"nchange23": "Prix de vente",
|
||||
"nchange24": "Aucun nom à vendre",
|
||||
"nchange25": "Nom à vendre",
|
||||
"nchange26": "Êtes-vous sûr de vendre ce nom ?",
|
||||
"nchange26": "Êtes-vous sûr de vouloir vendre ce nom ? Si le nom est acheté par un autre compte, les données publiées par ce nom ne seront plus modifiables par vous !",
|
||||
"nchange27": "Pour ce prix en QORT",
|
||||
"nchange28": "En appuyant sur confirmer, la demande de nom de vente sera envoyée !",
|
||||
"nchange29": "Nom à annuler",
|
||||
@ -739,7 +742,8 @@
|
||||
"bchange51": "Pour soumettre les modifications n'oubliez pas de cliquer sur 'Mettre à jour le profil'",
|
||||
"bchange52": "Autorisez-vous cette application à obtenir les informations de votre portefeuille ?",
|
||||
"bchange53": "Toujours autoriser la récupération automatique de votre liste d'amis par toutes les applications",
|
||||
"bchange54": "Autorisez-vous cette application à accéder à votre liste d'amis ?"
|
||||
"bchange54": "Autorisez-vous cette application à accéder à votre liste d'amis ?",
|
||||
"bchange55": "Autorisez-vous cette application à envoyer cette commande ?"
|
||||
},
|
||||
"datapage": {
|
||||
"dchange1": "Gestion de données",
|
||||
@ -839,7 +843,7 @@
|
||||
"cchange74": "a réagi avec",
|
||||
"cchange75": "Téléchargement de la pièce jointe. Cela peut prendre jusqu'à une minute.",
|
||||
"cchange76": "Suppression de la pièce jointe. Cela peut prendre jusqu'à une minute.",
|
||||
"cchange77": "La taille de la pièce jointe dépasse 1 Mo",
|
||||
"cchange77": "La taille de la pièce jointe dépasse 10 Mo",
|
||||
"cchange78": "Êtes-vous sûr de vouloir supprimer cette image ?",
|
||||
"cchange79": "Êtes-vous sûr de vouloir supprimer cette pièce jointe ?",
|
||||
"cchange80": "Cette image a été supprimée",
|
||||
@ -852,7 +856,24 @@
|
||||
"cchange94": "chargé",
|
||||
"cchange95": "Uniquement mes ressources",
|
||||
"cchange96": "Gestion de groupe ouverte",
|
||||
"cchange97": "Lien de rejoindre le groupe copié dans le presse-papiers"
|
||||
"cchange97": "Lien de rejoindre le groupe copié dans le presse-papiers",
|
||||
"cchange98": "Téléchargement du fichier. Cela peut prendre quelques minutes.",
|
||||
"cchange99": "Suppression du fichier. Cela peut prendre jusqu'à une minute.",
|
||||
"cchange100": "La taille du fichier dépasse 125 Mo",
|
||||
"cchange101": "Etes-vous sûr de vouloir supprimer ce fichier ?",
|
||||
"cchange102": "Ce fichier a été supprimé",
|
||||
"cchange103": "Téléchargement du gif. Cela peut prendre jusqu'à une minute.",
|
||||
"cchange104": "Suppression du gif. Cela peut prendre jusqu'à une minute.",
|
||||
"cchange105": "La taille du fichier dépasse 3 Mo",
|
||||
"cchange106": "Etes-vous sûr de vouloir supprimer ce gif ?",
|
||||
"cchange107": "Ce gif a été supprimé",
|
||||
"cchange108": "Le téléchargement continuera en arrière-plan, UN seul fichier Q-Chat peut être téléchargé simultanément.",
|
||||
"cchange109": "Type de fichier non pris en charge !",
|
||||
"cchange110": "TÉLÉCHARGEMENT D'IMAGE",
|
||||
"cchange111": "TÉLÉCHARGEMENT GIF",
|
||||
"cchange112": "TÉLÉCHARGEMENT DE PIÈCE JOINTE",
|
||||
"cchange113": "TÉLÉCHARGEMENT DE FICHIER",
|
||||
"cchange114": "Écrivez quelque chose ..."
|
||||
},
|
||||
"welcomepage": {
|
||||
"wcchange1": "Bienvenue dans Q-Chat",
|
||||
@ -944,7 +965,19 @@
|
||||
"gchange56": "Nom du groupe à rechercher",
|
||||
"gchange57": "Nom de groupe privé introuvable",
|
||||
"gchange58": "Notez que le nom du groupe doit correspondre exactement.",
|
||||
"gchange59": "Afficher / Masquer le téléscripteur"
|
||||
"gchange59": "Afficher / Masquer le téléscripteur",
|
||||
"gchange60": "Veuillez saisir le nom du groupe",
|
||||
"gchange61": "Veuillez entrer la description",
|
||||
"gchange62": "Êtes-vous sûr de mettre à jour ce groupe?",
|
||||
"gchange63": "En appuyant sur CONFIRMER, la demande de UPDATE_GROUP sera envoyée !",
|
||||
"gchange64": "Propriétaire actuel / Nouveau propriétaire",
|
||||
"gchange65": "Remplacez cette adresse par TRANSFERT DE PROPRIÉTÉ du groupe !",
|
||||
"gchange66": "Invalid Owner / New Owner Address",
|
||||
"gchange67": "MISE À JOUR DE GROUPE réussie !",
|
||||
"gchange68": "Définir l'avatar de groupe",
|
||||
"gchange69": "Messages",
|
||||
"gchange70": "Aucun message ces dernières 24 heures !",
|
||||
"gchange71": "Vous avez déjà rejoint ce groupe !"
|
||||
},
|
||||
"puzzlepage": {
|
||||
"pchange1": "Puzzles",
|
||||
@ -1287,5 +1320,104 @@
|
||||
"tour20": "blocs derrière. Souhaitez-vous actualiser (bootstrap) pour accélérer le processus de synchronisation ?",
|
||||
"tour21": "blocs restants.",
|
||||
"tour22": "Actualisation (bootstrap) demandée. Veuillez patienter."
|
||||
},
|
||||
"chatsettings": {
|
||||
"cs1": "Paramètres de discussion",
|
||||
"cs2": "Paramètres généraux de discussion",
|
||||
"cs3": "Horodatage du message de discussion",
|
||||
"cs4": "Il y a du temps",
|
||||
"cs5": "Heure locale",
|
||||
"cs6": "Taille de la police des messages de discussion",
|
||||
"cs7": "Standard",
|
||||
"cs8": "px"
|
||||
},
|
||||
"modals": {
|
||||
"mpchange1": "Tous les AT demandés doivent être de la même Blockchain étrangère.",
|
||||
"mpchange2": "Donnez-vous à cette application la permission d'exécuter un ordre d'achat ?",
|
||||
"mpchange3": "Ordre d'achat créé avec succès",
|
||||
"mpchange4": "Veuillez patienter jusqu'à ce que l'ordre d'achat soit exécuté",
|
||||
"mpchange5": "Échec de la soumission de l'ordre d'achat.",
|
||||
"mpchange6": "Donnez-vous à cette application la permission d'exécuter un ordre de vente ?",
|
||||
"mpchange7": "Pour :",
|
||||
"mpchange8": "Ordre de vente créé avec succès.",
|
||||
"mpchange9": "Veuillez patienter jusqu'à ce que l'ordre de vente soit répertorié.",
|
||||
"mpchange10": "Échec de la soumission de l'ordre de vente.",
|
||||
"mpchange11": "Impossible de trouver les informations AT.",
|
||||
"mpchange12": "Donnez-vous à cette application la permission d'exécuter l'annulation d'un ordre de vente ?",
|
||||
"mpchange13": "Ordre de vente annulé avec succès.",
|
||||
"mpchange14": "Veuillez patienter jusqu'à ce que l'annulation de la transaction soit terminée exécuté.",
|
||||
"mpchange15": "Échec de l'annulation de l'ordre de vente.",
|
||||
"mpchange16": "Erreur lors de la récupération de la liste.",
|
||||
"mpchange17": "Erreur lors de l'ajout à la liste.",
|
||||
"mpchange18": "Erreur lors de la suppression de la liste.",
|
||||
"mpchange19": "Erreur lors de la récupération de la liste d'amis.",
|
||||
"mpchange20": "Le nombre n'est pas un nombre.",
|
||||
"mpchange21": "Nombre manquant.",
|
||||
"mpchange22": "Aucune donnée ou fichier n'a été soumis.",
|
||||
"mpchange23": "Le chiffrement des données nécessite des clés publiques.",
|
||||
"mpchange24": "Seules les données chiffrées peuvent être envoyées dans des services privés.",
|
||||
"mpchange25": "Le téléchargement a échoué en raison d'un chiffrement échoué.",
|
||||
"mpchange26": "Le téléchargement a échoué.",
|
||||
"mpchange27": "Données non valides.",
|
||||
"mpchange28": "Aucune ressource à publier.",
|
||||
"mpchange29": "Inconnu erreur.",
|
||||
"mpchange30": "Sondage non trouvé.",
|
||||
"mpchange31": "Échec du vote sur le sondage.",
|
||||
"mpchange32": "Échec de la création du sondage.",
|
||||
"mpchange33": "Veuillez saisir un lien qortal - qortal://...",
|
||||
"mpchange34": "Lien qortal non valide.",
|
||||
"mpchange35": "Erreur lors de l'envoi de la notification.",
|
||||
"mpchange36": "Impossible d'envoyer le message.",
|
||||
"mpchange37": "Impossible d'envoyer un message chiffré à cet utilisateur car il n'a pas sa clé publique sur la chaîne.",
|
||||
"mpchange38": "La demande n'a pas pu être satisfaite.",
|
||||
"mpchange39": "Groupe non trouvé.",
|
||||
"mpchange40": "Donnez-vous à cette application l'autorisation d'effectuer une demande de participation à un groupe ?",
|
||||
"mpchange41": "Nom du groupe :",
|
||||
"mpchange42": "ID du groupe :",
|
||||
"mpchange43": "Demande de participation à un groupe créée avec succès.",
|
||||
"mpchange44": "Impossible de rejoindre le groupe.",
|
||||
"mpchange45": "Un type MIME n'a pas pu être dérivé.",
|
||||
"mpchange46": "Une extension de fichier n'a pas pu être dérivée.",
|
||||
"mpchange47": "L'utilisateur a refusé le téléchargement.",
|
||||
"mpchange48": "Échec du lancement du téléchargement.",
|
||||
"mpchange49": "Échec du déploiement d'AT.",
|
||||
"mpchange50": "L'utilisateur n'a pas de profil.",
|
||||
"mpchange51": "Impossible de trouver les données demandées.",
|
||||
"mpchange52": "Échec de l'obtention des données de profil.",
|
||||
"mpchange53": "Échec de la définition de la propriété.",
|
||||
"mpchange54": "Échec de l'ouverture du profil.",
|
||||
"mpchange55": "Erreur lors de la récupération des informations du serveur.",
|
||||
"mpchange56": "Erreur dans le résumé de l'activité de tx.",
|
||||
"mpchange57": "Erreur lors de l'obtention des frais étrangers.",
|
||||
"mpchange58": "Erreur lors de la mise à jour des frais étrangers.",
|
||||
"mpchange59": "Erreur lors de l'obtention de l'historique de connexion au serveur.",
|
||||
"mpchange60": "Erreur lors de la définition du serveur actuel.",
|
||||
"mpchange61": "Erreur lors de l'ajout d'un serveur.",
|
||||
"mpchange62": "Erreur lors de la suppression d'un serveur.",
|
||||
"mpchange63": "Erreur lors de la récupération du résumé.",
|
||||
"mpchange64": "Échec du décodage de la transaction.",
|
||||
"mpchange65": "Donnez-vous à cette application l'autorisation de signer et de traiter une transaction ?",
|
||||
"mpchange66": "Donnez-vous à cette application l'autorisation de signer une transaction ?",
|
||||
"mpchange67": "Lisez attentivement la transaction avant d'accepter.",
|
||||
"mpchange68": "Type de Tx :",
|
||||
"mpchange69": "Données de Tx :",
|
||||
"mpchange70": "Le traitement de la transaction n'a pas été demandé.",
|
||||
"mpchange71": "Les octets signés sont : ",
|
||||
"mpchange72": "Transaction signée et traité avec succès.",
|
||||
"mpchange73": "La transaction n'a pas pu être traitée.",
|
||||
"mpchange74": "Échec de la récupération du solde QORT. Réessayez !",
|
||||
"mpchange75": "Impossible d'envoyer la pièce.",
|
||||
"mpchange76": "Échec de la récupération du solde BTC. Réessayez !",
|
||||
"mpchange77": "Échec de la récupération du solde LTC. Réessayez !",
|
||||
"mpchange78": "Échec de la récupération du solde DOGE. Réessayez !",
|
||||
"mpchange79": "Échec de la récupération du solde DGB. Réessayez !",
|
||||
"mpchange80": "Échec de la récupération du solde RVN. Réessayez !",
|
||||
"mpchange81": "Échec de la récupération du solde ARRR. Réessayez !",
|
||||
"mpchange82": "CHAMPS MANQUANTS",
|
||||
"mpchange83": "REFUSÉ",
|
||||
"mpchange84": "ÉCHEC",
|
||||
"mpchange85": "SUCCÈS",
|
||||
"mpchange86": "Toujours autoriser l'obtention automatique du solde du portefeuille",
|
||||
"mpchange87": "Veuillez saisir l'ID du groupe"
|
||||
}
|
||||
}
|
||||
|
@ -8,6 +8,7 @@
|
||||
"dutch": "ओलंदेज़",
|
||||
"english": "अंग्रेज़ी",
|
||||
"estonian": "एस्टोनियाई",
|
||||
"finnish": "फ़िनिश",
|
||||
"french": "फ्रेंच",
|
||||
"german": "जर्मन",
|
||||
"hindi": "हिन्दी",
|
||||
@ -107,16 +108,16 @@
|
||||
"decrypt": "डिक्रिप्ट बैकअप",
|
||||
"save": "इस ब्राउज़र में सेव करें.",
|
||||
"prepare": "आपका खाता तैयार करना",
|
||||
"areyousure": "क्या आप वाकई इस वॉलेट को सहेजे गए वॉलेट से निकालना चाहते हैं?",
|
||||
"areyousure": "क्या आप वाकई इस वॉलेट को सहेजे गए वॉलेट से निकालना चाहते हैं? (यदि हटा दिया गया है और कोई बैकअप फ़ाइल मौजूद नहीं है, तो खाता हमेशा के लिए खो सकता है! ऐसा करने से पहले सुनिश्चित करें कि आपके पास एक बैकअप फ़ाइल है!)",
|
||||
"error1": "बैकअप मान्य जेसन होना चाहिए",
|
||||
"error2": "लॉगिन विकल्प नहीं चुना गया",
|
||||
"createwelcome": "क्वॉर्टल में आपका स्वागत है, आप इसे आरपीजी गेम के समान पाएंगे, आप, क्वॉर्टल नेटवर्क पर एक मिंटर के रूप में (यदि आप एक बनना चुनते हैं) आपके पास अपने खाते को समतल करने का मौका होगा, जिससे आप दोनों को और अधिक मिलेगा मंच के निर्णयों पर मतदान के संदर्भ में क्वॉर्ट ब्लॉक इनाम और नेटवर्क पर भी बड़ा प्रभाव है।",
|
||||
"createwelcome": "क्वॉर्टल में आपका स्वागत है! आपका विकेन्द्रीकृत डिजिटल भविष्य आपका इंतजार कर रहा है! Qortal पर केवल आपका अपने डेटा पर पूर्ण नियंत्रण होता है। क्वॉर्टल एक नई और पूरी तरह से उपयोगकर्ता-नियंत्रित डिजिटल दुनिया का आधार स्तर प्रदान करता है।",
|
||||
"createa": "ए",
|
||||
"click": "बीजवाक्य देखने के लिए क्लिक करें",
|
||||
"confirmpass": "पासवर्ड की पुष्टि कीजिये",
|
||||
"willbe": "पृष्ठभूमि में बेतरतीब ढंग से उत्पन्न होगा। यह क्वॉर्टल में आपके ब्लॉकचेन खाते के लिए आपके निजी कुंजी जनरेटर के रूप में उपयोग किया जाता है।",
|
||||
"willbe": "पृष्ठभूमि में बेतरतीब ढंग से उत्पन्न किया जाएगा. यदि आप सीडफ़्रेज़ देखना चाहते हैं, तो इस पाठ में हाइलाइट किए गए 'सीडफ़्रेज़' पर क्लिक करें। इसका उपयोग Qortal में आपके ब्लॉकचेन खाते के लिए आपके निजी कुंजी जनरेटर के रूप में किया जाता है। डिफ़ॉल्ट रूप से सुरक्षा के लिए, सीडफ़्रेज़ प्रदर्शित नहीं किए जाते हैं जब तक कि विशेष रूप से चुना न जाए।",
|
||||
"clicknext": "नीचे अगला पर क्लिक करके अपना क्वॉर्टल अकाउंट बनाएं।",
|
||||
"ready": "आपका खाता अब बनने के लिए तैयार है। यह इस ब्राउज़र में सेव हो जाएगा। यदि आप नहीं चाहते कि आपका नया खाता आपके ब्राउज़र में सहेजा जाए, तो आप नीचे दिए गए बॉक्स को अनचेक कर सकते हैं। आप अभी भी अपने वॉलेट बैकअप फ़ाइल का उपयोग करके अपने नए खाते (लॉग आउट करने के बाद) के साथ लॉगिन करने में सक्षम होंगे, जिसे आपको अपना खाता बनाने के बाद डाउनलोड करना होगा।",
|
||||
"ready": "अब आपका अकाउंट बनने के लिए तैयार है. इसे डिफ़ॉल्ट रूप से, एन्क्रिप्टेड रूप में, Qortal UI की इस प्रति में सहेजा जाएगा। यदि आप नहीं चाहते कि आपका नया खाता यहां सहेजा जाए, तो आप नीचे दिए गए बॉक्स को अनचेक कर सकते हैं। आप अभी भी अपने वॉलेट बैकअप फ़ाइल का उपयोग करके अपने नए खाते से (लॉग आउट करने के बाद) लॉग इन कर पाएंगे, जिसे आपको अपना खाता बनाने के बाद डाउनलोड करना होगा।",
|
||||
"welmessage": "क्वॉर्टल में आपका स्वागत है",
|
||||
"pleaseenter": "कृपया पासवर्ड दर्ज करें!",
|
||||
"notmatch": "पासवर्ड मेल नहीं खाता!",
|
||||
@ -127,7 +128,7 @@
|
||||
"loading": "लोड हो रहा है कृपया प्रतीक्षा करें...",
|
||||
"createdseed": "आपका बनाएँ बीज वाक्यांश",
|
||||
"saveseed": "सीडफ़्रेज़ सहेजें",
|
||||
"savein": "ब्राउज़र में सहेजें",
|
||||
"savein": "इस यूआई में सहेजें",
|
||||
"backup2": "यह फ़ाइल किसी ऐसे सिस्टम पर आपके खाते तक पहुँचने का एकमात्र तरीका है, जिसमें इसे ऐप/ब्राउज़र में सहेजा नहीं गया है। इस फ़ाइल का कई स्थानों पर बैकअप लेना सुनिश्चित करें। फ़ाइल बहुत सुरक्षित रूप से एन्क्रिप्ट की गई है और पिछले चरण में आपके द्वारा बनाए गए आपके स्थानीय पासवर्ड से डिक्रिप्ट की गई है। आप इसे कहीं भी सुरक्षित रूप से सहेज सकते हैं, लेकिन इसे कई स्थानों पर करना सुनिश्चित करें।",
|
||||
"savewallet": "वॉलेट बैकअप फ़ाइल सहेजें",
|
||||
"created1": "आपका खाता अब निर्मित हो गया है",
|
||||
@ -163,7 +164,7 @@
|
||||
},
|
||||
"fragfile": {
|
||||
"selectfile": "फ़ाइल का चयन करें",
|
||||
"dragfile": "बैकअप को यहां खींचें और छोड़ें"
|
||||
"dragfile": "बैकअप फ़ाइल का चयन करने के लिए खींचें और छोड़ें या यहां क्लिक करें"
|
||||
},
|
||||
"settings": {
|
||||
"generalinfo": "सामान्य खाता जानकारी",
|
||||
@ -180,9 +181,8 @@
|
||||
"qr_login_button_2": "लॉगिन क्यूआर कोड जनरेट करें",
|
||||
"accountsecurity": "खाते की सुरक्षा",
|
||||
"password": "पासवर्ड",
|
||||
"download": "बैकअप फ़ाइल डाउनलोड करें",
|
||||
"download": "बैकअप फ़ाइल निर्यात/सहेजें",
|
||||
"choose": "कृपया अपने बैकअप को एन्क्रिप्ट करने के लिए पासवर्ड चुनें। (यह वही हो सकता है जैसा आपने एक लॉग इन किया है, या अलग)",
|
||||
"block": "ब्लॉक सूचनाएं (जल्द ही आ रही ...",
|
||||
"playsound": "ध्वनि चलाएं",
|
||||
"shownotifications": "सूचनाएं दिखाएं",
|
||||
"nodeurl": "नोड यूआरएल",
|
||||
@ -192,8 +192,8 @@
|
||||
"protocol": "परोटोकोल",
|
||||
"domain": "डोमेन",
|
||||
"port": "पोर्ट",
|
||||
"import": "आयात नोड्स",
|
||||
"export": "निर्यात नोड्स",
|
||||
"import": "सहेजे गए नोड्स आयात करें",
|
||||
"export": "सहेजे गए नोड्स निर्यात करें",
|
||||
"deletecustomnode": "सभी कस्टम नोड्स निकालें",
|
||||
"warning": "आपके मौजूदा नोड्स हटा दिए जाएंगे और बैकअप से नया बनाया जाएगा।",
|
||||
"snack1": "मानक नोड्स को सफलतापूर्वक हटा दिया गया और जोड़ा गया",
|
||||
@ -203,17 +203,18 @@
|
||||
"snack5": "नोड्स सफलतापूर्वक आयात किए गए",
|
||||
"snack6": "कस्टम नोड सफलतापूर्वक हटा दिया गया",
|
||||
"snack7": "कस्टम नोड सफलतापूर्वक संपादित",
|
||||
"exp1": "निजी मास्टर कुंजी निर्यात करें",
|
||||
"exp1": "निजी मास्टर कुंजी निर्यात करें (xpriv)",
|
||||
"exp2": "निर्यात मास्टर कुंजी",
|
||||
"exp3": "निर्यात",
|
||||
"exp4": "निजी मास्टर कुंजी का बैकअप लेने के लिए कृपया एक वॉलेट चुनें।",
|
||||
"core": "कोर सेटिंग प्रारंभ करें",
|
||||
"core": "कोर ऑटो-स्टार्ट सेटिंग्स",
|
||||
"qappNotification1": "क्यू-ऐप अधिसूचनाएँ",
|
||||
"selectnode": "कृपया एक विकल्प चुनें",
|
||||
"arrr1": "ARRR वॉलेट प्रारंभ नहीं हुआ!",
|
||||
"arrr2": "कृपया वॉलेट टैब पर जाएं और पहले अपना Arrr वॉलेट प्रारंभ करें।",
|
||||
"arrr2": "कृपया पहले वॉलेट प्रारंभ करने के लिए वॉलेट टैब पर जाएं और ARRR वॉलेट तक पहुंचें",
|
||||
"arrr3": "मुख्य अद्यतन की आवश्यकता है!",
|
||||
"arrr4": "अपने Arrr वॉलेट की निजी कुंजी को सहेजने के लिए आपको पहले एक कोर अपडेट की आवश्यकता है!"
|
||||
"arrr4": "अपने Arrr वॉलेट की निजी कुंजी को सहेजने के लिए आपको पहले एक कोर अपडेट की आवश्यकता है!",
|
||||
"sync_indicator": "सिंक संकेतक पॉपअप अक्षम करें"
|
||||
},
|
||||
"appinfo": {
|
||||
"blockheight": "ब्लॉक ऊँचाई",
|
||||
@ -247,7 +248,9 @@
|
||||
"balance": "संतुलन",
|
||||
"balances": "आपका वॉलेट बैलेंस",
|
||||
"update": "अपडेट वॉलेट बैलेंस",
|
||||
"view": "देखना"
|
||||
"view": "देखना",
|
||||
"all": "सभी",
|
||||
"page": "पृष्ठ"
|
||||
},
|
||||
"gifs": {
|
||||
"gchange1": "जीआईएफ एक्सप्लोरर",
|
||||
@ -283,7 +286,7 @@
|
||||
"startminting": {
|
||||
"smchange1": "खनन खाते नहीं लाए जा सकते",
|
||||
"smchange2": "कुंजी निकालने में विफल",
|
||||
"smchange3": "मिंटिंग की जोड़ने में विफल",
|
||||
"smchange3": "मिंटिंग कुंजी जोड़ने में विफल, यदि कुंजी अभी-अभी बनाई गई है तो कुछ ब्लॉक प्रतीक्षा करके पुनः जोड़ने का प्रयास करें",
|
||||
"smchange4": "प्रायोजन कुंजी नहीं बना सकता",
|
||||
"smchange5": "संबंध बनाना",
|
||||
"smchange6": "ब्लॉकचेन पर पुष्टि की प्रतीक्षा में",
|
||||
@ -465,7 +468,7 @@
|
||||
"rchange6": "प्राप्तकर्ता",
|
||||
"rchange7": "कार्रवाई",
|
||||
"rchange8": "टाइप",
|
||||
"rchange9": "लेवल 1 - 4 एक सेल्फ शेयर बना सकता है और लेवल 5 या उससे ऊपर एक रिवॉर्ड शेयर बना सकता है!",
|
||||
"rchange9": "लेवल 0 - 4 एक सेल्फ शेयर बना सकता है और लेवल 5 या उससे ऊपर एक रिवॉर्ड शेयर बना सकता है!",
|
||||
"rchange10": "प्राप्तकर्ता सार्वजनिक कुंजी",
|
||||
"rchange11": "रिवॉर्ड शेयर प्रतिशत",
|
||||
"rchange12": "कुछ स्वादिष्ट करना",
|
||||
@ -506,7 +509,7 @@
|
||||
"nchange23": "मूल्य बेचें",
|
||||
"nchange24": "बिक्री के लिए कोई नाम नहीं",
|
||||
"nchange25": "बेचने के लिए नाम",
|
||||
"nchange26": "क्या आप वाकई इस नाम को बेचना चाहते हैं?",
|
||||
"nchange26": "क्या आप वाकई यह नाम बेचना चाहते हैं? यदि नाम किसी अन्य खाते से खरीदा जाता है तो यह आपके नियंत्रण से बाहर हो जाएगा!",
|
||||
"nchange27": "QORT में इस कीमत के लिए",
|
||||
"nchange28": "पुष्टि करें दबाने पर, विक्रय नाम अनुरोध भेजा जाएगा!",
|
||||
"nchange29": "रद्द करने के लिए नाम",
|
||||
@ -739,7 +742,8 @@
|
||||
"bchange51": "परिवर्तन सबमिट करने के लिए 'अपडेट प्रोफ़ाइल' पर क्लिक करना न भूलें",
|
||||
"bchange52": "क्या आप इस एप्लिकेशन को अपने वॉलेट की जानकारी प्राप्त करने की अनुमति देते हैं?",
|
||||
"bchange53": "हमेशा अपनी मित्र सूची को सभी ऐप्स द्वारा स्वचालित रूप से पुनर्प्राप्त करने की अनुमति दें",
|
||||
"bchange54": "क्या आप इस एप्लिकेशन को अपनी मित्र सूची तक पहुंचने की अनुमति देते हैं?"
|
||||
"bchange54": "क्या आप इस एप्लिकेशन को अपनी मित्र सूची तक पहुंचने की अनुमति देते हैं?",
|
||||
"bchange55": "क्या आप इस एप्लिकेशन को यह कमांड भेजने की अनुमति देते हैं?"
|
||||
},
|
||||
"datapage": {
|
||||
"dchange1": "डाटा प्रबंधन",
|
||||
@ -839,7 +843,7 @@
|
||||
"cchange74": "के साथ प्रतिक्रिया",
|
||||
"cchange75": "अटैचमेंट अपलोड हो रहा है। इसमें एक मिनट तक का समय लग सकता है।",
|
||||
"cchange76": "अनुलग्नक हटाया जा रहा है। इसमें एक मिनट तक का समय लग सकता है।",
|
||||
"cchange77": "अटैचमेंट का आकार 1 एमबी से अधिक है",
|
||||
"cchange77": "अटैचमेंट का आकार 10 एमबी से अधिक है",
|
||||
"cchange78": "क्या आप सुनिश्चित हैं कि आप इस चित्र को हटाना चाहते हैं?",
|
||||
"cchange79": "क्या आप वाकई इस अटैचमेंट को मिटाना चाहते हैं?",
|
||||
"cchange80": "इस चित्र को हटा दिया गया है",
|
||||
@ -852,7 +856,24 @@
|
||||
"cchange94": "लोड किया गया",
|
||||
"cchange95": "केवल मेरे संसाधन",
|
||||
"cchange96": "समूह प्रबंधन खोलें",
|
||||
"cchange97": "ग्रुप में शामिल होने का लिंक क्लिपबोर्ड पर कॉपी किया गया"
|
||||
"cchange97": "ग्रुप में शामिल होने का लिंक क्लिपबोर्ड पर कॉपी किया गया",
|
||||
"cchange98": "फ़ाइल अपलोड हो रही है। इसमें कुछ मिनट लग सकते हैं।",
|
||||
"cchange99": "फ़ाइल हटाई जा रही है। इसमें एक मिनट तक का समय लग सकता है।",
|
||||
"cchange100": "फ़ाइल का आकार 125 एमबी से अधिक है",
|
||||
"cchange101": "क्या आप वाकई इस फ़ाइल को हटाना चाहते हैं?",
|
||||
"cchange102": "यह फ़ाइल हटा दी गई है",
|
||||
"cchange103": "gif अपलोड हो रहा है। इसमें एक मिनट तक का समय लग सकता है।",
|
||||
"cchange104": "Gif हटा रहा हूँ। इसमें एक मिनट तक का समय लग सकता है।",
|
||||
"cchange105": "फ़ाइल का आकार 3 एमबी से अधिक है",
|
||||
"cchange106": "क्या आप वाकई इस GIF को हटाना चाहते हैं?",
|
||||
"cchange107": "यह GIF हटा दिया गया है",
|
||||
"cchange108": "डाउनलोड पृष्ठभूमि में जारी रहेगा, केवल एक Q-चैट फ़ाइल एक साथ डाउनलोड की जा सकती है।",
|
||||
"cchange109": "फ़ाइल प्रकार समर्थित नहीं है!",
|
||||
"cchange110": "छवि अपलोड करें",
|
||||
"cchange111": "जीआईएफ अपलोड",
|
||||
"cchange112": "अटैचमेंट अपलोड",
|
||||
"cchange113": "फ़ाइल अपलोड करें",
|
||||
"cchange114": "कुछ लिखें ..."
|
||||
},
|
||||
"welcomepage": {
|
||||
"wcchange1": "क्यू-चैट में आपका स्वागत है",
|
||||
@ -944,7 +965,19 @@
|
||||
"gchange56": "खोजने के लिए समूह का नाम",
|
||||
"gchange57": "निजी समूह का नाम नहीं मिला",
|
||||
"gchange58": "ध्यान दें कि समूह का नाम सटीक मेल खाना चाहिए।",
|
||||
"gchange59": "टिकर दिखाएं / छुपाएं"
|
||||
"gchange59": "टिकर दिखाएं / छुपाएं",
|
||||
"gchange60": "कृपया समूह का नाम दर्ज करें",
|
||||
"gchange61": "कृपया विवरण दर्ज करें",
|
||||
"gchange62": "क्या आप इस समूह को अपडेट करने के लिए सुनिश्चित हैं?",
|
||||
"gchange63": "पुष्टि करने पर UPDATE_GROUP अनुरोध भेजा जाएगा!",
|
||||
"gchange64": "वर्तमान मालिक /",
|
||||
"gchange65": "इस पते को समूह के स्थानांतरण स्वामित्व में बदलें!",
|
||||
"gchange66": "अमान्य मालिक/नए मालिक का पता",
|
||||
"gchange67": "समूह अद्यतन सफल!",
|
||||
"gchange68": "समूह अवतार सेट करें",
|
||||
"gchange69": "संदेश",
|
||||
"gchange70": "पिछले 24 घंटों में कोई संदेश नहीं!",
|
||||
"gchange71": "आप पहले ही इस समूह में शामिल हो चुके हैं!"
|
||||
},
|
||||
"puzzlepage": {
|
||||
"pchange1": "पहेलि",
|
||||
@ -1287,5 +1320,104 @@
|
||||
"tour20": "पीछे ब्लॉक। क्या आप सिंकिंग प्रक्रिया को तेज करने के लिए रीफ्रेश (बूटस्ट्रैप) करना चाहेंगे?",
|
||||
"tour21": "ब्लॉक शेष हैं।",
|
||||
"tour22": "रिफ्रेश (बूटस्ट्रैप) का अनुरोध किया गया। कृपया प्रतीक्षा करें।"
|
||||
},
|
||||
"chatsettings": {
|
||||
"cs1": "चैट सेटिंग",
|
||||
"cs2": "सामान्य चैट सेटिंग",
|
||||
"cs3": "चैट संदेश टाइमस्टैम्प",
|
||||
"cs4": "समय पहले",
|
||||
"cs5": "स्थानीय समय",
|
||||
"cs6": "चैट संदेश फ़ॉन्ट आकार",
|
||||
"cs7": "मानक",
|
||||
"cs8": "px"
|
||||
},
|
||||
"modals": {
|
||||
"mpchange1": "सभी अनुरोधित ATs एक ही विदेशी ब्लॉकचेन के होने चाहिए।",
|
||||
"mpchange2": "क्या आप इस एप्लिकेशन को खरीद ऑर्डर निष्पादित करने की अनुमति देते हैं?",
|
||||
"mpchange3": "खरीद ऑर्डर सफलतापूर्वक बनाया गया",
|
||||
"mpchange4": "कृपया खरीद ऑर्डर पूरा होने तक प्रतीक्षा करें",
|
||||
"mpchange5": "खरीद ऑर्डर सबमिट करने में विफल रहा।",
|
||||
"mpchange6": "क्या आप इस एप्लिकेशन को बिक्री ऑर्डर निष्पादित करने की अनुमति देते हैं?",
|
||||
"mpchange7": "के लिए:",
|
||||
"mpchange8": "बिक्री ऑर्डर सफलतापूर्वक बनाया गया।",
|
||||
"mpchange9": "कृपया बिक्री ऑर्डर सूचीबद्ध होने तक प्रतीक्षा करें।",
|
||||
"mpchange10": "बिक्री ऑर्डर सबमिट करने में विफल रहा।",
|
||||
"mpchange11": "AT जानकारी नहीं मिल पा रही है।",
|
||||
"mpchange12": "क्या आप इस एप्लिकेशन को बिक्री ऑर्डर रद्द करने की अनुमति देते हैं?",
|
||||
"mpchange13": "बिक्री ऑर्डर सफलतापूर्वक रद्द किया गया।",
|
||||
"mpchange14": "कृपया तब तक प्रतीक्षा करें जब तक कि व्यापार रद्द करने की प्रक्रिया पूरी न हो जाए।",
|
||||
"mpchange15": "बिक्री आदेश रद्द करने में विफल।",
|
||||
"mpchange16": "सूची प्राप्त करने में त्रुटि।",
|
||||
"mpchange17": "सूची में जोड़ने में त्रुटि।",
|
||||
"mpchange18": "सूची हटाने में त्रुटि।",
|
||||
"mpchange19": "मित्र सूची प्राप्त करने में त्रुटि।",
|
||||
"mpchange20": "गणना कोई संख्या नहीं है।",
|
||||
"mpchange21": "गणना गुम है।",
|
||||
"mpchange22": "कोई डेटा या फ़ाइल सबमिट नहीं की गई।",
|
||||
"mpchange23": "डेटा एन्क्रिप्ट करने के लिए सार्वजनिक कुंजी की आवश्यकता होती है।",
|
||||
"mpchange24": "केवल एन्क्रिप्ट किया गया डेटा ही निजी सेवाओं में जा सकता है।",
|
||||
"mpchange25": "एन्क्रिप्शन विफल होने के कारण अपलोड विफल हुआ।",
|
||||
"mpchange26": "अपलोड विफल हुआ।",
|
||||
"mpchange27": "अमान्य डेटा।",
|
||||
"mpchange28": "प्रकाशित करने के लिए कोई संसाधन नहीं।",
|
||||
"mpchange29": "अज्ञात त्रुटि।",
|
||||
"mpchange30": "मतदान नहीं मिला।",
|
||||
"mpchange31": "मतदान पर वोट करने में विफल।",
|
||||
"mpchange32": "मतदान बनाने में विफल।",
|
||||
"mpchange33": "कृपया एक qortal लिंक दर्ज करें - qortal://...",
|
||||
"mpchange34": "अमान्य qortal लिंक।",
|
||||
"mpchange35": "सूचना पुश करने में त्रुटि।",
|
||||
"mpchange36": "संदेश नहीं भेजा जा सका।",
|
||||
"mpchange37": "इस उपयोगकर्ता को एन्क्रिप्टेड संदेश नहीं भेजा जा सकता क्योंकि उनके पास चेन पर उनकी पब्लिककी नहीं है।",
|
||||
"mpchange38": "अनुरोध पूरा नहीं किया जा सका।",
|
||||
"mpchange39": "समूह नहीं मिला।",
|
||||
"mpchange40": "क्या आप इस एप्लिकेशन को समूह में शामिल होने का अनुरोध करने की अनुमति देते हैं?",
|
||||
"mpchange41": "समूह का नाम:",
|
||||
"mpchange42": "समूह आईडी:",
|
||||
"mpchange43": "समूह में शामिल होने का अनुरोध सफलतापूर्वक बनाया गया।",
|
||||
"mpchange44": "समूह में शामिल होने में विफल रहा।",
|
||||
"mpchange45": "एक माइम प्रकार प्राप्त नहीं किया जा सका।",
|
||||
"mpchange46": "फ़ाइल एक्सटेंशन प्राप्त नहीं किया जा सका।",
|
||||
"mpchange47": "उपयोगकर्ता ने डाउनलोड अस्वीकार कर दिया।",
|
||||
"mpchange48": "डाउनलोड आरंभ करने में विफल रहा।",
|
||||
"mpchange49": "AT को तैनात करने में विफल रहा।",
|
||||
"mpchange50": "उपयोगकर्ता के पास प्रोफ़ाइल नहीं है।",
|
||||
"mpchange51": "अनुरोधित डेटा नहीं मिल सका।",
|
||||
"mpchange52": "प्रोफ़ाइल डेटा प्राप्त करने में विफल रहा।",
|
||||
"mpchange53": "संपत्ति सेट करने में विफल रहा।",
|
||||
"mpchange54": "प्रोफ़ाइल खोलने में विफल रहा।",
|
||||
"mpchange55": "सर्वर जानकारी प्राप्त करने में त्रुटि।",
|
||||
"mpchange56": "tx गतिविधि सारांश में त्रुटि।",
|
||||
"mpchange57": "विदेशी शुल्क प्राप्त करने में त्रुटि।",
|
||||
"mpchange58": "विदेशी शुल्क अपडेट करने में त्रुटि।",
|
||||
"mpchange59": "सर्वर कनेक्शन इतिहास प्राप्त करने में त्रुटि।",
|
||||
"mpchange60": "वर्तमान सर्वर सेट करने में त्रुटि।",
|
||||
"mpchange61": "सर्वर जोड़ने में त्रुटि।",
|
||||
"mpchange62": "सर्वर हटाने में त्रुटि।",
|
||||
"mpchange63": "सारांश प्राप्त करने में त्रुटि।",
|
||||
"mpchange64": "लेनदेन को डिकोड करने में विफल।",
|
||||
"mpchange65": "क्या आप इस एप्लिकेशन को लेनदेन पर हस्ताक्षर करने और उसे संसाधित करने की अनुमति देते हैं?",
|
||||
"mpchange66": "क्या आप इस एप्लिकेशन को लेनदेन पर हस्ताक्षर करने की अनुमति देते हैं?",
|
||||
"mpchange67": "स्वीकार करने से पहले लेनदेन को ध्यान से पढ़ें।",
|
||||
"mpchange68": "Tx प्रकार:",
|
||||
"mpchange69": "TX डेटा:",
|
||||
"mpchange70": "प्रक्रिया लेनदेन का अनुरोध नहीं किया गया था।",
|
||||
"mpchange71": "हस्ताक्षरित बाइट्स हैं: ",
|
||||
"mpchange72": "लेनदेन हस्ताक्षरित और सफलतापूर्वक संसाधित हुआ।",
|
||||
"mpchange73": "लेनदेन संसाधित नहीं हो पाया।",
|
||||
"mpchange74": "QORT बैलेंस प्राप्त करने में विफल। पुनः प्रयास करें!",
|
||||
"mpchange75": "कॉइन नहीं भेजा जा सका।",
|
||||
"mpchange76": "BTC बैलेंस प्राप्त करने में विफल। पुनः प्रयास करें!",
|
||||
"mpchange77": "LTC बैलेंस प्राप्त करने में विफल। पुनः प्रयास करें!",
|
||||
"mpchange78": "DOGE बैलेंस प्राप्त करने में विफल। पुनः प्रयास करें!",
|
||||
"mpchange79": "DGB बैलेंस प्राप्त करने में विफल। पुनः प्रयास करें!",
|
||||
"mpchange80": "RVN बैलेंस प्राप्त करने में विफल। पुनः प्रयास करें!",
|
||||
"mpchange81": "ARRR बैलेंस प्राप्त करने में विफल। पुनः प्रयास करें!",
|
||||
"mpchange82": "फ़ील्ड गुम",
|
||||
"mpchange83": "अस्वीकृत",
|
||||
"mpchange84": "विफल",
|
||||
"mpchange85": "सफल",
|
||||
"mpchange86": "हमेशा वॉलेट बैलेंस को स्वचालित रूप से प्राप्त करने की अनुमति दें",
|
||||
"mpchange87": "कृपया ग्रुप आईडी दर्ज करें"
|
||||
}
|
||||
}
|
||||
|
@ -8,6 +8,7 @@
|
||||
"dutch": "Holandski",
|
||||
"english": "Engleski",
|
||||
"estonian": "Estonski",
|
||||
"finnish": "Finski",
|
||||
"french": "Francuski",
|
||||
"german": "Njemački",
|
||||
"hindi": "Hindi",
|
||||
@ -95,28 +96,28 @@
|
||||
"address": "Adresa",
|
||||
"password": "Lozinka",
|
||||
"youraccounts": "Tvoji računi",
|
||||
"clickto": "Kliknite svoj račun da biste se prijavili s njim",
|
||||
"clickto": "Pritisnite račun za prijavu",
|
||||
"needcreate": "Morate stvoriti ili spremiti račun prije nego što se možete prijaviti!",
|
||||
"upload": "Prenesite Qortal sigurnosnu kopiju",
|
||||
"upload": "Uvezite datoteku sigurnosne kopije Qortal",
|
||||
"howlogin": "Kako biste se željeli prijaviti?",
|
||||
"seed": "Seed fraza",
|
||||
"seedphrase": "seedphrase",
|
||||
"saved": "Sačuvani račun",
|
||||
"qora": "Qora Adresa Seed",
|
||||
"backup": "Qortal sigurnosna kopija novčanika",
|
||||
"decrypt": "Decrypt sigurnosna kopija",
|
||||
"qora": "QORA Adresa Seed",
|
||||
"backup": "Qortal backup datoteka",
|
||||
"decrypt": "Dešifrirajte datoteku sigurnosne kopije",
|
||||
"save": "Spremite u ovom pregledniku",
|
||||
"prepare": "Pripremite vaš račun",
|
||||
"areyousure": "Jeste li sigurni da želite ukloniti ovaj novčanik od spremljenih novčanika?",
|
||||
"areyousure": "Jeste li sigurni da želite ukloniti ovaj novčanik iz spremljenih novčanika? (Ako se ukloni, a ne postoji datoteka sigurnosne kopije, račun bi mogao biti zauvijek izgubljen! Provjerite imate li datoteku sigurnosne kopije prije nego to učinite!)",
|
||||
"error1": "Sigurnosna kopija mora biti valjan JSON",
|
||||
"error2": "Opcija prijave nije odabrana",
|
||||
"createwelcome": "Dobro došli u Qortal, naći ćete da je sličan onome RPG igre, vi, kao MINTER na Qortal mreži (ako se odlučite da postanete), imat ćete priliku za dizanjem vašeg računa, dajući vam oboje i QORT blok nagrade i također veći utjecaj na mrežu u smislu glasovanja o odlukama za platformu.",
|
||||
"createwelcome": "Dobrodošli u Qortal! Vaša decentralizirana digitalna budućnost čeka na vas! Samo na Qortalu imate apsolutnu kontrolu nad svojim podacima. Qortal pruža osnovnu razinu novog digitalnog svijeta koji u potpunosti kontrolira korisnik.",
|
||||
"createa": "A",
|
||||
"click": "Kliknite da vidite Seed frazu",
|
||||
"confirmpass": "Potvrdi lozinku",
|
||||
"willbe": "će se slučajno generirati u pozadini. To se koristi kao vaš generator privatnog ključa za vaš blockchain račun u Qortal-u.",
|
||||
"willbe": "će se nasumično generirati u pozadini. Ako želite POGLEDATI početnu frazu, kliknite označenu 'seedphrase' u ovom tekstu. Ovo se koristi kao vaš generator privatnog ključa za vaš blockchain račun u Qortalu. Za sigurnost prema zadanim postavkama, početne fraze se ne prikazuju osim ako nije posebno odabrano da budu.",
|
||||
"clicknext": "Stvorite Qortal račun klikom na SLJEDEĆE ispod.",
|
||||
"ready": "Vaš je račun sada spreman za izradu. Bit će spremljen u ovom pregledniku. Ako ne želite da vaš novi račun bude spremljen u vašem pregledniku, možete poništiti okvir u nastavku. I dalje ćete se moći prijaviti svojim novim računom (nakon odjave), pomoću datoteke sigurnosna kopija novčanika koju morate preuzeti nakon što stvorite svoj račun.",
|
||||
"ready": "Vaš račun je sada spreman za izradu. Bit će spremljen unutar ove kopije Qortal korisničkog sučelja prema zadanim postavkama, u šifriranom obliku. Ako ne želite da se vaš novi račun ovdje spremi, možete poništiti okvir ispod. I dalje ćete se moći prijaviti sa svojim novim računom (nakon što se odjavite), koristeći datoteku sigurnosne kopije novčanika koju MORATE preuzeti nakon što kreirate svoj račun.",
|
||||
"welmessage": "Dobrodošli u Qortal",
|
||||
"pleaseenter": "Unesite lozinku!",
|
||||
"notmatch": "Lozinke se ne podudaraju!",
|
||||
@ -163,7 +164,7 @@
|
||||
},
|
||||
"fragfile": {
|
||||
"selectfile": "Odaberite datoteku",
|
||||
"dragfile": "Povucite i ispustite sigurnosnu kopiju ovdje"
|
||||
"dragfile": "Povucite i ispustite ili kliknite ovdje za odabir datoteke sigurnosne kopije"
|
||||
},
|
||||
"settings": {
|
||||
"generalinfo": "Opće informacije o računu",
|
||||
@ -180,9 +181,8 @@
|
||||
"notifications": "Obavijesti",
|
||||
"accountsecurity": "Sigurnost računa",
|
||||
"password": "Lozinka",
|
||||
"download": "Preuzmite sigurnosnu kopiju računa",
|
||||
"download": "Izvezi/spremi datoteku sigurnosne kopije",
|
||||
"choose": "Odaberite lozinku za šifriranje sigurnosne kopije. (Ovo može biti ista kao i ona sa kojom ste se prijavili ili različita)",
|
||||
"block": "Blok obavijesti (uskoro dolaze ...)",
|
||||
"playsound": "Puštanje zvuka",
|
||||
"shownotifications": "Prikaži obavijesti",
|
||||
"nodeurl": "URL čvora",
|
||||
@ -213,7 +213,8 @@
|
||||
"arrr1": "Novčanik ARRR nije inicijaliziran!",
|
||||
"arrr2": "Idite na karticu novčanika i prvo inicijalizirajte svoj arrr novčanik.",
|
||||
"arrr3": "Potrebno je ažuriranje jezgre!",
|
||||
"arrr4": "Da biste spremili privatni ključ vašeg arrr novčanika, prvo trebate ažurirati jezgru!"
|
||||
"arrr4": "Da biste spremili privatni ključ vašeg arrr novčanika, prvo trebate ažurirati jezgru!",
|
||||
"sync_indicator": "Onemogući skočni prozor indikatora sinkronizacije"
|
||||
},
|
||||
"appinfo": {
|
||||
"blockheight": "Visina bloka",
|
||||
@ -247,7 +248,9 @@
|
||||
"balance": "Kreditna",
|
||||
"balances": "VAŠ NOVČANIK JE NA SALJU",
|
||||
"update": "AŽURIRAJTE STANJE NOVČANIKA",
|
||||
"view": "Pogled"
|
||||
"view": "Pogled",
|
||||
"all": "svi",
|
||||
"page": "Stranica"
|
||||
},
|
||||
"gifs": {
|
||||
"gchange1": "Gif Explorer",
|
||||
@ -465,7 +468,7 @@
|
||||
"rchange6": "Primatelj",
|
||||
"rchange7": "Akcija",
|
||||
"rchange8": "Vrsta",
|
||||
"rchange9": "Level 1 - 4 može stvoriti samo vlastiti udio a level 5 ili više može stvoriti nagradni udio!",
|
||||
"rchange9": "Level 0 - 4 može stvoriti samo vlastiti udio a level 5 ili više može stvoriti nagradni udio!",
|
||||
"rchange10": "Primateljov javni ključ",
|
||||
"rchange11": "Nagradni udio postotak",
|
||||
"rchange12": "Radiš nešto ukusno :-)",
|
||||
@ -506,7 +509,7 @@
|
||||
"nchange23": "Prodajna cijena",
|
||||
"nchange24": "Nema imena za prodaju",
|
||||
"nchange25": "Ime za prodaju",
|
||||
"nchange26": "Jeste li sigurni da ćete prodati ovo ime?",
|
||||
"nchange26": "Jeste li sigurni da želite prodati ovo ime? Ako je ime kupljeno putem drugog računa, bit će izvan vaše kontrole!",
|
||||
"nchange27": "Za ovu cijenu u QORT",
|
||||
"nchange28": "Pritiskom na potvrdu, zahtjev za prodajnim imenom bit će poslan!",
|
||||
"nchange29": "Ime za poništavanje",
|
||||
@ -739,7 +742,8 @@
|
||||
"bchange51": "Za slanje promjena ne zaboravite kliknuti 'Ažuriraj profil'",
|
||||
"bchange52": "Dajete li ovoj aplikaciji dopuštenje da dobije podatke o vašem novčaniku?",
|
||||
"bchange53": "Uvijek dopusti da sve aplikacije automatski dohvate tvoj popis prijatelja",
|
||||
"bchange54": "Dajete li ovoj aplikaciji dopuštenje za pristup vašem popisu prijatelja?"
|
||||
"bchange54": "Dajete li ovoj aplikaciji dopuštenje za pristup vašem popisu prijatelja?",
|
||||
"bchange55": "Dajete li ovoj aplikaciji dopuštenje da pošalje ovu naredbu?"
|
||||
},
|
||||
"datapage": {
|
||||
"dchange1": "Upravljanje podacima",
|
||||
@ -839,7 +843,7 @@
|
||||
"cchange74": "reagirao sa",
|
||||
"cchange75": "Učitavanje privitka. Ovo može potrajati do jedne minute.",
|
||||
"cchange76": "Brisanje privitka. Ovo može potrajati do jedne minute.",
|
||||
"cchange77": "Veličina privitka premašuje 1 MB",
|
||||
"cchange77": "Veličina privitka premašuje 10 MB",
|
||||
"cchange78": "Jeste li sigurni da želite izbrisati ovu sliku?",
|
||||
"cchange79": "Jeste li sigurni da želite izbrisati ovaj privitak?",
|
||||
"cchange80": "Ova slika je izbrisana",
|
||||
@ -852,7 +856,24 @@
|
||||
"cchange94": "učitano",
|
||||
"cchange95": "Samo moji resursi",
|
||||
"cchange96": "Otvoreno upravljanje grupom",
|
||||
"cchange97": "Veza za pridruživanje grupi kopirana je u međuspremnik"
|
||||
"cchange97": "Veza za pridruživanje grupi kopirana je u međuspremnik",
|
||||
"cchange98": "Učitavanje datoteke. Ovo može potrajati nekoliko minuta.",
|
||||
"cchange99": "Brisanje datoteke. Ovo može potrajati do jedne minute.",
|
||||
"cchange100": "Veličina datoteke premašuje 125 MB",
|
||||
"cchange101": "Jeste li sigurni da želite izbrisati ovu datoteku?",
|
||||
"cchange102": "Ova datoteka je izbrisana",
|
||||
"cchange103": "Učitavanje GIF-a. Ovo može potrajati do jedne minute.",
|
||||
"cchange104": "Brisanje GIF-a. Ovo može potrajati do jedne minute.",
|
||||
"cchange105": "Veličina datoteke premašuje 3 MB",
|
||||
"cchange106": "Jeste li sigurni da želite izbrisati ovaj gif?",
|
||||
"cchange107": "Ovaj gif je izbrisan",
|
||||
"cchange108": "Preuzimanje će se nastaviti u pozadini, samo JEDNA Q-Chat datoteka može se preuzeti istovremeno.",
|
||||
"cchange109": "Vrsta datoteke nije podržana!",
|
||||
"cchange110": "PRIJENOS SLIKE",
|
||||
"cchange111": "PRIJENOS GIF-a",
|
||||
"cchange112": "PRIJENOS PRIVITA",
|
||||
"cchange113": "PRIJENOS DATOTEKE",
|
||||
"cchange114": "Napiši nešto ..."
|
||||
},
|
||||
"welcomepage": {
|
||||
"wcchange1": "Dobrodošli u Q-Čavrljanje",
|
||||
@ -944,7 +965,19 @@
|
||||
"gchange56": "Naziv grupe za pretraživanje",
|
||||
"gchange57": "Ime privatne grupe nije pronađeno",
|
||||
"gchange58": "Imajte na umu da se naziv grupe mora točno podudarati.",
|
||||
"gchange59": "Prikaži / sakrij ticker"
|
||||
"gchange59": "Prikaži / sakrij ticker",
|
||||
"gchange60": "Unesite naziv grupe",
|
||||
"gchange61": "Unesite opis",
|
||||
"gchange62": "Jeste li sigurni da AŽURIRATE ovu grupu?",
|
||||
"gchange63": "Pritiskom na CONFIRM, zahtjev za UPDATE_GROUP bit će poslan!",
|
||||
"gchange64": "Trenutni vlasnik / novi vlasnik",
|
||||
"gchange65": "Zamijenite ovu adresu u PRIJENOS VLASNIŠTVA grupe!",
|
||||
"gchange66": "Vlasnik / nova adresa vlasnika nisu valjani",
|
||||
"gchange67": "Grupa UPDATE Uspješna!",
|
||||
"gchange68": "Postavi grupni avatar",
|
||||
"gchange69": "Poruke",
|
||||
"gchange70": "Nema poruka u zadnja 24 sata!",
|
||||
"gchange71": "Već ste se pridružili ovoj grupi!"
|
||||
},
|
||||
"puzzlepage": {
|
||||
"pchange1": "Zagonetke",
|
||||
@ -1287,5 +1320,104 @@
|
||||
"tour20": "blokovi iza. Želite li osvježiti (bootstrap) da ubrzate proces sinkronizacije?",
|
||||
"tour21": "preostali blokovi.",
|
||||
"tour22": "Zatraženo je osvježavanje (bootstrap). Molimo pričekajte."
|
||||
},
|
||||
"chatsettings": {
|
||||
"cs1": "Postavke chata",
|
||||
"cs2": "Opće postavke chata",
|
||||
"cs3": "Vremenska oznaka poruke chata",
|
||||
"cs4": "Prije vremena",
|
||||
"cs5": "Lokalno vrijeme",
|
||||
"cs6": "Veličina fonta poruke chata",
|
||||
"cs7": "Standardno",
|
||||
"cs8": "px"
|
||||
},
|
||||
"modals": {
|
||||
"mpchange1": "Svi zatraženi AT-ovi moraju biti istog stranog lanca blokova.",
|
||||
"mpchange2": "Dajete li ovoj aplikaciji dopuštenje za izvršavanje naloga za kupnju?",
|
||||
"mpchange3": "Uspješno kreiran nalog za kupnju",
|
||||
"mpchange4": "Molimo pričekajte dok se narudžba ne ispuni",
|
||||
"mpchange5": "Neuspješno slanje narudžbe za kupnju.",
|
||||
"mpchange6": "Dajete li ovoj aplikaciji dopuštenje za izvršavanje naloga za prodaju?",
|
||||
"mpchange7": "Za:",
|
||||
"mpchange8": "Uspješno kreiran prodajni nalog.",
|
||||
"mpchange9": "Molimo pričekajte dok se nalog za prodaju ne pojavi na popisu.",
|
||||
"mpchange10": "Neuspješno podnošenje naloga za prodaju.",
|
||||
"mpchange11": "Ne mogu pronaći AT informacije.",
|
||||
"mpchange12": "Dajete li ovoj aplikaciji dopuštenje za otkazivanje prodajnog naloga?",
|
||||
"mpchange13": "Uspješno otkazan prodajni nalog.",
|
||||
"mpchange14": "Molimo pričekajte dok se otkazivanje trgovine ne ispuni.",
|
||||
"mpchange15": "Nije uspjelo otkazivanje naloga za prodaju.",
|
||||
"mpchange16": "Pogreška u dohvaćanju popisa.",
|
||||
"mpchange17": "Greška pri dodavanju na popis.",
|
||||
"mpchange18": "Pogreška u popisu brisanja.",
|
||||
"mpchange19": "Greška u dohvaćanju popisa prijatelja.",
|
||||
"mpchange20": "Broj nije broj.",
|
||||
"mpchange21": "Nedostaje broj.",
|
||||
"mpchange22": "Nisu poslani nikakvi podaci ili datoteke.",
|
||||
"mpchange23": "Šifriranje podataka zahtijeva javne ključeve.",
|
||||
"mpchange24": "Samo šifrirani podaci mogu ići u privatne usluge.",
|
||||
"mpchange25": "Prijenos nije uspio zbog neuspješne enkripcije.",
|
||||
"mpchange26": "Prijenos nije uspio.",
|
||||
"mpchange27": "Nevažeći podaci.",
|
||||
"mpchange28": "Nema resursa za objavljivanje.",
|
||||
"mpchange29": "Nepoznata pogreška.",
|
||||
"mpchange30": "Anketa nije pronađena.",
|
||||
"mpchange31": "Glasovanje u anketi nije uspjelo.",
|
||||
"mpchange32": "Kreiranje ankete nije uspjelo.",
|
||||
"mpchange33": "Molimo unesite qortal vezu - qortal://...",
|
||||
"mpchange34": "Nevažeća qortalna veza.",
|
||||
"mpchange35": "Pogreška u slanju obavijesti.",
|
||||
"mpchange36": "Nije moguće poslati poruku.",
|
||||
"mpchange37": "Ne mogu poslati šifriranu poruku ovom korisniku jer nemaju svoj javni ključ u lancu.",
|
||||
"mpchange38": "Zahtjev nije moguće ispuniti.",
|
||||
"mpchange39": "Grupa nije pronađena.",
|
||||
"mpchange40": "Dajete li ovoj aplikaciji dopuštenje za izvođenje zahtjeva za pridruživanje grupi?",
|
||||
"mpchange41": "Naziv grupe:",
|
||||
"mpchange42": "ID grupe:",
|
||||
"mpchange43": "Uspješno kreiran zahtjev za pridruživanje grupi.",
|
||||
"mpchange44": "Nije uspjelo pridruživanje grupi.",
|
||||
"mpchange45": "Mime tip nije mogao biti izveden.",
|
||||
"mpchange46": "Ekstenzija datoteke nije mogla biti izvedena.",
|
||||
"mpchange47": "Korisnik je odbio preuzimanje.",
|
||||
"mpchange48": "Nije uspjelo preuzimanje.",
|
||||
"mpchange49": "Implementacija AT-a nije uspjela.",
|
||||
"mpchange50": "Korisnik nema profil.",
|
||||
"mpchange51": "Ne mogu pronaći tražene podatke.",
|
||||
"mpchange52": "Nije uspjelo dobivanje podataka profila.",
|
||||
"mpchange53": "Neuspješno postavljanje svojstva.",
|
||||
"mpchange54": "Nije uspjelo otvaranje profila.",
|
||||
"mpchange55": "Pogreška u dohvaćanju informacija o poslužitelju.",
|
||||
"mpchange56": "Pogreška u sažetku aktivnosti prijenosa.",
|
||||
"mpchange57": "Pogreška u dobivanju inozemne naknade.",
|
||||
"mpchange58": "Pogreška u ažuriranju inozemne naknade.",
|
||||
"mpchange59": "Pogreška u dohvaćanju povijesti povezivanja poslužitelja.",
|
||||
"mpchange60": "Pogreška u postavljanju trenutnog poslužitelja.",
|
||||
"mpchange61": "Greška u dodavanju poslužitelja.",
|
||||
"mpchange62": "Greška pri uklanjanju poslužitelja.",
|
||||
"mpchange63": "Pogreška u dohvaćanju sažetka.",
|
||||
"mpchange64": "Dekodiranje transakcije nije uspjelo.",
|
||||
"mpchange65": "Dajete li ovoj aplikaciji dopuštenje za potpisivanje i obradu transakcije?",
|
||||
"mpchange66": "Dajete li ovoj aplikaciji dopuštenje za potpisivanje transakcije?",
|
||||
"mpchange67": "Pažljivo pročitajte transakciju prije prihvaćanja.",
|
||||
"mpchange68": "Tx prijenos:",
|
||||
"mpchange69": "TX podaci:",
|
||||
"mpchange70": "Obrada transakcije nije zatražena.",
|
||||
"mpchange71": "Bajtovi s predznakom su: ",
|
||||
"mpchange72": "Transakcija je uspješno potpisana i obrađena.",
|
||||
"mpchange73": "Transakcija nije mogla biti obrađena.",
|
||||
"mpchange74": "Nije uspjelo dohvaćanje QORT stanja. Pokušajte ponovo!",
|
||||
"mpchange75": "Nije moguće poslati novčić.",
|
||||
"mpchange76": "Neuspješno dohvaćanje BTC stanja. Pokušajte ponovo!",
|
||||
"mpchange77": "Nije uspjelo dohvaćanje LTC stanja. Pokušajte ponovo!",
|
||||
"mpchange78": "Nije uspjelo dohvaćanje DOGE stanja. Pokušajte ponovo!",
|
||||
"mpchange79": "Nije uspjelo dohvaćanje DGB stanja. Pokušajte ponovo!",
|
||||
"mpchange80": "Nije uspjelo dohvaćanje RVN stanja. Pokušajte ponovo!",
|
||||
"mpchange81": "Nije uspjelo dohvaćanje ARRR stanja. Pokušajte ponovo!",
|
||||
"mpchange82": "NEDOSTAJUĆA POLJA",
|
||||
"mpchange83": "ODBIJENO",
|
||||
"mpchange84": "GREŠKA",
|
||||
"mpchange85": "USPJEH",
|
||||
"mpchange86": "Uvijek dopusti automatsko dobivanje stanja novčanika",
|
||||
"mpchange87": "Molimo unesite ID grupe"
|
||||
}
|
||||
}
|
||||
|
@ -8,6 +8,7 @@
|
||||
"dutch": "Németalföldi",
|
||||
"english": "Angol",
|
||||
"estonian": "Észt",
|
||||
"finnish": "Finn",
|
||||
"french": "Francia",
|
||||
"german": "Német",
|
||||
"hindi": "Hindi",
|
||||
@ -79,7 +80,7 @@
|
||||
"tm32": "Ez a fiók nem követ egyetlen felhasználót sem",
|
||||
"tm33": "Importálás lap menü",
|
||||
"tm34": "Exportálás lap menü",
|
||||
"tm35": "Meglévő lapmenüje törlésre kerül, és a feltöltött lapok menüje lesz.",
|
||||
"tm35": "A meglévő lapmenü törlésre kerül, és az importált lapmenü lesz.",
|
||||
"tm36": "A lap menüje sikeresen visszaállítva",
|
||||
"tm37": "A lap menüje sikeresen mentve másként",
|
||||
"tm38": "DEV MODE",
|
||||
@ -95,7 +96,7 @@
|
||||
"address": "Cím",
|
||||
"password": "Jelszó",
|
||||
"youraccounts": "Fiókjai",
|
||||
"clickto": "Kattintson a fiókjára a bejelentkezéshez",
|
||||
"clickto": "Kattintson a fiókra a bejelentkezéshez",
|
||||
"needcreate": "A bejelentkezés előtt létre kell hoznia vagy mentenie kell egy fiókot!",
|
||||
"upload": "A Qortal biztonsági másolat feltöltése",
|
||||
"howlogin": "Hogyan szertne bejelentkezni?",
|
||||
@ -107,16 +108,16 @@
|
||||
"decrypt": "Visszafejt biztonsági másolat",
|
||||
"save": "Mentés ebben a böngészőben.",
|
||||
"prepare": "Fiók előkészítése",
|
||||
"areyousure": "Biztosan el akarja távolítani ezt a pénztárcát a mentett pénztárcákból?",
|
||||
"areyousure": "Biztosan eltávolítja ezt a pénztárcát a mentett pénztárcák közül? (Ha eltávolítja, és nem létezik biztonsági mentési fájl, a fiók végleg elveszhet! Győződjön meg róla, hogy van biztonsági másolata, mielőtt ezt megtenné!)",
|
||||
"error1": "A biztonsági másolatnak érvényes JSONnak kell lennie",
|
||||
"error2": "Bejelentkezési beállítás nincs kijelölve",
|
||||
"createwelcome": "Üdvözöljük a Qortalban, úgy fogja találni, hogy hasonló az RPG játékhoz. Mint a Qortal hálózat verője (ha úgy dönt, hogy eggyé válik), lehetősége lesz arra, hogy kiegyenlítse fiókját. Ez mind a QORT blokk jutalmát, mind a nagyobb befolyást biztosítja a hálózatra a platformra vonatkozó döntésekről szóló szavazás tekintetében.",
|
||||
"createwelcome": "Üdvözöljük a Qortalban! Decentralizált digitális jövője várja Önt! A Qortalon csak Önnek van abszolút ellenőrzése az adatok felett. A Qortal egy új, teljes mértékben felhasználó által vezérelt digitális világ alapszintjét biztosítja.",
|
||||
"createa": "A",
|
||||
"click": "Kattintson ide a magfrázis megtekintéséhez",
|
||||
"confirmpass": "Jelszó megerősítése",
|
||||
"willbe": "Véletlenszerűen jön létre a háttérben. Ezt használják a Qortal blokklánc-fiókjához tartozó privát kulcsgenerátorként.",
|
||||
"willbe": "véletlenszerűen generálódik a háttérben. Ha meg szeretné tekinteni az alapkifejezést, kattintson a kiemelt „seedphrase”-ra ebben a szövegben. Ezt használja a privát kulcs generátoraként a blokklánc-fiókjához a Qortalban. Alapértelmezés szerint a biztonság kedvéért a kezdőmondatok nem jelennek meg, hacsak nincs külön kiválasztva.",
|
||||
"clicknext": "Qortal-fiók létrehozása az alábbi TOVÁBB/NEXT gombra kattintva",
|
||||
"ready": "Fiókja készen áll a létrehozására. Ez a böngészőben lesz mentve.Ha nem szeretné, hogy új fiókját a böngészőbe mentse, törölje a jelet az alábbi jelölőnégyzetből. Továbbra is bejelentkezhet az új fiókjával (kijelentkezés után), a pénztárca biztonsági mentési fájljával, amelyet le kell töltenie a fiók létrehozása után.",
|
||||
"ready": "Fiókja készen áll a létrehozásra. Alapértelmezés szerint a Qortal felhasználói felület ezen példányába kerül mentésre, titkosított formában. Ha nem szeretné, hogy új fiókja itt kerüljön mentésre, törölje a jelet az alábbi négyzetből. Továbbra is be tud majd jelentkezni az új fiókjával (kijelentkezés után), a pénztárca biztonsági mentési fájljával, amelyet a fiók létrehozása után KELL letöltenie.",
|
||||
"welmessage": "Üdvözöljük a Qortalban",
|
||||
"pleaseenter": "Kérjük, adjon meg egy jelszót!",
|
||||
"notmatch": "A jelszavak nem egyeznek!",
|
||||
@ -163,7 +164,7 @@
|
||||
},
|
||||
"fragfile": {
|
||||
"selectfile": "Fájl kijelölése",
|
||||
"dragfile": "Biztonsági mentés húzása ide"
|
||||
"dragfile": "Húzza át vagy kattintson ide a biztonsági mentési fájl kiválasztásához"
|
||||
},
|
||||
"settings": {
|
||||
"generalinfo": "Általános fiókadatok",
|
||||
@ -180,9 +181,8 @@
|
||||
"notifications": "Értesítések",
|
||||
"accountsecurity": "Fiók biztonsága",
|
||||
"password": "Jelszó",
|
||||
"download": "Biztonságimásolat-fájl letöltése",
|
||||
"download": "Biztonsági másolat fájl exportálása/mentése",
|
||||
"choose": "Válasszon egy jelszót a biztonsági mentés titkosításához. (Ez lehet ugyanaz, mint az, amelyikbe bejelentkezett, vagy más)",
|
||||
"block": "Értesítések blokkolása (hamarosan...)",
|
||||
"playsound": "Hang lejátszása",
|
||||
"shownotifications": "Értesítések megjelenítése",
|
||||
"nodeurl": "Csomópont URL-címe",
|
||||
@ -211,9 +211,10 @@
|
||||
"qappNotification1": "Q-App értesítések",
|
||||
"selectnode": "Kérjük, válasszon egy lehetőséget",
|
||||
"arrr1": "ARRR Wallet nincs inicializálva!",
|
||||
"arrr2": "Kérjük, lépjen a Wallet fülre, és először inicializálja arrr pénztárcáját.",
|
||||
"arrr2": "Kérjük, lépjen a Wallet fülre, és nyissa meg az ARRR pénztárcát a pénztárca inicializálásához.",
|
||||
"arrr3": "Alapfrissítésre van szükség!",
|
||||
"arrr4": "Az arrr pénztárca privát kulcsának mentéséhez először egy alapvető frissítésre van szükség!"
|
||||
"arrr4": "Az arrr pénztárca privát kulcsának mentéséhez először egy alapvető frissítésre van szükség!",
|
||||
"sync_indicator": "Szinkronizálásjelző előugró ablak letiltása"
|
||||
},
|
||||
"appinfo": {
|
||||
"blockheight": "Blokk Magassága",
|
||||
@ -247,7 +248,9 @@
|
||||
"balance": "Hitel",
|
||||
"balances": "A PÉNZTÁRCSA EGYENLEGEK",
|
||||
"update": "FRISSÍTSE A PÉNZTÁRCSA-EGYENLEGEKET",
|
||||
"view": "Kilátás"
|
||||
"view": "Kilátás",
|
||||
"all": "Minden",
|
||||
"page": "Oldal"
|
||||
},
|
||||
"gifs": {
|
||||
"gchange1": "Gif Explorer",
|
||||
@ -283,7 +286,7 @@
|
||||
"startminting": {
|
||||
"smchange1": "Nem lehet lekérni a pénzverési számlákat",
|
||||
"smchange2": "Nem sikerült eltávolítani a kulcsot",
|
||||
"smchange3": "Nem sikerült hozzáadni a pénzverési kulcsot",
|
||||
"smchange3": "Nem sikerült hozzáadni a pénzverési kulcsot. Ha a kulcs most jött létre, várjon néhány blokkot, majd adja hozzá újra",
|
||||
"smchange4": "Nem hozható létre szponzori kulcs",
|
||||
"smchange5": "Kapcsolatteremtés",
|
||||
"smchange6": "Megerősítésre vár a blokkláncon",
|
||||
@ -465,7 +468,7 @@
|
||||
"rchange6": "Címzett",
|
||||
"rchange7": "Akció",
|
||||
"rchange8": "Típus",
|
||||
"rchange9": "Az 1- 4. szint létrehozhat egy önmegosztást, és az 5. vagy annál magasabb szint jutalommegosztást hozhat létre!",
|
||||
"rchange9": "Az 0- 4. szint létrehozhat egy önmegosztást, és az 5. vagy annál magasabb szint jutalommegosztást hozhat létre!",
|
||||
"rchange10": "Címzett Nyilvános Kulcsa",
|
||||
"rchange11": "Jutalomrészesedési Százalék",
|
||||
"rchange12": "Valami Finomat Csinálni",
|
||||
@ -506,7 +509,7 @@
|
||||
"nchange23": "Eladási ár",
|
||||
"nchange24": "Nincsenek eladható nevek",
|
||||
"nchange25": "Eladó név",
|
||||
"nchange26": "Biztosan eladja ezt a nevet?",
|
||||
"nchange26": "Biztos, hogy el akarja adni ezt a nevet? Ha a nevet egy másik fiók vásárolja meg, az nem lesz ellenőrzése!",
|
||||
"nchange27": "Erre az árra QORT-ban",
|
||||
"nchange28": "A megerősítés megnyomására elküldjük az eladási névkérést!",
|
||||
"nchange29": "Megszakítandó név",
|
||||
@ -739,7 +742,8 @@
|
||||
"bchange51": "A módosítások elküldéséhez ne felejtsen el a 'Profil frissítése' gombra kattintani",
|
||||
"bchange52": "Engedélyt ad ennek az alkalmazásnak a pénztárca adatainak lekérésére?",
|
||||
"bchange53": "Mindig engedélyezze, hogy az összes alkalmazás automatikusan lekérje a barátlistáját",
|
||||
"bchange54": "Engedélyt ad ennek az alkalmazásnak, hogy hozzáférjen a barátlistájához?"
|
||||
"bchange54": "Engedélyt ad ennek az alkalmazásnak, hogy hozzáférjen a barátlistájához?",
|
||||
"bchange55": "Engedélyt ad ennek az alkalmazásnak, hogy elküldje ezt a parancsot?"
|
||||
},
|
||||
"datapage": {
|
||||
"dchange1": "Adatkezelés",
|
||||
@ -839,7 +843,7 @@
|
||||
"cchange74": "reagált:",
|
||||
"cchange75": "Melléklet feltöltése. Ez akár egy percig is eltarthat.",
|
||||
"cchange76": "Melléklet törlése. Ez akár egy percig is eltarthat.",
|
||||
"cchange77": "A melléklet mérete meghaladja az 1 MB-ot",
|
||||
"cchange77": "A melléklet mérete meghaladja az 10 MB-ot",
|
||||
"cchange78": "Biztosan törli ezt a képet?",
|
||||
"cchange79": "Biztosan törli ezt a mellékletet?",
|
||||
"cchange80": "Ezt a képet törölték",
|
||||
@ -852,7 +856,24 @@
|
||||
"cchange94": "betöltve",
|
||||
"cchange95": "Csak az én erőforrásaim",
|
||||
"cchange96": "Nyitott csoportkezelés",
|
||||
"cchange97": "Csatlakozási link a vágólapra másolva"
|
||||
"cchange97": "Csatlakozási link a vágólapra másolva",
|
||||
"cchange98": "Fájl feltöltése folyamatban. Ez eltarthat néhány percig.",
|
||||
"cchange99": "Fájl törlése. Ez akár egy percig is eltarthat.",
|
||||
"cchange100": "A fájl mérete meghaladja a 125 MB-ot",
|
||||
"cchange101": "Biztosan törli ezt a fájlt?",
|
||||
"cchange102": "Ez a fájl törölve lett",
|
||||
"cchange103": "Gif feltöltése. Ez akár egy percig is eltarthat.",
|
||||
"cchange104": "Gif törlése. Ez akár egy percig is eltarthat.",
|
||||
"cchange105": "A fájl mérete meghaladja a 3 MB-ot",
|
||||
"cchange106": "Biztosan törli ezt a gifet?",
|
||||
"cchange107": "Ez a gif törölve lett",
|
||||
"cchange108": "A letöltés a háttérben folytatódik, egyszerre csak EGY Q-Chat fájl tölthető le.",
|
||||
"cchange109": "A fájltípus nem támogatott!",
|
||||
"cchange110": "KÉP FELTÖLTÉS",
|
||||
"cchange111": "GIF FELTÖLTÉS",
|
||||
"cchange112": "MELLÉKLET FELTÖLTÉSE",
|
||||
"cchange113": "FÁJL FELTÖLTÉS",
|
||||
"cchange114": "Írj valamit ..."
|
||||
},
|
||||
"welcomepage": {
|
||||
"wcchange1": "Üdvözöljük a Q-Chathoz",
|
||||
@ -944,7 +965,19 @@
|
||||
"gchange56": "A keresendő csoport neve",
|
||||
"gchange57": "A privát csoport neve nem található",
|
||||
"gchange58": "Ne feledje, hogy a csoport nevének pontosan meg kell egyeznie.",
|
||||
"gchange59": "Ticker megjelenítése / elrejtése"
|
||||
"gchange59": "Ticker megjelenítése / elrejtése",
|
||||
"gchange60": "Kérjük, adja meg a csoport nevét",
|
||||
"gchange61": "Kérjük, adja meg a leírást",
|
||||
"gchange62": "Biztosan FRISSÍTI ezt a csoportot?",
|
||||
"gchange63": "A MEGERŐSÍTÉS gomb megnyomásával elküldésre kerül a UPDATE_GROUP kérés!",
|
||||
"gchange64": "Jelenlegi tulajdonos / Új tulajdonos",
|
||||
"gchange65": "Cserélje ki ezt a címet erre: A CSOPORT TULAJDONJOGÁNAK ÁTRUHÁZÁSA!",
|
||||
"gchange66": "Érvénytelen tulajdonos / új tulajdonos címe",
|
||||
"gchange67": "Csoportos FRISSÍTÉS sikeres!",
|
||||
"gchange68": "Csoportavatar beállítása",
|
||||
"gchange69": "Üzenetek",
|
||||
"gchange70": "Nincs üzenet az elmúlt 24 órában!",
|
||||
"gchange71": "Már csatlakoztál ehhez a csoporthoz!"
|
||||
},
|
||||
"puzzlepage": {
|
||||
"pchange1": "Rejtvények",
|
||||
@ -1287,5 +1320,104 @@
|
||||
"tour20": "blokkok mögött. Szeretne frissíteni (bootstrap) a szinkronizálási folyamat felgyorsítása érdekében?",
|
||||
"tour21": "még blokkok.",
|
||||
"tour22": "Frissítés (bootstrap) kérve. Kérjük, várjon."
|
||||
},
|
||||
"chatsettings": {
|
||||
"cs1": "Csevegés beállításai",
|
||||
"cs2": "Általános csevegési beállítások",
|
||||
"cs3": "Csevegési üzenet időbélyege",
|
||||
"cs4": "Idővel ezelőtt",
|
||||
"cs5": "Helyi idő",
|
||||
"cs6": "Csevegési üzenet betűmérete",
|
||||
"cs7": "Normál",
|
||||
"cs8": "px"
|
||||
},
|
||||
"modals": {
|
||||
"mpchange1": "Minden kért AT-nak ugyanabból az idegen blokkláncból kell lennie.",
|
||||
"mpchange2": "Engedélyt ad ennek az alkalmazásnak vételi rendelés végrehajtására?",
|
||||
"mpchange3": "Vételi megrendelés sikeresen létrehozva",
|
||||
"mpchange4": "Kérjük, várjon, amíg a vásárlási rendelés teljesül",
|
||||
"mpchange5": "Nem sikerült elküldeni a vásárlási rendelést.",
|
||||
"mpchange6": "Engedélyt ad ennek az alkalmazásnak eladási megbízás végrehajtására?",
|
||||
"mpchange7": "For:",
|
||||
"mpchange8": "Eladási megbízás sikeresen létrehozva.",
|
||||
"mpchange9": "Kérjük, várjon, amíg az eladási megbízás felkerül a listára.",
|
||||
"mpchange10": "Nem sikerült elküldeni az eladási megbízást.",
|
||||
"mpchange11": "Nem található AT információ.",
|
||||
"mpchange12": "Engedélyt ad ennek az alkalmazásnak eladási megbízás törlésére?",
|
||||
"mpchange13": "Eladási megbízás sikeresen törölve.",
|
||||
"mpchange14": "Kérjük, várjon, amíg a kereskedés törlése teljesül.",
|
||||
"mpchange15": "Nem sikerült törölni az eladási rendelést.",
|
||||
"mpchange16": "Hiba a lista lekérésekor.",
|
||||
"mpchange17": "Hiba a listához való hozzáadáskor.",
|
||||
"mpchange18": "Hiba a törlési listában.",
|
||||
"mpchange19": "Hiba az ismerőslista lekérésekor.",
|
||||
"mpchange20": "A szám nem szám.",
|
||||
"mpchange21": "Hiányzó szám.",
|
||||
"mpchange22": "Nem küldtek be adatot vagy fájlt.",
|
||||
"mpchange23": "Az adatok titkosításához nyilvános kulcsok szükségesek.",
|
||||
"mpchange24": "Csak titkosított adatok kerülhetnek a privát szolgáltatásokba.",
|
||||
"mpchange25": "A feltöltés sikertelen titkosítás miatt.",
|
||||
"mpchange26": "A feltöltés nem sikerült.",
|
||||
"mpchange27": "Érvénytelen adat.",
|
||||
"mpchange28": "Nincs közzétehető forrás.",
|
||||
"mpchange29": "Ismeretlen hiba.",
|
||||
"mpchange30": "Szavazás nem található.",
|
||||
"mpchange31": "Nem sikerült szavazni a szavazáson.",
|
||||
"mpchange32": "Nem sikerült létrehozni a szavazást.",
|
||||
"mpchange33": "Kérjük, adjon meg egy qortal hivatkozást - qortal://...",
|
||||
"mpchange34": "Érvénytelen qortal link.",
|
||||
"mpchange35": "Hiba az értesítés leküldésekor.",
|
||||
"mpchange36": "Nem sikerült elküldeni az üzenetet.",
|
||||
"mpchange37": "Ennek a felhasználónak nem lehet titkosított üzenetet küldeni, mivel nincs nyilvános kulcsa a láncon.",
|
||||
"mpchange38": "A kérést nem sikerült teljesíteni.",
|
||||
"mpchange39": "A csoport nem található.",
|
||||
"mpchange40": "Engedélyt ad ennek az alkalmazásnak a csoporthoz való csatlakozási kérelem végrehajtására?",
|
||||
"mpchange41": "Csoport neve:",
|
||||
"mpchange42": "Csoportazonosító:",
|
||||
"mpchange43": "A csoporthoz való csatlakozási kérelem sikeresen létrehozva.",
|
||||
"mpchange44": "Nem sikerült csatlakozni a csoporthoz.",
|
||||
"mpchange45": "A mime típust nem lehetett származtatni.",
|
||||
"mpchange46": "A fájlkiterjesztés nem származtatható.",
|
||||
"mpchange47": "A felhasználó elutasította a letöltést.",
|
||||
"mpchange48": "Nem sikerült elindítani a letöltést.",
|
||||
"mpchange49": "Nem sikerült az AT telepítése.",
|
||||
"mpchange50": "A felhasználónak nincs profilja.",
|
||||
"mpchange51": "Nem találhatók a kért adatok.",
|
||||
"mpchange52": "Nem sikerült lekérni a profiladatokat.",
|
||||
"mpchange53": "Nem sikerült beállítani a tulajdonságot.",
|
||||
"mpchange54": "Nem sikerült megnyitni a profilt.",
|
||||
"mpchange55": "Hiba a kiszolgáló információinak lekérésekor.",
|
||||
"mpchange56": "Hiba a tx tevékenység összefoglalójában.",
|
||||
"mpchange57": "Hiba a külföldi díj lekérésekor.",
|
||||
"mpchange58": "Hiba a külföldi díj frissítésében.",
|
||||
"mpchange59": "Hiba a szerver csatlakozási előzményeinek lekérésében.",
|
||||
"mpchange60": "Hiba az aktuális kiszolgáló beállításánál.",
|
||||
"mpchange61": "Hiba a szerver hozzáadásakor.",
|
||||
"mpchange62": "Hiba a kiszolgáló eltávolítása során.",
|
||||
"mpchange63": "Hiba az összefoglaló lekérésekor.",
|
||||
"mpchange64": "Nem sikerült dekódolni a tranzakciót.",
|
||||
"mpchange65": "Engedélyt ad ennek az alkalmazásnak egy tranzakció aláírására és feldolgozására?",
|
||||
"mpchange66": "Engedélyt ad ennek az alkalmazásnak egy tranzakció aláírására?",
|
||||
"mpchange67": "Elfogadás előtt olvassa el figyelmesen a tranzakciót.",
|
||||
"mpchange68": "Tx típus:",
|
||||
"mpchange69": "TX adatok:",
|
||||
"mpchange70": "A feldolgozási tranzakciót nem kérték.",
|
||||
"mpchange71": "Az aláírt bájtok a következők: ",
|
||||
"mpchange72": "A tranzakció aláírása és feldolgozása sikeresen megtörtént.",
|
||||
"mpchange73": "A tranzakciót nem sikerült feldolgozni.",
|
||||
"mpchange74": "Nem sikerült lekérni a QORT-egyenleget. Próbáld újra!",
|
||||
"mpchange75": "Nem sikerült elküldeni az érmét.",
|
||||
"mpchange76": "Nem sikerült lekérni a BTC-egyenleget. Próbáld újra!",
|
||||
"mpchange77": "Nem sikerült lekérni az LTC-egyenleget. Próbáld újra!",
|
||||
"mpchange78": "Nem sikerült lekérni a DOGE-egyenleget. Próbáld újra!",
|
||||
"mpchange79": "Nem sikerült lekérni a DGB-egyenleget. Próbáld újra!",
|
||||
"mpchange80": "Nem sikerült lekérni az RVN-egyenleget. Próbáld újra!",
|
||||
"mpchange81": "Nem sikerült lekérni az ARRR egyenleget. Próbáld újra!",
|
||||
"mpchange82": "HIÁNYZÓ MEZŐK",
|
||||
"mpchange83": "Elutasítva",
|
||||
"mpchange84": "FAILURE",
|
||||
"mpchange85": "SIKER",
|
||||
"mpchange86": "Mindig engedélyezze a pénztárcaegyenleg automatikus lekérését",
|
||||
"mpchange87": "Kérjük, adja meg a csoport azonosítóját"
|
||||
}
|
||||
}
|
||||
|
@ -8,6 +8,7 @@
|
||||
"dutch": "Olandese",
|
||||
"english": "Inglese",
|
||||
"estonian": "Estone",
|
||||
"finnish": "Finlandese",
|
||||
"french": "Francese",
|
||||
"german": "Tedesco",
|
||||
"hindi": "Hindi",
|
||||
@ -79,7 +80,7 @@
|
||||
"tm32": "Questo account non segue nessun utente",
|
||||
"tm33": "Menu scheda Importa",
|
||||
"tm34": "Menu scheda Esporta",
|
||||
"tm35": "Il menu della scheda esistente verrà eliminato e impostato sul menu della scheda caricato.",
|
||||
"tm35": "Il menu della scheda esistente verrà eliminato e impostato sul menu della scheda importato.",
|
||||
"tm36": "Menu scheda ripristinato con successo",
|
||||
"tm37": "Menu scheda salvato con successo con nome",
|
||||
"tm38": "MODALITÀ SVILUPPATORE",
|
||||
@ -95,7 +96,7 @@
|
||||
"address": "Indirizzo",
|
||||
"password": "Password",
|
||||
"youraccounts": "I tuoi account",
|
||||
"clickto": "Fai clic sul tuo account per accedere con esso",
|
||||
"clickto": "Fare clic su account per accedere",
|
||||
"needcreate": "Devi creare o salvare un account prima di poter accedere!",
|
||||
"upload": "Carica il tuo backup di Qortal",
|
||||
"howlogin": "Come vorresti accedere?",
|
||||
@ -107,16 +108,16 @@
|
||||
"decrypt": "Decifra backup",
|
||||
"save": "Salva in questo browser.",
|
||||
"prepare": "Preparazione del tuo account",
|
||||
"areyousure": "Sei sicuro di voler rimuovere questo portafoglio dai portafogli salvati?",
|
||||
"areyousure": "Sei sicuro di voler rimuovere questo portafoglio dai portafogli salvati? (Se rimosso e non esiste alcun file di backup, l'account potrebbe essere perso per sempre! Assicurati di avere un file di backup prima di farlo!)",
|
||||
"error1": "Il backup deve essere un JSON valido",
|
||||
"error2": "Opzione di accesso non selezionata",
|
||||
"createwelcome": "Benvenuto in Qortal, lo troverai simile a quello di un gioco di ruolo, tu, come minatore della rete Qortal (se scegli di diventarlo) avrai la possibilità di aumentare di livello il tuo account, incrementando sia le ricompense per blocco e anche l'influenza sulla rete in termini di voto sulle decisioni per la piattaforma.",
|
||||
"createwelcome": "Benvenuti a Qortal! Il tuo futuro digitale decentralizzato ti aspetta! Su Qortal solo tu hai il controllo assoluto sui tuoi dati. Qortal fornisce il livello base di un mondo digitale nuovo e completamente controllato dall'utente.",
|
||||
"createa": "A",
|
||||
"click": "Clicca per visualizzare la seedphrase",
|
||||
"confirmpass": "Conferma password",
|
||||
"willbe": "sarà generato casualmente in background. Questo è usato come generatore di chiavi private per il tuo account sulla blockchain di Qortal.",
|
||||
"willbe": "verrà generato casualmente in background. Se desideri VISUALIZZARE la frase seme, fai clic sulla 'frase seme' evidenziata in questo testo. Questo viene utilizzato come generatore di chiave privata per il tuo account blockchain in Qortal. Per motivi di sicurezza, per impostazione predefinita, le frasi iniziali non vengono visualizzate a meno che non venga specificatamente scelto di esserlo.",
|
||||
"clicknext": "Crea il tuo account Qortal facendo clic su AVANTI di seguito.",
|
||||
"ready": "Il tuo account è ora pronto per essere creato. Verrà salvato in questo browser. Se non desideri che il tuo nuovo account venga salvato nel tuo browser, puoi deselezionare la casella qui sotto. Sarai comunque in grado di accedere con il tuo nuovo account (dopo il logout), utilizzando il file di backup del tuo portafoglio che DEVI scaricare una volta creato il tuo account.",
|
||||
"ready": "Il tuo account è ora pronto per essere creato. Verrà salvato all'interno di questa copia dell'interfaccia utente Qortal per impostazione predefinita, in formato crittografato. Se non desideri che il tuo nuovo account venga salvato qui, puoi deselezionare la casella sottostante. Potrai comunque accedere con il tuo nuovo account (dopo esserti disconnesso), utilizzando il file di backup del tuo portafoglio che DEVI scaricare una volta creato il tuo account.",
|
||||
"welmessage": "Benvenuto in Qortal",
|
||||
"pleaseenter": "Inserisci una password!",
|
||||
"notmatch": "La password non corrisponde!",
|
||||
@ -182,7 +183,6 @@
|
||||
"password": "Password",
|
||||
"download": "Scarica il file di backup",
|
||||
"choose": "Scegli una password con cui crittare il tuo backup. (Può essere uguale a quella con cui hai effettuato l'accesso o diversa)",
|
||||
"block": "Notifiche di blocco (in arrivo...)",
|
||||
"playsound": "Riproduci suono",
|
||||
"shownotifications": "Mostra notifiche",
|
||||
"nodeurl": "URL nodo",
|
||||
@ -213,7 +213,8 @@
|
||||
"arrr1": "Portafoglio ARRR non inizializzato!",
|
||||
"arrr2": "Vai alla scheda Portafoglio e inizializza prima il tuo portafoglio arrr.",
|
||||
"arrr3": "È necessario l'aggiornamento del core!",
|
||||
"arrr4": "Per salvare la chiave privata del tuo portafoglio arrr devi prima aggiornare il core!"
|
||||
"arrr4": "Per salvare la chiave privata del tuo portafoglio arrr devi prima aggiornare il core!",
|
||||
"sync_indicator": "Disabilita il popup dell'indicatore di sincronizzazione"
|
||||
},
|
||||
"appinfo": {
|
||||
"blockheight": "Altezza blocco",
|
||||
@ -247,7 +248,9 @@
|
||||
"balance": "Saldo",
|
||||
"balances": "I SALDI DEL TUO PORTAFOGLIO",
|
||||
"update": "AGGIORNA I SALDI DEL PORTAFOGLIO",
|
||||
"view": "Vedere"
|
||||
"view": "Vedere",
|
||||
"all": "Tutto",
|
||||
"page": "Pagina"
|
||||
},
|
||||
"gifs": {
|
||||
"gchange1": "Esplora Gif",
|
||||
@ -283,7 +286,7 @@
|
||||
"startminting": {
|
||||
"smchange1": "Impossibile recuperare i conti di conio",
|
||||
"smchange2": "Impossibile rimuovere la chiave",
|
||||
"smchange3": "Impossibile aggiungere la chiave di conio",
|
||||
"smchange3": "Failed to add minting key, if key was just created try waiting a few blocks and adding again",
|
||||
"smchange4": "Impossibile creare la chiave di sponsorizzazione",
|
||||
"smchange5": "Creare relazione",
|
||||
"smchange6": "In attesa di conferma su blockchain",
|
||||
@ -465,7 +468,7 @@
|
||||
"rchange6": "Destinatario",
|
||||
"rchange7": "Azione",
|
||||
"rchange8": "Tipo",
|
||||
"rchange9": "Level 1 - 4 can create a Self Share and Level 5 or above can create a Reward Share!",
|
||||
"rchange9": "Level 0 - 4 can create a Self Share and Level 5 or above can create a Reward Share!",
|
||||
"rchange10": "Chiave pubblica del destinatario",
|
||||
"rchange11": "Percentuale di quota premio",
|
||||
"rchange12": "Fare qualcosa di delizioso",
|
||||
@ -506,7 +509,7 @@
|
||||
"nchange23": "Prezzo di vendita",
|
||||
"nchange24": "Nessun nome da vendere",
|
||||
"nchange25": "Nome da vendere",
|
||||
"nchange26": "Sei sicuro di vendere questo nome?",
|
||||
"nchange26": "Sei sicuro di voler vendere questo nome? Se il nome viene acquistato da un altro account sarà fuori dal tuo controllo!",
|
||||
"nchange27": "Per questo prezzo in QORT",
|
||||
"nchange28": "Premendo conferma, verrà inviata la richiesta di vendita del nome!",
|
||||
"nchange29": "Nome da cancellare",
|
||||
@ -739,7 +742,8 @@
|
||||
"bchange51": "Per inviare le modifiche non dimenticare di fare clic su 'Aggiorna profilo'",
|
||||
"bchange52": "Concedi a questa applicazione il permesso di ottenere informazioni sul tuo portafoglio?",
|
||||
"bchange53": "Consenti sempre che la tua lista amici venga recuperata automaticamente da tutte le app",
|
||||
"bchange54": "Concedi a questa applicazione il permesso di accedere alla tua lista di amici?"
|
||||
"bchange54": "Concedi a questa applicazione il permesso di accedere alla tua lista di amici?",
|
||||
"bchange55": "Concedi a questa applicazione il permesso di inviare questo comando?"
|
||||
},
|
||||
"datapage": {
|
||||
"dchange1": "Gestione dati",
|
||||
@ -839,7 +843,7 @@
|
||||
"cchange74": "ha reagito con",
|
||||
"cchange75": "Caricamento dell'allegato. L'operazione potrebbe richiedere fino a un minuto.",
|
||||
"cchange76": "Eliminazione dell'allegato. L'operazione potrebbe richiedere fino a un minuto.",
|
||||
"cchange77": "La dimensione dell'allegato supera 1 MB",
|
||||
"cchange77": "La dimensione dell'allegato supera 10 MB",
|
||||
"cchange78": "Sei sicuro di voler eliminare questa immagine?",
|
||||
"cchange79": "Sei sicuro di voler eliminare questo allegato?",
|
||||
"cchange80": "Questa immagine è stata cancellata",
|
||||
@ -852,7 +856,24 @@
|
||||
"cchange94": "caricato",
|
||||
"cchange95": "Solo le mie risorse",
|
||||
"cchange96": "Apri gestione gruppo",
|
||||
"cchange97": "Link per unirti al gruppo copiato negli appunti"
|
||||
"cchange97": "Link per unirti al gruppo copiato negli appunti",
|
||||
"cchange98": "Caricamento del file. L'operazione potrebbe richiedere alcuni minuti.",
|
||||
"cchange99": "Eliminazione del file. L'operazione potrebbe richiedere fino a un minuto.",
|
||||
"cchange100": "La dimensione del file supera 125 MB",
|
||||
"cchange101": "Sei sicuro di voler eliminare questo file?",
|
||||
"cchange102": "Questo file è stato eliminato",
|
||||
"cchange103": "Caricamento gif. L'operazione potrebbe richiedere fino a un minuto.",
|
||||
"cchange104": "Eliminazione gif. L'operazione potrebbe richiedere fino a un minuto.",
|
||||
"cchange105": "La dimensione del file supera i 3 MB",
|
||||
"cchange106": "Sei sicuro di voler eliminare questa gif?",
|
||||
"cchange107": "Questa gif è stata eliminata",
|
||||
"cchange108": "Il download continuerà in background, solo UN file Q-Chat potrà essere scaricato contemporaneamente.",
|
||||
"cchange109": "Tipo di file non supportato!",
|
||||
"cchange110": "CARICA IMMAGINE",
|
||||
"cchange111": "CARICA GIF",
|
||||
"cchange112": "CARICA ALLEGATO",
|
||||
"cchange113": "CARICA FILE",
|
||||
"cchange114": "Scrivi qualcosa ..."
|
||||
},
|
||||
"welcomepage": {
|
||||
"wcchange1": "Benvenuto in Q-Chat",
|
||||
@ -944,7 +965,19 @@
|
||||
"gchange56": "Nome gruppo da cercare",
|
||||
"gchange57": "Nome gruppo privato non trovato",
|
||||
"gchange58": "Nota che il nome del gruppo deve corrispondere esattamente.",
|
||||
"gchange59": "Mostra / Nascondi ticker"
|
||||
"gchange59": "Mostra / Nascondi ticker",
|
||||
"gchange60": "Inserisci il nome del gruppo",
|
||||
"gchange61": "Si prega di inserire la descrizione",
|
||||
"gchange62": "Sei sicuro di AGGIORNARE questo gruppo?",
|
||||
"gchange63": "Premendo CONFERMA, verrà inviata la richiesta UPDATE_GROUP!",
|
||||
"gchange64": "Proprietario attuale / Nuovo proprietario",
|
||||
"gchange65": "Sostituisci questo indirizzo per TRASFERIRE LA PROPRIETA' del gruppo!",
|
||||
"gchange66": "Indirizzo del proprietario non valido/nuovo proprietario",
|
||||
"gchange67": "AGGIORNAMENTO di gruppo riuscito!",
|
||||
"gchange68": "Imposta avatar di gruppo",
|
||||
"gchange69": "Messaggi",
|
||||
"gchange70": "Nessun messaggio nelle ultime 24 ore!",
|
||||
"gchange71": "Ti sei già unito a questo gruppo!"
|
||||
},
|
||||
"puzzlepage": {
|
||||
"pchange1": "Puzzle",
|
||||
@ -1287,5 +1320,104 @@
|
||||
"tour20": "blocchi dietro. Vuoi aggiornare (bootstrap) per accelerare il processo di sincronizzazione?",
|
||||
"tour21": "blocchi rimanenti.",
|
||||
"tour22": "Aggiornamento (bootstrap) richiesto. Attendi prego."
|
||||
},
|
||||
"chatsettings": {
|
||||
"cs1": "Impostazioni chat",
|
||||
"cs2": "Impostazioni generali della chat",
|
||||
"cs3": "Timestamp del messaggio di chat",
|
||||
"cs4": "Tempo fa",
|
||||
"cs5": "Ora locale",
|
||||
"cs6": "Dimensione carattere messaggio chat",
|
||||
"cs7": "Standard",
|
||||
"cs8": "px"
|
||||
},
|
||||
"modals": {
|
||||
"mpchange1": "Tutti gli AT richiesti devono appartenere alla stessa Blockchain esterna.",
|
||||
"mpchange2": "Concedi a questa applicazione l'autorizzazione per eseguire un ordine di acquisto?",
|
||||
"mpchange3": "Ordine di acquisto creato correttamente",
|
||||
"mpchange4": "Attendi che l'ordine di acquisto venga evaso",
|
||||
"mpchange5": "Impossibile inviare l'ordine di acquisto.",
|
||||
"mpchange6": "Concedi a questa applicazione l'autorizzazione per eseguire un ordine di vendita?",
|
||||
"mpchange7": "Per:",
|
||||
"mpchange8": "Ordine di vendita creato correttamente.",
|
||||
"mpchange9": "Attendi che l'ordine di vendita venga elencato.",
|
||||
"mpchange10": "Impossibile inviare l'ordine di vendita.",
|
||||
"mpchange11": "Impossibile trovare le informazioni AT.",
|
||||
"mpchange12": "Concedi a questa applicazione l'autorizzazione per eseguire l'annullamento di un ordine di vendita?",
|
||||
"mpchange13": "Ordine di vendita annullato correttamente.",
|
||||
"mpchange14": "Attendi che la transazione annullando get fulfilled.",
|
||||
"mpchange15": "Impossibile annullare l'ordine di vendita.",
|
||||
"mpchange16": "Errore nel recupero dell'elenco.",
|
||||
"mpchange17": "Errore nell'aggiunta all'elenco.",
|
||||
"mpchange18": "Errore nell'eliminazione dell'elenco.",
|
||||
"mpchange19": "Errore nel recupero dell'elenco degli amici.",
|
||||
"mpchange20": "Il conteggio non è un numero.",
|
||||
"mpchange21": "Conteggio mancante.",
|
||||
"mpchange22": "Nessun dato o file inviato.",
|
||||
"mpchange23": "La crittografia dei dati richiede chiavi pubbliche.",
|
||||
"mpchange24": "Solo i dati crittografati possono essere inseriti nei servizi privati.",
|
||||
"mpchange25": "Caricamento non riuscito a causa di crittografia non riuscita.",
|
||||
"mpchange26": "Caricamento non riuscito.",
|
||||
"mpchange27": "Dati non validi.",
|
||||
"mpchange28": "Nessuna risorsa da pubblicare.",
|
||||
"mpchange29": "Sconosciuto errore.",
|
||||
"mpchange30": "Sondaggio non trovato.",
|
||||
"mpchange31": "Impossibile votare per il sondaggio.",
|
||||
"mpchange32": "Impossibile creare il sondaggio.",
|
||||
"mpchange33": "Inserisci un collegamento qortal - qortal://...",
|
||||
"mpchange34": "Collegamento qortal non valido.",
|
||||
"mpchange35": "Errore nella notifica push.",
|
||||
"mpchange36": "Impossibile inviare il messaggio.",
|
||||
"mpchange37": "Impossibile inviare un messaggio crittografato a questo utente perché non ha la sua chiave pubblica sulla catena.",
|
||||
"mpchange38": "Impossibile soddisfare la richiesta.",
|
||||
"mpchange39": "Gruppo non trovato.",
|
||||
"mpchange40": "Concedi a questa applicazione l'autorizzazione per eseguire una richiesta di adesione al gruppo?",
|
||||
"mpchange41": "Nome gruppo:",
|
||||
"mpchange42": "ID gruppo:",
|
||||
"mpchange43": "Richiesta di adesione al gruppo creata correttamente.",
|
||||
"mpchange44": "Impossibile unirsi al gruppo.",
|
||||
"mpchange45": "Impossibile derivare un tipo MIME.",
|
||||
"mpchange46": "Impossibile derivare un'estensione file.",
|
||||
"mpchange47": "L'utente ha rifiutato il download.",
|
||||
"mpchange48": "Impossibile avviare il download.",
|
||||
"mpchange49": "Impossibile distribuire AT.",
|
||||
"mpchange50": "L'utente non ha un profilo.",
|
||||
"mpchange51": "Impossibile trovare i dati richiesti.",
|
||||
"mpchange52": "Impossibile ottenere i dati del profilo.",
|
||||
"mpchange53": "Impossibile impostare la proprietà.",
|
||||
"mpchange54": "Impossibile aprire il profilo.",
|
||||
"mpchange55": "Errore nel recupero delle informazioni del server.",
|
||||
"mpchange56": "Errore nel riepilogo delle attività di tx.",
|
||||
"mpchange57": "Errore nel get foreign fee.",
|
||||
"mpchange58": "Errore nel aggiorna tariffa estera.",
|
||||
"mpchange59": "Errore nella cronologia delle connessioni al server.",
|
||||
"mpchange60": "Errore nell'impostazione del server corrente.",
|
||||
"mpchange61": "Errore nell'aggiunta del server.",
|
||||
"mpchange62": "Errore nella rimozione del server.",
|
||||
"mpchange63": "Errore nel recupero del riepilogo.",
|
||||
"mpchange64": "Impossibile decodificare la transazione.",
|
||||
"mpchange65": "Concedi a questa applicazione l'autorizzazione a firmare ed elaborare una transazione?",
|
||||
"mpchange66": "Concedi a questa applicazione l'autorizzazione a firmare una transazione?",
|
||||
"mpchange67": "Leggi attentamente la transazione prima di accettare.",
|
||||
"mpchange68": "Tipo Tx:",
|
||||
"mpchange69": "Dati TX:",
|
||||
"mpchange70": "La transazione di processo non è stata richiesta.",
|
||||
"mpchange71": "I byte firmati sono: ",
|
||||
"mpchange72": "Transazione firmata ed elaborata correttamente.",
|
||||
"mpchange73": "Impossibile elaborare la transazione.",
|
||||
"mpchange74": "Impossibile recuperare il saldo QORT. Riprova!",
|
||||
"mpchange75": "Impossibile inviare la moneta.",
|
||||
"mpchange76": "Impossibile recuperare il saldo BTC. Riprova!",
|
||||
"mpchange77": "Impossibile recuperare il saldo LTC. Riprova!",
|
||||
"mpchange78": "Impossibile recuperare il saldo DOGE. Riprova!",
|
||||
"mpchange79": "Impossibile recuperare il saldo DGB. Riprova!",
|
||||
"mpchange80": "Impossibile recuperare il saldo RVN. Riprova!",
|
||||
"mpchange81": "Impossibile recuperare il saldo ARRR. Riprova!",
|
||||
"mpchange82": "CAMPI MANCANTI",
|
||||
"mpchange83": "RIFIUTATO",
|
||||
"mpchange84": "FALLITO",
|
||||
"mpchange85": "RIUSCITO",
|
||||
"mpchange86": "Consenti sempre di ottenere automaticamente il saldo del portafoglio",
|
||||
"mpchange87": "Inserisci l'ID del gruppo"
|
||||
}
|
||||
}
|
||||
|
@ -8,6 +8,7 @@
|
||||
"dutch": "オランダの",
|
||||
"english": "英語",
|
||||
"estonian": "エストニア語",
|
||||
"finnish": "フィンランド語",
|
||||
"french": "フランス語",
|
||||
"german": "ドイツ語",
|
||||
"hindi": "ヒンディー語",
|
||||
@ -79,7 +80,7 @@
|
||||
"tm32": "このアカウントはどのユーザーもフォローしていません",
|
||||
"tm33": "インポートタブメニュー",
|
||||
"tm34": "エクスポートタブメニュー",
|
||||
"tm35": "既存のタブ メニューは削除され、アップロードされたタブ メニューに設定されます。",
|
||||
"tm35": "既存のタブメニューが削除され、インポートされたタブメニューに設定されます。",
|
||||
"tm36": "タブメニューが正常に復元されました",
|
||||
"tm37": "タブメニューが名前を付けて保存されました",
|
||||
"tm38": "開発モード",
|
||||
@ -95,28 +96,28 @@
|
||||
"address": "アドレス",
|
||||
"password": "パスワード",
|
||||
"youraccounts": "あなたのアカウント",
|
||||
"clickto": "ログインしたいアカウントをクリックして下さい",
|
||||
"clickto": "アカウントをクリックしてログインします",
|
||||
"needcreate": "ログインする前にアカウントを作成または保存する必要があります!",
|
||||
"upload": "Qortal のバックアップをアップロードします",
|
||||
"howlogin": "どのようにログインしますか?",
|
||||
"seed": "シードフレーズ",
|
||||
"seedphrase": "シードフレーズ",
|
||||
"saved": "保存したアカウント",
|
||||
"qora": "Qora アドレス シード",
|
||||
"backup": "Qortal ウォレットのバックアップ",
|
||||
"decrypt": "バックアップを復号化",
|
||||
"qora": "QORA アドレス シード",
|
||||
"backup": "Qortalバックアップファイル",
|
||||
"decrypt": "バックアップファイルを復号化する",
|
||||
"save": "このブラウザに保存します。",
|
||||
"prepare": "アカウントを準備",
|
||||
"areyousure": "保存されたウォレットからこのウォレットを削除しますか?",
|
||||
"areyousure": "このウォレットを保存されたウォレットから削除してもよろしいですか? (削除してバックアップ ファイルが存在しない場合、アカウントが永久に失われる可能性があります。これを行う前にバックアップ ファイルがあることを確認してください。)",
|
||||
"error1": "バックアップは有効な JSON である必要があります",
|
||||
"error2": "ログイン オプションが選択されていません",
|
||||
"createwelcome": "Qortal へようこそ。Qortalは RPG ゲームに似ている事に気づくと思います。Qortal ネットワークのミンターとして (なりたいと選択した場合) アカウントをレベルアップすることが出来、QORT のブロック報酬をより多く得られるだけでなく、プラットフォームの決定に対する投票という点で、ネットワークに対してより大きな影響力を持つことが出来ます。",
|
||||
"createwelcome": "Qortal へようこそ。分散型デジタルの未来があなたを待っています! Qortal では、データを完全に制御できるのはあなただけです。 Qortal は、ユーザーが完全に制御できる新しいデジタル世界の基本レベルを提供します。",
|
||||
"createa": "A",
|
||||
"click": "クリックしてシードフレーズを表示",
|
||||
"confirmpass": "パスワードの確認",
|
||||
"willbe": "はバックグラウンドでランダムに生成されます。これは、Qortal のブロックチェーン アカウントの秘密キー ジェネレーターとして使用されます。",
|
||||
"willbe": "バックグラウンドでランダムに生成されます。 シードフレーズを表示したい場合は、このテキスト内で強調表示されている「シードフレーズ」をクリックしてください。 これは、Qortal のブロックチェーン アカウントの秘密キー ジェネレーターとして使用されます。 デフォルトでは、セキュリティのため、特に選択しない限り、シードフレーズは表示されません。",
|
||||
"clicknext": "下の [次へ] をクリックして Qortal アカウントを作成します。",
|
||||
"ready": "アカウントを作成する準備が出来ました。アカウントはこのブラウザに保存されます。新しいアカウントをブラウザに保存したくない場合は、下のボックスのチェックを外してください。[必ず」新しいアカウントのウォレットのバックアップ ファイルをダウンロードして下さい。(ログアウト後) そのバックアップファイルが無いとログイン不可になります。",
|
||||
"ready": "これでアカウントを作成する準備ができました。 デフォルトでは、Qortal UI のこのコピー内に暗号化された形式で保存されます。 新しいアカウントをここに保存したくない場合は、下のボックスのチェックを外してください。 アカウントを作成したら必ずダウンロードする必要があるウォレットのバックアップ ファイルを使用して、(ログアウト後も) 新しいアカウントでログインすることができます。",
|
||||
"welmessage": "Qortal へようこそ",
|
||||
"pleaseenter": "パスワードを入力してください!",
|
||||
"notmatch": "パスワードが一致しません!",
|
||||
@ -182,7 +183,6 @@
|
||||
"password": "パスワード",
|
||||
"download": "バックアップ ファイルをダウンロード",
|
||||
"choose": "バックアップを暗号化するためのパスワードを入力してください。(ログインに使用したパスワードと同じでも、別のものでも構いません)",
|
||||
"block": "通知をブロックする (近日公開予定...)",
|
||||
"playsound": "音を鳴らす",
|
||||
"shownotifications": "通知を表示",
|
||||
"nodeurl": "ノード URL",
|
||||
@ -207,13 +207,14 @@
|
||||
"exp2": "マスターキーのエクスポート",
|
||||
"exp3": "エクスポート",
|
||||
"exp4": "秘密マスターキーをバックアップするウォレットを選択してください。",
|
||||
"core": "Core設定を開始",
|
||||
"core": "Core自動起動設定",
|
||||
"qappNotification1": "Q-App 通知",
|
||||
"selectnode": "オプションを選択してください",
|
||||
"arrr1": "ARRR ウォレットが初期化されていません!",
|
||||
"arrr2": "ウォレットタブに移動して、まずarrrウォレットを初期化してください。",
|
||||
"arrr2": "まずウォレットタブに移動し、ARRR ウォレットにアクセスしてウォレットを初期化してください。",
|
||||
"arrr3": "コアのアップデートが必要です!",
|
||||
"arrr4": "arrr ウォレットの秘密キーを保存するには、まずコアのアップデートが必要です!"
|
||||
"arrr4": "arrr ウォレットの秘密キーを保存するには、まずコアのアップデートが必要です!",
|
||||
"sync_indicator": "同期インジケーターのポップアップを無効にする"
|
||||
},
|
||||
"appinfo": {
|
||||
"blockheight": "ブロック高",
|
||||
@ -247,7 +248,9 @@
|
||||
"balance": "残高",
|
||||
"balances": "あなたのウォレット残高",
|
||||
"update": "ウォレット残高を更新",
|
||||
"view": "表示"
|
||||
"view": "表示",
|
||||
"all": "全て",
|
||||
"page": "ページ"
|
||||
},
|
||||
"gifs": {
|
||||
"gchange1": "GIF エクスプローラー",
|
||||
@ -283,7 +286,7 @@
|
||||
"startminting": {
|
||||
"smchange1": "ミントアカウントを取得出来ません",
|
||||
"smchange2": "キーの削除に失敗しました",
|
||||
"smchange3": "ミントキーの追加に失敗しました",
|
||||
"smchange3": "ミントキーを追加できませんでした。キーが作成されたばかりの場合は、数ブロック待ってから再度追加してください",
|
||||
"smchange4": "スポンサーシップ キーを作成出来ません",
|
||||
"smchange5": "関係の構築開始",
|
||||
"smchange6": "ブロックチェーンの承認を待っています",
|
||||
@ -465,7 +468,7 @@
|
||||
"rchange6": "受取人",
|
||||
"rchange7": "アクション",
|
||||
"rchange8": "タイプ",
|
||||
"rchange9": "レベル 1 ~ 4 は自己シェアを、レベル 5 以上は報酬シェアを作成出来ます!",
|
||||
"rchange9": "レベル 0 ~ 4 は自己シェアを、レベル 5 以上は報酬シェアを作成出来ます!",
|
||||
"rchange10": "受取人の公開鍵",
|
||||
"rchange11": "報酬シェア率",
|
||||
"rchange12": "おいしいことをしています",
|
||||
@ -506,7 +509,7 @@
|
||||
"nchange23": "売値",
|
||||
"nchange24": "売却する名前はありません",
|
||||
"nchange25": "売却する名前",
|
||||
"nchange26": "この名前を売却しますか?",
|
||||
"nchange26": "この名前を販売してもよろしいですか? この名前が別のアカウントによって購入された場合、販売された名前によって公開されたデータにアクセスできなくなります。",
|
||||
"nchange27": "QORT建価格",
|
||||
"nchange28": "確認を押すと、名前の売却リクエストが送信されます!",
|
||||
"nchange29": "売却中止する名前",
|
||||
@ -739,7 +742,8 @@
|
||||
"bchange51": "変更を送信するには、[プロフィールを更新] をクリックすることを忘れないでください。",
|
||||
"bchange52": "ウォレット情報を取得する許可をこのアプリケーションに与えますか?",
|
||||
"bchange53": "すべてのアプリによる友達リストの自動取得を常に許可します",
|
||||
"bchange54": "このアプリケーションに友達リストへのアクセスを許可しますか?"
|
||||
"bchange54": "このアプリケーションに友達リストへのアクセスを許可しますか?",
|
||||
"bchange55": "このアプリケーションにこのコマンドを送信する許可を与えますか?"
|
||||
},
|
||||
"datapage": {
|
||||
"dchange1": "データ管理",
|
||||
@ -839,7 +843,7 @@
|
||||
"cchange74": "リアクション",
|
||||
"cchange75": "添付ファイルをアップロード中。これには最大 1 分かかる場合があります。",
|
||||
"cchange76": "添付ファイルを削除中。これには最大 1 分かかる場合があります。",
|
||||
"cchange77": "添付ファイルのサイズが 1 MB を超えています",
|
||||
"cchange77": "添付ファイルのサイズが 10 MB を超えています",
|
||||
"cchange78": "この画像を削除しますか?",
|
||||
"cchange79": "この添付ファイルを削除しますか?",
|
||||
"cchange80": "この画像は削除されました",
|
||||
@ -852,7 +856,24 @@
|
||||
"cchange94": "ロードされました",
|
||||
"cchange95": "私のリソースのみ",
|
||||
"cchange96": "オープングループ管理",
|
||||
"cchange97": "グループに参加するリンクがクリップボードにコピーされました"
|
||||
"cchange97": "グループに参加するリンクがクリップボードにコピーされました",
|
||||
"cchange98": "ファイルをアップロードしています。これには数分かかる場合があります。",
|
||||
"cchange99": "ファイルを削除しています。これには最大 1 分かかる場合があります。",
|
||||
"cchange100": "ファイル サイズが 125 MB を超えています",
|
||||
"cchange101": "このファイルを削除してもよろしいですか?",
|
||||
"cchange102": "このファイルは削除されました",
|
||||
"cchange103": "gif をアップロードしています。これには最大 1 分かかる場合があります。",
|
||||
"cchange104": "gif を削除しています。これには最大 1 分かかる場合があります。",
|
||||
"cchange105": "ファイル サイズが 3 MB を超えています",
|
||||
"cchange106": "この gif を削除してもよろしいですか?",
|
||||
"cchange107": "このGIFは削除されました",
|
||||
"cchange108": "ダウンロードはバックグラウンドで続行されます。同時にダウンロードできる Q-Chat ファイルは 1 つだけです。",
|
||||
"cchange109": "ファイルの種類はサポートされていません!",
|
||||
"cchange110": "画像アップロード",
|
||||
"cchange111": "GIF アップロード",
|
||||
"cchange112": "添付ファイルのアップロード",
|
||||
"cchange113": "ファイルのアップロード",
|
||||
"cchange114": "何か書いてください ..."
|
||||
},
|
||||
"welcomepage": {
|
||||
"wcchange1": "Q-Chat へようこそ",
|
||||
@ -944,7 +965,19 @@
|
||||
"gchange56": "検索するグループ名",
|
||||
"gchange57": "非公開 グループ名が見つかりません",
|
||||
"gchange58": "グループ名は完全に一致する必要があります",
|
||||
"gchange59": "ティッカーの表示/非表示"
|
||||
"gchange59": "ティッカーの表示/非表示",
|
||||
"gchange60": "グループ名を入力してください",
|
||||
"gchange61": "説明を入力してください",
|
||||
"gchange62": "このグループを更新してもよろしいですか?",
|
||||
"gchange63": "CONFIRMを押すと、UPDATE_GROUPリクエストが送信されます。",
|
||||
"gchange64": "現在の所有者/新しい所有者",
|
||||
"gchange65": "このアドレスをグループの所有権の譲渡に置き換えてください。",
|
||||
"gchange66": "無効な所有者/新しい所有者のアドレス",
|
||||
"gchange67": "グループ UPDATE 成功しました!",
|
||||
"gchange68": "グループアバターの設定",
|
||||
"gchange69": "メッセージ",
|
||||
"gchange70": "過去 24 時間以内にメッセージはありません。",
|
||||
"gchange71": "このグループにはすでに参加しています。"
|
||||
},
|
||||
"puzzlepage": {
|
||||
"pchange1": "パズル",
|
||||
@ -1287,5 +1320,104 @@
|
||||
"tour20": "ブロックが遅れています。同期プロセスを高速化するために更新 (ブートストラップ) しますか?",
|
||||
"tour21": "残りのブロック。",
|
||||
"tour22": "更新 (ブートストラップ) が要求されました。お待ちください。"
|
||||
},
|
||||
"chatsettings": {
|
||||
"cs1": "チャット設定",
|
||||
"cs2": "一般チャット設定",
|
||||
"cs3": "チャットメッセージのタイムスタンプ",
|
||||
"cs4": "過去時間",
|
||||
"cs5": "現地時間",
|
||||
"cs6": "チャットメッセージのフォントサイズ",
|
||||
"cs7": "標準",
|
||||
"cs8": "px"
|
||||
},
|
||||
"modals": {
|
||||
"mpchange1": "要求されたすべての AT は同じ外部ブロックチェーンである必要があります。",
|
||||
"mpchange2": "このアプリケーションに購入注文を実行する権限を与えますか?",
|
||||
"mpchange3": "購入注文が正常に作成されました",
|
||||
"mpchange4": "購入注文が履行されるまでお待ちください",
|
||||
"mpchange5": "購入注文の送信に失敗しました。",
|
||||
"mpchange6": "このアプリケーションに売り注文を実行する権限を与えますか?",
|
||||
"mpchange7": "対象:",
|
||||
"mpchange8": "売り注文が正常に作成されました。",
|
||||
"mpchange9": "売り注文がリストされるまでお待ちください。",
|
||||
"mpchange10": "売り注文の送信に失敗しました。",
|
||||
"mpchange11": "AT 情報が見つかりません。",
|
||||
"mpchange12": "このアプリケーションに売り注文のキャンセルを実行する権限を与えますか?",
|
||||
"mpchange13": "売り注文が正常にキャンセルされました。",
|
||||
"mpchange14": "取引キャンセルが完了するまでお待ちください。完了しました。",
|
||||
"mpchange15": "売り注文のキャンセルに失敗しました。",
|
||||
"mpchange16": "リストの取得中にエラーが発生しました。",
|
||||
"mpchange17": "リストへの追加中にエラーが発生しました。",
|
||||
"mpchange18": "リストの削除中にエラーが発生しました。",
|
||||
"mpchange19": "友達リストの取得中にエラーが発生しました。",
|
||||
"mpchange20": "カウントが数値ではありません。",
|
||||
"mpchange21": "カウントがありません。",
|
||||
"mpchange22": "データまたはファイルが送信されていません。",
|
||||
"mpchange23": "データの暗号化には公開キーが必要です。",
|
||||
"mpchange24": "プライベートサービスに使用できるのは暗号化されたデータのみです。",
|
||||
"mpchange25": "暗号化に失敗したためアップロードに失敗しました。",
|
||||
"mpchange26": "アップロードに失敗しました。",
|
||||
"mpchange27": "無効なデータです。",
|
||||
"mpchange28": "公開するリソースがありません。",
|
||||
"mpchange29": "不明なエラーです。",
|
||||
"mpchange30": "投票が見つかりません。",
|
||||
"mpchange31": "投票に失敗しました。",
|
||||
"mpchange32": "投票を作成できませんでした。",
|
||||
"mpchange33": "qortal リンクを入力してください - qortal://...",
|
||||
"mpchange34": "無効な qortal リンクです。",
|
||||
"mpchange35": "通知のプッシュ中にエラーが発生しました。",
|
||||
"mpchange36": "メッセージを送信できませんでした。",
|
||||
"mpchange37": "このユーザーには公開鍵がチェーン上にないため、暗号化されたメッセージを送信できません。",
|
||||
"mpchange38": "リクエストを処理できませんでした。",
|
||||
"mpchange39": "グループが見つかりません。",
|
||||
"mpchange40": "このアプリケーションにグループ参加リクエストを実行する権限を与えますか?",
|
||||
"mpchange41": "グループ名:",
|
||||
"mpchange42": "グループ ID:",
|
||||
"mpchange43": "グループ参加リクエストが正常に作成されました。",
|
||||
"mpchange44": "失敗しましたグループに参加します。",
|
||||
"mpchange45": "MIME タイプを取得できませんでした。",
|
||||
"mpchange46": "ファイル拡張子を取得できませんでした。",
|
||||
"mpchange47": "ユーザーがダウンロードを拒否しました。",
|
||||
"mpchange48": "ダウンロードを開始できませんでした。",
|
||||
"mpchange49": "AT を展開できませんでした。",
|
||||
"mpchange50": "ユーザーにはプロファイルがありません。",
|
||||
"mpchange51": "要求されたデータが見つかりません。",
|
||||
"mpchange52": "プロファイル データを取得できませんでした。",
|
||||
"mpchange53": "プロパティを設定できませんでした。",
|
||||
"mpchange54": "プロファイルを開けませんでした。",
|
||||
"mpchange55": "サーバー情報の取得中にエラーが発生しました。",
|
||||
"mpchange56": "tx アクティビティ サマリーでエラーが発生しました。",
|
||||
"mpchange57": "外国手数料の取得中にエラーが発生しました。",
|
||||
"mpchange58": "外国手数料の更新中にエラーが発生しました。",
|
||||
"mpchange59": "サーバー接続の取得中にエラーが発生しました履歴。",
|
||||
"mpchange60": "現在のサーバーの設定中にエラーが発生しました。",
|
||||
"mpchange61": "サーバーの追加中にエラーが発生しました。",
|
||||
"mpchange62": "サーバーの削除中にエラーが発生しました。",
|
||||
"mpchange63": "概要の取得中にエラーが発生しました。",
|
||||
"mpchange64": "トランザクションのデコードに失敗しました。",
|
||||
"mpchange65": "このアプリケーションにトランザクションの署名と処理の権限を与えますか?",
|
||||
"mpchange66": "このアプリケーションにトランザクションの署名の権限を与えますか?",
|
||||
"mpchange67": "承認する前にトランザクションをよくお読みください。",
|
||||
"mpchange68": "Tx タイプ:",
|
||||
"mpchange69": "TX データ:",
|
||||
"mpchange70": "トランザクションの処理が要求されていません。",
|
||||
"mpchange71": "署名されたバイト数: ",
|
||||
"mpchange72": "トランザクションは正常に署名され、処理されました。",
|
||||
"mpchange73": "トランザクションを処理できませんでした。",
|
||||
"mpchange74": "QORT の取得に失敗しました残高。もう一度お試しください!",
|
||||
"mpchange75": "コインを送信できませんでした。",
|
||||
"mpchange76": "BTC 残高の取得に失敗しました。もう一度お試しください!",
|
||||
"mpchange77": "LTC 残高の取得に失敗しました。もう一度お試しください!",
|
||||
"mpchange78": "DOGE 残高の取得に失敗しました。もう一度お試しください!",
|
||||
"mpchange79": "DGB 残高の取得に失敗しました。もう一度お試しください!",
|
||||
"mpchange80": "RVN 残高の取得に失敗しました。もう一度お試しください!",
|
||||
"mpchange81": "ARRR 残高の取得に失敗しました。もう一度お試しください!",
|
||||
"mpchange82": "フィールドがありません",
|
||||
"mpchange83": "拒否されました",
|
||||
"mpchange84": "失敗",
|
||||
"mpchange85": "成功",
|
||||
"mpchange86": "ウォレット残高の自動取得を常に許可する",
|
||||
"mpchange87": "グループ ID を入力してください"
|
||||
}
|
||||
}
|
||||
|
@ -8,6 +8,7 @@
|
||||
"dutch": "네덜란드의",
|
||||
"english": "영어",
|
||||
"estonian": "에스토니아어",
|
||||
"finnish": "핀란드어",
|
||||
"french": "프랑스어",
|
||||
"german": "독일어",
|
||||
"hindi": "힌디어",
|
||||
@ -107,16 +108,16 @@
|
||||
"decrypt": "백업 암호 해독",
|
||||
"save": "이 브라우저에 저장",
|
||||
"prepare": "계정 준비",
|
||||
"areyousure": "저장된 지갑에서 이 지갑을 제거하시겠습니까?",
|
||||
"areyousure": "저장된 지갑에서 이 지갑을 제거하시겠습니까? (제거되고 백업 파일이 없으면 계정이 영원히 손실될 수 있습니다. 이 작업을 수행하기 전에 백업 파일이 있는지 확인하십시오!)",
|
||||
"error1": "백업은 유호한 json파일 형식이어야 합니다.",
|
||||
"error2": "로그인 옵션이 선택되지 않았습니다.",
|
||||
"createwelcome": "Qortal에 오신 것을 환영합니다. RPG 게임과 비슷하다는 것을 알게 되실 것입니다. Qortal 네트워크의 관리자로서(만약 당신이 하나를 선택한다면) 계정을 레벨업할 수 있는 기회를 갖게 될 것입니다. Qortal 네트워크에 대한 더 많은 블록 보상은 물론 플랫폼 결정에 대한 투표 측면에서 네트워크에 대한 더 큰 영향력을 갖게 될 것입니다..",
|
||||
"createwelcome": "Qortal에 오신 것을 환영합니다! 귀하의 분산형 디지털 미래가 귀하를 기다립니다! Qortal에서는 귀하만이 귀하의 데이터를 절대적으로 통제할 수 있습니다. Qortal은 새로운 완전 사용자 제어 디지털 세계의 기본 수준을 제공합니다.",
|
||||
"createa": "A",
|
||||
"click": "시드 구문을 보려면 클릭하십시오.",
|
||||
"confirmpass": "암호 확인",
|
||||
"willbe": "백그라운드에서 랜덤하게 생성됩니다. 이것은 Qortal의 블록체인 계정에 대한 개인 키 생성기로 사용됩니다.",
|
||||
"willbe": "백그라운드에서 무작위로 생성됩니다. Seedphrase를 보려면 이 텍스트에서 강조표시된 'seedphrase'를 클릭하세요. 이는 Qortal의 블록체인 계정에 대한 개인 키 생성기로 사용됩니다. 기본적으로 보안을 위해 특별히 선택하지 않는 한 시드 문구는 표시되지 않습니다.",
|
||||
"clicknext": "아래 NEXT를 클릭하여 Qortal 계정을 만드십시오.",
|
||||
"ready": "계정을 만들 준비가 되었습니다. 이 브라우저에 저장됩니다. 브라우저에 새 계정을 저장하지 않으려면 아래 상자를 선택 취소할 수 있습니다. 계정을 만든 후에는 반드시 다운로드해야 하는 지갑 백업 파일을 사용하여 새 계정으로 로그인할 수 있습니다(로그아웃 후).",
|
||||
"ready": "이제 귀하의 계정을 생성할 준비가 되었습니다. 기본적으로 이 Qortal UI 복사본 내에 암호화된 형식으로 저장됩니다. 새 계정을 저장하지 않으려면 아래 확인란을 선택 취소하세요. 계정 생성 시 반드시 다운로드해야 하는 지갑 백업 파일을 사용하여 언제든지 새 계정에 액세스할 수 있습니다(로그아웃 후).",
|
||||
"welmessage": "Qortal에 오신 것을 환영합니다.",
|
||||
"pleaseenter": "암호를 입력하십시오!",
|
||||
"notmatch": "암호가 일치하지 않습니다!",
|
||||
@ -128,11 +129,11 @@
|
||||
"createdseed": "귀하의 시드구문",
|
||||
"saveseed": "시드구문 저장",
|
||||
"savein": "브라우저에 저장",
|
||||
"backup2": "이 파일은 앱/브라우저에 저장되지 않은 시스템의 계정에 액세스할 수 있는 유일한 방법입니다. 이 파일을 여러 곳에 백업하십시오. 파일은 매우 안전하게 암호화되고 이전 단계에서 만든 로컬 암호로 해독됩니다. 어디에나 안전하게 저장할 수 있지만 여러 위치에서 저장해야 합니다.",
|
||||
"backup2": "Qortal 백업 파일은 UI에 저장되지 않는 한 (기본적으로) 계정에 액세스할 수 있는 유일한 방법입니다. 이 파일을 여러 장소에 백업해 두세요! 파일은 매우 안전하게 암호화되었으며 이전 단계에서 생성한 로컬 비밀번호로 해독됩니다. 어디에나 안전하게 저장할 수 있지만 반드시 여러 위치에 저장하세요.",
|
||||
"savewallet": "지갑 백업 파일 저장",
|
||||
"created1": "이제 계정이 생성되었습니다.",
|
||||
"created2": " 이 브라우저에 저장됩니다.",
|
||||
"downloadbackup": "지갑 백업 파일 다운로드",
|
||||
"created2": " 암호화된 형태로 이 UI에 저장됩니다.",
|
||||
"downloadbackup": "Qortal 백업 파일을 저장하십시오.",
|
||||
"passwordhint": "비밀번호는 5자 이상이어야 합니다.",
|
||||
"lp1": "잠금 화면",
|
||||
"lp2": "잠금 화면 암호가 설정되지 않았습니다!",
|
||||
@ -163,7 +164,7 @@
|
||||
},
|
||||
"fragfile": {
|
||||
"selectfile": "파일선택",
|
||||
"dragfile": "백업을 여기에 드래그"
|
||||
"dragfile": "끌어서 놓거나 여기를 클릭하여 백업 파일을 선택하세요."
|
||||
},
|
||||
"settings": {
|
||||
"generalinfo": "일반 계정 정보",
|
||||
@ -180,9 +181,8 @@
|
||||
"notifications": "알림",
|
||||
"accountsecurity": "계정 보안",
|
||||
"password": "비밀번호",
|
||||
"download": "백업 파일 다운로드",
|
||||
"download": "Qortal 백업 파일 내보내기/저장",
|
||||
"choose": "백업을 암호화할 암호를 선택하십시오. 암호는 로그인한 암호와 같거나 다를 수 있습니다.",
|
||||
"block": "블록 알림",
|
||||
"playsound": "소리 재생",
|
||||
"shownotifications": "알림 표시",
|
||||
"nodeurl": "노드 url",
|
||||
@ -192,8 +192,8 @@
|
||||
"protocol": "프로토콜",
|
||||
"domain": "도메인",
|
||||
"port": "포트",
|
||||
"import": "노드 가져오기",
|
||||
"export": "노드 내보내기",
|
||||
"import": "저장된 노드 가져오기",
|
||||
"export": "저장된 노드 내보내기",
|
||||
"deletecustomnode": "모든 사용자 정의 노드 제거",
|
||||
"warning": "기존 노드가 삭제되고 백업에서 새로 생성됩니다.",
|
||||
"snack1": "표준 노드를 성공적으로 삭제 및 추가했습니다.",
|
||||
@ -203,17 +203,18 @@
|
||||
"snack5": "노드를 성공적으로 가져왔습니다.",
|
||||
"snack6": "사용자 정의 노드를 성공적으로 제거했습니다",
|
||||
"snack7": "사용자 정의 노드를 성공적으로 편집했습니다",
|
||||
"exp1": "개인 마스터 키 내보내기",
|
||||
"exp1": "마스터 개인 키 내보내기(xpriv)",
|
||||
"exp2": "마스터 키 내보내기",
|
||||
"exp3": "내보내기",
|
||||
"exp4": "개인 마스터 키를 백업할 지갑을 선택하세요.",
|
||||
"exp4": "마스터 개인키 백업을 위한 지갑을 선택해주세요",
|
||||
"core": "코어 설정 시작",
|
||||
"qappNotification1": "Q-App 알림",
|
||||
"selectnode": "옵션을 선택하세요",
|
||||
"arrr1": "ARRR 지갑이 초기화되지 않았습니다!",
|
||||
"arrr2": "지갑 탭으로 이동하여 먼저 arrr 지갑을 초기화하세요.",
|
||||
"arrr1": "ARRR 지갑이 초기화되지 않음!",
|
||||
"arrr2": "'지갑'으로 이동하여 ARRR 지갑에 접속하여 먼저 초기화하세요.",
|
||||
"arrr3": "핵심 업데이트가 필요합니다!",
|
||||
"arrr4": "arrr 지갑의 개인 키를 저장하려면 먼저 핵심 업데이트가 필요합니다!"
|
||||
"arrr4": "ARRR 지갑의 개인 키를 저장하려면 먼저 Qortal Core를 업데이트해야 합니다!",
|
||||
"sync_indicator": "동기화 표시 팝업 비활성화"
|
||||
},
|
||||
"appinfo": {
|
||||
"blockheight": "블록 높이",
|
||||
@ -247,7 +248,9 @@
|
||||
"balance": "균형",
|
||||
"balances": "지갑 잔액",
|
||||
"update": "월렛 잔액 업데이트",
|
||||
"view": "보다"
|
||||
"view": "보다",
|
||||
"all": "모두",
|
||||
"page": "페이지"
|
||||
},
|
||||
"gifs": {
|
||||
"gchange1": "Gif 탐색기",
|
||||
@ -283,14 +286,14 @@
|
||||
"startminting": {
|
||||
"smchange1": "발행 계정을 가져올 수 없습니다",
|
||||
"smchange2": "키 제거 실패",
|
||||
"smchange3": "발행 키를 추가하지 못했습니다.",
|
||||
"smchange3": "'민팅 키' 추가에 실패했습니다. 키가 방금 생성된 경우 몇 블록을 기다렸다가 다시 추가해 보세요.",
|
||||
"smchange4": "스폰서십 키를 생성할 수 없습니다.",
|
||||
"smchange5": "관계 만들기",
|
||||
"smchange6": "블록체인에서 확인 대기 중",
|
||||
"smchange7": "관계 마무리",
|
||||
"smchange8": "노드에 발행 키 추가",
|
||||
"smchange9": "완벽한",
|
||||
"smchange10": "노드당 발행 키 2개만 허용됩니다. 키 3개를 할당하려고 합니다. 관리 - 노드 관리로 이동하여 이 노드에 할당하고 싶지 않은 키를 제거하십시오. 감사합니다!"
|
||||
"smchange10": "노드당 2개의 '민팅 키'만 허용됩니다. 현재 3개의 키를 시도하고 있습니다. 노드 관리로 이동하여 불필요한 키를 제거하십시오. 감사합니다!"
|
||||
},
|
||||
"mintingpage": {
|
||||
"mchange1": "일반 민팅 정보",
|
||||
@ -465,7 +468,7 @@
|
||||
"rchange6": "받는사람",
|
||||
"rchange7": "액션",
|
||||
"rchange8": "유형",
|
||||
"rchange9": "레벨 1 - 4는 자체 공유를 생성할 수 있으며 레벨 5 이상은 보상 공유를 생성할 수 있습니다.",
|
||||
"rchange9": "레벨 0 - 4는 자체 공유를 생성할 수 있으며 레벨 5 이상은 보상 공유를 생성할 수 있습니다.",
|
||||
"rchange10": "수신자 공개 키",
|
||||
"rchange11": "보상공유율",
|
||||
"rchange12": "맛있는 거 하기",
|
||||
@ -506,7 +509,7 @@
|
||||
"nchange23": "판매 가격",
|
||||
"nchange24": "판매할 이름 없음",
|
||||
"nchange25": "판매할 이름",
|
||||
"nchange26": "이 이름을 판매하시겠습니까?",
|
||||
"nchange26": "이 이름을 판매하시겠습니까? 판매되면 이 이름으로 게시된 모든 데이터에 더 이상 액세스할 수 없습니다!",
|
||||
"nchange27": "QORT에서 이 가격",
|
||||
"nchange28": "확인을 누르면 판매 이름 요청이 전송됩니다!",
|
||||
"nchange29": "취소할 이름",
|
||||
@ -739,7 +742,8 @@
|
||||
"bchange51": "변경 사항을 제출하려면 '프로필 업데이트'를 클릭하는 것을 잊지 마세요.",
|
||||
"bchange52": "이 애플리케이션에 지갑 정보를 얻을 수 있는 권한을 부여하시겠습니까?",
|
||||
"bchange53": "항상 모든 앱에서 친구 목록을 자동으로 검색하도록 허용",
|
||||
"bchange54": "이 애플리케이션에 친구 목록에 접근할 수 있는 권한을 부여하시겠습니까?"
|
||||
"bchange54": "이 애플리케이션에 친구 목록에 접근할 수 있는 권한을 부여하시겠습니까?",
|
||||
"bchange55": "이 애플리케이션이 이 명령을 보내도록 허락하시겠습니까?"
|
||||
},
|
||||
"datapage": {
|
||||
"dchange1": "데이터 관리",
|
||||
@ -839,7 +843,7 @@
|
||||
"cchange74": "반응",
|
||||
"cchange75": "첨부파일을 업로드하는 중입니다. 최대 1분이 소요될 수 있습니다.",
|
||||
"cchange76": "첨부파일을 삭제하는 중입니다. 최대 1분이 소요될 수 있습니다.",
|
||||
"cchange77": "첨부 파일 크기가 1MB를 초과함",
|
||||
"cchange77": "첨부 파일 크기가 10MB를 초과함",
|
||||
"cchange78": "정말 이 이미지를 삭제하시겠습니까?",
|
||||
"cchange79": "이 첨부파일을 삭제하시겠습니까?",
|
||||
"cchange80": "이 이미지는 삭제되었습니다",
|
||||
@ -852,7 +856,24 @@
|
||||
"cchange94": "로드됨",
|
||||
"cchange95": "내 리소스만",
|
||||
"cchange96": "그룹 관리 열기",
|
||||
"cchange97": "그룹 가입 링크가 클립보드에 복사되었습니다."
|
||||
"cchange97": "그룹 가입 링크가 클립보드에 복사되었습니다.",
|
||||
"cchange98": "파일을 업로드하는 중입니다. 몇 분 정도 걸릴 수 있습니다.",
|
||||
"cchange99": "파일을 삭제하는 중입니다. 최대 1분이 걸릴 수 있습니다.",
|
||||
"cchange100": "파일 크기가 125MB를 초과합니다",
|
||||
"cchange101": "정말 이 파일을 삭제하시겠습니까?",
|
||||
"cchange102": "이 파일은 삭제되었습니다",
|
||||
"cchange103": "gif를 업로드하는 중입니다. 최대 1분이 걸릴 수 있습니다.",
|
||||
"cchange104": "gif를 삭제하는 중입니다. 최대 1분이 걸릴 수 있습니다.",
|
||||
"cchange105": "파일 크기가 3MB를 초과합니다",
|
||||
"cchange106": "이 GIF를 삭제하시겠습니까?",
|
||||
"cchange107": "이 GIF는 삭제되었습니다",
|
||||
"cchange108": "다운로드는 백그라운드에서 계속됩니다. 동시에 하나의 Q-Chat 파일만 다운로드할 수 있습니다.",
|
||||
"cchange109": "파일 형식이 지원되지 않습니다!",
|
||||
"cchange110": "이미지 업로드",
|
||||
"cchange111": "GIF 업로드",
|
||||
"cchange112": "첨부 파일 업로드",
|
||||
"cchange113": "파일 업로드",
|
||||
"cchange114": "뭔가를 쓰세요 ..."
|
||||
},
|
||||
"welcomepage": {
|
||||
"wcchange1": "Q-Chat에 오신 것을 환영합니다.",
|
||||
@ -944,7 +965,19 @@
|
||||
"gchange56": "검색할 그룹 이름",
|
||||
"gchange57": "비공개 그룹 이름을 찾을 수 없음",
|
||||
"gchange58": "그룹 이름이 정확히 일치해야 합니다.",
|
||||
"gchange59": "티커 표시/숨기기"
|
||||
"gchange59": "티커 표시/숨기기",
|
||||
"gchange60": "그룹 이름을 입력해 주세요.",
|
||||
"gchange61": "설명을 입력하십시오.",
|
||||
"gchange62": "이 그룹을 업데이트하시겠습니까?",
|
||||
"gchange63": "CONFIRM을 누르면 UPDATE_GROUP 요청이 전송됩니다!",
|
||||
"gchange64": "현재 소유자/새 소유자",
|
||||
"gchange65": "이 주소를 그룹의 소유권 이전으로 바꾸십시오!",
|
||||
"gchange66": "잘못된 소유자/새 소유자 주소",
|
||||
"gchange67": "그룹 업데이트 성공!",
|
||||
"gchange68": "그룹 아바타 설정",
|
||||
"gchange69": "메시지",
|
||||
"gchange70": "지난 24시간 동안 메시지가 없습니다!",
|
||||
"gchange71": "당신은 이미 이 그룹에 가입했습니다!"
|
||||
},
|
||||
"puzzlepage": {
|
||||
"pchange1": "퍼즐",
|
||||
@ -1287,5 +1320,104 @@
|
||||
"tour20": "뒤에 차단되어 있습니다. 동기화 프로세스 속도를 높이기 위해 새로 고치시겠습니까(부트스트랩)?",
|
||||
"tour21": "남은 블록입니다.",
|
||||
"tour22": "새로 고침(부트스트랩)이 요청되었습니다. 잠시 기다려 주십시오."
|
||||
},
|
||||
"chatsettings": {
|
||||
"cs1": "채팅 설정",
|
||||
"cs2": "일반 채팅 설정",
|
||||
"cs3": "채팅 메시지 타임스탬프",
|
||||
"cs4": "옛날",
|
||||
"cs5": "현지 시간",
|
||||
"cs6": "채팅 메시지 글꼴 크기",
|
||||
"cs7": "표준",
|
||||
"cs8": "px"
|
||||
},
|
||||
"modals": {
|
||||
"mpchange1": "요청된 모든 AT는 동일한 외국 블록체인이어야 합니다.",
|
||||
"mpchange2": "이 애플리케이션에 매수 주문을 수행할 권한을 부여하시겠습니까?",
|
||||
"mpchange3": "매수 주문이 성공적으로 생성되었습니다.",
|
||||
"mpchange4": "매수 주문이 이행될 때까지 기다려 주십시오.",
|
||||
"mpchange5": "매수 주문을 제출하지 못했습니다.",
|
||||
"mpchange6": "이 애플리케이션에 매도 주문을 수행할 권한을 부여하시겠습니까?",
|
||||
"mpchange7": "대상:",
|
||||
"mpchange8": "매도 주문을 성공적으로 생성했습니다.",
|
||||
"mpchange9": "매도 주문이 등록될 때까지 기다려 주십시오.",
|
||||
"mpchange10": "매도 주문을 제출하지 못했습니다.",
|
||||
"mpchange11": "AT 정보를 찾을 수 없습니다.",
|
||||
"mpchange12": "이 애플리케이션에 매도 주문 취소 권한을 부여하시겠습니까?",
|
||||
"mpchange13": "매도 주문을 성공적으로 취소했습니다.",
|
||||
"mpchange14": "거래 취소가 완료될 때까지 기다려 주세요.",
|
||||
"mpchange15": "판매 주문을 취소하지 못했습니다.",
|
||||
"mpchange16": "목록을 검색하는 중 오류가 발생했습니다.",
|
||||
"mpchange17": "목록에 추가하는 중 오류가 발생했습니다.",
|
||||
"mpchange18": "목록 삭제 중 오류가 발생했습니다.",
|
||||
"mpchange19": "친구 목록을 검색하는 중 오류가 발생했습니다.",
|
||||
"mpchange20": "개수가 숫자가 아닙니다.",
|
||||
"mpchange21": "개수가 없습니다.",
|
||||
"mpchange22": "제출된 데이터나 파일이 없습니다.",
|
||||
"mpchange23": "데이터 암호화에는 공개 키가 필요합니다.",
|
||||
"mpchange24": "암호화된 데이터만 개인 서비스에 들어갈 수 있습니다.",
|
||||
"mpchange25": "암호화에 실패하여 업로드에 실패했습니다.",
|
||||
"mpchange26": "업로드에 실패했습니다.",
|
||||
"mpchange27": "잘못된 데이터입니다.",
|
||||
"mpchange28": "아니요 게시할 리소스입니다.",
|
||||
"mpchange29": "알 수 없는 오류입니다.",
|
||||
"mpchange30": "투표를 찾을 수 없습니다.",
|
||||
"mpchange31": "투표에 투표하지 못했습니다.",
|
||||
"mpchange32": "투표를 만들지 못했습니다.",
|
||||
"mpchange33": "qortal 링크를 입력하세요 - qortal://...",
|
||||
"mpchange34": "잘못된 qortal 링크입니다.",
|
||||
"mpchange35": "알림을 푸시하는 중 오류가 발생했습니다.",
|
||||
"mpchange36": "메시지를 보낼 수 없습니다.",
|
||||
"mpchange37": "체인에 공개 키가 없으므로 이 사용자에게 암호화된 메시지를 보낼 수 없습니다.",
|
||||
"mpchange38": "요청을 이행할 수 없습니다.",
|
||||
"mpchange39": "그룹을 찾을 수 없습니다.",
|
||||
"mpchange40": "이 애플리케이션에 그룹 가입 요청을 수행할 수 있는 권한을 부여하시겠습니까?",
|
||||
"mpchange41": "그룹 이름:",
|
||||
"mpchange42": "그룹 ID:",
|
||||
"mpchange43": "그룹 가입 요청을 성공적으로 생성했습니다.",
|
||||
"mpchange44": "그룹에 가입하지 못했습니다.",
|
||||
"mpchange45": "MIME 유형을 파생할 수 없습니다.",
|
||||
"mpchange46": "파일 확장자를 파생할 수 없습니다.",
|
||||
"mpchange47": "사용자가 다운로드를 거부했습니다.",
|
||||
"mpchange48": "다운로드를 시작하지 못했습니다.",
|
||||
"mpchange49": "AT를 배포하지 못했습니다.",
|
||||
"mpchange50": "사용자에게 프로필이 없습니다.",
|
||||
"mpchange51": "요청한 데이터를 찾을 수 없습니다.",
|
||||
"mpchange52": "프로필 데이터를 가져오지 못했습니다.",
|
||||
"mpchange53": "속성을 설정하지 못했습니다.",
|
||||
"mpchange54": "프로필을 열지 못했습니다.",
|
||||
"mpchange55": "서버 정보를 검색하는 중 오류가 발생했습니다.",
|
||||
"mpchange56": " tx 활동 요약.",
|
||||
"mpchange57": "외국 수수료 가져오기 오류.",
|
||||
"mpchange58": "외국 수수료 업데이트 오류.",
|
||||
"mpchange59": "서버 연결 기록 가져오기 오류.",
|
||||
"mpchange60": "현재 서버 설정 오류.",
|
||||
"mpchange61": "서버 추가 오류.",
|
||||
"mpchange62": "서버 제거 오류.",
|
||||
"mpchange63": "요약 검색 오류.",
|
||||
"mpchange64": "거래 디코딩 실패.",
|
||||
"mpchange65": "이 애플리케이션에 거래 서명 및 처리 권한 부여?",
|
||||
"mpchange66": "이 애플리케이션에 거래 서명 권한 부여?",
|
||||
"mpchange67": "수락하기 전에 거래를 주의 깊게 읽어보세요.",
|
||||
"mpchange68": "거래 유형:",
|
||||
"mpchange69": "TX 데이터:",
|
||||
"mpchange70": "거래 처리가 요청되지 않았습니다.",
|
||||
"mpchange71": "서명된 바이트는 다음과 같습니다. ",
|
||||
"mpchange72": "거래가 서명되고 성공적으로 처리되었습니다.",
|
||||
"mpchange73": "거래를 처리할 수 없습니다.",
|
||||
"mpchange74": "QORT 잔액을 가져오는 데 실패했습니다. 다시 시도하세요!",
|
||||
"mpchange75": "코인을 보낼 수 없습니다.",
|
||||
"mpchange76": "BTC 잔액을 가져오는 데 실패했습니다. 다시 시도하세요!",
|
||||
"mpchange77": "LTC 잔액을 가져오는 데 실패했습니다. 다시 시도하세요!",
|
||||
"mpchange78": "DOGE 잔액을 가져오는 데 실패했습니다. 다시 시도하세요!",
|
||||
"mpchange79": "DGB 잔액을 가져오는 데 실패했습니다. 다시 시도하세요!",
|
||||
"mpchange80": "RVN 잔액을 가져오는 데 실패했습니다. 다시 시도하세요!",
|
||||
"mpchange81": "ARRR 잔액을 가져오는 데 실패했습니다. 다시 시도하세요!",
|
||||
"mpchange82": "누락된 필드",
|
||||
"mpchange83": "거부됨",
|
||||
"mpchange84": "실패",
|
||||
"mpchange85": "성공",
|
||||
"mpchange86": "항상 지갑 잔액을 자동으로 가져오도록 허용",
|
||||
"mpchange87": "그룹 ID를 입력하세요"
|
||||
}
|
||||
}
|
||||
|
@ -8,6 +8,7 @@
|
||||
"dutch": "Nederlands",
|
||||
"english": "Engels",
|
||||
"estonian": "Estisch",
|
||||
"finnish": "Fins",
|
||||
"french": "Frans",
|
||||
"german": "Duits",
|
||||
"hindi": "Hindi",
|
||||
@ -79,7 +80,7 @@
|
||||
"tm32": "Dit account volgt geen enkele gebruiker",
|
||||
"tm33": "Teb-menu importeren",
|
||||
"tm34": "Tab-menu exporteren",
|
||||
"tm35": "Het huidige Tab-menu wordt verwijderd, en vervangen door het opgeladen Tab-menu.",
|
||||
"tm35": "Uw bestaande tab-menu wordt verwijderd en ingesteld op het geïmporteerde tab-menu.",
|
||||
"tm36": "Tab-menu werd opgeladen",
|
||||
"tm37": "Tab-Menü werd opgeslagen als",
|
||||
"tm38": "DEV-MODUS",
|
||||
@ -97,43 +98,43 @@
|
||||
"youraccounts": "Uw accounts",
|
||||
"clickto": "Klik op uw account om aan te melden",
|
||||
"needcreate": "U moet een account aanmaken of bewaren, alvorens U kan aanmelden!",
|
||||
"upload": "Qortal-Backup opladen",
|
||||
"upload": "Importeer uw Qortal-backup-bestand",
|
||||
"howlogin": "Hoe wenst U aan te melden?",
|
||||
"seed": "Memo-zin",
|
||||
"seedphrase": "memo-zin",
|
||||
"saved": "Opgeslagen account",
|
||||
"qora": "Qora adres",
|
||||
"backup": "Backup van Qortal portefeuille",
|
||||
"decrypt": "Backup ontcijferen",
|
||||
"qora": "QORA-adres-memo",
|
||||
"backup": "Qortal-backup-bestand",
|
||||
"decrypt": "Backup-bestand decoderen",
|
||||
"save": "Bewaren in deze browser.",
|
||||
"prepare": "Voorbereiding van uw account",
|
||||
"areyousure": "Bent U zeker dat U deze portefeuille wenst te verwijderen uit de bewaarde portefeuilles?",
|
||||
"areyousure": "Weet U zeker dat U deze portefeuille uit de opgeslagen portefeuilles wilt verwijderen? (Als het wordt verwijderd en er geen backup-bestand bestaat, kan het account voor altijd verloren gaan! Zorg ervoor dat U over een backup-bestand beschikt voor U dit doet!)",
|
||||
"error1": "De backup moet een geldig JSON formaat zijn",
|
||||
"error2": "Geen aanmeld-optie geselecteerd",
|
||||
"createwelcome": "Welkom bij Qortal. U zal merken dat het vergelijkbaar is met een RPG-spel, waarbij U als 'minter' (als U 'minter' wil worden) in het Qortal-netwerk kan opklimmen naar volgende levels, waardoor U meer QORT-blokbeloning krijgt en meer invloed zal krijgen in het netwerk in termen van stemmen bij beslissingen voor het platform.",
|
||||
"createwelcome": "Welkom bij Qortal! Uw gedecentraliseerde digitale toekomst wacht op jou! Binnen Qortal bent U de enige die toegang heeft tot uw gegevens. Qortal biedt de laagdrempelige infrastructuur van een nieuwe, en volledig door de gebruiker bestuurde digitale wereld.",
|
||||
"createa": "Een willekeurige",
|
||||
"click": "Klik hier om uw memo-zin zichtbaar te maken",
|
||||
"confirmpass": "Wachtwoord bevestigen",
|
||||
"willbe": "zal in achtergrond gegenereerd worden. Deze wordt gebruikt als jouw private-sleutel-generator voor jouw blockchain-account in Qortal.",
|
||||
"willbe": "wordt willekeurig op de achtergrond gegenereerd. Als U de memo-zin wilt BEKIJKEN, klikt U op de gemarkeerde 'memo-zin' in deze tekst. Dit wordt gebruikt als privé-sleutel-generator voor uw blockchain-account in Qortal. Uit veiligheidsoverwegingen worden memo-zinnen niet weergegeven, tenzij dit specifiek is gekozen.",
|
||||
"clicknext": "Klik hieronder op VERDER om jouw Qortal-account aan te maken.",
|
||||
"ready": "Uw account is nu klaar om aan te maken. Het zal bewaard worden in deze browser. Heb je dat liever niet, dan kan je die optie hieronder deactivieren. Je kan je daarna met jouw nieuwe account aanmelden (na het afmelden), met behulp van de backup van je portefeuille, die je MOET DOWNLOADEN van zodra je account aangemaakt werd.",
|
||||
"ready": "Uw account is nu klaar om te worden aangemaakt. Het wordt standaard in gecodeerde vorm opgeslagen binnen deze kopie van de Qortal-gebruikersinterface. Als U niet wilt dat uw nieuwe account hierin wordt opgeslagen, kunt U dit hieronder uitschakelen. U kunt nog steeds inloggen met uw nieuwe account (na het uitloggen), met behulp van uw Qortal-backup-bestand, dat U daarom MOET opslaan bij het aanmaken van uw account.",
|
||||
"welmessage": "Welkom bij Qortal",
|
||||
"pleaseenter": "Geef een wachtwoord in!",
|
||||
"notmatch": "De wachtwoorden komen niet overeen!",
|
||||
"notmatch": "Oeps! Wachtwoorden komen niet overeen! Probeer het nog eens!",
|
||||
"lessthen8": "Uw wachtwoord is minder dan 5 karakters! Dat is niet aan te raden, maar je bent vrij om deze waarschuwing negeren.",
|
||||
"lessthen8-2": "Uw wachtwoord is minder dan 5 karakters!",
|
||||
"entername": "Gelieve een naam in te geven!",
|
||||
"downloaded": "De backup van uw portefeuille werd gedownload!",
|
||||
"entername": "Geef een weergavenaam op!",
|
||||
"downloaded": "Uw Qortal-backup-bestand is opgeslagen!",
|
||||
"loading": "Bezig met laden. Even geduld...",
|
||||
"createdseed": "De memo-zin voor uw account",
|
||||
"createdseed": "De memo-zin voor uw account:",
|
||||
"saveseed": "Memo-zin bewaren",
|
||||
"savein": "In de browser bewaren",
|
||||
"backup2": "Dit bestand is de ENIGE manier om uw account te openen wanneer de browser/app op de computer uw account niet bewaard heeft. ZORG ERVOOR DAT JE DIT BESTAND OP MEERDERE PLAATSEN BEWAARD. Dit bestand werd uitermate veilig versleuteld op basis van het wachtwoord uit de vorige stap, wat de enige manier is om het te ontgrendelen. U kan dit bestand dus overal bewaren. Zorg zéker dat je dit bestand op verschillende plaatsen bewaard.",
|
||||
"savewallet": "Bewaar het backup-bestand van de portefeuille",
|
||||
"savein": "Bewaar in deze gebruikersinterface",
|
||||
"backup2": "Dit bestand is de ENIGE (standaard) manier om toegang te krijgen tot uw account, tenzij het is opgeslagen in de gebruikersinterface. ZORG ERVOOR DAT U OP MEERDERE PLAATSEN EEN BACKUP VAN DIT BESTAND BEWAARD. Dit bestand wordt uitermate veilig gecodeerd en gedecodeerd met het wachtwoord dat U in de vorige stap heeft aangemaakt. U kan dit bestand dus overal bewaren, en bij voorkeur zelfs op meerdere locaties.",
|
||||
"savewallet": "Sla het Qortal-backup-bestand op",
|
||||
"created1": "Uw account werd aangemaakt",
|
||||
"created2": " en werd in deze browser bewaard.",
|
||||
"downloadbackup": "Download het backup-bestand van de portefeuille",
|
||||
"passwordhint": "Uw wachtwoord moet minstens 5 karakters lang zijn.",
|
||||
"created2": " en werd in gecodeerde vorm opgeslagen in deze gebruikersinterface.",
|
||||
"downloadbackup": "Sla het Qortal-backup-bestand op",
|
||||
"passwordhint": "Het versleutelingswachtwoord moet minimaal 5 tekens lang zijn.",
|
||||
"lp1": "Scherm vergrendelen",
|
||||
"lp2": "Er werd nog geen wachtwoord voor schermvergrendeling vastgelegd!",
|
||||
"lp3": "Gelieve dat nu te doen",
|
||||
@ -162,8 +163,8 @@
|
||||
"confirmlogout": "Wenst U echt af te melden?"
|
||||
},
|
||||
"fragfile": {
|
||||
"selectfile": "Bestand selecteren",
|
||||
"dragfile": "Sleep je backup-bestand naar hier"
|
||||
"selectfile": "Selecteer het Qortal-backup-bestand",
|
||||
"dragfile": "Sleep uw Qortal-backup-bestand naar hier, of klik hier om het te selecteren"
|
||||
},
|
||||
"settings": {
|
||||
"generalinfo": "Algemene account-informatie",
|
||||
@ -180,9 +181,8 @@
|
||||
"notifications": "Waarschuwingen",
|
||||
"accountsecurity": "Account-beveiliging",
|
||||
"password": "Wachtwoord",
|
||||
"download": "Download backup-bestand",
|
||||
"choose": "Kies een wachtwoord om het backup-bestand te versleutelen. (Dit kan hetzelfde zijn als bij aanmelding, of een ander)",
|
||||
"block": "Blokkeer waarschuwingen (Komt binnenkort...)",
|
||||
"download": "Qortal-backup-bestand exporteren/opslaan",
|
||||
"choose": "Kies een wachtwoord om uw Qortal-backup-bestand te versleutelen. (Dit kan hetzelfde wachtwoord zijn als waarmee U bent ingelogd, of een ander.)",
|
||||
"playsound": "Geluid afspelen",
|
||||
"shownotifications": "Toon waarschuwingen",
|
||||
"nodeurl": "Adres van de node",
|
||||
@ -203,17 +203,18 @@
|
||||
"snack5": "Lijst van nodes werd geïmporteerd",
|
||||
"snack6": "Manueel toegevoegde nodes werd verwijderd",
|
||||
"snack7": "Manueel toegevoegde nodes werd aangepast",
|
||||
"exp1": "Export/download jouw PRIVÉ hoofdsleutel",
|
||||
"exp1": "Master-privé-sleutel exporteren (xpriv)",
|
||||
"exp2": "Export/download jouw hoofdsleutel",
|
||||
"exp3": "Exporteren",
|
||||
"exp4": "Selecteer een portefeuille om de PRIVÉ hoofdsleutel te bewaren.",
|
||||
"core": "Core-instellingen starten",
|
||||
"core": "Core automatisch starten",
|
||||
"qappNotification1": "Q-App waarschuwingen",
|
||||
"selectnode": "Gelieve een optie te selecteren",
|
||||
"arrr1": "ARRR portefeuille is niet geïnitialiseerd!",
|
||||
"arrr2": "Ga naar de portefeuille-tab en initialiseer eerst jouw ARRR portefeuille.",
|
||||
"arrr2": "Ga naar de portefeuille-tab en open de ARRR-portefeuille om deze te initialiseren.",
|
||||
"arrr3": "De 'core' heeft een update nodig!",
|
||||
"arrr4": "Om de privé-sleutel van jouw ARRR portefeuille te kunnen bewaren, moet je voor de 'core' eerst een update installeren!"
|
||||
"arrr4": "Om de privé-sleutel van uw ARRR-portefeuille op te slaan, moet U eerst de Qortal Core updaten!",
|
||||
"sync_indicator": "Synchronisatie-indicator pop-up uitschakelen"
|
||||
},
|
||||
"appinfo": {
|
||||
"blockheight": "Blokhoogte",
|
||||
@ -247,7 +248,9 @@
|
||||
"balance": "Saldo",
|
||||
"balances": "SALDI VAN UW PORTEFEUILLES",
|
||||
"update": "SALDI VAN PORTEFEUILLES HEROPVRAGEN",
|
||||
"view": "Bekijken"
|
||||
"view": "Bekijken",
|
||||
"all": "Alle",
|
||||
"page": "Bladzijde"
|
||||
},
|
||||
"gifs": {
|
||||
"gchange1": "GIF-Explorer",
|
||||
@ -256,7 +259,7 @@
|
||||
"gchange4": "Geabonneerde collecties",
|
||||
"gchange5": "Jouw GIF-bestanden opladen",
|
||||
"gchange6": "Bestand moet .GIF zijn",
|
||||
"gchange7": "Collectie upladen",
|
||||
"gchange7": "Collectie opladen",
|
||||
"gchange8": "Naam van collectie is verplicht!",
|
||||
"gchange9": "Naam van collectie",
|
||||
"gchange10": "GIF-bestand werd opgeladen!",
|
||||
@ -282,15 +285,15 @@
|
||||
},
|
||||
"startminting": {
|
||||
"smchange1": "Minting-accounts kunnen niet opgehaald worden",
|
||||
"smchange2": "Sleutel kon niet verwijderd worden",
|
||||
"smchange3": "Mint-sleutel kon niet toegevoegd worden",
|
||||
"smchange2": "De Qortal-minting-sleutel kon niet verwijderd worden!",
|
||||
"smchange3": "Het is niet gelukt om de Qortal-minting-sleutel toe te wijzen. Als de sleutel net is aangemaakt, wacht dan een paar blokken en voeg opnieuw toe",
|
||||
"smchange4": "Sponsor-sleutel kon niet aangemaakt worden",
|
||||
"smchange5": "Relatie wordt aangemaakt",
|
||||
"smchange6": "Even wachten op confirmatie van de blockchain",
|
||||
"smchange7": "Relatie wordt afgewerkt",
|
||||
"smchange8": "Mint-sleutel wordt op node toegevoegd",
|
||||
"smchange9": "Klaar",
|
||||
"smchange10": "Een node mag maximum 2 mint-sleutels hebben, en U probeert 3 keys toe te wijzen; Ga eerst naar Node-beheer en verwijder de key die U niet aan deze node wenst toe te wijzen; Dank U!"
|
||||
"smchange10": "Per node zijn slechts 2 sleutels toegestaan. U probeert 3 sleutels toe te wijzen. Ga naar Node-beheer en verwijder eventuele onnodige sleutels; Dank U!"
|
||||
},
|
||||
"mintingpage": {
|
||||
"mchange1": "Algemene Minting-details",
|
||||
@ -465,7 +468,7 @@
|
||||
"rchange6": "Ontvanger",
|
||||
"rchange7": "Actie",
|
||||
"rchange8": "Type",
|
||||
"rchange9": "Level 1 - 4 kunnen een zelf-beloning aanmaken en Level 5 en hoger kunnen een belonings-deel toekennen!",
|
||||
"rchange9": "Level 0 - 4 kunnen een zelf-beloning aanmaken en Level 5 en hoger kunnen een belonings-deel toekennen!",
|
||||
"rchange10": "Publieke sleutel van de ontvanger",
|
||||
"rchange11": "Belonings-deel in procent",
|
||||
"rchange12": "Doe iets heerlijk",
|
||||
@ -506,7 +509,7 @@
|
||||
"nchange23": "Verkoopprijs",
|
||||
"nchange24": "Geen namen om te verkopen",
|
||||
"nchange25": "Te verkopen naam",
|
||||
"nchange26": "Bent U zeker dat U deze naam wenst te verkopen?",
|
||||
"nchange26": "Weet U zeker dat U deze naam wenst te verkopen? Als de naam wordt aangekocht door een andere account, kunnen de gegevens die onder deze naam zijn gepubliceerd, niet langer door U worden gewijzigd!",
|
||||
"nchange27": "Voor deze prijs in QORT",
|
||||
"nchange28": "Als je nu bevestigen kiest, dan wordt de verkoop-aanvraag verzonden!",
|
||||
"nchange29": "Te onderbreken naam-verkoop",
|
||||
@ -739,7 +742,8 @@
|
||||
"bchange51": "Vergeet niet te klikken op 'Profiel bijwerken' om de wijziging door te voeren.",
|
||||
"bchange52": "Geeft U deze applicatie toelating om uw portefeuille-info op te vragen?",
|
||||
"bchange53": "Maak de vriendenlijst automatisch opvraagbaar voor alle apps",
|
||||
"bchange54": "Geeft U deze applicatie toegang tot uw vriendenlijst?"
|
||||
"bchange54": "Geeft U deze applicatie toegang tot uw vriendenlijst?",
|
||||
"bchange55": "Geeft U deze applicatie toelating om dit commando te verzenden?"
|
||||
},
|
||||
"datapage": {
|
||||
"dchange1": "Data-beheer",
|
||||
@ -839,7 +843,7 @@
|
||||
"cchange74": "reageerden met",
|
||||
"cchange75": "Bijlage wordt opgeladen. Dit kan ongeveer een minuut duren.",
|
||||
"cchange76": "Bijlage wordt verwijderd. Dit kan ongeveer een minuut duren.",
|
||||
"cchange77": "Bijlage is groter dan 1 MB",
|
||||
"cchange77": "Bijlage is groter dan 10 MB",
|
||||
"cchange78": "Bent U zeker dat U deze afbeelding wenst te verwijderen?",
|
||||
"cchange79": "Bent U zeker dat U deze bijlage wenst te verwijderen?",
|
||||
"cchange80": "Deze afbeelding werd verwijderd",
|
||||
@ -852,7 +856,24 @@
|
||||
"cchange94": "opgeladen",
|
||||
"cchange95": "Enkel mijn gegevens",
|
||||
"cchange96": "Groep-beheer openen",
|
||||
"cchange97": "Link voor lid-aanvraag naar klembord gekopieerd"
|
||||
"cchange97": "Link voor lid-aanvraag naar klembord gekopieerd",
|
||||
"cchange98": "Bestand opladen. Dit kan enkele minuten duren.",
|
||||
"cchange99": "Bestand verwijderen. Dit kan maximaal één minuut duren.",
|
||||
"cchange100": "Bestandsgrootte is groter dan 125 MB",
|
||||
"cchange101": "Weet je zeker dat je dit bestand wil verwijderen?",
|
||||
"cchange102": "Dit bestand is verwijderd",
|
||||
"cchange103": "GIF opladen. Dit kan maximaal een minuut duren.",
|
||||
"cchange104": "GIF verwijderen. Dit kan maximaal een minuut duren.",
|
||||
"cchange105": "Bestandsgrootte is groter dan 3 MB",
|
||||
"cchange106": "Weet je zeker dat je deze GIF wil verwijderen?",
|
||||
"cchange107": "Deze GIF is verwijderd",
|
||||
"cchange108": "Het downloaden gaat door op de achtergrond. Er kan slechts ÉÉN Q-Chat-bestand tegelijkertijd worden gedownload.",
|
||||
"cchange109": "Bestandstype niet ondersteund!",
|
||||
"cchange110": "AFBEELDING OPLADEN",
|
||||
"cchange111": "GIF OPLADEN",
|
||||
"cchange112": "BIJLAGE OPLADEN",
|
||||
"cchange113": "BESTAND OPLADEN",
|
||||
"cchange114": "Schrijf iets ..."
|
||||
},
|
||||
"welcomepage": {
|
||||
"wcchange1": "Welkom bij Q-Chat",
|
||||
@ -944,7 +965,19 @@
|
||||
"gchange56": "Te zoeken groepsnaam",
|
||||
"gchange57": "Geen privé-groep gevonden voor opgegeven naam",
|
||||
"gchange58": "Hou er rekening mee dat de groepsnaam exact overeen moet komen.",
|
||||
"gchange59": "Ticker wel/niet tonen"
|
||||
"gchange59": "Ticker wel/niet tonen",
|
||||
"gchange60": "Voer de groepsnaam in",
|
||||
"gchange61": "Voer een beschrijving in",
|
||||
"gchange62": "Weet je zeker dat je deze groep wil UPDATEN?",
|
||||
"gchange63": "Bij confirmatie wordt het UPDATE_GROUP verzoek verzonden!",
|
||||
"gchange64": "Huidige eigenaar / nieuwe eigenaar",
|
||||
"gchange65": "Vervang dit adres enkel als U de EIGENDOM van de groep wenst OVER TE DRAGEN!",
|
||||
"gchange66": "Ongeldig adres van huidige of nieuwe eigenaar",
|
||||
"gchange67": "Groep UPDATE succesvol uitgevoerd!",
|
||||
"gchange68": "Groepsavatar instellen",
|
||||
"gchange69": "Berichten",
|
||||
"gchange70": "Geen berichten in de afgelopen 24 uur!",
|
||||
"gchange71": "Je bent al lid van deze groep!"
|
||||
},
|
||||
"puzzlepage": {
|
||||
"pchange1": "Puzzels",
|
||||
@ -1000,15 +1033,15 @@
|
||||
"nchange32": "Stop-aanvraag werd verzonden!",
|
||||
"nchange33": "Node herstarten",
|
||||
"nchange34": "Herstart-aanvraag werd verzonden!",
|
||||
"nchange35": "Startknooppunt",
|
||||
"nchange36": "Succesvol gestart knooppunt!",
|
||||
"nchange37": "Als u op Doorgaan klikt, wordt uw Qortal Core vernieuwd, wordt uw database verwijderd en downloadt u een nieuwe kopie van de database, genaamd bootstrapping.",
|
||||
"nchange38": "LTC-portemonnee repareren",
|
||||
"nchange39": "Hiermee worden LTC-portefeuilles gerepareerd die een saldo vertonen dat niet kan worden uitgegeven. Er moet een enkele transactie worden uitgevoerd op het Litecoin-netwerk, na bevestiging zal het portemonnee-saldo functioneel zijn en zal het probleem zich niet opnieuw voordoen.",
|
||||
"nchange35": "Start node",
|
||||
"nchange36": "Node succesvol opgestart!",
|
||||
"nchange37": "Als U op 'Doorgaan' klikt, wordt uw Qortal Core vernieuwd, de database verwijderd en vervangen door een nieuwe kopie van de database; Die noemen we 'bootstrapping' van de node.",
|
||||
"nchange38": "LTC-portefeuille herstellen",
|
||||
"nchange39": "Hiermee worden LTC-portefeuilles hersteld die een saldo vertonen dat niet kan worden uitgegeven. Er moet een transactie worden uitgevoerd op het Litecoin-netwerk, en na bevestiging zal het portefeuille-saldo terug functioneel zijn; Daarna zal het probleem zich niet opnieuw voordoen.",
|
||||
"nchange40": "Voor deze transactie worden kleine LTC-kosten in rekening gebracht. Doorgaan?",
|
||||
"nchange41": "Probeert te repareren. Even geduld a.u.b....",
|
||||
"nchange42": "LTC-portemonnee succesvol gerepareerd!",
|
||||
"nchange43": "Er is een fout opgetreden bij het repareren van de LTC-portemonnee. Probeer het opnieuw!"
|
||||
"nchange41": "Herstelling is bezig. Even geduld graag...",
|
||||
"nchange42": "LTC-portefeuille werd succesvol hersteld!",
|
||||
"nchange43": "Er is een fout opgetreden bij het herstellen van de LTC-portefeuille. Probeer het opnieuw!"
|
||||
},
|
||||
"transpage": {
|
||||
"tchange1": "Transactie-aanvraag",
|
||||
@ -1175,7 +1208,7 @@
|
||||
"inf7": "Informatie over automatische aankoop",
|
||||
"inf8": "Info over automatische aankoop sluiten",
|
||||
"inf9": "'Automatische aamkoop' is een functie waarmee je 'aankoop-orders' op het handelsportaal kan plaatsen. Die 'aankoop-orders' zijn enkel zichtbaar voor de persoon die ze plaatst. Het zijn geen 'publiek zichtbare orders' zoals de 'open-markt-verkoop-orders' en ze worden NIET op de Qortal blockchain bewaard. 'Automatische aankoop' is een UI-functie, die bij gevolg enkel werkt zolang de UI blijft draaien.",
|
||||
"inf10": "Om via 'Automatiche aankoop' een bestelling te plaatsen, klik je op 'auto-aankoop toevoegen' en vul je de velden in het dialoogje in. Geef het QORT-BEDRAG in dat je wenst te KOPEN, en de MAXIMUM PRIJS DIE JE ERVOOR WIL BETALEN. Zodra de bestelling actief is, zal 'Auto aankoop' QORT aankopen tot het opgegeven QORT-BEDRAG en daarbij maximum de door jou vastgelegde prijs, én beginnend bij de laagst aangeboden verkoop-prijs in het verkoop-orderboek.",
|
||||
"inf10": "Om via 'Automatiche aankoop' een bestelling te plaatsen, klikt U op de knop 'auto-aankoop toevoegen' en vult U het vakje in dat verschijnt. Voer het BEDRAG VAN QORT in dat U wilt KOPEN of het aantal LTC dat U wilt gebruiken, en de PRIJS waartoe U bereid bent te KOPEN. Zodra de bestelling actief is, koopt 'Automatische aankoop' TOT dat bedrag QORT voor U, tegen TOT de prijs die U instelt (beginnend bij de laagste bestelling en hogerop in het verkoop-orderboek).",
|
||||
"inf11": "Laat vervolgens de UI gewoon open staan, en de 'auto aankoop' functie doet de rest, volledig automatisch!",
|
||||
"inf12": "Je KAN ondertussen ook gewoon andere Qortal UI plugins gebruiken (Q-Chat, Portefeuille, etc), maar je mag DE UI NIET SLUITEN, als je wil dat 'Auto aankoop' functie blijft werken. De UI 'minimized' zetten (op de 'taskbar' of 'panel') mag wel. Zolang UI actief is, blijft de 'Auto aankoop' functie werken.",
|
||||
"inf13": "Automatisch aankopen",
|
||||
@ -1287,5 +1320,104 @@
|
||||
"tour20": "blokken achterstand. Wenst U te herladen ('bootstrap') om het synchronisatie-proces te versnellen?",
|
||||
"tour21": "blokken te gaan.",
|
||||
"tour22": "Herladen ('bootstrap') werd aangevraagd. Gelive te wachten."
|
||||
},
|
||||
"chatsettings": {
|
||||
"cs1": "Chatinstellingen",
|
||||
"cs2": "Algemene chatinstellingen",
|
||||
"cs3": "Tijdstip van chatbericht",
|
||||
"cs4": "Tijd geleden",
|
||||
"cs5": "Lokale tijd",
|
||||
"cs6": "Lettergrootte chatbericht",
|
||||
"cs7": "Standaard",
|
||||
"cs8": "px"
|
||||
},
|
||||
"modals": {
|
||||
"mpchange1": "Alle aangevraagde AT's moeten van dezelfde buitenlandse Blockchain zijn.",
|
||||
"mpchange2": "Geeft u deze applicatie toestemming om een kooporder uit te voeren?",
|
||||
"mpchange3": "Kooporder succesvol aangemaakt",
|
||||
"mpchange4": "Wacht tot kooporder is uitgevoerd",
|
||||
"mpchange5": "Kooporder mislukt.",
|
||||
"mpchange6": "Geeft u deze applicatie toestemming om een verkooporder uit te voeren?",
|
||||
"mpchange7": "Voor:",
|
||||
"mpchange8": "Verkooporder succesvol aangemaakt.",
|
||||
"mpchange9": "Wacht tot verkooporder is vermeld.",
|
||||
"mpchange10": "Verkooporder mislukt.",
|
||||
"mpchange11": "AT-info niet gevonden.",
|
||||
"mpchange12": "Geeft u deze applicatie toestemming om een verkooporder te annuleren?",
|
||||
"mpchange13": "Verkooporder succesvol geannuleerd.",
|
||||
"mpchange14": "Wacht tot de annulering van de transactie is voltooid.",
|
||||
"mpchange15": "Verkooporder kan niet worden geannuleerd.",
|
||||
"mpchange16": "Fout bij het ophalen van de lijst.",
|
||||
"mpchange17": "Fout bij het toevoegen aan de lijst.",
|
||||
"mpchange18": "Fout bij het verwijderen van de lijst.",
|
||||
"mpchange19": "Fout bij het ophalen van de vriendenlijst.",
|
||||
"mpchange20": "Aantal is geen getal.",
|
||||
"mpchange21": "Aantal ontbreekt.",
|
||||
"mpchange22": "Er zijn geen gegevens of bestanden verzonden.",
|
||||
"mpchange23": "Voor het versleutelen van gegevens zijn openbare sleutels nodig.",
|
||||
"mpchange24": "Alleen versleutelde gegevens kunnen naar privéservices gaan.",
|
||||
"mpchange25": "Upload mislukt vanwege mislukte versleuteling.",
|
||||
"mpchange26": "Upload mislukt.",
|
||||
"mpchange27": "Ongeldige gegevens.",
|
||||
"mpchange28": "Geen bronnen om te publiceren.",
|
||||
"mpchange29": "Onbekende fout.",
|
||||
"mpchange30": "Poll niet gevonden.",
|
||||
"mpchange31": "Kan niet stemmen op de poll.",
|
||||
"mpchange32": "Kan poll niet maken.",
|
||||
"mpchange33": "Voer een qortal-link in - qortal://...",
|
||||
"mpchange34": "Ongeldige qortal-link.",
|
||||
"mpchange35": "Fout bij pushen van melding.",
|
||||
"mpchange36": "Kan bericht niet verzenden.",
|
||||
"mpchange37": "Kan geen gecodeerd bericht verzenden naar deze gebruiker omdat deze geen openbare sleutel op de keten heeft.",
|
||||
"mpchange38": "Aanvraag kon niet worden uitgevoerd.",
|
||||
"mpchange39": "Groep niet gevonden.",
|
||||
"mpchange40": "Geeft u deze toepassing toestemming om een verzoek tot deelname aan een groep uit te voeren?",
|
||||
"mpchange41": "Groepsnaam:",
|
||||
"mpchange42": "Groeps-ID:",
|
||||
"mpchange43": "Aanvraag voor deelname aan groep succesvol aangemaakt.",
|
||||
"mpchange44": "Aanmelding voor groep mislukt.",
|
||||
"mpchange45": "Een mime-type kon niet worden afgeleid.",
|
||||
"mpchange46": "Een bestandsextensie kon niet worden afgeleid.",
|
||||
"mpchange47": "Gebruiker heeft de download geweigerd.",
|
||||
"mpchange48": "Downloaden mislukt.",
|
||||
"mpchange49": "AT implementeren mislukt.",
|
||||
"mpchange50": "Gebruiker heeft geen profiel.",
|
||||
"mpchange51": "Gevraagde gegevens kunnen niet worden gevonden.",
|
||||
"mpchange52": "Profielgegevens ophalen mislukt.",
|
||||
"mpchange53": "Eigenschap instellen mislukt.",
|
||||
"mpchange54": "Profiel openen mislukt.",
|
||||
"mpchange55": "Fout bij het ophalen van serverinfo.",
|
||||
"mpchange56": "Fout in tx-activiteitssamenvatting.",
|
||||
"mpchange57": "Fout bij ophalen buitenlandse vergoeding.",
|
||||
"mpchange58": "Fout bij bijwerken buitenlandse vergoeding.",
|
||||
"mpchange59": "Fout bij ophalen serververbindingsgeschiedenis.",
|
||||
"mpchange60": "Fout bij instellen huidige server.",
|
||||
"mpchange61": "Fout bij toevoegen server.",
|
||||
"mpchange62": "Fout bij verwijderen server.",
|
||||
"mpchange63": "Fout bij ophalen samenvatting.",
|
||||
"mpchange64": "Decoderen transactie mislukt.",
|
||||
"mpchange65": "Geeft u deze toepassing toestemming om een transactie te ondertekenen en te verwerken?",
|
||||
"mpchange66": "Geeft u deze toepassing toestemming om een transactie te ondertekenen?",
|
||||
"mpchange67": "Lees de transactie zorgvuldig door voordat u deze accepteert.",
|
||||
"mpchange68": "Tx type:",
|
||||
"mpchange69": "TX Data:",
|
||||
"mpchange70": "Transactie verwerken is niet aangevraagd.",
|
||||
"mpchange71": "Getekende bytes zijn:",
|
||||
"mpchange72": "Transactie ondertekend en verwerkt.",
|
||||
"mpchange73": "Transactie kon niet worden verwerkt.",
|
||||
"mpchange74": "QORT-saldo ophalen mislukt. Probeer het opnieuw!",
|
||||
"mpchange75": "Kon geen munt verzenden.",
|
||||
"mpchange76": "BTC-saldo ophalen mislukt. Probeer het opnieuw!",
|
||||
"mpchange77": "LTC-saldo ophalen mislukt. Probeer het opnieuw!",
|
||||
"mpchange78": "DOGE-saldo ophalen mislukt. Probeer het opnieuw!",
|
||||
"mpchange79": "DGB-saldo ophalen mislukt. Probeer het opnieuw!",
|
||||
"mpchange80": "RVN-saldo ophalen mislukt. Probeer het opnieuw!",
|
||||
"mpchange81": "Kan ARRR-saldo niet ophalen. Probeer het opnieuw!",
|
||||
"mpchange82": "ONTBREKENDE VELDEN",
|
||||
"mpchange83": "GEWEIGERD",
|
||||
"mpchange84": "MISLUKT",
|
||||
"mpchange85": "SUCCES",
|
||||
"mpchange86": "Altijd toestaan om automatisch saldo in portemonnee op te halen",
|
||||
"mpchange87": "Voer de groeps-ID in"
|
||||
}
|
||||
}
|
||||
|
@ -8,6 +8,7 @@
|
||||
"dutch": "Nederlandsk",
|
||||
"english": "Engelsk",
|
||||
"estonian": "Estisk",
|
||||
"finnish": "Finsk",
|
||||
"french": "Fransk",
|
||||
"german": "Tysk",
|
||||
"hindi": "Hindi",
|
||||
@ -79,7 +80,7 @@
|
||||
"tm32": "Denne kontoen følger ikke noen bruker",
|
||||
"tm33": "Importer meny",
|
||||
"tm34": "Eksporter fanemeny",
|
||||
"tm35": "Din eksisterende fanemeny vil bli slettet og satt til opplastet fanemeny.",
|
||||
"tm35": "Din eksisterende fanemeny vil bli slettet og satt til importert fanemeny.",
|
||||
"tm36": "Fanemenyen ble gjenopprettet",
|
||||
"tm37": "Fanemeny ble lagret som",
|
||||
"tm38": "DEV MODUS",
|
||||
@ -107,19 +108,19 @@
|
||||
"decrypt": "Dekrypter backup",
|
||||
"save": "Lagre i denne nettleseren.",
|
||||
"prepare": "Forbereder kontoen din.",
|
||||
"areyousure": "Er du sikker på at du vil fjerne denne lommeboken fra lagrede lommebøker?",
|
||||
"areyousure": "Er du sikker på at du vil fjerne denne kontoen fra lagrede kontoer? (Hvis fjernet og ingen sikkerhetskopifil eksisterer, kan kontoen gå tapt for alltid! Sørg for at du har en sikkerhetskopifil før du gjør dette!)",
|
||||
"error1": "Backupen må være gyldig JSON",
|
||||
"error2": "Måte for pålogging ikke valgt",
|
||||
"createwelcome": "Velkommen til Qortal. Likt et RPG-spill, vil du som minter i Qortal-nettverket (hvis du velger å bli det), ha sjansen til å øke din kontos nivå, noe som gir deg både mer av QORT-blokkbelønning, så vel som større innflytelse over nettverket når det gjelder å stemme på beslutninger for plattformen.",
|
||||
"createwelcome": "Velkommen til Qortal! Din desentraliserte digitale fremtid venter på deg! I Qortal har du og bare du full kontroll over dataene dine. Qortal gir infrastrukturen til en ny og fullt brukerstyrt digital verden.",
|
||||
"createa": "A",
|
||||
"click": "Klikk for å se minnefrase (seedphrase)",
|
||||
"confirmpass": "Bekreft passord",
|
||||
"willbe": "vil bli generert tilfeldig i bakgrunnen. Dette brukes som din private nøkkelgenerator for din blokkjedekonto i Qortal.",
|
||||
"willbe": "vil bli generert tilfeldig i bakgrunnen. Hvis du ønsker å SE seedfrasen, klikk på den uthevede 'seedfrasen' i denne teksten. Dette brukes som din private nøkkelgenerator for din blokkjedekonto i Qortal. For sikkerhet som standard, vises ikke seedfraser med mindre det er spesifikt valgt å være det.",
|
||||
"clicknext": "Opprett din Qortal-konto ved å klikke på NESTE nedenfor.",
|
||||
"ready": "Kontoen din er nå klar til å opprettes. Den vil bli lagret i denne nettleseren. Hvis du ikke vil at den nye kontoen din skal lagres i nettleseren, kan du fjerne avhukningen i boksen nedenfor. Du vil fortsatt kunne logge på med den nye kontoen din (etter å ha logget av), ved å bruke backup-filen for lommeboken som du MÅ laste ned når du har opprettet kontoen din.",
|
||||
"ready": "Kontoen din er nå klar til å opprettes. Den vil som standard lagres i denne kopien av Qortal-grensesnittet, i kryptert form. Hvis du ikke vil at den nye kontoen din skal lagres her, kan du fjerne merket i boksen nedenfor. Du vil fortsatt kunne logge på med den nye kontoen din (etter å ha logget ut), ved å bruke sikkerhetskopifilen for lommeboken som du MÅ laste ned når du har opprettet kontoen din.",
|
||||
"welmessage": "Velkommen til Qortal",
|
||||
"pleaseenter": "Skriv inn et passord!",
|
||||
"notmatch": "Passord matcher ikke!",
|
||||
"notmatch": "Oops! Passordene samsvarer ikke! Prøv igjen!",
|
||||
"lessthen8": "Passordet ditt er mindre enn 5 tegn! Dette anbefales ikke. Du kan velge å fortsette, og ignorere denne advarselen.",
|
||||
"lessthen8-2": "Passordet ditt er mindre enn 5 tegn!",
|
||||
"entername": "Skriv inn et navn!",
|
||||
@ -131,7 +132,7 @@
|
||||
"backup2": "Denne filen er den ENESTE måten å få tilgang på kontoen din i et system hvor den ikke lagres i appen/nettleseren. SØRG FOR Å LAGE BACKUP AV DENNE FILEN PÅ FLERE STEDER. Filen er kryptert veldig sikkert og dekrypteres med ditt lokale passord som du opprettet i forrige trinn. Du kan trygt lagre den hvor som helst, men sørg for å gjøre det på flere steder.",
|
||||
"savewallet": "Lagre backup-fil for lommebok",
|
||||
"created1": "Kontoen din er nå opprettet",
|
||||
"created2": " og vil bli lagret i denne nettleseren.",
|
||||
"created2": " og lagret i denne UI i kryptert form.",
|
||||
"downloadbackup": "Last ned backup-fil for lommebok",
|
||||
"passwordhint": "Et passord må være på minst 5 tegn.",
|
||||
"lp1": "Lås skjerm",
|
||||
@ -162,8 +163,8 @@
|
||||
"confirmlogout": "Er du sikker på at du vil logge av?"
|
||||
},
|
||||
"fragfile": {
|
||||
"selectfile": "Velg fil",
|
||||
"dragfile": "Dra og slipp backup her"
|
||||
"selectfile": "Velg sikkerhetskopifil",
|
||||
"dragfile": "Dra og slipp eller klikk her for å velge sikkerhetskopifil"
|
||||
},
|
||||
"settings": {
|
||||
"generalinfo": "Generell kontoinformasjon",
|
||||
@ -182,7 +183,6 @@
|
||||
"password": "Passord",
|
||||
"download": "Last ned backup-fil",
|
||||
"choose": "Velg et passord for å kryptere din backup med. (Dette kan være det samme som du logget på med, eller et annet)",
|
||||
"block": "Blokkvarsler (Kommer snart...)",
|
||||
"playsound": "Spill av lyd",
|
||||
"shownotifications": "Vis varsler",
|
||||
"nodeurl": "Node-URL",
|
||||
@ -203,17 +203,18 @@
|
||||
"snack5": "Noder ble importert",
|
||||
"snack6": "Tilpasset node er fjernet",
|
||||
"snack7": "Redigert tilpasset node",
|
||||
"exp1": "Eksporter privat hovednøkkel",
|
||||
"exp1": "Eksporter privat hovednøkkel (xpriv)",
|
||||
"exp2": "Eksporter hovednøkkel",
|
||||
"exp3": "Eksporter",
|
||||
"exp4": "Velg en lommebok for å sikkerhetskopiere den private hovednøkkelen.",
|
||||
"core": "Start kjerneinnstillinger",
|
||||
"core": "Kjerneinnstillinger for automatisk start",
|
||||
"qappNotification1": "Q-App varsler",
|
||||
"selectnode": "Vennligst velg et alternativ",
|
||||
"arrr1": "ARRR-lommebok ikke initialisert !",
|
||||
"arrr2": "Vennligst gå til lommebok-fanen og initialiser arrr-lommeboken først.",
|
||||
"arrr2": "Gå til lommebok-fanen og få tilgang til ARRR-lommeboken for å initialisere lommeboken først.",
|
||||
"arrr3": "Trenger kjerneoppdatering!",
|
||||
"arrr4": "For å lagre den private nøkkelen til arrr-lommeboken din trenger du en kjerneoppdatering først!"
|
||||
"arrr4": "For å lagre den private nøkkelen til ARRR-lommeboken din må du først oppdatere Qortal Core!",
|
||||
"sync_indicator": "Deaktiver popup for synkroniseringsindikator"
|
||||
},
|
||||
"appinfo": {
|
||||
"blockheight": "Blokkhøyde",
|
||||
@ -247,7 +248,9 @@
|
||||
"balance": "Saldo",
|
||||
"balances": "DIN WALLET-SALDO",
|
||||
"update": "OPPDATERT WALLET-SALDOER",
|
||||
"view": "Utsikt"
|
||||
"view": "Utsikt",
|
||||
"all": "Alle",
|
||||
"page": "Side"
|
||||
},
|
||||
"gifs": {
|
||||
"gchange1": "Gif Explorer",
|
||||
@ -283,7 +286,7 @@
|
||||
"startminting": {
|
||||
"smchange1": "Kan ikke hente myntingkontoer",
|
||||
"smchange2": "Kunne ikke fjerne nøkkelen",
|
||||
"smchange3": "Kunne ikke legge til myntnøkkel",
|
||||
"smchange3": "Kunne ikke legge til myntnøkkel, hvis nøkkelen nettopp ble opprettet, prøv å vente noen blokker og legg til på nytt.",
|
||||
"smchange4": "Kan ikke opprette sponsornøkkel",
|
||||
"smchange5": "Skaper forhold",
|
||||
"smchange6": "Venter på bekreftelse på blockchain",
|
||||
@ -465,7 +468,7 @@
|
||||
"rchange6": "Mottaker",
|
||||
"rchange7": "Handling",
|
||||
"rchange8": "Type",
|
||||
"rchange9": "Nivå 1 - 4 kan opprette en selvdel og nivå 5 eller høyere kan opprette en belønningsdel!",
|
||||
"rchange9": "Nivå 0 - 4 kan opprette en selvdel og nivå 5 eller høyere kan opprette en belønningsdel!",
|
||||
"rchange10": "Mottaker offentlig nøkkel",
|
||||
"rchange11": "Belønningsdel prosent",
|
||||
"rchange12": "Gjøre noe nydelig",
|
||||
@ -506,7 +509,7 @@
|
||||
"nchange23": "Selgspris",
|
||||
"nchange24": "Ingen navn å selge",
|
||||
"nchange25": "Navn å selge",
|
||||
"nchange26": "Er du sikker på å selge dette navnet?",
|
||||
"nchange26": "Er du sikker på å selge dette navnet? Hvis navnet er kjøpt av en annen konto, vil alle data publisert av den være utenfor din kontroll!",
|
||||
"nchange27": "For denne prisen i QORT",
|
||||
"nchange28": "Når du trykker bekrefte, vil forespørselen om salgsnavn bli sendt!",
|
||||
"nchange29": "Navn som skal avbrytes",
|
||||
@ -739,7 +742,8 @@
|
||||
"bchange51": "For å sende inn endringene, ikke glem å klikke på 'Oppdater profil'",
|
||||
"bchange52": "Gir du dette programmet tillatelse til å få lommebokinformasjon?",
|
||||
"bchange53": "La alltid vennelisten din hentes automatisk av alle apper",
|
||||
"bchange54": "Gir du dette programmet tillatelse til å få tilgang til vennelisten din?"
|
||||
"bchange54": "Gir du dette programmet tillatelse til å få tilgang til vennelisten din?",
|
||||
"bchange55": "Gir du denne applikasjonen tillatelse til å sende denne kommandoen?"
|
||||
},
|
||||
"datapage": {
|
||||
"dchange1": "Data-administrasjon",
|
||||
@ -839,7 +843,7 @@
|
||||
"cchange74": "reagerte med",
|
||||
"cchange75": "Laster opp vedlegg. Dette kan ta opptil ett minutt.",
|
||||
"cchange76": "Sletter vedlegg. Dette kan ta opptil ett minutt.",
|
||||
"cchange77": "Vedleggsstørrelsen overstiger 1 MB",
|
||||
"cchange77": "Vedleggsstørrelsen overstiger 10 MB",
|
||||
"cchange78": "Er du sikker på at du vil slette dette bildet?",
|
||||
"cchange79": "Er du sikker på at du vil slette dette vedlegget?",
|
||||
"cchange80": "Dette bildet har blitt slettet",
|
||||
@ -852,7 +856,24 @@
|
||||
"cchange94": "lastet",
|
||||
"cchange95": "Kun mine ressurser",
|
||||
"cchange96": "Åpne gruppeadministrasjon",
|
||||
"cchange97": "Bli med i gruppekoblingen kopiert til utklippstavlen"
|
||||
"cchange97": "Bli med i gruppekoblingen kopiert til utklippstavlen",
|
||||
"cchange98": "Laster opp fil. Dette kan ta noen minutter.",
|
||||
"cchange99": "Sletter fil. Dette kan ta opptil ett minutt.",
|
||||
"cchange100": "Filstørrelse overstiger 125 MB",
|
||||
"cchange101": "Er du sikker på at du vil slette denne filen?",
|
||||
"cchange102": "Denne filen har blitt slettet",
|
||||
"cchange103": "Laster opp gif. Dette kan ta opptil ett minutt.",
|
||||
"cchange104": "Sletter gif. Dette kan ta opptil ett minutt.",
|
||||
"cchange105": "Filstørrelsen overstiger 3 MB",
|
||||
"cchange106": "Er du sikker på at du vil slette denne gif-filen?",
|
||||
"cchange107": "Denne gif-filen har blitt slettet",
|
||||
"cchange108": "Nedlastingen fortsetter i bakgrunnen, kun EN Q-Chat-fil kan lastes ned samtidig.",
|
||||
"cchange109": "Filtype støttes ikke!",
|
||||
"cchange110": "OPPLAST BILDE",
|
||||
"cchange111": "LAST OPP GIF",
|
||||
"cchange112": "LAST OPP VEDLEGG",
|
||||
"cchange113": "LAST OPP FIL",
|
||||
"cchange114": "Skriv noe ..."
|
||||
},
|
||||
"welcomepage": {
|
||||
"wcchange1": "Velkommen til Q-Chat",
|
||||
@ -944,7 +965,19 @@
|
||||
"gchange56": "Gruppenavn å søke",
|
||||
"gchange57": "Privat gruppenavn ikke funnet",
|
||||
"gchange58": "Merk at gruppenavnet må samsvare nøyaktig.",
|
||||
"gchange59": "Vis / Skjul Ticker"
|
||||
"gchange59": "Vis / Skjul Ticker",
|
||||
"gchange60": "Vennligst skriv inn gruppenavn",
|
||||
"gchange61": "Vennligst skriv inn beskrivelse",
|
||||
"gchange62": "Er du sikker på å oppdatere denne gruppen?",
|
||||
"gchange63": "Når du trykker på BEKREFT, vil den UPDATE_GROUP forespørselen bli sendt!",
|
||||
"gchange64": "Nåværende eier / ny eier",
|
||||
"gchange65": "Erstatt denne adressen til OVERFØR EIERSKAP av gruppen!",
|
||||
"gchange66": "Ugyldig eier / ny eieradresse",
|
||||
"gchange67": "Gruppeoppdatering vellykket!",
|
||||
"gchange68": "Angi gruppeavatar",
|
||||
"gchange69": "Meldinger",
|
||||
"gchange70": "Ingen meldinger de siste 24 timene!",
|
||||
"gchange71": "Du har allerede blitt med i denne gruppen!"
|
||||
},
|
||||
"puzzlepage": {
|
||||
"pchange1": "Puzzles",
|
||||
@ -1287,5 +1320,104 @@
|
||||
"tour20": "blokker bak. Vil du oppdatere (bootstrap) for å fremskynde synkroniseringsprosessen?",
|
||||
"tour21": "blokker igjen.",
|
||||
"tour22": "Oppdater (bootstrap) forespurt. Vennligst vent."
|
||||
},
|
||||
"chatsettings": {
|
||||
"cs1": "Chatinnstillinger",
|
||||
"cs2": "Generelle chatinnstillinger",
|
||||
"cs3": "Tidsstempel for chatmelding",
|
||||
"cs4": "For tid siden",
|
||||
"cs5": "Lokal tid",
|
||||
"cs6": "Skriftstørrelse for chatmelding",
|
||||
"cs7": "Standard",
|
||||
"cs8": "px"
|
||||
},
|
||||
"modals": {
|
||||
"mpchange1": "Alle forespurte AT-er må være av samme utenlandske blokkjede.",
|
||||
"mpchange2": "Gir du dette programmet tillatelse til å utføre en kjøpsordre?",
|
||||
"mpchange3": "Kjøpsordre ble opprettet",
|
||||
"mpchange4": "Vennligst vent til kjøpsordre blir oppfylt",
|
||||
"mpchange5": "Kunne ikke sende inn kjøpsordre.",
|
||||
"mpchange6": "Gir du denne applikasjonen tillatelse til å utføre en salgsordre?",
|
||||
"mpchange7": "For:",
|
||||
"mpchange8": "Vellykket opprettet salgsordre.",
|
||||
"mpchange9": "Vennligst vent til salgsordren er oppført.",
|
||||
"mpchange10": "Kunne ikke sende inn salgsordre.",
|
||||
"mpchange11": "Kan ikke finne AT-informasjon.",
|
||||
"mpchange12": "Gir du dette programmet tillatelse til å kansellere en salgsordre?",
|
||||
"mpchange13": "Vellykket kansellert salgsordre.",
|
||||
"mpchange14": "Vennligst vent til kanselleringen av handelen er oppfylt.",
|
||||
"mpchange15": "Kunne ikke kansellere salgsordren.",
|
||||
"mpchange16": "Feil under henting av liste.",
|
||||
"mpchange17": "Feil ved å legge til listen.",
|
||||
"mpchange18": "Feil i slettelisten.",
|
||||
"mpchange19": "Feil under henting av venneliste.",
|
||||
"mpchange20": "Tall er ikke et tall.",
|
||||
"mpchange21": "Mangler antall.",
|
||||
"mpchange22": "Ingen data eller fil ble sendt inn.",
|
||||
"mpchange23": "Kryptering av data krever offentlige nøkler.",
|
||||
"mpchange24": "Bare krypterte data kan gå inn i private tjenester.",
|
||||
"mpchange25": "Opplastning mislyktes på grunn av mislykket kryptering.",
|
||||
"mpchange26": "Opplastning mislyktes.",
|
||||
"mpchange27": "Ugyldige data.",
|
||||
"mpchange28": "Ingen ressurser å publisere.",
|
||||
"mpchange29": "Ukjent feil.",
|
||||
"mpchange30": "Undersøkelsen ble ikke funnet.",
|
||||
"mpchange31": "Kunne ikke stemme på avstemningen.",
|
||||
"mpchange32": "Kunne ikke opprette avstemningen.",
|
||||
"mpchange33": "Vennligst skriv inn en qortal-lenke - qortal://...",
|
||||
"mpchange34": "Ugyldig qortal link.",
|
||||
"mpchange35": "Feil under trykking av varsling.",
|
||||
"mpchange36": "Kunne ikke sende melding.",
|
||||
"mpchange37": "Kan ikke sende en kryptert melding til denne brukeren siden de ikke har sin offentlige nøkkel på kjede.",
|
||||
"mpchange38": "Forespørselen kunne ikke oppfylles.",
|
||||
"mpchange39": "Gruppe ikke funnet.",
|
||||
"mpchange40": "Gir du denne applikasjonen tillatelse til å utføre en forespørsel om å bli med i en gruppe?",
|
||||
"mpchange41": "Gruppenavn:",
|
||||
"mpchange42": "Gruppe ID:",
|
||||
"mpchange43": "Bli med gruppeforespørsel ble opprettet.",
|
||||
"mpchange44": "Kunne ikke bli med i gruppen.",
|
||||
"mpchange45": "En mime-type kunne ikke utledes.",
|
||||
"mpchange46": "En filtype kunne ikke utledes.",
|
||||
"mpchange47": "Bruker avviste nedlastingen.",
|
||||
"mpchange48": "Kunne ikke starte nedlastingen.",
|
||||
"mpchange49": "Kunne ikke distribuere AT.",
|
||||
"mpchange50": "Bruker har ikke en profil.",
|
||||
"mpchange51": "Kan ikke finne forespurte data.",
|
||||
"mpchange52": "Kunne ikke hente profildata.",
|
||||
"mpchange53": "Kunne ikke angi egenskap.",
|
||||
"mpchange54": "Kunne ikke åpne profilen.",
|
||||
"mpchange55": "Feil under henting av serverinfo.",
|
||||
"mpchange56": "Feil i TX-aktivitetssammendraget.",
|
||||
"mpchange57": "Feil i hente utenlandsgebyr.",
|
||||
"mpchange58": "Feil ved oppdatering av utenlandsk gebyr.",
|
||||
"mpchange59": "Feil i hente logg for servertilkobling.",
|
||||
"mpchange60": "Feil i innstilt gjeldende server.",
|
||||
"mpchange61": "Feil i legg til server.",
|
||||
"mpchange62": "Feil ved fjerning av server.",
|
||||
"mpchange63": "Feil under henting av sammendrag.",
|
||||
"mpchange64": "Kunne ikke dekode transaksjonen.",
|
||||
"mpchange65": "Gir du denne applikasjonen tillatelse til å signere og behandle en transaksjon?",
|
||||
"mpchange66": "Gir du denne applikasjonen tillatelse til å signere en transaksjon?",
|
||||
"mpchange67": "Les transaksjonen nøye før du godtar.",
|
||||
"mpchange68": "Tx-type:",
|
||||
"mpchange69": "TX-data:",
|
||||
"mpchange70": "Prosesstransaksjonen ble ikke forespurt.",
|
||||
"mpchange71": "Signerte byte er: ",
|
||||
"mpchange72": "Transaksjonen er signert og behandlet vellykket.",
|
||||
"mpchange73": "Transaksjonen kunne ikke behandles.",
|
||||
"mpchange74": "Kunne ikke hente QORT-saldo. Prøv igjen!",
|
||||
"mpchange75": "Kunne ikke sende mynt.",
|
||||
"mpchange76": "Kunne ikke hente BTC-saldoen. Prøv igjen!",
|
||||
"mpchange77": "Kunne ikke hente LTC-saldoen. Prøv igjen!",
|
||||
"mpchange78": "Kunne ikke hente DOGE-saldo. Prøv igjen!",
|
||||
"mpchange79": "Kunne ikke hente DGB-saldoen. Prøv igjen!",
|
||||
"mpchange80": "Kunne ikke hente RVN-saldo. Prøv igjen!",
|
||||
"mpchange81": "Kunne ikke hente ARRR-saldo. Prøv igjen!",
|
||||
"mpchange82": "MANGLER FELT",
|
||||
"mpchange83": "AVSLAGT",
|
||||
"mpchange84": "FEIL",
|
||||
"mpchange85": "SUKSESS",
|
||||
"mpchange86": "Tillat alltid få lommeboksaldo automatisk",
|
||||
"mpchange87": "Vennligst skriv inn gruppe-ID"
|
||||
}
|
||||
}
|
||||
|
@ -8,6 +8,7 @@
|
||||
"dutch": "Holenderski",
|
||||
"english": "Angielski",
|
||||
"estonian": "Estoński",
|
||||
"finnish": "Fiński",
|
||||
"french": "Francuski",
|
||||
"german": "Niemiecki",
|
||||
"hindi": "Hindi",
|
||||
@ -79,7 +80,7 @@
|
||||
"tm32": "To konto nie obserwuje żadnego użytkownika",
|
||||
"tm33": "Menu zakładki Importuj",
|
||||
"tm34": "Menu zakładki Eksportuj",
|
||||
"tm35": "Twoje istniejące menu kart zostanie usunięte i ustawione na przesłane menu kart.",
|
||||
"tm35": "Twoje istniejące menu zakładek zostanie usunięte i ustawione jako zaimportowane menu zakładek.",
|
||||
"tm36": "Menu zakładki pomyślnie przywrócone",
|
||||
"tm37": "Menu zakładki pomyślnie zapisane jako",
|
||||
"tm38": "TRYB DEV",
|
||||
@ -97,43 +98,43 @@
|
||||
"youraccounts": "Twoje konta",
|
||||
"clickto": "Kliknij swoje konto, aby się na nim zalogować",
|
||||
"needcreate": "Musisz utworzyć lub zapisać konto, zanim będziesz mógł się zalogować!",
|
||||
"upload": "Prześlij swoją kopię zapasową Qortal",
|
||||
"upload": "Zaimportuj plik kopii zapasowej Qortal",
|
||||
"howlogin": "Jak chciałbyś się zalogować?",
|
||||
"seed": "Fraza odzyskiwania",
|
||||
"seedphrase": "fraza odzyskiwania",
|
||||
"saved": "Zapisane konto",
|
||||
"qora": "Ziarno adresu Qora",
|
||||
"backup": "Kopia zapasowa portfela Qortal",
|
||||
"decrypt": "Odszyfruj kopię zapasową",
|
||||
"qora": "Ziarno adresu QORA",
|
||||
"backup": "Plik kopii zapasowej Qortal",
|
||||
"decrypt": "Odszyfruj plik kopii zapasowej",
|
||||
"save": "Zapisz w tej przeglądarce.",
|
||||
"prepare": "Przygotuj swoje konto",
|
||||
"areyousure": "Czy na pewno chcesz usunąć ten portfel z zapisanych portfeli?",
|
||||
"areyousure": "Czy na pewno chcesz usunąć to konto z zapisanych kont? (W przypadku usunięcia i braku pliku kopii zapasowej konto może zostać utracone na zawsze! Zanim to zrobisz, upewnij się, że masz plik kopii zapasowej!)",
|
||||
"error1": "Kopia zapasowa musi być poprawnym JSON",
|
||||
"error2": "Nie wybrano opcji logowania",
|
||||
"createwelcome": "Witamy w Qortal, przekonasz się, że jest to gra podobna do gry RPG, ty, jako minter w sieci Qortal (jeśli zdecydujesz się nią zostać), będziesz miał szansę ulepszyć swoje konto, zyskując więcej nagrody za blok QORT, jak i większy wpływ na sieć w zakresie głosowania na decyzje dotyczące platformy.",
|
||||
"createwelcome": "Witamy w Qortalu! Twoja zdecentralizowana cyfrowa przyszłość czeka na Ciebie! W Qortal Ty i tylko Ty masz pełną kontrolę nad swoimi danymi. Qortal zapewnia podstawowy poziom nowego, w pełni kontrolowanego przez użytkownika cyfrowego świata.",
|
||||
"createa": "A",
|
||||
"click": "Kliknij, aby zobaczyć frazę odzyskiwania portfela",
|
||||
"confirmpass": "Potwierdź hasło",
|
||||
"willbe": "zostanie losowo wygenerowany w tle. To jest używane jako generator klucza prywatnego dla Twojego konta blockchain w Qortal.",
|
||||
"willbe": "będą losowo generowane w tle. Jeśli chcesz ZOBACZYĆ frazę nasion, kliknij słowo „fraza nasion” w tym tekście. Służy jako generator klucza prywatnego dla Twojego konta Blockchain w Qortal. Ze względów bezpieczeństwa domyślnie frazy początkowe nie są wyświetlane, chyba że zostało to specjalnie wybrane.",
|
||||
"clicknext": "Utwórz swoje konto Qortal, klikając przycisk NEXT (DALEJ) poniżej.",
|
||||
"ready": "Twoje konto jest teraz gotowe do utworzenia. Zostanie zapisane w tej przeglądarce. Jeśli nie chcesz, aby Twoje nowe konto było zapisywane w przeglądarce, możesz odznaczyć poniższe pole. Nadal będziesz mógł logować się na nowe konto (po wylogowaniu), korzystając z pliku kopii zapasowej portfela, który MUSISZ pobrać po utworzeniu konta.",
|
||||
"ready": "Twoje konto jest teraz gotowe do utworzenia. Zostanie on domyślnie zapisany w tej kopii interfejsu użytkownika Qortal, w formie zaszyfrowanej. Jeśli nie chcesz, aby Twoje nowe konto było tutaj zapisywane, możesz odznaczyć pole poniżej. Nadal będziesz mógł zalogować się na swoje nowe konto (po wylogowaniu), korzystając z pliku kopii zapasowej portfela, który MUSISZ pobrać po utworzeniu konta.",
|
||||
"welmessage": "Witamy w Qortal",
|
||||
"pleaseenter": "Proszę wprowadzić Hasło!",
|
||||
"notmatch": "Hasła nie pasują!",
|
||||
"lessthen8": "Twoje hasło ma mniej niż 5 znaków! Nie jest to zalecane. Możesz zignorować to ostrzeżenie.",
|
||||
"lessthen8-2": "Twoje hasło ma mniej niż 5 znaków!",
|
||||
"entername": "Proszę podać Nazwę!",
|
||||
"downloaded": "Twój plik kopii zapasowej Portfela zostanie pobrany!",
|
||||
"entername": "Proszę wprowadzić nazwę wyświetlaną!",
|
||||
"downloaded": "Twój plik kopii zapasowej Portfela został zapisany!",
|
||||
"loading": "Ładowanie, proszę czekać...",
|
||||
"createdseed": "Twoja utworzona fraza odzyskiwania",
|
||||
"saveseed": "Zapisz frazę odzyskiwania",
|
||||
"savein": "Zapisz w przeglądarce",
|
||||
"backup2": "Ten plik jest JEDYNYM sposobem uzyskania dostępu do konta w systemie, jeżeli nie ma go zapisanego w aplikacji/przeglądarce. PAMIĘTAJ, ABY ZAPISAĆ KOPIĘ ZAPASOWĄ TEGO PLIKU W WIELU MIEJSCACH. Plik jest bezpiecznie zaszyfrowany i może być odszyfrowany za pomocą Twojego hasła utworzonego w poprzednim kroku. Możesz go bezpiecznie zapisać w dowolnym miejscu, ale pamiętaj, aby zrobić to w wielu lokalizacjach.",
|
||||
"savein": "Zapisz w tym interfejsie użytkownika",
|
||||
"backup2": "Ten plik jest JEDYNYM (domyślnym) sposobem uzyskania dostępu do Twojego konta, chyba że zostanie zapisany w interfejsie użytkownika. NALEŻY ZROBIĆ KOPIĘ ZAPASOWĄ TEGO PLIKU W WIELU MIEJSCACH. Plik zostanie bardzo bezpiecznie zaszyfrowany i odszyfrowany za pomocą lokalnego hasła utworzonego w poprzednim kroku. Możesz bezpiecznie zapisać go w dowolnym miejscu, ale pamiętaj, aby zrobić to w wielu lokalizacjach.",
|
||||
"savewallet": "Zapisz plik kopii zapasowej portfela",
|
||||
"created1": "Twoje konto zostało utworzone",
|
||||
"created2": " i zostanie zapisane w tej przeglądarce.",
|
||||
"downloadbackup": "Pobierz plik kopii zapasowej portfela",
|
||||
"passwordhint": "Hasło musi mieć co najmniej 5 znaków.",
|
||||
"created2": " i zapisane w tym interfejsie użytkownika w formie zaszyfrowanej.",
|
||||
"downloadbackup": "Zapisz plik kopii zapasowej Qortal",
|
||||
"passwordhint": "Hasło szyfrujące musi składać się z co najmniej 5 znaków.",
|
||||
"lp1": "Ekran blokady",
|
||||
"lp2": "Nie ustawiono hasła blokady ekranu!",
|
||||
"lp3": "Proszę ustawić jeden",
|
||||
@ -162,8 +163,8 @@
|
||||
"confirmlogout": "Czy na pewno chcesz się wylogować?"
|
||||
},
|
||||
"fragfile": {
|
||||
"selectfile": "Wybierz plik",
|
||||
"dragfile": "Przeciągnij i upuść kopię zapasową tutaj"
|
||||
"selectfile": "Wybierz plik kopii zapasowej",
|
||||
"dragfile": "Przeciągnij i upuść lub kliknij tutaj, aby wybrać plik kopii zapasowej"
|
||||
},
|
||||
"settings": {
|
||||
"generalinfo": "Ogólne informacje o koncie",
|
||||
@ -182,7 +183,6 @@
|
||||
"password": "Hasło",
|
||||
"download": "Pobierz plik kopii zapasowej",
|
||||
"choose": "Proszę wybrać hasło do zaszyfrowania kopii zapasowej. (Może to być to samo, za pomocą którego się zalogowałeś lub inne)",
|
||||
"block": "Blokuj powiadomienia (wkrótce...)",
|
||||
"playsound": "Odtwórz dźwięk",
|
||||
"shownotifications": "Pokaż powiadomienia",
|
||||
"nodeurl": "URL węzła",
|
||||
@ -203,17 +203,18 @@
|
||||
"snack5": "Węzły pomyślnie zaimportowane",
|
||||
"snack6": "Pomyślnie usunięto węzeł niestandardowy",
|
||||
"snack7": "Pomyślnie edytowano węzeł niestandardowy",
|
||||
"exp1": "Eksportuj prywatny klucz główny",
|
||||
"exp1": "Eksportuj główny klucz prywatny (xpriv)",
|
||||
"exp2": "Eksportuj klucz główny",
|
||||
"exp3": "Eksportuj",
|
||||
"exp4": "Wybierz portfel do wykonania kopii zapasowej prywatnego klucza głównego.",
|
||||
"core": "Uruchom podstawowe ustawienia",
|
||||
"core": "Ustawienia automatycznego uruchamiania Qortal Core",
|
||||
"qappNotification1": "Powiadomienia Q-App",
|
||||
"selectnode": "Proszę wybrać opcję",
|
||||
"arrr1": "Portfel ARRR nie został zainicjowany!",
|
||||
"arrr2": "Przejdź do zakładki portfela i najpierw zainicjalizuj swój portfel arrr.",
|
||||
"arrr2": "Przejdź do Portfeli i uzyskaj dostęp do portfela ARRR, aby najpierw zainicjować portfel.",
|
||||
"arrr3": "Potrzebujesz aktualizacji rdzenia!",
|
||||
"arrr4": "Aby zapisać klucz prywatny swojego portfela arrr, potrzebujesz najpierw aktualizacji rdzenia!"
|
||||
"arrr4": "Aby zapisać klucz prywatny swojego portfela ARRR, musisz najpierw zaktualizować Qortal Core!",
|
||||
"sync_indicator": "Wyłącz wyskakujące okienko wskaźnika synchronizacji"
|
||||
},
|
||||
"appinfo": {
|
||||
"blockheight": "Wysokość bloku",
|
||||
@ -247,7 +248,9 @@
|
||||
"balance": "Saldo",
|
||||
"balances": "SALDO TWOJEGO PORTFELA",
|
||||
"update": "AKTUALIZUJ SALDA W PORTFELU",
|
||||
"view": "Pogląd"
|
||||
"view": "Pogląd",
|
||||
"all": "Wszystko",
|
||||
"page": "Strona"
|
||||
},
|
||||
"gifs": {
|
||||
"gchange1": "Eksplorator gifów",
|
||||
@ -283,7 +286,7 @@
|
||||
"startminting": {
|
||||
"smchange1": "Nie można pobrać kont menniczych",
|
||||
"smchange2": "Nie udało się usunąć klucza",
|
||||
"smchange3": "Nie udało się dodać klucza bicia",
|
||||
"smchange3": "Nie udało się dodać klucza Minting. Jeśli klucz został właśnie utworzony, spróbuj poczekać kilka bloków i dodać go ponownie",
|
||||
"smchange4": "Nie można utworzyć klucza sponsorowania",
|
||||
"smchange5": "Tworzenie relacji",
|
||||
"smchange6": "Oczekiwanie na potwierdzenie na blockchain",
|
||||
@ -465,7 +468,7 @@
|
||||
"rchange6": "Odbiorca",
|
||||
"rchange7": "Akcja",
|
||||
"rchange8": "Typ",
|
||||
"rchange9": "Poziomy 1 - 4 mogą tworzyć Self Share, a poziom 5 lub wyższy może tworzyć Reward Share!",
|
||||
"rchange9": "Poziomy 0 - 4 mogą tworzyć Self Share, a poziom 5 lub wyższy może tworzyć Reward Share!",
|
||||
"rchange10": "Publiczny klucz odbiorcy",
|
||||
"rchange11": "Procent udziału w nagrodzie",
|
||||
"rchange12": "Robimy coś pysznego",
|
||||
@ -506,7 +509,7 @@
|
||||
"nchange23": "Cena sprzedaży",
|
||||
"nchange24": "Brak nazw do sprzedania",
|
||||
"nchange25": "Nazwa do sprzedania",
|
||||
"nchange26": "Czy na pewno chcesz sprzedać tę nazwę?",
|
||||
"nchange26": "Czy na pewno chcesz sprzedać tę nazwę? Jeśli nazwa zostanie zakupiona przez inne konto, będzie to poza Twoją kontrolą!",
|
||||
"nchange27": "Za tę cenę w QORT",
|
||||
"nchange28": "Po naciśnięciu potwierdzenia zostanie wysłane zapytanie o nazwę sprzedaży!",
|
||||
"nchange29": "Nazwa do anulowania",
|
||||
@ -739,7 +742,8 @@
|
||||
"bchange51": "Aby przesłać zmiany, nie zapomnij kliknąć 'Aktualizuj profil'",
|
||||
"bchange52": "Czy dajesz tej aplikacji pozwolenie na uzyskanie informacji o Twoim portfelu?",
|
||||
"bchange53": "Zawsze zezwalaj na automatyczne pobieranie listy znajomych przez wszystkie aplikacje",
|
||||
"bchange54": "Czy dajesz tej aplikacji uprawnienia dostępu do listy znajomych?"
|
||||
"bchange54": "Czy dajesz tej aplikacji uprawnienia dostępu do listy znajomych?",
|
||||
"bchange55": "Czy dajesz tej aplikacji pozwolenie na wysłanie tego polecenia?"
|
||||
},
|
||||
"datapage": {
|
||||
"dchange1": "Zarządzanie danymi",
|
||||
@ -839,7 +843,7 @@
|
||||
"cchange74": "zareagował z",
|
||||
"cchange75": "Przesyłanie załącznika. Może to potrwać do jednej minuty.",
|
||||
"cchange76": "Usuwanie załącznika. Może to potrwać do jednej minuty.",
|
||||
"cchange77": "Rozmiar załącznika przekracza 1 MB",
|
||||
"cchange77": "Rozmiar załącznika przekracza 10 MB",
|
||||
"cchange78": "Czy na pewno chcesz usunąć ten obraz?",
|
||||
"cchange79": "Czy na pewno chcesz usunąć ten załącznik?",
|
||||
"cchange80": "Ten obraz został usunięty",
|
||||
@ -852,7 +856,24 @@
|
||||
"cchange94": "załadowano",
|
||||
"cchange95": "Tylko moje zasoby",
|
||||
"cchange96": "Otwarte zarządzanie grupą",
|
||||
"cchange97": "Link do dołączenia do grupy skopiowany do schowka"
|
||||
"cchange97": "Link do dołączenia do grupy skopiowany do schowka",
|
||||
"cchange98": "Ładowanie pliku. To może zająć kilka minut.",
|
||||
"cchange99": "Usuwanie pliku. To może zająć do jednej minuty.",
|
||||
"cchange100": "Rozmiar pliku przekracza 125 MB",
|
||||
"cchange101": "Czy na pewno chcesz usunąć ten plik?",
|
||||
"cchange102": "Ten plik został usunięty",
|
||||
"cchange103": "Ładowanie gifa. Może to zająć do jednej minuty.",
|
||||
"cchange104": "Usuwanie GIF. Może to zająć do jednej minuty.",
|
||||
"cchange105": "Rozmiar pliku przekracza 3 MB",
|
||||
"cchange106": "Czy na pewno chcesz usunąć ten gif?",
|
||||
"cchange107": "Ten gif został usunięty",
|
||||
"cchange108": "Pobieranie będzie kontynuowane w tle, jednocześnie można pobrać tylko JEDEN plik Q-Chat.",
|
||||
"cchange109": "Typ pliku nie jest obsługiwany!",
|
||||
"cchange110": "PRZESYŁANIE OBRAZU",
|
||||
"cchange111": "PRZEŚLIJ GIF",
|
||||
"cchange112": "PRZESYŁANIE ZAŁĄCZNIKÓW",
|
||||
"cchange113": "PRZESYŁANIE PLIKU",
|
||||
"cchange114": "Napisz coś ..."
|
||||
},
|
||||
"welcomepage": {
|
||||
"wcchange1": "Witamy w Q-Chat",
|
||||
@ -944,7 +965,19 @@
|
||||
"gchange56": "Nazwa grupy do wyszukania",
|
||||
"gchange57": "Nie znaleziono nazwy grupy prywatnej",
|
||||
"gchange58": "Zauważ, że nazwa grupy musi dokładnie pasować.",
|
||||
"gchange59": "Pokaż / Ukryj Znacznik"
|
||||
"gchange59": "Pokaż / Ukryj Znacznik",
|
||||
"gchange60": "Podaj nazwę grupy",
|
||||
"gchange61": "Podaj opis",
|
||||
"gchange62": "Czy na pewno AKTUALIZUJESZ tę grupę?",
|
||||
"gchange63": "Po naciśnięciu przycisku POTWIERDŹ zostanie wysłane żądanie UPDATE_GROUP!",
|
||||
"gchange64": "Current Owner / New Owner",
|
||||
"gchange65": "Zamień ten adres na PRZENIESIENIE WŁASNOŚCI grupy!",
|
||||
"gchange66": "Nieprawidłowy właściciel / nowy adres właściciela",
|
||||
"gchange67": "AKTUALIZACJA grupy powiodła się!",
|
||||
"gchange68": "Ustaw awatar grupy",
|
||||
"gchange69": "Wiadomości",
|
||||
"gchange70": "Brak wiadomości w ciągu ostatnich 24 godzin!",
|
||||
"gchange71": "Już dołączyłeś do tej grupy!"
|
||||
},
|
||||
"puzzlepage": {
|
||||
"pchange1": "Zagadki",
|
||||
@ -1287,5 +1320,104 @@
|
||||
"tour20": "bloki za sobą. Czy chcesz odświeżyć (bootstrap), aby przyspieszyć proces synchronizacji?",
|
||||
"tour21": "pozostałe bloki.",
|
||||
"tour22": "Zażądano odświeżenia (bootstrap). Proszę czekać."
|
||||
},
|
||||
"chatsettings": {
|
||||
"cs1": "Ustawienia czatu",
|
||||
"cs2": "Ogólne ustawienia czatu",
|
||||
"cs3": "Sygnatura czasowa wiadomości czatu",
|
||||
"cs4": "Czas temu",
|
||||
"cs5": "Czas lokalny",
|
||||
"cs6": "Rozmiar czcionki wiadomości czatu",
|
||||
"cs7": "Standardowy",
|
||||
"cs8": "px"
|
||||
},
|
||||
"modals": {
|
||||
"mpchange1": "Wszystkie żądane AT muszą być tego samego obcego Blockchain.",
|
||||
"mpchange2": "Czy udzielasz tej aplikacji pozwolenia na wykonanie zlecenia kupna?",
|
||||
"mpchange3": "Pomyślnie utworzono zlecenie kupna",
|
||||
"mpchange4": "Proszę czekać, aż zlecenie kupna zostanie zrealizowane",
|
||||
"mpchange5": "Nie udało się przesłać zlecenia kupna.",
|
||||
"mpchange6": "Czy udzielasz tej aplikacji pozwolenia na wykonanie zlecenia sprzedaży?",
|
||||
"mpchange7": "Dla:",
|
||||
"mpchange8": "Pomyślnie utworzono zlecenie sprzedaży.",
|
||||
"mpchange9": "Proszę czekać, aż zlecenie sprzedaży zostanie wystawione na sprzedaż.",
|
||||
"mpchange10": "Nie udało się przesłać zlecenia sprzedaży.",
|
||||
"mpchange11": "Nie można znaleźć informacji o AT.",
|
||||
"mpchange12": "Czy udzielasz tej aplikacji pozwolenia na wykonanie anulowania zlecenia sprzedaży?",
|
||||
"mpchange13": "Pomyślnie anulowano zlecenie sprzedaży.",
|
||||
"mpchange14": "Proszę czekać, aż anulowanie transakcji zostanie zrealizowane.",
|
||||
"mpchange15": "Nie udało się anulować zlecenia sprzedaży.",
|
||||
"mpchange16": "Błąd podczas pobierania listy.",
|
||||
"mpchange17": "Błąd podczas dodawania do listy.",
|
||||
"mpchange18": "Błąd podczas usuwania listy.",
|
||||
"mpchange19": "Błąd podczas pobierania listy znajomych.",
|
||||
"mpchange20": "Liczba nie jest liczbą.",
|
||||
"mpchange21": "Brak liczby.",
|
||||
"mpchange22": "Nie przesłano żadnych danych ani pliku.",
|
||||
"mpchange23": "Szyfrowanie danych wymaga kluczy publicznych.",
|
||||
"mpchange24": "Do usług prywatnych można przesyłać tylko zaszyfrowane dane.",
|
||||
"mpchange25": "Przesyłanie nie powiodło się z powodu nieudanego szyfrowania.",
|
||||
"mpchange26": "Przesyłanie nie powiodło się.",
|
||||
"mpchange27": "Nieprawidłowe dane.",
|
||||
"mpchange28": "Brak zasobów do opublikowania.",
|
||||
"mpchange29": "Nieznany błąd.",
|
||||
"mpchange30": "Nie znaleziono ankiety.",
|
||||
"mpchange31": "Nie udało się zagłosować w ankiecie.",
|
||||
"mpchange32": "Nie udało się utworzyć ankiety.",
|
||||
"mpchange33": "Wprowadź link qortal - qortal://...",
|
||||
"mpchange34": "Nieprawidłowy link qortal.",
|
||||
"mpchange35": "Błąd w wysyłaniu powiadomienia.",
|
||||
"mpchange36": "Nie można wysłać wiadomości.",
|
||||
"mpchange37": "Nie można wysłać zaszyfrowanej wiadomości do tego użytkownika, ponieważ nie ma on klucza publicznego w łańcuchu.",
|
||||
"mpchange38": "Żądanie nie mogło zostać zrealizowane.",
|
||||
"mpchange39": "Nie znaleziono grupy.",
|
||||
"mpchange40": "Czy udzielasz tej aplikacji uprawnień do wykonać żądanie dołączenia do grupy?",
|
||||
"mpchange41": "Nazwa grupy:",
|
||||
"mpchange42": "Identyfikator grupy:",
|
||||
"mpchange43": "Pomyślnie utworzono żądanie dołączenia do grupy.",
|
||||
"mpchange44": "Nie udało się dołączyć do grupy.",
|
||||
"mpchange45": "Nie można było wyprowadzić typu MIME.",
|
||||
"mpchange46": "Nie można było wyprowadzić rozszerzenia pliku.",
|
||||
"mpchange47": "Użytkownik odrzucił pobieranie.",
|
||||
"mpchange48": "Nie udało się zainicjować pobierania.",
|
||||
"mpchange49": "Nie udało się wdrożyć AT.",
|
||||
"mpchange50": "Użytkownik nie ma profilu.",
|
||||
"mpchange51": "Nie można znaleźć żądanych danych.",
|
||||
"mpchange52": "Nie udało się pobrać danych profilu.",
|
||||
"mpchange53": "Nie udało się ustawić właściwości.",
|
||||
"mpchange54": "Nie udało się otworzyć profilu.",
|
||||
"mpchange55": "Błąd podczas pobierania informacji o serwerze.",
|
||||
"mpchange56": "Błąd w podsumowaniu aktywności transakcji.",
|
||||
"mpchange57": "Błąd podczas pobierania opłaty zagranicznej.",
|
||||
"mpchange58": "Błąd podczas aktualizacji opłaty zagranicznej.",
|
||||
"mpchange59": "Błąd podczas pobierania historii połączeń z serwerem.",
|
||||
"mpchange60": "Błąd podczas ustawiania bieżącego serwera.",
|
||||
"mpchange61": "Błąd podczas dodawania serwera.",
|
||||
"mpchange62": "Błąd podczas usuwania serwera.",
|
||||
"mpchange63": "Błąd podczas pobierania podsumowania.",
|
||||
"mpchange64": "Nie udało się zdekodować transakcji.",
|
||||
"mpchange65": "Czy udzielasz tej aplikacji uprawnień do podpisywania i przetwarzania transakcji?",
|
||||
"mpchange66": "Czy udzielasz tej aplikacji uprawnień do podpisywania transakcji?",
|
||||
"mpchange67": "Przeczytaj uważnie transakcję przed accepting.",
|
||||
"mpchange68": "Typ Tx:",
|
||||
"mpchange69": "Dane TX:",
|
||||
"mpchange70": "Nie zażądano przetwarzania transakcji.",
|
||||
"mpchange71": "Podpisane bajty to:",
|
||||
"mpchange72": "Transakcja została podpisana i przetworzona pomyślnie.",
|
||||
"mpchange73": "Transakcji nie można było przetworzyć.",
|
||||
"mpchange74": "Nie udało się pobrać salda QORT. Spróbuj ponownie!",
|
||||
"mpchange75": "Nie można wysłać monety.",
|
||||
"mpchange76": "Nie udało się pobrać salda BTC. Spróbuj ponownie!",
|
||||
"mpchange77": "Nie udało się pobrać salda LTC. Spróbuj ponownie!",
|
||||
"mpchange78": "Nie udało się pobrać salda DOGE. Spróbuj ponownie!",
|
||||
"mpchange79": "Nie udało się pobrać salda DGB. Spróbuj ponownie!",
|
||||
"mpchange80": "Nie udało się pobrać salda RVN. Spróbuj ponownie!",
|
||||
"mpchange81": "Nie udało się pobrać salda ARRR. Spróbuj ponownie!",
|
||||
"mpchange82": "Brakujące pola",
|
||||
"mpchange83": "ODRZUCONE",
|
||||
"mpchange84": "NIEPOWODZENIE",
|
||||
"mpchange85": "POWODZENIE",
|
||||
"mpchange86": "Zawsze zezwalaj na automatyczne pobieranie salda portfela",
|
||||
"mpchange87": "Wprowadź identyfikator grupy"
|
||||
}
|
||||
}
|
||||
|
@ -8,6 +8,7 @@
|
||||
"dutch": "Holandês",
|
||||
"english": "Inglês",
|
||||
"estonian": "Estoniano",
|
||||
"finnish": "Finlandês",
|
||||
"french": "Francês",
|
||||
"german": "Alemão",
|
||||
"hindi": "Hindu",
|
||||
@ -79,7 +80,7 @@
|
||||
"tm32": "Esta conta não segue nenhum usuário",
|
||||
"tm33": "Menu da Aba Importar",
|
||||
"tm34": "Menu da guia Exportar",
|
||||
"tm35": "Seu menu de guia existente será excluído e definido como menu de guia carregado.",
|
||||
"tm35": "Seu menu de guias existente será excluído e definido como menu de guias importado.",
|
||||
"tm36": "Menu de abas restaurado com sucesso",
|
||||
"tm37": "Menu da guia salvo com sucesso como",
|
||||
"tm38": "MODO DEV",
|
||||
@ -97,42 +98,42 @@
|
||||
"youraccounts": "Minhas Contas",
|
||||
"clickto": "Clique em sua conta para fazer o login",
|
||||
"needcreate": "Você precisa criar ou salvar uma conta antes de fazer o login",
|
||||
"upload": "Carregue seu backup do Qortal",
|
||||
"upload": "Importe seu arquivo de backup Qortal",
|
||||
"howlogin": "Como você gostaria de fazer o login?",
|
||||
"seed": "SeedPhrase",
|
||||
"seedphrase": "seedphrase",
|
||||
"saved": "Conta Salva",
|
||||
"qora": "Endereço seed do Qora",
|
||||
"backup": "Backup da carteira do Qortal",
|
||||
"decrypt": "Desencriptar Backup",
|
||||
"qora": "Endereço seed do QORA",
|
||||
"backup": "Arquivo de backup Qortal",
|
||||
"decrypt": "Descriptografar arquivo de backup",
|
||||
"save": "Salvar neste Navegador",
|
||||
"prepare": "Preparando sua Conta",
|
||||
"areyousure": "Tem certeza que deseja excluir esta carteira das carteiras salvas?",
|
||||
"prepare": "Preparando sua Conta...",
|
||||
"areyousure": "Tem certeza de que deseja remover esta conta das contas salvas? (Se for removida e não existir nenhum arquivo de backup, a conta poderá ser perdida para sempre! Certifique-se de ter um arquivo de backup antes de fazer isso!)",
|
||||
"error1": "Backup tem que ser um JSON valido",
|
||||
"error2": "Login opcional não selecionado",
|
||||
"createwelcome": "Bem-vindo ao Qortal, você vai achar que é semelhante ao de um jogo de RPG, você, como um mineirador na rede Qortal (se você escolher se tornar um) terá a chance de prosperar com sua conta, dando-lhe tanto mais da recompensa do bloco QORT e também maior influência sobre a rede em termos de votação sobre decisões para a plataforma.",
|
||||
"createwelcome": "Bem-vindo ao Qortal! Seu futuro digital descentralizado espera por você! Somente no Qortal você tem controle absoluto sobre seus dados. Qortal fornece o nível básico de um mundo digital novo e totalmente controlado pelo usuário.",
|
||||
"createa": "A",
|
||||
"click": "Clique para ver a SeedPhrase",
|
||||
"confirmpass": "Confirme sua Senha",
|
||||
"willbe": "Será gerado aleatoriamente em segundo plano. Este é usado como seu gerador de chaves privada para sua conta blockchain no Qortal.",
|
||||
"willbe": "Será gerado aleatoriamente em segundo plano. Se você deseja VER a frase-semente, clique na 'frase-semente' destacada neste texto. Ele é usado como gerador de chave privada para sua conta blockchain no Qortal. Por segurança, por padrão, as frases-chave não são exibidas, a menos que sejam especificamente escolhidas para serem.",
|
||||
"clicknext": "Crie sua conta no Qortal clicando em PRÓXIMO abaixo.",
|
||||
"ready": "Sua conta está pronta para ser criada. Ela será salva neste navegador. Se você não deseja que sua nova conta seja salva no seu navegador, você pode desmarcar a caixa abaixo. Você ainda poderá fazer o login com sua nova conta (após o login), usando seu arquivo de backup de carteira que você deve baixar assim que criar sua conta.",
|
||||
"ready": "Sua conta agora está pronta para ser criada. Ele será salvo nesta cópia da UI do Qortal por padrão, em formato criptografado. Se não quiser que sua nova conta seja salva aqui, você pode desmarcar a caixa abaixo. Você ainda poderá fazer login com sua nova conta (após sair), usando o arquivo de backup da carteira que você DEVE baixar depois de criar sua conta.",
|
||||
"welmessage": "Bem-vindo ao Qortal",
|
||||
"pleaseenter": "Por favor coloque sua senha!",
|
||||
"notmatch": "Senhas não correspondem!",
|
||||
"lessthen8": "Sua senha é menor que 5 caracteres! Isso não é recomendado. Você pode continuar e ignorar este aviso.",
|
||||
"lessthen8-2": "Sua senha é menor que 5 caracteres!",
|
||||
"entername": "Por favor, digite um nome!",
|
||||
"downloaded": "Seu arquivo Wallet BackUp é baixado!",
|
||||
"entername": "Por favor insira um nome de exibição!",
|
||||
"downloaded": "Seu arquivo Qortal Backup foi salvo!",
|
||||
"loading": "Carregando, por favor espere...",
|
||||
"createdseed": "Sua Seedphrase Criada",
|
||||
"saveseed": "Salvar Seedphrase",
|
||||
"savein": "Salvar no Navegador",
|
||||
"savein": "Salvar nesta IU",
|
||||
"backup2": "Este arquivo é a única forma de acessar sua conta em um sistema que não o tem salvo no aplicativo/navegador. CERTIFIQUE-SE DE FAZER BACKUP DESTE ARQUIVO EM VÁRIOS LUGARES. O arquivo é criptografado com muita segurança e descriptografado com sua senha local que você criou na etapa anterior. Você pode salvá-lo em qualquer lugar com segurança, mas certifique-se de fazer isso em vários locais.",
|
||||
"savewallet": "Salvar Arquivo de BackUp da Carteira",
|
||||
"savewallet": "Salvar arquivo de backup Qortal",
|
||||
"created1": "Sua conta foi Criada",
|
||||
"created2": "e será salva neste navegador.",
|
||||
"downloadbackup": "Baixe o Arquivo BackUp da Carteira",
|
||||
"created2": " e salvo criptografado nesta UI Qortal.",
|
||||
"downloadbackup": "Salvar arquivo de backup Qortal",
|
||||
"passwordhint": "Uma senha deve ter pelo menos 5 caracteres.",
|
||||
"lp1": "Tela de bloqueio",
|
||||
"lp2": "Nenhuma senha de tela de bloqueio foi definida!",
|
||||
@ -163,7 +164,7 @@
|
||||
},
|
||||
"fragfile": {
|
||||
"selectfile": "Selecione Arquivo",
|
||||
"dragfile": "Arrastar e soltar backup aqui"
|
||||
"dragfile": "Arraste e solte ou clique aqui para selecionar o arquivo de backup"
|
||||
},
|
||||
"settings": {
|
||||
"generalinfo": "Informações gerais da conta",
|
||||
@ -180,9 +181,8 @@
|
||||
"notifications": "Notificações",
|
||||
"accountsecurity": "Segurança da Conta",
|
||||
"password": "Senha",
|
||||
"download": "Baixar Arquivo BackUp",
|
||||
"download": "Exportar/Salvar arquivo de backup",
|
||||
"choose": "Por favor, escolha uma senha para criptografar seu backup. (Essa pode ser a mesma que você fez login, ou outra diferente)",
|
||||
"block": "Notificações de bloco (em breve...)",
|
||||
"playsound": "Reproduzir som",
|
||||
"shownotifications": "Mostrar notificações",
|
||||
"nodeurl": "Url do nódulo",
|
||||
@ -192,8 +192,8 @@
|
||||
"protocol": "Protocolo",
|
||||
"domain": "Domínio",
|
||||
"port": "Portar",
|
||||
"import": "Importar Nós",
|
||||
"export": "Exportar Nós",
|
||||
"import": "Importar nós salvos",
|
||||
"export": "Exportar Nós salvos",
|
||||
"deletecustomnode": "Remover todos os nós personalizados",
|
||||
"warning": "Seus nós existentes serão excluídos e do backup será criado.",
|
||||
"snack1": "Nós padrão excluídos e adicionados com sucesso",
|
||||
@ -203,17 +203,18 @@
|
||||
"snack5": "Nós importados com sucesso",
|
||||
"snack6": "Nó personalizado removido com sucesso",
|
||||
"snack7": "Nó personalizado editado com sucesso",
|
||||
"exp1": "Exportar Chave Mestra Privada",
|
||||
"exp1": "Exportar chave privada mestra (xpriv)",
|
||||
"exp2": "Exportar Chave Mestra",
|
||||
"exp3": "Exportar",
|
||||
"exp4": "Por favor, escolha uma carteira para fazer backup da chave mestra privada.",
|
||||
"core": "Iniciar configurações do núcleo",
|
||||
"exp4": "Por favor, escolha uma carteira para fazer backup da chave privada mestra.",
|
||||
"core": "Configurações de inicialização automática do Qortal Core",
|
||||
"qappNotification1": "Notificações de Q-App",
|
||||
"selectnode": "Por favor selecione uma opção",
|
||||
"arrr1": "Carteira ARRR não inicializada!",
|
||||
"arrr2": "Por favor, vá para a aba carteira e inicialize sua carteira arrr primeiro.",
|
||||
"arrr2": "Por favor, vá para a guia carteira e acesse a carteira ARRR para inicializar a carteira primeiro.",
|
||||
"arrr3": "Precisa de atualização principal!",
|
||||
"arrr4": "Para salvar a chave privada da sua carteira arrr você precisa primeiro de uma atualização principal!"
|
||||
"arrr4": "Para salvar a chave privada da sua carteira ARRR você deve primeiro atualizar o Qortal Core!",
|
||||
"sync_indicator": "Desativar pop-up do indicador de sincronização"
|
||||
},
|
||||
"appinfo": {
|
||||
"blockheight": "Altura do Bloco",
|
||||
@ -247,7 +248,9 @@
|
||||
"balance": "Saldo",
|
||||
"balances": "SEUS SALDOS DE CARTEIRA",
|
||||
"update": "ATUALIZAR SALDOS DA CARTEIRA",
|
||||
"view": "Ver"
|
||||
"view": "Ver",
|
||||
"all": "Todos",
|
||||
"page": "Página"
|
||||
},
|
||||
"gifs": {
|
||||
"gchange1": "Gif Explorer",
|
||||
@ -282,8 +285,8 @@
|
||||
},
|
||||
"startminting": {
|
||||
"smchange1": "Não é possível buscar contas de cunhagem",
|
||||
"smchange2": "Falha ao remover a chave",
|
||||
"smchange3": "Falha ao adicionar chave de cunhagem",
|
||||
"smchange2": "Falha ao remover a chave Minting",
|
||||
"smchange3": "Falha ao adicionar a chave Minting, se a chave acabou de ser criada, tente esperar alguns blocos e adicionar novamente",
|
||||
"smchange4": "Não é possível criar a chave de patrocínio",
|
||||
"smchange5": "Criando relacionamento",
|
||||
"smchange6": "Aguardando confirmação no blockchain",
|
||||
@ -465,7 +468,7 @@
|
||||
"rchange6": "Recipiente",
|
||||
"rchange7": "Ação",
|
||||
"rchange8": "Tipo",
|
||||
"rchange9": "Nível 1 - 4 podem criar Auto Ações e nível 5 ou superior podem criar Ações de Recompensa!",
|
||||
"rchange9": "Nível 0 - 4 podem criar Auto Ações e nível 5 ou superior podem criar Ações de Recompensa!",
|
||||
"rchange10": "Chave Pública do Destinatário",
|
||||
"rchange11": "Porcentagem das ações de recompensa",
|
||||
"rchange12": "Fazendo algo delicioso",
|
||||
@ -506,7 +509,7 @@
|
||||
"nchange23": "Preço de venda",
|
||||
"nchange24": "Sem nomes para vender",
|
||||
"nchange25": "Nome para vender",
|
||||
"nchange26": "Tem certeza que vende este nome ?",
|
||||
"nchange26": "Tem certeza de que deseja vender este nome? Se o nome for adquirido por outra conta, os dados publicados por esse nome não poderão ser editados por você!",
|
||||
"nchange27": "Por este preço em QORT",
|
||||
"nchange28": "Ao clicar em confirmar, a solicitação do nome de venda será enviada!",
|
||||
"nchange29": "Nome para Cancelar",
|
||||
@ -739,7 +742,8 @@
|
||||
"bchange51": "Para enviar as alterações não esqueça de clicar em 'Atualizar perfil'",
|
||||
"bchange52": "Você dá permissão a este aplicativo para obter informações da sua carteira?",
|
||||
"bchange53": "Sempre permita que sua lista de amigos seja recuperada automaticamente por todos os aplicativos",
|
||||
"bchange54": "Você dá permissão a este aplicativo para acessar sua lista de amigos?"
|
||||
"bchange54": "Você dá permissão a este aplicativo para acessar sua lista de amigos?",
|
||||
"bchange55": "Você dá permissão a este aplicativo para enviar este comando?"
|
||||
},
|
||||
"datapage": {
|
||||
"dchange1": "Gerenciamento de Dados",
|
||||
@ -839,7 +843,7 @@
|
||||
"cchange74": "reagiu com",
|
||||
"cchange75": "Carregando anexo. Isso pode levar até um minuto.",
|
||||
"cchange76": "Excluindo anexo. Isso pode levar até um minuto.",
|
||||
"cchange77": "O tamanho do anexo excede 1 MB",
|
||||
"cchange77": "O tamanho do anexo excede 10 MB",
|
||||
"cchange78": "Tem certeza que deseja excluir esta imagem?",
|
||||
"cchange79": "Tem certeza que deseja excluir este anexo?",
|
||||
"cchange80": "Esta imagem foi apagada",
|
||||
@ -852,7 +856,24 @@
|
||||
"cchange94": "carregado",
|
||||
"cchange95": "Somente meus recursos",
|
||||
"cchange96": "Gerenciamento de grupo aberto",
|
||||
"cchange97": "Link para entrar no grupo copiado para a área de transferência"
|
||||
"cchange97": "Link para entrar no grupo copiado para a área de transferência",
|
||||
"cchange98": "Enviando arquivo. Isso pode levar alguns minutos.",
|
||||
"cchange99": "Excluindo arquivo. Isso pode levar até um minuto.",
|
||||
"cchange100": "Tamanho do arquivo excede 125 MB",
|
||||
"cchange101": "Tem certeza que deseja excluir este arquivo?",
|
||||
"cchange102": "Este arquivo foi excluído",
|
||||
"cchange103": "Enviando gif. Isso pode levar até um minuto.",
|
||||
"cchange104": "Excluindo gif. Isso pode levar até um minuto.",
|
||||
"cchange105": "Tamanho do arquivo excede 3 MB",
|
||||
"cchange106": "Tem certeza que deseja excluir este gif?",
|
||||
"cchange107": "Este gif foi excluído",
|
||||
"cchange108": "O download continuará em segundo plano, apenas UM arquivo Q-Chat pode ser baixado simultaneamente.",
|
||||
"cchange109": "Tipo de arquivo não suportado!",
|
||||
"cchange110": "CARREGAR IMAGEM",
|
||||
"cchange111": "CARREGAR GIF",
|
||||
"cchange112": "UPLOAD DE ANEXO",
|
||||
"cchange113": "CARREGAR ARQUIVO",
|
||||
"cchange114": "Escreva algo ..."
|
||||
},
|
||||
"welcomepage": {
|
||||
"wcchange1": "Bem-vindo ao Q-Chat",
|
||||
@ -944,7 +965,19 @@
|
||||
"gchange56": "Nome do grupo para pesquisar",
|
||||
"gchange57": "Nome do grupo privado não encontrado",
|
||||
"gchange58": "Observe que o nome do grupo deve corresponder exatamente.",
|
||||
"gchange59": "Mostrar / Ocultar Ticker"
|
||||
"gchange59": "Mostrar / Ocultar Ticker",
|
||||
"gchange60": "Insira o nome do grupo",
|
||||
"gchange61": "Por favor, insira a descrição",
|
||||
"gchange62": "Tem certeza de que vai ATUALIZAR este grupo?",
|
||||
"gchange63": "Ao pressionar CONFIRMAR, a solicitação de UPDATE_GROUP será enviada!",
|
||||
"gchange64": "Proprietário Atual / Novo Proprietário",
|
||||
"gchange65": "Substitua este endereço para TRANSFERIR PROPRIEDADE do grupo!",
|
||||
"gchange66": "Endereço de proprietário / novo proprietário inválido",
|
||||
"gchange67": "ATUALIZAÇÃO DO Grupo bem-sucedida!",
|
||||
"gchange68": "Definir avatar do grupo",
|
||||
"gchange69": "Mensagens",
|
||||
"gchange70": "Nenhuma mensagem nas últimas 24 horas!",
|
||||
"gchange71": "Você já entrou neste grupo!"
|
||||
},
|
||||
"puzzlepage": {
|
||||
"pchange1": "Enigmas",
|
||||
@ -1287,5 +1320,104 @@
|
||||
"tour20": "blocos atrás. Gostaria de atualizar (inicializar) para acelerar o processo de sincronização?",
|
||||
"tour21": "blocos restantes.",
|
||||
"tour22": "Atualização (bootstrap) solicitada. Aguarde."
|
||||
},
|
||||
"chatsettings": {
|
||||
"cs1": "Configurações de bate-papo",
|
||||
"cs2": "Configurações gerais de bate-papo",
|
||||
"cs3": "Data e hora da mensagem de bate-papo",
|
||||
"cs4": "Tempo atrás",
|
||||
"cs5": "Hora Local",
|
||||
"cs6": "Tamanho da fonte da mensagem de bate-papo",
|
||||
"cs7": "Padrão",
|
||||
"cs8": "px"
|
||||
},
|
||||
"modals": {
|
||||
"mpchange1": "Todos os AT solicitados necessitam de ser do mesmo Blockchain estrangeiro.",
|
||||
"mpchange2": "Dá permissão a esta aplicação para realizar um pedido de compra?",
|
||||
"mpchange3": "Ordem de compra criada com sucesso",
|
||||
"mpchange4": "Por favor aguarde até que o pedido de compra seja atendido",
|
||||
"mpchange5": "Falha ao enviar ordem de compra.",
|
||||
"mpchange6": "Dá permissão a esta aplicação para realizar uma ordem de venda?",
|
||||
"mpchange7": "Para:",
|
||||
"mpchange8": "Ordem de venda criada com sucesso.",
|
||||
"mpchange9": "Por favor aguarde até que a ordem de venda seja listada.",
|
||||
"mpchange10": "Falha ao enviar pedido de venda.",
|
||||
"mpchange11": "Não foi possível encontrar informação de AT.",
|
||||
"mpchange12": "Dá permissão a esta aplicação para cancelar um pedido de venda?",
|
||||
"mpchange13": "Ordem de venda cancelada com sucesso.",
|
||||
"mpchange14": "Aguarde até que o cancelamento da negociação esteja concluído.",
|
||||
"mpchange15": "Falha ao cancelar encomenda de venda.",
|
||||
"mpchange16": "Erro ao recuperar lista.",
|
||||
"mpchange17": "Erro ao adicionar à lista.",
|
||||
"mpchange18": "Erro na lista de exclusão.",
|
||||
"mpchange19": "Erro ao recuperar lista de amigos.",
|
||||
"mpchange20": "A contagem não é um número.",
|
||||
"mpchange21": "Contagem em falta.",
|
||||
"mpchange22": "Não foram enviados dados ou ficheiros.",
|
||||
"mpchange23": "Criptografar dados requer chaves públicas.",
|
||||
"mpchange24": "Apenas os dados encriptados podem entrar em serviços privados.",
|
||||
"mpchange25": "Falha no upload devido a falha na encriptação.",
|
||||
"mpchange26": "Falha no upload.",
|
||||
"mpchange27": "Dados inválidos.",
|
||||
"mpchange28": "Nenhum recurso para publicar.",
|
||||
"mpchange29": "Erro desconhecido.",
|
||||
"mpchange30": "Sondagem não encontrada.",
|
||||
"mpchange31": "Falha ao votar na sondagem.",
|
||||
"mpchange32": "Falha ao criar sondagem.",
|
||||
"mpchange33": "Por favor insira um link qortal - qortal://...",
|
||||
"mpchange34": "Link qortal inválido.",
|
||||
"mpchange35": "Erro ao enviar notificação.",
|
||||
"mpchange36": "Não foi possível enviar a mensagem.",
|
||||
"mpchange37": "Não é possível enviar uma mensagem encriptada a este utilizador porque não tem a sua chave pública na cadeia.",
|
||||
"mpchange38": "O pedido não pôde ser atendido.",
|
||||
"mpchange39": "Grupo não encontrado.",
|
||||
"mpchange40": "Dá permissão a esta aplicação para realizar um pedido de adesão ao grupo?",
|
||||
"mpchange41": "Nome do grupo:",
|
||||
"mpchange42": "ID do grupo:",
|
||||
"mpchange43": "Pedido de adesão ao grupo criado com sucesso.",
|
||||
"mpchange44": "Falha ao entrar no grupo.",
|
||||
"mpchange45": "Um tipo mime não pôde ser derivado.",
|
||||
"mpchange46": "Não foi possível derivar uma extensão de ficheiro.",
|
||||
"mpchange47": "O utilizador recusou o download.",
|
||||
"mpchange48": "Falha ao iniciar o download.",
|
||||
"mpchange49": "Falha ao implantar AT.",
|
||||
"mpchange50": "Utilizador não tem perfil.",
|
||||
"mpchange51": "Não foi possível encontrar os dados solicitados.",
|
||||
"mpchange52": "Falha ao obter os dados do perfil.",
|
||||
"mpchange53": "Falha ao definir a propriedade.",
|
||||
"mpchange54": "Falha ao abrir perfil.",
|
||||
"mpchange55": "Erro ao recuperar informação do servidor.",
|
||||
"mpchange56": "Erro no resumo da atividade tx.",
|
||||
"mpchange57": "Erro ao obter taxa estrangeira.",
|
||||
"mpchange58": "Erro na atualização da taxa estrangeira.",
|
||||
"mpchange59": "Erro ao obter o histórico de ligação do servidor.",
|
||||
"mpchange60": "Erro ao configurar o servidor atual.",
|
||||
"mpchange61": "Erro ao adicionar servidor.",
|
||||
"mpchange62": "Erro ao remover servidor.",
|
||||
"mpchange63": "Erro ao recuperar o resumo.",
|
||||
"mpchange64": "Falha ao descodificar a transação.",
|
||||
"mpchange65": "Dá permissão a esta aplicação para assinar e processar uma transação?",
|
||||
"mpchange66": "Dá permissão a esta aplicação para assinar uma transação?",
|
||||
"mpchange67": "Leia a transação com atenção antes de aceitar.",
|
||||
"mpchange68": "Tipo de transmissão:",
|
||||
"mpchange69": "Dados TX:",
|
||||
"mpchange70": "A transação do processo não foi solicitada.",
|
||||
"mpchange71": "Os Bytes assinados são: ",
|
||||
"mpchange72": "Transação assinada e processada com sucesso.",
|
||||
"mpchange73": "A transação não pôde ser processada.",
|
||||
"mpchange74": "Falha ao pesquisar saldo QORT. Tente novamente!",
|
||||
"mpchange75": "Não foi possível enviar moeda.",
|
||||
"mpchange76": "Falha ao pesquisar saldo BTC. Tente novamente!",
|
||||
"mpchange77": "Falha ao pesquisar saldo LTC. Tente novamente!",
|
||||
"mpchange78": "Falha ao pesquisar saldo DOGE. Tente novamente!",
|
||||
"mpchange79": "Falha ao pesquisar saldo DGB. Tente novamente!",
|
||||
"mpchange80": "Falha ao pesquisar saldo RVN. Tente novamente!",
|
||||
"mpchange81": "Falha ao pesquisar saldo ARRR. Tente novamente!",
|
||||
"mpchange82": "Campos em falta",
|
||||
"mpchange83": "RECLINADO",
|
||||
"mpchange84": "FALHA",
|
||||
"mpchange85": "SUCESSO",
|
||||
"mpchange86": "Permitir sempre obter saldo da carteira automaticamente",
|
||||
"mpchange87": "Por favor introduza o ID do grupo"
|
||||
}
|
||||
}
|
||||
|
@ -8,6 +8,7 @@
|
||||
"dutch": "Olandez",
|
||||
"english": "Engleza",
|
||||
"estonian": "Estonian",
|
||||
"finnish": "Finlandez",
|
||||
"french": "Franceza",
|
||||
"german": "Germana",
|
||||
"hindi": "Hindi",
|
||||
@ -79,7 +80,7 @@
|
||||
"tm32": "Acest cont nu urmărește niciun utilizator",
|
||||
"tm33": "Meniu Filă Import",
|
||||
"tm34": "Meniu File Export",
|
||||
"tm35": "Meniul de file existent va fi șters și setat la meniul de file încărcat.",
|
||||
"tm35": "Meniul de file existent va fi șters și setat la meniul de file importat.",
|
||||
"tm36": "Meniul Tab a fost restaurat cu succes",
|
||||
"tm37": "Meniul Tab a fost salvat cu succes ca",
|
||||
"tm38": "MOD DEV",
|
||||
@ -97,42 +98,42 @@
|
||||
"youraccounts": "Conturile tale",
|
||||
"clickto": "Fa click pe Contul tau pentru a te conecta cu el",
|
||||
"needcreate": "Trebuie sa iti creezi sau sa salvezi un cont inainte de a te conecta!",
|
||||
"upload": "Urca copia de siguranta Qortal",
|
||||
"upload": "Importați fișierul de rezervă Qortal",
|
||||
"howlogin": "Cum doresti sa te conectezi?",
|
||||
"seed": "frazainitiala",
|
||||
"seedphrase": "frazainitiala",
|
||||
"saved": "Cont salvat",
|
||||
"qora": "Adresa initiala Qora",
|
||||
"backup": "Copia de siguranta a portofelului Qortal",
|
||||
"decrypt": "Decriptare copie de siguranta",
|
||||
"qora": "Adresa initiala QORA",
|
||||
"backup": "Fișier de rezervă Qortal",
|
||||
"decrypt": "Decriptați fișierul de rezervă",
|
||||
"save": "Salveaza in acest browser.",
|
||||
"prepare": "Se pregateste Contul tau",
|
||||
"areyousure": "Sunteti sigur ca doriti sa eliminati acest portofel din portofelele salvate?",
|
||||
"areyousure": "Sigur doriți să eliminați acest cont din conturile salvate? (Dacă este eliminat și nu există niciun fișier de rezervă, contul poate fi pierdut pentru totdeauna! Asigurați-vă că aveți un fișier de rezervă înainte de a face acest lucru!)",
|
||||
"error1": "Backup-ul trebuie sa fie JSON valid",
|
||||
"error2": "Optiunea de conectare nu este selectata",
|
||||
"createwelcome": "Bine ai venit la Qortal, vei descoperi ca este similar cu un joc RPG, tu, ca minter in reteaua Qortal (daca alegi sa devii unul), vei avea sansa de a-ti creste nivelul contului tau, oferindu-ti deopotiva o recompensa mai mare din blocul QORT, cat si o influenta mai mare asupra retelei in ceea ce priveste votul asupra deciziilor pentru platforma.",
|
||||
"createwelcome": "Bun venit la Qortal! Viitorul tău digital descentralizat te așteaptă! Dvs. și numai dvs. aveți control deplin asupra datelor dvs. de pe Qortal. Qortal oferă infrastructura unei lumi digitale noi și complet controlate de utilizator.",
|
||||
"createa": "A",
|
||||
"click": "Da click pentru a vedea fraza initiala",
|
||||
"confirmpass": "Confirma Parola",
|
||||
"willbe": "va fi generata aleatoriu in fundal. Aceasta este utilizata ca generator de cheie privata pentru contul tau blockchain din Qortal.",
|
||||
"willbe": "va fi generat aleatoriu în fundal. Dacă doriți să VEZI fraza inițială, faceți clic pe „fraza inițială” evidențiată în acest text. Acesta este folosit ca generator de chei private pentru contul blockchain din Qortal. Pentru securitate, în mod implicit, frazele de bază nu sunt afișate decât dacă sunt alese în mod special.",
|
||||
"clicknext": "Creaza-ti contul Qortal apasand butonul INAINTE.",
|
||||
"ready": "Contul dvs. este acum gata sa fie creat. Acesta va fi salvat in acest browser. Daca nu doriti ca noul dvs. cont sa fie salvat in browserul dvs., puteti debifa caseta de mai jos. Veti putea in continuare sa va conectati cu noul dvs. cont (dupa ce va deconectati), utilizand fisierul de backup al portofelului pe care TREBUIE sa il descarcati dupa ce va creati contul.",
|
||||
"ready": "Contul dvs. este acum gata pentru a fi creat. Acesta va fi salvat în această copie a Qortal UI în mod implicit, în formă criptată. Dacă nu doriți ca noul dvs. cont să fie salvat aici, puteți debifa caseta de mai jos. Veți putea în continuare să vă conectați cu noul cont (după deconectare), folosind fișierul de rezervă al portofelului, pe care TREBUIE să-l descărcați după ce vă creați contul.",
|
||||
"welmessage": "Bine ai venit in Qortal",
|
||||
"pleaseenter": "Te rog introdu o parola!",
|
||||
"notmatch": "Parola nu corespunde!",
|
||||
"lessthen8": "Parola ta are mai putin de 5 caractere! Acest lucru nu este recomandat. Poti continua sa ignori acest avertisment.",
|
||||
"lessthen8-2": "Parola ta are mai putin de 5 caractere!",
|
||||
"entername": "Te rog introdu un Nume!",
|
||||
"downloaded": "Copia de siguranta a portofelului este descarcata!",
|
||||
"entername": "Vă rugăm să introduceți un nume afișat!",
|
||||
"downloaded": "Fișierul dvs. Qortal Backup a fost salvat!",
|
||||
"loading": "Se incarca. Va rugam asteptati...",
|
||||
"createdseed": "Fraza initiala personala creata",
|
||||
"saveseed": "Salveaza fraza initiala",
|
||||
"savein": "Salveaza in browser",
|
||||
"backup2": "Acest fisier este SINGURA modalitate de a-ti accesa contul pe un sistem care nu il are salvat in aplicatie/browser. ASIGURA-TE CA FACI O COPIE DE REZERVA A ACESTUI FISIER IN MAI MULTE LOCURI. Fisierul este criptat foarte sigur si decriptat cu parola locala pe care ai creat-o in pasul anterior. Il poti salva oriunde in siguranta, dar asigura-te ca faci acest lucru in mai multe locatii.",
|
||||
"savewallet": "Salveaza copia de siguranta a Portofelului",
|
||||
"savein": "Salvați în această interfață de utilizare",
|
||||
"backup2": "Acest fișier este SINGURA modalitate (în mod implicit) de a vă accesa contul, cu excepția cazului în care este salvat în UI. ASIGURAȚI-VĂ CĂ FACEȚI BACKUP ACEST FIȘIER ÎN MULTE LOCURI. Fișierul este criptat foarte sigur și decriptat cu parola dvs. locală pe care ați creat-o la pasul anterior. Îl puteți salva oriunde în siguranță, dar asigurați-vă că faceți acest lucru în mai multe locații.",
|
||||
"savewallet": "Salvați fișierul de rezervă Qortal",
|
||||
"created1": "Contul tau este acum creat",
|
||||
"created2": "si va fi salvat in acest browser.",
|
||||
"downloadbackup": "Descarca copia de siguranta a Portofelului",
|
||||
"created2": " și salvat în această interfață de utilizare în formă criptată.",
|
||||
"downloadbackup": "Salvați fișierul Qortal BackUp",
|
||||
"passwordhint": "O parola trebuie sa aiba cel putin 5 caractere.",
|
||||
"lp1": "Ecran de blocare",
|
||||
"lp2": "Nu este setată nicio parolă pentru ecranul de blocare!",
|
||||
@ -162,8 +163,8 @@
|
||||
"confirmlogout": "Esti sigur ca vrei sa te deconectezi?"
|
||||
},
|
||||
"fragfile": {
|
||||
"selectfile": "Selecteaza fisier",
|
||||
"dragfile": "Trage si elibereaza fisierul de backup aici"
|
||||
"selectfile": "Selectați fișierul de rezervă",
|
||||
"dragfile": "Trageți și plasați sau faceți clic aici pentru a selecta fișierul de rezervă"
|
||||
},
|
||||
"settings": {
|
||||
"generalinfo": "Informatii generale despre cont",
|
||||
@ -180,9 +181,8 @@
|
||||
"notifications": "Notificari",
|
||||
"accountsecurity": "Securitatea contului",
|
||||
"password": "Parola",
|
||||
"download": "Descarca copia de siguranta",
|
||||
"download": "Exportați/Salvați fișierul de rezervă Qortal",
|
||||
"choose": "Va rugam sa alegeti o parola cu care sa va criptati copia de rezerva. (Aceasta poate fi aceeasi cu cea cu care v-ati logat sau diferita)",
|
||||
"block": "Blocare notificari (Disponibil in curand...)",
|
||||
"playsound": "Redare sunet",
|
||||
"shownotifications": "Arata notificarile",
|
||||
"nodeurl": "Adresa url a nodului",
|
||||
@ -192,8 +192,8 @@
|
||||
"protocol": "Protocol",
|
||||
"domain": "Domeniu",
|
||||
"port": "Port",
|
||||
"import": "Import Noduri",
|
||||
"export": "Export Noduri",
|
||||
"import": "Import Noduri salvate",
|
||||
"export": "Export Noduri salvate",
|
||||
"deletecustomnode": "Eliminati toate nodurile personalizate",
|
||||
"warning": "Nodurile dvs. existente vor fi sterse si din backup vor fi create noi.",
|
||||
"snack1": "Noduri standard au fost sterse si adaugate cu succes",
|
||||
@ -203,17 +203,18 @@
|
||||
"snack5": "Nodurile au fost importate cu succes",
|
||||
"snack6": "Nodul personalizat a fost eliminat cu succes",
|
||||
"snack7": "Nodul personalizat a fost editat cu succes",
|
||||
"exp1": "Exportați cheia principală privată",
|
||||
"exp1": "Exportați cheia privată principală (xpriv)",
|
||||
"exp2": "Exportați cheia principală",
|
||||
"exp3": "Export",
|
||||
"exp4": "Vă rugăm să alegeți un portofel pentru a face backup cheii master private.",
|
||||
"core": "Porniți setările de bază",
|
||||
"core": "Setări Qortal de pornire automată",
|
||||
"qappNotification1": "Notificări Q-App",
|
||||
"selectnode": "Vă rugăm să selectați o opțiune",
|
||||
"arrr1": "Portoletul ARRR nu este inițializat !",
|
||||
"arrr2": "Vă rugăm să accesați fila Portofel și să inițializați mai întâi portofelul arrr.",
|
||||
"arrr2": "Accesați „Portofele” și accesați portofelul ARRR pentru a inițializa mai întâi portofelul",
|
||||
"arrr3": "Am nevoie de actualizare de bază !",
|
||||
"arrr4": "Pentru a salva cheia privată a portofelului dvs. arrr, aveți nevoie mai întâi de o actualizare de bază !"
|
||||
"arrr4": "Pentru a salva cheia privată a portofelului dvs. ARRR, trebuie mai întâi să actualizați Qortal Core!",
|
||||
"sync_indicator": "Dezactivați fereastra pop-up indicator de sincronizare"
|
||||
},
|
||||
"appinfo": {
|
||||
"blockheight": "Dimensiunea blocului",
|
||||
@ -247,7 +248,9 @@
|
||||
"balance": "Credit",
|
||||
"balances": "SOLDELE PORTOTELULUI DVS",
|
||||
"update": "ACTUALIZAȚI SOLDELE PORTOTELULUI",
|
||||
"view": "Vedere"
|
||||
"view": "Vedere",
|
||||
"all": "Toate",
|
||||
"page": "Pagină"
|
||||
},
|
||||
"gifs": {
|
||||
"gchange1": "Explorator GIF",
|
||||
@ -282,8 +285,8 @@
|
||||
},
|
||||
"startminting": {
|
||||
"smchange1": "Nu se pot prelua conturile de batere",
|
||||
"smchange2": "Cheia nu a fost eliminata",
|
||||
"smchange3": "Nu s-a putut adauga cheia de batere",
|
||||
"smchange2": "Nu s-a putut elimina cheia Minting",
|
||||
"smchange3": "Nu s-a putut adăuga cheia de batere, dacă cheia tocmai a fost creată, încercați să așteptați câteva blocuri și să adăugați din nou",
|
||||
"smchange4": "Nu se poate crea cheia de sponsorizare",
|
||||
"smchange5": "Crearea unei relatii",
|
||||
"smchange6": "Se asteapta confirmarea pe blockchain",
|
||||
@ -465,7 +468,7 @@
|
||||
"rchange6": "Destinatar",
|
||||
"rchange7": "Actiune",
|
||||
"rchange8": "Tip",
|
||||
"rchange9": "Nivelurile 1 - 4 pot crea un cota personala de recompensare, iar nivelul 5 sau mai sus pot crea o Cota de Recompensare!",
|
||||
"rchange9": "Nivelurile 0 - 4 pot crea un cota personala de recompensare, iar nivelul 5 sau mai sus pot crea o Cota de Recompensare!",
|
||||
"rchange10": "Cheia publica a destinatarului",
|
||||
"rchange11": "Procentul cotei de recompensa",
|
||||
"rchange12": "Se produce ceva delicios",
|
||||
@ -506,7 +509,7 @@
|
||||
"nchange23": "Preț de vânzare",
|
||||
"nchange24": "Fără nume de vândut",
|
||||
"nchange25": "Nume de vândut",
|
||||
"nchange26": "Sunteți sigur că veți vinde acest nume?",
|
||||
"nchange26": "Ești sigur că vrei să vinzi acest nume? Dacă un alt utilizator cumpără numele, toate datele publicate după nume nu vor putea fi editate de dvs.!",
|
||||
"nchange27": "Pentru acest preț în QORT",
|
||||
"nchange28": "La apăsarea confirmării, cererea de nume de vânzare va fi trimisă!",
|
||||
"nchange29": "Nume de anulat",
|
||||
@ -739,7 +742,8 @@
|
||||
"bchange51": "Pentru a trimite modificările nu uitați să faceți clic pe Actualizați profilul",
|
||||
"bchange52": "Dați această aplicație permisiunea de a obține informațiile despre portofel?",
|
||||
"bchange53": "Permiteți întotdeauna ca lista de prieteni să fie preluată automat de toate aplicațiile",
|
||||
"bchange54": "Acordați acestei aplicații permisiunea de a vă accesa lista de prieteni?"
|
||||
"bchange54": "Acordați acestei aplicații permisiunea de a vă accesa lista de prieteni?",
|
||||
"bchange55": "Oferiți acestei aplicații permisiunea de a trimite această comandă?"
|
||||
},
|
||||
"datapage": {
|
||||
"dchange1": "Gestionare date",
|
||||
@ -839,7 +843,7 @@
|
||||
"cchange74": "a reacționat cu",
|
||||
"cchange75": "Se încarcă atașamentul. Aceasta poate dura până la un minut.",
|
||||
"cchange76": "Se șterge atașamentul. Aceasta poate dura până la un minut.",
|
||||
"cchange77": "Dimensiunea atașamentului depășește 1 MB",
|
||||
"cchange77": "Dimensiunea atașamentului depășește 10 MB",
|
||||
"cchange78": "Sunteți sigur că doriți să ștergeți această imagine?",
|
||||
"cchange79": "Sunteți sigur că doriți să ștergeți acest atașament?",
|
||||
"cchange80": "Această imagine a fost ștearsă",
|
||||
@ -852,7 +856,24 @@
|
||||
"cchange94": "încărcat",
|
||||
"cchange95": "Numai resursele mele",
|
||||
"cchange96": "Deschideți managementul grupului",
|
||||
"cchange97": "Linkul de alaturare grupului a fost copiat in clipboard"
|
||||
"cchange97": "Linkul de alaturare grupului a fost copiat in clipboard",
|
||||
"cchange98": "Se încarcă fișierul. Aceasta poate dura câteva minute.",
|
||||
"cchange99": "Ștergerea fișierului. Aceasta poate dura până la un minut.",
|
||||
"cchange100": "Dimensiunea fișierului depășește 125 MB",
|
||||
"cchange101": "Sunteți sigur că doriți să ștergeți acest fișier?",
|
||||
"cchange102": "Acest fișier a fost șters",
|
||||
"cchange103": "Încărcarea GIF-ului. Aceasta poate dura până la un minut.",
|
||||
"cchange104": "Ștergerea GIF-ului. Aceasta poate dura până la un minut.",
|
||||
"cchange105": "Dimensiunea fișierului depășește 3 MB",
|
||||
"cchange106": "Sunteți sigur că doriți să ștergeți acest gif?",
|
||||
"cchange107": "Acest gif a fost șters",
|
||||
"cchange108": "Descărcarea va continua în fundal, un singur fișier Q-Chat poate fi descărcat simultan.",
|
||||
"cchange109": "Tipul de fișier nu este acceptat!",
|
||||
"cchange110": "ÎNCĂRCARE IMAGINEA",
|
||||
"cchange111": "ÎNCĂRCARE GIF",
|
||||
"cchange112": "ÎNCĂRCARE AATAșAMENT",
|
||||
"cchange113": "ÎNCĂRCARE FIȘIER",
|
||||
"cchange114": "Scrie ceva ..."
|
||||
},
|
||||
"welcomepage": {
|
||||
"wcchange1": "Bine ai venit la Q-Chat",
|
||||
@ -944,7 +965,19 @@
|
||||
"gchange56": "Numele grupului de căutat",
|
||||
"gchange57": "Numele grupului privat nu a fost găsit",
|
||||
"gchange58": "Rețineți că numele grupului trebuie să se potrivească exact.",
|
||||
"gchange59": "Afișează / Ascunde Ticker"
|
||||
"gchange59": "Afișează / Ascunde Ticker",
|
||||
"gchange60": "Vă rugăm să introduceți numele grupului",
|
||||
"gchange61": "Vă rugăm să introduceți descrierea",
|
||||
"gchange62": "Sunteți sigur că actualizați acest grup?",
|
||||
"gchange63": "La apăsarea butonului CONFIRM, va fi trimisă solicitarea UPDATE_GROUP!",
|
||||
"gchange64": "Proprietar actual / Proprietar nou",
|
||||
"gchange65": "Înlocuiți această adresă la TRANSFERAȚI PROPRIETATEA grupului!",
|
||||
"gchange66": "Adresa proprietarului / proprietarului nou nevalidă",
|
||||
"gchange67": "UPDATE de grup Reușit!",
|
||||
"gchange68": "Set Avatar grup",
|
||||
"gchange69": "Mesaje",
|
||||
"gchange70": "Niciun mesaj în ultimele 24 de ore!",
|
||||
"gchange71": "Te-ai alaturat deja acestui grup!"
|
||||
},
|
||||
"puzzlepage": {
|
||||
"pchange1": "Puzzle-uri",
|
||||
@ -1287,5 +1320,104 @@
|
||||
"tour20": "se blochează în urmă. Doriți să reîmprospătați (bootstrap) pentru a accelera procesul de sincronizare?",
|
||||
"tour21": "blocuri rămase.",
|
||||
"tour22": "Reîmprospătare (bootstrap) solicitată. Vă rugăm să așteptați."
|
||||
},
|
||||
"chatsettings": {
|
||||
"cs1": "Setări chat",
|
||||
"cs2": "Setări generale de chat",
|
||||
"cs3": "Marca temporală a mesajului de chat",
|
||||
"cs4": "Timp în urmă",
|
||||
"cs5": "Ora locală",
|
||||
"cs6": "Dimensiunea fontului mesajului de chat",
|
||||
"cs7": "Standard",
|
||||
"cs8": "px"
|
||||
},
|
||||
"modals": {
|
||||
"mpchange1": "Toate AT-urile solicitate trebuie să fie din același Blockchain străin.",
|
||||
"mpchange2": "Acordați acestei aplicații permisiunea de a efectua o comandă de cumpărare?",
|
||||
"mpchange3": "Comandă de cumpărare creată cu succes",
|
||||
"mpchange4": "Vă rugăm să așteptați până când comanda de cumpărare este îndeplinită",
|
||||
"mpchange5": "Eșuat la trimiterea comenzii de cumpărare.",
|
||||
"mpchange6": "Dați această aplicație permisiunea de a efectua o comandă de vânzare?",
|
||||
"mpchange7": "Pentru:",
|
||||
"mpchange8": "Comandă de vânzare creată cu succes.",
|
||||
"mpchange9": "Vă rugăm să așteptați până când ordinul de vânzare este afișat.",
|
||||
"mpchange10": "Eșuat la trimiterea comenzii de vânzare.",
|
||||
"mpchange11": "Nu pot găsi informațiile AT.",
|
||||
"mpchange12": "Dați această aplicație permisiunea de a efectua anularea unei comenzi de vânzare?",
|
||||
"mpchange13": "Comanda de vânzare a fost anulată cu succes.",
|
||||
"mpchange14": "Vă rugăm să așteptați până când anularea tranzacției este îndeplinită.",
|
||||
"mpchange15": "Anularea comenzii de vânzare a eșuat.",
|
||||
"mpchange16": "Eroare la preluarea listei.",
|
||||
"mpchange17": "Eroare la adăugarea la listă.",
|
||||
"mpchange18": "Eroare în lista de ștergere.",
|
||||
"mpchange19": "Eroare la preluarea listei de prieteni.",
|
||||
"mpchange20": "Numărul nu este un număr.",
|
||||
"mpchange21": "Numărul lipsește.",
|
||||
"mpchange22": "Nu au fost trimise date sau fișiere.",
|
||||
"mpchange23": "Criptarea datelor necesită chei publice.",
|
||||
"mpchange24": "Numai datele criptate pot intra în serviciile private.",
|
||||
"mpchange25": "Încărcarea a eșuat din cauza criptării eșuate.",
|
||||
"mpchange26": "Încărcarea a eșuat.",
|
||||
"mpchange27": "Date nevalide.",
|
||||
"mpchange28": "Nu există resurse de publicat.",
|
||||
"mpchange29": "Eroare necunoscută.",
|
||||
"mpchange30": "Sondajul nu a fost găsit.",
|
||||
"mpchange31": "Nu am votat la sondaj.",
|
||||
"mpchange32": "Nu s-a creat sondajul.",
|
||||
"mpchange33": "Vă rugăm să introduceți un link qortal - qortal://...",
|
||||
"mpchange34": "Link nevalid qortal.",
|
||||
"mpchange35": "Eroare la trimiterea notificării.",
|
||||
"mpchange36": "Nu s-a putut trimite mesajul.",
|
||||
"mpchange37": "Nu se poate trimite un mesaj criptat acestui utilizator deoarece nu are cheia publică în lanț.",
|
||||
"mpchange38": "Solicitarea nu a putut fi îndeplinită.",
|
||||
"mpchange39": "Grupul nu a fost găsit.",
|
||||
"mpchange40": "Acordați acestei aplicații permisiunea de a efectua o solicitare de alăturare a unui grup?",
|
||||
"mpchange41": "Numele grupului:",
|
||||
"mpchange42": "ID grup:",
|
||||
"mpchange43": "Solicitarea de alăturare a grupului a fost creată.",
|
||||
"mpchange44": "Nu s-a putut alătura grupului.",
|
||||
"mpchange45": "Un tip mime nu a putut fi derivat.",
|
||||
"mpchange46": "O extensie de fișier nu a putut fi derivată.",
|
||||
"mpchange47": "Utilizatorul a refuzat descărcarea.",
|
||||
"mpchange48": "Nu s-a inițiat descărcarea.",
|
||||
"mpchange49": "A eșuat la implementarea AT.",
|
||||
"mpchange50": "Utilizatorul nu are un profil.",
|
||||
"mpchange51": "Nu pot găsi datele solicitate.",
|
||||
"mpchange52": "Eșuat la obținerea datelor de profil.",
|
||||
"mpchange53": "Nu s-a putut seta proprietatea.",
|
||||
"mpchange54": "Nu s-a putut deschide profilul.",
|
||||
"mpchange55": "Eroare la preluarea informațiilor serverului.",
|
||||
"mpchange56": "Eroare în rezumatul activității tx.",
|
||||
"mpchange57": "Eroare la obținerea taxei străine.",
|
||||
"mpchange58": "Eroare la actualizarea taxei externe.",
|
||||
"mpchange59": "Eroare la obținerea istoricului conexiunilor la server.",
|
||||
"mpchange60": "Eroare la setarea serverului curent.",
|
||||
"mpchange61": "Eroare la adăugarea serverului.",
|
||||
"mpchange62": "Eroare la eliminarea serverului.",
|
||||
"mpchange63": "Eroare la preluarea rezumatului.",
|
||||
"mpchange64": "Nu s-a putut decoda tranzacția.",
|
||||
"mpchange65": "Acordați acestei aplicații permisiunea de a semna și procesa o tranzacție?",
|
||||
"mpchange66": "Acordați acestei aplicații permisiunea de a semna o tranzacție?",
|
||||
"mpchange67": "Citiți tranzacția cu atenție înainte de a accepta.",
|
||||
"mpchange68": "Tip Tx:",
|
||||
"mpchange69": "Date TX:",
|
||||
"mpchange70": "Procesul tranzacției nu a fost solicitat.",
|
||||
"mpchange71": "Octeții semnați sunt: ",
|
||||
"mpchange72": "Tranzacția a fost semnată și procesată cu succes.",
|
||||
"mpchange73": "Tranzacția nu a putut fi procesată.",
|
||||
"mpchange74": "Preluarea soldului QORT a eșuat. Încercați din nou!",
|
||||
"mpchange75": "Nu s-a putut trimite moneda.",
|
||||
"mpchange76": "Preluarea soldului BTC a eșuat. Încercați din nou!",
|
||||
"mpchange77": "Preluarea soldului LTC a eșuat. Încercați din nou!",
|
||||
"mpchange78": "Preluarea soldului DOGE a eșuat. Încercați din nou!",
|
||||
"mpchange79": "Preluarea soldului DGB a eșuat. Încercați din nou!",
|
||||
"mpchange80": "Preluarea soldului RVN a eșuat. Încercați din nou!",
|
||||
"mpchange81": "Preluarea soldului ARRR a eșuat. Încercați din nou!",
|
||||
"mpchange82": "CÂMPURI LIPSĂ",
|
||||
"mpchange83": "RESFUS",
|
||||
"mpchange84": "Eșec",
|
||||
"mpchange85": "SUCCES",
|
||||
"mpchange86": "Permiteți întotdeauna obținerea automată a soldului portofelului",
|
||||
"mpchange87": "Vă rugăm să introduceți ID-ul grupului"
|
||||
}
|
||||
}
|
||||
|
@ -8,6 +8,7 @@
|
||||
"dutch": "Holandski",
|
||||
"english": "Engleski",
|
||||
"estonian": "Estonski",
|
||||
"finnish": "Finski",
|
||||
"french": "Francuski",
|
||||
"german": "Nemački",
|
||||
"hindi": "Hindi",
|
||||
@ -79,7 +80,7 @@
|
||||
"tm32": "Ovaj nalog ne prati nijednog korisnika",
|
||||
"tm33": "Meni kartice za uvoz",
|
||||
"tm34": "Izvoz meni kartice",
|
||||
"tm35": "Vaš postojeći meni kartica će biti obrisan i postavljen na meni za otpremljene kartice.",
|
||||
"tm35": "Vaš postojeći meni kartica će biti izbrisan i postavljen na uvezeni meni kartica.",
|
||||
"tm36": "Meni kartice je uspešno vraćen",
|
||||
"tm37": "Meni kartice je uspešno sačuvan kao",
|
||||
"tm38": "DEV MODE",
|
||||
@ -97,26 +98,26 @@
|
||||
"youraccounts": "Tvoji nalozi",
|
||||
"clickto": "Kliknite na nalog sa kojim želite da se prijavite",
|
||||
"needcreate": "Morate napraviti ili sačuvati nalog pre mogućnosti prijavljivanja!",
|
||||
"upload": "Ubacite vašu rezervnu kopiju Qortala",
|
||||
"upload": "Uvezite Qortal datoteku rezervne kopije",
|
||||
"howlogin": "Kako bi ste želeli da se prijavite?",
|
||||
"seed": "Semenska fraza",
|
||||
"seedphrase": "semenskafraza",
|
||||
"saved": "Sačuvani nalog",
|
||||
"qora": "Seme Qora adrese",
|
||||
"qora": "Seme QORA adrese",
|
||||
"backup": "Rezervna kopija Qortal novčanika",
|
||||
"decrypt": "Dešifrovanje rezervne kopije",
|
||||
"save": "Sačuvajte u ovom pretraživaču.",
|
||||
"prepare": "Vaš Nalog se priprema",
|
||||
"areyousure": "Da li ste sigurni da želite da izbrišete ovaj novčanik sa liste sačuvanih novčanika?",
|
||||
"areyousure": "Da li ste sigurni da želite da uklonite ovaj nalog sa sačuvanih naloga? (Ako se ukloni i ne postoji datoteka rezervne kopije, nalog bi mogao biti izgubljen zauvek! Uverite se da imate rezervnu datoteku pre nego što to uradite!)",
|
||||
"error1": "Rezervna kopija mora biti ispravan JSON",
|
||||
"error2": "Opcija za prijavljivanje nije izabrana",
|
||||
"createwelcome": "Dobrodošli u Qortal, koji možete posmatrati kao RPG igru, gde ćete vi, kao minter na Qortal mreži (ako odlučite to postati) imati priliku da unapredite (izlevelujete) vaš nalog, i time steknete priliku da dobijate sve veću QORT nagradu po bloku, kao i veći uticaj na samoj platformi, kroz glasanje o raznim odlukama.",
|
||||
"createwelcome": "Dobrodošli u Qortal! Vaša decentralizovana digitalna budućnost vas čeka! Na Qortal-u vi i samo vi imate apsolutnu kontrolu nad svojim podacima. Qortal obezbeđuje infrastrukturu novog i potpuno individualno kontrolisanog digitalnog sveta!",
|
||||
"createa": "A",
|
||||
"click": "Kliknite ovde da biste videli semensku frazu",
|
||||
"confirmpass": "Potvrdite Lozinku",
|
||||
"willbe": "Biće nasumično generisano u pozadini. Ovo je generator ličnog ključa za vaš blockchain nalog u Qortalu.",
|
||||
"willbe": "će se nasumično generisati u pozadini. Ako želite da POGLEDATE početnu frazu, kliknite na označenu 'seedphrase' u ovom tekstu. Ovo se koristi kao generator privatnih ključeva za vaš blockchain nalog u Kortalu. Zbog bezbednosti se podrazumevano, seedphrase ne prikazuju osim ako nije posebno izabrano",
|
||||
"clicknext": "Napravite vaš Qortal nalog klikom na dugme DALJE ispod.",
|
||||
"ready": "Pravljenje vašeg naloga je spremno. Biće sačuvano u ovom pretraživaču. Ako ne želite da se vaš nov nalog sačuva u ovom pretraživaču, odčekirajte polje ispod. I dalje ćete moći da se prijavite sa vašim novim nalogom (posle odjavljivanja), korišćenjem datoteke sa rezervnom kopijom, koju MORATE skinuti čim napravite nalog.",
|
||||
"ready": "Vaš nalog je sada spreman za kreiranje. Podrazumevano će biti sačuvan u ovoj kopiji Qortal korisničkog interfejsa, u šifrovanom obliku. Ako ne želite da vaš novi nalog bude sačuvan ovde, možete da opozovete izbor u polju za potvrdu ispod. I dalje ćete moći da se prijavite sa svojim novim nalogom (nakon odjavljivanja), koristeći rezervnu datoteku novčanika koju MORATE da preuzmete kada kreirate nalog.",
|
||||
"welmessage": "Dobrodošli u Qortal",
|
||||
"pleaseenter": "Molim vas ukucajte lozinku!",
|
||||
"notmatch": "Lozinke se ne podudaraju!",
|
||||
@ -180,9 +181,8 @@
|
||||
"notifications": "Notifikacije",
|
||||
"accountsecurity": "Bezbednost Naloga",
|
||||
"password": "Lozinka",
|
||||
"download": "Skinite Datoteku Rezervne kopije",
|
||||
"download": "Izvezi/Sačuvaj datoteku rezervne kopije",
|
||||
"choose": "Molim vas izaberite lozinku sa kojom ćete šifrovati rezervnu kopiju. (Ovo može biti ista lozinka sa kojom se prijavljujete, a može biti i različita)",
|
||||
"block": "Blokirajte Notifikacije (Uskoro...)",
|
||||
"playsound": "Pustite Zvuk",
|
||||
"shownotifications": "Prikažite notifikacije",
|
||||
"nodeurl": "URL Čvora",
|
||||
@ -192,8 +192,8 @@
|
||||
"protocol": "Protokol",
|
||||
"domain": "Domena",
|
||||
"port": "Port",
|
||||
"import": "Uvoz Čvorova",
|
||||
"export": "Izvoz Čvorova",
|
||||
"import": "Uvoz sačuvane Čvorova",
|
||||
"export": "Izvoz sačuvane Čvorova",
|
||||
"deletecustomnode": "Uklonite sve prilagođene čvorove",
|
||||
"warning": "Vaši postojeći čvorovi će biti izbrisani, a iz rezervne kopije biće stvoreni novi.",
|
||||
"snack1": "Uspešno su izbrisani i dodati standardni čvorovi",
|
||||
@ -207,13 +207,14 @@
|
||||
"exp2": "Izvezi glavni ključ",
|
||||
"exp3": "Izvoz",
|
||||
"exp4": "Molimo izaberite novčanik za rezervnu kopiju privatnog glavnog ključa.",
|
||||
"core": "Pokreni podešavanja jezgra",
|
||||
"core": "Qortal podešavanja automatskog pokretanja",
|
||||
"qappNotification1": "Obaveštenja o Q-App",
|
||||
"selectnode": "Izaberite opciju",
|
||||
"arrr1": "ARRR novčanik nije inicijalizovan!",
|
||||
"arrr2": "Molim vas idite na karticu Novčanik i prvo inicijalizujte svoj arrr novčanik.",
|
||||
"arrr2": "Idite na karticu 'Vallets' i pristupite ARRR novčaniku da biste prvo inicijalizovali novčanik.",
|
||||
"arrr3": "Potrebno je ažuriranje jezgra!",
|
||||
"arrr4": "Da biste sačuvali privatni ključ vašeg arrr novčanika, prvo vam je potrebno ažuriranje jezgra!"
|
||||
"arrr4": "Da biste sačuvali privatni ključ vašeg arrr novčanika, prvo vam je potrebno ažuriranje jezgra!",
|
||||
"sync_indicator": "Onemogući iskačući prozor indikatora sinhronizacije"
|
||||
},
|
||||
"appinfo": {
|
||||
"blockheight": "Visina Bloka",
|
||||
@ -247,7 +248,9 @@
|
||||
"balance": "Kredit",
|
||||
"balances": "VAŠI STANJE U NOVČANIKU",
|
||||
"update": "AŽURIRAJTE STANJE NOVČANIKA",
|
||||
"view": "Pogled"
|
||||
"view": "Pogled",
|
||||
"all": "Sve",
|
||||
"page": "Strana"
|
||||
},
|
||||
"gifs": {
|
||||
"gchange1": "Gif Ekplorer",
|
||||
@ -282,8 +285,8 @@
|
||||
},
|
||||
"startminting": {
|
||||
"smchange1": "Nije moguće preuzeti naloge za kovanje",
|
||||
"smchange2": "Uklanjanje ključa nije uspelo",
|
||||
"smchange3": "Dodavanje ključa za kovanje nije uspelo",
|
||||
"smchange2": "Nije uspelo uklanjanje ključa za kovanje",
|
||||
"smchange3": "ako je ključ upravo kreiran, pokušajte da sačekate nekoliko blokova i ponovo dodate",
|
||||
"smchange4": "Nije moguće kreirati sponzorski ključ",
|
||||
"smchange5": "Stvaranje odnosa",
|
||||
"smchange6": "Čeka se potvrda na blokčejnu",
|
||||
@ -465,7 +468,7 @@
|
||||
"rchange6": "Primalac",
|
||||
"rchange7": "Akcija",
|
||||
"rchange8": "Tip",
|
||||
"rchange9": "Nivoi 1 - 4 mogu napraviti samostalni udeo a nivoi 5 i više mogu napraviti udeo u nagradi!",
|
||||
"rchange9": "Nivoi 0 - 4 mogu napraviti samostalni udeo a nivoi 5 i više mogu napraviti udeo u nagradi!",
|
||||
"rchange10": "Primalac Javnog Ključa",
|
||||
"rchange11": "Procenat Udela u Nagradi",
|
||||
"rchange12": "Rađenje nečeg slasnog",
|
||||
@ -506,7 +509,7 @@
|
||||
"nchange23": "Cena prodaje",
|
||||
"nchange24": "Nema imena za prodaju",
|
||||
"nchange25": "Ime za prodaju",
|
||||
"nchange26": "Da li ste sigurni da prodajete ovo ime?",
|
||||
"nchange26": "Da li ste sigurni da želite da prodate ovo ime? Ako ime kupi drugi nalog, ono će biti van vaše kontrole!",
|
||||
"nchange27": "Za ovu cenu u KORT",
|
||||
"nchange28": "Pritiskom na potvrdu, zahtev za ime prodaje će biti poslat!",
|
||||
"nchange29": "Ime za otkazivanje",
|
||||
@ -739,7 +742,8 @@
|
||||
"bchange51": "Da biste podneli promene, ne zaboravite da kliknete na 'Ažuriraj profil'",
|
||||
"bchange52": "Da li ovoj aplikaciji dajete dozvolu da dobije informacije o vašem novčaniku?",
|
||||
"bchange53": "Uvek dozvoli da sve aplikacije automatski preuzimaju listu prijatelja",
|
||||
"bchange54": "Da li ovoj aplikaciji dajete dozvolu da pristupi vašoj listi prijatelja?"
|
||||
"bchange54": "Da li ovoj aplikaciji dajete dozvolu da pristupi vašoj listi prijatelja?",
|
||||
"bchange55": "Da li ovoj aplikaciji dajete dozvolu da pošalje ovu komandu?"
|
||||
},
|
||||
"datapage": {
|
||||
"dchange1": "Upravljanje podacima",
|
||||
@ -839,7 +843,7 @@
|
||||
"cchange74": "reagovao sa",
|
||||
"cchange75": "Otpremanje priloga. Ovo može potrajati do jednog minuta.",
|
||||
"cchange76": "Brisanje priloga. Ovo može potrajati do jednog minuta.",
|
||||
"cchange77": "Veličina priloga prelazi 1 MB",
|
||||
"cchange77": "Veličina priloga prelazi 10 MB",
|
||||
"cchange78": "Da li ste sigurni da želite da izbrišete ovu sliku?",
|
||||
"cchange79": "Da li ste sigurni da želite da izbrišete ovaj prilog?",
|
||||
"cchange80": "Ova slika je izbrisana",
|
||||
@ -852,7 +856,24 @@
|
||||
"cchange94": "učitano",
|
||||
"cchange95": "Samo moji resursi",
|
||||
"cchange96": "Otvoreno upravljanje grupom",
|
||||
"cchange97": "Link pridruživanja grupi je kopiran u međuspremnik"
|
||||
"cchange97": "Link pridruživanja grupi je kopiran u međuspremnik",
|
||||
"cchange98": "Otpremanje datoteke. Ovo može potrajati nekoliko minuta.",
|
||||
"cchange99": "Brisanje datoteke. Ovo može potrajati do jednog minuta.",
|
||||
"cchange100": "Veličina datoteke premašuje 125 MB",
|
||||
"cchange101": "Da li ste sigurni da želite da izbrišete ovu datoteku?",
|
||||
"cchange102": "Ova datoteka je izbrisana",
|
||||
"cchange103": "Otpremanje gif-a. Ovo može potrajati do jednog minuta.",
|
||||
"cchange104": "Brisanje gif-a. Ovo može potrajati do jednog minuta.",
|
||||
"cchange105": "Veličina datoteke prelazi 3 MB",
|
||||
"cchange106": "Da li ste sigurni da želite da izbrišete ovaj gif?",
|
||||
"cchange107": "Ovaj gif je izbrisan",
|
||||
"cchange108": "Preuzimanje će se nastaviti u pozadini, samo JEDAN K-Chat fajl može da se preuzme istovremeno.",
|
||||
"cchange109": "Tip datoteke nije podržan!",
|
||||
"cchange110": "OTPREMA SLIKE",
|
||||
"cchange111": "OSTAVLJANJE GIFOVA",
|
||||
"cchange112": "OTDAVANJE PRILOGA",
|
||||
"cchange113": "OTPREMA DATOTEKA",
|
||||
"cchange114": "Napiši nešto ..."
|
||||
},
|
||||
"welcomepage": {
|
||||
"wcchange1": "Dobrodošli na Q-Chat",
|
||||
@ -944,7 +965,19 @@
|
||||
"gchange56": "Ime grupe za pretragu",
|
||||
"gchange57": "Ime privatne grupe nije pronađeno",
|
||||
"gchange58": "Imajte na umu da ime grupe mora potpuno da se podudara.",
|
||||
"gchange59": "Prikaži / Sakrij Oznaku"
|
||||
"gchange59": "Prikaži / Sakrij Oznaku",
|
||||
"gchange60": "Unesite ime grupe",
|
||||
"gchange61": "Unesite opis",
|
||||
"gchange62": "Želite li zaista da ažurirate ovu grupu?",
|
||||
"gchange63": "Na pritisku POTVRDITE, UPDATE_GROUP će biti poslat!",
|
||||
"gchange64": "Trenutni vlasnik / novi vlasnik",
|
||||
"gchange65": "Zameni ovu adresu NA PRENOS VLASNIŠTVA GRUPE!",
|
||||
"gchange66": "Nevažeći vlasnik / adresa novog vlasnika",
|
||||
"gchange67": "Grupni UPDATE je uspešan!",
|
||||
"gchange68": "Postavi grupni avatar",
|
||||
"gchange69": "Poruke",
|
||||
"gchange70": "Nema poruka u poslednja 24 sata!",
|
||||
"gchange71": "Već ste se pridružili ovoj grupi!"
|
||||
},
|
||||
"puzzlepage": {
|
||||
"pchange1": "Slagalice",
|
||||
@ -1287,5 +1320,104 @@
|
||||
"tour20": "blokovi iza. Da li želite da osvežite (bootstrap) da biste ubrzali proces sinhronizacije?",
|
||||
"tour21": "preostali blokovi.",
|
||||
"tour22": "Zatraženo je osvežavanje (bootstrap). Molimo sačekajte."
|
||||
},
|
||||
"chatsettings": {
|
||||
"cs1": "Podešavanja ćaskanja",
|
||||
"cs2": "Opšta podešavanja ćaskanja",
|
||||
"cs3": "Vremenska oznaka poruke ćaskanja",
|
||||
"cs4": "pre vremena",
|
||||
"cs5": "Lokalno vreme",
|
||||
"cs6": "Veličina fonta poruke ćaskanja",
|
||||
"cs7": "Standard",
|
||||
"cs8": "pk"
|
||||
},
|
||||
"modals": {
|
||||
"mpchange1": "Svi traženi AT-ovi moraju biti na istom stranom Blockchain-u.",
|
||||
"mpchange2": "Da li ovoj aplikaciji dajete dozvolu da izvrši nalog za kupovinu?",
|
||||
"mpchange3": "Uspešno kreiran nalog za kupovinu",
|
||||
"mpchange4": "Molimo sačekajte dok se porudžbina za kupovinu ne ispuni",
|
||||
"mpchange5": "Podnošenje naloga za kupovinu nije uspelo.",
|
||||
"mpchange6": "Da li ovoj aplikaciji dajete dozvolu da izvrši nalog za prodaju?",
|
||||
"mpchange7": "Za:",
|
||||
"mpchange8": "Uspešno kreiran nalog za prodaju.",
|
||||
"mpchange9": "Molimo sačekajte dok se nalog za prodaju ne pojavi na listi.",
|
||||
"mpchange10": "Podnošenje naloga za prodaju nije uspelo.",
|
||||
"mpchange11": "Ne mogu pronaći AT informacije.",
|
||||
"mpchange12": "Da li ovoj aplikaciji dajete dozvolu da izvrši otkazivanje naloga za prodaju?",
|
||||
"mpchange13": "Uspešno otkazan nalog za prodaju.",
|
||||
"mpchange14": "Molimo sačekajte dok se otkazivanje trgovine ne ispuni.",
|
||||
"mpchange15": "Otkazivanje porudžbine za prodaju nije uspelo.",
|
||||
"mpchange16": "Greška u preuzimanju liste.",
|
||||
"mpchange17": "Greška pri dodavanju na listu.",
|
||||
"mpchange18": "Greška u listi za brisanje.",
|
||||
"mpchange19": "Greška pri preuzimanju liste prijatelja.",
|
||||
"mpchange20": "Broj nije broj.",
|
||||
"mpchange21": "Nedostaje broj.",
|
||||
"mpchange22": "Nije dostavljen nijedan podatak ili datoteka.",
|
||||
"mpchange23": "Šifrovanje podataka zahteva javne ključeve.",
|
||||
"mpchange24": "Samo šifrovani podaci mogu da idu u privatne usluge.",
|
||||
"mpchange25": "Otpremanje nije uspelo zbog neuspelog šifrovanja.",
|
||||
"mpchange26": "Otpremanje nije uspelo.",
|
||||
"mpchange27": "Nevažeći podaci.",
|
||||
"mpchange28": "Nema resursa za objavljivanje.",
|
||||
"mpchange29": "Nepoznata greška.",
|
||||
"mpchange30": "Anketa nije pronađena.",
|
||||
"mpchange31": "Glasanje u anketi nije uspelo.",
|
||||
"mpchange32": "Kreiranje ankete nije uspelo.",
|
||||
"mpchange33": "Unesite kortal link - kortal://...",
|
||||
"mpchange34": "Nevažeća kortal veza.",
|
||||
"mpchange35": "Greška u slanju obaveštenja.",
|
||||
"mpchange36": "Ne mogu poslati poruku.",
|
||||
"mpchange37": "Ne mogu poslati šifrovanu poruku ovom korisniku jer nemaju svoj javni ključ u lancu.",
|
||||
"mpchange38": "Zahtev nije mogao biti ispunjen.",
|
||||
"mpchange39": "Grupa nije pronađena.",
|
||||
"mpchange40": "Da li ovoj aplikaciji dajete dozvolu da izvrši zahtev za pridruživanje grupi?",
|
||||
"mpchange41": "Ime grupe:",
|
||||
"mpchange42": "ID grupe:",
|
||||
"mpchange43": "Uspešno kreiran zahtev za pridruživanje grupi.",
|
||||
"mpchange44": "Pridruživanje grupi nije uspelo.",
|
||||
"mpchange45": "Mime tip nije mogao biti izveden.",
|
||||
"mpchange46": "Ne može se izvesti ekstenzija datoteke.",
|
||||
"mpchange47": "Korisnik je odbio preuzimanje.",
|
||||
"mpchange48": "Pokretanje preuzimanja nije uspelo.",
|
||||
"mpchange49": "Neuspešno postavljanje AT-a.",
|
||||
"mpchange50": "Korisnik nema profil.",
|
||||
"mpchange51": "Ne mogu pronaći tražene podatke.",
|
||||
"mpchange52": "Dobijanje podataka profila nije uspelo.",
|
||||
"mpchange53": "Podešavanje svojstva nije uspelo.",
|
||||
"mpchange54": "Otvaranje profila nije uspelo.",
|
||||
"mpchange55": "Greška pri preuzimanju informacija o serveru.",
|
||||
"mpchange56": "Greška u rezimeu tk aktivnosti.",
|
||||
"mpchange57": "Greška u dobijanju inostrane naknade.",
|
||||
"mpchange58": "Greška u ažuriranju inostrane naknade.",
|
||||
"mpchange59": "Greška u preuzimanju istorije veze sa serverom.",
|
||||
"mpchange60": "Greška u podešavanju trenutnog servera.",
|
||||
"mpchange61": "Greška u dodavanju servera.",
|
||||
"mpchange62": "Greška u uklanjanju servera.",
|
||||
"mpchange63": "Greška pri preuzimanju rezimea.",
|
||||
"mpchange64": "Dekodiranje transakcije nije uspelo.",
|
||||
"mpchange65": "Da li ovoj aplikaciji dajete dozvolu da potpiše i obradi transakciju?",
|
||||
"mpchange66": "Da li ovoj aplikaciji dajete dozvolu da potpiše transakciju?",
|
||||
"mpchange67": "Pažljivo pročitajte transakciju pre prihvatanja.",
|
||||
"mpchange68": "Tp Tk:",
|
||||
"mpchange69": "TKS podaci:",
|
||||
"mpchange70": "Procesna transakcija nije zatražena.",
|
||||
"mpchange71": "Potpisani bajtovi su: ",
|
||||
"mpchange72": "Transakcija je potpisana i uspešno obrađena.",
|
||||
"mpchange73": "Transakcija nije mogla da se obradi.",
|
||||
"mpchange74": "Preuzimanje KORT balansa nije uspelo. Pokušajte ponovo!",
|
||||
"mpchange75": "Nije moguće poslati novčić.",
|
||||
"mpchange76": "Neuspešno preuzimanje BTC stanja. Pokušajte ponovo!",
|
||||
"mpchange77": "Preuzimanje LTC stanja nije uspelo. Pokušajte ponovo!",
|
||||
"mpchange78": "Neuspešno preuzimanje DOGE balansa. Pokušajte ponovo!",
|
||||
"mpchange79": "Dohvaćanje DGB balansa nije uspelo. Pokušajte ponovo!",
|
||||
"mpchange80": "Neuspešno preuzimanje RVN stanja. Pokušajte ponovo!",
|
||||
"mpchange81": "Neuspešno preuzimanje ARRR stanja. Pokušajte ponovo!",
|
||||
"mpchange82": "POLJA NEDOSTAJU",
|
||||
"mpchange83": "ODBIJENO",
|
||||
"mpchange84": "GREŠKA",
|
||||
"mpchange85": "USPEH",
|
||||
"mpchange86": "Uvek dozvoli automatsko dobijanje stanja novčanika",
|
||||
"mpchange87": "Unesite ID grupe"
|
||||
}
|
||||
}
|
||||
|
@ -8,6 +8,7 @@
|
||||
"dutch": "Голландский",
|
||||
"english": "Английский",
|
||||
"estonian": "Эстонский",
|
||||
"finnish": "Финский",
|
||||
"french": "Французкий",
|
||||
"german": "Немецкий",
|
||||
"hindi": "Хинди",
|
||||
@ -107,14 +108,14 @@
|
||||
"decrypt": "Расшифровать резервную копию",
|
||||
"save": "Сохранить в приложении",
|
||||
"prepare": "Подготовка вашей учетной записи",
|
||||
"areyousure": "Вы уверены, что хотите удалить этот кошелек из сохраненных кошельков?",
|
||||
"areyousure": "Вы уверены, что хотите удалить эту учетную запись из сохраненных учетных записей? (Если удалить и файл резервной копии не существует, учетная запись может быть потеряна навсегда! Прежде чем делать это, убедитесь, что у вас есть файл резервной копии!)",
|
||||
"error1": "Резервная копия должна быть в формате JSON",
|
||||
"error2": "Вариант входа не выбран",
|
||||
"createwelcome": "Добро пожаловать в Qortal! Это чем-то похоже на ролевую игру, в которой вы, как минтер в сети Qortal (если вы решите им стать), будете иметь возможность повысить уровень учетной записи, что повысит долю вашего вознаграждения за каждый блок QORT, а также даст вам больше влияния на сеть, посредством голосования по предложениям для платформы.",
|
||||
"createwelcome": "Добро пожаловать в Qortal! Ваше децентрализованное цифровое будущее ждет вас! Только на Qortal вы имеете абсолютный контроль над своими данными. Qortal обеспечивает базовый уровень нового, полностью контролируемого пользователем цифрового мира.",
|
||||
"createa": "A",
|
||||
"click": "Нажмите, чтобы просмотреть seed-фразу",
|
||||
"confirmpass": "Подтвердите пароль",
|
||||
"willbe": "Будет генерироваться случайным образом в фоновом режиме для использования в качестве генератора приватного ключа от вашей учетной записи в блокчейне Qortal.",
|
||||
"willbe": "будет генерироваться случайным образом в фоновом режиме. Если вы хотите ПРОСМОТРЕТЬ исходную фразу, щелкните выделенную «начальную фразу» в этом тексте. Он используется в качестве генератора закрытых ключей для вашей учетной записи блокчейна в Qortal. В целях безопасности по умолчанию начальные фразы не отображаются, если это специально не выбрано.",
|
||||
"clicknext": "Создайте учетную запись Qortal, нажав кнопку ДАЛЕЕ ниже.",
|
||||
"ready": "Теперь ваша учетная запись готова к созданию. Она будет сохранена в этом приложении. Если вы не хотите, чтобы ваша новая учетная запись сохранялась в приложении, вы можете снять флажок ниже. Вы по-прежнему сможете войти в свою новую учетную запись (после выхода), используя файл резервной копии вашего кошелька, который вам НЕООБХОДИМО скачать после создания учетной записи.",
|
||||
"welmessage": "Добро пожаловать в Qortal",
|
||||
@ -131,8 +132,8 @@
|
||||
"backup2": "Этот файл является ЕДИНСТВЕННЫМ способом доступа к вашей учетной записи в системе, в которой он не сохранен в приложении/браузере. ОБЯЗАТЕЛЬНО СДЕЛАЙТЕ РЕЗЕРВНУЮ КОПИЮ ЭТОГО ФАЙЛА В НЕСКОЛЬКИХ МЕСТАХ. Файл очень надежно зашифрован и расшифровывается с помощью вашего локального пароля, который вы создали на предыдущем шаге. Вы можете безопасно сохранить его в любом месте, но не забудьте сделать это в нескольких местах.",
|
||||
"savewallet": "Сохранить файл резервной копии кошелька",
|
||||
"created1": "Ваша учетная запись создана",
|
||||
"created2": "и будет сохранено в этом приложении.",
|
||||
"downloadbackup": "Скачать файл резервной копии кошелька",
|
||||
"created2": " и сохраняется в этом интерфейсе в зашифрованном виде",
|
||||
"downloadbackup": "Сохранить файл резервной копии Qortal",
|
||||
"passwordhint": "Пароль должен быть не менее 5 символов.",
|
||||
"lp1": "Экран блокировки",
|
||||
"lp2": "Пароль блокировки экрана не установлен!",
|
||||
@ -180,9 +181,8 @@
|
||||
"notifications": "Уведомления",
|
||||
"accountsecurity": "Сгенерировать QR-код для входа",
|
||||
"password": "Пароль",
|
||||
"download": "Загрузить файл резервной копии",
|
||||
"download": "Экспортировать/сохранить файл резервной копии Qortal",
|
||||
"choose": "Пожалуйста, выберите пароль для шифрования вашей резервной копии. (Это может быть тот же пароль, с которым вы вошли в систему, или другой)",
|
||||
"block": "Блокировать уведомления (скоро…)",
|
||||
"playsound": "Воспроизвести звук",
|
||||
"shownotifications": "Показать уведомления",
|
||||
"nodeurl": "URL-адрес узла",
|
||||
@ -207,13 +207,14 @@
|
||||
"exp2": "Экспорт мастер-ключа",
|
||||
"exp3": "Экспорт",
|
||||
"exp4": "Пожалуйста, выберите кошелек для резервного копирования приватного главного ключа.",
|
||||
"core": "Начать основные настройки",
|
||||
"core": "Настройки автозапуска Qortal",
|
||||
"qappNotification1": "Уведомления Q-App",
|
||||
"selectnode": "Пожалуйста, выберите вариант",
|
||||
"arrr1": "Кошелек ARRR не инициализирован!",
|
||||
"arrr2": "Пожалуйста, перейдите на вкладку кошелька и сначала инициализируйте свой кошелек arrr.",
|
||||
"arrr2": "Пожалуйста, перейдите на вкладку кошелька и получите доступ к кошельку ARRR, чтобы сначала инициализировать кошелек.",
|
||||
"arrr3": "Требуется обновление ядра!",
|
||||
"arrr4": "Чтобы сохранить закрытый ключ вашего кошелька arrr, вам сначала необходимо обновить ядро!"
|
||||
"arrr4": "Чтобы сохранить закрытый ключ вашего ARRR-кошелька, вам необходимо сначала обновить Qortal Core!",
|
||||
"sync_indicator": "Отключить всплывающее окно индикатора синхронизации"
|
||||
},
|
||||
"appinfo": {
|
||||
"blockheight": "Высота блока",
|
||||
@ -247,7 +248,9 @@
|
||||
"balance": "кредит",
|
||||
"balances": "БАЛАНС ВАШЕГО КОШЕЛЬКА",
|
||||
"update": "ОБНОВИТЬ БАЛАНС КОШЕЛЬКА",
|
||||
"view": "Вид"
|
||||
"view": "Вид",
|
||||
"all": "Все",
|
||||
"page": "Страница"
|
||||
},
|
||||
"gifs": {
|
||||
"gchange1": "Проводник гифок",
|
||||
@ -283,7 +286,7 @@
|
||||
"startminting": {
|
||||
"smchange1": "Не удается получить учетные записи минтинга",
|
||||
"smchange2": "Не удалось удалить ключ",
|
||||
"smchange3": "Не удалось добавить ключ минтинга",
|
||||
"smchange3": "Не удалось добавить ключ минтинга, если ключ был только что создан, попробуйте подождать несколько блоков и добавить еще раз.",
|
||||
"smchange4": "Не удается создать спонсорский ключ",
|
||||
"smchange5": "Создание отношений",
|
||||
"smchange6": "Ожидание подтверждения на блокчейне",
|
||||
@ -465,7 +468,7 @@
|
||||
"rchange6": "Получатель",
|
||||
"rchange7": "Действие",
|
||||
"rchange8": "Тип",
|
||||
"rchange9": "Уровень 1–4 может создать акцию для самого себя, а уровень 5 или выше может создать акцию для других!",
|
||||
"rchange9": "Уровень 0–4 может создать акцию для самого себя, а уровень 5 или выше может создать акцию для других!",
|
||||
"rchange10": "Открытый ключ получателя",
|
||||
"rchange11": "Процент доли вознаграждения",
|
||||
"rchange12": "Делаю что-нибудь вкусненькое",
|
||||
@ -506,7 +509,7 @@
|
||||
"nchange23": "Цена продажи",
|
||||
"nchange24": "Нет имен для продажи",
|
||||
"nchange25": "Имя для продажи",
|
||||
"nchange26": "Вы уверены, что продаете это имя?",
|
||||
"nchange26": "Вы уверены, что хотите продать это имя? Если имя будет куплено другой учетной записью, это будет вне вашего контроля!",
|
||||
"nchange27": "По этой цене в QORT",
|
||||
"nchange28": "При нажатии подтверждения будет отправлен запрос на продажу имени!",
|
||||
"nchange29": "Имя для отмены",
|
||||
@ -739,7 +742,8 @@
|
||||
"bchange51": "Чтобы отправить изменения, не забудьте нажать Обновить профиль",
|
||||
"bchange52": "Разрешаете ли вы этому приложению получать информацию о вашем кошельке?",
|
||||
"bchange53": "Всегда разрешайте всем приложениям автоматически получать список друзей",
|
||||
"bchange54": "Разрешаете ли вы этому приложению доступ к вашему списку друзей?"
|
||||
"bchange54": "Разрешаете ли вы этому приложению доступ к вашему списку друзей?",
|
||||
"bchange55": "Даете ли вы этому приложению разрешение на отправку этой команды?"
|
||||
},
|
||||
"datapage": {
|
||||
"dchange1": "Управление данными",
|
||||
@ -839,7 +843,7 @@
|
||||
"cchange74": "отреагировал",
|
||||
"cchange75": "Выполняется загрузка вложения. Это может занять до одной минуты.",
|
||||
"cchange76": "Удаление вложения. Это может занять до одной минуты.",
|
||||
"cchange77": "Размер вложения превышает 1 МБ",
|
||||
"cchange77": "Размер вложения превышает 10 МБ",
|
||||
"cchange78": "Вы уверены, что хотите удалить это изображение?",
|
||||
"cchange79": "Вы уверены, что хотите удалить это вложение?",
|
||||
"cchange80": "Это изображение было удалено",
|
||||
@ -852,7 +856,24 @@
|
||||
"cchange94": "загружено",
|
||||
"cchange95": "Только мои ресурсы",
|
||||
"cchange96": "Открытое управление группой",
|
||||
"cchange97": "Ссылка на вступление в группу скопирована в буфер обмена"
|
||||
"cchange97": "Ссылка на вступление в группу скопирована в буфер обмена",
|
||||
"cchange98": "Загрузка файла. Это может занять несколько минут.",
|
||||
"cchange99": "Удаление файла. Это может занять до одной минуты.",
|
||||
"cchange100": "Размер файла превышает 125 МБ",
|
||||
"cchange101": "Вы уверены, что хотите удалить этот файл?",
|
||||
"cchange102": "Этот файл был удален",
|
||||
"cchange103": "Загрузка gif. Это может занять до одной минуты.",
|
||||
"cchange104": "Удаление gif. Это может занять до одной минуты.",
|
||||
"cchange105": "Размер файла превышает 3 МБ",
|
||||
"cchange106": "Вы уверены, что хотите удалить эту гифку?",
|
||||
"cchange107": "Эта гифка была удалена",
|
||||
"cchange108": "Загрузка продолжится в фоновом режиме, одновременно можно загрузить только ОДИН файл Q-Chat.",
|
||||
"cchange109": "Тип файла не поддерживается!",
|
||||
"cchange110": "ЗАГРУЗКА ИЗОБРАЖЕНИЯ",
|
||||
"cchange111": "ЗАГРУЗИТЬ GIF",
|
||||
"cchange112": "ЗАГРУЗКА ВЛОЖЕНИЯ",
|
||||
"cchange113": "ЗАГРУЗКА ФАЙЛА",
|
||||
"cchange114": "Напишите что-нибудь ..."
|
||||
},
|
||||
"welcomepage": {
|
||||
"wcchange1": "Добро пожаловать в Q-Chat",
|
||||
@ -944,7 +965,19 @@
|
||||
"gchange56": "Имя группы для поиска",
|
||||
"gchange57": "Имя частной группы не найдено",
|
||||
"gchange58": "Обратите внимание, что название группы должно точно совпадать.",
|
||||
"gchange59": "Показать/скрыть бегущую строку"
|
||||
"gchange59": "Показать/скрыть бегущую строку",
|
||||
"gchange60": "Пожалуйста, введите название группы",
|
||||
"gchange61": "Пожалуйста, введите описание",
|
||||
"gchange62": "Вы обязательно ОБНОВИТЕ эту группу?",
|
||||
"gchange63": "При нажатии кнопки ПОДТВЕРДИТЬ будет отправлен UPDATE_GROUP запрос!",
|
||||
"gchange64": "Текущий владелец / Новый владелец",
|
||||
"gchange65": "Замените этот адрес на TRANSFER OWNERSHIP of group!",
|
||||
"gchange66": "Неверный адрес владельца / нового владельца",
|
||||
"gchange67": "Групповое ОБНОВЛЕНИЕ выполнено успешно!",
|
||||
"gchange68": "Установить групповой аватар",
|
||||
"gchange69": "Сообщения",
|
||||
"gchange70": "За последние 24 часа нет сообщений!",
|
||||
"gchange71": "Вы уже присоединились к этой группе!"
|
||||
},
|
||||
"puzzlepage": {
|
||||
"pchange1": "Головоломки",
|
||||
@ -1287,5 +1320,104 @@
|
||||
"tour20": "блоки позади. Хотите обновить (загрузочную загрузку), чтобы ускорить процесс синхронизации?",
|
||||
"tour21": "осталось блоков.",
|
||||
"tour22": "Запрошено обновление (загрузочная загрузка). Пожалуйста, подождите."
|
||||
},
|
||||
"chatsettings": {
|
||||
"cs1": "Настройки чата",
|
||||
"cs2": "Общие настройки чата",
|
||||
"cs3": "Временная метка сообщения чата",
|
||||
"cs4": "Время назад",
|
||||
"cs5": "Местное время",
|
||||
"cs6": "Размер шрифта сообщения чата",
|
||||
"cs7": "Стандартный",
|
||||
"cs8": "px"
|
||||
},
|
||||
"modals": {
|
||||
"mpchange1": "Все запрошенные AT должны быть из одного и того же внешнего блокчейна.",
|
||||
"mpchange2": "Вы даете этому приложению разрешение на выполнение заказа на покупку?",
|
||||
"mpchange3": "Заказ на покупку успешно создан",
|
||||
"mpchange4": "Пожалуйста, подождите, пока заказ на покупку не будет выполнен",
|
||||
"mpchange5": "Не удалось отправить заказ на покупку.",
|
||||
"mpchange6": "Вы даете этому приложению разрешение на выполнение заказа на продажу?",
|
||||
"mpchange7": "Для:",
|
||||
"mpchange8": "Заказ на продажу успешно создан",
|
||||
"mpchange9": "Пожалуйста, подождите, пока заказ на продажу не будет размещен",
|
||||
"mpchange10": "Не удалось отправить заказ на продажу.",
|
||||
"mpchange11": "Не удалось найти информацию об AT.",
|
||||
"mpchange12": "Вы даете этому приложению разрешение на выполнение отмены заказа на продажу?",
|
||||
"mpchange13": "Заказ на продажу успешно отменен",
|
||||
"mpchange14": "Пожалуйста дождитесь выполнения отмены сделки.",
|
||||
"mpchange15": "Не удалось отменить ордер на продажу.",
|
||||
"mpchange16": "Ошибка при получении списка.",
|
||||
"mpchange17": "Ошибка при добавлении в список.",
|
||||
"mpchange18": "Ошибка при удалении списка.",
|
||||
"mpchange19": "Ошибка при получении списка друзей.",
|
||||
"mpchange20": "Количество не является числом.",
|
||||
"mpchange21": "Отсутствует количество.",
|
||||
"mpchange22": "Данные или файл не были отправлены.",
|
||||
"mpchange23": "Для шифрования данных требуются открытые ключи.",
|
||||
"mpchange24": "Только зашифрованные данные могут быть отправлены в частные сервисы.",
|
||||
"mpchange25": "Загрузка не удалась из-за неудачного шифрования.",
|
||||
"mpchange26": "Загрузка не удалась.",
|
||||
"mpchange27": "Недопустимые данные.",
|
||||
"mpchange28": "Нет ресурсов для публикации.",
|
||||
"mpchange29": "Неизвестно ошибка.",
|
||||
"mpchange30": "Опрос не найден.",
|
||||
"mpchange31": "Не удалось проголосовать в опросе.",
|
||||
"mpchange32": "Не удалось создать опрос.",
|
||||
"mpchange33": "Введите ссылку qortal - qortal://...",
|
||||
"mpchange34": "Недопустимая ссылка qortal.",
|
||||
"mpchange35": "Ошибка при отправке уведомления.",
|
||||
"mpchange36": "Не удалось отправить сообщение.",
|
||||
"mpchange37": "Не удалось отправить зашифрованное сообщение этому пользователю, так как у него нет открытого ключа в цепочке.",
|
||||
"mpchange38": "Запрос не может быть выполнен.",
|
||||
"mpchange39": "Группа не найдена.",
|
||||
"mpchange40": "Вы даете этому приложению разрешение на выполнение запроса на присоединение к группе?",
|
||||
"mpchange41": "Имя группы:",
|
||||
"mpchange42": "Идентификатор группы:",
|
||||
"mpchange43": "Успешно создано присоединение к группе запрос.",
|
||||
"mpchange44": "Не удалось присоединиться к группе.",
|
||||
"mpchange45": "Не удалось получить тип MIME.",
|
||||
"mpchange46": "Не удалось получить расширение файла.",
|
||||
"mpchange47": "Пользователь отклонил загрузку.",
|
||||
"mpchange48": "Не удалось начать загрузку.",
|
||||
"mpchange49": "Не удалось развернуть AT.",
|
||||
"mpchange50": "У пользователя нет профиля.",
|
||||
"mpchange51": "Не удалось найти запрошенные данные.",
|
||||
"mpchange52": "Не удалось получить данные профиля.",
|
||||
"mpchange53": "Не удалось задать свойство.",
|
||||
"mpchange54": "Не удалось открыть профиль.",
|
||||
"mpchange55": "Ошибка при получении информации о сервере.",
|
||||
"mpchange56": "Ошибка в сводке активности tx.",
|
||||
"mpchange57": "Ошибка при получении иностранной платы.",
|
||||
"mpchange58": "Ошибка обновления иностранной платы",
|
||||
"mpchange59": "Ошибка получения истории подключений к серверу",
|
||||
"mpchange60": "Ошибка установки текущего сервера",
|
||||
"mpchange61": "Ошибка добавления сервера",
|
||||
"mpchange62": "Ошибка удаления сервера",
|
||||
"mpchange63": "Ошибка получения сводки",
|
||||
"mpchange64": "Не удалось декодировать транзакцию",
|
||||
"mpchange65": "Вы даете этому приложению разрешение на подпись и обработку транзакции?",
|
||||
"mpchange66": "Вы даете этому приложению разрешение на подпись транзакции?",
|
||||
"mpchange67": "Внимательно прочитайте транзакцию перед ее принятием",
|
||||
"mpchange68": "Тип передачи:",
|
||||
"mpchange69": "Данные передачи:",
|
||||
"mpchange70": "Транзакция обработки не была запрошена",
|
||||
"mpchange71": "Подписанные байты:",
|
||||
"mpchange72": "Транзакция подписана и успешно обработана",
|
||||
"mpchange73": "Транзакция была не удалось обработать.",
|
||||
"mpchange74": "Не удалось получить баланс QORT. Попробуйте еще раз!",
|
||||
"mpchange75": "Не удалось отправить монету.",
|
||||
"mpchange76": "Не удалось получить баланс BTC. Попробуйте еще раз!",
|
||||
"mpchange77": "Не удалось получить баланс LTC. Попробуйте еще раз!",
|
||||
"mpchange78": "Не удалось получить баланс DOGE. Попробуйте еще раз!",
|
||||
"mpchange79": "Не удалось получить баланс DGB. Попробуйте еще раз!",
|
||||
"mpchange80": "Не удалось получить баланс RVN. Попробуйте еще раз!",
|
||||
"mpchange81": "Не удалось получить баланс ARRR. Попробуйте еще раз!",
|
||||
"mpchange82": "ПРОПУЩЕННЫЕ ПОЛЯ",
|
||||
"mpchange83": "ОТКЛОНЕНО",
|
||||
"mpchange84": "НЕУДАЧА",
|
||||
"mpchange85": "УСПЕШНО",
|
||||
"mpchange86": "Всегда разрешать автоматически получать баланс кошелька",
|
||||
"mpchange87": "Пожалуйста, введите идентификатор группы"
|
||||
}
|
||||
}
|
||||
|
@ -8,6 +8,7 @@
|
||||
"dutch": "Dutch",
|
||||
"english": "English",
|
||||
"estonian": "Estonian",
|
||||
"finnish": "Finnish",
|
||||
"french": "French",
|
||||
"german": "German",
|
||||
"hindi": "Hindi",
|
||||
@ -45,48 +46,48 @@
|
||||
"sm3": "NAMES MARKET"
|
||||
},
|
||||
"tabmenu": {
|
||||
"tm1": "Minting Details",
|
||||
"tm2": "Become a Minter",
|
||||
"tm3": "Sponsorship List",
|
||||
"tm4": "Wallets",
|
||||
"tm5": "Trade Portal",
|
||||
"tm6": "Auto Buy",
|
||||
"tm7": "Reward Share",
|
||||
"tm8": "Q-Chat",
|
||||
"tm9": "Name Registration",
|
||||
"tm10": "Names Market",
|
||||
"tm11": "Websites",
|
||||
"tm12": "Q-Apps",
|
||||
"tm13": "Group Management",
|
||||
"tm14": "Data Management",
|
||||
"tm15": "Puzzles",
|
||||
"tm16": "Node Management",
|
||||
"tm17": "New Tab",
|
||||
"tm18": "Add New Tab",
|
||||
"tm19": "Add New Plugin",
|
||||
"tm20": "Q-App",
|
||||
"tm21": "Website",
|
||||
"tm22": "Remove Plugin",
|
||||
"tm23": "Are you sure to remove this plugin ?",
|
||||
"tm24": "Plugin Type:",
|
||||
"tm25": "Please select a plugin type !",
|
||||
"tm26": "Add New Plugin To Menu",
|
||||
"tm27": "Remove Plugin From Menu",
|
||||
"tm28": "Overview Page",
|
||||
"tm29": "Reset Tab Menu",
|
||||
"tm30": "Search Qortal Name",
|
||||
"tm31": "My Followed Names",
|
||||
"tm32": "This account does not follow any user",
|
||||
"tm33": "Import Tab Menu",
|
||||
"tm34": "Export Tab Menu",
|
||||
"tm35": "Your existing tab menu will be deleted and set to uploaded tab menu.",
|
||||
"tm36": "Tab Menu Successfully Restored",
|
||||
"tm37": "Tab Menu Successfully Saved As",
|
||||
"tm1": "MINTING DETAILS",
|
||||
"tm2": "BECOME A MINTER",
|
||||
"tm3": "SPONSORSHIP",
|
||||
"tm4": "WALLETS",
|
||||
"tm5": "TRADE PORTAL",
|
||||
"tm6": "AUTO-BUY",
|
||||
"tm7": "REWARD SHARE",
|
||||
"tm8": "Q-CHAT",
|
||||
"tm9": "NAME REGISTRATION",
|
||||
"tm10": "NAMES MARKET",
|
||||
"tm11": "WEBSITES",
|
||||
"tm12": "Q-APPS",
|
||||
"tm13": "GROUP MANAGEMENT",
|
||||
"tm14": "DATA MANAGEMENT",
|
||||
"tm15": "PUZZLES",
|
||||
"tm16": "NODE MANAGEMENT",
|
||||
"tm17": "NEW TAB",
|
||||
"tm18": "OPEN NEW TAB",
|
||||
"tm19": "ADD CUSTOM LINK",
|
||||
"tm20": "Q-App (input name)",
|
||||
"tm21": "Website (input name)",
|
||||
"tm22": "REMOVE LINK",
|
||||
"tm23": "Are you sure to REMOVE this link?",
|
||||
"tm24": "Choose LINK TYPE:",
|
||||
"tm25": "Please SELECT a LINK TYPE!",
|
||||
"tm26": "ADD LINK TO NEW TAB PAGE",
|
||||
"tm27": "REMOVE LINK FROM NEW TAB PAGE",
|
||||
"tm28": "OVERVIEW PAGE",
|
||||
"tm29": "RESET New Tab Page",
|
||||
"tm30": "SEARCH For Qortal NAMES",
|
||||
"tm31": "My FOLLOWED Names",
|
||||
"tm32": "This Node is NOT Following Any Names",
|
||||
"tm33": "IMPORT Saved New Tab LINKS",
|
||||
"tm34": "EXPORT Saved New Tab LINKS",
|
||||
"tm35": "Your existing New Tab Page Links will be DELETED and REPLACED with IMPORTED New Tab Links.",
|
||||
"tm36": "New Tab Page SUCCESSFULLY RESTORED!",
|
||||
"tm37": "New Tab Links SUCCESSFULLY SAVED as:",
|
||||
"tm38": "DEV MODE",
|
||||
"tm39": "Add Custom Framework",
|
||||
"tm40": "Add and Open",
|
||||
"tm41": "Error: Invalid data please try again!",
|
||||
"tm42": "Qortal Lottery"
|
||||
"tm41": "ERROR: Invalid data please try again!",
|
||||
"tm42": "LOTTERY"
|
||||
},
|
||||
"login": {
|
||||
"login": "Log In",
|
||||
@ -95,45 +96,45 @@
|
||||
"address": "Address",
|
||||
"password": "Password",
|
||||
"youraccounts": "Your accounts",
|
||||
"clickto": "Click your account to log in with it",
|
||||
"clickto": "Click account to login",
|
||||
"needcreate": "You need to create or save an account before you can log in!",
|
||||
"upload": "Upload your Qortal backup",
|
||||
"upload": "Import your Qortal backup file",
|
||||
"howlogin": "How would you like to log in?",
|
||||
"seed": "Seedphrase",
|
||||
"seedphrase": "seedphrase",
|
||||
"seedphrase": "SEEDPHRASE",
|
||||
"saved": "Saved account",
|
||||
"qora": "Qora address seed",
|
||||
"backup": "Qortal wallet backup",
|
||||
"decrypt": "Decrypt backup",
|
||||
"qora": "QORA address seed",
|
||||
"backup": "Qortal backup file",
|
||||
"decrypt": "Decrypt backup file",
|
||||
"save": "Save in this browser.",
|
||||
"prepare": "Preparing Your Account",
|
||||
"areyousure": "Are you sure you want to remove this wallet from saved wallets?",
|
||||
"error1": "Backup must be valid JSON",
|
||||
"prepare": "Preparing Your Account...",
|
||||
"areyousure": "Are you sure you want to REMOVE this ACCOUNT from SAVED ACCOUNTS? (If removed and no backup file exists, account could be lost forever! ENSURE YOU HAVE A BACKUP FILE FOR THIS ACCOUNT BEFORE DOING THIS!)",
|
||||
"error1": "Backup file must be valid JSON",
|
||||
"error2": "Login option not selected",
|
||||
"createwelcome": "Welcome to Qortal, you will find it to be similar to that of an RPG game, you, as a minter on the Qortal network (if you choose to become one) will have the chance to level your account up, giving you both more of the QORT block reward and also larger influence over the network in terms of voting on decisions for the platform.",
|
||||
"createwelcome": "Welcome to Qortal! Your decentralized digital future awaits you! On Qortal, you and ONLY you have absolute control over your data. Qortal provides the base level of a new, and fully user-controlled digital world!",
|
||||
"createa": "A",
|
||||
"click": "Click to view seedphrase",
|
||||
"click": "CLICK to VIEW SEEDPHRASE",
|
||||
"confirmpass": "Confirm Password",
|
||||
"willbe": "will be randomly generated in the background. This is used as your private key generator for your blockchain account in Qortal.",
|
||||
"willbe": "will be randomly generated in the background. If you wish to VIEW THE SEEDPHRASE, click the word 'SEEDPHRASE' in this text. Seedphrases are used to generate the private key for your Qortal account. For security by default, seedphrases are NOT displayed unless specifically chosen.",
|
||||
"clicknext": "Create your Qortal account by clicking NEXT below.",
|
||||
"ready": "Your account is now ready to be created. It will be saved in this browser. If you do not want your new account to be saved in your browser, you can uncheck the box below. You will still be able to log in with your new account (after logging out), using your wallet backup file that you MUST download once you create your account.",
|
||||
"ready": "Your account is now ready to be created. It will be SAVED AND ENCRYPTED within THIS Qortal UI only, by default. If you DO NOT wish for it to be saved, UNCHECK THE BOX BELOW. You are always able to access your new account using the Qortal BACKUP FILE that MUST be SAVED upon account creation.",
|
||||
"welmessage": "Welcome to Qortal",
|
||||
"pleaseenter": "Please enter a Password!",
|
||||
"notmatch": "Passwords do not match!",
|
||||
"lessthen8": "Your password is less than 5 characters! This is not recommended. You can continue to ignore this warning.",
|
||||
"lessthen8-2": "Your password is less than 5 characters!",
|
||||
"entername": "Please enter a Name!",
|
||||
"downloaded": "Your Wallet BackUp file was downloaded!",
|
||||
"loading": "Loading, Please wait...",
|
||||
"createdseed": "Your created Seedphrase",
|
||||
"saveseed": "Save Seedphrase",
|
||||
"savein": "Save in browser",
|
||||
"backup2": "This file is the ONLY way to access your account on a system that doesn't have it saved to the app/browser. BE SURE TO BACKUP THIS FILE IN MULTIPLE PLACES. The file is encrypted very securely and decrypted with your local password you created in the previous step. You can save it anywhere securely, but be sure to do that in multiple locations.",
|
||||
"savewallet": "Save Wallet BackUp File",
|
||||
"notmatch": "Oops! Passwords do NOT match! Try again!",
|
||||
"lessthen8": "Your password is LESS THAN 5 characters! This is NOT recommended. To continue anyway, click CONTINUE.",
|
||||
"lessthen8-2": "Your password is LESS THAN 5 characters!",
|
||||
"entername": "Please enter a Display Name!",
|
||||
"downloaded": "Your Qortal Backup File was SAVED!",
|
||||
"loading": "LOADING, Please wait...",
|
||||
"createdseed": "Your Generated Seedphrase:",
|
||||
"saveseed": "SAVE SEEDPHRASE",
|
||||
"savein": "SAVE in THIS UI",
|
||||
"backup2": "This file is the ONLY WAY (by default) to ACCESS YOUR ACCOUNT (unless saved to the UI). BE SURE TO BACKUP THIS FILE IN MULTIPLE LOCATIONS. The file is ENCRYPTED very securely (and decrypted) with your local PASSWORD created in the previous step. You can save the Qortal Backup File anywhere securely, but be sure to do so in MULTIPLE PLACES.",
|
||||
"savewallet": "SAVE Qortal Backup File",
|
||||
"created1": "Your account is now created",
|
||||
"created2": " and will be saved in this browser.",
|
||||
"downloadbackup": "Download Wallet BackUp File",
|
||||
"passwordhint": "A password must be at least 5 characters.",
|
||||
"created2": " and saved in THIS UI in ENCRYPTED form.",
|
||||
"downloadbackup": "SAVE Qortal Backup File",
|
||||
"passwordhint": "Encryption password is suggested to be at least 5 characters.",
|
||||
"lp1": "Lock Screen",
|
||||
"lp2": "No screen lock password is set!",
|
||||
"lp3": "Please set one",
|
||||
@ -162,8 +163,8 @@
|
||||
"confirmlogout": "Are you sure you want to log out?"
|
||||
},
|
||||
"fragfile": {
|
||||
"selectfile": "Select file",
|
||||
"dragfile": "Drag and drop backup here"
|
||||
"selectfile": "Select Backup File",
|
||||
"dragfile": "Drag and drop or CLICK HERE to select Backup File"
|
||||
},
|
||||
"settings": {
|
||||
"generalinfo": "General Account Info",
|
||||
@ -173,47 +174,47 @@
|
||||
"account": "Account",
|
||||
"security": "Security",
|
||||
"qr_login_menu_item": "QR Login",
|
||||
"qr_login_description_1": "Scan this code to unlock your wallet on another device using the same password which you logged in with.",
|
||||
"qr_login_description_2": "Choose a password which you will use to unlock your wallet on another device after scanning the QR code.",
|
||||
"qr_login_description_1": "Scan this code to save your wallet on another device using the same password currently logged in with.",
|
||||
"qr_login_description_2": "Choose a password to unlock your wallet on another device after scanning QR code.",
|
||||
"qr_login_button_1": "Show login QR code",
|
||||
"qr_login_button_2": "Generate login QR code",
|
||||
"notifications": "Notifications",
|
||||
"accountsecurity": "Account Security",
|
||||
"password": "Password",
|
||||
"download": "Download Backup File",
|
||||
"choose": "Please choose a password to encrypt your backup with. (This can be the same as the one you logged in with, or different)",
|
||||
"block": "Block Notifications (Coming Soon...)",
|
||||
"download": "Export/Save Backup File",
|
||||
"choose": "Please input a password to encrypt your backup file. (This can be the same as the one you logged in with, or a new one.)",
|
||||
"playsound": "Play Sound",
|
||||
"shownotifications": "Show Notifications",
|
||||
"nodeurl": "Node Url",
|
||||
"nodehint": "Select a node from the default list of nodes above or add a custom node to the list above by clicking on the button below",
|
||||
"nodehint": "Select a Node from the default list, or add a custom Node to the list by clicking on the button below",
|
||||
"addcustomnode": "Add Custom Node",
|
||||
"addandsave": "Add and Save",
|
||||
"protocol": "Protocol",
|
||||
"domain": "Domain",
|
||||
"port": "Port",
|
||||
"import": "Import Nodes",
|
||||
"export": "Export Nodes",
|
||||
"deletecustomnode": "Remove All Custom Nodes",
|
||||
"warning": "Your existing nodes will be deleted and reset to default.",
|
||||
"snack1": "Successfully deleted and added default nodes",
|
||||
"snack2": "UI conected to node",
|
||||
"snack3": "Successfully added and saved custom node",
|
||||
"snack4": "Nodes successfully saved as",
|
||||
"import": "Import Saved Nodes",
|
||||
"export": "Export Saved Nodes",
|
||||
"deletecustomnode": "REMOVE ALL Custom Nodes",
|
||||
"warning": "Your Custom Nodes will be deleted and reset to default.",
|
||||
"snack1": "Successfully deleted and added default Nodes",
|
||||
"snack2": "UI conected to Node",
|
||||
"snack3": "Successfully ADDED and saved Custom Node (select from drop-down to use)",
|
||||
"snack4": "Nodes successfully exported as:",
|
||||
"snack5": "Nodes successfully imported",
|
||||
"snack6": "Successfully removed custom node",
|
||||
"snack7": "Successfully edited custom node",
|
||||
"exp1": "Export Private Master Key",
|
||||
"snack6": "Successfully removed Custom Node",
|
||||
"snack7": "Successfully edited Custom Node",
|
||||
"exp1": "Export Master Private Key (xpriv)",
|
||||
"exp2": "Export Master Key",
|
||||
"exp3": "Export",
|
||||
"exp4": "Please choose a wallet to backup the private master key.",
|
||||
"core": "Start Core Settings",
|
||||
"exp4": "Please select a wallet to backup/export master private key.",
|
||||
"core": "Core auto-start settings",
|
||||
"qappNotification1": "Q-App Notifications",
|
||||
"selectnode": "Please select an option",
|
||||
"arrr1": "ARRR Wallet Not Initialized !",
|
||||
"arrr2": "Please go to wallet tab and initialize your arrr wallet first.",
|
||||
"arrr1": "ARRR Wallet Not Initialized!",
|
||||
"arrr2": "Please go to wallet tab and access ARRR wallet to initialize wallet first.",
|
||||
"arrr3": "Need Core Update !",
|
||||
"arrr4": "To save the private key of your arrr wallet you need a core update first !"
|
||||
"arrr4": "To save the private key of your ARRR wallet you must first update the Qortal Core!",
|
||||
"sync_indicator": "Disable sync indicator popup"
|
||||
},
|
||||
"appinfo": {
|
||||
"blockheight": "Block Height",
|
||||
@ -247,7 +248,9 @@
|
||||
"balance": "Balance",
|
||||
"balances": "YOUR WALLET BALANCES",
|
||||
"update": "UPDATE WALLET BALANCES",
|
||||
"view": "View"
|
||||
"view": "View",
|
||||
"all": "All",
|
||||
"page": "Page"
|
||||
},
|
||||
"gifs": {
|
||||
"gchange1": "Gif Explorer",
|
||||
@ -275,22 +278,22 @@
|
||||
"gchange23": "Your gif collection cannot contain two gifs with the same name!",
|
||||
"gchange24": "This collection name is already taken. Try another name!",
|
||||
"gchange25": "GIF (click to view)",
|
||||
"gchange26": "A name is needed to access and send GIF files",
|
||||
"gchange26": "Registered Name required to access and send GIF files",
|
||||
"gchange27": "The gif collection size is over 25mb! Please try again!",
|
||||
"gchange28": "Each gif in the collection cannot be over 0.7mb! Please try again!",
|
||||
"gchange29": "Filename"
|
||||
},
|
||||
"startminting": {
|
||||
"smchange1": "Cannot fetch minting accounts",
|
||||
"smchange2": "Failed to remove key",
|
||||
"smchange3": "Failed to add minting key",
|
||||
"smchange4": "Cannot create sponsorship key",
|
||||
"smchange1": "Cannot fetch Minting Accounts",
|
||||
"smchange2": "Failed to remove Minting Key",
|
||||
"smchange3": "Failed to add Minting Key, if key was just created try waiting a few blocks and adding again",
|
||||
"smchange4": "Cannot create Key (Keys can only be created once!)",
|
||||
"smchange5": "Creating relationship",
|
||||
"smchange6": "Awaiting confirmation on blockchain",
|
||||
"smchange7": "Finishing up relationship",
|
||||
"smchange8": "Adding minting key to node",
|
||||
"smchange7": "Finishing up...",
|
||||
"smchange8": "Adding Minting Key to Node",
|
||||
"smchange9": "Complete",
|
||||
"smchange10": "Only 2 minting keys are allowed per node, you are attempting to assign 3 keys, please go to Management - Node Management, and remove the key you do not want to assign to this node, thank you!"
|
||||
"smchange10": "Only 2 Minting Keys are allowed per Node, you are attempting to assign 3 keys, please go to Node Management, and remove any unnecessary keys, thank you!"
|
||||
},
|
||||
"mintingpage": {
|
||||
"mchange1": "General Minting Details",
|
||||
@ -310,7 +313,7 @@
|
||||
"mchange15": "Current Status",
|
||||
"mchange16": "Current Level",
|
||||
"mchange17": "Blocks To Next Level",
|
||||
"mchange18": "If you continue minting 24/7 you will reach level",
|
||||
"mchange18": "If you continue Minting 24/7 you will reach level",
|
||||
"mchange19": "Minting Rewards Info",
|
||||
"mchange20": "Current Tier",
|
||||
"mchange21": "Total Minters in The Tier",
|
||||
@ -326,17 +329,17 @@
|
||||
"mchange31": "Press for help",
|
||||
"mchange32": "Become A Minter",
|
||||
"mchange33": "Introduction",
|
||||
"mchange34": "In Qortal, in order to become a minter and begin earning QORT rewards with your increase in Minter Level, you must first become ‘sponsored’. A sponsor in Qortal is any other minter of level 5 or higher, or a Qortal Founder. You will obtain a minting key from the sponsor, and use that key to get to level 1. Once you have reached level 1, you will be able to create your own minting key and start earning rewards for helping secure the Qortal Blockchain.",
|
||||
"mchange34": "In Qortal, in order to become a Minter and begin earning QORT rewards with your increase in Minter Level, you must first obtain a tamporary Key called a 'Sponsorship Key'. A Sponsor in Qortal is any other minter of level 5 or higher, or a Qortal Founder. You will obtain a Minting Key from the Sponsor, and use that key to get to level 1. Once you have reached level 1, you will be able to create your own Minting Key and start earning rewards for helping secure the Qortal Blockchain.",
|
||||
"mchange35": "Sponsorship",
|
||||
"mchange36": "Your sponsor will issue you a ‘Minting Key’ which you will use to add to your node, and begin minting (for no rewards until reaching level 1.) Once you reach level 1, you create/assign your own ‘Minting Key’ and begin earning rewards.",
|
||||
"mchange37": "Simply reach out to a minter in Qortal who is high enough level to issue a minting key, obtain that key, then come back here and input the key to begin your minting journey!",
|
||||
"mchange36": "Your Sponsor will issue you a ‘Sponsorship Key’ which you will use to add to your Node, and begin minting for no rewards (until reaching level 1.) Once you reach level 1, you create/assign your own ‘Minting Key’ and begin earning rewards.",
|
||||
"mchange37": "Simply reach out to a Minter in Qortal who is high enough level to issue a Minting Key, obtain that key, then come back here and input the key to begin your minting journey!",
|
||||
"mchange38": "in"
|
||||
},
|
||||
"becomeMinterPage": {
|
||||
"bchange7": "Enter Minting Key",
|
||||
"bchange8": "Input key from your sponsor here",
|
||||
"bchange10": "Current Sponsorship Status",
|
||||
"bchange12": "Minting with sponsor's key",
|
||||
"bchange12": "Minting with Sponsorship Key",
|
||||
"bchange13": "Blocks Remaining in Sponsorship Period",
|
||||
"bchange15": "Sponsorship Relationship",
|
||||
"bchange16": "Sponsor Account",
|
||||
@ -439,17 +442,17 @@
|
||||
"tchange31": "SOLD",
|
||||
"tchange32": "BOUGHT",
|
||||
"tchange33": "Average",
|
||||
"tchange34": "Amount can not be 0",
|
||||
"tchange35": "Price can not be 0",
|
||||
"tchange34": "Amount cannot be 0",
|
||||
"tchange35": "Price cannot be 0",
|
||||
"tchange36": "PENDING AUTO BUY",
|
||||
"tchange37": "No auto buy order found!",
|
||||
"tchange37": "No Auto Buy order found!",
|
||||
"tchange38": "ADD",
|
||||
"tchange39": "AUTO BUY ORDER",
|
||||
"tchange40": "Price",
|
||||
"tchange41": "Successfully removed auto buy order!",
|
||||
"tchange41": "Successfully removed Auto Buy order!",
|
||||
"tchange42": "MARKET OPEN SELL ORDERS",
|
||||
"tchange43": "MY BUY HISTORY",
|
||||
"tchange44": "Successfully added auto buy order!",
|
||||
"tchange44": "Successfully added Auto Buy order!",
|
||||
"tchange45": "AUTO BUY WITH",
|
||||
"tchange46": "AUTO BUY",
|
||||
"tchange47": "Sell for this price",
|
||||
@ -457,22 +460,22 @@
|
||||
"tchange49": "Price Chart"
|
||||
},
|
||||
"rewardsharepage": {
|
||||
"rchange1": "Rewardshares",
|
||||
"rchange2": "Create reward share",
|
||||
"rchange3": "Rewardshares Involving In This Account",
|
||||
"rchange1": "Reward Shares",
|
||||
"rchange2": "Create Reward Share",
|
||||
"rchange3": "Rewardshares Involving This Account",
|
||||
"rchange4": "Minting Account",
|
||||
"rchange5": "Share Percent",
|
||||
"rchange6": "Recipient",
|
||||
"rchange7": "Action",
|
||||
"rchange8": "Type",
|
||||
"rchange9": "Level 1 - 4 can create a Self Share and Level 5 or above can create a Reward Share!",
|
||||
"rchange10": "Recipient Public Key",
|
||||
"rchange11": "Reward share percentage",
|
||||
"rchange12": "Doing something delicious",
|
||||
"rchange13": "Adding minting account",
|
||||
"rchange9": "Levels 0 - 4 can only create a Self-Share (minting) keys. Only Level 5 or above can create a Reward Share!",
|
||||
"rchange10": "Recipient's Public Key",
|
||||
"rchange11": "Reward Share percentage",
|
||||
"rchange12": "Executing Requested Command...",
|
||||
"rchange13": "Adding Minting Account",
|
||||
"rchange14": "Add",
|
||||
"rchange15": "Account is not involved in any reward shares",
|
||||
"rchange16": "Own Rewardshare",
|
||||
"rchange15": "Account is not involved in any Reward Shares",
|
||||
"rchange16": "Create Minting Key",
|
||||
"rchange17": "Remove",
|
||||
"rchange18": "Cannot Create Multiple Reward Shares!",
|
||||
"rchange19": "Cannot Create Multiple Self Shares!",
|
||||
@ -506,29 +509,29 @@
|
||||
"nchange23": "Sell Price",
|
||||
"nchange24": "No Names To Sell",
|
||||
"nchange25": "Name To Sell",
|
||||
"nchange26": "Are you sure to sell this name?",
|
||||
"nchange26": "Are you sure you want to sell this name? If Name is purchased by another account, all data Published by this Name will be out of your control!",
|
||||
"nchange27": "For this price in QORT",
|
||||
"nchange28": "On pressing confirm, the sell name request will be sent!",
|
||||
"nchange28": "On pressing confirm, your Name will be listed for sale!",
|
||||
"nchange29": "Name To Cancel",
|
||||
"nchange30": "Are you sure to cancel the sell for this name?",
|
||||
"nchange31": "On pressing confirm, the cancel sell name request will be sent!",
|
||||
"nchange30": "Are you sure to cancel the sell for this Name?",
|
||||
"nchange31": "On pressing confirm, the Name Sale will be canceled!",
|
||||
"nchange32": "Sell Name Request Successful!",
|
||||
"nchange33": "Cancel Sell Name Request Successful!",
|
||||
"nchange34": "Buy Name Request Successful!",
|
||||
"nchange35": "YOU HAVE A NAME!",
|
||||
"nchange36": "Only accounts with no registered name can buy a name.",
|
||||
"nchange36": "Only accounts with no Registered Name can buy a Name.",
|
||||
"nchange37": "ATTENTION!",
|
||||
"nchange38": "You not have enough QORT to buy this name.",
|
||||
"nchange39": "Are you sure to buy this name?",
|
||||
"nchange40": "On pressing confirm, the buy name request will be sent!",
|
||||
"nchange38": "You not have enough QORT to buy this Name.",
|
||||
"nchange39": "Are you sure to buy this Name?",
|
||||
"nchange40": "On pressing confirm, the Buy Name request will be sent!",
|
||||
"nchange41": "Old Name",
|
||||
"nchange42": "New Name",
|
||||
"nchange43": "Are you sure to change this name?",
|
||||
"nchange44": "To the new name",
|
||||
"nchange45": "On pressing confirm, the name update request will be sent!",
|
||||
"nchange45": "On pressing confirm, the Update Name request will be sent!",
|
||||
"nchange46": "Name Sale History",
|
||||
"nchange47": "Name Update Successful!",
|
||||
"nchange48": "Warning! If you update your name, you will forfeit the resources associated with the original name. In other words, you will lose ownership of the content under the original name in the QDN. Proceed with caution!"
|
||||
"nchange48": "Warning! If you update your Name, you will forfeit the resources associated with the original Name. In other words, you will lose ownership of the content under the original Name on QDN. Proceed with caution!"
|
||||
},
|
||||
"websitespage": {
|
||||
"schange1": "Browse Websites",
|
||||
@ -537,7 +540,7 @@
|
||||
"schange4": "Search Websites",
|
||||
"schange5": "Avatar",
|
||||
"schange6": "Details",
|
||||
"schange7": "Published by",
|
||||
"schange7": "Published by:",
|
||||
"schange8": "Actions",
|
||||
"schange9": "Websites",
|
||||
"schange10": "No websites available",
|
||||
@ -548,14 +551,14 @@
|
||||
"schange15": "Blocked Websites",
|
||||
"schange16": "You have not blocked any websites",
|
||||
"schange17": "Name Not Found!",
|
||||
"schange18": "Relay mode is enabled. This means that your node will help to transport encrypted data around the network when a peer requests it. You can opt out by setting",
|
||||
"schange18": "Relay Mode is ENABLED. This means that your Node will help to transport ENCRYPTED/CHUNKED data around the network when a peer requests it. You can opt out by setting:",
|
||||
"schange19": "in",
|
||||
"schange20": "Relay mode is disabled. You can enable it by setting",
|
||||
"schange20": "Relay mode is DISABLED. You can enable it by setting:",
|
||||
"schange21": "Publish Website",
|
||||
"schange22": "Error occurred when trying to follow this registered name. Please try again!",
|
||||
"schange23": "Error occurred when trying to unfollow this registered name. Please try again!",
|
||||
"schange24": "Error occurred when trying to block this registered name. Please try again!",
|
||||
"schange25": "Error occurred when trying to unblock this registered name. Please try again!",
|
||||
"schange22": "Error occurred when trying to follow this Registered Name. Please try again!",
|
||||
"schange23": "Error occurred when trying to unfollow this Registered Name. Please try again!",
|
||||
"schange24": "Error occurred when trying to block this Registered Name. Please try again!",
|
||||
"schange25": "Error occurred when trying to unblock this Registered Name. Please try again!",
|
||||
"schange26": "Uncategorized",
|
||||
"schange27": "Size",
|
||||
"schange28": "Status",
|
||||
@ -585,14 +588,14 @@
|
||||
"schange15": "Blocked Q-Apps",
|
||||
"schange16": "You have not blocked any Q-Apps",
|
||||
"schange17": "Name Not Found!",
|
||||
"schange18": "Relay mode is enabled. This means that your node will help to transport encrypted data around the network when a peer requests it. You can opt out by setting",
|
||||
"schange18": "Relay mode is enabled. This means that your Node will help to transport ENCRYPTED/CHUNKED data around the network when a peer requests it. You can opt out by setting",
|
||||
"schange19": "in",
|
||||
"schange20": "Relay mode is disabled. You can enable it by setting",
|
||||
"schange21": "Publish Q-App",
|
||||
"schange22": "Error occurred when trying to follow this registered name. Please try again!",
|
||||
"schange23": "Error occurred when trying to unfollow this registered name. Please try again!",
|
||||
"schange24": "Error occurred when trying to block this registered name. Please try again!",
|
||||
"schange25": "Error occurred when trying to unblock this registered name. Please try again!",
|
||||
"schange22": "Error occurred when trying to follow this Registered Name. Please try again!",
|
||||
"schange23": "Error occurred when trying to unfollow this Registered Name. Please try again!",
|
||||
"schange24": "Error occurred when trying to block this Registered Name. Please try again!",
|
||||
"schange25": "Error occurred when trying to unblock this Registered Name. Please try again!",
|
||||
"schange26": "Uncategorized",
|
||||
"schange27": "Size",
|
||||
"schange28": "Status",
|
||||
@ -601,7 +604,7 @@
|
||||
"schange31": "Block",
|
||||
"schange32": "Unblock",
|
||||
"schange33": "Name to search",
|
||||
"schange34": "Name can not be empty!",
|
||||
"schange34": "Name cannot be empty!",
|
||||
"schange35": "Search",
|
||||
"schange36": "Download",
|
||||
"schange37": "Downloaded",
|
||||
@ -630,14 +633,14 @@
|
||||
"schange15": "Blocked Q-Tubes",
|
||||
"schange16": "You have not blocked any Q-Tubes",
|
||||
"schange17": "Name Not Found!",
|
||||
"schange18": "Relay mode is enabled. This means that your node will help to transport encrypted data around the network when a peer requests it. You can opt out by setting",
|
||||
"schange18": "Relay Mode is ENABLED. This means that your Node will help to transport ENCRYPTED/CHUNKED data around the network when a peer requests it. You can opt out by setting:",
|
||||
"schange19": "in",
|
||||
"schange20": "Relay mode is disabled. You can enable it by setting",
|
||||
"schange20": "Relay mode is DISABLED. You can enable it by setting:",
|
||||
"schange21": "Publish Video",
|
||||
"schange22": "Error occurred when trying to follow this registered name. Please try again!",
|
||||
"schange23": "Error occurred when trying to unfollow this registered name. Please try again!",
|
||||
"schange24": "Error occurred when trying to block this registered name. Please try again!",
|
||||
"schange25": "Error occurred when trying to unblock this registered name. Please try again!",
|
||||
"schange22": "Error occurred when trying to follow this Registered Name. Please try again!",
|
||||
"schange23": "Error occurred when trying to unfollow this Registered Name. Please try again!",
|
||||
"schange24": "Error occurred when trying to block this Registered Name. Please try again!",
|
||||
"schange25": "Error occurred when trying to unblock this Registered Name. Please try again!",
|
||||
"schange26": "Uncategorized",
|
||||
"schange27": "Size",
|
||||
"schange28": "Status",
|
||||
@ -660,7 +663,7 @@
|
||||
"publishpage": {
|
||||
"pchange1": "Publish",
|
||||
"pchange2": "Update",
|
||||
"pchange3": "Note: it is recommended that you set up port forwarding before hosting data, so that it can more easily be accessed by peers on the network.",
|
||||
"pchange3": "Note: it is recommended that you set up Port Forwarding before hosting data, so that it can more easily be accessed by peers on the network.",
|
||||
"pchange4": "Select Name",
|
||||
"pchange5": "Title",
|
||||
"pchange6": "Description",
|
||||
@ -671,11 +674,11 @@
|
||||
"pchange11": "Publish",
|
||||
"pchange12": "Select zip file containing static content",
|
||||
"pchange13": "Local path to static files",
|
||||
"pchange14": "Please select a registered name to publish data for",
|
||||
"pchange14": "Please select a Registered Name to publish data for",
|
||||
"pchange15": "Please select a file to host",
|
||||
"pchange16": "Please select a zip file to host",
|
||||
"pchange17": "Please enter the directory path containing the static content",
|
||||
"pchange18": "Please enter a service name",
|
||||
"pchange18": "Please enter a Service Name",
|
||||
"pchange19": "Processing data... this can take some time...",
|
||||
"pchange20": "Error:",
|
||||
"pchange21": "Internal Server Error when publishing data",
|
||||
@ -690,16 +693,16 @@
|
||||
"bchange2": "Reload",
|
||||
"bchange3": "Back to list",
|
||||
"bchange4": "Delete",
|
||||
"bchange5": "from node",
|
||||
"bchange5": "From Node",
|
||||
"bchange6": "Your browser doesn't support iframes",
|
||||
"bchange7": "Follow",
|
||||
"bchange8": "Unfollow",
|
||||
"bchange9": "Block",
|
||||
"bchange10": "Unblock",
|
||||
"bchange11": "Error occurred when trying to follow this registered name. Please try again!",
|
||||
"bchange12": "Error occurred when trying to unfollow this registered name. Please try again!",
|
||||
"bchange13": "Error occurred when trying to block this registered name. Please try again!",
|
||||
"bchange14": "Error occurred when trying to unblock this registered name. Please try again!",
|
||||
"bchange11": "Error occurred when trying to follow this Registered Name. Please try again!",
|
||||
"bchange12": "Error occurred when trying to unfollow this Registered Name. Please try again!",
|
||||
"bchange13": "Error occurred when trying to block this Registered Name. Please try again!",
|
||||
"bchange14": "Error occurred when trying to unblock this Registered Name. Please try again!",
|
||||
"bchange15": "Can't delete data from followed names. Please unfollow first.",
|
||||
"bchange16": "Error occurred when trying to delete this resource. Please try again!",
|
||||
"bchange17": "User declined to share account details",
|
||||
@ -739,29 +742,30 @@
|
||||
"bchange51": "To submit the changes don't forget to click on 'Update profile'",
|
||||
"bchange52": "Do you give this application permission to get your wallet information?",
|
||||
"bchange53": "Always allow your friends list to be retrieved automatically by all apps",
|
||||
"bchange54": "Do you give this application permission to access your friends list?"
|
||||
"bchange54": "Do you give this application permission to access your friends list?",
|
||||
"bchange55": "Do you give this application permission to send this command?"
|
||||
},
|
||||
"datapage": {
|
||||
"dchange1": "Data Management",
|
||||
"dchange2": "Search in hosted data by this node",
|
||||
"dchange2": "Search in hosted data by this Node",
|
||||
"dchange3": "Data to search",
|
||||
"dchange4": "Search",
|
||||
"dchange5": "Registered Name",
|
||||
"dchange6": "Service",
|
||||
"dchange7": "Identifier",
|
||||
"dchange8": "Actions",
|
||||
"dchange9": "Data hosted by this node",
|
||||
"dchange9": "Data hosted by this Node",
|
||||
"dchange10": "Data name can not be empty!",
|
||||
"dchange11": "Data not found!",
|
||||
"dchange12": "Couldn't fetch hosted data list from node",
|
||||
"dchange13": "This node isn't hosting any data",
|
||||
"dchange12": "Couldn't fetch hosted data list from Node",
|
||||
"dchange13": "This Node isn't hosting any data",
|
||||
"dchange14": "Unfollow",
|
||||
"dchange15": "Delete",
|
||||
"dchange16": "Block",
|
||||
"dchange17": "Unblock",
|
||||
"dchange18": "Error occurred when trying to block this registered name. Please try again!",
|
||||
"dchange19": "Error occurred when trying to unfollow this registered name. Please try again!",
|
||||
"dchange20": "Error occurred when trying to unblock this registered name. Please try again!",
|
||||
"dchange18": "Error occurred when trying to block this Registered Name. Please try again!",
|
||||
"dchange19": "Error occurred when trying to unfollow this Registered Name. Please try again!",
|
||||
"dchange20": "Error occurred when trying to unblock this Registered Name. Please try again!",
|
||||
"dchange21": "Error occurred when trying to delete this resource. Please try again!"
|
||||
},
|
||||
"chatpage": {
|
||||
@ -779,7 +783,7 @@
|
||||
"cchange12": "Owner",
|
||||
"cchange13": "Action",
|
||||
"cchange14": "This account has not blocked any users.",
|
||||
"cchange15": "No registered name",
|
||||
"cchange15": "No Registered Name",
|
||||
"cchange16": "Successfully unblocked this user.",
|
||||
"cchange17": "Error occurred when trying to unblock this user. Please try again!",
|
||||
"cchange18": "unblock",
|
||||
@ -791,7 +795,7 @@
|
||||
"cchange24": "Maximum Characters per message is 255",
|
||||
"cchange25": "Edit Message",
|
||||
"cchange26": "File size exceeds 0.5 MB",
|
||||
"cchange27": "A registered name is required to send images",
|
||||
"cchange27": "A Registered Name is required to send images",
|
||||
"cchange28": "This file is not an image",
|
||||
"cchange29": "Maximum message size is 1000 bytes",
|
||||
"cchange30": "Uploading image. This may take up to one minute.",
|
||||
@ -805,7 +809,7 @@
|
||||
"cchange39": "Cannot send an encrypted message to this user since they do not have their publickey on chain.",
|
||||
"cchange40": "IMAGE (click to view)",
|
||||
"cchange41": "Your Balance Is Under 4 QORT",
|
||||
"cchange42": "Out of the need to combat spam, accounts with under 4 QORT balance will take a long time to SEND messages in Q-Chat. If you wish to immediately increase the send speed for Q-Chat messages, obtain over 4 QORT to your address. This can be done with trades in the Trade Portal, or by way of another Qortian giving you the QORT. Once you have over 4 QORT in your account, Q-Chat messages will be instant and this dialog will no more show. Thank you for your understanding of this necessary spam prevention method, and we hope you enjoy Qortal!",
|
||||
"cchange42": "Out of the need to combat spam, accounts with UNDER 4 QORT BALANCE will take a long time to SEND messages in Q-Chat. If you wish to immediately increase the send speed for Q-Chat messages, obtain over 4 QORT to your address. This can be done with trades in the Trade Portal, or by way of another Qortian giving you the QORT. Once you have over 4 QORT in your account, Q-Chat messages will be instant and this dialog will not show. It does NOT cost QORT to send messages. Thank you for your understanding of this necessary spam prevention method, and we hope you enjoy Qortal!",
|
||||
"cchange43": "Tip QORT to",
|
||||
"cchange44": "SEND MESSAGE",
|
||||
"cchange45": "TIP USER",
|
||||
@ -839,7 +843,7 @@
|
||||
"cchange74": "reacted with",
|
||||
"cchange75": "Uploading attachment. This may take up to one minute.",
|
||||
"cchange76": "Deleting attachment. This may take up to one minute.",
|
||||
"cchange77": "Attachment size exceeds 1 MB",
|
||||
"cchange77": "Attachment size exceeds 10 MB",
|
||||
"cchange78": "Are you sure you want to delete this image?",
|
||||
"cchange79": "Are you sure you want to delete this attachment?",
|
||||
"cchange80": "This image has been deleted",
|
||||
@ -852,7 +856,24 @@
|
||||
"cchange94": "loaded",
|
||||
"cchange95": "Only my resources",
|
||||
"cchange96": "Open Group Management",
|
||||
"cchange97": "Join group link copied to clipboard"
|
||||
"cchange97": "Join group link copied to clipboard",
|
||||
"cchange98": "Uploading file. This may take some minutes.",
|
||||
"cchange99": "Deleting file. This may take up to one minute.",
|
||||
"cchange100": "File size exceeds 125 MB",
|
||||
"cchange101": "Are you sure you want to delete this file?",
|
||||
"cchange102": "This file has been deleted",
|
||||
"cchange103": "Uploading gif. This may take up to one minutes.",
|
||||
"cchange104": "Deleting gif. This may take up to one minute.",
|
||||
"cchange105": "File size exceeds 3 MB",
|
||||
"cchange106": "Are you sure you want to delete this gif?",
|
||||
"cchange107": "This gif has been deleted",
|
||||
"cchange108": "Download will continue in the background, only ONE Q-Chat file can be downloaded simultaneously.",
|
||||
"cchange109": "File type not supported!",
|
||||
"cchange110": "IMAGE UPLOAD",
|
||||
"cchange111": "GIF UPLOAD",
|
||||
"cchange112": "ATTACHMENT UPLOAD",
|
||||
"cchange113": "FILE UPLOAD",
|
||||
"cchange114": "Write something ..."
|
||||
},
|
||||
"welcomepage": {
|
||||
"wcchange1": "Welcome to Q-Chat",
|
||||
@ -869,7 +890,7 @@
|
||||
"bcchange1": "Block User",
|
||||
"bcchange2": "Successfully blocked this user!",
|
||||
"bcchange3": "Error occurred when trying to block this user. Please try again!",
|
||||
"bcchange4": "No registered name",
|
||||
"bcchange4": "No Registered Name",
|
||||
"bcchange5": "Block User Request",
|
||||
"bcchange6": "Are you sure to block this user?",
|
||||
"bcchange7": "MENU",
|
||||
@ -900,7 +921,7 @@
|
||||
"gchange12": "Create a New Group",
|
||||
"gchange13": "Group Type",
|
||||
"gchange14": "This Field is Required",
|
||||
"gchange15": "Select an option",
|
||||
"gchange15": "--SELECT AN OPTION--",
|
||||
"gchange16": "Public",
|
||||
"gchange17": "Private",
|
||||
"gchange18": "Group Approval Threshold (number / percentage of Admins that must approve a transaction):",
|
||||
@ -929,7 +950,7 @@
|
||||
"gchange41": "Group Creation Successful!",
|
||||
"gchange42": "Invalid Group Name",
|
||||
"gchange43": "Invalid Group Description",
|
||||
"gchange44": "Select a Group Type",
|
||||
"gchange44": "Select Group Type",
|
||||
"gchange45": "Select a Group Approval Threshold",
|
||||
"gchange46": "Select a Minimum Block delay for Group Transaction Approvals",
|
||||
"gchange47": "Select a Maximum Block delay for Group Transaction Approvals",
|
||||
@ -944,7 +965,19 @@
|
||||
"gchange56": "Group Name To Search",
|
||||
"gchange57": "Private Group Name Not Found",
|
||||
"gchange58": "Note that group name must be an exact match.",
|
||||
"gchange59": "Show / Hide Ticker"
|
||||
"gchange59": "Show / Hide Ticker",
|
||||
"gchange60": "Please enter group name",
|
||||
"gchange61": "Please enter description",
|
||||
"gchange62": "Are you sure to UPDATE this group?",
|
||||
"gchange63": "On pressing CONFIRM, the UPDATE_GROUP request will be sent!",
|
||||
"gchange64": "Current Owner / New Owner",
|
||||
"gchange65": "Only replace this address if you want to transfer the group!",
|
||||
"gchange66": "Invalid Owner / New Owner Address",
|
||||
"gchange67": "Group Update Successful!",
|
||||
"gchange68": "Set Group Avatar",
|
||||
"gchange69": "Messages",
|
||||
"gchange70": "No messages in the last 24 hours!",
|
||||
"gchange71": "You have already joined this group!"
|
||||
},
|
||||
"puzzlepage": {
|
||||
"pchange1": "Puzzles",
|
||||
@ -978,8 +1011,8 @@
|
||||
"nchange10": "Recipient Account",
|
||||
"nchange11": "Action",
|
||||
"nchange12": "Remove",
|
||||
"nchange13": "No minting accounts found for this node",
|
||||
"nchange14": "Peers connected to this node",
|
||||
"nchange13": "No minting accounts found for this Node",
|
||||
"nchange14": "Peers connected to this Node",
|
||||
"nchange15": "Add peer",
|
||||
"nchange16": "Type the peer you wish to add's address below",
|
||||
"nchange17": "Peer Address",
|
||||
@ -1002,7 +1035,7 @@
|
||||
"nchange34": "Successfully Sent Restart Request!",
|
||||
"nchange35": "Start Node",
|
||||
"nchange36": "Successfully Started Node!",
|
||||
"nchange37": "Clicking on continue will refresh your Qortal Core, your db will be removed, and you will downoad a new copy of the db, called “bootstrapping“.",
|
||||
"nchange37": "Clicking on continue will refresh your Qortal Core, your db will be removed, and you will download a new copy of the db, called “bootstrapping“.",
|
||||
"nchange38": "Repair LTC Wallet",
|
||||
"nchange39": "This will repair LTC wallets that show a balance that cannot be spent. It requires a single transaction to be made on the Litecoin network, after confirmation the wallet balance will be functional and the issue will not happen again.",
|
||||
"nchange40": "This transaction will consume a small LTC fee. Continue?",
|
||||
@ -1020,7 +1053,7 @@
|
||||
"apipage": {
|
||||
"achange1": "Add API key",
|
||||
"achange2": "API key",
|
||||
"achange3": "Please enter the API key for this node. It can be found in a file called “apikey.txt“ in the directory where the core is installed. Alternatively, click Cancel to use the core with reduced functionality.",
|
||||
"achange3": "Please enter the API key for this Node. It can be found in a file called “apikey.txt“ in the directory where the core is installed. Alternatively, click Cancel to use the core with reduced functionality.",
|
||||
"achange4": "Cancel",
|
||||
"achange5": "Add",
|
||||
"achange6": "Successfully added API Key",
|
||||
@ -1040,8 +1073,8 @@
|
||||
"groupdialog6": "On pressing confirm, the group creating request will be sent!",
|
||||
"rewarddialog1": "Would you like to create a reward share transaction, sharing",
|
||||
"rewarddialog2": "of your minting rewards with",
|
||||
"rewarddialog3": "If yes, you will need to save the key below in order to mint. It can be supplied to any node in order to allow it to mint on your behalf.",
|
||||
"rewarddialog4": "On pressing confirm, the reward share will be created, but you will still need to supply the above key to a node in order to mint with the account.",
|
||||
"rewarddialog3": "If yes, you will need to save the key below in order to mint. It can be supplied to any Node in order to allow it to mint on your behalf.",
|
||||
"rewarddialog4": "On pressing confirm, the reward share will be created, but you will still need to supply the above key to a Node in order to mint with the account.",
|
||||
"rewarddialog5": "You are removing a reward share transaction associated with account:",
|
||||
"rewarddialog6": "On pressing confirm, the reward share will be removed and the minting key will become invalid.",
|
||||
"deployAtdialog1": "You are deploying the AT",
|
||||
@ -1082,7 +1115,7 @@
|
||||
"exp2": "Account Balance",
|
||||
"exp3": "More Info",
|
||||
"exp4": "Address or Name not found!",
|
||||
"exp5": "Note that registered names are case-sensitive.",
|
||||
"exp5": "Note that Registered Names are case-sensitive.",
|
||||
"exp6": "Founder",
|
||||
"exp7": "Info",
|
||||
"exp8": "Show all buy trades",
|
||||
@ -1175,7 +1208,7 @@
|
||||
"inf7": "Auto Buy Information",
|
||||
"inf8": "Close Auto Buy Info",
|
||||
"inf9": "'Auto Buy' is a feature that allows 'buy orders' to be placed on the Trade Portal. These 'buy orders' are only visible by the person placing them. They are not 'public' buy orders like the 'open market sells' are, and are NOT stored on the Qortal blockchain. Auto Buy is a UI feature, and as such requires that the UI is RUNNING.",
|
||||
"inf10": "To place an Auto Buy order click 'Add Auto Buy Order' button and fill out the box that comes up. Input the AMOUNT OF QORT you wish to BUY, and the PRICE you are willing to BUY UP TO. Once the order is active, Auto Buy will buy UP TO that amount of QORT for you, at UP TO the price you set (starting at the lowest order and moving up the books.)",
|
||||
"inf10": "To place an Auto Buy order click 'Add Auto Buy Order' button and fill out the box that comes up. Input the AMOUNT OF QORT you wish to BUY or the amount of LTC you wish to use, and the PRICE you are willing to BUY UP TO. Once the order is active, Auto Buy will buy UP TO that amount of QORT for you, at UP TO the price you set (starting at the lowest order and moving up the books.)",
|
||||
"inf11": "Simply LEAVE YOUR UI RUNNING and Auto Buy does the rest, automatically!",
|
||||
"inf12": "You CAN browse other plugins in the UI (Q-Chat, wallets, etc.) but you CANNOT CLOSE THE UI if you want your Auto Buy to complete. Leaving the UI 'minimized' on the 'taskbar' or 'panel' is just fine, as long as the UI remains OPEN Auto Buy will function.",
|
||||
"inf13": "Automatically buy",
|
||||
@ -1287,5 +1320,104 @@
|
||||
"tour20": "blocks behind. Would you like to refresh (bootstrap) to speed up the syncing process?",
|
||||
"tour21": "blocks remaining.",
|
||||
"tour22": "Refresh (bootstrap) requested. Please wait."
|
||||
},
|
||||
"chatsettings": {
|
||||
"cs1": "Chat Settings",
|
||||
"cs2": "General Chat Settings",
|
||||
"cs3": "Chat Message Timestamp",
|
||||
"cs4": "Time Ago",
|
||||
"cs5": "Local Time",
|
||||
"cs6": "Chat Message Font Size",
|
||||
"cs7": "Standard",
|
||||
"cs8": "px"
|
||||
},
|
||||
"modals": {
|
||||
"mpchange1": "All requested ATs need to be of the same foreign Blockchain.",
|
||||
"mpchange2": "Do you give this application permission to perform a buy order?",
|
||||
"mpchange3": "Successfully created buy order",
|
||||
"mpchange4": "Please wait untill buy order get fulfilled",
|
||||
"mpchange5": "Failed to submit buy order.",
|
||||
"mpchange6": "Do you give this application permission to perform a sell order?",
|
||||
"mpchange7": "For:",
|
||||
"mpchange8": "Successfully created sell order.",
|
||||
"mpchange9": "Please wait untill the sell order get listed.",
|
||||
"mpchange10": "Failed to submit sell order.",
|
||||
"mpchange11": "Cannot find AT info.",
|
||||
"mpchange12": "Do you give this application permission to perform cancel a sell order?",
|
||||
"mpchange13": "Successfully cancelled sell order.",
|
||||
"mpchange14": "Please wait untill the trade cancelling get fulfilled.",
|
||||
"mpchange15": "Failed to cancel sell order.",
|
||||
"mpchange16": "Error in retrieving list.",
|
||||
"mpchange17": "Error in adding to list.",
|
||||
"mpchange18": "Error in delete list.",
|
||||
"mpchange19": "Error in retrieving friends list.",
|
||||
"mpchange20": "Count is not a number.",
|
||||
"mpchange21": "Missing count.",
|
||||
"mpchange22": "No data or file was submitted.",
|
||||
"mpchange23": "Encrypting data requires public keys.",
|
||||
"mpchange24": "Only encrypted data can go into private services.",
|
||||
"mpchange25": "Upload failed due to failed encryption.",
|
||||
"mpchange26": "Upload failed.",
|
||||
"mpchange27": "Invalid data.",
|
||||
"mpchange28": "No resources to publish.",
|
||||
"mpchange29": "Unknown error.",
|
||||
"mpchange30": "Poll not found.",
|
||||
"mpchange31": "Failed to vote on the poll.",
|
||||
"mpchange32": "Failed to created poll.",
|
||||
"mpchange33": "Please enter a qortal link - qortal://...",
|
||||
"mpchange34": "Invalid qortal link.",
|
||||
"mpchange35": "Error in pushing notification.",
|
||||
"mpchange36": "Could not send message.",
|
||||
"mpchange37": "Cannot send an encrypted message to this user since they do not have their publickey on chain.",
|
||||
"mpchange38": "Request could not be fulfilled.",
|
||||
"mpchange39": "Group not found.",
|
||||
"mpchange40": "Do you give this application permission to perform a join group request?",
|
||||
"mpchange41": "Group Name:",
|
||||
"mpchange42": "Group ID:",
|
||||
"mpchange43": "Successfully created join group request.",
|
||||
"mpchange44": "Failed to join the group.",
|
||||
"mpchange45": "A mime type could not be derived.",
|
||||
"mpchange46": "A file extension could not be derived.",
|
||||
"mpchange47": "User declined the download.",
|
||||
"mpchange48": "Failed to initiate download.",
|
||||
"mpchange49": "Failed to deploy AT.",
|
||||
"mpchange50": "User does not have a profile.",
|
||||
"mpchange51": "Cannot find requested data.",
|
||||
"mpchange52": "Failed to get profile data.",
|
||||
"mpchange53": "Failed to set property.",
|
||||
"mpchange54": "Failed to open profile.",
|
||||
"mpchange55": "Error in retrieving server info.",
|
||||
"mpchange56": "Error in tx activity summary.",
|
||||
"mpchange57": "Error in get foreign fee.",
|
||||
"mpchange58": "Error in update foreign fee.",
|
||||
"mpchange59": "Error in get server connection history.",
|
||||
"mpchange60": "Error in set current server.",
|
||||
"mpchange61": "Error in add server.",
|
||||
"mpchange62": "Error in remove server.",
|
||||
"mpchange63": "Error in retrieving summary.",
|
||||
"mpchange64": "Failed to decode transaction.",
|
||||
"mpchange65": "Do you give this application permission to sign and process a transaction?",
|
||||
"mpchange66": "Do you give this application permission to sign a transaction?",
|
||||
"mpchange67": "Read the transaction carefully before accepting.",
|
||||
"mpchange68": "Tx type:",
|
||||
"mpchange69": "TX Data:",
|
||||
"mpchange70": "Process transaction was not requested.",
|
||||
"mpchange71": "Signed bytes are: ",
|
||||
"mpchange72": "Transaction signed and processed successfully.",
|
||||
"mpchange73": "Transaction was not able to be processed.",
|
||||
"mpchange74": "Failed to Fetch QORT Balance. Try again!",
|
||||
"mpchange75": "Could not send coin.",
|
||||
"mpchange76": "Failed to Fetch BTC Balance. Try again!",
|
||||
"mpchange77": "Failed to Fetch LTC Balance. Try again!",
|
||||
"mpchange78": "Failed to Fetch DOGE Balance. Try again!",
|
||||
"mpchange79": "Failed to Fetch DGB Balance. Try again!",
|
||||
"mpchange80": "Failed to Fetch RVN Balance. Try again!",
|
||||
"mpchange81": "Failed to Fetch ARRR Balance. Try again!",
|
||||
"mpchange82": "MISSING FIELDS",
|
||||
"mpchange83": "DECLINED",
|
||||
"mpchange84": "FAILURE",
|
||||
"mpchange85": "SUCCESS",
|
||||
"mpchange86": "Always allow get wallet balance automatically",
|
||||
"mpchange87": "Please Enter The Group ID"
|
||||
}
|
||||
}
|
||||
|
@ -8,6 +8,7 @@
|
||||
"dutch": "荷兰语",
|
||||
"english": "英文",
|
||||
"estonian": "爱沙尼亚文",
|
||||
"finnish": "芬兰语",
|
||||
"french": "法文",
|
||||
"german": "德文",
|
||||
"hindi": "印度文",
|
||||
@ -79,7 +80,7 @@
|
||||
"tm32": "该帐户没有关注任何用户",
|
||||
"tm33": "导入选项卡菜单",
|
||||
"tm34": "导出选项卡菜单",
|
||||
"tm35": "您现有的选项卡菜单将被删除并设置为上传的选项卡菜单。",
|
||||
"tm35": "您现有的选项卡菜单将被删除并设置为导入的选项卡菜单。",
|
||||
"tm36": "选项卡菜单恢复成功",
|
||||
"tm37": "选项卡菜单成功另存为",
|
||||
"tm38": "开发模式",
|
||||
@ -107,32 +108,32 @@
|
||||
"decrypt": "正在解密钱包备份文件",
|
||||
"save": "保存钱包,以便下次登入.",
|
||||
"prepare": "正在加载你的钱包",
|
||||
"areyousure": "你确定将此钱包在已保存钱包列表中删除吗?",
|
||||
"areyousure": "您确定要从已保存的帐户中删除此帐户吗? (如果删除并且不存在备份文件,帐户可能会永远丢失!在执行此操作之前确保您有备份文件!",
|
||||
"error1": "备份文件必须为有效的JSON格式文件",
|
||||
"error2": "请选择登入方式",
|
||||
"createwelcome": "欢迎来到Qortal,您会发现它类似于RPG 游戏,作为Qortal 网络上的铸币者(如果您选择成为其中的铸币者),您将有机会升级您的帐户,并随着等级提高而获得更多QORT 区块奖励以及参与平台上各种决策投票。",
|
||||
"createwelcome": "欢迎来到Qortal! 您的去中心化数字未来正等待着您! 在 Qortal 上,只有您对您的数据拥有绝对的控制权。 Qortal 提供了一个新的、完全由用户控制的数字世界的基础水平。",
|
||||
"createa": "你的",
|
||||
"click": "点击查看助记词",
|
||||
"confirmpass": "确认密码",
|
||||
"willbe": "将在后台随机生成。 这将用作您在Qortal 中的区块链帐户的私人密钥。",
|
||||
"willbe": "将在后台随机生成。 如果您想查看种子短语,请单击本文中突出显示的“种子短语”。 这用作您在 Qortal 中的区块链帐户的私钥生成器。 为了安全起见,默认情况下,除非特别选择,否则不会显示助记词。",
|
||||
"clicknext": " ▼▼▼点击下一步创建你的Qortal账号▼▼▼",
|
||||
"ready": "您的帐户即将创建成功, 它将保存在此浏览器中。 如果您不希望将新帐户保存在浏览器中,可以取消勾选下面的选项。 您仍可透过使用创建帐户时载的钱包备份文件进行的登入。",
|
||||
"ready": "您的帐户现在已准备好创建。 默认情况下,它将以加密形式保存在 Qortal UI 的此副本中。 如果您不希望在此处保存您的新帐户,您可以取消选中下面的复选框。 您仍然可以使用新帐户登录(注销后),使用创建帐户后必须下载的钱包备份文件。",
|
||||
"welmessage": "欢迎来到Qortal",
|
||||
"pleaseenter": "请密码!",
|
||||
"notmatch": "密码不一致!",
|
||||
"lessthen8": "你的密码长度少于5位! 我们不建议使用,但你仍可继续使用此密码。",
|
||||
"lessthen8-2": "你的密码长度少于5位!",
|
||||
"entername": "请输入一个代称",
|
||||
"entername": "请输入显示名称!",
|
||||
"downloaded": "你的钱包备份文件已顺利下载!",
|
||||
"loading": "加载中,请耐心等候...",
|
||||
"createdseed": "你已创建的助记词",
|
||||
"saveseed": "保存助记词",
|
||||
"savein": "保存在UI上",
|
||||
"backup2": "请小心保存钱包备份文件,并谨记之前设置好的密码。否则你将会失去这个钱包的所有控制权,请务必将备份文件放在不同的存储装置上",
|
||||
"savewallet": "下载并保存钱包备份文件",
|
||||
"backup2": "除非保存到 UI,否则此文件是访问您帐户的唯一方式(默认情况下)。 请务必在多个位置备份此文件。 该文件经过非常安全的加密,并使用您在上一步中创建的本地密码进行解密。 您可以将其安全地保存在任何地方,但请务必在多个位置执行此操作。",
|
||||
"savewallet": "保存 Qortal 备份文件",
|
||||
"created1": "你的账号已创建成功",
|
||||
"created2": "并会储存在UI上.",
|
||||
"downloadbackup": "下载钱包备份文件",
|
||||
"created2": "并以加密形式保存在此 UI 中。",
|
||||
"downloadbackup": "保存 Qortal 备份文件",
|
||||
"passwordhint": "密码必须至少为5 个字符。",
|
||||
"lp1": "锁定屏幕",
|
||||
"lp2": "未设置锁屏密码!",
|
||||
@ -163,7 +164,7 @@
|
||||
},
|
||||
"fragfile": {
|
||||
"selectfile": "选择文件",
|
||||
"dragfile": "将备份文件拖到此处"
|
||||
"dragfile": "拖放或单击此处选择备份文件"
|
||||
},
|
||||
"settings": {
|
||||
"generalinfo": "一般钱包信息",
|
||||
@ -180,9 +181,8 @@
|
||||
"notifications": "通知",
|
||||
"accountsecurity": "钱包安全性",
|
||||
"password": "密码",
|
||||
"download": "下载备份文件",
|
||||
"download": "导出/保存 Qortal 备份文件",
|
||||
"choose": "请输入一组密码加密你的备份文件。(可使用你刚才登入时的相同密码或者不同的密码)",
|
||||
"block": "区块通知(即将推出...)",
|
||||
"playsound": "开启音效",
|
||||
"shownotifications": "显示通知",
|
||||
"nodeurl": "节点地址",
|
||||
@ -192,8 +192,8 @@
|
||||
"protocol": "协议",
|
||||
"domain": "域名",
|
||||
"port": "端口",
|
||||
"import": "导入节点",
|
||||
"export": "导出节点",
|
||||
"import": "导入已保存的节点",
|
||||
"export": "导出保存的节点",
|
||||
"deletecustomnode": "删除所有自定义节点",
|
||||
"warning": "您现有的节点将被删除并从备份中创建新的。",
|
||||
"snack1": "成功删除和添加标准节点",
|
||||
@ -203,17 +203,18 @@
|
||||
"snack5": "节点成功导入",
|
||||
"snack6": "成功删除自定义节点",
|
||||
"snack7": "自定义节点编辑成功",
|
||||
"exp1": "导出主密钥",
|
||||
"exp1": "导出主私钥 (xpriv)",
|
||||
"exp2": "导出主密钥",
|
||||
"exp3": "导出",
|
||||
"exp4": "请选择一个钱包来备份私钥。",
|
||||
"core": "开始核心设置",
|
||||
"core": "Qortal Core 自动启动设置",
|
||||
"qappNotification1": "Q-App 通知",
|
||||
"selectnode": "请选择一个选项",
|
||||
"arrr1": "ARRR 钱包未初始化!",
|
||||
"arrr2": "请先进入钱包选项卡并初始化您的arrr钱包。",
|
||||
"arrr2": "请先进入“钱包”选项卡并访问 ARRR 钱包以初始化钱包。",
|
||||
"arrr3": "需要核心更新!",
|
||||
"arrr4": "要保存你的 arr 钱包的私钥,你需要先进行核心更新!"
|
||||
"arrr4": "要保存 ARRR 钱包的私钥,您必须首先更新 Qortal Core!",
|
||||
"sync_indicator": "禁用同步指示器弹出窗口"
|
||||
},
|
||||
"appinfo": {
|
||||
"blockheight": "区块高度",
|
||||
@ -247,7 +248,9 @@
|
||||
"balance": "余额",
|
||||
"balances": "您的钱包余额",
|
||||
"update": "更新钱包余额",
|
||||
"view": "看法"
|
||||
"view": "看法",
|
||||
"all": "全部",
|
||||
"page": "页"
|
||||
},
|
||||
"gifs": {
|
||||
"gchange1": "Gif 浏览器",
|
||||
@ -282,8 +285,8 @@
|
||||
},
|
||||
"startminting": {
|
||||
"smchange1": "无法获取铸币帐户",
|
||||
"smchange2": "无法移除密钥",
|
||||
"smchange3": "添加铸币密钥失败",
|
||||
"smchange2": "无法删除 Minting 密钥",
|
||||
"smchange3": "无法添加 Minting key,如果刚刚创建 key,请尝试等待几个块并再次添加",
|
||||
"smchange4": "无法创建赞助密钥",
|
||||
"smchange5": "建立关系",
|
||||
"smchange6": "等待区块链确认",
|
||||
@ -465,7 +468,7 @@
|
||||
"rchange6": "接收者",
|
||||
"rchange7": "操作",
|
||||
"rchange8": "类型",
|
||||
"rchange9": "等级1-4只能创建个人铸币密钥;等级5或以上可以创建赞助码!",
|
||||
"rchange9": "等级0-4只能创建个人铸币密钥;等级5或以上可以创建赞助码!",
|
||||
"rchange10": "接收者的公共密钥",
|
||||
"rchange11": "奖励分享百分比",
|
||||
"rchange12": "正在添加中...",
|
||||
@ -506,7 +509,7 @@
|
||||
"nchange23": "卖出价",
|
||||
"nchange24": "没有名字可以卖",
|
||||
"nchange25": "出售名称",
|
||||
"nchange26": "你确定要卖这个名字吗?",
|
||||
"nchange26": "您确定要出售这个名字吗? 如果名称被其他帐户购买,则将不受您的控制!",
|
||||
"nchange27": "对于QORT 中的这个价格",
|
||||
"nchange28": "按下确认后,将发送销售名称请求!",
|
||||
"nchange29": "要取消的名称",
|
||||
@ -739,7 +742,8 @@
|
||||
"bchange51": "要提交更改,请不要忘记单击“更新个人资料”",
|
||||
"bchange52": "您是否授予此应用程序获取您的钱包信息的权限?",
|
||||
"bchange53": "始终允许所有应用自动检索您的好友列表",
|
||||
"bchange54": "您是否授予此应用程序访问您的好友列表的权限?"
|
||||
"bchange54": "您是否授予此应用程序访问您的好友列表的权限?",
|
||||
"bchange55": "您是否授予此应用程序发送此命令?"
|
||||
},
|
||||
"datapage": {
|
||||
"dchange1": "资料管理",
|
||||
@ -839,7 +843,7 @@
|
||||
"cchange74": "心情回应",
|
||||
"cchange75": "上传附件。这可能需要一分钟。",
|
||||
"cchange76": "正在删除附件。这可能需要一分钟。",
|
||||
"cchange77": "附件大小超过 1 MB",
|
||||
"cchange77": "附件大小超过 10 MB",
|
||||
"cchange78": "你确定要删除这张图片吗?",
|
||||
"cchange79": "你确定要删除这个附件吗?",
|
||||
"cchange80": "这张图片已被删除",
|
||||
@ -852,7 +856,24 @@
|
||||
"cchange94": "已加载",
|
||||
"cchange95": "只有我的资源",
|
||||
"cchange96": "打开群组管理",
|
||||
"cchange97": "加入群组链接已复制到剪贴板"
|
||||
"cchange97": "加入群组链接已复制到剪贴板",
|
||||
"cchange98": "正在上传文件。这可能需要几分钟时间。",
|
||||
"cchange99": "正在删除文件。这可能最多需要一分钟。",
|
||||
"cchange100": "文件大小超过 125 MB",
|
||||
"cchange101": "您确定要删除此文件吗?",
|
||||
"cchange102": "该文件已被删除",
|
||||
"cchange103": "正在上传 gif。这最多可能需要一分钟。",
|
||||
"cchange104": "正在删除 gif。这可能最多需要一分钟。",
|
||||
"cchange105": "文件大小超过 3 MB",
|
||||
"cchange106": "您确定要删除这个 gif 吗?",
|
||||
"cchange107": "该动图已被删除",
|
||||
"cchange108": "下载将在后台继续,只能同时下载一个 Q-Chat 文件。",
|
||||
"cchange109": "不支持文件类型!",
|
||||
"cchange110": "图片上传",
|
||||
"cchange111": "GIF 上传",
|
||||
"cchange112": "附件上传",
|
||||
"cchange113": "文件上传",
|
||||
"cchange114": "写点东西 ..."
|
||||
},
|
||||
"welcomepage": {
|
||||
"wcchange1": "欢迎来到Q-Chat",
|
||||
@ -944,7 +965,19 @@
|
||||
"gchange56": "要搜索的群组名称",
|
||||
"gchange57": "未找到私人群组名称",
|
||||
"gchange58": "注意群组名称必须完全匹配。",
|
||||
"gchange59": "显示/隐藏代码"
|
||||
"gchange59": "显示/隐藏代码",
|
||||
"gchange60": "请输入组名",
|
||||
"gchange61": "请输入描述",
|
||||
"gchange62": "你确定要更新这个组吗?",
|
||||
"gchange63": "按 CONFIRM 后,将发送UPDATE_GROUP请求!",
|
||||
"gchange64": "当前所有者/新所有者",
|
||||
"gchange65": "将此地址替换为组的 TRANSFER OWNERSHIP!",
|
||||
"gchange66": "无效的所有者/新所有者地址",
|
||||
"gchange67": "组更新成功!",
|
||||
"gchange68": "设置组头像",
|
||||
"gchange69": "消息",
|
||||
"gchange70": "过去 24 小时内没有消息!",
|
||||
"gchange71": "您已经加入此群组!"
|
||||
},
|
||||
"puzzlepage": {
|
||||
"pchange1": "益智游戏",
|
||||
@ -1287,5 +1320,104 @@
|
||||
"tour20": "落后了。您想刷新(引导)以加快同步过程吗?",
|
||||
"tour21": "剩余块数。",
|
||||
"tour22": "已请求刷新(引导)。请稍候。"
|
||||
},
|
||||
"chatsettings": {
|
||||
"cs1": "聊天设置",
|
||||
"cs2": "常规聊天设置",
|
||||
"cs3": "聊天消息时间戳",
|
||||
"cs4": "时间前",
|
||||
"cs5": "当地时间",
|
||||
"cs6": "聊天消息字体大小",
|
||||
"cs7": "标准",
|
||||
"cs8": "px"
|
||||
},
|
||||
"modals": {
|
||||
"mpchange1": "所有请求的 AT 都需要属于同一个外部区块链。",
|
||||
"mpchange2": "您是否授予此应用程序执行买单的权限?",
|
||||
"mpchange3": "成功创建买单",
|
||||
"mpchange4": "请等待买单完成",
|
||||
"mpchange5": "提交买单失败。",
|
||||
"mpchange6": "您是否授予此应用程序执行卖单的权限?",
|
||||
"mpchange7": "对于: ",
|
||||
"mpchange8": "成功创建卖单。",
|
||||
"mpchange9": "请等待卖单列出。",
|
||||
"mpchange10": "提交卖单失败。",
|
||||
"mpchange11": "找不到 AT 信息。",
|
||||
"mpchange12": "您是否授予此应用程序执行取消卖单的权限?",
|
||||
"mpchange13": "成功取消卖单。",
|
||||
"mpchange14": "请等待交易取消完成。",
|
||||
"mpchange15": "取消卖单失败。",
|
||||
"mpchange16": "获取列表时出错。",
|
||||
"mpchange17": "添加列表时出错。",
|
||||
"mpchange18": "删除列表时出错。",
|
||||
"mpchange19": "获取好友列表时出错。",
|
||||
"mpchange20": "计数不是数字。",
|
||||
"mpchange21": "缺少计数。",
|
||||
"mpchange22": "未提交任何数据或文件。",
|
||||
"mpchange23": "加密数据需要公钥。",
|
||||
"mpchange24": "只有加密数据才能进入私人服务。",
|
||||
"mpchange25": "由于加密失败,上传失败。",
|
||||
"mpchange26": "上传失败。",
|
||||
"mpchange27": "数据无效。",
|
||||
"mpchange28": "没有要发布的资源。",
|
||||
"mpchange29": "未知错误。",
|
||||
"mpchange30": "未找到投票。",
|
||||
"mpchange31": "投票失败。",
|
||||
"mpchange32": "创建投票失败。",
|
||||
"mpchange33": "请输入 qortal 链接 - qortal: //...",
|
||||
"mpchange34": "无效的 qortal 链接。",
|
||||
"mpchange35": "推送通知时出错。",
|
||||
"mpchange36": "无法发送消息。",
|
||||
"mpchange37": "无法向此用户发送加密消息,因为他们没有链上的公钥。",
|
||||
"mpchange38": "无法满足请求。",
|
||||
"mpchange39": "未找到群组。",
|
||||
"mpchange40": "您是否授予此应用程序执行加入群组请求的权限?",
|
||||
"mpchange41": "群组名称: ",
|
||||
"mpchange42": "群组 ID: ",
|
||||
"mpchange43": "成功创建加入群组请求。",
|
||||
"mpchange44": "加入群组失败。",
|
||||
"mpchange45": "无法导出 MIME 类型。",
|
||||
"mpchange46": "无法导出文件扩展名。",
|
||||
"mpchange47": "用户拒绝下载。",
|
||||
"mpchange48": "无法启动下载。",
|
||||
"mpchange49": "无法部署 AT。",
|
||||
"mpchange50": "用户没有配置文件。",
|
||||
"mpchange51": "找不到请求的数据。",
|
||||
"mpchange52": "无法获取配置文件数据。",
|
||||
"mpchange53": "无法设置属性。",
|
||||
"mpchange54": "无法打开配置文件。",
|
||||
"mpchange55": "检索服务器信息时出错。",
|
||||
"mpchange56": "tx 活动摘要中出错。",
|
||||
"mpchange57": "获取国外费用时出错。",
|
||||
"mpchange58": "更新国外费用时出错。",
|
||||
"mpchange59": "获取服务器连接历史记录时出错。",
|
||||
"mpchange60": "设置当前服务器时出错。",
|
||||
"mpchange61": "添加服务器时出错。",
|
||||
"mpchange62": "删除服务器时出错。",
|
||||
"mpchange63": "检索摘要时出错。",
|
||||
"mpchange64": "无法解码交易。",
|
||||
"mpchange65": "您是否授予此应用程序签署和处理交易的权限?",
|
||||
"mpchange66": "您是否授予此应用程序签署交易的权限?",
|
||||
"mpchange67": "接受前请仔细阅读交易。",
|
||||
"mpchange68": "交易类型: ",
|
||||
"mpchange69": "交易数据: ",
|
||||
"mpchange70": "未请求处理交易。",
|
||||
"mpchange71": "已签名的字节为: ",
|
||||
"mpchange72": "交易已成功签名并处理。",
|
||||
"mpchange73": "无法处理交易。",
|
||||
"mpchange74": "无法获取 QORT 余额。重试!",
|
||||
"mpchange75": "无法发送硬币。",
|
||||
"mpchange76": "无法获取 BTC 余额。重试!",
|
||||
"mpchange77": "无法获取 LTC 余额。重试!",
|
||||
"mpchange78": "无法获取 DOGE 余额。重试!",
|
||||
"mpchange79": "无法获取 DGB 余额。重试!",
|
||||
"mpchange80": "无法获取 RVN 余额。重试!",
|
||||
"mpchange81": "无法获取 ARRR 余额。重试!",
|
||||
"mpchange82": "缺少字段",
|
||||
"mpchange83": "拒绝",
|
||||
"mpchange84": "失败",
|
||||
"mpchange85": "成功",
|
||||
"mpchange86": "始终允许自动获取钱包余额",
|
||||
"mpchange87": "请输入群组ID"
|
||||
}
|
||||
}
|
||||
|
@ -8,6 +8,7 @@
|
||||
"dutch": "荷蘭語",
|
||||
"english": "英文",
|
||||
"estonian": "愛沙尼亞文",
|
||||
"finnish": "芬蘭語",
|
||||
"french": "法文",
|
||||
"german": "德文",
|
||||
"hindi": "印度文",
|
||||
@ -79,7 +80,7 @@
|
||||
"tm32": "該帳戶沒有關注任何用戶",
|
||||
"tm33": "導入選項卡菜單",
|
||||
"tm34": "導出選項卡菜單",
|
||||
"tm35": "您現有的選項卡菜單將被刪除並設置為上傳的選項卡菜單。",
|
||||
"tm35": "您现有的选项卡菜单将被删除并设置为导入的选项卡菜单。",
|
||||
"tm36": "選項卡菜單恢復成功",
|
||||
"tm37": "選項卡菜單成功另存為",
|
||||
"tm38": "開發模式",
|
||||
@ -97,7 +98,7 @@
|
||||
"youraccounts": "你的錢包",
|
||||
"clickto": "點擊你的錢包進行登錄",
|
||||
"needcreate": "你必須創建或保存錢包才能登入!",
|
||||
"upload": "上傳你的Qortal錢包備份文件",
|
||||
"upload": "匯入您的 Qortal 備份文件",
|
||||
"howlogin": "你想透過下列哪種方式登入?",
|
||||
"seed": "助記詞",
|
||||
"seedphrase": "助記詞",
|
||||
@ -107,16 +108,16 @@
|
||||
"decrypt": "正在解密錢包備份文件",
|
||||
"save": "保存錢包,以便下次登入.",
|
||||
"prepare": "正在加載你的錢包",
|
||||
"areyousure": "你確定將此錢包在已保存錢包列表中刪除嗎?",
|
||||
"areyousure": "您確定要從已儲存的帳戶中刪除此帳戶嗎? (如果刪除並且不存在備份文件,帳戶可能會永遠丟失!在執行此操作之前確保您有備份文件!)",
|
||||
"error1": "備份文件必須為有效的JSON格式文件",
|
||||
"error2": "請選擇登入方式",
|
||||
"createwelcome": "歡迎來到 Qortal,您會發現它類似於 RPG 遊戲,作為 Qortal 網絡上的鑄幣者(如果您選擇成為其中的鑄幣者),您將有機會升級您的帳戶,並隨著等級提高而獲得更多 QORT 區塊獎勵以及參與平台上各種決策投票。",
|
||||
"createwelcome": "歡迎來到Qortal! 您的去中心化數位未來正等著您! 在 Qortal 上,只有您對您的資料擁有絕對的控制權。 Qortal 提供了一個新的、完全由使用者控制的數位世界的基礎水準。",
|
||||
"createa": "你的",
|
||||
"click": "點擊查看助記詞",
|
||||
"confirmpass": "確認密碼",
|
||||
"willbe": "將在後台隨機生成。 這將用作您在 Qortal 中的區塊鏈帳戶的私人密鑰。",
|
||||
"willbe": "將在後台隨機產生。 如果您想查看種子短語,請點擊本文中突出顯示的「種子短語」。 這用作您在 Qortal 中的區塊鏈帳戶的私鑰產生器。 為了安全起見,預設情況下,除非特別選擇,否則不會顯示助記詞。",
|
||||
"clicknext": "▼▼▼點擊下一步創建你的Qortal賬號▼▼▼",
|
||||
"ready": "您的帳戶即將創建成功, 它將保存在此瀏覽器中。 如果您不希望將新帳戶保存在瀏覽器中,可以取消勾選下面的選項。 您仍可透過使用創建帳戶時載的錢包備份文件進行的登入。",
|
||||
"ready": "您的帳戶現在已準備好建立。 預設情況下,它將以加密形式保存在 Qortal UI 的此副本中。 如果您不希望在此處儲存您的新帳戶,您可以取消選取下面的複選框。 您仍然可以使用新帳戶登入(登出後),使用建立帳戶後必須下載的錢包備份檔案。",
|
||||
"welmessage": "歡迎來到 Qortal",
|
||||
"pleaseenter": "請密碼!",
|
||||
"notmatch": "密碼不一致!",
|
||||
@ -128,11 +129,11 @@
|
||||
"createdseed": "你已創建的助記詞",
|
||||
"saveseed": "保存助記詞",
|
||||
"savein": "保存在UI上",
|
||||
"backup2": "請小心保存錢包備份文件,並謹記之前設置好的密碼。否則你將會失去這個錢包的所有控制權,請務必將備份文件放在不同的存儲裝置上",
|
||||
"backup2": "除非儲存到 UI,否則此文件是存取您帳戶的唯一方式(預設)。 請務必在多個位置備份此文件。 該檔案經過非常安全的加密,並使用您在上一個步驟中建立的本機密碼進行解密。 您可以將其安全地保存在任何地方,但請務必在多個位置執行此操作。",
|
||||
"savewallet": "下載並保存錢包備份文件",
|
||||
"created1": "你的賬號已創建成功",
|
||||
"created2": " 並會儲存在UI上.",
|
||||
"downloadbackup": "下載錢包備份文件",
|
||||
"created2": "並以加密形式儲存在此 UI 中。",
|
||||
"downloadbackup": "保存 Qortal 備份文件",
|
||||
"passwordhint": "密碼必須至少為 5 個字符。",
|
||||
"lp1": "鎖定屏幕",
|
||||
"lp2": "未設置鎖屏密碼!",
|
||||
@ -162,8 +163,8 @@
|
||||
"confirmlogout": "你確定登出嗎?"
|
||||
},
|
||||
"fragfile": {
|
||||
"selectfile": "選擇文件",
|
||||
"dragfile": "將備份文件拖到此處"
|
||||
"selectfile": "選擇 Qortal 備份文件",
|
||||
"dragfile": "拖放或點擊此處選擇備份文件"
|
||||
},
|
||||
"settings": {
|
||||
"generalinfo": "一般錢包信息",
|
||||
@ -182,7 +183,6 @@
|
||||
"password": "密碼",
|
||||
"download": "下載備份文件",
|
||||
"choose": "請輸入一組密碼加密你的備份文件。(可使用你剛才登入時的相同密碼或者不同的密碼)",
|
||||
"block": "區塊通知(即將推出...)",
|
||||
"playsound": "開啓音效",
|
||||
"shownotifications": "顯示通知",
|
||||
"nodeurl": "節點地址",
|
||||
@ -192,8 +192,8 @@
|
||||
"protocol": "協議",
|
||||
"domain": "域名",
|
||||
"port": "端口",
|
||||
"import": "導入節點",
|
||||
"export": "導出節點",
|
||||
"import": "導入已儲存的節點",
|
||||
"export": "導出已儲存的節點",
|
||||
"deletecustomnode": "刪除所有自定義節點",
|
||||
"warning": "您現有的節點將被刪除並從備份中創建新的。",
|
||||
"snack1": "成功刪除和添加標準節點",
|
||||
@ -203,17 +203,18 @@
|
||||
"snack5": "節點成功導入",
|
||||
"snack6": "成功刪除自訂節點",
|
||||
"snack7": "自訂節點編輯成功",
|
||||
"exp1": "導出主密鑰",
|
||||
"exp1": "匯出主私鑰 (xpriv)",
|
||||
"exp2": "導出主密鑰",
|
||||
"exp3": "導出",
|
||||
"exp4": "請選擇一個錢包來備份私鑰。",
|
||||
"core": "開始核心設置",
|
||||
"core": "Qortal Core 自動啟動設定",
|
||||
"qappNotification1": "Q-App 通知",
|
||||
"selectnode": "請選擇一個選項",
|
||||
"arrr1": "ARRR 錢包未初始化!",
|
||||
"arrr2": "請先進入錢包標籤並初始化您的arrr錢包。",
|
||||
"arrr2": "請先進入錢包並訪問 ARRR 錢包來初始化錢包",
|
||||
"arrr3": "需要核心更新!",
|
||||
"arrr4": "要儲存你的 arr 錢包的私鑰,你需要先進行核心更新!"
|
||||
"arrr4": "要保存 ARRR 錢包的私鑰,您必須先更新 Qortal Core!",
|
||||
"sync_indicator": "停用同步指示器彈出視窗"
|
||||
},
|
||||
"appinfo": {
|
||||
"blockheight": "區塊高度",
|
||||
@ -247,7 +248,9 @@
|
||||
"balance": "餘額",
|
||||
"balances": "您的錢包餘額",
|
||||
"update": "更新錢包餘額",
|
||||
"view": "看法"
|
||||
"view": "看法",
|
||||
"all": "全部",
|
||||
"page": "頁"
|
||||
},
|
||||
"gifs": {
|
||||
"gchange1": "Gif 瀏覽器",
|
||||
@ -282,8 +285,8 @@
|
||||
},
|
||||
"startminting": {
|
||||
"smchange1": "無法獲取鑄幣帳戶",
|
||||
"smchange2": "無法移除密鑰",
|
||||
"smchange3": "添加鑄幣密鑰失敗",
|
||||
"smchange2": "無法刪除鑄造金鑰",
|
||||
"smchange3": "無法添加鑄造密鑰,如果剛剛創建密鑰,請嘗試等待幾個塊並再次添加",
|
||||
"smchange4": "無法創建贊助密鑰",
|
||||
"smchange5": "建立關係",
|
||||
"smchange6": "等待區塊鏈確認",
|
||||
@ -465,7 +468,7 @@
|
||||
"rchange6": "接收者",
|
||||
"rchange7": "操作",
|
||||
"rchange8": "類型",
|
||||
"rchange9": "等級1-4只能創建個人鑄幣密鑰;等級5或以上可以創建贊助碼!",
|
||||
"rchange9": "等級0-4只能創建個人鑄幣密鑰;等級5或以上可以創建贊助碼!",
|
||||
"rchange10": "接收者的公共密鑰",
|
||||
"rchange11": "獎勵分享百分比",
|
||||
"rchange12": "正在添加中...",
|
||||
@ -506,7 +509,7 @@
|
||||
"nchange23": "賣出價",
|
||||
"nchange24": "沒有名字可以賣",
|
||||
"nchange25": "出售名稱",
|
||||
"nchange26": "你確定要賣這個名字嗎?",
|
||||
"nchange26": "您確定要出售這個名字嗎? 如果名稱被其他帳戶購買,則將不受您的控制!",
|
||||
"nchange27": "對於 QORT 中的這個價格",
|
||||
"nchange28": "按下確認後,將發送銷售名稱請求!",
|
||||
"nchange29": "要取消的名稱",
|
||||
@ -739,7 +742,8 @@
|
||||
"bchange51": "要提交更改,請不要忘記點擊「更新個人資料」",
|
||||
"bchange52": "您是否授予此應用程式取得您的錢包資訊的權限?",
|
||||
"bchange53": "始終允許所有應用程式自動檢索您的好友清單",
|
||||
"bchange54": "您是否授予此應用程式存取您的好友清單的權限?"
|
||||
"bchange54": "您是否授予此應用程式存取您的好友清單的權限?",
|
||||
"bchange55": "您是否授予此應用程式發送此指令?"
|
||||
},
|
||||
"datapage": {
|
||||
"dchange1": "資料管理",
|
||||
@ -839,7 +843,7 @@
|
||||
"cchange74": "心情回應",
|
||||
"cchange75": "上傳附件。這可能需要一分鐘。",
|
||||
"cchange76": "正在刪除附件。這可能需要一分鐘。",
|
||||
"cchange77": "附件大小超過 1 MB",
|
||||
"cchange77": "附件大小超過 10 MB",
|
||||
"cchange78": "你確定要刪除這張圖片嗎?",
|
||||
"cchange79": "你確定要刪除這個附件嗎?",
|
||||
"cchange80": "這張圖片已被刪除",
|
||||
@ -852,7 +856,24 @@
|
||||
"cchange94": "已載入",
|
||||
"cchange95": "只有我的資源",
|
||||
"cchange96": "開啟群組管理",
|
||||
"cchange97": "加入群組連結已複製到剪貼簿"
|
||||
"cchange97": "加入群組連結已複製到剪貼簿",
|
||||
"cchange98": "正在上傳檔案。這可能需要幾分鐘。",
|
||||
"cchange99": "正在刪除檔案。這可能最多需要一分鐘。",
|
||||
"cchange100": "檔案大小超過 125 MB",
|
||||
"cchange101": "您確定要刪除此檔案嗎?",
|
||||
"cchange102": "該檔案已刪除",
|
||||
"cchange103": "正在上傳 gif。這最多可能需要一分鐘。",
|
||||
"cchange104": "正在刪除 gif。這可能最多需要一分鐘。",
|
||||
"cchange105": "檔案大小超過 3 MB",
|
||||
"cchange106": "您確定要刪除這個 gif 嗎?",
|
||||
"cchange107": "該動圖已刪除",
|
||||
"cchange108": "下載將在背景繼續,只能同時下載一個 Q-Chat 檔案。",
|
||||
"cchange109": "不支援檔案類型!",
|
||||
"cchange110": "圖片上傳",
|
||||
"cchange111": "GIF 上傳",
|
||||
"cchange112": "附件上傳",
|
||||
"cchange113": "檔案上傳",
|
||||
"cchange114": "寫點東西 ..."
|
||||
},
|
||||
"welcomepage": {
|
||||
"wcchange1": "歡迎來到 Q-Chat",
|
||||
@ -944,7 +965,19 @@
|
||||
"gchange56": "要搜索的群組名稱",
|
||||
"gchange57": "未找到私人群組名稱",
|
||||
"gchange58": "注意群組名稱必須完全匹配。",
|
||||
"gchange59": "顯示/隱藏代碼"
|
||||
"gchange59": "顯示/隱藏代碼",
|
||||
"gchange60": "請輸入組名",
|
||||
"gchange61": "請輸入描述",
|
||||
"gchange62": "你確定要更新這個組嗎?",
|
||||
"gchange63": "按 CONFIRM 後,將發送UPDATE_GROUP請求!",
|
||||
"gchange64": "當前擁有者/新擁有者",
|
||||
"gchange65": "將此位址替換為組的 TRANSFER OWNERSHIP!",
|
||||
"gchange66": "無效的擁有者/新擁有者位址",
|
||||
"gchange67": "組更新成功!",
|
||||
"gchange68": "設置組頭像",
|
||||
"gchange69": "訊息",
|
||||
"gchange70": "過去 24 小時內沒有訊息!",
|
||||
"gchange71": "你已經加入這個群組了!"
|
||||
},
|
||||
"puzzlepage": {
|
||||
"pchange1": "益智游戲",
|
||||
@ -1287,5 +1320,104 @@
|
||||
"tour20": "落後了。您想刷新(引導)以加快同步過程嗎?",
|
||||
"tour21": "剩餘塊數。",
|
||||
"tour22": "已要求刷新(引導)。請稍候。"
|
||||
},
|
||||
"chatsettings": {
|
||||
"cs1": "聊天設定",
|
||||
"cs2": "常規聊天設定",
|
||||
"cs3": "聊天訊息時間戳",
|
||||
"cs4": "很久以前",
|
||||
"cs5": "當地時間",
|
||||
"cs6": "聊天訊息字體大小",
|
||||
"cs7": "標準",
|
||||
"cs8": "px"
|
||||
},
|
||||
"modals": {
|
||||
"mpchange1": "所有請求的 AT 都必須屬於同一個外部區塊鏈。",
|
||||
"mpchange2": "您是否授予此應用程式執行購買訂單的權限?",
|
||||
"mpchange3": "成功建立買入訂單",
|
||||
"mpchange4": "請等待購買訂單完成",
|
||||
"mpchange5": "提交購買訂單失敗。",
|
||||
"mpchange6": "您是否授予此應用程式執行賣單的權限?",
|
||||
"mpchange7": "對於:",
|
||||
"mpchange8": "成功建立賣單。",
|
||||
"mpchange9": "請等待賣單上市。",
|
||||
"mpchange10": "提交賣單失敗。",
|
||||
"mpchange11": "找不到 AT 訊息。",
|
||||
"mpchange12": "您是否授予此應用程式執行取消賣單的權限?",
|
||||
"mpchange13": "成功取消賣單。",
|
||||
"mpchange14": "請等待交易取消完成。",
|
||||
"mpchange15": "取消賣單失敗。",
|
||||
"mpchange16": "檢索清單時發生錯誤。",
|
||||
"mpchange17": "新增至清單時發生錯誤。",
|
||||
"mpchange18": "刪除清單時發生錯誤。",
|
||||
"mpchange19": "檢索好友清單時發生錯誤。",
|
||||
"mpchange20": "計數不是數字。",
|
||||
"mpchange21": "缺少計數。",
|
||||
"mpchange22": "未提交資料或檔案。",
|
||||
"mpchange23": "加密資料需要公鑰。",
|
||||
"mpchange24": "只有加密的資料才能進入私人服務。",
|
||||
"mpchange25": "由於加密失敗,上傳失敗。",
|
||||
"mpchange26": "上傳失敗。",
|
||||
"mpchange27": "資料無效。",
|
||||
"mpchange28": "沒有可發佈的資源。",
|
||||
"mpchange29": "未知錯誤。",
|
||||
"mpchange30": "未找到民調。",
|
||||
"mpchange31": "投票失敗。",
|
||||
"mpchange32": "建立投票失敗。",
|
||||
"mpchange33": "請輸入 qortal 連結 - qortal://...",
|
||||
"mpchange34": "qortal 連結無效。",
|
||||
"mpchange35": "推播通知時發生錯誤。",
|
||||
"mpchange36": "無法傳送訊息。",
|
||||
"mpchange37": "無法向該用戶發送加密訊息,因為他們沒有鏈上的公鑰。",
|
||||
"mpchange38": "無法滿足請求。",
|
||||
"mpchange39": "找不到群組。",
|
||||
"mpchange40": "您是否授予此應用程式執行加入群組請求的權限?",
|
||||
"mpchange41": "群組名稱:",
|
||||
"mpchange42": "群組 ID:",
|
||||
"mpchange43": "成功建立加入群組請求。",
|
||||
"mpchange44": "加入群組失敗。",
|
||||
"mpchange45": "無法派生 mime 類型。",
|
||||
"mpchange46": "無法匯出檔案副檔名。",
|
||||
"mpchange47": "使用者拒絕下載。",
|
||||
"mpchange48": "啟動下載失敗。",
|
||||
"mpchange49": "部署 AT 失敗。",
|
||||
"mpchange50": "使用者沒有個人資料。",
|
||||
"mpchange51": "找不到要求的資料。",
|
||||
"mpchange52": "取得個人資料資料失敗。",
|
||||
"mpchange53": "設定屬性失敗。",
|
||||
"mpchange54": "開啟個人資料失敗。",
|
||||
"mpchange55": "檢索伺服器資訊時發生錯誤。",
|
||||
"mpchange56": "交易活動摘要出錯。",
|
||||
"mpchange57": "取得國外費用時發生錯誤。",
|
||||
"mpchange58": "更新國外費用時發生錯誤。",
|
||||
"mpchange59": "取得伺服器連線歷史記錄時發生錯誤。",
|
||||
"mpchange60": "設定目前伺服器時發生錯誤。",
|
||||
"mpchange61": "新增伺服器時發生錯誤。",
|
||||
"mpchange62": "刪除伺服器時發生錯誤。",
|
||||
"mpchange63": "檢索摘要時發生錯誤。",
|
||||
"mpchange64": "無法解碼交易。",
|
||||
"mpchange65": "您是否授予此應用程式簽署和處理交易的權限?",
|
||||
"mpchange66": "您是否授予此應用程式簽署交易的權限?",
|
||||
"mpchange67": "接受前請仔細閱讀交易。",
|
||||
"mpchange68": "傳送類型:",
|
||||
"mpchange69": "傳送資料:",
|
||||
"mpchange70": "未要求處理事務。",
|
||||
"mpchange71": "有符號位元組是:",
|
||||
"mpchange72": "交易已成功簽署並處理。",
|
||||
"mpchange73": "交易無法處理。",
|
||||
"mpchange74": "取得 QORT 餘額失敗。請重試!",
|
||||
"mpchange75": "無法寄硬幣。",
|
||||
"mpchange76": "取得BTC餘額失敗,請重試!",
|
||||
"mpchange77": "取得 LTC 餘額失敗。請重試!",
|
||||
"mpchange78": "取得 DOGE 餘額失敗。請重試!",
|
||||
"mpchange79": "取得 DGB 餘額失敗。請重試!",
|
||||
"mpchange80": "取得 RVN 餘額失敗。請重試!",
|
||||
"mpchange81": "取得 ARRR 餘額失敗。請重試!",
|
||||
"mpchange82": "缺少欄位",
|
||||
"mpchange83": "拒絕",
|
||||
"mpchange84": "失敗",
|
||||
"mpchange85": "成功",
|
||||
"mpchange86": "隨時允許自動取得錢包餘額",
|
||||
"mpchange87": "請輸入群組 ID"
|
||||
}
|
||||
}
|
||||
|
@ -1,139 +1,121 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en-us">
|
||||
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
||||
<meta charset="UTF-8">
|
||||
<meta name="Description" content="Qortal Platform UI">
|
||||
|
||||
<link rel="apple-touch-icon" sizes="57x57" href="/img/favicon/apple-icon-57x57.png">
|
||||
<link rel="apple-touch-icon" sizes="60x60" href="/img/favicon/apple-icon-60x60.png">
|
||||
<link rel="apple-touch-icon" sizes="72x72" href="/img/favicon/apple-icon-72x72.png">
|
||||
<link rel="apple-touch-icon" sizes="76x76" href="/img/favicon/apple-icon-76x76.png">
|
||||
<link rel="apple-touch-icon" sizes="114x114" href="/img/favicon/apple-icon-114x114.png">
|
||||
<link rel="apple-touch-icon" sizes="120x120" href="/img/favicon/apple-icon-120x120.png">
|
||||
<link rel="apple-touch-icon" sizes="144x144" href="/img/favicon/apple-icon-144x144.png">
|
||||
<link rel="apple-touch-icon" sizes="152x152" href="/img/favicon/apple-icon-152x152.png">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/img/favicon/apple-icon-180x180.png">
|
||||
<link rel="icon" type="image/png" sizes="192x192" href="/img/favicon/android-icon-192x192.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="96x96" href="/img/favicon/favicon-96x96.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/img/favicon/favicon-16x16.png">
|
||||
<link rel="manifest" href="/img/favicon/manifest.json">
|
||||
|
||||
<meta name="msapplication-TileColor" content="var(--white)">
|
||||
<meta name="msapplication-TileImage" content="/img/favicon/ms-icon-144x144.png">
|
||||
<meta name="theme-color" content="var(--white)">
|
||||
|
||||
<style>
|
||||
html {
|
||||
--scrollbarBG: #a1a1a1;
|
||||
--thumbBG: #6a6c75;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
*::-webkit-scrollbar {
|
||||
width: 11px;
|
||||
}
|
||||
|
||||
* {
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: var(--thumbBG) var(--scrollbarBG);
|
||||
}
|
||||
|
||||
*::-webkit-scrollbar-track {
|
||||
background: var(--scrollbarBG);
|
||||
}
|
||||
|
||||
*::-webkit-scrollbar-thumb {
|
||||
background-color: var(--thumbBG);
|
||||
border-radius: 6px;
|
||||
border: 3px solid var(--scrollbarBG);
|
||||
}
|
||||
|
||||
html,
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background: var(--plugback);
|
||||
overflow: hidden;
|
||||
}
|
||||
</style>
|
||||
<link rel="stylesheet" href="/build/styles.bundle.css">
|
||||
<link rel="stylesheet" href="/font/material-icons.css">
|
||||
<link rel="stylesheet" href="/font/switch-theme.css">
|
||||
<title>Qortal UI</title>
|
||||
|
||||
|
||||
<script>
|
||||
const checkTheme = localStorage.getItem('qortalTheme')
|
||||
if (checkTheme === 'dark') {
|
||||
newtheme = 'dark';
|
||||
} else {
|
||||
newtheme = 'light';
|
||||
}
|
||||
document.querySelector('html').setAttribute('theme', newtheme);
|
||||
|
||||
const memory = new WebAssembly.Memory({ initial: 256, maximum: 256 });
|
||||
const heap = new Uint8Array(memory.buffer);
|
||||
|
||||
const sbrk = function (size, heap) {
|
||||
let brk = 512 * 1024; // stack top
|
||||
let old = brk;
|
||||
brk += size;
|
||||
|
||||
if (brk > heap.length)
|
||||
throw new Error("heap exhausted");
|
||||
|
||||
return old;
|
||||
};
|
||||
|
||||
const importObject = {
|
||||
env: {
|
||||
memory: memory
|
||||
},
|
||||
};
|
||||
|
||||
function loadWebAssembly(filename, imports) {
|
||||
// Fetch the file and compile it
|
||||
return fetch(filename)
|
||||
.then(response => response.arrayBuffer())
|
||||
.then(buffer => WebAssembly.compile(buffer))
|
||||
.then(module => {
|
||||
|
||||
// Create the instance.
|
||||
return new WebAssembly.Instance(module, importObject);
|
||||
});
|
||||
}
|
||||
|
||||
const path = window.parent.location.origin + '/memory-pow/memory-pow.wasm.full'
|
||||
|
||||
loadWebAssembly(path)
|
||||
.then(wasmModule => {
|
||||
window.sbrk = sbrk
|
||||
window.memory = memory
|
||||
window.heap = heap
|
||||
window.powInstance = wasmModule.instance;
|
||||
window.computePow = wasmModule.exports.compute2;
|
||||
});
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<app-styles></app-styles>
|
||||
<main>
|
||||
|
||||
<noscript>
|
||||
You need to enable JavaScript to run this app. 😞
|
||||
</noscript>
|
||||
|
||||
<main-app id="main-app"></main-app>
|
||||
|
||||
</main>
|
||||
|
||||
<script type="module" src="/build/es6/main.js"></script>
|
||||
|
||||
</body>
|
||||
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
||||
<meta charset="UTF-8">
|
||||
<meta name="Description" content="Qortal Platform UI">
|
||||
<link rel="apple-touch-icon" sizes="57x57" href="/img/favicon/apple-icon-57x57.png">
|
||||
<link rel="apple-touch-icon" sizes="60x60" href="/img/favicon/apple-icon-60x60.png">
|
||||
<link rel="apple-touch-icon" sizes="72x72" href="/img/favicon/apple-icon-72x72.png">
|
||||
<link rel="apple-touch-icon" sizes="76x76" href="/img/favicon/apple-icon-76x76.png">
|
||||
<link rel="apple-touch-icon" sizes="114x114" href="/img/favicon/apple-icon-114x114.png">
|
||||
<link rel="apple-touch-icon" sizes="120x120" href="/img/favicon/apple-icon-120x120.png">
|
||||
<link rel="apple-touch-icon" sizes="144x144" href="/img/favicon/apple-icon-144x144.png">
|
||||
<link rel="apple-touch-icon" sizes="152x152" href="/img/favicon/apple-icon-152x152.png">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/img/favicon/apple-icon-180x180.png">
|
||||
<link rel="icon" type="image/png" sizes="192x192" href="/img/favicon/android-icon-192x192.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="96x96" href="/img/favicon/favicon-96x96.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/img/favicon/favicon-16x16.png">
|
||||
<link rel="manifest" href="/img/favicon/manifest.json">
|
||||
<meta name="msapplication-TileColor" content="var(--white)">
|
||||
<meta name="msapplication-TileImage" content="/img/favicon/ms-icon-144x144.png">
|
||||
<meta name="theme-color" content="var(--white)">
|
||||
<style>
|
||||
html {
|
||||
--scrollbarBG: #a1a1a1;
|
||||
--thumbBG: #6a6c75;
|
||||
overflow: hidden;
|
||||
}
|
||||
*::-webkit-scrollbar {
|
||||
width: 11px;
|
||||
}
|
||||
* {
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: var(--thumbBG) var(--scrollbarBG);
|
||||
}
|
||||
*::-webkit-scrollbar-track {
|
||||
background: var(--scrollbarBG);
|
||||
}
|
||||
*::-webkit-scrollbar-thumb {
|
||||
background-color: var(--thumbBG);
|
||||
border-radius: 6px;
|
||||
border: 3px solid var(--scrollbarBG);
|
||||
}
|
||||
html,
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background: var(--plugback);
|
||||
overflow: hidden;
|
||||
}
|
||||
</style>
|
||||
<link rel="stylesheet" href="/build/styles.bundle.css">
|
||||
<link rel="stylesheet" href="/font/material-icons.css">
|
||||
<link rel="stylesheet" href="/font/switch-theme.css">
|
||||
<title>Qortal UI</title>
|
||||
<script>
|
||||
const checkTheme = localStorage.getItem('qortalTheme')
|
||||
if (checkTheme === 'dark') {
|
||||
newtheme = 'dark';
|
||||
} else {
|
||||
newtheme = 'light';
|
||||
}
|
||||
document.querySelector('html').setAttribute('theme', newtheme);
|
||||
|
||||
const memory = new WebAssembly.Memory({ initial: 256, maximum: 256 });
|
||||
const heap = new Uint8Array(memory.buffer);
|
||||
|
||||
const sbrk = function (size, heap) {
|
||||
let brk = 512 * 1024; // stack top
|
||||
let old = brk;
|
||||
brk += size;
|
||||
|
||||
if (brk > heap.length)
|
||||
throw new Error("heap exhausted");
|
||||
|
||||
return old;
|
||||
};
|
||||
|
||||
const importObject = {
|
||||
env: {
|
||||
memory: memory
|
||||
},
|
||||
};
|
||||
|
||||
function loadWebAssembly(filename, imports) {
|
||||
// Fetch the file and compile it
|
||||
return fetch(filename)
|
||||
.then(response => response.arrayBuffer())
|
||||
.then(buffer => WebAssembly.compile(buffer))
|
||||
.then(module => {
|
||||
|
||||
// Create the instance.
|
||||
return new WebAssembly.Instance(module, importObject);
|
||||
});
|
||||
}
|
||||
|
||||
const path = window.parent.location.origin + '/memory-pow/memory-pow.wasm.full'
|
||||
|
||||
loadWebAssembly(path)
|
||||
.then(wasmModule => {
|
||||
window.sbrk = sbrk
|
||||
window.memory = memory
|
||||
window.heap = heap
|
||||
window.powInstance = wasmModule.instance;
|
||||
window.computePow = wasmModule.exports.compute2;
|
||||
});
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<app-styles></app-styles>
|
||||
<main>
|
||||
<noscript>
|
||||
You need to enable JavaScript to run this app. 😞
|
||||
</noscript>
|
||||
<main-app id="main-app"></main-app>
|
||||
</main>
|
||||
<script type="module" src="/build/es6/main.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,32 +3,33 @@ const Hapi = require('@hapi/hapi')
|
||||
const Inert = require('@hapi/inert')
|
||||
|
||||
function serverFactory(routes, address, port, tls) {
|
||||
this.server = new Hapi.Server({
|
||||
routes: {
|
||||
files: {
|
||||
relativeTo: Path.join(__dirname, '../')
|
||||
}
|
||||
},
|
||||
address: address,
|
||||
port: port,
|
||||
tls: tls
|
||||
})
|
||||
this.server = new Hapi.Server({
|
||||
routes: {
|
||||
files: {
|
||||
relativeTo: Path.join(__dirname, '../')
|
||||
}
|
||||
},
|
||||
address: address,
|
||||
port: port,
|
||||
tls: tls
|
||||
})
|
||||
|
||||
this.startServer = async () => {
|
||||
try {
|
||||
await this.server.register([Inert])
|
||||
this.startServer = async () => {
|
||||
try {
|
||||
await this.server.register([Inert])
|
||||
|
||||
this.server.route(routes)
|
||||
this.server.route(routes)
|
||||
|
||||
await this.server.start()
|
||||
await this.server.start()
|
||||
|
||||
delete this.startServer
|
||||
return this.server
|
||||
} catch (e) {
|
||||
console.error(e)
|
||||
throw e
|
||||
}
|
||||
}
|
||||
delete this.startServer
|
||||
|
||||
return this.server
|
||||
} catch (e) {
|
||||
console.error(e)
|
||||
throw e
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = serverFactory
|
||||
module.exports = serverFactory
|
@ -1,106 +1,106 @@
|
||||
const path = require('path')
|
||||
|
||||
const routesOptions = {
|
||||
security: {
|
||||
hsts: {
|
||||
maxAge: 15768000,
|
||||
includeSubDomains: true,
|
||||
preload: true
|
||||
},
|
||||
xframe: 'sameorigin'
|
||||
}
|
||||
security: {
|
||||
hsts: {
|
||||
maxAge: 15768000,
|
||||
includeSubDomains: true,
|
||||
preload: true
|
||||
},
|
||||
xframe: 'sameorigin'
|
||||
}
|
||||
}
|
||||
|
||||
const createRoutes = config => [
|
||||
{
|
||||
method: 'GET',
|
||||
path: '/img/{param*}',
|
||||
handler: {
|
||||
directory: {
|
||||
path: config.build.options.imgDir,
|
||||
redirectToSlash: true,
|
||||
index: true
|
||||
}
|
||||
},
|
||||
options: routesOptions
|
||||
},
|
||||
{
|
||||
method: 'GET',
|
||||
path: '/language/{param*}',
|
||||
handler: {
|
||||
directory: {
|
||||
path: path.join(__dirname, '../../language'),
|
||||
redirectToSlash: true,
|
||||
index: true
|
||||
}
|
||||
},
|
||||
options: routesOptions
|
||||
},
|
||||
{
|
||||
method: 'GET',
|
||||
path: '/font/{param*}',
|
||||
handler: {
|
||||
directory: {
|
||||
path: path.join(__dirname, '../../font'),
|
||||
redirectToSlash: true,
|
||||
index: true
|
||||
}
|
||||
},
|
||||
options: routesOptions
|
||||
},
|
||||
{
|
||||
method: 'GET',
|
||||
path: '/sound/{param*}',
|
||||
handler: {
|
||||
directory: {
|
||||
path: path.join(__dirname, '../../sound/'),
|
||||
redirectToSlash: true,
|
||||
index: true
|
||||
}
|
||||
},
|
||||
options: routesOptions
|
||||
},
|
||||
{
|
||||
method: 'GET',
|
||||
path: '/emoji/{param*}',
|
||||
handler: {
|
||||
directory: {
|
||||
path: path.join(__dirname, '../../emoji/'),
|
||||
redirectToSlash: true,
|
||||
index: true
|
||||
}
|
||||
},
|
||||
options: routesOptions
|
||||
},
|
||||
{
|
||||
method: 'GET',
|
||||
path: '/memory-pow/{param*}',
|
||||
handler: {
|
||||
directory: {
|
||||
path: path.join(__dirname, '../../memory-pow/'),
|
||||
redirectToSlash: true,
|
||||
index: true
|
||||
}
|
||||
},
|
||||
options: routesOptions
|
||||
},
|
||||
{
|
||||
method: 'GET',
|
||||
path: '/getConfig',
|
||||
handler: (request, h) => {
|
||||
const response = {
|
||||
config: {
|
||||
...config
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
method: 'GET',
|
||||
path: '/img/{param*}',
|
||||
handler: {
|
||||
directory: {
|
||||
path: config.build.options.imgDir,
|
||||
redirectToSlash: true,
|
||||
index: true
|
||||
}
|
||||
},
|
||||
options: routesOptions
|
||||
},
|
||||
{
|
||||
method: 'GET',
|
||||
path: '/language/{param*}',
|
||||
handler: {
|
||||
directory: {
|
||||
path: path.join(__dirname, '../../language'),
|
||||
redirectToSlash: true,
|
||||
index: true
|
||||
}
|
||||
},
|
||||
options: routesOptions
|
||||
},
|
||||
{
|
||||
method: 'GET',
|
||||
path: '/font/{param*}',
|
||||
handler: {
|
||||
directory: {
|
||||
path: path.join(__dirname, '../../font'),
|
||||
redirectToSlash: true,
|
||||
index: true
|
||||
}
|
||||
},
|
||||
options: routesOptions
|
||||
},
|
||||
{
|
||||
method: 'GET',
|
||||
path: '/sound/{param*}',
|
||||
handler: {
|
||||
directory: {
|
||||
path: path.join(__dirname, '../../sound/'),
|
||||
redirectToSlash: true,
|
||||
index: true
|
||||
}
|
||||
},
|
||||
options: routesOptions
|
||||
},
|
||||
{
|
||||
method: 'GET',
|
||||
path: '/emoji/{param*}',
|
||||
handler: {
|
||||
directory: {
|
||||
path: path.join(__dirname, '../../emoji/'),
|
||||
redirectToSlash: true,
|
||||
index: true
|
||||
}
|
||||
},
|
||||
options: routesOptions
|
||||
},
|
||||
{
|
||||
method: 'GET',
|
||||
path: '/memory-pow/{param*}',
|
||||
handler: {
|
||||
directory: {
|
||||
path: path.join(__dirname, '../../memory-pow/'),
|
||||
redirectToSlash: true,
|
||||
index: true
|
||||
}
|
||||
},
|
||||
options: routesOptions
|
||||
},
|
||||
{
|
||||
method: 'GET',
|
||||
path: '/getConfig',
|
||||
handler: (request, h) => {
|
||||
const response = {
|
||||
config: {
|
||||
...config
|
||||
}
|
||||
}
|
||||
delete response.config.user.tls
|
||||
delete response.config.build
|
||||
|
||||
delete response.config.user.tls
|
||||
delete response.config.build
|
||||
return JSON.stringify(response)
|
||||
},
|
||||
options: routesOptions
|
||||
}
|
||||
return JSON.stringify(response)
|
||||
},
|
||||
options: routesOptions
|
||||
}
|
||||
]
|
||||
|
||||
module.exports = createRoutes
|
||||
module.exports = createRoutes
|
@ -1,141 +1,140 @@
|
||||
const path = require('path')
|
||||
|
||||
const createCommonRoutes = require('./createCommonRoutes.js')
|
||||
|
||||
const createPrimaryRoutes = (config, plugins) => {
|
||||
const routes = createCommonRoutes(config)
|
||||
const routes = createCommonRoutes(config)
|
||||
|
||||
let myPlugins = plugins
|
||||
let myPlugins = plugins
|
||||
|
||||
const pluginFolders = {}
|
||||
const pluginFolders = {}
|
||||
|
||||
const routesOptions = {
|
||||
security: {
|
||||
hsts: {
|
||||
maxAge: 15768000,
|
||||
includeSubDomains: true,
|
||||
preload: true
|
||||
},
|
||||
xframe: 'sameorigin'
|
||||
}
|
||||
}
|
||||
const routesOptions = {
|
||||
security: {
|
||||
hsts: {
|
||||
maxAge: 15768000,
|
||||
includeSubDomains: true,
|
||||
preload: true
|
||||
},
|
||||
xframe: 'sameorigin'
|
||||
}
|
||||
}
|
||||
|
||||
plugins.reduce((obj, plugin) => {
|
||||
obj[plugin.name] = plugin.folder
|
||||
return obj
|
||||
}, pluginFolders)
|
||||
plugins.reduce((obj, plugin) => {
|
||||
obj[plugin.name] = plugin.folder
|
||||
return obj
|
||||
}, pluginFolders)
|
||||
|
||||
|
||||
routes.push(
|
||||
{
|
||||
method: 'GET',
|
||||
path: '/',
|
||||
handler: (request, reply) => {
|
||||
return reply.redirect('/app')
|
||||
},
|
||||
options: routesOptions
|
||||
},
|
||||
{
|
||||
method: 'GET',
|
||||
path: '/{path*}',
|
||||
handler: (request, h) => {
|
||||
const filePath = path.join(__dirname, '../../public/index.html')
|
||||
const response = h.file(filePath, {
|
||||
confine: true
|
||||
})
|
||||
response.header('Access-Control-Allow-Origin', request.info.host)
|
||||
return response
|
||||
},
|
||||
options: routesOptions
|
||||
},
|
||||
{
|
||||
method: 'GET',
|
||||
path: '/getPlugins',
|
||||
handler: (request, h) => {
|
||||
return { plugins: myPlugins.map(p => p.name) }
|
||||
},
|
||||
options: routesOptions
|
||||
},
|
||||
{
|
||||
method: 'GET',
|
||||
path: '/build/{param*}',
|
||||
handler: {
|
||||
directory: {
|
||||
path: config.build.options.outputDir,
|
||||
redirectToSlash: true,
|
||||
index: true
|
||||
}
|
||||
},
|
||||
options: routesOptions
|
||||
},
|
||||
{
|
||||
method: 'GET',
|
||||
path: '/src/{param*}',
|
||||
handler: {
|
||||
directory: {
|
||||
path: path.join(__dirname, '../../src'),
|
||||
redirectToSlash: true,
|
||||
index: true
|
||||
}
|
||||
},
|
||||
options: routesOptions
|
||||
},
|
||||
{
|
||||
method: 'GET',
|
||||
path: '/plugin/{path*}',
|
||||
handler: (request, h) => {
|
||||
routes.push(
|
||||
{
|
||||
method: 'GET',
|
||||
path: '/',
|
||||
handler: (request, reply) => {
|
||||
return reply.redirect('/app')
|
||||
},
|
||||
options: routesOptions
|
||||
},
|
||||
{
|
||||
method: 'GET',
|
||||
path: '/{path*}',
|
||||
handler: (request, h) => {
|
||||
const filePath = path.join(__dirname, '../../public/index.html')
|
||||
const response = h.file(filePath, {
|
||||
confine: true
|
||||
})
|
||||
response.header('Access-Control-Allow-Origin', request.info.host)
|
||||
return response
|
||||
},
|
||||
options: routesOptions
|
||||
},
|
||||
{
|
||||
method: 'GET',
|
||||
path: '/getPlugins',
|
||||
handler: (request, h) => {
|
||||
return { plugins: myPlugins.map(p => p.name) }
|
||||
},
|
||||
options: routesOptions
|
||||
},
|
||||
{
|
||||
method: 'GET',
|
||||
path: '/build/{param*}',
|
||||
handler: {
|
||||
directory: {
|
||||
path: config.build.options.outputDir,
|
||||
redirectToSlash: true,
|
||||
index: true
|
||||
}
|
||||
},
|
||||
options: routesOptions
|
||||
},
|
||||
{
|
||||
method: 'GET',
|
||||
path: '/src/{param*}',
|
||||
handler: {
|
||||
directory: {
|
||||
path: path.join(__dirname, '../../src'),
|
||||
redirectToSlash: true,
|
||||
index: true
|
||||
}
|
||||
},
|
||||
options: routesOptions
|
||||
},
|
||||
{
|
||||
method: 'GET',
|
||||
path: '/plugin/{path*}',
|
||||
handler: (request, h) => {
|
||||
|
||||
const plugin = request.params.path.split('/')[0]
|
||||
const filePath = path.join(pluginFolders[plugin], '../', request.params.path)
|
||||
const plugin = request.params.path.split('/')[0]
|
||||
const filePath = path.join(pluginFolders[plugin], '../', request.params.path)
|
||||
|
||||
const response = h.file(filePath, {
|
||||
confine: false
|
||||
})
|
||||
response.header('Access-Control-Allow-Origin', request.info.host)
|
||||
return response
|
||||
},
|
||||
options: routesOptions
|
||||
},
|
||||
{
|
||||
method: 'GET',
|
||||
path: '/plugin/404',
|
||||
handler: (request, h) => {
|
||||
const response = h.file(path.join(config.server.primary.page404))
|
||||
response.header('Access-Control-Allow-Origin', request.info.host)
|
||||
return response
|
||||
},
|
||||
options: routesOptions
|
||||
},
|
||||
{
|
||||
method: 'GET',
|
||||
path: '/qortal-components/plugin-mainjs-loader.html',
|
||||
handler: (request, h) => {
|
||||
const response = h.file(path.join(__dirname, '../../src/plugins/plugin-mainjs-loader.html'), {
|
||||
confine: false
|
||||
})
|
||||
response.header('Access-Control-Allow-Origin', request.info.host)
|
||||
return response
|
||||
},
|
||||
options: routesOptions
|
||||
},
|
||||
{
|
||||
method: 'GET',
|
||||
path: '/qortal-components/plugin-mainjs-loader.js',
|
||||
handler: (request, h) => {
|
||||
const file = path.join(config.build.options.outputDir, '/plugins/plugin-mainjs-loader.js')
|
||||
const response = h.file(filePath, {
|
||||
confine: false
|
||||
})
|
||||
response.header('Access-Control-Allow-Origin', request.info.host)
|
||||
return response
|
||||
},
|
||||
options: routesOptions
|
||||
},
|
||||
{
|
||||
method: 'GET',
|
||||
path: '/plugin/404',
|
||||
handler: (request, h) => {
|
||||
const response = h.file(path.join(config.server.primary.page404))
|
||||
response.header('Access-Control-Allow-Origin', request.info.host)
|
||||
return response
|
||||
},
|
||||
options: routesOptions
|
||||
},
|
||||
{
|
||||
method: 'GET',
|
||||
path: '/qortal-components/plugin-mainjs-loader.html',
|
||||
handler: (request, h) => {
|
||||
const response = h.file(path.join(__dirname, '../../src/plugins/plugin-mainjs-loader.html'), {
|
||||
confine: false
|
||||
})
|
||||
response.header('Access-Control-Allow-Origin', request.info.host)
|
||||
return response
|
||||
},
|
||||
options: routesOptions
|
||||
},
|
||||
{
|
||||
method: 'GET',
|
||||
path: '/qortal-components/plugin-mainjs-loader.js',
|
||||
handler: (request, h) => {
|
||||
const file = path.join(config.build.options.outputDir, '/plugins/plugin-mainjs-loader.js')
|
||||
|
||||
const response = h.file(file, {
|
||||
confine: false
|
||||
})
|
||||
response.header('Access-Control-Allow-Origin', request.info.host)
|
||||
return response
|
||||
},
|
||||
options: routesOptions
|
||||
},
|
||||
const response = h.file(file, {
|
||||
confine: false
|
||||
})
|
||||
response.header('Access-Control-Allow-Origin', request.info.host)
|
||||
return response
|
||||
},
|
||||
options: routesOptions
|
||||
}
|
||||
|
||||
)
|
||||
)
|
||||
|
||||
return routes
|
||||
return routes
|
||||
}
|
||||
|
||||
module.exports = createPrimaryRoutes
|
||||
module.exports = createPrimaryRoutes
|
@ -3,22 +3,20 @@ const ServerFactory = require('./ServerFactory.js')
|
||||
const createPrimaryRoutes = require('./routes/createPrimaryRoutes.js')
|
||||
|
||||
const createServer = (config, plugins) => {
|
||||
this.start = async function () {
|
||||
const primaryServer = new ServerFactory(createPrimaryRoutes(config, plugins), config.user.server.primary.host, config.user.server.primary.port, config.user.tls.enabled ? config.user.tls.options : void 0)
|
||||
primaryServer.startServer()
|
||||
.then(server => {
|
||||
console.log(`Qortal UI Server started at ${server.info.uri} and listening on ${server.info.address}`)
|
||||
})
|
||||
.catch(e => {
|
||||
console.error(e)
|
||||
})
|
||||
}
|
||||
return this
|
||||
}
|
||||
this.start = async function () {
|
||||
const primaryServer = new ServerFactory(createPrimaryRoutes(config, plugins), config.user.server.primary.host, config.user.server.primary.port, config.user.tls.enabled ? config.user.tls.options : void 0)
|
||||
primaryServer.startServer().then(server => {
|
||||
console.log(`Qortal UI Server started at ${server.info.uri} and listening on ${server.info.address}`)
|
||||
}).catch(e => {
|
||||
console.error(e)
|
||||
})
|
||||
}
|
||||
|
||||
return this
|
||||
}
|
||||
|
||||
const serverExports = {
|
||||
createServer
|
||||
createServer
|
||||
}
|
||||
|
||||
module.exports = serverExports
|
||||
module.exports = serverExports
|
@ -1,50 +1,55 @@
|
||||
import * as api from 'qortal-ui-crypto'
|
||||
import mykey from './functional-components/mykey-page.js'
|
||||
|
||||
'use strict'
|
||||
import mykey from './functional-components/mykey-page'
|
||||
|
||||
export const checkApiKey = async (nodeConfig) => {
|
||||
let selectedNode = nodeConfig.knownNodes[nodeConfig.node]
|
||||
let apiKey = selectedNode.apiKey
|
||||
|
||||
let selectedNode = nodeConfig.knownNodes[nodeConfig.node];
|
||||
let apiKey = selectedNode.apiKey;
|
||||
// Attempt to generate an API key
|
||||
const generateUrl = '/admin/apikey/generate'
|
||||
|
||||
// Attempt to generate an API key
|
||||
const generateUrl = "/admin/apikey/generate";
|
||||
let generateRes = await api.request(generateUrl, {
|
||||
method: "POST"
|
||||
});
|
||||
let generateRes = await api.request(generateUrl, {
|
||||
method: 'POST'
|
||||
})
|
||||
|
||||
if (generateRes != null && generateRes.error == null && generateRes.length >= 8) {
|
||||
console.log("Generated API key");
|
||||
apiKey = generateRes;
|
||||
if (generateRes != null && generateRes.error == null && generateRes.length >= 8) {
|
||||
console.log('Generated API key')
|
||||
|
||||
// Store the generated API key
|
||||
selectedNode.apiKey = apiKey;
|
||||
nodeConfig.knownNodes[nodeConfig.node] = selectedNode;
|
||||
localStorage.setItem('myQortalNodes', JSON.stringify(nodeConfig.knownNodes));
|
||||
}
|
||||
else {
|
||||
console.log("Unable to generate API key");
|
||||
}
|
||||
apiKey = generateRes
|
||||
|
||||
// Now test the API key
|
||||
let testResult = await testApiKey(apiKey);
|
||||
if (testResult === true) {
|
||||
console.log("API key test passed");
|
||||
}
|
||||
else {
|
||||
console.log("API key test failed");
|
||||
mykey.show();
|
||||
}
|
||||
// Store the generated API key
|
||||
selectedNode.apiKey = apiKey
|
||||
nodeConfig.knownNodes[nodeConfig.node] = selectedNode
|
||||
localStorage.setItem('myQortalNodes', JSON.stringify(nodeConfig.knownNodes))
|
||||
} else {
|
||||
console.log("Unable to generate API key")
|
||||
}
|
||||
|
||||
// Now test the API key
|
||||
let testResult = await testApiKey(apiKey)
|
||||
|
||||
if (testResult === true) {
|
||||
console.log('API key test passed')
|
||||
} else {
|
||||
console.log('API key test failed')
|
||||
|
||||
mykey.show()
|
||||
|
||||
this.dispatchEvent(
|
||||
new CustomEvent('disable-tour', {
|
||||
bubbles: true,
|
||||
composed: true
|
||||
})
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
export const testApiKey = async (apiKey) => {
|
||||
const testUrl = "/admin/apikey/test?apiKey=" + apiKey;
|
||||
let testRes = await api.request(testUrl, {
|
||||
method: "GET"
|
||||
});
|
||||
if (testRes === true) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
const testUrl = '/admin/apikey/test?apiKey=' + apiKey
|
||||
|
||||
let testRes = await api.request(testUrl, {
|
||||
method: 'GET'
|
||||
})
|
||||
|
||||
return testRes === true
|
||||
}
|
@ -1,5 +1,3 @@
|
||||
import WebWorker from 'web-worker:./computePowWorkerFile.js';
|
||||
import WebWorker from 'web-worker:./computePowWorkerFile.js'
|
||||
|
||||
// You can add any initialization or configuration for the Web Worker here
|
||||
|
||||
export default WebWorker;
|
||||
export default WebWorker
|
@ -1,304 +1,107 @@
|
||||
import {css, html, LitElement} from 'lit'
|
||||
import {connect} from 'pwa-helpers'
|
||||
import {store} from '../store.js'
|
||||
import {doPageUrl} from '../redux/app/app-actions.js'
|
||||
import {translate} from '../../translate/index.js'
|
||||
import WebWorker from 'web-worker:./computePowWorker.js';
|
||||
import {routes} from '../plugins/routes.js';
|
||||
import { html, LitElement } from 'lit'
|
||||
import { connect } from 'pwa-helpers'
|
||||
import { store } from '../store'
|
||||
import { appInfoStyles } from '../styles/core-css'
|
||||
|
||||
import '@material/mwc-icon'
|
||||
import '@material/mwc-button'
|
||||
// Multi language support
|
||||
import { translate } from '../../translate'
|
||||
|
||||
class AppInfo extends connect(store)(LitElement) {
|
||||
static get properties() {
|
||||
return {
|
||||
blockInfo: { type: Object },
|
||||
nodeStatus: { type: Object },
|
||||
nodeInfo: { type: Array },
|
||||
coreInfo: { type: Array },
|
||||
nodeConfig: { type: Object },
|
||||
pageUrl: { type: String },
|
||||
publicizeAddress: { type: String },
|
||||
theme: { type: String, reflect: true }
|
||||
}
|
||||
}
|
||||
static get properties() {
|
||||
return {
|
||||
nodeInfo: { type: Array },
|
||||
coreInfo: { type: Array },
|
||||
nodeConfig: { type: Object },
|
||||
theme: { type: String, reflect: true }
|
||||
}
|
||||
}
|
||||
|
||||
static get styles() {
|
||||
return [
|
||||
css`
|
||||
* {
|
||||
--mdc-theme-primary: rgb(3, 169, 244);
|
||||
--paper-input-container-focus-color: var(--mdc-theme-primary);
|
||||
}
|
||||
.normal {
|
||||
--mdc-theme-primary: rgb(3, 169, 244);
|
||||
}
|
||||
static get styles() {
|
||||
return [appInfoStyles]
|
||||
}
|
||||
|
||||
.normal-button {
|
||||
--mdc-theme-primary: rgb(3, 169, 244);
|
||||
--mdc-theme-on-primary: white;
|
||||
}
|
||||
constructor() {
|
||||
super()
|
||||
this.nodeInfo = []
|
||||
this.coreInfo = []
|
||||
this.nodeConfig = {}
|
||||
this.theme = localStorage.getItem('qortalTheme') ? localStorage.getItem('qortalTheme') : 'light'
|
||||
}
|
||||
|
||||
mwc-button.normal-button {
|
||||
--mdc-theme-primary: rgb(3, 169, 244);
|
||||
--mdc-theme-on-primary: white;
|
||||
}
|
||||
.test-net {
|
||||
--mdc-theme-primary: black;
|
||||
}
|
||||
render() {
|
||||
return html`
|
||||
<div id="profileInMenu">
|
||||
<span class="info">${translate("appinfo.uiversion")}: ${this.nodeConfig.version ? this.nodeConfig.version : ''}</span>
|
||||
${this._renderCoreVersion()}
|
||||
<span class="info">${translate("appinfo.blockheight")}: ${this.nodeInfo.height ? this.nodeInfo.height : ''} <span class=${this.cssStatus}>${this._renderStatus()}</span></span>
|
||||
<span class="info">${translate("appinfo.peers")}: ${this.nodeInfo.numberOfConnections ? this.nodeInfo.numberOfConnections : ''}
|
||||
</div>
|
||||
`
|
||||
}
|
||||
|
||||
.test-net-button {
|
||||
--mdc-theme-primary: black;
|
||||
--mdc-theme-on-primary: white;
|
||||
}
|
||||
firstUpdated() {
|
||||
this.getNodeInfo()
|
||||
this.getCoreInfo()
|
||||
|
||||
mwc-button.test-net-button {
|
||||
--mdc-theme-primary: black;
|
||||
--mdc-theme-on-primary: white;
|
||||
}
|
||||
#profileInMenu {
|
||||
flex: 0 0 100px;
|
||||
padding:12px;
|
||||
border-top: 1px solid var(--border);
|
||||
background: var(--sidetopbar);
|
||||
}
|
||||
.info {
|
||||
margin: 0;
|
||||
font-size: 14px;
|
||||
font-weight:100;
|
||||
display: inline-block;
|
||||
width:100%;
|
||||
padding-bottom:8px;
|
||||
color: var(--black);
|
||||
}
|
||||
.blue {
|
||||
color: #03a9f4;
|
||||
margin: 0;
|
||||
font-size: 14px;
|
||||
font-weight:200;
|
||||
display: inline;
|
||||
}
|
||||
.black {
|
||||
color: var(--black);
|
||||
margin: 0;
|
||||
font-size: 14px;
|
||||
font-weight:200;
|
||||
display: inline;
|
||||
}
|
||||
`
|
||||
]
|
||||
}
|
||||
setInterval(() => {
|
||||
this.getNodeInfo()
|
||||
this.getCoreInfo()
|
||||
}, 60000)
|
||||
}
|
||||
|
||||
constructor() {
|
||||
super()
|
||||
this.blockInfo = {}
|
||||
this.nodeInfo = []
|
||||
this.coreInfo = []
|
||||
this.nodeStatus = {}
|
||||
this.pageUrl = ''
|
||||
this.publicizeAddress = ''
|
||||
this.theme = localStorage.getItem('qortalTheme') ? localStorage.getItem('qortalTheme') : 'light'
|
||||
this.publicKeyisOnChainConfirmation = false
|
||||
this.interval
|
||||
}
|
||||
async getNodeInfo() {
|
||||
const appinfoNode = store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
const appinfoUrl = appinfoNode.protocol + '://' + appinfoNode.domain + ':' + appinfoNode.port
|
||||
const url = `${appinfoUrl}/admin/status`
|
||||
|
||||
render() {
|
||||
return html`
|
||||
<div id="profileInMenu">
|
||||
<span class="info">${translate("appinfo.uiversion")}: ${this.nodeConfig.version ? this.nodeConfig.version : ''}</span>
|
||||
${this._renderCoreVersion()}
|
||||
<span class="info">${translate("appinfo.blockheight")}: ${this.nodeInfo.height ? this.nodeInfo.height : ''} <span class=${this.cssStatus}>${this._renderStatus()}</span></span>
|
||||
<span class="info">${translate("appinfo.peers")}: ${this.nodeInfo.numberOfConnections ? this.nodeInfo.numberOfConnections : ''}
|
||||
<a id="pageLink"></a>
|
||||
</div>
|
||||
`
|
||||
}
|
||||
await fetch(url).then(response => {
|
||||
return response.json()
|
||||
}).then(data => {
|
||||
this.nodeInfo = data
|
||||
}).catch(err => {
|
||||
console.error('Request failed', err)
|
||||
})
|
||||
}
|
||||
|
||||
firstUpdated() {
|
||||
this.publicizeAddress = store.getState().app.selectedAddress.address + '_publicize'
|
||||
this.setStorage()
|
||||
this.getNodeInfo()
|
||||
this.getCoreInfo()
|
||||
// try {
|
||||
// this.confirmPublicKeyOnChain(store.getState().app.selectedAddress.address)
|
||||
// } catch (error) {
|
||||
// console.error(error)
|
||||
// }
|
||||
async getCoreInfo() {
|
||||
const appinfoNode = store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
const appinfoUrl = appinfoNode.protocol + '://' + appinfoNode.domain + ':' + appinfoNode.port
|
||||
const url = `${appinfoUrl}/admin/info`
|
||||
|
||||
setInterval(() => {
|
||||
this.getNodeInfo()
|
||||
this.getCoreInfo()
|
||||
}, 30000)
|
||||
}
|
||||
await fetch(url).then(response => {
|
||||
return response.json()
|
||||
}).then(data => {
|
||||
this.coreInfo = data
|
||||
}).catch(err => {
|
||||
console.error('Request failed', err)
|
||||
})
|
||||
}
|
||||
|
||||
setStorage() {
|
||||
if (localStorage.getItem(this.publicizeAddress) === null) {
|
||||
localStorage.setItem(this.publicizeAddress, 'false')
|
||||
}
|
||||
}
|
||||
_renderStatus() {
|
||||
if (this.nodeInfo.isMintingPossible === true && this.nodeInfo.isSynchronizing === true) {
|
||||
this.cssStatus = 'blue'
|
||||
return html`${translate("appinfo.minting")}`
|
||||
} else if (this.nodeInfo.isMintingPossible === true && this.nodeInfo.isSynchronizing === false) {
|
||||
this.cssStatus = 'blue'
|
||||
return html`${translate("appinfo.minting")}`
|
||||
} else if (this.nodeInfo.isMintingPossible === false && this.nodeInfo.isSynchronizing === true) {
|
||||
this.cssStatus = 'black'
|
||||
return html`(${translate("appinfo.synchronizing")}... ${this.nodeInfo.syncPercent !== undefined ? this.nodeInfo.syncPercent + '%' : ''})`
|
||||
} else if (this.nodeInfo.isMintingPossible === false && this.nodeInfo.isSynchronizing === false) {
|
||||
this.cssStatus = 'black'
|
||||
return ''
|
||||
} else {
|
||||
return ''
|
||||
}
|
||||
}
|
||||
|
||||
async confirmPublicKeyOnChain(address) {
|
||||
const _computePow2 = async (chatBytes) => {
|
||||
const difficulty = 14
|
||||
const path = window.parent.location.origin + '/memory-pow/memory-pow.wasm.full'
|
||||
const worker = new WebWorker();
|
||||
let nonce = null
|
||||
let chatBytesArray = null
|
||||
await new Promise((res, rej) => {
|
||||
worker.postMessage({chatBytes, path, difficulty})
|
||||
_renderCoreVersion() {
|
||||
return html`<span class="info">${translate("appinfo.coreversion")}: ${this.coreInfo.buildVersion ? this.coreInfo.buildVersion : ''}</span>`
|
||||
}
|
||||
|
||||
worker.onmessage = e => {
|
||||
worker.terminate()
|
||||
chatBytesArray = e.data.chatBytesArray
|
||||
nonce = e.data.nonce
|
||||
res()
|
||||
}
|
||||
})
|
||||
|
||||
let _response = await routes.sign_chat({
|
||||
data: {
|
||||
nonce: store.getState().app.selectedAddress.nonce,
|
||||
chatBytesArray: chatBytesArray,
|
||||
chatNonce: nonce
|
||||
},
|
||||
})
|
||||
return _response
|
||||
}
|
||||
|
||||
let stop = false
|
||||
const checkPublicKey = async () => {
|
||||
if (!stop) {
|
||||
stop = true
|
||||
try {
|
||||
if(localStorage.getItem(this.publicizeAddress) === 'true') {
|
||||
clearInterval(this.interval)
|
||||
return
|
||||
}
|
||||
const myNode = store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
const nodeUrl = myNode.protocol + '://' + myNode.domain + ':' + myNode.port
|
||||
const url = `${nodeUrl}/addresses/publickey/${address}`
|
||||
const res = await fetch(url)
|
||||
let data = ''
|
||||
try {
|
||||
data = await res.text()
|
||||
} catch (error) {
|
||||
data = {
|
||||
error: 'error'
|
||||
}
|
||||
}
|
||||
if(data === 'false' && this.nodeInfo.isSynchronizing !== true) {
|
||||
let _reference = new Uint8Array(64)
|
||||
window.crypto.getRandomValues(_reference)
|
||||
let reference = window.parent.Base58.encode(_reference)
|
||||
const chatRes = await routes.chat({
|
||||
data: {
|
||||
type: 19,
|
||||
nonce: store.getState().app.selectedAddress.nonce,
|
||||
params: {
|
||||
lastReference: reference,
|
||||
proofOfWorkNonce: 0,
|
||||
fee: 0,
|
||||
timestamp: Date.now(),
|
||||
},
|
||||
disableModal: true
|
||||
},
|
||||
disableModal: true,
|
||||
});
|
||||
|
||||
try {
|
||||
const powRes = await _computePow2(chatRes)
|
||||
if(powRes === true) {
|
||||
clearInterval(this.interval)
|
||||
localStorage.removeItem(this.publicizeAddress)
|
||||
localStorage.setItem(this.publicizeAddress, 'true')
|
||||
}
|
||||
} catch (error) {
|
||||
console.error(error)
|
||||
}
|
||||
}
|
||||
|
||||
if (!data.error && data !== 'false' && data) {
|
||||
clearInterval(this.interval)
|
||||
localStorage.removeItem(this.publicizeAddress)
|
||||
localStorage.setItem(this.publicizeAddress, 'true')
|
||||
}
|
||||
|
||||
} catch (error) {
|
||||
}
|
||||
stop = false
|
||||
}
|
||||
}
|
||||
this.interval = setInterval(checkPublicKey, 5000);
|
||||
}
|
||||
|
||||
async getNodeInfo() {
|
||||
const appinfoNode = store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
const appinfoUrl = appinfoNode.protocol + '://' + appinfoNode.domain + ':' + appinfoNode.port
|
||||
const url = `${appinfoUrl}/admin/status`
|
||||
await fetch(url).then(response => {
|
||||
return response.json()
|
||||
})
|
||||
.then(data => {
|
||||
this.nodeInfo = data
|
||||
})
|
||||
.catch(err => {
|
||||
console.error('Request failed', err)
|
||||
})
|
||||
}
|
||||
|
||||
async getCoreInfo() {
|
||||
const appinfoNode = store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
const appinfoUrl = appinfoNode.protocol + '://' + appinfoNode.domain + ':' + appinfoNode.port
|
||||
const url = `${appinfoUrl}/admin/info`
|
||||
await fetch(url).then(response => {
|
||||
return response.json()
|
||||
})
|
||||
.then(data => {
|
||||
this.coreInfo = data
|
||||
})
|
||||
.catch(err => {
|
||||
console.error('Request failed', err)
|
||||
})
|
||||
}
|
||||
|
||||
_renderStatus() {
|
||||
if (this.nodeInfo.isMintingPossible === true && this.nodeInfo.isSynchronizing === true) {
|
||||
this.cssStatus = 'blue'
|
||||
return html`${translate("appinfo.minting")}`
|
||||
} else if (this.nodeInfo.isMintingPossible === true && this.nodeInfo.isSynchronizing === false) {
|
||||
this.cssStatus = 'blue'
|
||||
return html`${translate("appinfo.minting")}`
|
||||
} else if (this.nodeInfo.isMintingPossible === false && this.nodeInfo.isSynchronizing === true) {
|
||||
this.cssStatus = 'black'
|
||||
return html`(${translate("appinfo.synchronizing")}... ${this.nodeInfo.syncPercent !== undefined ? this.nodeInfo.syncPercent + '%' : ''})`
|
||||
} else if (this.nodeInfo.isMintingPossible === false && this.nodeInfo.isSynchronizing === false) {
|
||||
this.cssStatus = 'black'
|
||||
return ''
|
||||
} else {
|
||||
return ''
|
||||
}
|
||||
}
|
||||
|
||||
_renderCoreVersion() {
|
||||
return html`<span class="info">${translate("appinfo.coreversion")}: ${this.coreInfo.buildVersion ? this.coreInfo.buildVersion : ''}</span>`
|
||||
}
|
||||
|
||||
gotoPage(url) {
|
||||
const myLink = this.shadowRoot.querySelector('#pageLink')
|
||||
myLink.href = url
|
||||
myLink.click()
|
||||
store.dispatch(doPageUrl(''))
|
||||
}
|
||||
|
||||
stateChanged(state) {
|
||||
this.blockInfo = state.app.blockInfo
|
||||
this.nodeStatus = state.app.nodeStatus
|
||||
this.nodeConfig = state.app.nodeConfig
|
||||
this.pageUrl = state.app.pageUrl
|
||||
if (this.pageUrl.length > 5) {
|
||||
this.gotoPage(this.pageUrl)
|
||||
}
|
||||
}
|
||||
stateChanged(state) {
|
||||
this.nodeConfig = state.app.nodeConfig
|
||||
}
|
||||
}
|
||||
|
||||
window.customElements.define('app-info', AppInfo)
|
||||
window.customElements.define('app-info', AppInfo)
|
File diff suppressed because it is too large
Load Diff
@ -1,26 +1,11 @@
|
||||
import {css, html, LitElement} from 'lit'
|
||||
import {connect} from 'pwa-helpers'
|
||||
import {store} from '../store.js'
|
||||
import { html, LitElement } from 'lit'
|
||||
import { connect } from 'pwa-helpers'
|
||||
import { store } from '../store'
|
||||
|
||||
class MyElement extends connect(store)(LitElement) {
|
||||
static get properties () {
|
||||
return {
|
||||
}
|
||||
}
|
||||
|
||||
static get styles () {
|
||||
return css``
|
||||
}
|
||||
|
||||
render () {
|
||||
return html`
|
||||
<style>
|
||||
</style>
|
||||
`
|
||||
}
|
||||
|
||||
stateChanged (state) {
|
||||
}
|
||||
render () {
|
||||
return html`<style></style>`
|
||||
}
|
||||
}
|
||||
|
||||
window.customElements.define('my-element', MyElement)
|
||||
window.customElements.define('my-element', MyElement)
|
@ -1,284 +1,208 @@
|
||||
import { LitElement, html, css } from 'lit';
|
||||
import { store } from '../../store';
|
||||
import { connect } from 'pwa-helpers';
|
||||
import '@material/mwc-icon';
|
||||
import { translate } from '../../../translate';
|
||||
import { parentEpml } from '../show-plugin';
|
||||
import { html, LitElement } from 'lit'
|
||||
import { connect } from 'pwa-helpers'
|
||||
import { store } from '../../store'
|
||||
import { parentEpml } from '../show-plugin'
|
||||
import { syncIndicator2Styles } from '../../styles/core-css'
|
||||
import '@material/mwc-icon'
|
||||
|
||||
// Multi language support
|
||||
import {translate} from '../../../translate'
|
||||
|
||||
class SyncIndicator extends connect(store)(LitElement) {
|
||||
static get properties() {
|
||||
return {
|
||||
isBehind: { type: Boolean },
|
||||
blocksBehind: { type: Number },
|
||||
nodeUrl: { type: String },
|
||||
address: { type: String },
|
||||
isBehind: { type: Boolean },
|
||||
isSynchronizing: { type: Boolean },
|
||||
hasCoreRunning: { type: Boolean },
|
||||
};
|
||||
}
|
||||
|
||||
constructor() {
|
||||
super();
|
||||
this.isBehind = null;
|
||||
this.blocksBehind = 0;
|
||||
this.nodeUrl = this.getNodeUrl();
|
||||
this.myNode = this.getMyNode();
|
||||
this.interval = null;
|
||||
this.hasCoreRunning = true;
|
||||
this.seenWelcomeSync = false;
|
||||
this.numberOfTries = 0;
|
||||
hasCoreRunning: { type: Boolean }
|
||||
}
|
||||
}
|
||||
|
||||
static get styles() {
|
||||
return css`
|
||||
* {
|
||||
--mdc-theme-text-primary-on-background: var(--black);
|
||||
box-sizing: border-box;
|
||||
}
|
||||
:host {
|
||||
box-sizing: border-box;
|
||||
position: fixed;
|
||||
bottom: 25px;
|
||||
right: 25px;
|
||||
z-index: 50000;
|
||||
}
|
||||
.parent {
|
||||
width: 360px;
|
||||
padding: 10px;
|
||||
border-radius: 8px;
|
||||
border: 1px solid var(--black);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
user-select: none;
|
||||
background: var(--white);
|
||||
}
|
||||
.row {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
width: 100%;
|
||||
}
|
||||
.column {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
width: 100%;
|
||||
}
|
||||
.bootstrap-button {
|
||||
font-family: Roboto, sans-serif;
|
||||
font-size: 16px;
|
||||
color: var(--mdc-theme-primary);
|
||||
background-color: transparent;
|
||||
padding: 8px 10px;
|
||||
border-radius: 5px;
|
||||
border: none;
|
||||
transition: all 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
.bootstrap-button:hover {
|
||||
cursor: pointer;
|
||||
background-color: #03a8f475;
|
||||
}
|
||||
`;
|
||||
}
|
||||
async firstUpdated() {
|
||||
this.address = store.getState().app.selectedAddress.address
|
||||
|
||||
const seenWelcomeSync = JSON.parse(
|
||||
localStorage.getItem(`welcome-sync-${this.address}`) || 'false'
|
||||
);
|
||||
this.seenWelcomeSync = seenWelcomeSync;
|
||||
return [syncIndicator2Styles]
|
||||
}
|
||||
|
||||
getNodeUrl() {
|
||||
const myNode =
|
||||
window.parent.reduxStore.getState().app.nodeConfig.knownNodes[
|
||||
window.parent.reduxStore.getState().app.nodeConfig.node
|
||||
];
|
||||
|
||||
const nodeUrl =
|
||||
myNode.protocol + '://' + myNode.domain + ':' + myNode.port;
|
||||
return nodeUrl;
|
||||
}
|
||||
getMyNode() {
|
||||
const myNode =
|
||||
window.parent.reduxStore.getState().app.nodeConfig.knownNodes[
|
||||
window.parent.reduxStore.getState().app.nodeConfig.node
|
||||
];
|
||||
|
||||
return myNode;
|
||||
}
|
||||
|
||||
async getDaySummary() {
|
||||
try {
|
||||
const endpoint = `${this.nodeUrl}/admin/summary/?apiKey=${this.myNode.apiKey}`;
|
||||
const res = await fetch(endpoint);
|
||||
const data = await res.json();
|
||||
let blockTimeInSeconds = null;
|
||||
if (data.blockCount) {
|
||||
const blockTime = 1440 / data.blockCount;
|
||||
blockTimeInSeconds = blockTime * 60;
|
||||
}
|
||||
|
||||
const endpointLastBlock = `${this.nodeUrl}/blocks/last`;
|
||||
const resLastBlock = await fetch(endpointLastBlock);
|
||||
const dataLastBlock = await resLastBlock.json();
|
||||
const timestampNow = Date.now();
|
||||
const currentBlockTimestamp = dataLastBlock.timestamp;
|
||||
if (blockTimeInSeconds && currentBlockTimestamp < timestampNow) {
|
||||
const diff = timestampNow - currentBlockTimestamp;
|
||||
const inSeconds = diff / 1000; // millisecs to secs
|
||||
const inBlocks = inSeconds / blockTimeInSeconds;
|
||||
this.blocksBehind = parseInt(inBlocks);
|
||||
if (inBlocks >= 1000) {
|
||||
this.isBehind = true;
|
||||
} else {
|
||||
this.isBehind = false;
|
||||
}
|
||||
} else {
|
||||
this.blocksBehind = 0;
|
||||
this.isBehind = false;
|
||||
}
|
||||
} catch (error) {}
|
||||
}
|
||||
|
||||
async checkHowManyBlocksBehind() {
|
||||
try {
|
||||
this.getDaySummary();
|
||||
this.interval = setInterval(() => {
|
||||
if (this.isBehind === false) {
|
||||
this.isBehind = null;
|
||||
clearInterval(this.interval);
|
||||
}
|
||||
this.getDaySummary();
|
||||
}, 60000);
|
||||
} catch (error) {}
|
||||
}
|
||||
|
||||
stateChanged(state) {
|
||||
if (
|
||||
state.app.nodeStatus &&
|
||||
Object.keys(state.app.nodeStatus).length === 0
|
||||
) {
|
||||
if (this.numberOfTries > 5) {
|
||||
this.hasCoreRunning = false;
|
||||
} else {
|
||||
this.numberOfTries = this.numberOfTries + 1;
|
||||
}
|
||||
} else if (
|
||||
state.app.nodeStatus &&
|
||||
state.app.nodeStatus.syncPercent !== this.syncPercentage
|
||||
) {
|
||||
this.hasCoreRunning = true
|
||||
this.numberOfTries = 0
|
||||
this.syncPercentage = state.app.nodeStatus.syncPercent;
|
||||
|
||||
if (state.app.nodeStatus.syncPercent !== 100) {
|
||||
this.isSynchronizing = true;
|
||||
} else {
|
||||
this.isSynchronizing = false;
|
||||
}
|
||||
if (
|
||||
this.isBehind === null &&
|
||||
state.app.nodeStatus.syncPercent === 100
|
||||
) {
|
||||
this.isBehind = false;
|
||||
this.blocksBehind = 0;
|
||||
if (!this.seenWelcomeSync) {
|
||||
this.dispatchEvent(
|
||||
new CustomEvent('open-welcome-modal-sync', {
|
||||
bubbles: true,
|
||||
composed: true,
|
||||
})
|
||||
);
|
||||
}
|
||||
} else if (
|
||||
!this.interval &&
|
||||
this.isBehind === null &&
|
||||
state.app.nodeStatus.isSynchronizing &&
|
||||
state.app.nodeStatus.syncPercent !== 100
|
||||
) {
|
||||
this.checkHowManyBlocksBehind();
|
||||
}
|
||||
} else {
|
||||
this.hasCoreRunning = true;
|
||||
}
|
||||
}
|
||||
|
||||
async bootstrap(){
|
||||
try {
|
||||
const endpoint = `${this.nodeUrl}/admin/bootstrap/?apiKey=${this.myNode.apiKey}`;
|
||||
const res = await fetch(endpoint);
|
||||
const data = await res.json();
|
||||
if(data === true){
|
||||
parentEpml.request('showSnackBar', get('tour.tour22'));
|
||||
}
|
||||
console.log({data})
|
||||
} catch (error) {
|
||||
|
||||
}
|
||||
constructor() {
|
||||
super()
|
||||
this.blocksBehind = 0
|
||||
this.nodeUrl = ''
|
||||
this.address = ''
|
||||
this.isBehind = false
|
||||
this.isSynchronizing = false
|
||||
this.hasCoreRunning = true
|
||||
this.interval = null
|
||||
this.seenWelcomeSync = false
|
||||
this.numberOfTries = 0
|
||||
this.hasOpened = false
|
||||
}
|
||||
|
||||
render() {
|
||||
return html`
|
||||
${!this.hasCoreRunning
|
||||
? html`
|
||||
<div class="parent">
|
||||
<span
|
||||
><mwc-icon
|
||||
id="notification-general-icon"
|
||||
style="color: red; cursor:pointer;user-select:none"
|
||||
>priority_high</mwc-icon
|
||||
></span
|
||||
>
|
||||
${!this.hasCoreRunning ? html`
|
||||
<div class="parent">
|
||||
<span>
|
||||
<mwc-icon id="notification-general-icon" style="color: red; cursor:pointer;user-select:none">
|
||||
priority_high
|
||||
</mwc-icon>
|
||||
</span>
|
||||
<p>
|
||||
${translate("tour.tour17")}
|
||||
</p>
|
||||
</div>
|
||||
` : (this.blocksBehind > 1050 && this.isSynchronizing) ? html`
|
||||
<div class="parent">
|
||||
<div class="column">
|
||||
<div class="row">
|
||||
<span>
|
||||
<img src="/img/syncing.png" style="height: 24px; width: 24px;" />
|
||||
</span>
|
||||
<p>
|
||||
${translate("tour.tour17")}
|
||||
${this.blocksBehind} ${translate("tour.tour20")}
|
||||
</p>
|
||||
</div>
|
||||
`
|
||||
: (this.isBehind && this.isSynchronizing)
|
||||
? html`
|
||||
<div class="parent">
|
||||
<div class="column">
|
||||
<div class="row">
|
||||
<span
|
||||
><img
|
||||
src="/img/syncing.png"
|
||||
style="height: 24px; width: 24px;"
|
||||
/></span>
|
||||
<p>
|
||||
${this.blocksBehind} ${translate("tour.tour20")}
|
||||
</p>
|
||||
</div>
|
||||
<div
|
||||
class="row"
|
||||
style="justify-content: center"
|
||||
>
|
||||
<button
|
||||
class="bootstrap-button"
|
||||
@click="${() => {
|
||||
this.bootstrap()
|
||||
}}"
|
||||
>
|
||||
${translate("tour.tour18")}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row" style="justify-content: center">
|
||||
<button class="bootstrap-button" @click="${() => {this.bootstrap()}}">
|
||||
${translate("tour.tour18")}
|
||||
</button>
|
||||
</div>
|
||||
`
|
||||
: this.isSynchronizing
|
||||
? html`
|
||||
<div class="parent">
|
||||
<span
|
||||
><img
|
||||
src="/img/syncing.png"
|
||||
style="height: 24px; width: 24px;"
|
||||
/></span>
|
||||
<p>
|
||||
${translate("tour.tour19")} ${this.blocksBehind ? this.blocksBehind : ""} ${this.blocksBehind ? translate("tour.tour21"): ""}
|
||||
</p>
|
||||
</div>
|
||||
`
|
||||
: "" }
|
||||
`;
|
||||
</div>
|
||||
</div>
|
||||
` : this.isSynchronizing ? html`
|
||||
<div class="parent">
|
||||
<span>
|
||||
<img src="/img/syncing.png" style="height: 24px; width: 24px;" />
|
||||
</span>
|
||||
<p>
|
||||
${translate("tour.tour19")} ${this.blocksBehind ? this.blocksBehind : ""} ${this.blocksBehind ? translate("tour.tour21"): ""}
|
||||
</p>
|
||||
</div>
|
||||
` : "" }
|
||||
`
|
||||
}
|
||||
|
||||
firstUpdated() {
|
||||
this.getNodeUrl()
|
||||
this.address = store.getState().app.selectedAddress.address
|
||||
|
||||
this.seenWelcomeSync = JSON.parse(
|
||||
localStorage.getItem(`welcome-sync-${this.address}`) || 'false'
|
||||
)
|
||||
|
||||
setInterval(() => {
|
||||
this.getNodeUrl()
|
||||
}, 60000)
|
||||
}
|
||||
|
||||
getNodeUrl() {
|
||||
const syncInfoNode = store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
const syncInfoUrl = syncInfoNode.protocol + '://' + syncInfoNode.domain + ':' + syncInfoNode.port
|
||||
this.nodeUrl = syncInfoUrl
|
||||
}
|
||||
|
||||
async getDaySummary() {
|
||||
try {
|
||||
this.fetchingSummary = true
|
||||
|
||||
const endpointLastBlock = `${this.nodeUrl}/blocks/last`
|
||||
const resLastBlock = await fetch(endpointLastBlock)
|
||||
const dataLastBlock = await resLastBlock.json()
|
||||
const timestampNow = Date.now()
|
||||
const currentBlockTimestamp = dataLastBlock.timestamp
|
||||
|
||||
if (currentBlockTimestamp < timestampNow) {
|
||||
const diff = timestampNow - currentBlockTimestamp
|
||||
const inSeconds = diff / 1000
|
||||
const inBlocks = inSeconds / 70
|
||||
this.blocksBehind = parseInt(inBlocks)
|
||||
if (inBlocks >= 100) {
|
||||
this.isBehind = true
|
||||
} else {
|
||||
this.isBehind = false
|
||||
this.blocksBehind = 0
|
||||
}
|
||||
} else {
|
||||
this.blocksBehind = 0
|
||||
this.isBehind = false
|
||||
}
|
||||
} catch (error) {} finally {
|
||||
this.fetchingSummary = false
|
||||
}
|
||||
}
|
||||
|
||||
async checkHowManyBlocksBehind() {
|
||||
try {
|
||||
await this.getDaySummary()
|
||||
this.interval = setInterval(() => {
|
||||
if(this.fetchingSummary) return
|
||||
if (this.isBehind === false) {
|
||||
this.isBehind = null
|
||||
clearInterval(this.interval)
|
||||
}
|
||||
this.getDaySummary()
|
||||
}, 20000)
|
||||
} catch (error) {
|
||||
// ...
|
||||
}
|
||||
}
|
||||
|
||||
async bootstrap() {
|
||||
try {
|
||||
const endpoint = `${this.nodeUrl}/admin/bootstrap/?apiKey=${this.getApiKey()}`
|
||||
const res = await fetch(endpoint)
|
||||
const data = await res.json()
|
||||
if (data === true) {
|
||||
parentEpml.request('showSnackBar', get('tour.tour22'))
|
||||
}
|
||||
} catch (error) {
|
||||
// ...
|
||||
}
|
||||
}
|
||||
|
||||
getApiKey() {
|
||||
const apiNode = store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
return apiNode.apiKey
|
||||
}
|
||||
|
||||
stateChanged(state) {
|
||||
this.address = store.getState().app.selectedAddress.address
|
||||
|
||||
if (!this.seenWelcomeSync && state.app.nodeStatus && state.app.nodeStatus.syncPercent === 100 && this.hasOpened === false) {
|
||||
this.hasOpened = true
|
||||
this.dispatchEvent(
|
||||
new CustomEvent('open-welcome-modal-sync', {
|
||||
bubbles: true,
|
||||
composed: true
|
||||
})
|
||||
)
|
||||
}
|
||||
|
||||
if (state.app.nodeStatus && Object.keys(state.app.nodeStatus).length === 0) {
|
||||
if (this.numberOfTries > 5) {
|
||||
this.hasCoreRunning = false
|
||||
} else {
|
||||
this.numberOfTries = this.numberOfTries + 1
|
||||
}
|
||||
} else if (state.app.nodeStatus && state.app.nodeStatus.syncPercent === 100 && state.app.nodeStatus.syncPercent !== this.syncPercentage) {
|
||||
this.syncPercentage = state.app.nodeStatus.syncPercent
|
||||
this.isSynchronizing = false
|
||||
} else if (state.app.nodeStatus) {
|
||||
this.hasCoreRunning = true
|
||||
this.numberOfTries = 0
|
||||
this.syncPercentage = state.app.nodeStatus.syncPercent
|
||||
|
||||
if (state.app.nodeStatus.syncPercent !== 100) {
|
||||
this.isSynchronizing = true
|
||||
}
|
||||
|
||||
if (!this.interval && this.isBehind === null && state.app.nodeStatus.isSynchronizing && state.app.nodeStatus.syncPercent !== 100) {
|
||||
this.checkHowManyBlocksBehind()
|
||||
}
|
||||
} else {
|
||||
this.hasCoreRunning = true
|
||||
}
|
||||
}
|
||||
}
|
||||
customElements.define('sync-indicator', SyncIndicator);
|
||||
|
||||
window.customElements.define('sync-indicator', SyncIndicator)
|
@ -1,248 +1,132 @@
|
||||
import { LitElement, html, css } from 'lit';
|
||||
import { driver } from 'driver.js';
|
||||
import 'driver.js/dist/driver.css';
|
||||
import '@material/mwc-icon';
|
||||
import '@polymer/paper-spinner/paper-spinner-lite.js';
|
||||
import '@vaadin/tooltip';
|
||||
import '@material/mwc-button';
|
||||
import { get, translate } from '../../../translate/index.js';
|
||||
import '@polymer/paper-dialog/paper-dialog.js';
|
||||
import { setNewTab } from '../../redux/app/app-actions.js';
|
||||
import { store } from '../../store.js';
|
||||
import { connect } from 'pwa-helpers';
|
||||
import './tour.css';
|
||||
import { html, LitElement } from 'lit'
|
||||
import { connect } from 'pwa-helpers'
|
||||
import { store } from '../../store'
|
||||
import { setNewTab } from '../../redux/app/app-actions'
|
||||
import { tourComponentStyles } from '../../styles/core-css'
|
||||
import { driver } from 'driver.js'
|
||||
import 'driver.js/dist/driver.css'
|
||||
import './tour.css'
|
||||
import '@material/mwc-button'
|
||||
import '@material/mwc-icon'
|
||||
import '@polymer/paper-dialog/paper-dialog.js'
|
||||
import '@polymer/paper-spinner/paper-spinner-lite.js'
|
||||
import '@vaadin/tooltip'
|
||||
|
||||
// Multi language support
|
||||
import { get, translate } from '../../../translate'
|
||||
|
||||
class TourComponent extends connect(store)(LitElement) {
|
||||
static get properties() {
|
||||
return {
|
||||
getElements: { attribute: false },
|
||||
dialogOpenedCongrats: { type: Boolean },
|
||||
hasViewedTour: { type: Boolean },
|
||||
};
|
||||
}
|
||||
|
||||
constructor() {
|
||||
super();
|
||||
this.dialogOpenedCongrats = false;
|
||||
this._controlOpenWelcomeModal =
|
||||
this._controlOpenWelcomeModal.bind(this);
|
||||
this.hasName = false;
|
||||
this.nodeUrl = this.getNodeUrl();
|
||||
this.myNode = this.getMyNode();
|
||||
disableTour: { type: Boolean },
|
||||
nodeUrl: { type: String },
|
||||
address: { type: String }
|
||||
}
|
||||
}
|
||||
|
||||
static get styles() {
|
||||
return css`
|
||||
* {
|
||||
--mdc-theme-primary: rgb(3, 169, 244);
|
||||
--mdc-theme-secondary: var(--mdc-theme-primary);
|
||||
--mdc-theme-surface: var(--white);
|
||||
--mdc-dialog-content-ink-color: var(--black);
|
||||
box-sizing: border-box;
|
||||
color: var(--black);
|
||||
background: var(--white);
|
||||
}
|
||||
|
||||
:host {
|
||||
box-sizing: border-box;
|
||||
position: fixed;
|
||||
bottom: 25px;
|
||||
right: 25px;
|
||||
z-index: 50000;
|
||||
}
|
||||
|
||||
.full-info-wrapper {
|
||||
width: 100%;
|
||||
min-width: 600px;
|
||||
max-width: 600px;
|
||||
text-align: center;
|
||||
background: var(--white);
|
||||
border: 1px solid var(--black);
|
||||
border-radius: 15px;
|
||||
padding: 25px;
|
||||
box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.1);
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.buttons {
|
||||
display: inline;
|
||||
}
|
||||
.accept-button {
|
||||
font-family: Roboto, sans-serif;
|
||||
letter-spacing: 0.3px;
|
||||
font-weight: 300;
|
||||
padding: 8px 5px;
|
||||
border-radius: 3px;
|
||||
text-align: center;
|
||||
color: var(--black);
|
||||
transition: all 0.3s ease-in-out;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
font-size: 18px;
|
||||
justify-content: center;
|
||||
outline: 1px solid var(--black);
|
||||
}
|
||||
|
||||
.accept-button:hover {
|
||||
cursor: pointer;
|
||||
background-color: #03a8f485;
|
||||
}
|
||||
|
||||
.close-button {
|
||||
font-family: Roboto, sans-serif;
|
||||
letter-spacing: 0.3px;
|
||||
font-weight: 300;
|
||||
padding: 8px 5px;
|
||||
border-radius: 3px;
|
||||
text-align: center;
|
||||
color: #f44336;
|
||||
transition: all 0.3s ease-in-out;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
font-size: 18px;
|
||||
width:auto;
|
||||
}
|
||||
|
||||
.close-button:hover {
|
||||
cursor: pointer;
|
||||
background-color: #f4433663;
|
||||
}
|
||||
`;
|
||||
return [tourComponentStyles]
|
||||
}
|
||||
|
||||
_controlOpenWelcomeModal() {
|
||||
this.isSynced = true
|
||||
|
||||
const seenWelcomeSync = JSON.parse(
|
||||
localStorage.getItem('welcome-sync') || 'false'
|
||||
);
|
||||
if (this.hasName) return;
|
||||
if (seenWelcomeSync) return;
|
||||
if(!this.hasViewedTour) return
|
||||
this.dialogOpenedCongrats = true;
|
||||
constructor() {
|
||||
super()
|
||||
this.dialogOpenedCongrats = false
|
||||
this._controlOpenWelcomeModal = this._controlOpenWelcomeModal.bind(this)
|
||||
this.hasName = false
|
||||
this.nodeUrl = ''
|
||||
this.address = ''
|
||||
this._disableTour = this._disableTour.bind(this)
|
||||
this.disableTour = false
|
||||
}
|
||||
|
||||
openWelcomeModal() {
|
||||
this.dispatchEvent(
|
||||
new CustomEvent('send-tour-finished', {
|
||||
bubbles: true,
|
||||
composed: true,
|
||||
})
|
||||
);
|
||||
const seenWelcomeSync = JSON.parse(
|
||||
localStorage.getItem('welcome-sync') || 'false'
|
||||
);
|
||||
if (this.hasName) return;
|
||||
if (seenWelcomeSync) return;
|
||||
if(!this.isSynced) return
|
||||
this.dialogOpenedCongrats = true;
|
||||
render() {
|
||||
return html`
|
||||
<!-- Profile read-view -->
|
||||
${this.dialogOpenedCongrats && this.hasViewedTour ? html`
|
||||
<paper-dialog class="full-info-wrapper" ?opened="${this.dialogOpenedCongrats}">
|
||||
<h3>Congratulations!</h3>
|
||||
<div style="display:flex;gap:15px;justify-content:center;margin-top:10px">
|
||||
${translate("tour.tour13")}
|
||||
</div>
|
||||
<div style="display:flex;gap:15px;justify-content:center;margin-top:10px">
|
||||
${translate("tour.tour14")}
|
||||
</div>
|
||||
<div class="accept-button" @click=${this.visitQtube}>
|
||||
${translate("tour.tour15")}
|
||||
</div>
|
||||
<div style="width:100%;display:flex;justify-content:center;margin-top:10px">
|
||||
<div class="close-button" @click=${() => { this.onClose() }}>
|
||||
${translate("general.close")}
|
||||
</div>
|
||||
</div>
|
||||
</paper-dialog>
|
||||
` : ''}
|
||||
`
|
||||
}
|
||||
|
||||
connectedCallback() {
|
||||
super.connectedCallback();
|
||||
window.addEventListener(
|
||||
'open-welcome-modal-sync',
|
||||
this._controlOpenWelcomeModal
|
||||
);
|
||||
}
|
||||
|
||||
disconnectedCallback() {
|
||||
window.removeEventListener(
|
||||
'open-welcome-modal-sync',
|
||||
this._controlOpenWelcomeModal
|
||||
);
|
||||
|
||||
super.disconnectedCallback();
|
||||
}
|
||||
|
||||
getNodeUrl() {
|
||||
const myNode =
|
||||
window.parent.reduxStore.getState().app.nodeConfig.knownNodes[
|
||||
window.parent.reduxStore.getState().app.nodeConfig.node
|
||||
];
|
||||
|
||||
const nodeUrl =
|
||||
myNode.protocol + '://' + myNode.domain + ':' + myNode.port;
|
||||
return nodeUrl;
|
||||
}
|
||||
getMyNode() {
|
||||
const myNode =
|
||||
window.parent.reduxStore.getState().app.nodeConfig.knownNodes[
|
||||
window.parent.reduxStore.getState().app.nodeConfig.node
|
||||
];
|
||||
|
||||
return myNode;
|
||||
}
|
||||
|
||||
async getName(recipient) {
|
||||
try {
|
||||
const endpoint = `${this.nodeUrl}/names/address/${recipient}`;
|
||||
const res = await fetch(endpoint);
|
||||
const getNames = await res.json();
|
||||
|
||||
if (Array.isArray(getNames) && getNames.length > 0) {
|
||||
return getNames[0].name;
|
||||
} else {
|
||||
return '';
|
||||
}
|
||||
} catch (error) {
|
||||
return '';
|
||||
}
|
||||
}
|
||||
async firstUpdated() {
|
||||
this.getNodeUrl()
|
||||
this.address = store.getState().app.selectedAddress.address
|
||||
const hasViewedTour = JSON.parse(
|
||||
localStorage.getItem(`hasViewedTour-${this.address}`) || 'false'
|
||||
);
|
||||
const name = await this.getName(this.address);
|
||||
|
||||
const hasViewedTour = JSON.parse(localStorage.getItem(`hasViewedTour-${this.address}`) || 'false')
|
||||
const name = await this.getName(this.address)
|
||||
|
||||
if (name) {
|
||||
this.hasName = true;
|
||||
this.hasName = true
|
||||
}
|
||||
this.hasViewedTour = hasViewedTour;
|
||||
|
||||
this.hasViewedTour = hasViewedTour
|
||||
|
||||
if (!hasViewedTour) {
|
||||
try {
|
||||
if (name) {
|
||||
this.hasViewedTour = true;
|
||||
this.hasName = true;
|
||||
this.hasViewedTour = true
|
||||
this.hasName = true
|
||||
localStorage.setItem(`hasViewedTour-${this.address}`, JSON.stringify(true))
|
||||
}
|
||||
} catch (error) {
|
||||
console.log({ error });
|
||||
console.log({ error })
|
||||
}
|
||||
}
|
||||
|
||||
await new Promise((res) => {
|
||||
setTimeout(() => {
|
||||
res();
|
||||
}, 1000);
|
||||
});
|
||||
if (!this.hasViewedTour) {
|
||||
const elements = this.getElements();
|
||||
let steps = [
|
||||
{
|
||||
popover: {
|
||||
title: get("tour.tour6"),
|
||||
description: `
|
||||
<div style="display:flex;justify-content:center;gap:15px">
|
||||
<img style="height:40px;width:auto;margin:15px 0px;" src="/img/qort.png" />
|
||||
</div>
|
||||
<div style="display:flex;gap:15px;align-items:center;margin-top:15px;">
|
||||
<div style="height:6px;width:6px;border-radius:50%;background:var(--black)"></div> <p style="margin:0px;padding:0px">${get("tour.tour7")}</p>
|
||||
</div>
|
||||
<div style="display:flex;gap:15px;align-items:center;margin-top:15px;">
|
||||
<div style="height:6px;width:6px;border-radius:50%;background:var(--black)"></div> <p style="margin:0px;padding:0px">${get("tour.tour8")}</p>
|
||||
</div>
|
||||
<div style="display:flex;gap:15px;align-items:center;margin-top:15px;margin-bottom:30px">
|
||||
<div style="height:6px;width:6px;border-radius:50%;background:var(--black)"></div> <p style="margin:0px;padding:0px">${get("tour.tour9")}</p>
|
||||
</div>
|
||||
`,
|
||||
// ... other options
|
||||
},
|
||||
},
|
||||
];
|
||||
const step2 = elements['core-sync-status-id'];
|
||||
const step3 = elements['tab'];
|
||||
const step4 = elements['checklist'];
|
||||
res()
|
||||
}, 1000)
|
||||
})
|
||||
|
||||
if (!this.hasViewedTour && this.disableTour !== true) {
|
||||
const elements = this.getElements()
|
||||
|
||||
let steps = [{
|
||||
popover: {
|
||||
title: get("tour.tour6"),
|
||||
description: `
|
||||
<div style="display:flex;justify-content:center;gap:15px">
|
||||
<img style="height:40px;width:auto;margin:15px 0px;" src="/img/qort.png" />
|
||||
</div>
|
||||
<div style="display:flex;gap:15px;align-items:center;margin-top:15px;">
|
||||
<div style="height:6px;width:6px;border-radius:50%;background:var(--black)"></div>
|
||||
<p style="margin:0px;padding:0px">${get("tour.tour7")}</p>
|
||||
</div>
|
||||
<div style="display:flex;gap:15px;align-items:center;margin-top:15px;">
|
||||
<div style="height:6px;width:6px;border-radius:50%;background:var(--black)"></div>
|
||||
<p style="margin:0px;padding:0px">${get("tour.tour8")}</p>
|
||||
</div>
|
||||
<div style="display:flex;gap:15px;align-items:center;margin-top:15px;margin-bottom:30px">
|
||||
<div style="height:6px;width:6px;border-radius:50%;background:var(--black)"></div>
|
||||
<p style="margin:0px;padding:0px">${get("tour.tour9")}</p>
|
||||
</div>
|
||||
`
|
||||
}
|
||||
}]
|
||||
|
||||
const step2 = elements['core-sync-status-id']
|
||||
const step3 = elements['tab']
|
||||
const step4 = elements['checklist']
|
||||
|
||||
if (step2) {
|
||||
steps.push({
|
||||
@ -250,58 +134,54 @@ class TourComponent extends connect(store)(LitElement) {
|
||||
popover: {
|
||||
title: get("tour.tour5"),
|
||||
description: `
|
||||
<div style="display:flex;gap:15px;align-items:center;margin-top:15px;margin-bottom:30px">
|
||||
<p style="margin:0px;padding:0px">${get("tour.tour1")}</p>
|
||||
</div>
|
||||
<div style="display:flex;gap:15px;align-items:center;margin-top:15px;">
|
||||
<span><img src="/img/synced.png" style="height: 24px; width: 24px; padding-top: 4px;" /></span>
|
||||
<p style="margin:0px;padding:0px">${get("tour.tour2")}</p>
|
||||
</div>
|
||||
<div style="display:flex;gap:15px;align-items:center;margin-top:15px;">
|
||||
<span><img src="/img/synced_minting.png" style="height: 24px; width: 24px; padding-top: 4px;" /></span>
|
||||
<p style="margin:0px;padding:0px">${get("tour.tour3")}</p>
|
||||
</div>
|
||||
<div style="display:flex;gap:15px;align-items:center;margin-top:15px;margin-bottom:30px">
|
||||
<span><img src="/img/syncing.png" style="height: 24px; width: 24px; padding-top: 4px;" /></span>
|
||||
<p style="margin:0px;padding:0px">${get("tour.tour4")}</p>
|
||||
</div>
|
||||
|
||||
`,
|
||||
},
|
||||
});
|
||||
<div style="display:flex;gap:15px;align-items:center;margin-top:15px;margin-bottom:30px">
|
||||
<p style="margin:0px;padding:0px">${get("tour.tour1")}</p>
|
||||
</div>
|
||||
<div style="display:flex;gap:15px;align-items:center;margin-top:15px;">
|
||||
<span><img src="/img/synced.png" style="height: 24px; width: 24px; padding-top: 4px;" /></span>
|
||||
<p style="margin:0px;padding:0px">${get("tour.tour2")}</p>
|
||||
</div>
|
||||
<div style="display:flex;gap:15px;align-items:center;margin-top:15px;">
|
||||
<span><img src="/img/synced_minting.png" style="height: 24px; width: 24px; padding-top: 4px;" /></span>
|
||||
<p style="margin:0px;padding:0px">${get("tour.tour3")}</p>
|
||||
</div>
|
||||
<div style="display:flex;gap:15px;align-items:center;margin-top:15px;margin-bottom:30px">
|
||||
<span><img src="/img/syncing.png" style="height: 24px; width: 24px; padding-top: 4px;" /></span>
|
||||
<p style="margin:0px;padding:0px">${get("tour.tour4")}</p>
|
||||
</div>
|
||||
|
||||
`
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
if (step3) {
|
||||
steps.push({
|
||||
element: step3,
|
||||
popover: {
|
||||
title: 'Tab View',
|
||||
description: `
|
||||
<div style="display:flex;gap:15px;align-items:center;margin-top:15px;margin-bottom:30px">
|
||||
<p style="margin:0px;padding:0px">${get("tour.tour10")}
|
||||
</p>
|
||||
</div>
|
||||
<div style="display:flex;gap:15px;align-items:center;margin-top:15px;">
|
||||
<span><img src="/img/addplugin.webp" style="height: 36px; width: 36px; padding-top: 4px;" /></span>
|
||||
<p style="margin:0px;padding:0px">You can also bookmark other Q-Apps and Plugins by clicking on the ${get(
|
||||
'tabmenu.tm19'
|
||||
)} button</p>
|
||||
</div>
|
||||
`,
|
||||
},
|
||||
});
|
||||
}
|
||||
if (step4) {
|
||||
steps.push(
|
||||
{
|
||||
element: step4,
|
||||
popover: {
|
||||
title: get("tour.tour11"),
|
||||
description: get("tour.tour12"),
|
||||
},
|
||||
<div style="display:flex;gap:15px;align-items:center;margin-top:15px;margin-bottom:30px">
|
||||
<p style="margin:0px;padding:0px">${get("tour.tour10")}</p>
|
||||
</div>
|
||||
<div style="display:flex;gap:15px;align-items:center;margin-top:15px;">
|
||||
<span><img src="/img/addplugin.webp" style="height: 36px; width: 36px; padding-top: 4px;" /></span>
|
||||
<p style="margin:0px;padding:0px">
|
||||
You can also bookmark other Q-Apps and Plugins by clicking on the ${get('tabmenu.tm19')} button
|
||||
</p>
|
||||
</div>
|
||||
`
|
||||
}
|
||||
);this.hasViewedTour
|
||||
})
|
||||
}
|
||||
let currentStepIndex = 0;
|
||||
|
||||
if (step4) {
|
||||
steps.push({ element: step4, popover: { title: get("tour.tour11"), description: get("tour.tour12")}})
|
||||
this.hasViewedTour
|
||||
}
|
||||
|
||||
let currentStepIndex = 0
|
||||
|
||||
const driverObj = driver({
|
||||
popoverClass: 'driverjs-theme',
|
||||
showProgress: true,
|
||||
@ -310,25 +190,93 @@ class TourComponent extends connect(store)(LitElement) {
|
||||
allowClose: false,
|
||||
onDestroyed: () => {
|
||||
localStorage.setItem(`hasViewedTour-${this.address}`, JSON.stringify(true))
|
||||
this.hasViewedTour = true;
|
||||
this.openWelcomeModal();
|
||||
this.hasViewedTour = true
|
||||
this.openWelcomeModal()
|
||||
}
|
||||
});
|
||||
})
|
||||
|
||||
driverObj.drive();
|
||||
driverObj.drive()
|
||||
} else {
|
||||
this.dispatchEvent(
|
||||
new CustomEvent('send-tour-finished', {
|
||||
bubbles: true,
|
||||
composed: true,
|
||||
composed: true
|
||||
})
|
||||
);
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
_controlOpenWelcomeModal() {
|
||||
this.isSynced = true
|
||||
|
||||
const seenWelcomeSync = JSON.parse(localStorage.getItem('welcome-sync') || 'false')
|
||||
|
||||
if (this.hasName) return
|
||||
if (seenWelcomeSync) return
|
||||
if (!this.hasViewedTour) return
|
||||
|
||||
this.dialogOpenedCongrats = true
|
||||
}
|
||||
|
||||
openWelcomeModal() {
|
||||
this.dispatchEvent(
|
||||
new CustomEvent('send-tour-finished', {
|
||||
bubbles: true,
|
||||
composed: true
|
||||
})
|
||||
)
|
||||
|
||||
const seenWelcomeSync = JSON.parse(localStorage.getItem('welcome-sync') || 'false')
|
||||
|
||||
if (this.hasName) return
|
||||
if (seenWelcomeSync) return
|
||||
if (!this.isSynced) return
|
||||
|
||||
this.dialogOpenedCongrats = true
|
||||
}
|
||||
|
||||
_disableTour() {
|
||||
this.disableTour = true
|
||||
driver.reset()
|
||||
}
|
||||
|
||||
connectedCallback() {
|
||||
super.connectedCallback()
|
||||
window.addEventListener('open-welcome-modal-sync', this._controlOpenWelcomeModal)
|
||||
window.addEventListener('disable-tour', this._disableTour)
|
||||
}
|
||||
|
||||
disconnectedCallback() {
|
||||
window.removeEventListener('open-welcome-modal-sync', this._controlOpenWelcomeModal)
|
||||
window.addEventListener('disable-tour', this._disableTour)
|
||||
super.disconnectedCallback()
|
||||
}
|
||||
|
||||
getNodeUrl() {
|
||||
const myNode = store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
const myNodeUrl = myNode.protocol + '://' + myNode.domain + ':' + myNode.port
|
||||
this.nodeUrl = myNodeUrl
|
||||
}
|
||||
|
||||
async getName(recipient) {
|
||||
try {
|
||||
const endpoint = `${this.nodeUrl}/names/address/${recipient}`
|
||||
const res = await fetch(endpoint)
|
||||
const getNames = await res.json()
|
||||
|
||||
if (Array.isArray(getNames) && getNames.length > 0) {
|
||||
return getNames[0].name
|
||||
} else {
|
||||
return ''
|
||||
}
|
||||
} catch (error) {
|
||||
return ''
|
||||
}
|
||||
}
|
||||
|
||||
visitQtube() {
|
||||
this.onClose();
|
||||
const query = `?service=APP&name=Q-Tube`;
|
||||
this.onClose()
|
||||
const query = `?service=APP&name=Q-Tube`
|
||||
store.dispatch(
|
||||
setNewTab({
|
||||
url: `qdn/browser/index.html${query}`,
|
||||
@ -339,58 +287,16 @@ class TourComponent extends connect(store)(LitElement) {
|
||||
page: `qdn/browser/index.html${query}`,
|
||||
title: 'Q-Tube',
|
||||
menus: [],
|
||||
parent: false,
|
||||
},
|
||||
parent: false
|
||||
}
|
||||
})
|
||||
);
|
||||
)
|
||||
}
|
||||
|
||||
onClose() {
|
||||
localStorage.setItem(`welcome-sync-${this.address}`, JSON.stringify(true))
|
||||
this.dialogOpenedCongrats = false;
|
||||
}
|
||||
|
||||
render() {
|
||||
return html`
|
||||
<!-- Profile read-view -->
|
||||
${this.dialogOpenedCongrats && this.hasViewedTour
|
||||
? html`
|
||||
<paper-dialog
|
||||
class="full-info-wrapper"
|
||||
?opened="${this.dialogOpenedCongrats}"
|
||||
>
|
||||
<h3>Congratulations!</h3>
|
||||
<div
|
||||
style="display:flex;gap:15px;justify-content:center;margin-top:10px"
|
||||
>
|
||||
${translate("tour.tour13")}
|
||||
</div>
|
||||
<div
|
||||
style="display:flex;gap:15px;justify-content:center;margin-top:10px"
|
||||
>
|
||||
${translate("tour.tour14")}
|
||||
</div>
|
||||
|
||||
<div
|
||||
class="accept-button"
|
||||
@click=${this.visitQtube}
|
||||
>
|
||||
${translate("tour.tour15")}
|
||||
</div>
|
||||
<div style="width:100%;display:flex;justify-content:center;margin-top:10px">
|
||||
<div
|
||||
class="close-button"
|
||||
@click=${()=> {
|
||||
this.dialogOpenedCongrats = false
|
||||
}}
|
||||
>
|
||||
${translate("general.close")}
|
||||
</div>
|
||||
</div>
|
||||
</paper-dialog>
|
||||
`
|
||||
: ''}
|
||||
`;
|
||||
this.dialogOpenedCongrats = false
|
||||
}
|
||||
}
|
||||
customElements.define('tour-component', TourComponent);
|
||||
|
||||
window.customElements.define('tour-component', TourComponent)
|
@ -1,10 +1,11 @@
|
||||
import {css, html, LitElement} from 'lit'
|
||||
import {translate} from '../../translate/index.js'
|
||||
import { html, LitElement } from 'lit'
|
||||
import isElectron from 'is-electron'
|
||||
|
||||
import '@polymer/paper-icon-button/paper-icon-button.js'
|
||||
import '@polymer/iron-icons/iron-icons.js'
|
||||
|
||||
// Multi language support
|
||||
import { translate } from '../../translate'
|
||||
|
||||
class CheckForUpdate extends LitElement {
|
||||
static get properties() {
|
||||
return {
|
||||
@ -17,11 +18,6 @@ class CheckForUpdate extends LitElement {
|
||||
this.theme = localStorage.getItem('qortalTheme') ? localStorage.getItem('qortalTheme') : 'light'
|
||||
}
|
||||
|
||||
static styles = [
|
||||
css`
|
||||
`
|
||||
]
|
||||
|
||||
render() {
|
||||
return html`
|
||||
${this.renderUpdateButton()}
|
||||
@ -29,6 +25,7 @@ class CheckForUpdate extends LitElement {
|
||||
}
|
||||
|
||||
firstUpdated() {
|
||||
// ...
|
||||
}
|
||||
|
||||
renderUpdateButton() {
|
||||
@ -48,4 +45,4 @@ class CheckForUpdate extends LitElement {
|
||||
}
|
||||
}
|
||||
|
||||
window.customElements.define('check-for-update', CheckForUpdate)
|
||||
window.customElements.define('check-for-update', CheckForUpdate)
|
@ -1,82 +1,58 @@
|
||||
import {Sha256} from 'asmcrypto.js'
|
||||
import { Sha256 } from 'asmcrypto.js'
|
||||
|
||||
|
||||
function sbrk(size, heap){
|
||||
let brk = 512 * 1024 // stack top
|
||||
let old = brk
|
||||
brk += size
|
||||
|
||||
if (brk > heap.length)
|
||||
throw new Error('heap exhausted')
|
||||
|
||||
return old
|
||||
function sbrk(size, heap) {
|
||||
let brk = 512 * 1024 // stack top
|
||||
let old = brk
|
||||
brk += size
|
||||
if (brk > heap.length) throw new Error('heap exhausted')
|
||||
return old
|
||||
}
|
||||
|
||||
|
||||
|
||||
self.addEventListener('message', async e => {
|
||||
const response = await computePow(e.data.chatBytes, e.data.path, e.data.difficulty)
|
||||
postMessage(response)
|
||||
const response = await computePow(e.data.chatBytes, e.data.path, e.data.difficulty)
|
||||
postMessage(response)
|
||||
|
||||
})
|
||||
|
||||
|
||||
const memory = new WebAssembly.Memory({ initial: 256, maximum: 256 })
|
||||
const heap = new Uint8Array(memory.buffer)
|
||||
|
||||
|
||||
|
||||
const computePow = async (chatBytes, path, difficulty) => {
|
||||
|
||||
let response = null
|
||||
|
||||
await new Promise((resolve, reject)=> {
|
||||
|
||||
const _chatBytesArray = Object.keys(chatBytes).map(function (key) { return chatBytes[key]; });
|
||||
const chatBytesArray = new Uint8Array(_chatBytesArray);
|
||||
const chatBytesHash = new Sha256().process(chatBytesArray).finish().result;
|
||||
const hashPtr = sbrk(32, heap);
|
||||
const hashAry = new Uint8Array(memory.buffer, hashPtr, 32);
|
||||
hashAry.set(chatBytesHash);
|
||||
|
||||
|
||||
const workBufferLength = 8 * 1024 * 1024;
|
||||
const workBufferPtr = sbrk(workBufferLength, heap);
|
||||
|
||||
|
||||
|
||||
const importObject = {
|
||||
env: {
|
||||
memory: memory
|
||||
},
|
||||
};
|
||||
|
||||
function loadWebAssembly(filename, imports) {
|
||||
// Fetch the file and compile it
|
||||
return fetch(filename)
|
||||
.then(response => response.arrayBuffer())
|
||||
.then(buffer => WebAssembly.compile(buffer))
|
||||
.then(module => {
|
||||
|
||||
// Create the instance.
|
||||
return new WebAssembly.Instance(module, importObject);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
loadWebAssembly(path)
|
||||
.then(wasmModule => {
|
||||
response = {
|
||||
nonce : wasmModule.exports.compute2(hashPtr, workBufferPtr, workBufferLength, difficulty),
|
||||
chatBytesArray
|
||||
}
|
||||
|
||||
resolve()
|
||||
|
||||
});
|
||||
|
||||
|
||||
})
|
||||
|
||||
return response
|
||||
}
|
||||
let response = null
|
||||
await new Promise((resolve, reject) => {
|
||||
const _chatBytesArray = Object.keys(chatBytes).map(function (key) { return chatBytes[key]; })
|
||||
const chatBytesArray = new Uint8Array(_chatBytesArray)
|
||||
const chatBytesHash = new Sha256().process(chatBytesArray).finish().result
|
||||
const hashPtr = sbrk(32, heap)
|
||||
const hashAry = new Uint8Array(memory.buffer, hashPtr, 32)
|
||||
hashAry.set(chatBytesHash)
|
||||
const workBufferLength = 8 * 1024 * 1024
|
||||
const workBufferPtr = sbrk(workBufferLength, heap)
|
||||
const importObject = {
|
||||
env: {
|
||||
memory: memory
|
||||
}
|
||||
}
|
||||
function loadWebAssembly(filename, imports) {
|
||||
// Fetch the file and compile it
|
||||
return fetch(filename)
|
||||
.then(response => response.arrayBuffer())
|
||||
.then(buffer => WebAssembly.compile(buffer))
|
||||
.then(module => {
|
||||
// Create the instance.
|
||||
return new WebAssembly.Instance(module, importObject)
|
||||
})
|
||||
}
|
||||
loadWebAssembly(path)
|
||||
.then(wasmModule => {
|
||||
response = {
|
||||
nonce: wasmModule.exports.compute2(hashPtr, workBufferPtr, workBufferLength, difficulty),
|
||||
chatBytesArray
|
||||
}
|
||||
resolve()
|
||||
})
|
||||
})
|
||||
return response
|
||||
}
|
@ -1,92 +1,68 @@
|
||||
import { Sha256 } from 'asmcrypto.js'
|
||||
|
||||
|
||||
|
||||
function sbrk(size, heap){
|
||||
let brk = 512 * 1024 // stack top
|
||||
let old = brk
|
||||
brk += size
|
||||
|
||||
if (brk > heap.length)
|
||||
throw new Error('heap exhausted')
|
||||
|
||||
return old
|
||||
function sbrk(size, heap) {
|
||||
let brk = 512 * 1024 // stack top
|
||||
let old = brk
|
||||
brk += size
|
||||
if (brk > heap.length) throw new Error('heap exhausted')
|
||||
return old
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
self.addEventListener('message', async e => {
|
||||
const response = await computePow(e.data.convertedBytes, e.data.path)
|
||||
postMessage(response)
|
||||
|
||||
})
|
||||
const response = await computePow(e.data.convertedBytes, e.data.path)
|
||||
postMessage(response)
|
||||
|
||||
})
|
||||
|
||||
const memory = new WebAssembly.Memory({ initial: 256, maximum: 256 })
|
||||
const heap = new Uint8Array(memory.buffer)
|
||||
|
||||
|
||||
|
||||
const computePow = async (convertedBytes, path) => {
|
||||
let response = null
|
||||
await new Promise((resolve, reject) => {
|
||||
const _convertedBytesArray = Object.keys(convertedBytes).map(
|
||||
function (key) {
|
||||
return convertedBytes[key]
|
||||
}
|
||||
)
|
||||
const convertedBytesArray = new Uint8Array(_convertedBytesArray)
|
||||
const convertedBytesHash = new Sha256()
|
||||
.process(convertedBytesArray)
|
||||
.finish().result
|
||||
const hashPtr = sbrk(32, heap)
|
||||
const hashAry = new Uint8Array(
|
||||
memory.buffer,
|
||||
hashPtr,
|
||||
32
|
||||
)
|
||||
hashAry.set(convertedBytesHash)
|
||||
const difficulty = 14
|
||||
const workBufferLength = 8 * 1024 * 1024
|
||||
const workBufferPtr = sbrk(
|
||||
workBufferLength,
|
||||
heap
|
||||
)
|
||||
const importObject = {
|
||||
env: {
|
||||
memory: memory
|
||||
}
|
||||
}
|
||||
function loadWebAssembly(filename, imports) {
|
||||
return fetch(filename)
|
||||
.then(response => response.arrayBuffer())
|
||||
.then(buffer => WebAssembly.compile(buffer))
|
||||
.then(module => {
|
||||
return new WebAssembly.Instance(module, importObject)
|
||||
})
|
||||
}
|
||||
loadWebAssembly(path)
|
||||
.then(wasmModule => {
|
||||
response = {
|
||||
nonce: wasmModule.exports.compute2(hashPtr, workBufferPtr, workBufferLength, difficulty),
|
||||
|
||||
|
||||
let response = null
|
||||
|
||||
await new Promise((resolve, reject)=> {
|
||||
|
||||
const _convertedBytesArray = Object.keys(convertedBytes).map(
|
||||
function (key) {
|
||||
return convertedBytes[key]
|
||||
}
|
||||
)
|
||||
const convertedBytesArray = new Uint8Array(_convertedBytesArray)
|
||||
const convertedBytesHash = new Sha256()
|
||||
.process(convertedBytesArray)
|
||||
.finish().result
|
||||
const hashPtr = sbrk(32, heap)
|
||||
const hashAry = new Uint8Array(
|
||||
memory.buffer,
|
||||
hashPtr,
|
||||
32
|
||||
)
|
||||
|
||||
hashAry.set(convertedBytesHash)
|
||||
const difficulty = 14
|
||||
const workBufferLength = 8 * 1024 * 1024
|
||||
const workBufferPtr = sbrk(
|
||||
workBufferLength,
|
||||
heap
|
||||
)
|
||||
|
||||
const importObject = {
|
||||
env: {
|
||||
memory: memory
|
||||
},
|
||||
};
|
||||
|
||||
function loadWebAssembly(filename, imports) {
|
||||
return fetch(filename)
|
||||
.then(response => response.arrayBuffer())
|
||||
.then(buffer => WebAssembly.compile(buffer))
|
||||
.then(module => {
|
||||
return new WebAssembly.Instance(module, importObject);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
loadWebAssembly(path)
|
||||
.then(wasmModule => {
|
||||
response = {
|
||||
nonce : wasmModule.exports.compute2(hashPtr, workBufferPtr, workBufferLength, difficulty),
|
||||
|
||||
}
|
||||
resolve()
|
||||
|
||||
});
|
||||
|
||||
|
||||
})
|
||||
|
||||
return response
|
||||
}
|
||||
resolve()
|
||||
})
|
||||
})
|
||||
return response
|
||||
}
|
@ -1,325 +1,303 @@
|
||||
import {html, LitElement} from 'lit';
|
||||
import '@material/mwc-icon';
|
||||
import {store} from '../../store';
|
||||
import {connect} from 'pwa-helpers';
|
||||
import '@vaadin/tooltip';
|
||||
import {parentEpml} from '../show-plugin';
|
||||
import {setCoinBalances} from '../../redux/app/app-actions';
|
||||
import { html, LitElement } from 'lit'
|
||||
import { connect } from 'pwa-helpers'
|
||||
import { store } from '../../store'
|
||||
import { parentEpml } from '../show-plugin'
|
||||
import { setCoinBalances } from '../../redux/app/app-actions'
|
||||
|
||||
class CoinBalancesController extends connect(store)(LitElement) {
|
||||
static get properties() {
|
||||
return {
|
||||
coinList: { type: Object },
|
||||
};
|
||||
coinList: { type: Object }
|
||||
}
|
||||
}
|
||||
|
||||
constructor() {
|
||||
super();
|
||||
this.coinList = {}
|
||||
this.nodeUrl = this.getNodeUrl();
|
||||
this.myNode = this.getMyNode();
|
||||
this.fetchBalance = this.fetchBalance.bind(this)
|
||||
this._updateCoinList = this._updateCoinList.bind(this)
|
||||
this.stop = false
|
||||
this.nodeUrl = this.getNodeUrl()
|
||||
this.myNode = this.getMyNode()
|
||||
this.fetchBalance = this.fetchBalance.bind(this)
|
||||
this._updateCoinList = this._updateCoinList.bind(this)
|
||||
this.stop = false
|
||||
}
|
||||
|
||||
getNodeUrl() {
|
||||
const myNode =
|
||||
store.getState().app.nodeConfig.knownNodes[
|
||||
store.getState().app.nodeConfig.node
|
||||
];
|
||||
|
||||
const nodeUrl =
|
||||
myNode.protocol + '://' + myNode.domain + ':' + myNode.port;
|
||||
return nodeUrl;
|
||||
render() {
|
||||
return html``
|
||||
}
|
||||
|
||||
getNodeUrl() {
|
||||
const myNode = store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
return myNode.protocol + '://' + myNode.domain + ':' + myNode.port
|
||||
}
|
||||
|
||||
getMyNode() {
|
||||
const myNode =
|
||||
store.getState().app.nodeConfig.knownNodes[
|
||||
store.getState().app.nodeConfig.node
|
||||
];
|
||||
|
||||
return myNode;
|
||||
return store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
}
|
||||
|
||||
async updateQortWalletBalance() {
|
||||
let qortAddress = store.getState().app.selectedAddress.address
|
||||
|
||||
async updateArrrWalletBalance() {
|
||||
let _url = `/crosschain/arrr/walletbalance?apiKey=${this.myNode.apiKey}`
|
||||
let _body = store.getState().app.selectedAddress.arrrWallet.seed58
|
||||
|
||||
await parentEpml.request('apiCall', {
|
||||
url: _url,
|
||||
method: 'POST',
|
||||
body: _body,
|
||||
}).then((res) => {
|
||||
if (isNaN(Number(res))) {
|
||||
//...
|
||||
} else {
|
||||
this.arrrWalletBalance = (Number(res) / 1e8).toFixed(8)
|
||||
store.dispatch(
|
||||
setCoinBalances({
|
||||
type: 'arrr',
|
||||
fullValue: Number(res)
|
||||
})
|
||||
);
|
||||
}
|
||||
}).catch(()=> {
|
||||
console.log('error')
|
||||
})
|
||||
}
|
||||
async updateQortWalletBalance() {
|
||||
let qortAddress = store.getState().app.selectedAddress.address
|
||||
|
||||
await parentEpml.request('apiCall', {
|
||||
url: `/addresses/balance/${qortAddress}?apiKey=${this.myNode.apiKey}`,
|
||||
}).then((res) => {
|
||||
this.qortWalletBalance = res
|
||||
store.dispatch(
|
||||
setCoinBalances({
|
||||
type: 'qort',
|
||||
fullValue: Number(res)
|
||||
})
|
||||
);
|
||||
}).catch(()=> {
|
||||
console.log('error')
|
||||
})
|
||||
}
|
||||
|
||||
async updateRvnWalletBalance() {
|
||||
let _url = `/crosschain/rvn/walletbalance?apiKey=${this.myNode.apiKey}`
|
||||
let _body = store.getState().app.selectedAddress.rvnWallet.derivedMasterPublicKey
|
||||
|
||||
await parentEpml.request('apiCall', {
|
||||
url: _url,
|
||||
method: 'POST',
|
||||
body: _body,
|
||||
}).then((res) => {
|
||||
if (isNaN(Number(res))) {
|
||||
//...
|
||||
} else {
|
||||
this.rvnWalletBalance = (Number(res) / 1e8).toFixed(8)
|
||||
store.dispatch(
|
||||
setCoinBalances({
|
||||
type: 'rvn',
|
||||
fullValue: Number(res)
|
||||
})
|
||||
);
|
||||
}
|
||||
}).catch(()=> {
|
||||
console.log('error')
|
||||
})
|
||||
}
|
||||
|
||||
async updateDgbWalletBalance() {
|
||||
let _url = `/crosschain/dgb/walletbalance?apiKey=${this.myNode.apiKey}`
|
||||
let _body = store.getState().app.selectedAddress.dgbWallet.derivedMasterPublicKey
|
||||
|
||||
await parentEpml.request('apiCall', {
|
||||
url: _url,
|
||||
method: 'POST',
|
||||
body: _body,
|
||||
}).then((res) => {
|
||||
if (isNaN(Number(res))) {
|
||||
//...
|
||||
} else {
|
||||
this.dgbWalletBalance = (Number(res) / 1e8).toFixed(8)
|
||||
store.dispatch(
|
||||
setCoinBalances({
|
||||
type: 'dgb',
|
||||
fullValue: Number(res)
|
||||
})
|
||||
);
|
||||
}
|
||||
}).catch(()=> {
|
||||
console.log('error')
|
||||
})
|
||||
}
|
||||
|
||||
async updateDogeWalletBalance() {
|
||||
let _url = `/crosschain/doge/walletbalance?apiKey=${this.myNode.apiKey}`
|
||||
let _body = store.getState().app.selectedAddress.dogeWallet.derivedMasterPublicKey
|
||||
|
||||
await parentEpml.request('apiCall', {
|
||||
url: _url,
|
||||
method: 'POST',
|
||||
body: _body,
|
||||
}).then((res) => {
|
||||
if (isNaN(Number(res))) {
|
||||
//...
|
||||
} else {
|
||||
this.dogeWalletBalance = (Number(res) / 1e8).toFixed(8)
|
||||
store.dispatch(
|
||||
setCoinBalances({
|
||||
type: 'doge',
|
||||
fullValue: Number(res)
|
||||
})
|
||||
);
|
||||
}
|
||||
}).catch(()=> {
|
||||
console.log('error')
|
||||
})
|
||||
}
|
||||
|
||||
async updateBtcWalletBalance() {
|
||||
let _url = `/crosschain/btc/walletbalance?apiKey=${this.myNode.apiKey}`
|
||||
let _body = store.getState().app.selectedAddress.btcWallet.derivedMasterPublicKey
|
||||
|
||||
await parentEpml.request('apiCall', {
|
||||
url: _url,
|
||||
method: 'POST',
|
||||
body: _body,
|
||||
}).then((res) => {
|
||||
if (isNaN(Number(res))) {
|
||||
//...
|
||||
} else {
|
||||
this.btcWalletBalance = (Number(res) / 1e8).toFixed(8)
|
||||
store.dispatch(
|
||||
setCoinBalances({
|
||||
type: 'btc',
|
||||
fullValue: Number(res)
|
||||
})
|
||||
);
|
||||
}
|
||||
}).catch(()=> {
|
||||
console.log('error')
|
||||
})
|
||||
}
|
||||
|
||||
async updateLtcWalletBalance() {
|
||||
let _url = `/crosschain/ltc/walletbalance?apiKey=${this.myNode.apiKey}`
|
||||
let _body = store.getState().app.selectedAddress.ltcWallet.derivedMasterPublicKey
|
||||
|
||||
await parentEpml.request('apiCall', {
|
||||
url: _url,
|
||||
method: 'POST',
|
||||
body: _body,
|
||||
}).then((res) => {
|
||||
if (isNaN(Number(res))) {
|
||||
//...
|
||||
} else {
|
||||
this.ltcWalletBalance = (Number(res) / 1e8).toFixed(8)
|
||||
store.dispatch(
|
||||
setCoinBalances({
|
||||
type: 'ltc',
|
||||
fullValue: Number(res)
|
||||
})
|
||||
);
|
||||
|
||||
}
|
||||
}).catch(()=> {
|
||||
console.log('error')
|
||||
})
|
||||
}
|
||||
|
||||
_updateCoinList(event) {
|
||||
const copyCoinList = {...this.coinList}
|
||||
const coin = event.detail
|
||||
if(!copyCoinList[coin]){
|
||||
try {
|
||||
if(coin === 'ltc'){
|
||||
this.updateLtcWalletBalance()
|
||||
} else if(coin === 'qort'){
|
||||
this.updateQortWalletBalance()
|
||||
} else if(coin === 'doge'){
|
||||
this.updateDogeWalletBalance()
|
||||
} else if(coin === 'btc'){
|
||||
this.updateBtcWalletBalance()
|
||||
} else if(coin === 'dgb'){
|
||||
this.updateDgbWalletBalance()
|
||||
} else if(coin === 'rvn'){
|
||||
this.updateRvnWalletBalance()
|
||||
}else if(coin === 'arrr'){
|
||||
this.updateArrrWalletBalance()
|
||||
}
|
||||
} catch (error) {
|
||||
|
||||
}
|
||||
}
|
||||
copyCoinList[coin] = Date.now() + 120000;
|
||||
this.coinList = copyCoinList
|
||||
|
||||
this.requestUpdate()
|
||||
await parentEpml.request('apiCall', {
|
||||
url: `/addresses/balance/${qortAddress}?apiKey=${this.myNode.apiKey}`,
|
||||
}).then((res) => {
|
||||
this.qortWalletBalance = res
|
||||
store.dispatch(
|
||||
setCoinBalances({
|
||||
type: 'qort',
|
||||
fullValue: Number(res)
|
||||
})
|
||||
)
|
||||
}).catch(() => {
|
||||
console.log('error')
|
||||
})
|
||||
}
|
||||
|
||||
async updateBtcWalletBalance() {
|
||||
let _url = `/crosschain/btc/walletbalance?apiKey=${this.myNode.apiKey}`
|
||||
let _body = store.getState().app.selectedAddress.btcWallet.derivedMasterPublicKey
|
||||
|
||||
async fetchCoins(arrayOfCoins){
|
||||
const getCoinBalances = (arrayOfCoins || []).map(
|
||||
async (coin) => {
|
||||
if(coin === 'ltc'){
|
||||
await this.updateLtcWalletBalance()
|
||||
} else if(coin === 'qort'){
|
||||
await this.updateQortWalletBalance()
|
||||
} else if(coin === 'doge'){
|
||||
await this.updateDogeWalletBalance()
|
||||
} else if(coin === 'btc'){
|
||||
await this.updateBtcWalletBalance()
|
||||
} else if(coin === 'dgb'){
|
||||
await this.updateDgbWalletBalance()
|
||||
} else if(coin === 'rvn'){
|
||||
await this.updateRvnWalletBalance()
|
||||
}else if(coin === 'arrr'){
|
||||
await this.updateArrrWalletBalance()
|
||||
}
|
||||
})
|
||||
await parentEpml.request('apiCall', {
|
||||
url: _url,
|
||||
method: 'POST',
|
||||
body: _body
|
||||
}).then((res) => {
|
||||
if (isNaN(Number(res))) {
|
||||
//...
|
||||
} else {
|
||||
this.btcWalletBalance = (Number(res) / 1e8).toFixed(8)
|
||||
store.dispatch(
|
||||
setCoinBalances({
|
||||
type: 'btc',
|
||||
fullValue: Number(res)
|
||||
})
|
||||
)
|
||||
}
|
||||
}).catch(() => {
|
||||
console.log('error')
|
||||
})
|
||||
}
|
||||
|
||||
await Promise.all(getCoinBalances);
|
||||
async updateLtcWalletBalance() {
|
||||
let _url = `/crosschain/ltc/walletbalance?apiKey=${this.myNode.apiKey}`
|
||||
let _body = store.getState().app.selectedAddress.ltcWallet.derivedMasterPublicKey
|
||||
|
||||
}
|
||||
await parentEpml.request('apiCall', {
|
||||
url: _url,
|
||||
method: 'POST',
|
||||
body: _body
|
||||
}).then((res) => {
|
||||
if (isNaN(Number(res))) {
|
||||
//...
|
||||
} else {
|
||||
this.ltcWalletBalance = (Number(res) / 1e8).toFixed(8)
|
||||
store.dispatch(
|
||||
setCoinBalances({
|
||||
type: 'ltc',
|
||||
fullValue: Number(res)
|
||||
})
|
||||
)
|
||||
|
||||
async fetchBalance(){
|
||||
try {
|
||||
let arrayOfCoins = []
|
||||
const copyObject = {...this.coinList}
|
||||
const currentDate = Date.now()
|
||||
const array = Object.keys(this.coinList)
|
||||
for (const key of array) {
|
||||
const item = this.coinList[key]
|
||||
}
|
||||
}).catch(() => {
|
||||
console.log('error')
|
||||
})
|
||||
}
|
||||
|
||||
if(item < currentDate){
|
||||
delete copyObject[key]
|
||||
} else {
|
||||
arrayOfCoins.push(key)
|
||||
}
|
||||
}
|
||||
if(!this.stop){
|
||||
this.stop = true
|
||||
await this.fetchCoins(arrayOfCoins)
|
||||
this.stop = false
|
||||
}
|
||||
this.coinList = copyObject
|
||||
} catch (error) {
|
||||
this.stop = false
|
||||
}
|
||||
}
|
||||
async updateDogeWalletBalance() {
|
||||
let _url = `/crosschain/doge/walletbalance?apiKey=${this.myNode.apiKey}`
|
||||
let _body = store.getState().app.selectedAddress.dogeWallet.derivedMasterPublicKey
|
||||
|
||||
connectedCallback() {
|
||||
super.connectedCallback();
|
||||
this.intervalID = setInterval(this.fetchBalance, 45000);
|
||||
window.addEventListener(
|
||||
'ping-coin-controller-with-coin',
|
||||
this._updateCoinList
|
||||
);
|
||||
await parentEpml.request('apiCall', {
|
||||
url: _url,
|
||||
method: 'POST',
|
||||
body: _body
|
||||
}).then((res) => {
|
||||
if (isNaN(Number(res))) {
|
||||
//...
|
||||
} else {
|
||||
this.dogeWalletBalance = (Number(res) / 1e8).toFixed(8)
|
||||
store.dispatch(
|
||||
setCoinBalances({
|
||||
type: 'doge',
|
||||
fullValue: Number(res)
|
||||
})
|
||||
)
|
||||
}
|
||||
}).catch(() => {
|
||||
console.log('error')
|
||||
})
|
||||
}
|
||||
|
||||
async updateDgbWalletBalance() {
|
||||
let _url = `/crosschain/dgb/walletbalance?apiKey=${this.myNode.apiKey}`
|
||||
let _body = store.getState().app.selectedAddress.dgbWallet.derivedMasterPublicKey
|
||||
|
||||
await parentEpml.request('apiCall', {
|
||||
url: _url,
|
||||
method: 'POST',
|
||||
body: _body
|
||||
}).then((res) => {
|
||||
if (isNaN(Number(res))) {
|
||||
//...
|
||||
} else {
|
||||
this.dgbWalletBalance = (Number(res) / 1e8).toFixed(8)
|
||||
store.dispatch(
|
||||
setCoinBalances({
|
||||
type: 'dgb',
|
||||
fullValue: Number(res)
|
||||
})
|
||||
)
|
||||
}
|
||||
}).catch(() => {
|
||||
console.log('error')
|
||||
})
|
||||
}
|
||||
|
||||
async updateRvnWalletBalance() {
|
||||
let _url = `/crosschain/rvn/walletbalance?apiKey=${this.myNode.apiKey}`
|
||||
let _body = store.getState().app.selectedAddress.rvnWallet.derivedMasterPublicKey
|
||||
|
||||
await parentEpml.request('apiCall', {
|
||||
url: _url,
|
||||
method: 'POST',
|
||||
body: _body
|
||||
}).then((res) => {
|
||||
if (isNaN(Number(res))) {
|
||||
//...
|
||||
} else {
|
||||
this.rvnWalletBalance = (Number(res) / 1e8).toFixed(8)
|
||||
store.dispatch(
|
||||
setCoinBalances({
|
||||
type: 'rvn',
|
||||
fullValue: Number(res)
|
||||
})
|
||||
)
|
||||
}
|
||||
}).catch(() => {
|
||||
console.log('error')
|
||||
})
|
||||
}
|
||||
|
||||
async updateArrrWalletBalance() {
|
||||
let _url = `/crosschain/arrr/walletbalance?apiKey=${this.myNode.apiKey}`
|
||||
let _body = store.getState().app.selectedAddress.arrrWallet.seed58
|
||||
|
||||
await parentEpml.request('apiCall', {
|
||||
url: _url,
|
||||
method: 'POST',
|
||||
body: _body,
|
||||
}).then((res) => {
|
||||
if (isNaN(Number(res))) {
|
||||
//...
|
||||
} else {
|
||||
this.arrrWalletBalance = (Number(res) / 1e8).toFixed(8)
|
||||
store.dispatch(
|
||||
setCoinBalances({
|
||||
type: 'arrr',
|
||||
fullValue: Number(res)
|
||||
})
|
||||
)
|
||||
}
|
||||
}).catch(() => {
|
||||
console.log('error')
|
||||
})
|
||||
}
|
||||
|
||||
_updateCoinList(event) {
|
||||
const copyCoinList = { ...this.coinList }
|
||||
const coin = event.detail
|
||||
|
||||
if (!copyCoinList[coin]) {
|
||||
try {
|
||||
if (coin === 'qort') {
|
||||
this.updateQortWalletBalance()
|
||||
} else if (coin === 'btc') {
|
||||
this.updateBtcWalletBalance()
|
||||
} else if (coin === 'ltc') {
|
||||
this.updateLtcWalletBalance()
|
||||
} else if (coin === 'doge') {
|
||||
this.updateDogeWalletBalance()
|
||||
} else if (coin === 'dgb') {
|
||||
this.updateDgbWalletBalance()
|
||||
} else if (coin === 'rvn') {
|
||||
this.updateRvnWalletBalance()
|
||||
} else if (coin === 'arrr') {
|
||||
this.updateArrrWalletBalance()
|
||||
}
|
||||
} catch (error) { }
|
||||
}
|
||||
|
||||
copyCoinList[coin] = Date.now() + 120000
|
||||
|
||||
this.coinList = copyCoinList
|
||||
this.requestUpdate()
|
||||
}
|
||||
|
||||
async fetchCoins(arrayOfCoins) {
|
||||
const getCoinBalances = (arrayOfCoins || []).map(async (coin) => {
|
||||
if (coin === 'qort') {
|
||||
await this.updateQortWalletBalance()
|
||||
} else if (coin === 'btc') {
|
||||
await this.updateBtcWalletBalance()
|
||||
} else if (coin === 'ltc') {
|
||||
await this.updateLtcWalletBalance()
|
||||
} else if (coin === 'doge') {
|
||||
await this.updateDogeWalletBalance()
|
||||
} else if (coin === 'dgb') {
|
||||
await this.updateDgbWalletBalance()
|
||||
} else if (coin === 'rvn') {
|
||||
await this.updateRvnWalletBalance()
|
||||
} else if (coin === 'arrr') {
|
||||
await this.updateArrrWalletBalance()
|
||||
}
|
||||
})
|
||||
|
||||
await Promise.all(getCoinBalances)
|
||||
}
|
||||
|
||||
async fetchBalance() {
|
||||
try {
|
||||
let arrayOfCoins = []
|
||||
|
||||
const copyObject = { ...this.coinList }
|
||||
const currentDate = Date.now()
|
||||
const array = Object.keys(this.coinList)
|
||||
|
||||
for (const key of array) {
|
||||
const item = this.coinList[key]
|
||||
|
||||
if (item < currentDate) {
|
||||
delete copyObject[key]
|
||||
} else {
|
||||
arrayOfCoins.push(key)
|
||||
}
|
||||
}
|
||||
|
||||
if (!this.stop) {
|
||||
this.stop = true
|
||||
|
||||
await this.fetchCoins(arrayOfCoins)
|
||||
|
||||
this.stop = false
|
||||
}
|
||||
|
||||
this.coinList = copyObject
|
||||
} catch (error) {
|
||||
this.stop = false
|
||||
}
|
||||
}
|
||||
|
||||
connectedCallback() {
|
||||
super.connectedCallback()
|
||||
this.intervalID = setInterval(this.fetchBalance, 45000)
|
||||
window.addEventListener('ping-coin-controller-with-coin', this._updateCoinList)
|
||||
}
|
||||
|
||||
disconnectedCallback() {
|
||||
|
||||
super.disconnectedCallback();
|
||||
window.removeEventListener(
|
||||
'ping-coin-controller-with-coin',
|
||||
this._updateCoinList
|
||||
);
|
||||
if(this.intervalID){
|
||||
clearInterval(this.intervalID);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
render() {
|
||||
return html``;
|
||||
if (this.intervalID) { clearInterval(this.intervalID) }
|
||||
window.removeEventListener('ping-coin-controller-with-coin', this._updateCoinList)
|
||||
super.disconnectedCallback()
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define('coin-balances-controller', CoinBalancesController);
|
||||
window.customElements.define('coin-balances-controller', CoinBalancesController)
|
@ -1,223 +1,204 @@
|
||||
import {css, html, LitElement} from 'lit'
|
||||
import {get} from '../../../translate/index.js'
|
||||
import '@material/mwc-icon'
|
||||
import '@vaadin/tooltip';
|
||||
|
||||
import { html, LitElement } from 'lit'
|
||||
import { connect } from 'pwa-helpers'
|
||||
import { store } from '../../store'
|
||||
import { get } from '../../../translate'
|
||||
import { chatSideNavHeadsStyles } from '../../styles/core-css'
|
||||
import './friend-item-actions'
|
||||
import '@material/mwc-icon'
|
||||
import '@vaadin/tooltip'
|
||||
|
||||
class ChatSideNavHeads extends LitElement {
|
||||
static get properties() {
|
||||
return {
|
||||
selectedAddress: { type: Object },
|
||||
config: { type: Object },
|
||||
chatInfo: { type: Object },
|
||||
iconName: { type: String },
|
||||
activeChatHeadUrl: { type: String },
|
||||
isImageLoaded: { type: Boolean },
|
||||
setActiveChatHeadUrl: {attribute: false},
|
||||
openEditFriend: {attribute: false},
|
||||
closeSidePanel: {attribute: false, type: Object}
|
||||
}
|
||||
}
|
||||
class ChatSideNavHeads extends connect(store)(LitElement) {
|
||||
static get properties() {
|
||||
return {
|
||||
selectedAddress: { type: Object },
|
||||
config: { type: Object },
|
||||
chatInfo: { type: Object },
|
||||
iconName: { type: String },
|
||||
activeChatHeadUrl: { type: String },
|
||||
isImageLoaded: { type: Boolean },
|
||||
setActiveChatHeadUrl: { attribute: false },
|
||||
openEditFriend: { attribute: false },
|
||||
closeSidePanel: { attribute: false, type: Object }
|
||||
}
|
||||
}
|
||||
|
||||
static get styles() {
|
||||
return css`
|
||||
:host {
|
||||
width: 100%;
|
||||
}
|
||||
ul {
|
||||
list-style-type: none;
|
||||
}
|
||||
li {
|
||||
padding: 10px 2px 10px 5px;
|
||||
cursor: pointer;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
box-sizing: border-box;
|
||||
font-size: 14px;
|
||||
transition: 0.2s background-color;
|
||||
}
|
||||
static get styles() {
|
||||
return [chatSideNavHeadsStyles]
|
||||
}
|
||||
|
||||
li:hover {
|
||||
background-color: var(--lightChatHeadHover);
|
||||
}
|
||||
|
||||
.active {
|
||||
background: var(--menuactive);
|
||||
border-left: 4px solid #3498db;
|
||||
}
|
||||
|
||||
.img-icon {
|
||||
font-size:40px;
|
||||
color: var(--chat-group);
|
||||
}
|
||||
|
||||
.status {
|
||||
color: #92959e;
|
||||
}
|
||||
|
||||
.clearfix {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.clearfix:after {
|
||||
visibility: hidden;
|
||||
display: block;
|
||||
font-size: 0;
|
||||
content: " ";
|
||||
clear: both;
|
||||
height: 0;
|
||||
}
|
||||
`
|
||||
}
|
||||
|
||||
constructor() {
|
||||
super()
|
||||
this.selectedAddress = {}
|
||||
this.config = {
|
||||
user: {
|
||||
node: {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
this.chatInfo = {}
|
||||
this.iconName = ''
|
||||
this.activeChatHeadUrl = ''
|
||||
this.isImageLoaded = false
|
||||
this.imageFetches = 0
|
||||
}
|
||||
|
||||
createImage(imageUrl) {
|
||||
const imageHTMLRes = new Image();
|
||||
imageHTMLRes.src = imageUrl;
|
||||
imageHTMLRes.style= "width:30px; height:30px; float: left; border-radius:50%; font-size:14px";
|
||||
imageHTMLRes.onclick= () => {
|
||||
this.openDialogImage = true;
|
||||
}
|
||||
imageHTMLRes.onload = () => {
|
||||
this.isImageLoaded = true;
|
||||
}
|
||||
imageHTMLRes.onerror = () => {
|
||||
if (this.imageFetches < 4) {
|
||||
setTimeout(() => {
|
||||
this.imageFetches = this.imageFetches + 1;
|
||||
imageHTMLRes.src = imageUrl;
|
||||
}, 500);
|
||||
} else {
|
||||
this.isImageLoaded = false
|
||||
}
|
||||
};
|
||||
return imageHTMLRes;
|
||||
}
|
||||
|
||||
render() {
|
||||
let avatarImg = ""
|
||||
if (this.chatInfo.name) {
|
||||
const myNode = window.parent.reduxStore.getState().app.nodeConfig.knownNodes[window.parent.reduxStore.getState().app.nodeConfig.node];
|
||||
const nodeUrl = myNode.protocol + '://' + myNode.domain + ':' + myNode.port;
|
||||
const avatarUrl = `${nodeUrl}/arbitrary/THUMBNAIL/${this.chatInfo.name}/qortal_avatar?async=true&apiKey=${myNode.apiKey}`;
|
||||
avatarImg = this.createImage(avatarUrl)
|
||||
}
|
||||
|
||||
return html`
|
||||
<li style="display:flex; justify-content: space-between; align-items: center" @click=${(e) => {
|
||||
const target = e.target
|
||||
const popover =
|
||||
this.shadowRoot.querySelector('friend-item-actions');
|
||||
if (popover) {
|
||||
popover.openPopover(target);
|
||||
constructor() {
|
||||
super()
|
||||
this.selectedAddress = {}
|
||||
this.config = {
|
||||
user: {
|
||||
node: {
|
||||
}
|
||||
}} class="clearfix" id=${`friend-item-parent-${this.chatInfo.name}`}>
|
||||
<div style="display:flex; flex-grow: 1; align-items: center">
|
||||
${this.isImageLoaded ? html`${avatarImg}` : html``}
|
||||
${!this.isImageLoaded && !this.chatInfo.name && !this.chatInfo.groupName
|
||||
? html`<mwc-icon class="img-icon">account_circle</mwc-icon>`
|
||||
: html``}
|
||||
${!this.isImageLoaded && this.chatInfo.name
|
||||
? html`<div
|
||||
style="width:30px; height:30px; float: left; border-radius:50%; background: ${this.activeChatHeadUrl === this.chatInfo.url
|
||||
? "var(--chatHeadBgActive)"
|
||||
: "var(--chatHeadBg)"}; color: ${this.activeChatHeadUrl ===
|
||||
this.chatInfo.url
|
||||
? "var(--chatHeadTextActive)"
|
||||
: "var(--chatHeadText)"}; font-weight:bold; display: flex; justify-content: center; align-items: center; text-transform: capitalize"
|
||||
>
|
||||
${this.chatInfo.name.charAt(0)}
|
||||
</div>`
|
||||
: ""}
|
||||
${!this.isImageLoaded && this.chatInfo.groupName
|
||||
? html`<div
|
||||
style="width:30px; height:30px; float: left; border-radius:50%; background: ${this.activeChatHeadUrl === this.chatInfo.url
|
||||
? "var(--chatHeadBgActive)"
|
||||
: "var(--chatHeadBg)"}; color: ${this.activeChatHeadUrl === this.chatInfo.url
|
||||
? "var(--chatHeadTextActive)"
|
||||
: "var(--chatHeadText)"}; font-weight:bold; display: flex; justify-content: center; align-items: center; text-transform: capitalize"
|
||||
>
|
||||
${this.chatInfo.groupName.charAt(0)}
|
||||
</div>`
|
||||
: ""}
|
||||
<div>
|
||||
<div class="name">
|
||||
<span style="float:left; padding-left: 8px; color: var(--chat-group);">
|
||||
${this.chatInfo.groupName
|
||||
? this.chatInfo.groupName
|
||||
: this.chatInfo.name !== undefined
|
||||
? (this.chatInfo.alias || this.chatInfo.name)
|
||||
: this.chatInfo.address.substr(0, 15)}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
}
|
||||
this.chatInfo = {}
|
||||
this.iconName = ''
|
||||
this.activeChatHeadUrl = ''
|
||||
this.isImageLoaded = false
|
||||
this.imageFetches = 0
|
||||
}
|
||||
|
||||
</div>
|
||||
<div style="display:flex; align-items: center">
|
||||
${this.chatInfo.willFollow ? html`
|
||||
<mwc-icon id="willFollowIcon" style="color: var(--black)">connect_without_contact</mwc-icon>
|
||||
<vaadin-tooltip
|
||||
render() {
|
||||
let avatarImg = ''
|
||||
|
||||
for="willFollowIcon"
|
||||
position="top"
|
||||
hover-delay=${200}
|
||||
hide-delay=${1}
|
||||
text=${get('friends.friend11')}>
|
||||
</vaadin-tooltip>
|
||||
` : ''}
|
||||
</div>
|
||||
</li>
|
||||
<friend-item-actions
|
||||
for=${`friend-item-parent-${this.chatInfo.name}`}
|
||||
message=${get('notifications.explanation')}
|
||||
.openEditFriend=${()=> {
|
||||
this.openEditFriend(this.chatInfo)
|
||||
}}
|
||||
name=${this.chatInfo.name}
|
||||
.closeSidePanel=${this.closeSidePanel}
|
||||
></friend-item-actions>
|
||||
`
|
||||
}
|
||||
if (this.chatInfo.name) {
|
||||
const myNode = store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
const nodeUrl = myNode.protocol + '://' + myNode.domain + ':' + myNode.port
|
||||
const avatarUrl = `${nodeUrl}/arbitrary/THUMBNAIL/${this.chatInfo.name}/qortal_avatar?async=true`
|
||||
avatarImg = this.createImage(avatarUrl)
|
||||
}
|
||||
|
||||
return html`
|
||||
<li
|
||||
style="display:flex; justify-content: space-between; align-items: center"
|
||||
@click=${(e) => {
|
||||
const target = e.target
|
||||
const popover = this.shadowRoot.querySelector('friend-item-actions');
|
||||
if (popover) {
|
||||
popover.openPopover(target);
|
||||
}
|
||||
}}
|
||||
class="clearfix" id=${`friend-item-parent-${this.chatInfo.name}`}
|
||||
>
|
||||
<div style="display:flex; flex-grow: 1; align-items: center">
|
||||
${this.isImageLoaded ? html`${avatarImg}` : html``}
|
||||
${!this.isImageLoaded && !this.chatInfo.name && !this.chatInfo.groupName ?
|
||||
html`
|
||||
<mwc-icon class="img-icon">account_circle</mwc-icon>
|
||||
`
|
||||
: html``
|
||||
}
|
||||
${!this.isImageLoaded && this.chatInfo.name ?
|
||||
html`
|
||||
<div
|
||||
style="width:30px; height:30px; float: left; border-radius:50%; background: ${this.activeChatHeadUrl === this.chatInfo.url
|
||||
? "var(--chatHeadBgActive)"
|
||||
: "var(--chatHeadBg)"}; color: ${this.activeChatHeadUrl === this.chatInfo.url
|
||||
? "var(--chatHeadTextActive)"
|
||||
: "var(--chatHeadText)"}; font-weight:bold; display: flex; justify-content: center; align-items: center; text-transform: capitalize"
|
||||
>
|
||||
${this.chatInfo.name.charAt(0)}
|
||||
</div>
|
||||
` : ''
|
||||
}
|
||||
${!this.isImageLoaded && this.chatInfo.groupName ?
|
||||
html`
|
||||
<div
|
||||
style="width:30px; height:30px; float: left; border-radius:50%; background: ${this.activeChatHeadUrl === this.chatInfo.url
|
||||
? "var(--chatHeadBgActive)"
|
||||
: "var(--chatHeadBg)"}; color: ${this.activeChatHeadUrl === this.chatInfo.url
|
||||
? "var(--chatHeadTextActive)"
|
||||
: "var(--chatHeadText)"}; font-weight:bold; display: flex; justify-content: center; align-items: center; text-transform: capitalize"
|
||||
>
|
||||
${this.chatInfo.groupName.charAt(0)}
|
||||
</div>
|
||||
` : ''
|
||||
}
|
||||
<div>
|
||||
<div class="name">
|
||||
<span style="float:left; padding-left: 8px; color: var(--chat-group);">
|
||||
${this.chatInfo.groupName
|
||||
? this.chatInfo.groupName
|
||||
: this.chatInfo.name !== undefined
|
||||
? (this.chatInfo.alias || this.chatInfo.name)
|
||||
: this.chatInfo.address.substr(0, 15)
|
||||
}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div style="display:flex; align-items: center">
|
||||
${this.chatInfo.willFollow ?
|
||||
html`
|
||||
<mwc-icon id="willFollowIcon" style="color: var(--black)">connect_without_contact</mwc-icon>
|
||||
<vaadin-tooltip
|
||||
for="willFollowIcon"
|
||||
position="top"
|
||||
hover-delay=${200}
|
||||
hide-delay=${1}
|
||||
text=${get('friends.friend11')}
|
||||
></vaadin-tooltip>
|
||||
` : ''
|
||||
}
|
||||
</div>
|
||||
</li>
|
||||
<friend-item-actions
|
||||
for=${`friend-item-parent-${this.chatInfo.name}`}
|
||||
message=${get('notifications.explanation')}
|
||||
.openEditFriend=${() => {
|
||||
this.openEditFriend(this.chatInfo)
|
||||
}}
|
||||
name=${this.chatInfo.name}
|
||||
.closeSidePanel=${this.closeSidePanel}
|
||||
></friend-item-actions>
|
||||
`
|
||||
}
|
||||
|
||||
firstUpdated() {
|
||||
// ...
|
||||
}
|
||||
|
||||
shouldUpdate(changedProperties) {
|
||||
if(changedProperties.has('activeChatHeadUrl')){
|
||||
return true
|
||||
}
|
||||
if(changedProperties.has('chatInfo')){
|
||||
return true
|
||||
}
|
||||
if(changedProperties.has('isImageLoaded')){
|
||||
return true
|
||||
}
|
||||
createImage(imageUrl) {
|
||||
const imageHTMLRes = new Image()
|
||||
imageHTMLRes.src = imageUrl
|
||||
imageHTMLRes.style = "width:30px; height:30px; float: left; border-radius:50%; font-size:14px"
|
||||
|
||||
return false
|
||||
}
|
||||
imageHTMLRes.onclick = () => {
|
||||
this.openDialogImage = true
|
||||
}
|
||||
|
||||
getUrl(chatUrl) {
|
||||
this.setActiveChatHeadUrl(chatUrl)
|
||||
}
|
||||
imageHTMLRes.onload = () => {
|
||||
this.isImageLoaded = true
|
||||
}
|
||||
|
||||
imageHTMLRes.onerror = () => {
|
||||
if (this.imageFetches < 4) {
|
||||
setTimeout(() => {
|
||||
this.imageFetches = this.imageFetches + 1
|
||||
imageHTMLRes.src = imageUrl
|
||||
}, 500)
|
||||
} else {
|
||||
this.isImageLoaded = false
|
||||
}
|
||||
}
|
||||
|
||||
return imageHTMLRes
|
||||
}
|
||||
|
||||
shouldUpdate(changedProperties) {
|
||||
if (changedProperties.has('activeChatHeadUrl')) {
|
||||
return true
|
||||
}
|
||||
|
||||
if (changedProperties.has('chatInfo')) {
|
||||
return true
|
||||
}
|
||||
|
||||
return !!changedProperties.has('isImageLoaded')
|
||||
}
|
||||
|
||||
getUrl(chatUrl) {
|
||||
this.setActiveChatHeadUrl(chatUrl)
|
||||
}
|
||||
|
||||
// Standard functions
|
||||
getApiKey() {
|
||||
const coreNode = store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
return coreNode.apiKey
|
||||
}
|
||||
|
||||
isEmptyArray(arr) {
|
||||
if (!arr) { return true }
|
||||
return arr.length === 0
|
||||
}
|
||||
|
||||
round(number) {
|
||||
return (Math.round(parseFloat(number) * 1e8) / 1e8).toFixed(8)
|
||||
}
|
||||
}
|
||||
|
||||
window.customElements.define('chat-side-nav-heads', ChatSideNavHeads)
|
||||
window.customElements.define('chat-side-nav-heads', ChatSideNavHeads)
|
@ -1,10 +1,11 @@
|
||||
import {css, html, LitElement} from 'lit';
|
||||
import {translate,} from '../../../translate/index.js'
|
||||
import '@material/mwc-button';
|
||||
import '@material/mwc-dialog';
|
||||
import '@material/mwc-checkbox';
|
||||
import {connect} from 'pwa-helpers';
|
||||
import {store} from '../../store';
|
||||
import { html, LitElement } from 'lit'
|
||||
import { connect } from 'pwa-helpers'
|
||||
import { store } from '../../store'
|
||||
import { translate, } from '../../../translate'
|
||||
import { addFriendsModalStyles } from '../../styles/core-css'
|
||||
import '@material/mwc-button'
|
||||
import '@material/mwc-checkbox'
|
||||
import '@material/mwc-dialog'
|
||||
import '@polymer/paper-spinner/paper-spinner-lite.js'
|
||||
|
||||
class AddFriendsModal extends connect(store)(LitElement) {
|
||||
@ -21,204 +22,195 @@ class AddFriendsModal extends connect(store)(LitElement) {
|
||||
editContent: { type: Object },
|
||||
onClose: { attribute: false },
|
||||
mySelectedFeeds: { type: Array },
|
||||
availableFeeedSchemas: {type: Array},
|
||||
isLoadingSchemas: {type: Boolean}
|
||||
};
|
||||
}
|
||||
|
||||
constructor() {
|
||||
super();
|
||||
this.isOpen = false;
|
||||
this.isLoading = false;
|
||||
this.alias = '';
|
||||
this.willFollow = true;
|
||||
this.notes = '';
|
||||
this.nodeUrl = this.getNodeUrl();
|
||||
this.myNode = this.getMyNode();
|
||||
this.mySelectedFeeds = [];
|
||||
this.availableFeeedSchemas = [];
|
||||
this.isLoadingSchemas= false;
|
||||
availableFeeedSchemas: { type: Array },
|
||||
isLoadingSchemas: { type: Boolean }
|
||||
}
|
||||
}
|
||||
|
||||
static get styles() {
|
||||
return css`
|
||||
* {
|
||||
--mdc-theme-primary: rgb(3, 169, 244);
|
||||
--mdc-theme-secondary: var(--mdc-theme-primary);
|
||||
--mdc-theme-surface: var(--white);
|
||||
--mdc-dialog-content-ink-color: var(--black);
|
||||
--mdc-dialog-min-width: 400px;
|
||||
--mdc-dialog-max-width: 1024px;
|
||||
box-sizing:border-box;
|
||||
}
|
||||
.input {
|
||||
width: 90%;
|
||||
outline: 0;
|
||||
border-width: 0 0 2px;
|
||||
border-color: var(--mdc-theme-primary);
|
||||
background-color: transparent;
|
||||
padding: 10px;
|
||||
font-family: Roboto, sans-serif;
|
||||
font-size: 15px;
|
||||
color: var(--chat-bubble-msg-color);
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.input::selection {
|
||||
background-color: var(--mdc-theme-primary);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.input::placeholder {
|
||||
opacity: 0.6;
|
||||
color: var(--black);
|
||||
}
|
||||
|
||||
.modal-button {
|
||||
font-family: Roboto, sans-serif;
|
||||
font-size: 16px;
|
||||
color: var(--mdc-theme-primary);
|
||||
background-color: transparent;
|
||||
padding: 8px 10px;
|
||||
border-radius: 5px;
|
||||
border: none;
|
||||
transition: all 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
.modal-button-red {
|
||||
font-family: Roboto, sans-serif;
|
||||
font-size: 16px;
|
||||
color: #f44336;
|
||||
background-color: transparent;
|
||||
padding: 8px 10px;
|
||||
border-radius: 5px;
|
||||
border: none;
|
||||
transition: all 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
.modal-button-red:hover {
|
||||
cursor: pointer;
|
||||
background-color: #f4433663;
|
||||
}
|
||||
|
||||
.modal-button:hover {
|
||||
cursor: pointer;
|
||||
background-color: #03a8f475;
|
||||
}
|
||||
.checkbox-row {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
align-content: center;
|
||||
font-family: Montserrat, sans-serif;
|
||||
font-weight: 600;
|
||||
color: var(--black);
|
||||
}
|
||||
.modal-overlay {
|
||||
display: block;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background-color: rgba(
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0.5
|
||||
); /* Semi-transparent backdrop */
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.modal-content {
|
||||
position: fixed;
|
||||
top: 50vh;
|
||||
left: 50vw;
|
||||
transform: translate(-50%, -50%);
|
||||
background-color: var(--mdc-theme-surface);
|
||||
width: 80vw;
|
||||
max-width: 600px;
|
||||
padding: 20px;
|
||||
box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px;
|
||||
z-index: 1001;
|
||||
border-radius: 5px;
|
||||
display: flex;
|
||||
flex-direction:column;
|
||||
}
|
||||
|
||||
|
||||
.modal-overlay.hidden {
|
||||
display: none;
|
||||
}
|
||||
.avatar {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.app-name {
|
||||
display: flex;
|
||||
gap: 20px;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
cursor: pointer;
|
||||
padding: 5px;
|
||||
border-radius: 5px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.inner-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
max-height: 75vh;
|
||||
flex-grow: 1;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.inner-content::-webkit-scrollbar-track {
|
||||
background-color: whitesmoke;
|
||||
border-radius: 7px;
|
||||
}
|
||||
|
||||
.inner-content::-webkit-scrollbar {
|
||||
width: 12px;
|
||||
border-radius: 7px;
|
||||
background-color: whitesmoke;
|
||||
}
|
||||
|
||||
.inner-content::-webkit-scrollbar-thumb {
|
||||
background-color: rgb(180, 176, 176);
|
||||
border-radius: 7px;
|
||||
transition: all 0.3s ease-in-out;
|
||||
}
|
||||
`;
|
||||
return [addFriendsModalStyles]
|
||||
}
|
||||
|
||||
firstUpdated() {}
|
||||
constructor() {
|
||||
super()
|
||||
this.isOpen = false
|
||||
this.isLoading = false
|
||||
this.alias = ''
|
||||
this.willFollow = true
|
||||
this.notes = ''
|
||||
this.nodeUrl = this.getNodeUrl()
|
||||
this.myNode = this.getMyNode()
|
||||
this.mySelectedFeeds = []
|
||||
this.availableFeeedSchemas = []
|
||||
this.isLoadingSchemas = false
|
||||
}
|
||||
|
||||
render() {
|
||||
return html`
|
||||
<div class="modal-overlay ${this.isOpen ? '' : 'hidden'}">
|
||||
<div class="modal-content">
|
||||
<div class="inner-content">
|
||||
<div style="text-align:center">
|
||||
<h1>
|
||||
${this.editContent
|
||||
? translate('friends.friend10')
|
||||
: translate('friends.friend2')}
|
||||
</h1>
|
||||
<hr />
|
||||
</div>
|
||||
<p>${translate('friends.friend3')}</p>
|
||||
<div class="checkbox-row">
|
||||
<label
|
||||
for="willFollow"
|
||||
id="willFollowLabel"
|
||||
style="color: var(--black);"
|
||||
>
|
||||
${translate('friends.friend5')}
|
||||
</label>
|
||||
<mwc-checkbox
|
||||
style="margin-right: -15px;"
|
||||
id="willFollow"
|
||||
@change=${(e) => {
|
||||
this.willFollow = e.target.checked;
|
||||
}}
|
||||
?checked=${this.willFollow}
|
||||
></mwc-checkbox>
|
||||
</div>
|
||||
<div style="height:15px"></div>
|
||||
<div style="display: flex;flex-direction: column;">
|
||||
<label
|
||||
for="name"
|
||||
id="nameLabel"
|
||||
style="color: var(--black);"
|
||||
>
|
||||
${translate('login.name')}
|
||||
</label>
|
||||
<input
|
||||
id="name"
|
||||
class="input"
|
||||
?disabled=${true}
|
||||
value=${this.userSelected ? this.userSelected.name : ''}
|
||||
/>
|
||||
</div>
|
||||
<div style="height:15px"></div>
|
||||
<div style="display: flex;flex-direction: column;">
|
||||
<label
|
||||
for="alias"
|
||||
id="aliasLabel"
|
||||
style="color: var(--black);"
|
||||
>
|
||||
${translate('friends.friend6')}
|
||||
</label>
|
||||
<input
|
||||
id="alias"
|
||||
placeholder=${translate('friends.friend7')}
|
||||
class="input"
|
||||
.value=${this.alias}
|
||||
@change=${(e) => {
|
||||
this.alias = e.target.value
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
<div style="height:15px"></div>
|
||||
<div style="margin-bottom:0;">
|
||||
<textarea
|
||||
class="input"
|
||||
@change=${(e) => {
|
||||
this.notes = e.target.value
|
||||
}}
|
||||
.value=${this.notes}
|
||||
?disabled=${this.isLoading}
|
||||
id="messageBoxAddFriend"
|
||||
placeholder="${translate('friends.friend4')}"
|
||||
rows="3"
|
||||
></textarea>
|
||||
</div>
|
||||
<div style="height:15px"></div>
|
||||
<h2>${translate('friends.friend15')}</h2>
|
||||
<div style="margin-bottom:0;">
|
||||
<p>${translate('friends.friend16')}</p>
|
||||
</div>
|
||||
<div>
|
||||
${this.isLoadingSchemas ?
|
||||
html`
|
||||
<div style="width:100%;display: flex; justify-content:center">
|
||||
<paper-spinner-lite active></paper-spinner-lite>
|
||||
</div>
|
||||
` : ''
|
||||
}
|
||||
${this.availableFeeedSchemas.map((schema) => {
|
||||
const isAlreadySelected = this.mySelectedFeeds.find((item) => item.name === schema.name);
|
||||
let avatarImgApp;
|
||||
const avatarUrl2 = `${this.nodeUrl}/arbitrary/THUMBNAIL/${schema.name}/qortal_avatar?async=true&apiKey=${this.myNode.apiKey}`;
|
||||
avatarImgApp = html`<img src="${avatarUrl2}" style="max-width:100%; max-height:100%;" onerror="this.onerror=null; this.src='/img/incognito.png';"/>`;
|
||||
return html`
|
||||
<div
|
||||
class="app-name"
|
||||
style="background:${isAlreadySelected ? 'lightblue' : ''}"
|
||||
@click=${() => {
|
||||
const copymySelectedFeeds = [...this.mySelectedFeeds];
|
||||
const findIndex = copymySelectedFeeds.findIndex((item) => item.name === schema.name);
|
||||
if (findIndex === -1) {
|
||||
if (this.mySelectedFeeds.length > 4) return
|
||||
copymySelectedFeeds.push({name: schema.name, identifier: schema.identifier, service: schema.service});
|
||||
this.mySelectedFeeds = copymySelectedFeeds;
|
||||
} else {
|
||||
this.mySelectedFeeds = copymySelectedFeeds.filter((item) => item.name !== schema.name);
|
||||
}
|
||||
}}
|
||||
>
|
||||
<div class="avatar">${avatarImgApp}</div>
|
||||
<span style="color:${isAlreadySelected ? 'var(--white)' : 'var(--black)'};font-size:16px">${schema.name}</span>
|
||||
</div>
|
||||
`
|
||||
})}
|
||||
</div>
|
||||
</div>
|
||||
<div style="display:flex;justify-content:space-between;align-items:center;margin-top:20px">
|
||||
<button
|
||||
class="modal-button-red"
|
||||
?disabled="${this.isLoading}"
|
||||
@click="${() => {
|
||||
this.setIsOpen(false);
|
||||
this.clearFields();
|
||||
this.onClose();
|
||||
}}"
|
||||
>
|
||||
${translate('general.close')}
|
||||
</button>
|
||||
${this.editContent ?
|
||||
html`
|
||||
<button ?disabled="${this.isLoading}" class="modal-button-red" @click=${() => {this.removeFriend();}}>
|
||||
${translate('friends.friend14')}
|
||||
</button>
|
||||
` : ''
|
||||
}
|
||||
<button ?disabled="${this.isLoading}" class="modal-button" @click=${() => {this.addFriend();}}>
|
||||
${this.editContent ? translate('friends.friend10') : translate('friends.friend2')}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`
|
||||
}
|
||||
|
||||
firstUpdated() {
|
||||
// ...
|
||||
}
|
||||
|
||||
getNodeUrl() {
|
||||
const myNode =
|
||||
store.getState().app.nodeConfig.knownNodes[
|
||||
window.parent.reduxStore.getState().app.nodeConfig.node
|
||||
];
|
||||
|
||||
const nodeUrl =
|
||||
myNode.protocol + '://' + myNode.domain + ':' + myNode.port;
|
||||
return nodeUrl;
|
||||
const myNode = store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
return myNode.protocol + '://' + myNode.domain + ':' + myNode.port
|
||||
}
|
||||
getMyNode() {
|
||||
const myNode =
|
||||
store.getState().app.nodeConfig.knownNodes[
|
||||
window.parent.reduxStore.getState().app.nodeConfig.node
|
||||
];
|
||||
|
||||
return myNode;
|
||||
getMyNode() {
|
||||
return store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
}
|
||||
|
||||
clearFields() {
|
||||
this.alias = '';
|
||||
this.willFollow = true;
|
||||
this.notes = '';
|
||||
this.alias = ''
|
||||
this.willFollow = true
|
||||
this.notes = ''
|
||||
}
|
||||
|
||||
addFriend() {
|
||||
@ -228,10 +220,10 @@ class AddFriendsModal extends connect(store)(LitElement) {
|
||||
notes: this.notes,
|
||||
willFollow: this.willFollow,
|
||||
mySelectedFeeds: this.mySelectedFeeds
|
||||
})
|
||||
|
||||
});
|
||||
this.clearFields();
|
||||
this.onClose();
|
||||
this.clearFields()
|
||||
this.onClose()
|
||||
}
|
||||
|
||||
removeFriend() {
|
||||
@ -244,246 +236,60 @@ class AddFriendsModal extends connect(store)(LitElement) {
|
||||
mySelectedFeeds: this.mySelectedFeeds
|
||||
},
|
||||
true
|
||||
);
|
||||
this.clearFields();
|
||||
this.onClose();
|
||||
)
|
||||
|
||||
this.clearFields()
|
||||
this.onClose()
|
||||
}
|
||||
|
||||
async updated(changedProperties) {
|
||||
if (
|
||||
changedProperties &&
|
||||
changedProperties.has('editContent') &&
|
||||
this.editContent
|
||||
) {
|
||||
this.userSelected = {
|
||||
name: this.editContent.name ?? '',
|
||||
};
|
||||
this.notes = this.editContent.notes ?? '';
|
||||
this.willFollow = this.editContent.willFollow ?? true;
|
||||
this.alias = this.editContent.alias ?? '';
|
||||
if (changedProperties && changedProperties.has('editContent') && this.editContent) {
|
||||
this.userSelected = { name: this.editContent.name ?? '' }
|
||||
this.notes = this.editContent.notes ?? ''
|
||||
this.willFollow = this.editContent.willFollow ?? true
|
||||
this.alias = this.editContent.alias ?? ''
|
||||
this.requestUpdate()
|
||||
}
|
||||
if (
|
||||
changedProperties &&
|
||||
changedProperties.has('isOpen') && this.isOpen
|
||||
) {
|
||||
this.getAvailableFeedSchemas()
|
||||
}
|
||||
|
||||
if (changedProperties && changedProperties.has('isOpen') && this.isOpen) {
|
||||
await this.getAvailableFeedSchemas()
|
||||
}
|
||||
}
|
||||
|
||||
async getAvailableFeedSchemas() {
|
||||
try {
|
||||
this.isLoadingSchemas= true
|
||||
const url = `${this.nodeUrl}/arbitrary/resources/search?service=DOCUMENT&identifier=ui_schema_feed&prefix=true`;
|
||||
const res = await fetch(url);
|
||||
const data = await res.json();
|
||||
if (data.error === 401) {
|
||||
this.availableFeeedSchemas = [];
|
||||
} else {
|
||||
const result = data.filter(
|
||||
(item) => item.identifier === 'ui_schema_feed'
|
||||
);
|
||||
this.isLoadingSchemas = true
|
||||
const url = `${this.nodeUrl}/arbitrary/resources/search?service=DOCUMENT&identifier=ui_schema_feed&prefix=true`
|
||||
const res = await fetch(url)
|
||||
const data = await res.json()
|
||||
|
||||
this.availableFeeedSchemas = result;
|
||||
if (data.error === 401) {
|
||||
this.availableFeeedSchemas = []
|
||||
} else {
|
||||
this.availableFeeedSchemas = data.filter((item) => item.identifier === 'ui_schema_feed')
|
||||
}
|
||||
this.userFoundModalOpen = true;
|
||||
} catch (error) {} finally {
|
||||
this.isLoadingSchemas= false
|
||||
|
||||
this.userFoundModalOpen = true
|
||||
} catch (error) {
|
||||
} finally {
|
||||
this.isLoadingSchemas = false
|
||||
}
|
||||
}
|
||||
|
||||
render() {
|
||||
return html`
|
||||
<div class="modal-overlay ${this.isOpen ? '' : 'hidden'}">
|
||||
// Standard functions
|
||||
getApiKey() {
|
||||
const coreNode = store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
return coreNode.apiKey
|
||||
}
|
||||
|
||||
<div class="modal-content">
|
||||
<div class="inner-content">
|
||||
<div style="text-align:center">
|
||||
<h1>
|
||||
${this.editContent
|
||||
? translate('friends.friend10')
|
||||
: translate('friends.friend2')}
|
||||
</h1>
|
||||
<hr />
|
||||
</div>
|
||||
<p>${translate('friends.friend3')}</p>
|
||||
<div class="checkbox-row">
|
||||
<label
|
||||
for="willFollow"
|
||||
id="willFollowLabel"
|
||||
style="color: var(--black);"
|
||||
>
|
||||
${translate('friends.friend5')}
|
||||
</label>
|
||||
<mwc-checkbox
|
||||
style="margin-right: -15px;"
|
||||
id="willFollow"
|
||||
@change=${(e) => {
|
||||
this.willFollow = e.target.checked;
|
||||
}}
|
||||
?checked=${this.willFollow}
|
||||
></mwc-checkbox>
|
||||
</div>
|
||||
<div style="height:15px"></div>
|
||||
<div style="display: flex;flex-direction: column;">
|
||||
<label
|
||||
for="name"
|
||||
id="nameLabel"
|
||||
style="color: var(--black);"
|
||||
>
|
||||
${translate('login.name')}
|
||||
</label>
|
||||
<input
|
||||
id="name"
|
||||
class="input"
|
||||
?disabled=${true}
|
||||
value=${this.userSelected
|
||||
? this.userSelected.name
|
||||
: ''}
|
||||
/>
|
||||
</div>
|
||||
<div style="height:15px"></div>
|
||||
<div style="display: flex;flex-direction: column;">
|
||||
<label
|
||||
for="alias"
|
||||
id="aliasLabel"
|
||||
style="color: var(--black);"
|
||||
>
|
||||
${translate('friends.friend6')}
|
||||
</label>
|
||||
<input
|
||||
id="alias"
|
||||
placeholder=${translate('friends.friend7')}
|
||||
class="input"
|
||||
.value=${this.alias}
|
||||
@change=${(e) => {
|
||||
this.alias = e.target.value
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
<div style="height:15px"></div>
|
||||
<div style="margin-bottom:0;">
|
||||
<textarea
|
||||
class="input"
|
||||
@change=${(e) => {
|
||||
this.notes = e.target.value
|
||||
}}
|
||||
.value=${this.notes}
|
||||
?disabled=${this.isLoading}
|
||||
id="messageBoxAddFriend"
|
||||
placeholder="${translate('friends.friend4')}"
|
||||
rows="3"
|
||||
></textarea>
|
||||
</div>
|
||||
<div style="height:15px"></div>
|
||||
<h2>${translate('friends.friend15')}</h2>
|
||||
<div style="margin-bottom:0;">
|
||||
<p>${translate('friends.friend16')}</p>
|
||||
</div>
|
||||
<div>
|
||||
${this.isLoadingSchemas ? html`
|
||||
<div style="width:100%;display: flex; justify-content:center">
|
||||
<paper-spinner-lite active></paper-spinner-lite>
|
||||
</div>
|
||||
` : ''}
|
||||
${this.availableFeeedSchemas.map((schema) => {
|
||||
const isAlreadySelected = this.mySelectedFeeds.find(
|
||||
(item) => item.name === schema.name
|
||||
);
|
||||
let avatarImgApp;
|
||||
const avatarUrl2 = `${this.nodeUrl}/arbitrary/THUMBNAIL/${schema.name}/qortal_avatar?async=true&apiKey=${this.myNode.apiKey}`;
|
||||
avatarImgApp = html`<img
|
||||
src="${avatarUrl2}"
|
||||
style="max-width:100%; max-height:100%;"
|
||||
onerror="this.onerror=null; this.src='/img/incognito.png';"
|
||||
/>`;
|
||||
return html`
|
||||
<div
|
||||
class="app-name"
|
||||
style="background:${isAlreadySelected ? 'lightblue': ''}"
|
||||
@click=${() => {
|
||||
const copymySelectedFeeds = [
|
||||
...this.mySelectedFeeds,
|
||||
];
|
||||
const findIndex =
|
||||
copymySelectedFeeds.findIndex(
|
||||
(item) =>
|
||||
item.name === schema.name
|
||||
);
|
||||
if (findIndex === -1) {
|
||||
if(this.mySelectedFeeds.length > 4) return
|
||||
copymySelectedFeeds.push({
|
||||
name: schema.name,
|
||||
identifier: schema.identifier,
|
||||
service: schema.service,
|
||||
});
|
||||
this.mySelectedFeeds =
|
||||
copymySelectedFeeds;
|
||||
} else {
|
||||
this.mySelectedFeeds =
|
||||
copymySelectedFeeds.filter(
|
||||
(item) =>
|
||||
item.name !==
|
||||
schema.name
|
||||
);
|
||||
}
|
||||
}}
|
||||
>
|
||||
<div class="avatar">${avatarImgApp}</div>
|
||||
<span
|
||||
style="color:${isAlreadySelected ? 'var(--white)': 'var(--black)'};font-size:16px"
|
||||
>${schema.name}</span
|
||||
>
|
||||
</div>
|
||||
`;
|
||||
})}
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
style="display:flex;justify-content:space-between;align-items:center;margin-top:20px"
|
||||
>
|
||||
<button
|
||||
class="modal-button-red"
|
||||
?disabled="${this.isLoading}"
|
||||
@click="${() => {
|
||||
this.setIsOpen(false);
|
||||
this.clearFields();
|
||||
this.onClose();
|
||||
}}"
|
||||
>
|
||||
${translate('general.close')}
|
||||
</button>
|
||||
${this.editContent
|
||||
? html`
|
||||
<button
|
||||
?disabled="${this.isLoading}"
|
||||
class="modal-button-red"
|
||||
@click=${() => {
|
||||
this.removeFriend();
|
||||
}}
|
||||
>
|
||||
${translate('friends.friend14')}
|
||||
</button>
|
||||
`
|
||||
: ''}
|
||||
isEmptyArray(arr) {
|
||||
if (!arr) { return true }
|
||||
return arr.length === 0
|
||||
}
|
||||
|
||||
<button
|
||||
?disabled="${this.isLoading}"
|
||||
class="modal-button"
|
||||
@click=${() => {
|
||||
this.addFriend();
|
||||
}}
|
||||
>
|
||||
${this.editContent
|
||||
? translate('friends.friend10')
|
||||
: translate('friends.friend2')}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
round(number) {
|
||||
return (Math.round(parseFloat(number) * 1e8) / 1e8).toFixed(8)
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define('add-friends-modal', AddFriendsModal);
|
||||
window.customElements.define('add-friends-modal', AddFriendsModal)
|
@ -1,18 +1,17 @@
|
||||
import { LitElement, html, css } from 'lit';
|
||||
import { get, translate } from '../../../translate/index.js'
|
||||
import axios from 'axios';
|
||||
import '@material/mwc-menu';
|
||||
import '@material/mwc-list/mwc-list-item.js';
|
||||
import { RequestQueueWithPromise } from '../../../../plugins/plugins/utils/queue';
|
||||
import '../../../../plugins/plugins/core/components/TimeAgo';
|
||||
import { connect } from 'pwa-helpers';
|
||||
import { store } from '../../store';
|
||||
import { setNewTab } from '../../redux/app/app-actions';
|
||||
import ShortUniqueId from 'short-unique-id';
|
||||
import { html, LitElement } from 'lit'
|
||||
import { connect } from 'pwa-helpers'
|
||||
import { store } from '../../store'
|
||||
import { RequestQueueWithPromise } from '../../../../plugins/plugins/utils/classes'
|
||||
import { avatarComponentStyles } from '../../styles/core-css'
|
||||
import axios from 'axios'
|
||||
import ShortUniqueId from 'short-unique-id'
|
||||
import '../../../../plugins/plugins/core/components/TimeAgo'
|
||||
import '@material/mwc-menu'
|
||||
import '@material/mwc-list/mwc-list-item.js'
|
||||
|
||||
const requestQueue = new RequestQueueWithPromise(3);
|
||||
const requestQueueRawData = new RequestQueueWithPromise(3);
|
||||
const requestQueueStatus = new RequestQueueWithPromise(3);
|
||||
const requestQueue = new RequestQueueWithPromise(3)
|
||||
const requestQueueRawData = new RequestQueueWithPromise(3)
|
||||
const requestQueueStatus = new RequestQueueWithPromise(3)
|
||||
|
||||
export class AvatarComponent extends connect(store)(LitElement) {
|
||||
static get properties() {
|
||||
@ -20,290 +19,210 @@ export class AvatarComponent extends connect(store)(LitElement) {
|
||||
resource: { type: Object },
|
||||
isReady: { type: Boolean },
|
||||
status: { type: Object },
|
||||
name: { type: String },
|
||||
};
|
||||
name: { type: String }
|
||||
}
|
||||
}
|
||||
|
||||
static get styles() {
|
||||
return css`
|
||||
* {
|
||||
--mdc-theme-text-primary-on-background: var(--black);
|
||||
box-sizing: border-box;
|
||||
}
|
||||
:host {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
img {
|
||||
width: 100%;
|
||||
max-height: 30vh;
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
}
|
||||
.smallLoading,
|
||||
.smallLoading:after {
|
||||
border-radius: 50%;
|
||||
width: 2px;
|
||||
height: 2px;
|
||||
}
|
||||
|
||||
.defaultSize {
|
||||
width: 100%;
|
||||
height: 160px;
|
||||
}
|
||||
.parent-feed-item {
|
||||
position: relative;
|
||||
display: flex;
|
||||
background-color: var(--chat-bubble-bg);
|
||||
flex-grow: 0;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
justify-content: center;
|
||||
border-radius: 5px;
|
||||
padding: 12px 15px 4px 15px;
|
||||
min-width: 150px;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
cursor: pointer;
|
||||
font-size: 16px;
|
||||
}
|
||||
.avatar {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
border-radius: 50%;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.avatarApp {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
border-radius: 50%;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.feed-item-name {
|
||||
user-select: none;
|
||||
color: #03a9f4;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.app-name {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
mwc-menu {
|
||||
position: absolute;
|
||||
}
|
||||
`;
|
||||
return [avatarComponentStyles]
|
||||
}
|
||||
|
||||
constructor() {
|
||||
super();
|
||||
super()
|
||||
this.resource = {
|
||||
identifier: '',
|
||||
name: '',
|
||||
service: '',
|
||||
};
|
||||
service: ''
|
||||
}
|
||||
this.status = {
|
||||
status: '',
|
||||
};
|
||||
this.isReady = false;
|
||||
this.nodeUrl = this.getNodeUrl();
|
||||
this.myNode = this.getMyNode();
|
||||
this.isFetching = false;
|
||||
this.uid = new ShortUniqueId();
|
||||
}
|
||||
getNodeUrl() {
|
||||
const myNode =
|
||||
window.parent.reduxStore.getState().app.nodeConfig.knownNodes[
|
||||
window.parent.reduxStore.getState().app.nodeConfig.node
|
||||
];
|
||||
|
||||
const nodeUrl =
|
||||
myNode.protocol + '://' + myNode.domain + ':' + myNode.port;
|
||||
return nodeUrl;
|
||||
}
|
||||
getMyNode() {
|
||||
const myNode =
|
||||
window.parent.reduxStore.getState().app.nodeConfig.knownNodes[
|
||||
window.parent.reduxStore.getState().app.nodeConfig.node
|
||||
];
|
||||
|
||||
return myNode;
|
||||
}
|
||||
|
||||
getApiKey() {
|
||||
const myNode =
|
||||
window.parent.reduxStore.getState().app.nodeConfig.knownNodes[
|
||||
window.parent.reduxStore.getState().app.nodeConfig.node
|
||||
];
|
||||
let apiKey = myNode.apiKey;
|
||||
return apiKey;
|
||||
}
|
||||
|
||||
async fetchResource() {
|
||||
try {
|
||||
if (this.isFetching) return;
|
||||
this.isFetching = true;
|
||||
await axios.get(
|
||||
`${this.nodeUrl}/arbitrary/resource/properties/${this.resource.service}/${this.resource.name}/${this.resource.identifier}?apiKey=${this.myNode.apiKey}`
|
||||
);
|
||||
this.isFetching = false;
|
||||
} catch (error) {
|
||||
this.isFetching = false;
|
||||
status: ''
|
||||
}
|
||||
}
|
||||
|
||||
async fetchVideoUrl() {
|
||||
this.fetchResource();
|
||||
}
|
||||
|
||||
async getRawData() {
|
||||
const url = `${this.nodeUrl}/arbitrary/${this.resource.service}/${this.resource.name}/${this.resource.identifier}?apiKey=${this.myNode.apiKey}`;
|
||||
return await requestQueueRawData.enqueue(() => {
|
||||
return axios.get(url);
|
||||
});
|
||||
// const response2 = await fetch(url, {
|
||||
// method: 'GET',
|
||||
// headers: {
|
||||
// 'Content-Type': 'application/json'
|
||||
// }
|
||||
// })
|
||||
|
||||
// const responseData2 = await response2.json()
|
||||
// return responseData2
|
||||
}
|
||||
|
||||
updateDisplayWithPlaceholders(display, resource, rawdata) {
|
||||
const pattern = /\$\$\{([a-zA-Z0-9_\.]+)\}\$\$/g;
|
||||
|
||||
for (const key in display) {
|
||||
const value = display[key];
|
||||
|
||||
display[key] = value.replace(pattern, (match, p1) => {
|
||||
if (p1.startsWith('rawdata.')) {
|
||||
const dataKey = p1.split('.')[1];
|
||||
if (rawdata[dataKey] === undefined) {
|
||||
console.error('rawdata key not found:', dataKey);
|
||||
}
|
||||
return rawdata[dataKey] || match;
|
||||
} else if (p1.startsWith('resource.')) {
|
||||
const resourceKey = p1.split('.')[1];
|
||||
if (resource[resourceKey] === undefined) {
|
||||
console.error('resource key not found:', resourceKey);
|
||||
}
|
||||
return resource[resourceKey] || match;
|
||||
}
|
||||
return match;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
async fetchStatus() {
|
||||
let isCalling = false;
|
||||
let percentLoaded = 0;
|
||||
let timer = 24;
|
||||
const response = await requestQueueStatus.enqueue(() => {
|
||||
return axios.get(
|
||||
`${this.nodeUrl}/arbitrary/resource/status/${this.resource.service}/${this.resource.name}/${this.resource.identifier}?apiKey=${this.myNode.apiKey}`
|
||||
);
|
||||
});
|
||||
if (response && response.data && response.data.status === 'READY') {
|
||||
this.status = response.data;
|
||||
|
||||
return;
|
||||
}
|
||||
const intervalId = setInterval(async () => {
|
||||
if (isCalling) return;
|
||||
isCalling = true;
|
||||
|
||||
const data = await requestQueue.enqueue(() => {
|
||||
return axios.get(
|
||||
`${this.nodeUrl}/arbitrary/resource/status/${this.resource.service}/${this.resource.name}/${this.resource.identifier}?apiKey=${this.myNode.apiKey}`
|
||||
);
|
||||
});
|
||||
const res = data.data;
|
||||
|
||||
isCalling = false;
|
||||
if (res.localChunkCount) {
|
||||
if (res.percentLoaded) {
|
||||
if (
|
||||
res.percentLoaded === percentLoaded &&
|
||||
res.percentLoaded !== 100
|
||||
) {
|
||||
timer = timer - 5;
|
||||
} else {
|
||||
timer = 24;
|
||||
}
|
||||
if (timer < 0) {
|
||||
clearInterval(intervalId);
|
||||
}
|
||||
percentLoaded = res.percentLoaded;
|
||||
}
|
||||
|
||||
this.status = res;
|
||||
if (this.status.status === 'DOWNLOADED') {
|
||||
this.fetchResource();
|
||||
}
|
||||
}
|
||||
|
||||
// check if progress is 100% and clear interval if true
|
||||
if (res.status === 'READY') {
|
||||
clearInterval(intervalId);
|
||||
this.status = res;
|
||||
this.isReady = true;
|
||||
}
|
||||
}, 5000); // 1 second interval
|
||||
}
|
||||
|
||||
async _fetchImage() {
|
||||
try {
|
||||
this.fetchVideoUrl();
|
||||
this.fetchStatus();
|
||||
} catch (error) {
|
||||
/* empty */
|
||||
}
|
||||
}
|
||||
|
||||
firstUpdated() {
|
||||
this._fetchImage();
|
||||
this.isReady = false
|
||||
this.nodeUrl = this.getNodeUrl()
|
||||
this.myNode = this.getMyNode()
|
||||
this.isFetching = false
|
||||
this.uid = new ShortUniqueId()
|
||||
}
|
||||
|
||||
render() {
|
||||
return html`
|
||||
<div>
|
||||
${this.status.status !== 'READY'
|
||||
? html`
|
||||
<mwc-icon style="user-select:none;"
|
||||
>account_circle</mwc-icon
|
||||
>
|
||||
`
|
||||
: ''}
|
||||
${this.status.status === 'READY'
|
||||
? html`
|
||||
<div
|
||||
style="height: 24px;width: 24px;overflow: hidden;"
|
||||
>
|
||||
<img
|
||||
src="${this
|
||||
.nodeUrl}/arbitrary/THUMBNAIL/${this
|
||||
.name}/qortal_avatar?async=true&apiKey=${this
|
||||
.myNode.apiKey}"
|
||||
style="width:100%; height:100%;border-radius:50%"
|
||||
onerror="this.onerror=null; this.src='/img/incognito.png';"
|
||||
/>
|
||||
</div>
|
||||
`
|
||||
: ''}
|
||||
${this.status.status !== 'READY' ?
|
||||
html`
|
||||
<mwc-icon style="user-select:none;">account_circle</mwc-icon>
|
||||
` : ''
|
||||
}
|
||||
${this.status.status === 'READY' ?
|
||||
html`
|
||||
<div style="height: 24px;width: 24px;overflow: hidden;">
|
||||
<img
|
||||
src="${this.nodeUrl}/arbitrary/THUMBNAIL/${this.name}/qortal_avatar?async=true&apiKey=${this.myNode.apiKey}"
|
||||
style="width:100%; height:100%;border-radius:50%"
|
||||
onerror="this.onerror=null; this.src='/img/incognito.png';"
|
||||
/>
|
||||
</div>
|
||||
` : ''
|
||||
}
|
||||
</div>
|
||||
`;
|
||||
`
|
||||
}
|
||||
|
||||
firstUpdated() {
|
||||
this._fetchImage()
|
||||
}
|
||||
|
||||
getNodeUrl() {
|
||||
const myNode = store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
return myNode.protocol + '://' + myNode.domain + ':' + myNode.port
|
||||
}
|
||||
|
||||
getMyNode() {
|
||||
return store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
}
|
||||
|
||||
async fetchResource() {
|
||||
try {
|
||||
if (this.isFetching) return
|
||||
|
||||
this.isFetching = true
|
||||
|
||||
await axios.get(
|
||||
`${this.nodeUrl}/arbitrary/resource/properties/${this.resource.service}/${this.resource.name}/${this.resource.identifier}?apiKey=${this.myNode.apiKey}`
|
||||
)
|
||||
|
||||
this.isFetching = false
|
||||
} catch (error) {
|
||||
this.isFetching = false
|
||||
}
|
||||
}
|
||||
|
||||
async fetchVideoUrl() {
|
||||
await this.fetchResource()
|
||||
}
|
||||
|
||||
async getRawData() {
|
||||
const url = `${this.nodeUrl}/arbitrary/${this.resource.service}/${this.resource.name}/${this.resource.identifier}?apiKey=${this.myNode.apiKey}`
|
||||
|
||||
return await requestQueueRawData.enqueue(() => {
|
||||
return axios.get(url)
|
||||
})
|
||||
}
|
||||
|
||||
updateDisplayWithPlaceholders(display, resource, rawdata) {
|
||||
const pattern = /\$\$\{([a-zA-Z0-9_\.]+)\}\$\$/g
|
||||
|
||||
for (const key in display) {
|
||||
const value = display[key]
|
||||
|
||||
display[key] = value.replace(pattern, (match, p1) => {
|
||||
if (p1.startsWith('rawdata.')) {
|
||||
const dataKey = p1.split('.')[1]
|
||||
|
||||
if (rawdata[dataKey] === undefined) {
|
||||
console.error('rawdata key not found:', dataKey)
|
||||
}
|
||||
|
||||
return rawdata[dataKey] || match
|
||||
} else if (p1.startsWith('resource.')) {
|
||||
const resourceKey = p1.split('.')[1]
|
||||
|
||||
if (resource[resourceKey] === undefined) {
|
||||
console.error('resource key not found:', resourceKey)
|
||||
}
|
||||
|
||||
return resource[resourceKey] || match
|
||||
}
|
||||
|
||||
return match
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
async fetchStatus() {
|
||||
let isCalling = false
|
||||
let percentLoaded = 0
|
||||
let timer = 24
|
||||
|
||||
const response = await requestQueueStatus.enqueue(() => {
|
||||
return axios.get(
|
||||
`${this.nodeUrl}/arbitrary/resource/status/${this.resource.service}/${this.resource.name}/${this.resource.identifier}?apiKey=${this.myNode.apiKey}`
|
||||
)
|
||||
})
|
||||
|
||||
if (response && response.data && response.data.status === 'READY') {
|
||||
this.status = response.data
|
||||
return
|
||||
}
|
||||
|
||||
const intervalId = setInterval(async () => {
|
||||
if (isCalling) return
|
||||
|
||||
isCalling = true
|
||||
|
||||
const data = await requestQueue.enqueue(() => {
|
||||
return axios.get(
|
||||
`${this.nodeUrl}/arbitrary/resource/status/${this.resource.service}/${this.resource.name}/${this.resource.identifier}?apiKey=${this.myNode.apiKey}`
|
||||
)
|
||||
})
|
||||
|
||||
const res = data.data
|
||||
|
||||
isCalling = false
|
||||
|
||||
if (res.localChunkCount) {
|
||||
if (res.percentLoaded) {
|
||||
if (res.percentLoaded === percentLoaded && res.percentLoaded !== 100) {
|
||||
timer = timer - 5
|
||||
} else {
|
||||
timer = 24
|
||||
}
|
||||
|
||||
if (timer < 0) {
|
||||
clearInterval(intervalId)
|
||||
}
|
||||
|
||||
percentLoaded = res.percentLoaded
|
||||
}
|
||||
|
||||
this.status = res
|
||||
|
||||
if (this.status.status === 'DOWNLOADED') {
|
||||
await this.fetchResource()
|
||||
}
|
||||
}
|
||||
|
||||
// check if progress is 100% and clear interval if true
|
||||
if (res.status === 'READY') {
|
||||
clearInterval(intervalId)
|
||||
this.status = res
|
||||
this.isReady = true
|
||||
}
|
||||
}, 5000) // 5 second interval
|
||||
}
|
||||
|
||||
async _fetchImage() {
|
||||
try {
|
||||
await this.fetchVideoUrl()
|
||||
await this.fetchStatus()
|
||||
} catch (error) {
|
||||
/* empty */
|
||||
}
|
||||
}
|
||||
|
||||
// Standard functions
|
||||
getApiKey() {
|
||||
const coreNode = store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
return coreNode.apiKey
|
||||
}
|
||||
|
||||
isEmptyArray(arr) {
|
||||
if (!arr) { return true }
|
||||
return arr.length === 0
|
||||
}
|
||||
|
||||
round(number) {
|
||||
return (Math.round(parseFloat(number) * 1e8) / 1e8).toFixed(8)
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define('avatar-component', AvatarComponent);
|
||||
window.customElements.define('avatar-component', AvatarComponent)
|
@ -1,354 +1,214 @@
|
||||
import { css, html, LitElement } from 'lit';
|
||||
import { connect } from 'pwa-helpers';
|
||||
|
||||
import '@vaadin/item';
|
||||
import '@vaadin/list-box';
|
||||
import '@polymer/paper-icon-button/paper-icon-button.js';
|
||||
import '@polymer/iron-icons/iron-icons.js';
|
||||
import { store } from '../../store.js';
|
||||
import { setNewTab } from '../../redux/app/app-actions.js';
|
||||
import '@material/mwc-icon';
|
||||
import { get, translate } from '../../../translate/index.js';
|
||||
import { repeat } from 'lit/directives/repeat.js';
|
||||
import '../../../../plugins/plugins/core/components/TimeAgo.js';
|
||||
import '../notification-view/popover.js';
|
||||
import ShortUniqueId from 'short-unique-id';
|
||||
import { html, LitElement } from 'lit'
|
||||
import { connect } from 'pwa-helpers'
|
||||
import { store } from '../../store'
|
||||
import { setNewTab } from '../../redux/app/app-actions'
|
||||
import { get } from '../../../translate'
|
||||
import { beginnerChecklistStyles } from '../../styles/core-css'
|
||||
import ShortUniqueId from 'short-unique-id'
|
||||
import '../notification-view/popover'
|
||||
import '../../../../plugins/plugins/core/components/TimeAgo'
|
||||
import '@material/mwc-icon'
|
||||
import '@polymer/paper-icon-button/paper-icon-button.js'
|
||||
import '@polymer/iron-icons/iron-icons.js'
|
||||
import '@vaadin/item'
|
||||
import '@vaadin/list-box'
|
||||
|
||||
class BeginnerChecklist extends connect(store)(LitElement) {
|
||||
static properties = {
|
||||
notifications: { type: Array },
|
||||
showChecklist: { type: Boolean },
|
||||
theme: { type: String, reflect: true },
|
||||
isSynced: { type: Boolean },
|
||||
hasName: { type: Boolean },
|
||||
hasTourFinished: { type: Boolean },
|
||||
};
|
||||
|
||||
constructor() {
|
||||
super();
|
||||
this.showChecklist = false;
|
||||
this.initialFetch = false;
|
||||
this.theme = localStorage.getItem('qortalTheme')
|
||||
? localStorage.getItem('qortalTheme')
|
||||
: 'light';
|
||||
this.isSynced = false;
|
||||
this.hasName = null;
|
||||
this.nodeUrl = this.getNodeUrl();
|
||||
this.myNode = this.getMyNode();
|
||||
this.hasTourFinished = null;
|
||||
this._controlTourFinished = this._controlTourFinished.bind(this);
|
||||
this.uid = new ShortUniqueId();
|
||||
static get properties() {
|
||||
return {
|
||||
notifications: { type: Array },
|
||||
showChecklist: { type: Boolean },
|
||||
isSynced: { type: Boolean },
|
||||
hasName: { type: Boolean },
|
||||
hasTourFinished: { type: Boolean },
|
||||
theme: { type: String, reflect: true }
|
||||
}
|
||||
}
|
||||
|
||||
_controlTourFinished() {
|
||||
this.hasTourFinished = true;
|
||||
static get styles() {
|
||||
return [beginnerChecklistStyles]
|
||||
}
|
||||
|
||||
constructor() {
|
||||
super()
|
||||
this.showChecklist = false
|
||||
this.initialFetch = false
|
||||
this.isSynced = false
|
||||
this.hasName = null
|
||||
this.nodeUrl = this.getNodeUrl()
|
||||
this.myNode = this.getMyNode()
|
||||
this.hasTourFinished = null
|
||||
this._controlTourFinished = this._controlTourFinished.bind(this)
|
||||
this.uid = new ShortUniqueId()
|
||||
this.theme = localStorage.getItem('qortalTheme') ? localStorage.getItem('qortalTheme') : 'light'
|
||||
}
|
||||
|
||||
render() {
|
||||
return this.hasName === false || this.hasTourFinished === false ?
|
||||
html`
|
||||
<div class="layout">
|
||||
<popover-component for="popover-checklist" message=${get('tour.tour16')}></popover-component>
|
||||
<div id="popover-checklist" @click=${() => this._toggleChecklist()}>
|
||||
<mwc-icon id="checklist-general-icon" style=${`color: ${!this.hasName ? 'red' : 'var(--black)'}; cursor:pointer;user-select:none`}>
|
||||
checklist
|
||||
</mwc-icon>
|
||||
<vaadin-tooltip for="checklist-general-icon" position="bottom" hover-delay=${400} hide-delay=${1} text=${get('tour.tour16')}></vaadin-tooltip>
|
||||
</div>
|
||||
<div id="checklist-panel" class="popover-panel" style="visibility:${this.showChecklist ? 'visibile' : 'hidden'}" tabindex="0" @blur=${this.handleBlur}>
|
||||
<div class="list">
|
||||
<div class="task-list-item">
|
||||
<p>Are you synced?</p>
|
||||
${this.syncPercentage === 100 ?
|
||||
html`
|
||||
<mwc-icon id="checklist-general-icon" style="color: green; user-select:none">
|
||||
task_alt
|
||||
</mwc-icon>
|
||||
`
|
||||
: html`
|
||||
<mwc-icon id="checklist-general-icon" style="color: red; user-select:none">
|
||||
radio_button_unchecked
|
||||
</mwc-icon>
|
||||
`
|
||||
}
|
||||
</div>
|
||||
<div
|
||||
class="task-list-item"
|
||||
style="cursor:pointer"
|
||||
@click=${() => {
|
||||
store.dispatch(
|
||||
setNewTab({
|
||||
url: `group-management`,
|
||||
id: this.uid.rnd(),
|
||||
myPlugObj: {
|
||||
url: 'name-registration',
|
||||
domain: 'core',
|
||||
page: 'name-registration/index.html',
|
||||
title: 'Name Registration',
|
||||
icon: 'vaadin:user-check',
|
||||
mwcicon: 'manage_accounts',
|
||||
pluginNumber: 'plugin-qCmtXAQmtu',
|
||||
menus: [],
|
||||
parent: false
|
||||
},
|
||||
openExisting: true
|
||||
})
|
||||
);
|
||||
this.handleBlur();
|
||||
}}
|
||||
>
|
||||
<p>Do you have a name registered?</p>
|
||||
${this.hasName ?
|
||||
html`
|
||||
<mwc-icon id="checklist-general-icon" style="color: green; user-select:none">
|
||||
task_alt
|
||||
</mwc-icon>
|
||||
` : html`
|
||||
<mwc-icon id="checklist-general-icon" style="color: red; user-select:none">
|
||||
radio_button_unchecked
|
||||
</mwc-icon>
|
||||
`
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`
|
||||
: ''
|
||||
}
|
||||
|
||||
firstUpdated() {
|
||||
this.address = store.getState().app.selectedAddress.address;
|
||||
this.hasTourFinished = JSON.parse(
|
||||
localStorage.getItem(`hasViewedTour-${this.address}`) || 'null'
|
||||
);
|
||||
this.address = store.getState().app.selectedAddress.address
|
||||
this.hasTourFinished = JSON.parse(localStorage.getItem(`hasViewedTour-${this.address}`) || 'null')
|
||||
}
|
||||
|
||||
_controlTourFinished() {
|
||||
this.hasTourFinished = true
|
||||
}
|
||||
|
||||
connectedCallback() {
|
||||
super.connectedCallback();
|
||||
window.addEventListener(
|
||||
'send-tour-finished',
|
||||
this._controlTourFinished
|
||||
);
|
||||
super.connectedCallback()
|
||||
window.addEventListener('send-tour-finished', this._controlTourFinished)
|
||||
}
|
||||
|
||||
disconnectedCallback() {
|
||||
window.removeEventListener(
|
||||
'send-tour-finished',
|
||||
this._controlTourFinished
|
||||
);
|
||||
|
||||
super.disconnectedCallback();
|
||||
window.removeEventListener('send-tour-finished', this._controlTourFinished)
|
||||
super.disconnectedCallback()
|
||||
}
|
||||
|
||||
getNodeUrl() {
|
||||
const myNode =
|
||||
window.parent.reduxStore.getState().app.nodeConfig.knownNodes[
|
||||
window.parent.reduxStore.getState().app.nodeConfig.node
|
||||
];
|
||||
|
||||
const nodeUrl =
|
||||
myNode.protocol + '://' + myNode.domain + ':' + myNode.port;
|
||||
return nodeUrl;
|
||||
const myNode = store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
return myNode.protocol + '://' + myNode.domain + ':' + myNode.port
|
||||
}
|
||||
getMyNode() {
|
||||
const myNode =
|
||||
window.parent.reduxStore.getState().app.nodeConfig.knownNodes[
|
||||
window.parent.reduxStore.getState().app.nodeConfig.node
|
||||
];
|
||||
|
||||
return myNode;
|
||||
getMyNode() {
|
||||
return store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
}
|
||||
|
||||
async getName(recipient) {
|
||||
try {
|
||||
if (!recipient) return '';
|
||||
const endpoint = `${this.nodeUrl}/names/address/${recipient}`;
|
||||
const res = await fetch(endpoint);
|
||||
const getNames = await res.json();
|
||||
if (!recipient) return ''
|
||||
|
||||
if (Array.isArray(getNames) && getNames.length > 0) {
|
||||
this.hasName = true;
|
||||
} else {
|
||||
this.hasName = false;
|
||||
}
|
||||
const endpoint = `${this.nodeUrl}/names/address/${recipient}`
|
||||
const res = await fetch(endpoint)
|
||||
const getNames = await res.json()
|
||||
|
||||
this.hasName = Array.isArray(getNames) && getNames.length > 0
|
||||
} catch (error) {
|
||||
return '';
|
||||
return ''
|
||||
}
|
||||
}
|
||||
|
||||
stateChanged(state) {
|
||||
if (
|
||||
state.app.nodeStatus &&
|
||||
state.app.nodeStatus.syncPercent !== this.syncPercentage
|
||||
) {
|
||||
this.syncPercentage = state.app.nodeStatus.syncPercent;
|
||||
if (state.app.nodeStatus && state.app.nodeStatus.syncPercent !== this.syncPercentage) {
|
||||
this.syncPercentage = state.app.nodeStatus.syncPercent
|
||||
|
||||
if (
|
||||
!this.hasAttempted &&
|
||||
state.app.selectedAddress &&
|
||||
state.app.nodeStatus.syncPercent === 100
|
||||
) {
|
||||
this.hasAttempted = true;
|
||||
this.getName(state.app.selectedAddress.address);
|
||||
if (!this.hasAttempted && state.app.selectedAddress && state.app.nodeStatus.syncPercent === 100) {
|
||||
this.hasAttempted = true
|
||||
this.getName(state.app.selectedAddress.address)
|
||||
}
|
||||
}
|
||||
if (
|
||||
state.app.accountInfo &&
|
||||
state.app.accountInfo.names.length &&
|
||||
state.app.nodeStatus &&
|
||||
state.app.nodeStatus.syncPercent === 100 &&
|
||||
this.hasName === false &&
|
||||
this.hasAttempted &&
|
||||
state.app.accountInfo &&
|
||||
state.app.accountInfo.names &&
|
||||
|
||||
if (state.app.accountInfo &&
|
||||
state.app.accountInfo.names.length && state.app.nodeStatus && state.app.nodeStatus.syncPercent === 100 &&
|
||||
this.hasName === false && this.hasAttempted && state.app.accountInfo && state.app.accountInfo.names &&
|
||||
state.app.accountInfo.names.length > 0
|
||||
) {
|
||||
this.hasName = true;
|
||||
}
|
||||
this.hasName = true
|
||||
}
|
||||
}
|
||||
|
||||
handleBlur() {
|
||||
setTimeout(() => {
|
||||
if (!this.shadowRoot.contains(document.activeElement)) {
|
||||
this.showChecklist = false;
|
||||
this.showChecklist = false
|
||||
}
|
||||
}, 0);
|
||||
}
|
||||
|
||||
render() {
|
||||
return this.hasName === false || this.hasTourFinished === false
|
||||
? html`
|
||||
<div class="layout">
|
||||
<popover-component
|
||||
for="popover-checklist"
|
||||
message=${get('tour.tour16')}
|
||||
></popover-component>
|
||||
<div
|
||||
id="popover-checklist"
|
||||
@click=${() => this._toggleChecklist()}
|
||||
>
|
||||
<mwc-icon
|
||||
id="checklist-general-icon"
|
||||
style=${`color: ${
|
||||
!this.hasName ? 'red' : 'var(--black)'
|
||||
}; cursor:pointer;user-select:none`}
|
||||
>checklist</mwc-icon
|
||||
>
|
||||
<vaadin-tooltip
|
||||
for="checklist-general-icon"
|
||||
position="bottom"
|
||||
hover-delay=${400}
|
||||
hide-delay=${1}
|
||||
text=${get('tour.tour16')}
|
||||
>
|
||||
</vaadin-tooltip>
|
||||
</div>
|
||||
|
||||
<div
|
||||
id="checklist-panel"
|
||||
class="popover-panel"
|
||||
style="visibility:${this.showChecklist
|
||||
? 'visibile'
|
||||
: 'hidden'}"
|
||||
tabindex="0"
|
||||
@blur=${this.handleBlur}
|
||||
>
|
||||
<div class="list">
|
||||
<div class="task-list-item">
|
||||
<p>Are you synced?</p>
|
||||
${this.syncPercentage === 100
|
||||
? html`
|
||||
<mwc-icon
|
||||
id="checklist-general-icon"
|
||||
style="color: green; user-select:none"
|
||||
>task_alt</mwc-icon
|
||||
>
|
||||
`
|
||||
: html`
|
||||
<mwc-icon
|
||||
id="checklist-general-icon"
|
||||
style="color: red; user-select:none"
|
||||
>radio_button_unchecked</mwc-icon
|
||||
>
|
||||
`}
|
||||
</div>
|
||||
|
||||
<div
|
||||
class="task-list-item"
|
||||
style="cursor:pointer"
|
||||
@click=${() => {
|
||||
store.dispatch(
|
||||
setNewTab({
|
||||
url: `group-management`,
|
||||
id: this.uid.rnd(),
|
||||
myPlugObj: {
|
||||
url: 'name-registration',
|
||||
domain: 'core',
|
||||
page: 'name-registration/index.html',
|
||||
title: 'Name Registration',
|
||||
icon: 'vaadin:user-check',
|
||||
mwcicon: 'manage_accounts',
|
||||
pluginNumber:
|
||||
'plugin-qCmtXAQmtu',
|
||||
menus: [],
|
||||
parent: false,
|
||||
},
|
||||
openExisting: true,
|
||||
})
|
||||
);
|
||||
this.handleBlur();
|
||||
}}
|
||||
>
|
||||
<p>Do you have a name registered?</p>
|
||||
${this.hasName
|
||||
? html`
|
||||
<mwc-icon
|
||||
id="checklist-general-icon"
|
||||
style="color: green; user-select:none"
|
||||
>task_alt</mwc-icon
|
||||
>
|
||||
`
|
||||
: html`
|
||||
<mwc-icon
|
||||
id="checklist-general-icon"
|
||||
style="color: red; user-select:none"
|
||||
>radio_button_unchecked</mwc-icon
|
||||
>
|
||||
`}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`
|
||||
: '';
|
||||
}, 0)
|
||||
}
|
||||
|
||||
_toggleChecklist() {
|
||||
this.showChecklist = !this.showChecklist;
|
||||
this.showChecklist = !this.showChecklist
|
||||
|
||||
if (this.showChecklist) {
|
||||
requestAnimationFrame(() => {
|
||||
this.shadowRoot.getElementById('checklist-panel').focus();
|
||||
});
|
||||
this.shadowRoot.getElementById('checklist-panel').focus()
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
static styles = css`
|
||||
.layout {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
}
|
||||
// Standard functions
|
||||
getApiKey() {
|
||||
const coreNode = store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
return coreNode.apiKey
|
||||
}
|
||||
|
||||
.count {
|
||||
position: absolute;
|
||||
top: -5px;
|
||||
right: -5px;
|
||||
font-size: 12px;
|
||||
background-color: red;
|
||||
color: white;
|
||||
border-radius: 50%;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
isEmptyArray(arr) {
|
||||
if (!arr) { return true }
|
||||
return arr.length === 0
|
||||
}
|
||||
|
||||
.nocount {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.popover-panel {
|
||||
position: absolute;
|
||||
width: 200px;
|
||||
padding: 10px;
|
||||
background-color: var(--white);
|
||||
border: 1px solid var(--black);
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
||||
top: 40px;
|
||||
max-height: 350px;
|
||||
overflow: auto;
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: #6a6c75 #a1a1a1;
|
||||
}
|
||||
|
||||
.popover-panel::-webkit-scrollbar {
|
||||
width: 11px;
|
||||
}
|
||||
|
||||
.popover-panel::-webkit-scrollbar-track {
|
||||
background: #a1a1a1;
|
||||
}
|
||||
|
||||
.popover-panel::-webkit-scrollbar-thumb {
|
||||
background-color: #6a6c75;
|
||||
border-radius: 6px;
|
||||
border: 3px solid #a1a1a1;
|
||||
}
|
||||
|
||||
.list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
.task-list-item {
|
||||
display: flex;
|
||||
gap: 15px;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.checklist-item {
|
||||
padding: 5px;
|
||||
border-bottom: 1px solid;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
cursor: pointer;
|
||||
transition: 0.2s all;
|
||||
}
|
||||
|
||||
.checklist-item:hover {
|
||||
background: var(--nav-color-hover);
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 16px;
|
||||
color: var(--black);
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
`;
|
||||
round(number) {
|
||||
return (Math.round(parseFloat(number) * 1e8) / 1e8).toFixed(8)
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define('beginner-checklist', BeginnerChecklist);
|
||||
window.customElements.define('beginner-checklist', BeginnerChecklist)
|
@ -1,91 +1,67 @@
|
||||
import {Sha256} from 'asmcrypto.js'
|
||||
import { Sha256 } from 'asmcrypto.js'
|
||||
|
||||
|
||||
function sbrk(size, heap){
|
||||
let brk = 512 * 1024 // stack top
|
||||
let old = brk
|
||||
brk += size
|
||||
|
||||
if (brk > heap.length)
|
||||
throw new Error('heap exhausted')
|
||||
|
||||
return old
|
||||
function sbrk(size, heap) {
|
||||
let brk = 512 * 1024 // stack top
|
||||
let old = brk
|
||||
brk += size
|
||||
if (brk > heap.length) throw new Error('heap exhausted')
|
||||
return old
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
self.addEventListener('message', async e => {
|
||||
const response = await computePow(e.data.convertedBytes, e.data.path)
|
||||
postMessage(response)
|
||||
|
||||
const response = await computePow(e.data.convertedBytes, e.data.path)
|
||||
postMessage(response)
|
||||
})
|
||||
|
||||
|
||||
const memory = new WebAssembly.Memory({ initial: 256, maximum: 256 })
|
||||
const heap = new Uint8Array(memory.buffer)
|
||||
|
||||
|
||||
|
||||
const computePow = async (convertedBytes, path) => {
|
||||
let response = null
|
||||
await new Promise((resolve, reject) => {
|
||||
const _convertedBytesArray = Object.keys(convertedBytes).map(
|
||||
function (key) {
|
||||
return convertedBytes[key]
|
||||
}
|
||||
)
|
||||
const convertedBytesArray = new Uint8Array(_convertedBytesArray)
|
||||
const convertedBytesHash = new Sha256()
|
||||
.process(convertedBytesArray)
|
||||
.finish().result
|
||||
const hashPtr = sbrk(32, heap)
|
||||
const hashAry = new Uint8Array(
|
||||
memory.buffer,
|
||||
hashPtr,
|
||||
32
|
||||
)
|
||||
hashAry.set(convertedBytesHash)
|
||||
const difficulty = 14
|
||||
const workBufferLength = 8 * 1024 * 1024
|
||||
const workBufferPtr = sbrk(
|
||||
workBufferLength,
|
||||
heap
|
||||
)
|
||||
const importObject = {
|
||||
env: {
|
||||
memory: memory
|
||||
}
|
||||
}
|
||||
function loadWebAssembly(filename, imports) {
|
||||
return fetch(filename)
|
||||
.then(response => response.arrayBuffer())
|
||||
.then(buffer => WebAssembly.compile(buffer))
|
||||
.then(module => {
|
||||
return new WebAssembly.Instance(module, importObject)
|
||||
})
|
||||
}
|
||||
loadWebAssembly(path)
|
||||
.then(wasmModule => {
|
||||
response = {
|
||||
nonce: wasmModule.exports.compute2(hashPtr, workBufferPtr, workBufferLength, difficulty),
|
||||
|
||||
|
||||
let response = null
|
||||
|
||||
await new Promise((resolve, reject)=> {
|
||||
|
||||
const _convertedBytesArray = Object.keys(convertedBytes).map(
|
||||
function (key) {
|
||||
return convertedBytes[key]
|
||||
}
|
||||
)
|
||||
const convertedBytesArray = new Uint8Array(_convertedBytesArray)
|
||||
const convertedBytesHash = new Sha256()
|
||||
.process(convertedBytesArray)
|
||||
.finish().result
|
||||
const hashPtr = sbrk(32, heap)
|
||||
const hashAry = new Uint8Array(
|
||||
memory.buffer,
|
||||
hashPtr,
|
||||
32
|
||||
)
|
||||
|
||||
hashAry.set(convertedBytesHash)
|
||||
const difficulty = 14
|
||||
const workBufferLength = 8 * 1024 * 1024
|
||||
const workBufferPtr = sbrk(
|
||||
workBufferLength,
|
||||
heap
|
||||
)
|
||||
|
||||
const importObject = {
|
||||
env: {
|
||||
memory: memory
|
||||
},
|
||||
};
|
||||
|
||||
function loadWebAssembly(filename, imports) {
|
||||
return fetch(filename)
|
||||
.then(response => response.arrayBuffer())
|
||||
.then(buffer => WebAssembly.compile(buffer))
|
||||
.then(module => {
|
||||
return new WebAssembly.Instance(module, importObject);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
loadWebAssembly(path)
|
||||
.then(wasmModule => {
|
||||
response = {
|
||||
nonce : wasmModule.exports.compute2(hashPtr, workBufferPtr, workBufferLength, difficulty),
|
||||
|
||||
}
|
||||
resolve()
|
||||
|
||||
});
|
||||
|
||||
|
||||
})
|
||||
|
||||
return response
|
||||
}
|
||||
}
|
||||
resolve()
|
||||
})
|
||||
})
|
||||
return response
|
||||
}
|
@ -1,179 +1,143 @@
|
||||
import {css, html, LitElement} from 'lit'
|
||||
import {store} from '../../store'
|
||||
import {connect} from 'pwa-helpers'
|
||||
import {translate} from '../../../translate/index.js'
|
||||
import { html, LitElement } from 'lit'
|
||||
import { connect } from 'pwa-helpers'
|
||||
import { store } from '../../store'
|
||||
import { translate } from '../../../translate'
|
||||
import { coreSyncStatusStyles } from '../../styles/core-css'
|
||||
|
||||
class CoreSyncStatus extends connect(store)(LitElement) {
|
||||
static get properties() {
|
||||
return {
|
||||
nodeStatus: {type: Object},
|
||||
coreInfos: { type: Array }
|
||||
nodeInfos: { type: Array },
|
||||
coreInfos: { type: Array },
|
||||
theme: { type: String, reflect: true }
|
||||
}
|
||||
}
|
||||
|
||||
static get styles() {
|
||||
return [coreSyncStatusStyles]
|
||||
}
|
||||
|
||||
constructor() {
|
||||
super()
|
||||
this.nodeStatus = {}
|
||||
this.nodeInfos = []
|
||||
this.coreInfos = []
|
||||
this.theme = localStorage.getItem('qortalTheme') ? localStorage.getItem('qortalTheme') : 'light'
|
||||
}
|
||||
|
||||
static styles = css`
|
||||
.lineHeight {
|
||||
line-height: 33%;
|
||||
}
|
||||
|
||||
.tooltip {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.tooltip .bottom {
|
||||
min-width: 200px;
|
||||
max-width: 250px;
|
||||
top: 35px;
|
||||
left: 50%;
|
||||
transform: translate(-50%, 0);
|
||||
padding: 10px 10px;
|
||||
color: var(--black);
|
||||
background-color: var(--white);
|
||||
font-weight: normal;
|
||||
font-size: 13px;
|
||||
border-radius: 8px;
|
||||
position: absolute;
|
||||
z-index: 99999999;
|
||||
box-sizing: border-box;
|
||||
box-shadow: 0 1px 8px rgba(0,0,0,0.5);
|
||||
border: 1px solid var(--black);
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
transition: opacity 0.8s;
|
||||
}
|
||||
|
||||
.tooltip:hover .bottom {
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.tooltip .bottom i {
|
||||
position: absolute;
|
||||
bottom: 100%;
|
||||
left: 50%;
|
||||
margin-left: -12px;
|
||||
width: 24px;
|
||||
height: 12px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.tooltip .bottom i::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
left: 50%;
|
||||
transform: translate(-50%,50%) rotate(45deg);
|
||||
background-color: var(--white);
|
||||
border: 1px solid var(--black);
|
||||
box-shadow: 0 1px 8px rgba(0,0,0,0.5);
|
||||
}
|
||||
|
||||
`
|
||||
|
||||
render() {
|
||||
return html`
|
||||
<div id="core-sync-status-id">
|
||||
${this.renderSyncStatusIcon()}
|
||||
${this.renderSyncStatusIcon()}
|
||||
</div>
|
||||
`
|
||||
}
|
||||
|
||||
firstUpdated() {
|
||||
this.getNodeInfos()
|
||||
this.getCoreInfos()
|
||||
|
||||
setInterval(() => {
|
||||
this.getNodeInfos()
|
||||
this.getCoreInfos()
|
||||
}, 60000)
|
||||
}, 30000)
|
||||
}
|
||||
|
||||
|
||||
async getNodeInfos() {
|
||||
const appInfoNode = store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
const appInfoUrl = appInfoNode.protocol + '://' + appInfoNode.domain + ':' + appInfoNode.port
|
||||
const nodeInfoUrl = `${appInfoUrl}/admin/status`
|
||||
|
||||
await fetch(nodeInfoUrl).then(response => {
|
||||
return response.json()
|
||||
}).then(data => {
|
||||
this.nodeInfos = data
|
||||
}).catch(err => {
|
||||
console.error('Request failed', err)
|
||||
})
|
||||
}
|
||||
|
||||
async getCoreInfos() {
|
||||
const corInfo = store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
const coreInfoUrl = corInfo.protocol + '://' + corInfo.domain + ':' + corInfo.port
|
||||
const infoUrl = `${coreInfoUrl}/admin/info`
|
||||
await fetch(infoUrl).then(response => {
|
||||
const appCoreNode = store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
const appCoreUrl = appCoreNode.protocol + '://' + appCoreNode.domain + ':' + appCoreNode.port
|
||||
const coreInfoUrl = `${appCoreUrl}/admin/info`
|
||||
|
||||
await fetch(coreInfoUrl).then(response => {
|
||||
return response.json()
|
||||
}).then(data => {
|
||||
this.coreInfos = data
|
||||
}).catch(err => {
|
||||
console.error('Request failed', err)
|
||||
})
|
||||
}
|
||||
|
||||
renderSyncStatusIcon() {
|
||||
if (this.nodeStatus.isSynchronizing === true && this.nodeStatus.syncPercent === 99) {
|
||||
if (this.nodeInfos.isSynchronizing === true && this.nodeInfos.syncPercent === 99) {
|
||||
return html`
|
||||
<div class="tooltip" style="display: inline;">
|
||||
<span><img src="/img/syncing.png" style="height: 24px; width: 24px; padding-top: 4px;"></span>
|
||||
<div class="bottom">
|
||||
<h3>${translate("walletprofile.wp3")}</h3>
|
||||
<h4 class="lineHeight">${translate("appinfo.coreversion")}: <span style="color: #03a9f4">${this.coreInfos.buildVersion ? (this.coreInfos.buildVersion).substring(0,12) : ''}</span></h4>
|
||||
<h4 class="lineHeight">${translate("appinfo.synchronizing")}... <span style="color: #03a9f4">${this.nodeStatus.syncPercent !== undefined ? this.nodeStatus.syncPercent + '%' : ''}</span></h4>
|
||||
<h4 class="lineHeight">${translate("appinfo.blockheight")}: <span style="color: #03a9f4">${this.nodeStatus.height ? this.nodeStatus.height : ''}</span></h4>
|
||||
<h4 class="lineHeight">${translate("appinfo.peers")}: <span style="color: #03a9f4">${this.nodeStatus.numberOfConnections ? this.nodeStatus.numberOfConnections : ''}</span></h4>
|
||||
<h4 class="lineHeight">${translate("appinfo.coreversion")}: <span style="color: #03a9f4">${this.coreInfos.buildVersion ? (this.coreInfos.buildVersion).substring(0, 12) : ''}</span></h4>
|
||||
<h4 class="lineHeight">${translate("appinfo.synchronizing")}... <span style="color: #03a9f4">${this.nodeInfos.syncPercent !== undefined ? this.nodeInfos.syncPercent + '%' : ''}</span></h4>
|
||||
<h4 class="lineHeight">${translate("appinfo.blockheight")}: <span style="color: #03a9f4">${this.nodeInfos.height ? this.nodeInfos.height : ''}</span></h4>
|
||||
<h4 class="lineHeight">${translate("appinfo.peers")}: <span style="color: #03a9f4">${this.nodeInfos.numberOfConnections ? this.nodeInfos.numberOfConnections : ''}</span></h4>
|
||||
<i></i>
|
||||
</div>
|
||||
</div>
|
||||
`
|
||||
} else if (this.nodeStatus.isSynchronizing === true && this.nodeStatus.isMintingPossible === false && this.nodeStatus.syncPercent === 100) {
|
||||
} else if (this.nodeInfos.isSynchronizing === true && this.nodeInfos.isMintingPossible === false && this.nodeInfos.syncPercent === 100) {
|
||||
return html`
|
||||
<div class="tooltip" style="display: inline;">
|
||||
<span><img src="/img/synced.png" style="height: 24px; width: 24px; padding-top: 4px;"></span>
|
||||
<div class="bottom">
|
||||
<h3>${translate("walletprofile.wp3")}</h3>
|
||||
<h4 class="lineHeight">${translate("appinfo.coreversion")}: <span style="color: #03a9f4">${this.coreInfos.buildVersion ? (this.coreInfos.buildVersion).substring(0,12) : ''}</span></h4>
|
||||
<h4 class="lineHeight">${translate("appinfo.coreversion")}: <span style="color: #03a9f4">${this.coreInfos.buildVersion ? (this.coreInfos.buildVersion).substring(0, 12) : ''}</span></h4>
|
||||
<h4 class="lineHeight">${translate("walletprofile.wp4")} ${translate("walletprofile.wp2")}</h4>
|
||||
<h4 class="lineHeight">${translate("appinfo.blockheight")}: <span style="color: #03a9f4">${this.nodeStatus.height ? this.nodeStatus.height : ''}</span></h4>
|
||||
<h4 class="lineHeight">${translate("appinfo.peers")}: <span style="color: #03a9f4">${this.nodeStatus.numberOfConnections ? this.nodeStatus.numberOfConnections : ''}</span></h4>
|
||||
<h4 class="lineHeight">${translate("appinfo.blockheight")}: <span style="color: #03a9f4">${this.nodeInfos.height ? this.nodeInfos.height : ''}</span></h4>
|
||||
<h4 class="lineHeight">${translate("appinfo.peers")}: <span style="color: #03a9f4">${this.nodeInfos.numberOfConnections ? this.nodeInfos.numberOfConnections : ''}</span></h4>
|
||||
<i></i>
|
||||
</div>
|
||||
</div>
|
||||
`
|
||||
} else if (this.nodeStatus.isSynchronizing === false && this.nodeStatus.isMintingPossible === false && this.nodeStatus.syncPercent === 100) {
|
||||
} else if (this.nodeInfos.isSynchronizing === false && this.nodeInfos.isMintingPossible === false && this.nodeInfos.syncPercent === 100) {
|
||||
return html`
|
||||
<div class="tooltip" style="display: inline;">
|
||||
<span><img src="/img/synced.png" style="height: 24px; width: 24px; padding-top: 4px;"></span>
|
||||
<div class="bottom">
|
||||
<h3>${translate("walletprofile.wp3")}</h3>
|
||||
<h4 class="lineHeight">${translate("appinfo.coreversion")}: <span style="color: #03a9f4">${this.coreInfos.buildVersion ? (this.coreInfos.buildVersion).substring(0,12) : ''}</span></h4>
|
||||
<h4 class="lineHeight">${translate("appinfo.coreversion")}: <span style="color: #03a9f4">${this.coreInfos.buildVersion ? (this.coreInfos.buildVersion).substring(0, 12) : ''}</span></h4>
|
||||
<h4 class="lineHeight">${translate("walletprofile.wp4")} ${translate("walletprofile.wp2")}</h4>
|
||||
<h4 class="lineHeight">${translate("appinfo.blockheight")}: <span style="color: #03a9f4">${this.nodeStatus.height ? this.nodeStatus.height : ''}</span></h4>
|
||||
<h4 class="lineHeight">${translate("appinfo.peers")}: <span style="color: #03a9f4">${this.nodeStatus.numberOfConnections ? this.nodeStatus.numberOfConnections : ''}</span></h4>
|
||||
<h4 class="lineHeight">${translate("appinfo.blockheight")}: <span style="color: #03a9f4">${this.nodeInfos.height ? this.nodeInfos.height : ''}</span></h4>
|
||||
<h4 class="lineHeight">${translate("appinfo.peers")}: <span style="color: #03a9f4">${this.nodeInfos.numberOfConnections ? this.nodeInfos.numberOfConnections : ''}</span></h4>
|
||||
<i></i>
|
||||
</div>
|
||||
</div>
|
||||
`
|
||||
} else if (this.nodeStatus.isSynchronizing === true && this.nodeStatus.isMintingPossible === true && this.nodeStatus.syncPercent === 100) {
|
||||
} else if (this.nodeInfos.isSynchronizing === true && this.nodeInfos.isMintingPossible === true && this.nodeInfos.syncPercent === 100) {
|
||||
return html`
|
||||
<div class="tooltip" style="display: inline;">
|
||||
<span><img src="/img/synced_minting.png" style="height: 24px; width: 24px; padding-top: 4px;"></span>
|
||||
<div class="bottom">
|
||||
<h3>${translate("walletprofile.wp3")}</h3>
|
||||
<h4 class="lineHeight">${translate("appinfo.coreversion")}: <span style="color: #03a9f4">${this.coreInfos.buildVersion ? (this.coreInfos.buildVersion).substring(0,12) : ''}</span></h4>
|
||||
<h4 class="lineHeight">${translate("appinfo.coreversion")}: <span style="color: #03a9f4">${this.coreInfos.buildVersion ? (this.coreInfos.buildVersion).substring(0, 12) : ''}</span></h4>
|
||||
<h4 class="lineHeight">${translate("walletprofile.wp4")} <span style="color: #03a9f4">( ${translate("walletprofile.wp1")} )</span></h4>
|
||||
<h4 class="lineHeight">${translate("appinfo.blockheight")}: <span style="color: #03a9f4">${this.nodeStatus.height ? this.nodeStatus.height : ''}</span></h4>
|
||||
<h4 class="lineHeight">${translate("appinfo.peers")}: <span style="color: #03a9f4">${this.nodeStatus.numberOfConnections ? this.nodeStatus.numberOfConnections : ''}</span></h4>
|
||||
<h4 class="lineHeight">${translate("appinfo.blockheight")}: <span style="color: #03a9f4">${this.nodeInfos.height ? this.nodeInfos.height : ''}</span></h4>
|
||||
<h4 class="lineHeight">${translate("appinfo.peers")}: <span style="color: #03a9f4">${this.nodeInfos.numberOfConnections ? this.nodeInfos.numberOfConnections : ''}</span></h4>
|
||||
<i></i>
|
||||
</div>
|
||||
</div>
|
||||
`
|
||||
} else if (this.nodeStatus.isSynchronizing === false && this.nodeStatus.isMintingPossible === true && this.nodeStatus.syncPercent === 100) {
|
||||
} else if (this.nodeInfos.isSynchronizing === false && this.nodeInfos.isMintingPossible === true && this.nodeInfos.syncPercent === 100) {
|
||||
return html`
|
||||
<div class="tooltip" style="display: inline;">
|
||||
<span><img src="/img/synced_minting.png" style="height: 24px; width: 24px; padding-top: 4px;"></span>
|
||||
<div class="bottom">
|
||||
<h3>${translate("walletprofile.wp3")}</h3>
|
||||
<h4 class="lineHeight">${translate("appinfo.coreversion")}: <span style="color: #03a9f4">${this.coreInfos.buildVersion ? (this.coreInfos.buildVersion).substring(0,12) : ''}</span></h4>
|
||||
<h4 class="lineHeight">${translate("appinfo.coreversion")}: <span style="color: #03a9f4">${this.coreInfos.buildVersion ? (this.coreInfos.buildVersion).substring(0, 12) : ''}</span></h4>
|
||||
<h4 class="lineHeight">${translate("walletprofile.wp4")} <span style="color: #03a9f4">( ${translate("walletprofile.wp1")} )</span></h4>
|
||||
<h4 class="lineHeight">${translate("appinfo.blockheight")}: <span style="color: #03a9f4">${this.nodeStatus.height ? this.nodeStatus.height : ''}</span></h4>
|
||||
<h4 class="lineHeight">${translate("appinfo.peers")}: <span style="color: #03a9f4">${this.nodeStatus.numberOfConnections ? this.nodeStatus.numberOfConnections : ''}</span></h4>
|
||||
<h4 class="lineHeight">${translate("appinfo.blockheight")}: <span style="color: #03a9f4">${this.nodeInfos.height ? this.nodeInfos.height : ''}</span></h4>
|
||||
<h4 class="lineHeight">${translate("appinfo.peers")}: <span style="color: #03a9f4">${this.nodeInfos.numberOfConnections ? this.nodeInfos.numberOfConnections : ''}</span></h4>
|
||||
<i></i>
|
||||
</div>
|
||||
</div>
|
||||
@ -184,10 +148,10 @@ class CoreSyncStatus extends connect(store)(LitElement) {
|
||||
<span><img src="/img/syncing.png" style="height: 24px; width: 24px; padding-top: 4px;"></span>
|
||||
<div class="bottom">
|
||||
<h3>${translate("walletprofile.wp3")}</h3>
|
||||
<h4 class="lineHeight">${translate("appinfo.coreversion")}: <span style="color: #03a9f4">${this.coreInfos.buildVersion ? (this.coreInfos.buildVersion).substring(0,12) : ''}</span></h4>
|
||||
<h4 class="lineHeight">${translate("appinfo.synchronizing")}... <span style="color: #03a9f4">${this.nodeStatus.syncPercent !== undefined ? this.nodeStatus.syncPercent + '%' : ''}</span></h4>
|
||||
<h4 class="lineHeight">${translate("appinfo.blockheight")}: <span style="color: #03a9f4">${this.nodeStatus.height ? this.nodeStatus.height : ''}</span></h4>
|
||||
<h4 class="lineHeight">${translate("appinfo.peers")}: <span style="color: #03a9f4">${this.nodeStatus.numberOfConnections ? this.nodeStatus.numberOfConnections : ''}</span></h4>
|
||||
<h4 class="lineHeight">${translate("appinfo.coreversion")}: <span style="color: #03a9f4">${this.coreInfos.buildVersion ? (this.coreInfos.buildVersion).substring(0, 12) : ''}</span></h4>
|
||||
<h4 class="lineHeight">${translate("appinfo.synchronizing")}... <span style="color: #03a9f4">${this.nodeInfos.syncPercent !== undefined ? this.nodeInfos.syncPercent + '%' : ''}</span></h4>
|
||||
<h4 class="lineHeight">${translate("appinfo.blockheight")}: <span style="color: #03a9f4">${this.nodeInfos.height ? this.nodeInfos.height : ''}</span></h4>
|
||||
<h4 class="lineHeight">${translate("appinfo.peers")}: <span style="color: #03a9f4">${this.nodeInfos.numberOfConnections ? this.nodeInfos.numberOfConnections : ''}</span></h4>
|
||||
<i></i>
|
||||
</div>
|
||||
</div>
|
||||
@ -196,9 +160,23 @@ class CoreSyncStatus extends connect(store)(LitElement) {
|
||||
}
|
||||
|
||||
stateChanged(state) {
|
||||
this.nodeStatus = state.app.nodeStatus
|
||||
// ...
|
||||
}
|
||||
|
||||
// Standard functions
|
||||
getApiKey() {
|
||||
const coreNode = store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
return coreNode.apiKey
|
||||
}
|
||||
|
||||
isEmptyArray(arr) {
|
||||
if (!arr) { return true }
|
||||
return arr.length === 0
|
||||
}
|
||||
|
||||
round(number) {
|
||||
return (Math.round(parseFloat(number) * 1e8) / 1e8).toFixed(8)
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define('core-sync-status', CoreSyncStatus)
|
||||
window.customElements.define('core-sync-status', CoreSyncStatus)
|
@ -1,370 +1,282 @@
|
||||
import {css, html, LitElement} from 'lit';
|
||||
import {translate,} from '../../../translate/index.js'
|
||||
import { html, LitElement } from 'lit'
|
||||
import { connect } from 'pwa-helpers'
|
||||
import { store } from '../../store'
|
||||
import { setNewTab } from '../../redux/app/app-actions'
|
||||
import { RequestQueueWithPromise } from '../../../../plugins/plugins/utils/classes'
|
||||
import { translate, } from '../../../translate'
|
||||
import { feedItemStyles } from '../../styles/core-css'
|
||||
import axios from 'axios'
|
||||
import '@material/mwc-menu';
|
||||
import '@material/mwc-list/mwc-list-item.js'
|
||||
import {RequestQueueWithPromise} from '../../../../plugins/plugins/utils/queue';
|
||||
import ShortUniqueId from 'short-unique-id'
|
||||
import '../../../../plugins/plugins/core/components/TimeAgo'
|
||||
import {connect} from 'pwa-helpers';
|
||||
import {store} from '../../store';
|
||||
import {setNewTab} from '../../redux/app/app-actions';
|
||||
import ShortUniqueId from 'short-unique-id';
|
||||
|
||||
const requestQueue = new RequestQueueWithPromise(3);
|
||||
const requestQueueRawData = new RequestQueueWithPromise(3);
|
||||
const requestQueueStatus = new RequestQueueWithPromise(3);
|
||||
import '@material/mwc-menu'
|
||||
import '@material/mwc-list/mwc-list-item.js'
|
||||
|
||||
const requestQueue = new RequestQueueWithPromise(3)
|
||||
const requestQueueRawData = new RequestQueueWithPromise(3)
|
||||
const requestQueueStatus = new RequestQueueWithPromise(3)
|
||||
|
||||
export class FeedItem extends connect(store)(LitElement) {
|
||||
static get properties() {
|
||||
return {
|
||||
resource: { type: Object },
|
||||
isReady: { type: Boolean},
|
||||
status: {type: Object},
|
||||
feedItem: {type: Object},
|
||||
appName: {type: String},
|
||||
link: {type: String}
|
||||
};
|
||||
}
|
||||
|
||||
static get styles() {
|
||||
return css`
|
||||
* {
|
||||
--mdc-theme-text-primary-on-background: var(--black);
|
||||
box-sizing: border-box;
|
||||
}
|
||||
:host {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
img {
|
||||
width:100%;
|
||||
max-height:30vh;
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
}
|
||||
.smallLoading,
|
||||
.smallLoading:after {
|
||||
border-radius: 50%;
|
||||
width: 2px;
|
||||
height: 2px;
|
||||
}
|
||||
|
||||
.smallLoading {
|
||||
border-width: 0.8em;
|
||||
border-style: solid;
|
||||
border-color: rgba(3, 169, 244, 0.2) rgba(3, 169, 244, 0.2)
|
||||
rgba(3, 169, 244, 0.2) rgb(3, 169, 244);
|
||||
font-size: 30px;
|
||||
position: relative;
|
||||
text-indent: -9999em;
|
||||
transform: translateZ(0px);
|
||||
animation: 1.1s linear 0s infinite normal none running loadingAnimation;
|
||||
}
|
||||
|
||||
.defaultSize {
|
||||
width: 100%;
|
||||
height: 160px;
|
||||
}
|
||||
.parent-feed-item {
|
||||
position: relative;
|
||||
display: flex;
|
||||
background-color: var(--chat-bubble-bg);
|
||||
flex-grow: 0;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
justify-content: center;
|
||||
border-radius: 5px;
|
||||
padding: 12px 15px 4px 15px;
|
||||
min-width: 150px;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
cursor: pointer;
|
||||
font-size: 16px;
|
||||
}
|
||||
.avatar {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
border-radius:50%;
|
||||
overflow: hidden;
|
||||
display:flex;
|
||||
align-items:center;
|
||||
}
|
||||
.avatarApp {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
border-radius:50%;
|
||||
overflow: hidden;
|
||||
display:flex;
|
||||
align-items:center;
|
||||
}
|
||||
.feed-item-name {
|
||||
user-select: none;
|
||||
color: #03a9f4;
|
||||
margin-bottom: 5px;
|
||||
static get properties() {
|
||||
return {
|
||||
resource: { type: Object },
|
||||
isReady: { type: Boolean },
|
||||
status: { type: Object },
|
||||
feedItem: { type: Object },
|
||||
appName: { type: String },
|
||||
link: { type: String }
|
||||
}
|
||||
}
|
||||
|
||||
.app-name {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
}
|
||||
static get styles() {
|
||||
return [feedItemStyles]
|
||||
}
|
||||
|
||||
mwc-menu {
|
||||
position: absolute;
|
||||
}
|
||||
constructor() {
|
||||
super()
|
||||
this.resource = {
|
||||
identifier: "",
|
||||
name: "",
|
||||
service: ""
|
||||
}
|
||||
this.status = {
|
||||
status: ''
|
||||
}
|
||||
this.isReady = false
|
||||
this.nodeUrl = this.getNodeUrl()
|
||||
this.myNode = this.getMyNode()
|
||||
this.hasCalledWhenDownloaded = false
|
||||
this.isFetching = false
|
||||
this.uid = new ShortUniqueId()
|
||||
this.observer = new IntersectionObserver(entries => {
|
||||
for (const entry of entries) {
|
||||
if (entry.isIntersecting && this.status.status !== 'READY') {
|
||||
this._fetchImage()
|
||||
// Stop observing after the image has started loading
|
||||
this.observer.unobserve(this)
|
||||
}
|
||||
}
|
||||
})
|
||||
this.feedItem = null
|
||||
}
|
||||
|
||||
render() {
|
||||
let avatarImg
|
||||
const avatarUrl = `${this.nodeUrl}/arbitrary/THUMBNAIL/${this.resource.name}/qortal_avatar?async=true`
|
||||
avatarImg = html`<img src="${avatarUrl}" style="width:100%; height:100%;" onerror="this.onerror=null; this.src='/img/incognito.png';" />`
|
||||
|
||||
let avatarImgApp
|
||||
const avatarUrl2 = `${this.nodeUrl}/arbitrary/THUMBNAIL/${this.appName}/qortal_avatar?async=true`
|
||||
avatarImgApp = html`<img src="${avatarUrl2}" style="width:100%; height:100%;" onerror="this.onerror=null; this.src='/img/incognito.png';" />`
|
||||
|
||||
return html`
|
||||
<div
|
||||
class=${[`image-container`, this.status.status !== 'READY' ? 'defaultSize' : '', this.status.status !== 'READY' ? 'hideImg' : '',].join(' ')}
|
||||
style=" box-sizing: border-box;"
|
||||
>
|
||||
${this.status.status !== 'READY' ?
|
||||
html`
|
||||
<div style="display:flex;flex-direction:column;width:100%;height:100%;justify-content:center;align-items:center; box-sizing: border-box;">
|
||||
<div class=${`smallLoading`}></div>
|
||||
<p style="color: var(--black)">
|
||||
${`${Math.round(this.status.percentLoaded || 0).toFixed(0)}% `}${translate('chatpage.cchange94')}
|
||||
</p>
|
||||
</div>
|
||||
`
|
||||
: ''
|
||||
}
|
||||
${this.status.status === 'READY' && this.feedItem ?
|
||||
html`
|
||||
<div class="parent-feed-item" style="position:relative" @click=${this.goToFeedLink}>
|
||||
<div style="display:flex;gap:10px;margin-bottom:5px">
|
||||
<div class="avatar">${avatarImg}</div>
|
||||
<span class="feed-item-name">${this.resource.name}</span>
|
||||
</div>
|
||||
<div>
|
||||
<p>${this.feedItem.title}</p>
|
||||
</div>
|
||||
<div class="app-name">
|
||||
<div class="avatarApp">${avatarImgApp}</div>
|
||||
<message-time timestamp=${this.resource.created}></message-time>
|
||||
</div>
|
||||
</div>
|
||||
`
|
||||
: ''
|
||||
}
|
||||
</div>
|
||||
`
|
||||
}
|
||||
|
||||
@-webkit-keyframes loadingAnimation {
|
||||
0% {
|
||||
-webkit-transform: rotate(0deg);
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
100% {
|
||||
-webkit-transform: rotate(360deg);
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
firstUpdated() {
|
||||
this.observer.observe(this)
|
||||
}
|
||||
|
||||
@keyframes loadingAnimation {
|
||||
0% {
|
||||
-webkit-transform: rotate(0deg);
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
100% {
|
||||
-webkit-transform: rotate(360deg);
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
`;
|
||||
}
|
||||
getNodeUrl() {
|
||||
const myNode = store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
return myNode.protocol + '://' + myNode.domain + ':' + myNode.port
|
||||
}
|
||||
|
||||
constructor() {
|
||||
super();
|
||||
this.resource = {
|
||||
identifier: "",
|
||||
name: "",
|
||||
service: ""
|
||||
}
|
||||
this.status = {
|
||||
status: ''
|
||||
}
|
||||
this.isReady = false
|
||||
this.nodeUrl = this.getNodeUrl()
|
||||
this.myNode = this.getMyNode()
|
||||
this.hasCalledWhenDownloaded = false
|
||||
this.isFetching = false
|
||||
this.uid = new ShortUniqueId()
|
||||
getMyNode() {
|
||||
return store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
}
|
||||
|
||||
this.observer = new IntersectionObserver(entries => {
|
||||
for (const entry of entries) {
|
||||
if (entry.isIntersecting && this.status.status !== 'READY') {
|
||||
this._fetchImage();
|
||||
// Stop observing after the image has started loading
|
||||
this.observer.unobserve(this);
|
||||
}
|
||||
}
|
||||
});
|
||||
this.feedItem = null
|
||||
}
|
||||
getNodeUrl(){
|
||||
const myNode = window.parent.reduxStore.getState().app.nodeConfig.knownNodes[window.parent.reduxStore.getState().app.nodeConfig.node]
|
||||
async fetchResource() {
|
||||
try {
|
||||
if (this.isFetching) return
|
||||
this.isFetching = true
|
||||
await axios.get(`${this.nodeUrl}/arbitrary/resource/properties/${this.resource.service}/${this.resource.name}/${this.resource.identifier}?apiKey=${this.myNode.apiKey}`)
|
||||
this.isFetching = false
|
||||
|
||||
const nodeUrl = myNode.protocol + '://' + myNode.domain + ':' + myNode.port
|
||||
return nodeUrl
|
||||
}
|
||||
getMyNode(){
|
||||
const myNode = window.parent.reduxStore.getState().app.nodeConfig.knownNodes[window.parent.reduxStore.getState().app.nodeConfig.node]
|
||||
} catch (error) {
|
||||
this.isFetching = false
|
||||
}
|
||||
}
|
||||
|
||||
return myNode
|
||||
}
|
||||
async fetchVideoUrl() {
|
||||
await this.fetchResource()
|
||||
}
|
||||
|
||||
getApiKey() {
|
||||
const myNode =
|
||||
window.parent.reduxStore.getState().app.nodeConfig.knownNodes[
|
||||
window.parent.reduxStore.getState().app.nodeConfig.node
|
||||
];
|
||||
let apiKey = myNode.apiKey;
|
||||
return apiKey;
|
||||
}
|
||||
async getRawData() {
|
||||
const url = `${this.nodeUrl}/arbitrary/${this.resource.service}/${this.resource.name}/${this.resource.identifier}?apiKey=${this.myNode.apiKey}`
|
||||
|
||||
async fetchResource() {
|
||||
try {
|
||||
if(this.isFetching) return
|
||||
this.isFetching = true
|
||||
await axios.get(`${this.nodeUrl}/arbitrary/resource/properties/${this.resource.service}/${this.resource.name}/${this.resource.identifier}?apiKey=${this.myNode.apiKey}`)
|
||||
this.isFetching = false
|
||||
return await requestQueueRawData.enqueue(() => {
|
||||
return axios.get(url)
|
||||
})
|
||||
}
|
||||
|
||||
} catch (error) {
|
||||
this.isFetching = false
|
||||
}
|
||||
}
|
||||
updateDisplayWithPlaceholders(display, resource, rawdata) {
|
||||
const pattern = /\$\$\{([a-zA-Z0-9_\.]+)\}\$\$/g
|
||||
|
||||
async fetchVideoUrl() {
|
||||
for (const key in display) {
|
||||
const value = display[key]
|
||||
|
||||
this.fetchResource()
|
||||
display[key] = value.replace(pattern, (match, p1) => {
|
||||
if (p1.startsWith('rawdata.')) {
|
||||
const dataKey = p1.split('.')[1]
|
||||
if (rawdata[dataKey] === undefined) {
|
||||
console.error("rawdata key not found:", dataKey)
|
||||
}
|
||||
return rawdata[dataKey] || match
|
||||
} else if (p1.startsWith('resource.')) {
|
||||
const resourceKey = p1.split('.')[1]
|
||||
if (resource[resourceKey] === undefined) {
|
||||
console.error("resource key not found:", resourceKey)
|
||||
}
|
||||
return resource[resourceKey] || match
|
||||
}
|
||||
return match
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
async fetchStatus() {
|
||||
let isCalling = false
|
||||
let percentLoaded = 0
|
||||
let timer = 24
|
||||
|
||||
async getRawData(){
|
||||
const url = `${this.nodeUrl}/arbitrary/${this.resource.service}/${this.resource.name}/${this.resource.identifier}?apiKey=${this.myNode.apiKey}`
|
||||
return await requestQueueRawData.enqueue(()=> {
|
||||
return axios.get(url)
|
||||
})
|
||||
// const response2 = await fetch(url, {
|
||||
// method: 'GET',
|
||||
// headers: {
|
||||
// 'Content-Type': 'application/json'
|
||||
// }
|
||||
// })
|
||||
const response = await requestQueueStatus.enqueue(() => {
|
||||
return axios.get(`${this.nodeUrl}/arbitrary/resource/status/${this.resource.service}/${this.resource.name}/${this.resource.identifier}?apiKey=${this.myNode.apiKey}`)
|
||||
})
|
||||
|
||||
// const responseData2 = await response2.json()
|
||||
// return responseData2
|
||||
}
|
||||
if (response && response.data && response.data.status === 'READY') {
|
||||
const rawData = await this.getRawData()
|
||||
|
||||
updateDisplayWithPlaceholders(display, resource, rawdata) {
|
||||
const pattern = /\$\$\{([a-zA-Z0-9_\.]+)\}\$\$/g;
|
||||
const object = {
|
||||
...this.resource.schema.display
|
||||
}
|
||||
|
||||
for (const key in display) {
|
||||
const value = display[key];
|
||||
this.updateDisplayWithPlaceholders(object, {}, rawData.data)
|
||||
this.feedItem = object
|
||||
this.status = response.data
|
||||
|
||||
display[key] = value.replace(pattern, (match, p1) => {
|
||||
if (p1.startsWith('rawdata.')) {
|
||||
const dataKey = p1.split('.')[1];
|
||||
if (rawdata[dataKey] === undefined) {
|
||||
console.error("rawdata key not found:", dataKey);
|
||||
}
|
||||
return rawdata[dataKey] || match;
|
||||
} else if (p1.startsWith('resource.')) {
|
||||
const resourceKey = p1.split('.')[1];
|
||||
if (resource[resourceKey] === undefined) {
|
||||
console.error("resource key not found:", resourceKey);
|
||||
}
|
||||
return resource[resourceKey] || match;
|
||||
}
|
||||
return match;
|
||||
});
|
||||
}
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
const intervalId = setInterval(async () => {
|
||||
if (isCalling) return
|
||||
isCalling = true
|
||||
|
||||
const data = await requestQueue.enqueue(() => {
|
||||
return axios.get(`${this.nodeUrl}/arbitrary/resource/status/${this.resource.service}/${this.resource.name}/${this.resource.identifier}?apiKey=${this.myNode.apiKey}`)
|
||||
})
|
||||
|
||||
const res = data.data
|
||||
|
||||
async fetchStatus(){
|
||||
let isCalling = false
|
||||
let percentLoaded = 0
|
||||
let timer = 24
|
||||
const response = await requestQueueStatus.enqueue(()=> {
|
||||
return axios.get(`${this.nodeUrl}/arbitrary/resource/status/${this.resource.service}/${this.resource.name}/${this.resource.identifier}?apiKey=${this.myNode.apiKey}`)
|
||||
})
|
||||
if(response && response.data && response.data.status === 'READY'){
|
||||
const rawData = await this.getRawData()
|
||||
const object = {
|
||||
...this.resource.schema.display
|
||||
}
|
||||
this.updateDisplayWithPlaceholders(object, {},rawData.data)
|
||||
this.feedItem = object
|
||||
this.status = response.data
|
||||
isCalling = false
|
||||
if (res.localChunkCount) {
|
||||
if (res.percentLoaded) {
|
||||
if (res.percentLoaded === percentLoaded && res.percentLoaded !== 100) {
|
||||
timer = timer - 5
|
||||
} else {
|
||||
timer = 24
|
||||
}
|
||||
if (timer < 0) {
|
||||
timer = 24
|
||||
isCalling = true
|
||||
this.status = {
|
||||
...res,
|
||||
status: 'REFETCHING'
|
||||
}
|
||||
|
||||
return
|
||||
}
|
||||
const intervalId = setInterval(async () => {
|
||||
if (isCalling) return
|
||||
isCalling = true
|
||||
setTimeout(() => {
|
||||
isCalling = false
|
||||
this.fetchResource()
|
||||
}, 25000)
|
||||
|
||||
const data = await requestQueue.enqueue(() => {
|
||||
return axios.get(`${this.nodeUrl}/arbitrary/resource/status/${this.resource.service}/${this.resource.name}/${this.resource.identifier}?apiKey=${this.myNode.apiKey}`)
|
||||
});
|
||||
const res = data.data
|
||||
return
|
||||
}
|
||||
percentLoaded = res.percentLoaded
|
||||
}
|
||||
|
||||
isCalling = false
|
||||
if (res.localChunkCount) {
|
||||
if (res.percentLoaded) {
|
||||
if (
|
||||
res.percentLoaded === percentLoaded &&
|
||||
res.percentLoaded !== 100
|
||||
) {
|
||||
timer = timer - 5
|
||||
} else {
|
||||
timer = 24
|
||||
}
|
||||
if (timer < 0) {
|
||||
timer = 24
|
||||
isCalling = true
|
||||
this.status = {
|
||||
...res,
|
||||
status: 'REFETCHING'
|
||||
}
|
||||
this.status = res
|
||||
|
||||
setTimeout(() => {
|
||||
isCalling = false
|
||||
this.fetchResource()
|
||||
}, 25000)
|
||||
return
|
||||
}
|
||||
percentLoaded = res.percentLoaded
|
||||
}
|
||||
if (this.status.status === 'DOWNLOADED') {
|
||||
await this.fetchResource()
|
||||
}
|
||||
}
|
||||
|
||||
this.status = res
|
||||
if(this.status.status === 'DOWNLOADED'){
|
||||
this.fetchResource()
|
||||
}
|
||||
}
|
||||
// check if progress is 100% and clear interval if true
|
||||
if (res.status === 'READY') {
|
||||
const rawData = await this.getRawData()
|
||||
const object = {
|
||||
...this.resource.schema.display
|
||||
}
|
||||
this.updateDisplayWithPlaceholders(object, {}, rawData.data)
|
||||
this.feedItem = object
|
||||
clearInterval(intervalId)
|
||||
this.status = res
|
||||
this.isReady = true
|
||||
}
|
||||
}, 5000) // 5 second interval
|
||||
}
|
||||
|
||||
// check if progress is 100% and clear interval if true
|
||||
if (res.status === 'READY') {
|
||||
const rawData = await this.getRawData()
|
||||
const object = {
|
||||
...this.resource.schema.display
|
||||
}
|
||||
this.updateDisplayWithPlaceholders(object, {},rawData.data)
|
||||
this.feedItem = object
|
||||
clearInterval(intervalId)
|
||||
this.status = res
|
||||
this.isReady = true
|
||||
}
|
||||
}, 5000) // 1 second interval
|
||||
}
|
||||
async _fetchImage() {
|
||||
try {
|
||||
await this.fetchVideoUrl()
|
||||
await this.fetchStatus()
|
||||
} catch (error) { /* empty */ }
|
||||
}
|
||||
|
||||
async _fetchImage() {
|
||||
try {
|
||||
this.fetchVideoUrl()
|
||||
this.fetchStatus()
|
||||
} catch (error) { /* empty */ }
|
||||
}
|
||||
async goToFeedLink() {
|
||||
try {
|
||||
let newQuery = this.link
|
||||
if (newQuery.endsWith('/')) {
|
||||
newQuery = newQuery.slice(0, -1)
|
||||
}
|
||||
const res = await this.extractComponents(newQuery)
|
||||
if (!res) return
|
||||
const { service, name, identifier, path } = res
|
||||
let query = `?service=${service}`
|
||||
if (name) {
|
||||
query = query + `&name=${name}`
|
||||
}
|
||||
if (identifier) {
|
||||
query = query + `&identifier=${identifier}`
|
||||
}
|
||||
if (path) {
|
||||
query = query + `&path=${path}`
|
||||
}
|
||||
|
||||
firstUpdated(){
|
||||
this.observer.observe(this);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
async goToFeedLink(){
|
||||
try {
|
||||
let newQuery = this.link
|
||||
if (newQuery.endsWith('/')) {
|
||||
newQuery = newQuery.slice(0, -1)
|
||||
}
|
||||
const res = await this.extractComponents(newQuery)
|
||||
if (!res) return
|
||||
const { service, name, identifier, path } = res
|
||||
let query = `?service=${service}`
|
||||
if (name) {
|
||||
query = query + `&name=${name}`
|
||||
}
|
||||
if (identifier) {
|
||||
query = query + `&identifier=${identifier}`
|
||||
}
|
||||
if (path) {
|
||||
query = query + `&path=${path}`
|
||||
}
|
||||
|
||||
store.dispatch(setNewTab({
|
||||
store.dispatch(setNewTab({
|
||||
url: `qdn/browser/index.html${query}`,
|
||||
id: this.uid.rnd(),
|
||||
myPlugObj: {
|
||||
@ -377,137 +289,72 @@ getMyNode(){
|
||||
"menus": [],
|
||||
"parent": false
|
||||
},
|
||||
openExisting: true
|
||||
openExisting: true
|
||||
}))
|
||||
} catch (error) {
|
||||
console.log({error})
|
||||
}
|
||||
}
|
||||
} catch (error) {
|
||||
console.log({ error })
|
||||
}
|
||||
}
|
||||
|
||||
async extractComponents(url) {
|
||||
if (!url.startsWith("qortal://")) {
|
||||
return null
|
||||
}
|
||||
|
||||
url = url.replace(/^(qortal\:\/\/)/, "")
|
||||
|
||||
async extractComponents(url) {
|
||||
if (!url.startsWith("qortal://")) {
|
||||
return null
|
||||
}
|
||||
if (url.includes("/")) {
|
||||
let parts = url.split("/")
|
||||
const service = parts[0].toUpperCase()
|
||||
parts.shift()
|
||||
const name = parts[0]
|
||||
parts.shift()
|
||||
let identifier
|
||||
|
||||
url = url.replace(/^(qortal\:\/\/)/, "")
|
||||
if (url.includes("/")) {
|
||||
let parts = url.split("/")
|
||||
const service = parts[0].toUpperCase()
|
||||
parts.shift()
|
||||
const name = parts[0]
|
||||
parts.shift()
|
||||
let identifier
|
||||
if (parts.length > 0) {
|
||||
identifier = parts[0] // Do not shift yet
|
||||
// Check if a resource exists with this service, name and identifier combination
|
||||
const myNode = store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
const nodeUrl = myNode.protocol + '://' + myNode.domain + ':' + myNode.port
|
||||
const url = `${nodeUrl}/arbitrary/resource/status/${service}/${name}/${identifier}?apiKey=${myNode.apiKey}}`
|
||||
|
||||
if (parts.length > 0) {
|
||||
identifier = parts[0] // Do not shift yet
|
||||
// Check if a resource exists with this service, name and identifier combination
|
||||
const myNode = store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
const nodeUrl = myNode.protocol + '://' + myNode.domain + ':' + myNode.port
|
||||
const url = `${nodeUrl}/arbitrary/resource/status/${service}/${name}/${identifier}?apiKey=${myNode.apiKey}}`
|
||||
const res = await fetch(url);
|
||||
const data = await res.json();
|
||||
if (data.totalChunkCount > 0) {
|
||||
// Identifier exists, so don't include it in the path
|
||||
parts.shift()
|
||||
}
|
||||
else {
|
||||
identifier = null
|
||||
}
|
||||
}
|
||||
|
||||
const res = await fetch(url);
|
||||
const data = await res.json();
|
||||
if (data.totalChunkCount > 0) {
|
||||
// Identifier exists, so don't include it in the path
|
||||
parts.shift()
|
||||
}
|
||||
else {
|
||||
identifier = null
|
||||
}
|
||||
}
|
||||
const path = parts.join("/")
|
||||
|
||||
const path = parts.join("/")
|
||||
const components = {}
|
||||
components["service"] = service
|
||||
components["name"] = name
|
||||
components["identifier"] = identifier
|
||||
components["path"] = path
|
||||
return components
|
||||
}
|
||||
return null
|
||||
}
|
||||
|
||||
const components = {}
|
||||
components["service"] = service
|
||||
components["name"] = name
|
||||
components["identifier"] = identifier
|
||||
components["path"] = path
|
||||
return components
|
||||
}
|
||||
return null
|
||||
// Standard functions
|
||||
getApiKey() {
|
||||
const coreNode = store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
return coreNode.apiKey
|
||||
}
|
||||
|
||||
isEmptyArray(arr) {
|
||||
if (!arr) { return true }
|
||||
return arr.length === 0
|
||||
}
|
||||
|
||||
round(number) {
|
||||
return (Math.round(parseFloat(number) * 1e8) / 1e8).toFixed(8)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
render() {
|
||||
let avatarImg
|
||||
const avatarUrl = `${this.nodeUrl}/arbitrary/THUMBNAIL/${this.resource.name}/qortal_avatar?async=true&apiKey=${this.myNode.apiKey}`;
|
||||
avatarImg = html`<img
|
||||
src="${avatarUrl}"
|
||||
style="width:100%; height:100%;"
|
||||
onerror="this.onerror=null; this.src='/img/incognito.png';"
|
||||
/>`;
|
||||
let avatarImgApp
|
||||
const avatarUrl2 = `${this.nodeUrl}/arbitrary/THUMBNAIL/${this.appName}/qortal_avatar?async=true&apiKey=${this.myNode.apiKey}`;
|
||||
avatarImgApp = html`<img
|
||||
src="${avatarUrl2}"
|
||||
style="width:100%; height:100%;"
|
||||
onerror="this.onerror=null; this.src='/img/incognito.png';"
|
||||
/>`;
|
||||
return html`
|
||||
<div
|
||||
class=${[
|
||||
`image-container`,
|
||||
this.status.status !== 'READY'
|
||||
? 'defaultSize'
|
||||
: '',
|
||||
this.status.status !== 'READY'
|
||||
? 'hideImg'
|
||||
: '',
|
||||
].join(' ')}
|
||||
style=" box-sizing: border-box;"
|
||||
>
|
||||
${
|
||||
this.status.status !== 'READY'
|
||||
? html`
|
||||
<div
|
||||
style="display:flex;flex-direction:column;width:100%;height:100%;justify-content:center;align-items:center; box-sizing: border-box;"
|
||||
>
|
||||
<div
|
||||
class=${`smallLoading`}
|
||||
></div>
|
||||
<p style="color: var(--black)">${`${Math.round(this.status.percentLoaded || 0
|
||||
).toFixed(0)}% `}${translate('chatpage.cchange94')}</p>
|
||||
</div>
|
||||
`
|
||||
: ''
|
||||
}
|
||||
${this.status.status === 'READY' && this.feedItem ? html`
|
||||
<div class="parent-feed-item" style="position:relative" @click=${this.goToFeedLink}>
|
||||
<div style="display:flex;gap:10px;margin-bottom:5px">
|
||||
<div class="avatar">
|
||||
${avatarImg}</div> <span class="feed-item-name">${this.resource.name}</span>
|
||||
</div>
|
||||
<div>
|
||||
<p>${this.feedItem.title}</p>
|
||||
</div>
|
||||
<div class="app-name">
|
||||
<div class="avatarApp">
|
||||
${avatarImgApp}
|
||||
</div>
|
||||
<message-time
|
||||
timestamp=${this
|
||||
.resource
|
||||
.created}
|
||||
></message-time>
|
||||
</div>
|
||||
</div>
|
||||
` : ''}
|
||||
|
||||
</div>
|
||||
|
||||
`
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define('feed-item', FeedItem);
|
||||
window.customElements.define('feed-item', FeedItem)
|
@ -1,148 +1,42 @@
|
||||
// popover-component.js
|
||||
import { css, html, LitElement } from 'lit';
|
||||
import { createPopper } from '@popperjs/core';
|
||||
import '@material/mwc-icon';
|
||||
import { translate } from '../../../translate/index.js'
|
||||
import { store } from '../../store';
|
||||
import { connect } from 'pwa-helpers';
|
||||
import { setNewTab, setSideEffectAction } from '../../redux/app/app-actions';
|
||||
import ShortUniqueId from 'short-unique-id';
|
||||
import { html, LitElement } from 'lit'
|
||||
import { connect } from 'pwa-helpers'
|
||||
import { store } from '../../store'
|
||||
import { createPopper } from '@popperjs/core'
|
||||
import { setNewTab, setSideEffectAction } from '../../redux/app/app-actions'
|
||||
import { translate } from '../../../translate'
|
||||
import { friendItemActionsStyles } from '../../styles/core-css'
|
||||
import ShortUniqueId from 'short-unique-id'
|
||||
import '@material/mwc-icon'
|
||||
|
||||
export class FriendItemActions extends connect(store)(LitElement) {
|
||||
static styles = css`
|
||||
:host {
|
||||
display: none;
|
||||
position: absolute;
|
||||
background-color: var(--white);
|
||||
border: 1px solid #ddd;
|
||||
padding: 8px;
|
||||
z-index: 10;
|
||||
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
||||
color: var(--black);
|
||||
max-width: 250px;
|
||||
}
|
||||
|
||||
.close-icon {
|
||||
cursor: pointer;
|
||||
float: right;
|
||||
margin-left: 10px;
|
||||
color: var(--black);
|
||||
}
|
||||
|
||||
.send-message-button {
|
||||
font-family: Roboto, sans-serif;
|
||||
letter-spacing: 0.3px;
|
||||
font-weight: 300;
|
||||
padding: 8px 5px;
|
||||
border-radius: 3px;
|
||||
text-align: center;
|
||||
color: var(--mdc-theme-primary);
|
||||
transition: all 0.3s ease-in-out;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.send-message-button:hover {
|
||||
cursor: pointer;
|
||||
background-color: #03a8f485;
|
||||
}
|
||||
.action-parent {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
div[tabindex='0']:focus {
|
||||
outline: none;
|
||||
}
|
||||
`;
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
for: { type: String, reflect: true },
|
||||
message: { type: String },
|
||||
openEditFriend: { attribute: false },
|
||||
name: { type: String },
|
||||
closeSidePanel: { attribute: false, type: Object },
|
||||
};
|
||||
closeSidePanel: { attribute: false, type: Object }
|
||||
}
|
||||
}
|
||||
|
||||
static get styles() {
|
||||
return [friendItemActionsStyles]
|
||||
}
|
||||
|
||||
constructor() {
|
||||
super();
|
||||
this.message = '';
|
||||
this.nodeUrl = this.getNodeUrl();
|
||||
this.uid = new ShortUniqueId();
|
||||
this.getUserAddress = this.getUserAddress.bind(this);
|
||||
}
|
||||
getNodeUrl() {
|
||||
const myNode =
|
||||
store.getState().app.nodeConfig.knownNodes[
|
||||
window.parent.reduxStore.getState().app.nodeConfig.node
|
||||
];
|
||||
|
||||
const nodeUrl =
|
||||
myNode.protocol + '://' + myNode.domain + ':' + myNode.port;
|
||||
return nodeUrl;
|
||||
}
|
||||
|
||||
firstUpdated() {
|
||||
// We'll defer the popper attachment to the openPopover() method to ensure target availability
|
||||
}
|
||||
|
||||
attachToTarget(target) {
|
||||
if (!this.popperInstance && target) {
|
||||
this.popperInstance = createPopper(target, this, {
|
||||
placement: 'bottom',
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
openPopover(target) {
|
||||
this.attachToTarget(target);
|
||||
this.style.display = 'block';
|
||||
setTimeout(() => {
|
||||
this.shadowRoot.getElementById('parent-div').focus();
|
||||
}, 50);
|
||||
}
|
||||
|
||||
closePopover() {
|
||||
this.style.display = 'none';
|
||||
if (this.popperInstance) {
|
||||
this.popperInstance.destroy();
|
||||
this.popperInstance = null;
|
||||
}
|
||||
this.requestUpdate();
|
||||
}
|
||||
handleBlur() {
|
||||
setTimeout(() => {
|
||||
this.closePopover();
|
||||
}, 0);
|
||||
}
|
||||
|
||||
async getUserAddress() {
|
||||
try {
|
||||
const url = `${this.nodeUrl}/names/${this.name}`;
|
||||
const res = await fetch(url);
|
||||
const result = await res.json();
|
||||
if (result.error === 401) {
|
||||
return '';
|
||||
} else {
|
||||
return result.owner;
|
||||
}
|
||||
} catch (error) {
|
||||
return '';
|
||||
}
|
||||
super()
|
||||
this.message = ''
|
||||
this.nodeUrl = this.getNodeUrl()
|
||||
this.uid = new ShortUniqueId()
|
||||
this.getUserAddress = this.getUserAddress.bind(this)
|
||||
}
|
||||
|
||||
render() {
|
||||
return html`
|
||||
<div id="parent-div" tabindex="0" @blur=${this.handleBlur}>
|
||||
<span class="close-icon" @click="${this.closePopover}"
|
||||
><mwc-icon style="color: var(--black)"
|
||||
>close</mwc-icon
|
||||
></span
|
||||
>
|
||||
<span class="close-icon" @click="${this.closePopover}">
|
||||
<mwc-icon style="color: var(--black)">close</mwc-icon>
|
||||
</span>
|
||||
<div class="action-parent">
|
||||
<div
|
||||
class="send-message-button"
|
||||
@ -166,16 +60,15 @@ export class FriendItemActions extends connect(store)(LitElement) {
|
||||
myPlugObj: {
|
||||
url: 'q-chat',
|
||||
domain: 'core',
|
||||
page: 'messaging/q-chat/index.html',
|
||||
page: 'q-chat/index.html',
|
||||
title: 'Q-Chat',
|
||||
icon: 'vaadin:chat',
|
||||
mwcicon: 'forum',
|
||||
pluginNumber: 'plugin-qhsyOnpRhT',
|
||||
menus: [],
|
||||
parent: false,
|
||||
parent: false
|
||||
},
|
||||
|
||||
openExisting: true,
|
||||
openExisting: true
|
||||
})
|
||||
);
|
||||
store.dispatch(
|
||||
@ -183,8 +76,8 @@ export class FriendItemActions extends connect(store)(LitElement) {
|
||||
type: 'openPrivateChat',
|
||||
data: {
|
||||
address,
|
||||
name: this.name,
|
||||
},
|
||||
name: this.name
|
||||
}
|
||||
})
|
||||
);
|
||||
this.closePopover();
|
||||
@ -210,9 +103,9 @@ export class FriendItemActions extends connect(store)(LitElement) {
|
||||
icon: 'vaadin:mailbox',
|
||||
mwcicon: 'mail_outline',
|
||||
menus: [],
|
||||
parent: false,
|
||||
parent: false
|
||||
},
|
||||
openExisting: true,
|
||||
openExisting: true
|
||||
})
|
||||
);
|
||||
this.closePopover();
|
||||
@ -225,26 +118,89 @@ export class FriendItemActions extends connect(store)(LitElement) {
|
||||
<div
|
||||
class="send-message-button"
|
||||
@click="${() => {
|
||||
const customEvent = new CustomEvent(
|
||||
'open-visiting-profile',
|
||||
{
|
||||
detail: this.name,
|
||||
}
|
||||
);
|
||||
const customEvent = new CustomEvent('open-visiting-profile', { detail: this.name });
|
||||
window.dispatchEvent(customEvent);
|
||||
this.closePopover();
|
||||
this.closeSidePanel();
|
||||
}}"
|
||||
>
|
||||
<mwc-icon style="color: var(--black)"
|
||||
>person</mwc-icon
|
||||
>
|
||||
<mwc-icon style="color: var(--black)">person</mwc-icon>
|
||||
${translate('profile.profile18')}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
`
|
||||
}
|
||||
|
||||
firstUpdated() {
|
||||
// ...
|
||||
}
|
||||
|
||||
getNodeUrl() {
|
||||
const myNode = store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
return myNode.protocol + '://' + myNode.domain + ':' + myNode.port
|
||||
}
|
||||
|
||||
attachToTarget(target) {
|
||||
if (!this.popperInstance && target) {
|
||||
this.popperInstance = createPopper(target, this, {
|
||||
placement: 'bottom'
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
openPopover(target) {
|
||||
this.attachToTarget(target)
|
||||
this.style.display = 'block'
|
||||
setTimeout(() => {
|
||||
this.shadowRoot.getElementById('parent-div').focus()
|
||||
}, 50)
|
||||
}
|
||||
|
||||
closePopover() {
|
||||
this.style.display = 'none'
|
||||
if (this.popperInstance) {
|
||||
this.popperInstance.destroy()
|
||||
this.popperInstance = null
|
||||
}
|
||||
this.requestUpdate()
|
||||
}
|
||||
|
||||
handleBlur() {
|
||||
setTimeout(() => {
|
||||
this.closePopover()
|
||||
}, 0)
|
||||
}
|
||||
|
||||
async getUserAddress() {
|
||||
try {
|
||||
const url = `${this.nodeUrl}/names/${this.name}`
|
||||
const res = await fetch(url)
|
||||
const result = await res.json()
|
||||
if (result.error === 401) {
|
||||
return ''
|
||||
} else {
|
||||
return result.owner
|
||||
}
|
||||
} catch (error) {
|
||||
return ''
|
||||
}
|
||||
}
|
||||
|
||||
// Standard functions
|
||||
getApiKey() {
|
||||
const coreNode = store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
return coreNode.apiKey
|
||||
}
|
||||
|
||||
isEmptyArray(arr) {
|
||||
if (!arr) { return true }
|
||||
return arr.length === 0
|
||||
}
|
||||
|
||||
round(number) {
|
||||
return (Math.round(parseFloat(number) * 1e8) / 1e8).toFixed(8)
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define('friend-item-actions', FriendItemActions);
|
||||
window.customElements.define('friend-item-actions', FriendItemActions)
|
||||
|
@ -1,483 +1,461 @@
|
||||
import {html, LitElement} from 'lit';
|
||||
import '@material/mwc-icon';
|
||||
import './friends-view'
|
||||
import {friendsViewStyles} from './friends-view-css';
|
||||
import {connect} from 'pwa-helpers';
|
||||
import {store} from '../../store';
|
||||
import { html, LitElement } from 'lit'
|
||||
import { store } from '../../store'
|
||||
import { connect } from 'pwa-helpers'
|
||||
import { translate } from '../../../translate'
|
||||
import { friendsViewStyles } from '../../styles/core-css'
|
||||
import './feed-item'
|
||||
import {translate} from '../../../translate/index.js'
|
||||
|
||||
import './friends-view'
|
||||
import '@material/mwc-icon'
|
||||
import '@polymer/paper-spinner/paper-spinner-lite.js'
|
||||
|
||||
const perEndpointCount = 20
|
||||
const totalDesiredCount = 100
|
||||
const maxResultsInMemory = 300
|
||||
|
||||
const perEndpointCount = 20;
|
||||
const totalDesiredCount = 100;
|
||||
const maxResultsInMemory = 300;
|
||||
class FriendsFeed extends connect(store)(LitElement) {
|
||||
static get properties() {
|
||||
static get properties() {
|
||||
return {
|
||||
feed: {type: Array},
|
||||
setHasNewFeed: {attribute:false},
|
||||
isLoading: {type: Boolean},
|
||||
hasFetched: {type: Boolean},
|
||||
mySelectedFeeds: {type: Array}
|
||||
};
|
||||
}
|
||||
constructor(){
|
||||
super()
|
||||
this.feed = []
|
||||
this.feedToRender = []
|
||||
this.nodeUrl = this.getNodeUrl();
|
||||
this.myNode = this.getMyNode();
|
||||
this.endpoints = []
|
||||
this.endpointOffsets = [] // Initialize offsets for each endpoint to 0
|
||||
|
||||
this.loadAndMergeData = this.loadAndMergeData.bind(this)
|
||||
this.hasInitialFetch = false
|
||||
this.observerHandler = this.observerHandler.bind(this);
|
||||
this.elementObserver = this.elementObserver.bind(this)
|
||||
this.mySelectedFeeds = []
|
||||
this.getSchemas = this.getSchemas.bind(this)
|
||||
this.hasFetched = false
|
||||
this._updateFeeds = this._updateFeeds.bind(this)
|
||||
|
||||
feed: { type: Array },
|
||||
setHasNewFeed: { attribute: false },
|
||||
isLoading: { type: Boolean },
|
||||
hasFetched: { type: Boolean },
|
||||
mySelectedFeeds: { type: Array }
|
||||
}
|
||||
}
|
||||
|
||||
static get styles() {
|
||||
return [friendsViewStyles];
|
||||
return [friendsViewStyles]
|
||||
}
|
||||
|
||||
constructor() {
|
||||
super()
|
||||
this.feed = []
|
||||
this.feedToRender = []
|
||||
this.nodeUrl = this.getNodeUrl()
|
||||
this.myNode = this.getMyNode()
|
||||
this.endpoints = []
|
||||
this.endpointOffsets = [] // Initialize offsets for each endpoint to 0
|
||||
this.loadAndMergeData = this.loadAndMergeData.bind(this)
|
||||
this.hasInitialFetch = false
|
||||
this.observerHandler = this.observerHandler.bind(this)
|
||||
this.elementObserver = this.elementObserver.bind(this)
|
||||
this.mySelectedFeeds = []
|
||||
this.getSchemas = this.getSchemas.bind(this)
|
||||
this.hasFetched = false
|
||||
this._updateFeeds = this._updateFeeds.bind(this)
|
||||
}
|
||||
|
||||
render() {
|
||||
return html`
|
||||
<div class="container">
|
||||
<div id="viewElement" class="container-body" style=${"position: relative"}>
|
||||
${this.isLoading ? html`
|
||||
<div style="width:100%;display: flex; justify-content:center">
|
||||
<paper-spinner-lite active></paper-spinner-lite>
|
||||
</div>
|
||||
` : ''}
|
||||
${this.hasFetched && !this.isLoading && this.feed.length === 0 ? html`
|
||||
<div style="width:100%;display: flex; justify-content:center">
|
||||
<p>${translate('friends.friend17')}</p>
|
||||
</div>
|
||||
` : ''}
|
||||
${this.feedToRender.map((item) => {
|
||||
return html`
|
||||
<feed-item
|
||||
.resource=${item}
|
||||
appName=${'Q-Blog'}
|
||||
link=${item.link}
|
||||
>
|
||||
</feed-item>
|
||||
`
|
||||
})}
|
||||
<div id="downObserver"></div>
|
||||
</div>
|
||||
</div>
|
||||
`
|
||||
}
|
||||
|
||||
|
||||
async firstUpdated() {
|
||||
this.viewElement = this.shadowRoot.getElementById('viewElement')
|
||||
this.downObserverElement = this.shadowRoot.getElementById('downObserver')
|
||||
this.elementObserver()
|
||||
|
||||
try {
|
||||
await new Promise((res) => {
|
||||
setTimeout(() => {
|
||||
res()
|
||||
}, 5000)
|
||||
})
|
||||
|
||||
if (this.mySelectedFeeds.length === 0) {
|
||||
await this.getEndpoints()
|
||||
await this.loadAndMergeData()
|
||||
}
|
||||
|
||||
this.getFeedOnInterval()
|
||||
} catch (error) {
|
||||
console.log(error)
|
||||
}
|
||||
}
|
||||
|
||||
getNodeUrl() {
|
||||
const myNode =
|
||||
store.getState().app.nodeConfig.knownNodes[
|
||||
window.parent.reduxStore.getState().app.nodeConfig.node
|
||||
];
|
||||
|
||||
const nodeUrl =
|
||||
myNode.protocol + '://' + myNode.domain + ':' + myNode.port;
|
||||
return nodeUrl;
|
||||
const myNode = store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
return myNode.protocol + '://' + myNode.domain + ':' + myNode.port
|
||||
}
|
||||
|
||||
getMyNode() {
|
||||
const myNode =
|
||||
store.getState().app.nodeConfig.knownNodes[
|
||||
window.parent.reduxStore.getState().app.nodeConfig.node
|
||||
];
|
||||
|
||||
return myNode;
|
||||
return store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
}
|
||||
|
||||
_updateFeeds(event) {
|
||||
const detail = event.detail
|
||||
this.mySelectedFeeds = detail
|
||||
this.reFetchFeedData()
|
||||
this.requestUpdate()
|
||||
_updateFeeds(event) {
|
||||
this.mySelectedFeeds = event.detail
|
||||
this.reFetchFeedData()
|
||||
this.requestUpdate()
|
||||
}
|
||||
|
||||
connectedCallback() {
|
||||
super.connectedCallback()
|
||||
window.addEventListener('friends-my-selected-feeds-event', this._updateFeeds) }
|
||||
window.addEventListener('friends-my-selected-feeds-event', this._updateFeeds)
|
||||
}
|
||||
|
||||
disconnectedCallback() {
|
||||
window.removeEventListener('friends-my-selected-feeds-event', this._updateFeeds)
|
||||
super.disconnectedCallback()
|
||||
}
|
||||
|
||||
async getSchemas(){
|
||||
this.mySelectedFeeds = JSON.parse(localStorage.getItem('friends-my-selected-feeds') || "[]")
|
||||
const schemas = this.mySelectedFeeds
|
||||
const getAllSchemas = (schemas || []).map(
|
||||
async (schema) => {
|
||||
try {
|
||||
const url = `${this.nodeUrl}/arbitrary/${schema.service}/${schema.name}/${schema.identifier}`;
|
||||
const res = await fetch(url)
|
||||
const data = await res.json()
|
||||
if(data.error) return false
|
||||
return data
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
return false
|
||||
}
|
||||
}
|
||||
);
|
||||
const res = await Promise.all(getAllSchemas);
|
||||
return res.filter((item)=> !!item)
|
||||
}
|
||||
async getSchemas() {
|
||||
this.mySelectedFeeds = JSON.parse(localStorage.getItem('friends-my-selected-feeds') || "[]")
|
||||
const schemas = this.mySelectedFeeds
|
||||
|
||||
getFeedOnInterval(){
|
||||
let interval = null;
|
||||
let stop = false;
|
||||
const getAnswer = async () => {
|
||||
|
||||
if (!stop) {
|
||||
stop = true;
|
||||
const getAllSchemas = (schemas || []).map(
|
||||
async (schema) => {
|
||||
try {
|
||||
await this.reFetchFeedData()
|
||||
} catch (error) {}
|
||||
stop = false;
|
||||
const url = `${this.nodeUrl}/arbitrary/${schema.service}/${schema.name}/${schema.identifier}`
|
||||
const res = await fetch(url)
|
||||
const data = await res.json()
|
||||
if (data.error) return false
|
||||
return data
|
||||
} catch (error) {
|
||||
console.log(error)
|
||||
return false
|
||||
}
|
||||
}
|
||||
};
|
||||
interval = setInterval(getAnswer, 900000);
|
||||
)
|
||||
|
||||
}
|
||||
|
||||
async getEndpoints(){
|
||||
const dynamicVars = {
|
||||
|
||||
}
|
||||
const schemas = await this.getSchemas()
|
||||
const friendList = JSON.parse(localStorage.getItem('friends-my-friend-list') || "[]")
|
||||
const names = friendList.map(friend => `name=${friend.name}`).join('&');
|
||||
if(names.length === 0){
|
||||
this.endpoints= []
|
||||
this.endpointOffsets = Array(this.endpoints.length).fill(0);
|
||||
return
|
||||
}
|
||||
const baseurl = `${this.nodeUrl}/arbitrary/resources/search?reverse=true&mode=ALL&exactmatchnames=true&${names}`
|
||||
let formEndpoints = []
|
||||
schemas.forEach((schema)=> {
|
||||
const feedData = schema.feed[0]
|
||||
if(feedData){
|
||||
const copyFeedData = {...feedData}
|
||||
const fullUrl = constructUrl(baseurl, copyFeedData.search, dynamicVars);
|
||||
if(fullUrl){
|
||||
formEndpoints.push({
|
||||
url: fullUrl, schemaName: schema.name, schema: copyFeedData
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
})
|
||||
this.endpoints= formEndpoints
|
||||
this.endpointOffsets = Array(this.endpoints.length).fill(0);
|
||||
}
|
||||
|
||||
async firstUpdated(){
|
||||
this.viewElement = this.shadowRoot.getElementById('viewElement');
|
||||
this.downObserverElement =
|
||||
this.shadowRoot.getElementById('downObserver');
|
||||
this.elementObserver();
|
||||
|
||||
|
||||
try {
|
||||
await new Promise((res)=> {
|
||||
setTimeout(() => {
|
||||
res()
|
||||
}, 5000);
|
||||
})
|
||||
if(this.mySelectedFeeds.length === 0){
|
||||
await this.getEndpoints()
|
||||
|
||||
this.loadAndMergeData();
|
||||
}
|
||||
|
||||
this.getFeedOnInterval()
|
||||
|
||||
} catch (error) {
|
||||
console.log(error)
|
||||
}
|
||||
const res = await Promise.all(getAllSchemas)
|
||||
return res.filter((item) => !!item)
|
||||
}
|
||||
|
||||
getMoreFeed(){
|
||||
if(!this.hasInitialFetch) return
|
||||
if(this.feedToRender.length === this.feed.length ) return
|
||||
this.feedToRender = this.feed.slice(0, this.feedToRender.length + 20)
|
||||
this.requestUpdate()
|
||||
}
|
||||
getFeedOnInterval() {
|
||||
let interval = null
|
||||
let stop = false
|
||||
|
||||
async refresh(){
|
||||
try {
|
||||
await this.getEndpoints()
|
||||
this.reFetchFeedData()
|
||||
} catch (error) {
|
||||
const getAnswer = async () => {
|
||||
if (!stop) {
|
||||
stop = true
|
||||
try {
|
||||
await this.reFetchFeedData()
|
||||
} catch (error) { }
|
||||
stop = false
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
interval = setInterval(getAnswer, 900000)
|
||||
}
|
||||
|
||||
async getEndpoints() {
|
||||
const dynamicVars = { }
|
||||
const schemas = await this.getSchemas()
|
||||
const friendList = JSON.parse(localStorage.getItem('friends-my-friend-list') || "[]")
|
||||
const names = friendList.map(friend => `name=${friend.name}`).join('&')
|
||||
|
||||
if (names.length === 0) {
|
||||
this.endpoints = []
|
||||
this.endpointOffsets = Array(this.endpoints.length).fill(0)
|
||||
return
|
||||
}
|
||||
|
||||
const baseurl = `${this.nodeUrl}/arbitrary/resources/search?reverse=true&mode=ALL&exactmatchnames=true&${names}`
|
||||
let formEndpoints = []
|
||||
|
||||
schemas.forEach((schema) => {
|
||||
const feedData = schema.feed[0]
|
||||
if (feedData) {
|
||||
const copyFeedData = { ...feedData }
|
||||
const fullUrl = constructUrl(baseurl, copyFeedData.search, dynamicVars)
|
||||
if (fullUrl) {
|
||||
formEndpoints.push({
|
||||
url: fullUrl, schemaName: schema.name, schema: copyFeedData
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
this.endpoints = formEndpoints
|
||||
this.endpointOffsets = Array(this.endpoints.length).fill(0)
|
||||
}
|
||||
|
||||
getMoreFeed() {
|
||||
if (!this.hasInitialFetch) return
|
||||
if (this.feedToRender.length === this.feed.length) return
|
||||
this.feedToRender = this.feed.slice(0, this.feedToRender.length + 20)
|
||||
this.requestUpdate()
|
||||
}
|
||||
|
||||
async refresh() {
|
||||
try {
|
||||
await this.getEndpoints()
|
||||
await this.reFetchFeedData()
|
||||
} catch (error) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
elementObserver() {
|
||||
const options = {
|
||||
rootMargin: '0px',
|
||||
threshold: 1,
|
||||
};
|
||||
threshold: 1
|
||||
}
|
||||
|
||||
// identify an element to observe
|
||||
const elementToObserve = this.downObserverElement;
|
||||
const elementToObserve = this.downObserverElement
|
||||
|
||||
// passing it a callback function
|
||||
const observer = new IntersectionObserver(
|
||||
this.observerHandler,
|
||||
options
|
||||
);
|
||||
)
|
||||
|
||||
// call `observe()` on that MutationObserver instance,
|
||||
// passing it the element to observe, and the options object
|
||||
observer.observe(elementToObserve);
|
||||
observer.observe(elementToObserve)
|
||||
}
|
||||
|
||||
observerHandler(entries) {
|
||||
if (!entries[0].isIntersecting) {
|
||||
return;
|
||||
} else {
|
||||
if (this.feedToRender.length < 20) {
|
||||
return;
|
||||
return
|
||||
}
|
||||
this.getMoreFeed();
|
||||
this.getMoreFeed()
|
||||
}
|
||||
}
|
||||
|
||||
async fetchDataFromEndpoint(endpointIndex, count) {
|
||||
const offset = this.endpointOffsets[endpointIndex];
|
||||
const url = `${this.endpoints[endpointIndex].url}&limit=${count}&offset=${offset}`;
|
||||
const res = await fetch(url)
|
||||
const data = await res.json()
|
||||
return data.map((i)=> {
|
||||
return {
|
||||
...this.endpoints[endpointIndex],
|
||||
...i
|
||||
}
|
||||
})
|
||||
async fetchDataFromEndpoint(endpointIndex, count) {
|
||||
const offset = this.endpointOffsets[endpointIndex]
|
||||
const url = `${this.endpoints[endpointIndex].url}&limit=${count}&offset=${offset}`
|
||||
const res = await fetch(url)
|
||||
const data = await res.json()
|
||||
|
||||
}
|
||||
return data.map((i) => {
|
||||
return {
|
||||
...this.endpoints[endpointIndex],
|
||||
...i
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
async initialLoad() {
|
||||
let results = []
|
||||
let totalFetched = 0
|
||||
let i = 0
|
||||
let madeProgress = true
|
||||
let exhaustedEndpoints = new Set()
|
||||
|
||||
async initialLoad() {
|
||||
let results = [];
|
||||
let totalFetched = 0;
|
||||
let i = 0;
|
||||
let madeProgress = true;
|
||||
let exhaustedEndpoints = new Set();
|
||||
while (totalFetched < totalDesiredCount && madeProgress) {
|
||||
madeProgress = false
|
||||
this.isLoading = true
|
||||
for (i = 0; i < this.endpoints.length; i++) {
|
||||
if (exhaustedEndpoints.has(i)) {
|
||||
continue
|
||||
}
|
||||
|
||||
while (totalFetched < totalDesiredCount && madeProgress) {
|
||||
madeProgress = false;
|
||||
this.isLoading = true
|
||||
for (i = 0; i < this.endpoints.length; i++) {
|
||||
if (exhaustedEndpoints.has(i)) {
|
||||
continue;
|
||||
}
|
||||
const remainingCount = totalDesiredCount - totalFetched
|
||||
|
||||
const remainingCount = totalDesiredCount - totalFetched;
|
||||
// If we've already reached the desired count, break
|
||||
if (remainingCount <= 0) {
|
||||
break;
|
||||
}
|
||||
|
||||
// If we've already reached the desired count, break
|
||||
if (remainingCount <= 0) {
|
||||
break;
|
||||
}
|
||||
let fetchCount = Math.min(perEndpointCount, remainingCount)
|
||||
let data = await this.fetchDataFromEndpoint(i, fetchCount)
|
||||
|
||||
let fetchCount = Math.min(perEndpointCount, remainingCount);
|
||||
let data = await this.fetchDataFromEndpoint(i, fetchCount);
|
||||
// Increment the offset for this endpoint by the number of items fetched
|
||||
this.endpointOffsets[i] += data.length
|
||||
|
||||
// Increment the offset for this endpoint by the number of items fetched
|
||||
this.endpointOffsets[i] += data.length;
|
||||
if (data.length > 0) {
|
||||
madeProgress = true
|
||||
}
|
||||
|
||||
if (data.length > 0) {
|
||||
madeProgress = true;
|
||||
}
|
||||
if (data.length < fetchCount) {
|
||||
exhaustedEndpoints.add(i)
|
||||
}
|
||||
|
||||
if (data.length < fetchCount) {
|
||||
exhaustedEndpoints.add(i);
|
||||
}
|
||||
results = results.concat(data)
|
||||
totalFetched += data.length
|
||||
}
|
||||
|
||||
results = results.concat(data);
|
||||
totalFetched += data.length;
|
||||
}
|
||||
if (exhaustedEndpoints.size === this.endpoints.length) {
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
if (exhaustedEndpoints.size === this.endpoints.length) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
this.isLoading = false
|
||||
this.hasFetched = true;
|
||||
// Trim the results if somehow they are over the totalDesiredCount
|
||||
return results.slice(0, totalDesiredCount);
|
||||
}
|
||||
this.isLoading = false
|
||||
this.hasFetched = true
|
||||
|
||||
// Trim the results if somehow they are over the totalDesiredCount
|
||||
return results.slice(0, totalDesiredCount)
|
||||
}
|
||||
|
||||
trimDataToLimit(data, limit) {
|
||||
return data.slice(0, limit)
|
||||
}
|
||||
|
||||
mergeData(newData, existingData) {
|
||||
const existingIds = new Set(existingData.map(item => item.identifier)) // Assume each item has a unique 'id'
|
||||
const uniqueNewData = newData.filter(item => !existingIds.has(item.identifier))
|
||||
return uniqueNewData.concat(existingData)
|
||||
}
|
||||
|
||||
async addExtraData(data) {
|
||||
let newData = []
|
||||
for (let item of data) {
|
||||
let newItem = {
|
||||
...item,
|
||||
schema: {
|
||||
...item.schema,
|
||||
customParams: { ...item.schema.customParams }
|
||||
|
||||
trimDataToLimit(data, limit) {
|
||||
return data.slice(0, limit);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
mergeData(newData, existingData) {
|
||||
const existingIds = new Set(existingData.map(item => item.identifier)); // Assume each item has a unique 'id'
|
||||
const uniqueNewData = newData.filter(item => !existingIds.has(item.identifier));
|
||||
return uniqueNewData.concat(existingData);
|
||||
}
|
||||
let newResource = {
|
||||
identifier: newItem.identifier,
|
||||
service: newItem.service,
|
||||
name: newItem.name
|
||||
}
|
||||
|
||||
if (newItem.schema) {
|
||||
const resource = newItem
|
||||
|
||||
async addExtraData(data){
|
||||
let newData = []
|
||||
for (let item of data) {
|
||||
let newItem = {
|
||||
...item,
|
||||
schema: {
|
||||
...item.schema,
|
||||
customParams: {...item.schema.customParams}
|
||||
let clickValue1 = newItem.schema.click;
|
||||
|
||||
}
|
||||
}
|
||||
let newResource = {
|
||||
identifier: newItem.identifier,
|
||||
service: newItem.service,
|
||||
name: newItem.name
|
||||
}
|
||||
if(newItem.schema){
|
||||
const resource = newItem
|
||||
newItem.link = replacePlaceholders(clickValue1, resource, newItem.schema.customParams)
|
||||
newData.push(newItem)
|
||||
}
|
||||
}
|
||||
return newData
|
||||
}
|
||||
|
||||
let clickValue1 = newItem.schema.click;
|
||||
async reFetchFeedData() {
|
||||
// Resetting offsets to start fresh.
|
||||
this.endpointOffsets = Array(this.endpoints.length).fill(0)
|
||||
await this.getEndpoints()
|
||||
const oldIdentifiers = new Set(this.feed.map(item => item.identifier))
|
||||
const newData = await this.initialLoad()
|
||||
|
||||
const resolvedClickValue1 = replacePlaceholders(clickValue1, resource, newItem.schema.customParams);
|
||||
newItem.link = resolvedClickValue1
|
||||
newData.push(newItem)
|
||||
}
|
||||
}
|
||||
return newData
|
||||
// Filter out items that are already in the feed
|
||||
const trulyNewData = newData.filter(item => !oldIdentifiers.has(item.identifier))
|
||||
|
||||
}
|
||||
async reFetchFeedData() {
|
||||
// Resetting offsets to start fresh.
|
||||
this.endpointOffsets = Array(this.endpoints.length).fill(0);
|
||||
await this.getEndpoints()
|
||||
const oldIdentifiers = new Set(this.feed.map(item => item.identifier));
|
||||
const newData = await this.initialLoad();
|
||||
if (trulyNewData.length > 0) {
|
||||
// Adding extra data and merging with old data
|
||||
const enhancedNewData = await this.addExtraData(trulyNewData)
|
||||
|
||||
// Filter out items that are already in the feed
|
||||
const trulyNewData = newData.filter(item => !oldIdentifiers.has(item.identifier));
|
||||
// Merge new data with old data immutably
|
||||
this.feed = [...enhancedNewData, ...this.feed]
|
||||
this.feed = this.removeDuplicates(this.feed)
|
||||
this.feed.sort((a, b) => new Date(b.created) - new Date(a.created)) // Sort by timestamp, most recent first
|
||||
this.feed = this.trimDataToLimit(this.feed, maxResultsInMemory) // Trim to the maximum allowed in memory
|
||||
this.feedToRender = this.feed.slice(0, 20)
|
||||
this.hasInitialFetch = true
|
||||
|
||||
if (trulyNewData.length > 0) {
|
||||
// Adding extra data and merging with old data
|
||||
const enhancedNewData = await this.addExtraData(trulyNewData);
|
||||
|
||||
// Merge new data with old data immutably
|
||||
this.feed = [...enhancedNewData, ...this.feed];
|
||||
this.feed = this.removeDuplicates(this.feed)
|
||||
this.feed.sort((a, b) => new Date(b.created) - new Date(a.created)); // Sort by timestamp, most recent first
|
||||
this.feed = this.trimDataToLimit(this.feed, maxResultsInMemory); // Trim to the maximum allowed in memory
|
||||
this.feedToRender = this.feed.slice(0, 20);
|
||||
this.hasInitialFetch = true;
|
||||
|
||||
const created = trulyNewData[0].created;
|
||||
let value = localStorage.getItem('lastSeenFeed');
|
||||
if (((+value || 0) < created)) {
|
||||
this.setHasNewFeed(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
removeDuplicates(array) {
|
||||
const seenIds = new Set();
|
||||
return array.filter(item => {
|
||||
if (!seenIds.has(item.identifier)) {
|
||||
seenIds.add(item.identifier);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
async loadAndMergeData() {
|
||||
let allData = this.feed
|
||||
const newData = await this.initialLoad();
|
||||
allData = await this.addExtraData(newData)
|
||||
allData = this.mergeData(newData, allData);
|
||||
allData.sort((a, b) => new Date(b.created) - new Date(a.created)); // Sort by timestamp, most recent first
|
||||
allData = this.trimDataToLimit(allData, maxResultsInMemory); // Trim to the maximum allowed in memory
|
||||
allData = this.removeDuplicates(allData)
|
||||
this.feed = [...allData]
|
||||
this.feedToRender = this.feed.slice(0,20)
|
||||
this.hasInitialFetch = true
|
||||
if(allData.length > 0){
|
||||
const created = allData[0].created
|
||||
let value = localStorage.getItem('lastSeenFeed')
|
||||
const created = trulyNewData[0].created
|
||||
let value = localStorage.getItem('lastSeenFeed')
|
||||
if (((+value || 0) < created)) {
|
||||
this.setHasNewFeed(true)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
render() {
|
||||
return html`
|
||||
<div class="container">
|
||||
<div id="viewElement" class="container-body" style=${"position: relative"}>
|
||||
${this.isLoading ? html`
|
||||
<div style="width:100%;display: flex; justify-content:center">
|
||||
<paper-spinner-lite active></paper-spinner-lite>
|
||||
</div>
|
||||
` : ''}
|
||||
${this.hasFetched && !this.isLoading && this.feed.length === 0 ? html`
|
||||
<div style="width:100%;display: flex; justify-content:center">
|
||||
<p>${translate('friends.friend17')}</p>
|
||||
</div>
|
||||
` : ''}
|
||||
${this.feedToRender.map((item) => {
|
||||
return html`<feed-item
|
||||
.resource=${item}
|
||||
appName=${'Q-Blog'}
|
||||
link=${item.link}
|
||||
></feed-item>`;
|
||||
})}
|
||||
<div id="downObserver"></div>
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
}
|
||||
|
||||
removeDuplicates(array) {
|
||||
const seenIds = new Set()
|
||||
return array.filter(item => {
|
||||
if (!seenIds.has(item.identifier)) {
|
||||
seenIds.add(item.identifier)
|
||||
return true
|
||||
}
|
||||
return false
|
||||
})
|
||||
}
|
||||
|
||||
async loadAndMergeData() {
|
||||
let allData = this.feed
|
||||
const newData = await this.initialLoad();
|
||||
allData = await this.addExtraData(newData)
|
||||
allData = this.mergeData(newData, allData);
|
||||
allData.sort((a, b) => new Date(b.created) - new Date(a.created)); // Sort by timestamp, most recent first
|
||||
allData = this.trimDataToLimit(allData, maxResultsInMemory); // Trim to the maximum allowed in memory
|
||||
allData = this.removeDuplicates(allData)
|
||||
this.feed = [...allData]
|
||||
this.feedToRender = this.feed.slice(0, 20)
|
||||
this.hasInitialFetch = true
|
||||
if (allData.length > 0) {
|
||||
const created = allData[0].created
|
||||
let value = localStorage.getItem('lastSeenFeed')
|
||||
if (((+value || 0) < created)) {
|
||||
this.setHasNewFeed(true)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Standard functions
|
||||
getApiKey() {
|
||||
const coreNode = store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
return coreNode.apiKey
|
||||
}
|
||||
|
||||
isEmptyArray(arr) {
|
||||
if (!arr) { return true }
|
||||
return arr.length === 0
|
||||
}
|
||||
|
||||
round(number) {
|
||||
return (Math.round(parseFloat(number) * 1e8) / 1e8).toFixed(8)
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define('friends-feed', FriendsFeed);
|
||||
window.customElements.define('friends-feed', FriendsFeed)
|
||||
|
||||
export function substituteDynamicVar(value, dynamicVars) {
|
||||
if (typeof value !== 'string') return value;
|
||||
|
||||
const pattern = /\$\$\{([a-zA-Z0-9_]+)\}\$\$/g; // Adjusted pattern to capture $${name}$$ with curly braces
|
||||
|
||||
return value.replace(pattern, (match, p1) => {
|
||||
return dynamicVars[p1] !== undefined ? dynamicVars[p1] : match;
|
||||
});
|
||||
if (typeof value !== 'string') return value
|
||||
const pattern = /\$\$\{([a-zA-Z0-9_]+)\}\$\$/g // Adjusted pattern to capture $${name}$$ with curly braces
|
||||
return value.replace(pattern, (match, p1) => {
|
||||
return dynamicVars[p1] !== undefined ? dynamicVars[p1] : match
|
||||
})
|
||||
}
|
||||
|
||||
export function constructUrl(base, search, dynamicVars) {
|
||||
let queryStrings = [];
|
||||
|
||||
for (const [key, value] of Object.entries(search)) {
|
||||
const substitutedValue = substituteDynamicVar(value, dynamicVars);
|
||||
queryStrings.push(`${key}=${encodeURIComponent(substitutedValue)}`);
|
||||
}
|
||||
|
||||
return queryStrings.length > 0 ? `${base}&${queryStrings.join('&')}` : base;
|
||||
let queryStrings = []
|
||||
for (const [key, value] of Object.entries(search)) {
|
||||
const substitutedValue = substituteDynamicVar(value, dynamicVars)
|
||||
queryStrings.push(`${key}=${encodeURIComponent(substitutedValue)}`)
|
||||
}
|
||||
return queryStrings.length > 0 ? `${base}&${queryStrings.join('&')}` : base
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
export function replacePlaceholders(template, resource, customParams) {
|
||||
const dataSource = { resource, customParams };
|
||||
|
||||
return template.replace(/\$\$\{(.*?)\}\$\$/g, (match, p1) => {
|
||||
const keys = p1.split('.');
|
||||
let value = dataSource;
|
||||
|
||||
for (let key of keys) {
|
||||
if (value[key] !== undefined) {
|
||||
value = value[key];
|
||||
} else {
|
||||
return match; // Return placeholder unchanged
|
||||
}
|
||||
}
|
||||
return value;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
const dataSource = { resource, customParams }
|
||||
return template.replace(/\$\$\{(.*?)\}\$\$/g, (match, p1) => {
|
||||
const keys = p1.split('.')
|
||||
let value = dataSource
|
||||
for (let key of keys) {
|
||||
if (value[key] !== undefined) {
|
||||
value = value[key]
|
||||
} else {
|
||||
return match // Return placeholder unchanged
|
||||
}
|
||||
}
|
||||
return value
|
||||
})
|
||||
}
|
@ -1,68 +1,43 @@
|
||||
import {css, html, LitElement} from 'lit'
|
||||
import { html, LitElement } from 'lit'
|
||||
import { connect } from 'pwa-helpers'
|
||||
import { store } from '../../store'
|
||||
import { translate } from '../../../translate'
|
||||
import { friendsSidePanelParentStyles } from '../../styles/core-css'
|
||||
import './friends-side-panel'
|
||||
import '@material/mwc-icon'
|
||||
import './friends-side-panel.js'
|
||||
import '@vaadin/tooltip'
|
||||
import {translate} from '../../../translate/index.js'
|
||||
|
||||
class FriendsSidePanelParent extends LitElement {
|
||||
class FriendsSidePanelParent extends connect(store)(LitElement) {
|
||||
static get properties() {
|
||||
return {
|
||||
isOpen: {type: Boolean},
|
||||
hasNewFeed: {type: Boolean}
|
||||
isOpen: { type: Boolean },
|
||||
hasNewFeed: { type: Boolean }
|
||||
}
|
||||
}
|
||||
|
||||
static get styles() {
|
||||
return [friendsSidePanelParentStyles]
|
||||
}
|
||||
|
||||
constructor() {
|
||||
super()
|
||||
this.isOpen = false
|
||||
this.hasNewFeed = false
|
||||
}
|
||||
|
||||
static styles = css`
|
||||
.header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 16px;
|
||||
border-bottom: 1px solid #e0e0e0;
|
||||
}
|
||||
|
||||
.content {
|
||||
padding: 16px;
|
||||
}
|
||||
.close {
|
||||
visibility: hidden;
|
||||
position: fixed;
|
||||
z-index: -100;
|
||||
right: -1000px;
|
||||
}
|
||||
|
||||
.parent-side-panel {
|
||||
transform: translateX(100%); /* start from outside the right edge */
|
||||
transition: transform 0.3s ease-in-out;
|
||||
}
|
||||
.parent-side-panel.open {
|
||||
transform: translateX(0); /* slide in to its original position */
|
||||
|
||||
}
|
||||
`
|
||||
|
||||
setHasNewFeed(val){
|
||||
this.hasNewFeed = val
|
||||
}
|
||||
|
||||
render() {
|
||||
return html`
|
||||
<mwc-icon
|
||||
id="friends-icon"
|
||||
@click=${()=> {
|
||||
@click=${() => {
|
||||
this.isOpen = !this.isOpen
|
||||
if(this.isOpen && this.hasNewFeed) {
|
||||
if (this.isOpen && this.hasNewFeed) {
|
||||
localStorage.setItem('lastSeenFeed', Date.now())
|
||||
this.hasNewFeed = false
|
||||
this.shadowRoot.querySelector("friends-side-panel").selected = 'feed'
|
||||
}
|
||||
}} style="color: ${this.hasNewFeed ? 'green' : 'var(--black)'}; cursor:pointer;user-select:none"
|
||||
}}
|
||||
style="color: ${this.hasNewFeed ? 'green' : 'var(--black)'}; cursor:pointer;user-select:none"
|
||||
>
|
||||
group
|
||||
</mwc-icon>
|
||||
@ -72,12 +47,33 @@ class FriendsSidePanelParent extends LitElement {
|
||||
hover-delay=${400}
|
||||
hide-delay=${1}
|
||||
text=${translate('friends.friend12')}
|
||||
>
|
||||
</vaadin-tooltip>
|
||||
<friends-side-panel .setHasNewFeed=${(val)=> this.setHasNewFeed(val)} ?isOpen=${this.isOpen} .setIsOpen=${(val)=> this.isOpen = val}></friends-side-panel>
|
||||
|
||||
></vaadin-tooltip>
|
||||
<friends-side-panel .setHasNewFeed=${(val) => this.setHasNewFeed(val)} ?isOpen=${this.isOpen} .setIsOpen=${(val) => this.isOpen = val}></friends-side-panel>
|
||||
`
|
||||
}
|
||||
|
||||
firstUpdated() {
|
||||
// ...
|
||||
}
|
||||
|
||||
setHasNewFeed(val) {
|
||||
this.hasNewFeed = val
|
||||
}
|
||||
|
||||
// Standard functions
|
||||
getApiKey() {
|
||||
const coreNode = store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
return coreNode.apiKey
|
||||
}
|
||||
|
||||
isEmptyArray(arr) {
|
||||
if (!arr) { return true }
|
||||
return arr.length === 0
|
||||
}
|
||||
|
||||
round(number) {
|
||||
return (Math.round(parseFloat(number) * 1e8) / 1e8).toFixed(8)
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define('friends-side-panel-parent', FriendsSidePanelParent)
|
||||
window.customElements.define('friends-side-panel-parent', FriendsSidePanelParent)
|
@ -1,158 +1,94 @@
|
||||
import {css, html, LitElement} from 'lit';
|
||||
import '@material/mwc-icon';
|
||||
import { html, LitElement } from 'lit'
|
||||
import { connect } from 'pwa-helpers'
|
||||
import { store } from '../../store'
|
||||
import { translate } from '../../../translate'
|
||||
import { friendsSidePanelStyles } from '../../styles/core-css'
|
||||
import './friends-view'
|
||||
import './friends-feed'
|
||||
import {translate} from '../../../translate/index.js'
|
||||
import '@material/mwc-icon'
|
||||
|
||||
class FriendsSidePanel extends LitElement {
|
||||
static get properties() {
|
||||
class FriendsSidePanel extends connect(store)(LitElement) {
|
||||
static get properties() {
|
||||
return {
|
||||
setIsOpen: { attribute: false},
|
||||
isOpen: {type: Boolean},
|
||||
selected: {type: String},
|
||||
setHasNewFeed: {attribute: false},
|
||||
closeSidePanel: {attribute: false, type: Object},
|
||||
openSidePanel: {attribute: false, type: Object}
|
||||
};
|
||||
setIsOpen: { attribute: false },
|
||||
isOpen: { type: Boolean },
|
||||
selected: { type: String },
|
||||
setHasNewFeed: { attribute: false },
|
||||
closeSidePanel: { attribute: false, type: Object },
|
||||
openSidePanel: { attribute: false, type: Object }
|
||||
}
|
||||
}
|
||||
|
||||
constructor(){
|
||||
static get styles() {
|
||||
return [friendsSidePanelStyles]
|
||||
}
|
||||
|
||||
constructor() {
|
||||
super()
|
||||
this.selected = 'friends'
|
||||
this.closeSidePanel = this.closeSidePanel.bind(this)
|
||||
this.openSidePanel = this.openSidePanel.bind(this)
|
||||
|
||||
}
|
||||
|
||||
static styles = css`
|
||||
:host {
|
||||
display: block;
|
||||
position: fixed;
|
||||
top: 55px;
|
||||
right: 0px;
|
||||
width: 420px;
|
||||
max-width: 95%;
|
||||
height: calc(100vh - 55px);
|
||||
background-color: var(--white);
|
||||
border-left: 1px solid rgb(224, 224, 224);
|
||||
z-index: 1;
|
||||
transform: translateX(100%); /* start from outside the right edge */
|
||||
transition: transform 0.3s ease-in-out;
|
||||
}
|
||||
:host([isOpen]) {
|
||||
transform: unset; /* slide in to its original position */
|
||||
}
|
||||
|
||||
.header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 16px;
|
||||
border-bottom: 1px solid #e0e0e0;
|
||||
}
|
||||
|
||||
.content {
|
||||
padding: 16px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-grow: 1;
|
||||
overflow: auto;
|
||||
}
|
||||
.content::-webkit-scrollbar-track {
|
||||
background-color: whitesmoke;
|
||||
border-radius: 7px;
|
||||
}
|
||||
|
||||
.content::-webkit-scrollbar {
|
||||
width: 12px;
|
||||
border-radius: 7px;
|
||||
background-color: whitesmoke;
|
||||
}
|
||||
|
||||
.content::-webkit-scrollbar-thumb {
|
||||
background-color: rgb(180, 176, 176);
|
||||
border-radius: 7px;
|
||||
transition: all 0.3s ease-in-out;
|
||||
}
|
||||
.parent {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.active {
|
||||
font-size: 16px;
|
||||
background: var(--black);
|
||||
color: var(--white);
|
||||
padding: 5px;
|
||||
border-radius: 2px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.default {
|
||||
font-size: 16px;
|
||||
color: var(--black);
|
||||
padding: 5px;
|
||||
border-radius: 2px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.default-content {
|
||||
visibility: hidden;
|
||||
position: absolute;
|
||||
z-index: -50;
|
||||
}
|
||||
|
||||
`;
|
||||
|
||||
refreshFeed(){
|
||||
|
||||
this.shadowRoot.querySelector('friends-feed').refresh()
|
||||
|
||||
|
||||
}
|
||||
|
||||
closeSidePanel(){
|
||||
this.setIsOpen(false)
|
||||
}
|
||||
openSidePanel(){
|
||||
this.setIsOpen(true)
|
||||
}
|
||||
|
||||
render() {
|
||||
return html`
|
||||
<div class="parent">
|
||||
<div class="header">
|
||||
<div style="display:flex;align-items:center;gap:10px">
|
||||
<span @click=${()=> this.selected = 'friends'} class="${this.selected === 'friends' ? 'active' : 'default'}">${translate('friends.friend12')}</span>
|
||||
<span @click=${()=> this.selected = 'feed'} class="${this.selected === 'feed' ? 'active' : 'default'}">${translate('friends.friend13')}</span>
|
||||
</div>
|
||||
<div style="display:flex;gap:15px;align-items:center">
|
||||
<mwc-icon @click=${()=> {
|
||||
this.refreshFeed()
|
||||
}} style="color: var(--black); cursor:pointer;">refresh</mwc-icon>
|
||||
<mwc-icon style="cursor:pointer" @click=${()=> {
|
||||
this.setIsOpen(false)
|
||||
}}>close</mwc-icon>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="content">
|
||||
<div class="${this.selected === 'friends' ? 'active-content' : 'default-content'}">
|
||||
<friends-view .openSidePanel=${this.openSidePanel} .closeSidePanel=${this.closeSidePanel} .refreshFeed=${()=>this.refreshFeed()}></friends-view>
|
||||
<div class="header">
|
||||
<div style="display:flex;align-items:center;gap:10px">
|
||||
<span @click=${() => this.selected = 'friends'} class="${this.selected === 'friends' ? 'active' : 'default'}">${translate('friends.friend12')}</span>
|
||||
<span @click=${() => this.selected = 'feed'} class="${this.selected === 'feed' ? 'active' : 'default'}">${translate('friends.friend13')}</span>
|
||||
</div>
|
||||
<div style="display:flex;gap:15px;align-items:center">
|
||||
<mwc-icon @click=${() => { this.refreshFeed(); }} style="color: var(--black); cursor:pointer;">
|
||||
refresh
|
||||
</mwc-icon>
|
||||
<mwc-icon style="cursor:pointer" @click=${() => { this.setIsOpen(false); }}>
|
||||
close
|
||||
</mwc-icon>
|
||||
</div>
|
||||
</div>
|
||||
<div class="${this.selected === 'feed' ? 'active-content' : 'default-content'}">
|
||||
<friends-feed .setHasNewFeed=${(val)=> this.setHasNewFeed(val)}></friends-feed>
|
||||
<div class="content">
|
||||
<div class="${this.selected === 'friends' ? 'active-content' : 'default-content'}">
|
||||
<friends-view .openSidePanel=${this.openSidePanel} .closeSidePanel=${this.closeSidePanel} .refreshFeed=${() => this.refreshFeed()}></friends-view>
|
||||
</div>
|
||||
<div class="${this.selected === 'feed' ? 'active-content' : 'default-content'}">
|
||||
<friends-feed .setHasNewFeed=${(val) => this.setHasNewFeed(val)}></friends-feed>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
`
|
||||
}
|
||||
|
||||
firstUpdated() {
|
||||
// ...
|
||||
}
|
||||
|
||||
refreshFeed() {
|
||||
this.shadowRoot.querySelector('friends-feed').refresh()
|
||||
}
|
||||
|
||||
closeSidePanel() {
|
||||
this.setIsOpen(false)
|
||||
}
|
||||
|
||||
openSidePanel() {
|
||||
this.setIsOpen(true)
|
||||
}
|
||||
|
||||
// Standard functions
|
||||
getApiKey() {
|
||||
const coreNode = store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
return coreNode.apiKey
|
||||
}
|
||||
|
||||
isEmptyArray(arr) {
|
||||
if (!arr) { return true }
|
||||
return arr.length === 0
|
||||
}
|
||||
|
||||
round(number) {
|
||||
return (Math.round(parseFloat(number) * 1e8) / 1e8).toFixed(8)
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define('friends-side-panel', FriendsSidePanel);
|
||||
window.customElements.define('friends-side-panel', FriendsSidePanel)
|
@ -1,182 +0,0 @@
|
||||
import {css} from 'lit'
|
||||
|
||||
export const friendsViewStyles = css`
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.top-bar-icon {
|
||||
cursor: pointer;
|
||||
height: 18px;
|
||||
width: 18px;
|
||||
transition: 0.2s all;
|
||||
}
|
||||
|
||||
.top-bar-icon:hover {
|
||||
color: var(--black);
|
||||
}
|
||||
|
||||
.modal-button {
|
||||
font-family: Roboto, sans-serif;
|
||||
font-size: 16px;
|
||||
color: var(--mdc-theme-primary);
|
||||
background-color: transparent;
|
||||
padding: 8px 10px;
|
||||
border-radius: 5px;
|
||||
border: none;
|
||||
transition: all 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
.close-row {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
height: 50px;
|
||||
flex:0
|
||||
|
||||
}
|
||||
|
||||
.container-body {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-grow: 1;
|
||||
margin-top: 5px;
|
||||
padding: 0px 6px;
|
||||
box-sizing: border-box;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.container-body::-webkit-scrollbar-track {
|
||||
background-color: whitesmoke;
|
||||
border-radius: 7px;
|
||||
}
|
||||
|
||||
.container-body::-webkit-scrollbar {
|
||||
width: 6px;
|
||||
border-radius: 7px;
|
||||
background-color: whitesmoke;
|
||||
}
|
||||
|
||||
.container-body::-webkit-scrollbar-thumb {
|
||||
background-color: rgb(180, 176, 176);
|
||||
border-radius: 7px;
|
||||
transition: all 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
.container-body::-webkit-scrollbar-thumb:hover {
|
||||
background-color: rgb(148, 146, 146);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
p {
|
||||
color: var(--black);
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.container {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.chat-right-panel-label {
|
||||
font-family: Montserrat, sans-serif;
|
||||
color: var(--group-header);
|
||||
padding: 5px;
|
||||
font-size: 13px;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.group-info {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: flex-start;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.group-name {
|
||||
font-family: Raleway, sans-serif;
|
||||
font-size: 20px;
|
||||
color: var(--chat-bubble-msg-color);
|
||||
text-align: center;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.group-description {
|
||||
font-family: Roboto, sans-serif;
|
||||
color: var(--chat-bubble-msg-color);
|
||||
letter-spacing: 0.3px;
|
||||
font-weight: 300;
|
||||
font-size: 14px;
|
||||
margin-top: 15px;
|
||||
word-break: break-word;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.group-subheader {
|
||||
font-family: Montserrat, sans-serif;
|
||||
font-size: 14px;
|
||||
color: var(--chat-bubble-msg-color);
|
||||
}
|
||||
|
||||
.group-data {
|
||||
font-family: Roboto, sans-serif;
|
||||
letter-spacing: 0.3px;
|
||||
font-weight: 300;
|
||||
font-size: 14px;
|
||||
color: var(--chat-bubble-msg-color);
|
||||
}
|
||||
.search-results-div {
|
||||
position: absolute;
|
||||
top: 25px;
|
||||
right: 25px;
|
||||
}
|
||||
|
||||
.name-input {
|
||||
width: 100%;
|
||||
outline: 0;
|
||||
border-width: 0 0 2px;
|
||||
border-color: var(--mdc-theme-primary);
|
||||
background-color: transparent;
|
||||
padding: 10px;
|
||||
font-family: Roboto, sans-serif;
|
||||
font-size: 15px;
|
||||
color: var(--chat-bubble-msg-color);
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.name-input::selection {
|
||||
background-color: var(--mdc-theme-primary);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.name-input::placeholder {
|
||||
opacity: 0.9;
|
||||
color: var(--black);
|
||||
}
|
||||
|
||||
.search-field {
|
||||
width: 100%;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.search-icon {
|
||||
position: absolute;
|
||||
right: 3px;
|
||||
color: var(--chat-bubble-msg-color);
|
||||
transition: hover 0.3s ease-in-out;
|
||||
background: none;
|
||||
border-radius: 50%;
|
||||
padding: 6px 3px;
|
||||
font-size: 21px;
|
||||
}
|
||||
|
||||
.search-icon:hover {
|
||||
cursor: pointer;
|
||||
background: #d7d7d75c;
|
||||
}
|
||||
`
|
@ -1,22 +1,20 @@
|
||||
import {html, LitElement} from 'lit';
|
||||
import {connect} from 'pwa-helpers';
|
||||
|
||||
import '@material/mwc-button';
|
||||
import '@material/mwc-dialog';
|
||||
import '@polymer/paper-spinner/paper-spinner-lite.js';
|
||||
import '@polymer/paper-progress/paper-progress.js';
|
||||
import '@material/mwc-icon';
|
||||
import { html, LitElement } from 'lit'
|
||||
import { store } from '../../store'
|
||||
import { connect } from 'pwa-helpers'
|
||||
import { parentEpml } from '../show-plugin'
|
||||
import { translate } from '../../../translate'
|
||||
import { friendsViewStyles } from '../../styles/core-css'
|
||||
import './add-friends-modal'
|
||||
import './ChatSideNavHeads'
|
||||
import '../../../../plugins/plugins/core/components/ChatSearchResults'
|
||||
import '@material/mwc-button'
|
||||
import '@material/mwc-dialog'
|
||||
import '@material/mwc-icon'
|
||||
import '@polymer/paper-spinner/paper-spinner-lite.js'
|
||||
import '@polymer/paper-progress/paper-progress.js'
|
||||
import '@vaadin/icon'
|
||||
import '@vaadin/icons'
|
||||
import '@vaadin/button';
|
||||
import './ChatSideNavHeads';
|
||||
import '../../../../plugins/plugins/core/components/ChatSearchResults'
|
||||
import './add-friends-modal'
|
||||
|
||||
import {translate,} from '../../../translate/index.js'
|
||||
import {store} from '../../store';
|
||||
import {friendsViewStyles} from './friends-view-css';
|
||||
import {parentEpml} from '../show-plugin';
|
||||
import '@vaadin/button'
|
||||
|
||||
class FriendsView extends connect(store)(LitElement) {
|
||||
static get properties() {
|
||||
@ -29,103 +27,161 @@ class FriendsView extends connect(store)(LitElement) {
|
||||
setUserName: { attribute: false },
|
||||
friendList: { type: Array },
|
||||
userSelected: { type: Object },
|
||||
isLoading: {type: Boolean},
|
||||
userFoundModalOpen: {type: Boolean},
|
||||
userFound: { type: Array},
|
||||
isOpenAddFriendsModal: {type: Boolean},
|
||||
editContent: {type: Object},
|
||||
mySelectedFeeds: {type: Array},
|
||||
refreshFeed: {attribute: false},
|
||||
closeSidePanel: {attribute: false, type: Object},
|
||||
openSidePanel: {attribute:false, type: Object}
|
||||
};
|
||||
isLoading: { type: Boolean },
|
||||
userFoundModalOpen: { type: Boolean },
|
||||
userFound: { type: Array },
|
||||
isOpenAddFriendsModal: { type: Boolean },
|
||||
editContent: { type: Object },
|
||||
mySelectedFeeds: { type: Array },
|
||||
refreshFeed: { attribute: false },
|
||||
closeSidePanel: { attribute: false, type: Object },
|
||||
openSidePanel: { attribute: false, type: Object }
|
||||
}
|
||||
}
|
||||
|
||||
static get styles() {
|
||||
return [friendsViewStyles];
|
||||
return [friendsViewStyles]
|
||||
}
|
||||
|
||||
constructor() {
|
||||
super();
|
||||
this.error = false;
|
||||
this.observerHandler = this.observerHandler.bind(this);
|
||||
this.viewElement = '';
|
||||
this.downObserverElement = '';
|
||||
this.myAddress =
|
||||
window.parent.reduxStore.getState().app.selectedAddress.address;
|
||||
this.errorMessage = '';
|
||||
this.successMessage = '';
|
||||
this.friendList = [];
|
||||
this.userSelected = {};
|
||||
this.isLoading = false;
|
||||
super()
|
||||
this.error = false
|
||||
this.observerHandler = this.observerHandler.bind(this)
|
||||
this.viewElement = ''
|
||||
this.downObserverElement = ''
|
||||
this.myAddress = store.getState().app.selectedAddress.address
|
||||
this.errorMessage = ''
|
||||
this.successMessage = ''
|
||||
this.friendList = []
|
||||
this.userSelected = {}
|
||||
this.isLoading = false
|
||||
this.userFoundModalOpen = false
|
||||
this.userFound = [];
|
||||
this.nodeUrl = this.getNodeUrl();
|
||||
this.myNode = this.getMyNode();
|
||||
this.userFound = []
|
||||
this.nodeUrl = this.getNodeUrl()
|
||||
this.myNode = this.getMyNode()
|
||||
this.isOpenAddFriendsModal = false
|
||||
this.editContent = null
|
||||
this.addToFriendList = this.addToFriendList.bind(this)
|
||||
this._updateFriends = this._updateFriends.bind(this)
|
||||
this._updateFeed = this._updateFeed.bind(this)
|
||||
this._addFriend = this._addFriend.bind(this)
|
||||
}
|
||||
|
||||
render() {
|
||||
return html`
|
||||
<div class="container">
|
||||
<div id="viewElement" class="container-body" style=${"position: relative"}>
|
||||
<p class="group-name">My Friends</p>
|
||||
<div class="search-field">
|
||||
<input
|
||||
type="text"
|
||||
class="name-input"
|
||||
?disabled=${this.isLoading}
|
||||
id="sendTo"
|
||||
placeholder="${translate("friends.friend1")}"
|
||||
value=${this.userSelected.name ? this.userSelected.name : ''}
|
||||
@keypress=${(e) => {
|
||||
if (e.key === 'Enter') {
|
||||
this.userSearch()
|
||||
}
|
||||
}}
|
||||
>
|
||||
<vaadin-icon
|
||||
@click=${this.userSearch}
|
||||
slot="icon"
|
||||
icon="vaadin:search"
|
||||
class="search-icon"
|
||||
>
|
||||
</vaadin-icon>
|
||||
</div>
|
||||
<div class="search-results-div">
|
||||
<chat-search-results
|
||||
.onClickFunc=${(result) => {
|
||||
this.userSelected = result;
|
||||
this.isOpenAddFriendsModal = true
|
||||
this.userFound = [];
|
||||
this.userFoundModalOpen = false;
|
||||
}}
|
||||
.closeFunc=${() => {
|
||||
this.userFoundModalOpen = false;
|
||||
this.userFound = [];
|
||||
}}
|
||||
.searchResults=${this.userFound}
|
||||
?isOpen=${this.userFoundModalOpen}
|
||||
?loading=${this.isLoading}
|
||||
>
|
||||
</chat-search-results>
|
||||
</div>
|
||||
${this.friendList.map((item) => {
|
||||
return html`
|
||||
<chat-side-nav-heads
|
||||
activeChatHeadUrl=""
|
||||
.setActiveChatHeadUrl=${(val) => { }}
|
||||
.chatInfo=${item}
|
||||
.openEditFriend=${(val) => this.openEditFriend(val)}
|
||||
.closeSidePanel=${this.closeSidePanel}
|
||||
>
|
||||
</chat-side-nav-heads>
|
||||
`
|
||||
})}
|
||||
<div id="downObserver"></div>
|
||||
</div>
|
||||
</div>
|
||||
<add-friends-modal
|
||||
?isOpen=${this.isOpenAddFriendsModal}
|
||||
.setIsOpen=${(val) => {
|
||||
this.isOpenAddFriendsModal = val
|
||||
}}
|
||||
.userSelected=${this.userSelected}
|
||||
.onSubmit=${(val, isRemove) => this.addToFriendList(val, isRemove)}
|
||||
.editContent=${this.editContent}
|
||||
.onClose=${() => this.onClose()}
|
||||
.mySelectedFeeds=${this.mySelectedFeeds}
|
||||
>
|
||||
</add-friends-modal>
|
||||
`
|
||||
}
|
||||
|
||||
firstUpdated() {
|
||||
this.viewElement = this.shadowRoot.getElementById('viewElement')
|
||||
this.downObserverElement = this.shadowRoot.getElementById('downObserver')
|
||||
this.elementObserver()
|
||||
this.mySelectedFeeds = JSON.parse(localStorage.getItem('friends-my-selected-feeds') || "[]")
|
||||
this.friendList = JSON.parse(localStorage.getItem('friends-my-friend-list') || "[]")
|
||||
}
|
||||
|
||||
getNodeUrl() {
|
||||
const myNode =
|
||||
store.getState().app.nodeConfig.knownNodes[
|
||||
window.parent.reduxStore.getState().app.nodeConfig.node
|
||||
];
|
||||
|
||||
const nodeUrl =
|
||||
myNode.protocol + '://' + myNode.domain + ':' + myNode.port;
|
||||
return nodeUrl;
|
||||
const myNode = store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
return myNode.protocol + '://' + myNode.domain + ':' + myNode.port
|
||||
}
|
||||
|
||||
getMyNode() {
|
||||
const myNode =
|
||||
store.getState().app.nodeConfig.knownNodes[
|
||||
window.parent.reduxStore.getState().app.nodeConfig.node
|
||||
];
|
||||
|
||||
return myNode;
|
||||
return store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
}
|
||||
|
||||
getMoreFriends() {}
|
||||
|
||||
firstUpdated() {
|
||||
this.viewElement = this.shadowRoot.getElementById('viewElement');
|
||||
this.downObserverElement =
|
||||
this.shadowRoot.getElementById('downObserver');
|
||||
this.elementObserver();
|
||||
this.mySelectedFeeds = JSON.parse(localStorage.getItem('friends-my-selected-feeds') || "[]")
|
||||
this.friendList = JSON.parse(localStorage.getItem('friends-my-friend-list') || "[]")
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
getMoreFriends() { }
|
||||
|
||||
_updateFriends(event) {
|
||||
const detail = event.detail
|
||||
this.friendList = detail
|
||||
this.friendList = event.detail
|
||||
}
|
||||
|
||||
_updateFeed(event) {
|
||||
const detail = event.detail
|
||||
this.mySelectedFeeds = detail
|
||||
this.mySelectedFeeds = event.detail
|
||||
this.requestUpdate()
|
||||
}
|
||||
_addFriend(event){
|
||||
const name = event.detail;
|
||||
const findFriend = this.friendList.find((friend)=> friend.name === name)
|
||||
if(findFriend){
|
||||
this.editContent = {...findFriend, mySelectedFeeds: this.mySelectedFeeds}
|
||||
this.userSelected = findFriend;
|
||||
|
||||
_addFriend(event) {
|
||||
const name = event.detail;
|
||||
const findFriend = this.friendList.find((friend) => friend.name === name)
|
||||
if (findFriend) {
|
||||
this.editContent = { ...findFriend, mySelectedFeeds: this.mySelectedFeeds }
|
||||
this.userSelected = findFriend
|
||||
} else {
|
||||
this.userSelected = {
|
||||
name
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
this.isOpenAddFriendsModal = true
|
||||
this.openSidePanel()
|
||||
}
|
||||
@ -141,7 +197,6 @@ class FriendsView extends connect(store)(LitElement) {
|
||||
window.removeEventListener('friends-my-friend-list-event', this._updateFriends)
|
||||
window.removeEventListener('friends-my-selected-feeds-event', this._updateFeed)
|
||||
window.removeEventListener('add-friend', this._addFriend)
|
||||
|
||||
super.disconnectedCallback()
|
||||
}
|
||||
|
||||
@ -149,140 +204,145 @@ class FriendsView extends connect(store)(LitElement) {
|
||||
const options = {
|
||||
root: this.viewElement,
|
||||
rootMargin: '0px',
|
||||
threshold: 1,
|
||||
};
|
||||
threshold: 1
|
||||
}
|
||||
|
||||
// identify an element to observe
|
||||
const elementToObserve = this.downObserverElement;
|
||||
const elementToObserve = this.downObserverElement
|
||||
|
||||
// passing it a callback function
|
||||
const observer = new IntersectionObserver(
|
||||
this.observerHandler,
|
||||
options
|
||||
);
|
||||
)
|
||||
|
||||
// call `observe()` on that MutationObserver instance,
|
||||
// passing it the element to observe, and the options object
|
||||
observer.observe(elementToObserve);
|
||||
observer.observe(elementToObserve)
|
||||
}
|
||||
|
||||
observerHandler(entries) {
|
||||
if (!entries[0].isIntersecting) {
|
||||
return;
|
||||
|
||||
} else {
|
||||
if (this.friendList.length < 20) {
|
||||
return;
|
||||
}
|
||||
this.getMoreFriends();
|
||||
|
||||
this.getMoreFriends()
|
||||
}
|
||||
}
|
||||
|
||||
async userSearch() {
|
||||
const nameValue = this.shadowRoot.getElementById('sendTo').value
|
||||
if(!nameValue) {
|
||||
|
||||
if (!nameValue) {
|
||||
this.userFound = []
|
||||
this.userFoundModalOpen = true
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
const url = `${this.nodeUrl}/names/${nameValue}`
|
||||
const res = await fetch(url)
|
||||
const result = await res.json()
|
||||
|
||||
if (result.error === 401) {
|
||||
this.userFound = []
|
||||
this.userFoundModalOpen = true
|
||||
return;
|
||||
}
|
||||
try {
|
||||
const url = `${this.nodeUrl}/names/${nameValue}`
|
||||
const res = await fetch(url)
|
||||
const result = await res.json()
|
||||
if (result.error === 401) {
|
||||
this.userFound = []
|
||||
} else {
|
||||
this.userFound = [
|
||||
result
|
||||
];
|
||||
}
|
||||
this.userFoundModalOpen = true;
|
||||
} catch (error) {
|
||||
// let err4string = get("chatpage.cchange35");
|
||||
// parentEpml.request('showSnackBar', `${err4string}`)
|
||||
} else {
|
||||
this.userFound = [
|
||||
result
|
||||
]
|
||||
}
|
||||
|
||||
this.userFoundModalOpen = true;
|
||||
} catch (error) {
|
||||
// let err4string = get("chatpage.cchange35")
|
||||
// parentEpml.request('showSnackBar', `${err4string}`)
|
||||
}
|
||||
}
|
||||
|
||||
getApiKey() {
|
||||
const apiNode = window.parent.reduxStore.getState().app.nodeConfig.knownNodes[window.parent.reduxStore.getState().app.nodeConfig.node]
|
||||
let apiKey = apiNode.apiKey
|
||||
return apiKey
|
||||
}
|
||||
async myFollowName(name) {
|
||||
let items = [
|
||||
name
|
||||
]
|
||||
|
||||
async myFollowName(name) {
|
||||
let items = [
|
||||
name
|
||||
]
|
||||
let namesJsonString = JSON.stringify({ "items": items })
|
||||
let namesJsonString = JSON.stringify({ "items": items })
|
||||
|
||||
let ret = await parentEpml.request('apiCall', {
|
||||
url: `/lists/followedNames?apiKey=${this.getApiKey()}`,
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json'
|
||||
},
|
||||
body: `${namesJsonString}`
|
||||
})
|
||||
return await parentEpml.request('apiCall', {
|
||||
url: `/lists/followedNames?apiKey=${this.getApiKey()}`,
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json'
|
||||
},
|
||||
body: `${namesJsonString}`
|
||||
})
|
||||
}
|
||||
|
||||
async unFollowName(name) {
|
||||
let items = [
|
||||
name
|
||||
]
|
||||
|
||||
return ret
|
||||
}
|
||||
let namesJsonString = JSON.stringify({ "items": items })
|
||||
|
||||
async unFollowName(name) {
|
||||
let items = [
|
||||
name
|
||||
]
|
||||
let namesJsonString = JSON.stringify({ "items": items })
|
||||
return await parentEpml.request('apiCall', {
|
||||
url: `/lists/followedNames?apiKey=${this.getApiKey()}`,
|
||||
method: 'DELETE',
|
||||
headers: {
|
||||
'Content-Type': 'application/json'
|
||||
},
|
||||
body: `${namesJsonString}`
|
||||
})
|
||||
}
|
||||
|
||||
let ret = await parentEpml.request('apiCall', {
|
||||
url: `/lists/followedNames?apiKey=${this.getApiKey()}`,
|
||||
method: 'DELETE',
|
||||
headers: {
|
||||
'Content-Type': 'application/json'
|
||||
},
|
||||
body: `${namesJsonString}`
|
||||
})
|
||||
|
||||
|
||||
return ret
|
||||
}
|
||||
async addToFriendList(val, isRemove){
|
||||
const copyVal = {...val}
|
||||
async addToFriendList(val, isRemove) {
|
||||
const copyVal = { ...val }
|
||||
delete copyVal.mySelectedFeeds
|
||||
if(isRemove){
|
||||
this.friendList = this.friendList.filter((item)=> item.name !== copyVal.name)
|
||||
}else if(this.editContent){
|
||||
const findFriend = this.friendList.findIndex(item=> item.name === copyVal.name)
|
||||
if(findFriend !== -1){
|
||||
|
||||
if (isRemove) {
|
||||
this.friendList = this.friendList.filter((item) => item.name !== copyVal.name)
|
||||
} else if (this.editContent) {
|
||||
const findFriend = this.friendList.findIndex(item => item.name === copyVal.name)
|
||||
if (findFriend !== -1) {
|
||||
const copyList = [...this.friendList]
|
||||
copyList[findFriend] = copyVal
|
||||
this.friendList = copyList
|
||||
|
||||
}
|
||||
|
||||
} else {
|
||||
this.friendList = [...this.friendList, copyVal]
|
||||
}
|
||||
if(!copyVal.willFollow || isRemove) {
|
||||
this.unFollowName(copyVal.name)
|
||||
} else if(copyVal.willFollow){
|
||||
this.myFollowName(copyVal.name)
|
||||
|
||||
if (!copyVal.willFollow || isRemove) {
|
||||
await this.unFollowName(copyVal.name)
|
||||
} else if (copyVal.willFollow) {
|
||||
await this.myFollowName(copyVal.name)
|
||||
}
|
||||
|
||||
this.setMySelectedFeeds(val.mySelectedFeeds)
|
||||
await new Promise((res)=> {
|
||||
setTimeout(()=> {
|
||||
|
||||
await new Promise((res) => {
|
||||
setTimeout(() => {
|
||||
res()
|
||||
},50)
|
||||
}, 50)
|
||||
})
|
||||
this.userSelected = {};
|
||||
|
||||
this.userSelected = {}
|
||||
this.shadowRoot.getElementById('sendTo').value = ''
|
||||
this.isLoading = false;
|
||||
this.isLoading = false
|
||||
this.isOpenAddFriendsModal = false
|
||||
this.editContent = null
|
||||
this.setMyFriends(this.friendList)
|
||||
if(!isRemove && this.friendList.length === 1){
|
||||
|
||||
if (!isRemove && this.friendList.length === 1) {
|
||||
this.refreshFeed()
|
||||
}
|
||||
}
|
||||
setMyFriends(friendList){
|
||||
|
||||
setMyFriends(friendList) {
|
||||
localStorage.setItem('friends-my-friend-list', JSON.stringify(friendList));
|
||||
const tempSettingsData= JSON.parse(localStorage.getItem('temp-settings-data') || "{}")
|
||||
const tempSettingsData = JSON.parse(localStorage.getItem('temp-settings-data') || "{}")
|
||||
const newTemp = {
|
||||
...tempSettingsData,
|
||||
userLists: {
|
||||
@ -291,18 +351,20 @@ class FriendsView extends connect(store)(LitElement) {
|
||||
}
|
||||
}
|
||||
|
||||
localStorage.setItem('temp-settings-data', JSON.stringify(newTemp));
|
||||
localStorage.setItem('temp-settings-data', JSON.stringify(newTemp))
|
||||
|
||||
this.dispatchEvent(
|
||||
new CustomEvent('temp-settings-data-event', {
|
||||
bubbles: true,
|
||||
composed: true
|
||||
}),
|
||||
);
|
||||
|
||||
bubbles: true,
|
||||
composed: true
|
||||
})
|
||||
)
|
||||
}
|
||||
setMySelectedFeeds(mySelectedFeeds){
|
||||
|
||||
setMySelectedFeeds(mySelectedFeeds) {
|
||||
this.mySelectedFeeds = mySelectedFeeds
|
||||
const tempSettingsData= JSON.parse(localStorage.getItem('temp-settings-data') || "{}")
|
||||
const tempSettingsData = JSON.parse(localStorage.getItem('temp-settings-data') || "{}")
|
||||
|
||||
const newTemp = {
|
||||
...tempSettingsData,
|
||||
friendsFeed: {
|
||||
@ -311,98 +373,37 @@ class FriendsView extends connect(store)(LitElement) {
|
||||
}
|
||||
}
|
||||
|
||||
localStorage.setItem('temp-settings-data', JSON.stringify(newTemp));
|
||||
localStorage.setItem('friends-my-selected-feeds', JSON.stringify(mySelectedFeeds));
|
||||
}
|
||||
openEditFriend(val){
|
||||
this.isOpenAddFriendsModal = true
|
||||
this.userSelected = val
|
||||
this.editContent = {...val, mySelectedFeeds: this.mySelectedFeeds}
|
||||
localStorage.setItem('temp-settings-data', JSON.stringify(newTemp))
|
||||
localStorage.setItem('friends-my-selected-feeds', JSON.stringify(mySelectedFeeds))
|
||||
}
|
||||
|
||||
onClose(){
|
||||
openEditFriend(val) {
|
||||
this.isOpenAddFriendsModal = true
|
||||
this.userSelected = val
|
||||
this.editContent = { ...val, mySelectedFeeds: this.mySelectedFeeds }
|
||||
}
|
||||
|
||||
onClose() {
|
||||
this.isLoading = false;
|
||||
this.isOpenAddFriendsModal = false
|
||||
this.editContent = null
|
||||
this.userSelected = {}
|
||||
}
|
||||
|
||||
render() {
|
||||
return html`
|
||||
<div class="container">
|
||||
<div id="viewElement" class="container-body" style=${"position: relative"}>
|
||||
<p class="group-name">My Friends</p>
|
||||
<div class="search-field">
|
||||
<input
|
||||
type="text"
|
||||
class="name-input"
|
||||
?disabled=${this.isLoading}
|
||||
id="sendTo"
|
||||
placeholder="${translate("friends.friend1")}"
|
||||
value=${this.userSelected.name ? this.userSelected.name: ''}
|
||||
@keypress=${(e) => {
|
||||
if(e.key === 'Enter'){
|
||||
this.userSearch()
|
||||
}
|
||||
}}
|
||||
/>
|
||||
// Standard functions
|
||||
getApiKey() {
|
||||
const coreNode = store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
return coreNode.apiKey
|
||||
}
|
||||
|
||||
<vaadin-icon
|
||||
@click=${this.userSearch}
|
||||
slot="icon"
|
||||
icon="vaadin:search"
|
||||
class="search-icon">
|
||||
</vaadin-icon>
|
||||
isEmptyArray(arr) {
|
||||
if (!arr) { return true }
|
||||
return arr.length === 0
|
||||
}
|
||||
|
||||
</div>
|
||||
<div class="search-results-div">
|
||||
<chat-search-results
|
||||
.onClickFunc=${(result) => {
|
||||
this.userSelected = result;
|
||||
this.isOpenAddFriendsModal = true
|
||||
|
||||
this.userFound = [];
|
||||
this.userFoundModalOpen = false;
|
||||
}}
|
||||
.closeFunc=${() => {
|
||||
this.userFoundModalOpen = false;
|
||||
this.userFound = [];
|
||||
}}
|
||||
.searchResults=${this.userFound}
|
||||
?isOpen=${this.userFoundModalOpen}
|
||||
?loading=${this.isLoading}>
|
||||
</chat-search-results>
|
||||
</div>
|
||||
|
||||
|
||||
${this.friendList.map((item) => {
|
||||
return html`<chat-side-nav-heads
|
||||
activeChatHeadUrl=""
|
||||
.setActiveChatHeadUrl=${(val) => {
|
||||
|
||||
}}
|
||||
.chatInfo=${item}
|
||||
.openEditFriend=${(val)=> this.openEditFriend(val)}
|
||||
.closeSidePanel=${this.closeSidePanel}
|
||||
></chat-side-nav-heads>`;
|
||||
})}
|
||||
<div id="downObserver"></div>
|
||||
</div>
|
||||
</div>
|
||||
<add-friends-modal
|
||||
?isOpen=${this.isOpenAddFriendsModal}
|
||||
.setIsOpen=${(val)=> {
|
||||
this.isOpenAddFriendsModal = val
|
||||
}}
|
||||
.userSelected=${this.userSelected}
|
||||
.onSubmit=${(val, isRemove)=> this.addToFriendList(val, isRemove)}
|
||||
.editContent=${this.editContent}
|
||||
.onClose=${()=> this.onClose()}
|
||||
.mySelectedFeeds=${this.mySelectedFeeds}
|
||||
>
|
||||
</add-friends-modal>
|
||||
`;
|
||||
round(number) {
|
||||
return (Math.round(parseFloat(number) * 1e8) / 1e8).toFixed(8)
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define('friends-view', FriendsView);
|
||||
window.customElements.define('friends-view', FriendsView)
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,124 +1,88 @@
|
||||
import {css, html, LitElement} from 'lit'
|
||||
import {registerTranslateConfig, translate, use} from '../../translate/index.js'
|
||||
import { html, LitElement } from 'lit'
|
||||
import { languageSelectorStyles } from '../styles/core-css'
|
||||
|
||||
// Multi language support
|
||||
import { registerTranslateConfig, translate, use } from '../../translate'
|
||||
|
||||
registerTranslateConfig({
|
||||
loader: lang => fetch(`/language/${lang}.json`).then(res => res.json())
|
||||
loader: lang => fetch(`/language/${lang}.json`).then(res => res.json())
|
||||
})
|
||||
|
||||
const checkLanguage = localStorage.getItem('qortalLanguage')
|
||||
|
||||
if (checkLanguage === null || checkLanguage.length === 0) {
|
||||
localStorage.setItem('qortalLanguage', 'us')
|
||||
use('us')
|
||||
localStorage.setItem('qortalLanguage', 'us')
|
||||
use('us')
|
||||
} else {
|
||||
use(checkLanguage)
|
||||
use(checkLanguage)
|
||||
}
|
||||
|
||||
class LanguageSelector extends LitElement {
|
||||
static get properties() {
|
||||
return {
|
||||
theme: { type: String, reflect: true }
|
||||
}
|
||||
}
|
||||
static get properties() {
|
||||
return {
|
||||
theme: { type: String, reflect: true }
|
||||
}
|
||||
}
|
||||
|
||||
static get styles() {
|
||||
return [
|
||||
css`
|
||||
select {
|
||||
width: 175px;
|
||||
height: 34px;
|
||||
padding: 5px 0px 5px 5px;
|
||||
font-size: 16px;
|
||||
border: 1px solid var(--black);
|
||||
border-radius: 3px;
|
||||
color: var(--black);
|
||||
background:
|
||||
linear-gradient(45deg, transparent 50%, white 50%),
|
||||
linear-gradient(135deg, white 50%, transparent 50%),
|
||||
linear-gradient(to right, #03a9f4, #03a9f4);
|
||||
background-position:
|
||||
calc(100% - 17px) calc(0.5em + 4px),
|
||||
calc(100% - 7px) calc(0.5em + 4px),
|
||||
100% 0;
|
||||
background-size:
|
||||
10px 10px,
|
||||
10px 10px,
|
||||
2.2em 2.2em;
|
||||
background-repeat: no-repeat;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
-webkit-appearance:none;
|
||||
-moz-appearance:none;
|
||||
}
|
||||
static get styles() {
|
||||
return [languageSelectorStyles]
|
||||
}
|
||||
|
||||
*:focus {
|
||||
outline: none;
|
||||
}
|
||||
constructor() {
|
||||
super()
|
||||
this.theme = localStorage.getItem('qortalTheme') ? localStorage.getItem('qortalTheme') : 'light'
|
||||
}
|
||||
|
||||
select option {
|
||||
color: var(--black);
|
||||
background: var(--white);
|
||||
line-height: 34px;
|
||||
}
|
||||
`
|
||||
]
|
||||
}
|
||||
render() {
|
||||
return html`
|
||||
<div style="display: inline;">
|
||||
<select id="languageSelect" @change="${this.changeLanguage}">
|
||||
<option value="us">US - ${translate("selectmenu.english")}</option>
|
||||
<option value="de">DE - ${translate("selectmenu.german")}</option>
|
||||
<option value="es">ES - ${translate("selectmenu.spanish")}</option>
|
||||
<option value="et">ET - ${translate("selectmenu.estonian")}</option>
|
||||
<option value="fi">FI - ${translate("selectmenu.finnish")}</option>
|
||||
<option value="fr">FR - ${translate("selectmenu.french")}</option>
|
||||
<option value="hr">HR - ${translate("selectmenu.croatian")}</option>
|
||||
<option value="hu">HU - ${translate("selectmenu.hungarian")}</option>
|
||||
<option value="hindi">IN - ${translate("selectmenu.hindi")}</option>
|
||||
<option value="it">IT - ${translate("selectmenu.italian")}</option>
|
||||
<option value="jp">JP - ${translate("selectmenu.japanese")}</option>
|
||||
<option value="ko">KO - ${translate("selectmenu.korean")}</option>
|
||||
<option value="nl">NL - ${translate("selectmenu.dutch")}</option>
|
||||
<option value="no">NO - ${translate("selectmenu.norwegian")}</option>
|
||||
<option value="pl">PL - ${translate("selectmenu.polish")}</option>
|
||||
<option value="pt">PT - ${translate("selectmenu.portuguese")}</option>
|
||||
<option value="rs">RS - ${translate("selectmenu.serbian")}</option>
|
||||
<option value="ro">RO - ${translate("selectmenu.romanian")}</option>
|
||||
<option value="ru">RU - ${translate("selectmenu.russian")}</option>
|
||||
<option value="zht">ZHT - ${translate("selectmenu.chinese2")}</option>
|
||||
<option value="zhc">ZHC - ${translate("selectmenu.chinese1")}</option>
|
||||
</select>
|
||||
</div>
|
||||
`
|
||||
}
|
||||
|
||||
constructor() {
|
||||
super()
|
||||
this.theme = localStorage.getItem('qortalTheme') ? localStorage.getItem('qortalTheme') : 'light'
|
||||
}
|
||||
firstUpdated() {
|
||||
const myElement = this.shadowRoot.getElementById('languageSelect')
|
||||
|
||||
render() {
|
||||
return html`
|
||||
<div style="display: inline;">
|
||||
<select id="languageSelect" @change="${this.changeLanguage}">
|
||||
<option value="us">US - ${translate("selectmenu.english")}</option>
|
||||
<option value="de">DE - ${translate("selectmenu.german")}</option>
|
||||
<option value="es">ES - ${translate("selectmenu.spanish")}</option>
|
||||
<option value="et">ET - ${translate("selectmenu.estonian")}</option>
|
||||
<option value="fr">FR - ${translate("selectmenu.french")}</option>
|
||||
<option value="hr">HR - ${translate("selectmenu.croatian")}</option>
|
||||
<option value="hu">HU - ${translate("selectmenu.hungarian")}</option>
|
||||
<option value="hindi">IN - ${translate("selectmenu.hindi")}</option>
|
||||
<option value="it">IT - ${translate("selectmenu.italian")}</option>
|
||||
<option value="jp">JP - ${translate("selectmenu.japanese")}</option>
|
||||
<option value="ko">KO - ${translate("selectmenu.korean")}</option>
|
||||
<option value="nl">NL - ${translate("selectmenu.dutch")}</option>
|
||||
<option value="no">NO - ${translate("selectmenu.norwegian")}</option>
|
||||
<option value="pl">PL - ${translate("selectmenu.polish")}</option>
|
||||
<option value="pt">PT - ${translate("selectmenu.portuguese")}</option>
|
||||
<option value="rs">RS - ${translate("selectmenu.serbian")}</option>
|
||||
<option value="ro">RO - ${translate("selectmenu.romanian")}</option>
|
||||
<option value="ru">RU - ${translate("selectmenu.russian")}</option>
|
||||
<option value="zht">ZHT - ${translate("selectmenu.chinese2")}</option>
|
||||
<option value="zhc">ZHC - ${translate("selectmenu.chinese1")}</option>
|
||||
</select>
|
||||
</div>
|
||||
`
|
||||
}
|
||||
myElement.addEventListener('change', () => {
|
||||
this.selectElement()
|
||||
})
|
||||
|
||||
firstUpdated() {
|
||||
const myElement = this.shadowRoot.getElementById('languageSelect')
|
||||
this.selectElement()
|
||||
}
|
||||
|
||||
myElement.addEventListener("change", () => {
|
||||
this.selectElement()
|
||||
})
|
||||
selectElement() {
|
||||
const selectedLanguage = localStorage.getItem('qortalLanguage')
|
||||
let element = this.shadowRoot.getElementById('languageSelect')
|
||||
element.value = selectedLanguage
|
||||
}
|
||||
|
||||
this.selectElement()
|
||||
}
|
||||
|
||||
selectElement() {
|
||||
const selectedLanguage = localStorage.getItem('qortalLanguage')
|
||||
let element = this.shadowRoot.getElementById('languageSelect')
|
||||
element.value = selectedLanguage
|
||||
}
|
||||
|
||||
changeLanguage(event) {
|
||||
use(event.target.value)
|
||||
localStorage.setItem('qortalLanguage', event.target.value)
|
||||
}
|
||||
changeLanguage(event) {
|
||||
use(event.target.value)
|
||||
localStorage.setItem('qortalLanguage', event.target.value)
|
||||
}
|
||||
}
|
||||
|
||||
window.customElements.define('language-selector', LanguageSelector)
|
||||
window.customElements.define('language-selector', LanguageSelector)
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,20 +1,7 @@
|
||||
import {css, html, LitElement} from 'lit'
|
||||
import {connect} from 'pwa-helpers'
|
||||
import {store} from '../../store.js'
|
||||
import {stateAwait} from '../../stateAwait.js'
|
||||
import {get} from '../../../translate/index.js'
|
||||
|
||||
import '@material/mwc-button'
|
||||
import '@material/mwc-icon'
|
||||
import '@material/mwc-fab'
|
||||
import '@polymer/iron-pages'
|
||||
import '@polymer/paper-icon-button/paper-icon-button.js'
|
||||
import './welcome-page.js'
|
||||
import './create-account-section.js'
|
||||
import './login-section.js'
|
||||
import '../qort-theme-toggle.js'
|
||||
|
||||
import settings from '../../functional-components/settings-page.js'
|
||||
import { html, LitElement } from 'lit'
|
||||
import { connect } from 'pwa-helpers'
|
||||
import { store } from '../../store'
|
||||
import { stateAwait } from '../../stateAwait'
|
||||
import {
|
||||
addAutoLoadImageChat,
|
||||
addChatLastSeen,
|
||||
@ -22,358 +9,406 @@ import {
|
||||
allowQAPPAutoAuth,
|
||||
allowQAPPAutoFriendsList,
|
||||
allowQAPPAutoLists,
|
||||
allowShowSyncIndicator,
|
||||
removeAutoLoadImageChat,
|
||||
removeQAPPAutoAuth,
|
||||
removeQAPPAutoFriendsList,
|
||||
removeQAPPAutoLists,
|
||||
removeShowSyncIndicator,
|
||||
setNewNotification,
|
||||
setNewTab,
|
||||
setSideEffectAction,
|
||||
setTabNotifications
|
||||
} from '../../redux/app/app-actions.js'
|
||||
setTabNotifications,
|
||||
allowQAPPAutoBalance,
|
||||
removeQAPPAutoBalance,
|
||||
allowQAPPAutoTransactions,
|
||||
removeQAPPAutoTransactions
|
||||
} from '../../redux/app/app-actions'
|
||||
import settings from '../../functional-components/settings-page'
|
||||
import './welcome-page'
|
||||
import './create-account-section'
|
||||
import './login-section'
|
||||
import '../qort-theme-toggle'
|
||||
import '@material/mwc-button'
|
||||
import '@material/mwc-icon'
|
||||
import '@material/mwc-fab'
|
||||
import '@polymer/iron-pages'
|
||||
import '@polymer/paper-icon-button/paper-icon-button.js'
|
||||
|
||||
// Multi language support
|
||||
import { get } from '../../../translate'
|
||||
|
||||
window.reduxStore = store
|
||||
|
||||
window.reduxAction = {
|
||||
addAutoLoadImageChat: addAutoLoadImageChat,
|
||||
removeAutoLoadImageChat: removeAutoLoadImageChat,
|
||||
addChatLastSeen: addChatLastSeen,
|
||||
allowQAPPAutoAuth: allowQAPPAutoAuth,
|
||||
removeQAPPAutoAuth: removeQAPPAutoAuth,
|
||||
allowQAPPAutoLists: allowQAPPAutoLists,
|
||||
removeQAPPAutoLists: removeQAPPAutoLists,
|
||||
addTabInfo: addTabInfo,
|
||||
setTabNotifications: setTabNotifications,
|
||||
setNewTab: setNewTab,
|
||||
setNewNotification: setNewNotification,
|
||||
setSideEffectAction: setSideEffectAction,
|
||||
allowQAPPAutoFriendsList: allowQAPPAutoFriendsList,
|
||||
removeQAPPAutoFriendsList: removeQAPPAutoFriendsList
|
||||
addAutoLoadImageChat: addAutoLoadImageChat,
|
||||
removeAutoLoadImageChat: removeAutoLoadImageChat,
|
||||
addChatLastSeen: addChatLastSeen,
|
||||
allowQAPPAutoAuth: allowQAPPAutoAuth,
|
||||
removeQAPPAutoAuth: removeQAPPAutoAuth,
|
||||
allowQAPPAutoLists: allowQAPPAutoLists,
|
||||
removeQAPPAutoLists: removeQAPPAutoLists,
|
||||
addTabInfo: addTabInfo,
|
||||
setTabNotifications: setTabNotifications,
|
||||
setNewTab: setNewTab,
|
||||
setNewNotification: setNewNotification,
|
||||
setSideEffectAction: setSideEffectAction,
|
||||
allowQAPPAutoFriendsList: allowQAPPAutoFriendsList,
|
||||
removeQAPPAutoFriendsList: removeQAPPAutoFriendsList,
|
||||
allowShowSyncIndicator: allowShowSyncIndicator,
|
||||
removeShowSyncIndicator: removeShowSyncIndicator,
|
||||
allowQAPPAutoBalance: allowQAPPAutoBalance,
|
||||
removeQAPPAutoBalance: removeQAPPAutoBalance,
|
||||
allowQAPPAutoTransactions: allowQAPPAutoTransactions,
|
||||
removeQAPPAutoTransactions: removeQAPPAutoTransactions
|
||||
}
|
||||
|
||||
const animationDuration = 0.7 // Seconds
|
||||
|
||||
class LoginView extends connect(store)(LitElement) {
|
||||
static get properties() {
|
||||
return {
|
||||
loggedIn: { type: Boolean },
|
||||
selectedPage: { type: String },
|
||||
pages: { type: Object },
|
||||
rippleIsOpen: { type: Boolean },
|
||||
config: { type: Object },
|
||||
rippleLoadingMessage: { type: String },
|
||||
selectedPageElement: {},
|
||||
nodeConfig: { type: Object },
|
||||
theme: { type: String, reflect: true }
|
||||
}
|
||||
}
|
||||
static get properties() {
|
||||
return {
|
||||
loggedIn: { type: Boolean },
|
||||
selectedPage: { type: String },
|
||||
pages: { type: Object },
|
||||
rippleIsOpen: { type: Boolean },
|
||||
config: { type: Object },
|
||||
rippleLoadingMessage: { type: String },
|
||||
selectedPageElement: {},
|
||||
nodeConfig: { type: Object },
|
||||
theme: { type: String, reflect: true }
|
||||
}
|
||||
}
|
||||
|
||||
static get styles() {
|
||||
return [
|
||||
css``
|
||||
]
|
||||
}
|
||||
constructor() {
|
||||
super()
|
||||
this.selectedPage = this.getPreSelectedPage()
|
||||
this.selectedPageElement = {}
|
||||
this.rippleIsOpen = false
|
||||
this.pages = {
|
||||
welcome: 0,
|
||||
'create-account': 1,
|
||||
login: 2
|
||||
}
|
||||
this.rippleLoadingMessage = 'Getting information'
|
||||
this.theme = localStorage.getItem('qortalTheme') ? localStorage.getItem('qortalTheme') : 'light'
|
||||
}
|
||||
|
||||
getPreSelectedPage() {
|
||||
return 'welcome'
|
||||
}
|
||||
render() {
|
||||
return html`
|
||||
<style>
|
||||
|
||||
constructor() {
|
||||
super()
|
||||
this.selectedPage = this.getPreSelectedPage()
|
||||
this.selectedPageElement = {}
|
||||
this.rippleIsOpen = false
|
||||
this.pages = {
|
||||
welcome: 0,
|
||||
'create-account': 1,
|
||||
login: 2
|
||||
}
|
||||
this.rippleLoadingMessage = 'Getting information'
|
||||
this.theme = localStorage.getItem('qortalTheme') ? localStorage.getItem('qortalTheme') : 'light'
|
||||
}
|
||||
canvas {
|
||||
display: block;
|
||||
vertical-align: bottom;
|
||||
}
|
||||
|
||||
firstUpdated() {
|
||||
.login-page {
|
||||
background: var(--background);
|
||||
background-repeat: no-repeat;
|
||||
background-attachment: fixed;
|
||||
background-position: center;
|
||||
height: var(--window-height);
|
||||
width: 100vw;
|
||||
max-width: 100vw;
|
||||
max-height: var(--window-height);
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
stateAwait(state => {
|
||||
return 'primary' in state.config.styles.theme.colors
|
||||
}).catch(e => console.error(e))
|
||||
.login-card-container {
|
||||
max-width: 1240px;
|
||||
max-height: var(--window-height);
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
width: calc(100vw);
|
||||
}
|
||||
|
||||
const loginContainerPages = this.shadowRoot.querySelector('#loginContainerPages')
|
||||
const loginCard = this.shadowRoot.querySelector('#login-card')
|
||||
const navigate = e => {
|
||||
this.selectPage(e.detail.page)
|
||||
}
|
||||
const updatedProperty = e => {
|
||||
// ...
|
||||
const selectedPageElement = this.selectedPageElement
|
||||
this.selectedPageElement = {}
|
||||
setTimeout(() => { this.selectedPageElement = selectedPageElement }, 1) // Yuck
|
||||
}
|
||||
loginContainerPages.addEventListener('selected-item-changed', () => {
|
||||
.qortal-logo {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
width: 200px;
|
||||
max-width: 40%;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
if (!loginContainerPages.selectedItem) {
|
||||
.login-card-center-container {
|
||||
max-width: 100%;
|
||||
max-height: var(--window-height);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: var(--window-height);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
if (this.selectedPageElement.removeEventListener) {
|
||||
this.selectedPageElement.removeEventListener('navigate', navigate)
|
||||
this.selectedPageElement.removeEventListener('updatedProperty', updatedProperty)
|
||||
}
|
||||
this.selectedPageElement = {}
|
||||
loginCard.classList.remove('animated')
|
||||
loginCard.className += ' animated'
|
||||
} else {
|
||||
setTimeout(() => {
|
||||
#loginContainerPages {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
this.selectedPageElement = loginContainerPages.selectedItem
|
||||
#loginContainerPages [page] {
|
||||
background: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
this.selectedPageElement.addEventListener('navigate', navigate)
|
||||
this.selectedPageElement.addEventListener('updatedProperty', updatedProperty)
|
||||
setTimeout(() => loginCard.classList.remove('animated'), animationDuration * 1000)
|
||||
}, 1)
|
||||
}
|
||||
})
|
||||
}
|
||||
.login-card {
|
||||
min-width: 340px;
|
||||
border-bottom: 2px solid var(--mdc-theme-primary);
|
||||
border-top: 2px solid var(--mdc-theme-primary);
|
||||
text-align: center;
|
||||
z-index: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
render() {
|
||||
return html`
|
||||
<style>
|
||||
canvas {
|
||||
display: block;
|
||||
vertical-align: bottom;
|
||||
}
|
||||
.login-card p {
|
||||
margin-top: 0;
|
||||
font-size: 1rem;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.login-page {
|
||||
background: var(--background);
|
||||
background-repeat: no-repeat;
|
||||
background-attachment: fixed;
|
||||
background-position: center;
|
||||
height: var(--window-height);
|
||||
width:100vw;
|
||||
max-width:100vw;
|
||||
max-height:var(--window-height);
|
||||
position:absolute;
|
||||
top:0;
|
||||
left:0;
|
||||
z-index:1;
|
||||
}
|
||||
.login-card h1 {
|
||||
margin-bottom: 12px;
|
||||
font-size: 64px;
|
||||
}
|
||||
|
||||
.login-card-container {
|
||||
max-width:1240px;
|
||||
max-height:var(--window-height);
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
width: calc(100vw);
|
||||
}
|
||||
.login-card h5 {
|
||||
margin-top: -16px;
|
||||
margin-left: 100px;
|
||||
font-size: 14px;
|
||||
color: var(--black);
|
||||
}
|
||||
|
||||
.qortal-logo {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
width:200px;
|
||||
max-width:40%;
|
||||
z-index:1;
|
||||
}
|
||||
.login-card h6 {
|
||||
font-size: 12px;
|
||||
color: var(--mdc-theme-primary);
|
||||
}
|
||||
|
||||
.login-card-center-container {
|
||||
max-width:100%;
|
||||
max-height:var(--window-height);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: var(--window-height);
|
||||
overflow:hidden;
|
||||
}
|
||||
.login-card iron-pages {
|
||||
height: 100%;
|
||||
margin-top: -16px;
|
||||
}
|
||||
|
||||
#loginContainerPages {
|
||||
display:inline;
|
||||
}
|
||||
.backButton {
|
||||
padding-top: 18px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#loginContainerPages [page] {
|
||||
background: none;
|
||||
padding:0;
|
||||
}
|
||||
#login-pages-nav {
|
||||
text-align: left;
|
||||
padding: 12px 0 8px 0;
|
||||
}
|
||||
|
||||
.login-card {
|
||||
min-width: 340px;
|
||||
border-bottom: 2px solid var(--mdc-theme-primary);
|
||||
border-top: 2px solid var(--mdc-theme-primary);
|
||||
text-align:center;
|
||||
z-index:0;
|
||||
padding:0;
|
||||
border: 0;
|
||||
border-radius: 4px;
|
||||
}
|
||||
#nav-next {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.login-card p {
|
||||
margin-top: 0;
|
||||
font-size: 1rem;
|
||||
font-style: italic;
|
||||
}
|
||||
@media only screen and (min-width: ${getComputedStyle(document.body).getPropertyValue('--layout-breakpoint-tablet')}) {
|
||||
|
||||
.login-card h1 {
|
||||
margin-bottom:12px;
|
||||
font-size:64px;
|
||||
}
|
||||
/* Desktop/tablet */
|
||||
.login-card {
|
||||
max-width: 460px;
|
||||
}
|
||||
|
||||
.login-card h5 {
|
||||
margin-top: -16px;
|
||||
margin-left: 100px;
|
||||
font-size: 14px;
|
||||
color: var(--black);
|
||||
}
|
||||
#loginContainerPages [page] {
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.login-card h6 {
|
||||
font-size: 12px;
|
||||
color: var(--mdc-theme-primary);
|
||||
}
|
||||
#loginContainerPages [page="welcome"] {}
|
||||
}
|
||||
|
||||
.login-card iron-pages {
|
||||
height:100%;
|
||||
margin-top: -16px;
|
||||
}
|
||||
@media only screen and (max-width: ${getComputedStyle(document.body).getPropertyValue('--layout-breakpoint-tablet')}) {
|
||||
|
||||
.backButton {
|
||||
padding-top:18px;
|
||||
text-align:center;
|
||||
}
|
||||
/* Mobile */
|
||||
.qortal-logo {
|
||||
display: none;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
#login-pages-nav {
|
||||
text-align: left;
|
||||
padding: 12px 0 8px 0;
|
||||
}
|
||||
.login-card {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
top: 0;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
#nav-next {
|
||||
float: right;
|
||||
}
|
||||
.backButton {
|
||||
text-align: left;
|
||||
padding-left: 12px;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: ${getComputedStyle(document.body).getPropertyValue('--layout-breakpoint-tablet')}) {
|
||||
/* Desktop/tablet */
|
||||
.login-card {
|
||||
max-width:460px;
|
||||
}
|
||||
#loginContainerPages [page] {
|
||||
border-radius: 4px;
|
||||
}
|
||||
#loginContainerPages [page="welcome"] {
|
||||
}
|
||||
}
|
||||
.login-card h5 {
|
||||
margin-top: 0px;
|
||||
margin-left: 0px;
|
||||
font-size: 14px;
|
||||
color: var(--black);
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: ${getComputedStyle(document.body).getPropertyValue('--layout-breakpoint-tablet')}) {
|
||||
/* Mobile */
|
||||
.qortal-logo {
|
||||
display:none;
|
||||
visibility:hidden;
|
||||
}
|
||||
.login-card {
|
||||
width:100%;
|
||||
margin:0;
|
||||
top:0;
|
||||
max-width:100%;
|
||||
}
|
||||
.backButton {
|
||||
text-align: left;
|
||||
padding-left:12px;
|
||||
}
|
||||
.login-card h5 {
|
||||
margin-top: 0px;
|
||||
margin-left: 0px;
|
||||
font-size: 14px;
|
||||
color: var(--black);
|
||||
}
|
||||
}
|
||||
@keyframes fade {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateX(-20%);
|
||||
}
|
||||
|
||||
@keyframes fade {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateX(-20%);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateX(0);
|
||||
}
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateX(0);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes grow-up {
|
||||
from {
|
||||
overflow:hidden;
|
||||
max-height:0;
|
||||
}
|
||||
to {
|
||||
overflow:hidden;
|
||||
max-height:var(--window-height);
|
||||
}
|
||||
}
|
||||
@keyframes grow-up {
|
||||
from {
|
||||
overflow: hidden;
|
||||
max-height: 0;
|
||||
}
|
||||
|
||||
iron-pages .animated, .animated {
|
||||
animation-duration: ${animationDuration}s;
|
||||
animation-name: grow-up;
|
||||
}
|
||||
to {
|
||||
overflow: hidden;
|
||||
max-height: var(--window-height);
|
||||
}
|
||||
}
|
||||
|
||||
div[page] > paper-icon-button {
|
||||
margin:12px;
|
||||
}
|
||||
iron-pages .animated,
|
||||
.animated {
|
||||
animation-duration: ${animationDuration}s;
|
||||
animation-name: grow-up;
|
||||
}
|
||||
|
||||
.corner-box {
|
||||
border-color: var(--mdc-theme-primary) !important;
|
||||
}
|
||||
div[page]>paper-icon-button {
|
||||
margin: 12px;
|
||||
}
|
||||
|
||||
[hidden] {
|
||||
visibility: hidden;
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
<div class="login-page" ?hidden=${this.loggedIn}>
|
||||
<mwc-fab icon="settings" style="position:fixed; right:24px; bottom:24px;" @click=${() => settings.show()}></mwc-fab>
|
||||
<span style="position:fixed; left:24px; bottom:24px;"><qort-theme-toggle></qort-theme-toggle></span>
|
||||
<div class="login-card-container">
|
||||
<div class="login-card-center-container">
|
||||
<div class="login-card" id="login-card">
|
||||
<img class="qortal-logo" src="${this.config.coin.logo}">
|
||||
<h5 ?hidden="${this.selectedPage != "welcome"}">UI: v${this.nodeConfig.version ? this.nodeConfig.version : ''}</h5>
|
||||
${this.renderSelectedNodeOnStart()}
|
||||
<iron-pages selected="${this.selectedPage}" attr-for-selected="page" id="loginContainerPages">
|
||||
<welcome-page @next=${e => this.selectedPageElement.next(e)} page="welcome"></welcome-page>
|
||||
<create-account-section @next=${e => this.selectedPageElement.next(e)} page="create-account"></create-account-section>
|
||||
<login-section @next=${e => this.selectedPageElement.next(e)} page="login"></login-section>
|
||||
</iron-pages>
|
||||
<div id="login-pages-nav" ?hidden="${this.selectedPageElement.hideNav}">
|
||||
<mwc-button @click=${e => this.selectedPageElement.back(e)} id="nav-back" ?hidden="${this.selectedPageElement.backHidden}" ?disabled="${this.selectedPageElement.backDisabled}">
|
||||
<mwc-icon>keyboard_arrow_left</mwc-icon>${this.selectedPageElement.backText}
|
||||
</mwc-button>
|
||||
<mwc-button @click=${e => this.selectedPageElement.next(e)} id="nav-next" ?hidden="${this.selectedPageElement.nextHidden}" ?disabled="${this.selectedPageElement.nextDisabled}">
|
||||
${this.selectedPageElement.nextText}<mwc-icon>keyboard_arrow_right</mwc-icon>
|
||||
</mwc-button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`
|
||||
}
|
||||
.corner-box {
|
||||
border-color: var(--mdc-theme-primary) !important;
|
||||
}
|
||||
|
||||
renderSelectedNodeOnStart() {
|
||||
const selectedNodeIndexOnStart = localStorage.getItem('mySelectedNode')
|
||||
const catchSavedNodes = JSON.parse(localStorage.getItem('myQortalNodes'))
|
||||
const selectedNodeOnStart = catchSavedNodes[selectedNodeIndexOnStart]
|
||||
const selectedNameOnStart = `${selectedNodeOnStart.name}`
|
||||
const selectedNodeUrlOnStart = `${selectedNodeOnStart.protocol + '://' + selectedNodeOnStart.domain +':' + selectedNodeOnStart.port}`
|
||||
[hidden] {
|
||||
visibility: hidden;
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
<div class="login-page" ?hidden=${this.loggedIn}>
|
||||
<mwc-fab icon="settings" style="position:fixed; right:24px; bottom:24px;" @click=${() => settings.show()}></mwc-fab>
|
||||
<span style="position:fixed; left:24px; bottom:24px;">
|
||||
<qort-theme-toggle></qort-theme-toggle>
|
||||
</span>
|
||||
<div class="login-card-container">
|
||||
<div class="login-card-center-container">
|
||||
<div class="login-card" id="login-card">
|
||||
<img class="qortal-logo" src="${this.config.coin.logo}">
|
||||
<h5 ?hidden="${this.selectedPage != "welcome"}">UI: v${this.nodeConfig.version ? this.nodeConfig.version : ''}</h5>
|
||||
${this.renderSelectedNodeOnStart()}
|
||||
<iron-pages selected="${this.selectedPage}" attr-for-selected="page" id="loginContainerPages">
|
||||
<welcome-page @next=${e => this.selectedPageElement.next(e)} page="welcome"></welcome-page>
|
||||
<create-account-section @next=${e => this.selectedPageElement.next(e)} page="create-account"></create-account-section>
|
||||
<login-section @next=${e => this.selectedPageElement.next(e)} page="login"></login-section>
|
||||
</iron-pages>
|
||||
<div id="login-pages-nav" ?hidden="${this.selectedPageElement.hideNav}">
|
||||
<mwc-button
|
||||
@click=${e => this.selectedPageElement.back(e)}
|
||||
id="nav-back"
|
||||
?hidden="${this.selectedPageElement.backHidden}"
|
||||
?disabled="${this.selectedPageElement.backDisabled}"
|
||||
>
|
||||
<mwc-icon>keyboard_arrow_left</mwc-icon>
|
||||
${this.selectedPageElement.backText}
|
||||
</mwc-button>
|
||||
<mwc-button
|
||||
@click=${e => this.selectedPageElement.next(e)}
|
||||
id="nav-next"
|
||||
?hidden="${this.selectedPageElement.nextHidden}"
|
||||
?disabled="${this.selectedPageElement.nextDisabled}"
|
||||
>
|
||||
${this.selectedPageElement.nextText}
|
||||
<mwc-icon>keyboard_arrow_right</mwc-icon>
|
||||
</mwc-button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`
|
||||
}
|
||||
|
||||
let connectString = get('settings.snack2')
|
||||
firstUpdated() {
|
||||
stateAwait(state => {
|
||||
return 'primary' in state.config.styles.theme.colors
|
||||
}).catch(e => console.error(e))
|
||||
|
||||
return html`<h6>${connectString} : ${selectedNameOnStart} ${selectedNodeUrlOnStart}</h6>`
|
||||
}
|
||||
const loginContainerPages = this.shadowRoot.querySelector('#loginContainerPages')
|
||||
const loginCard = this.shadowRoot.querySelector('#login-card')
|
||||
|
||||
selectPage(newPage) {
|
||||
this.selectedPage = newPage
|
||||
}
|
||||
const navigate = e => {
|
||||
this.selectPage(e.detail.page)
|
||||
}
|
||||
|
||||
stateChanged(state) {
|
||||
if (this.loggedIn && !state.app.loggedIn) this.cleanup()
|
||||
this.loggedIn = state.app.loggedIn
|
||||
this.config = state.config
|
||||
this.nodeConfig = state.app.nodeConfig
|
||||
}
|
||||
const updatedProperty = e => {
|
||||
const selectedPageElement = this.selectedPageElement
|
||||
|
||||
cleanup() {
|
||||
this.selectedPage = 'welcome'
|
||||
}
|
||||
this.selectedPageElement = {}
|
||||
|
||||
setTimeout(() => { this.selectedPageElement = selectedPageElement }, 1)
|
||||
}
|
||||
|
||||
loginContainerPages.addEventListener('selected-item-changed', () => {
|
||||
if (!loginContainerPages.selectedItem) {
|
||||
|
||||
if (this.selectedPageElement.removeEventListener) {
|
||||
this.selectedPageElement.removeEventListener('navigate', navigate)
|
||||
this.selectedPageElement.removeEventListener('updatedProperty', updatedProperty)
|
||||
}
|
||||
|
||||
this.selectedPageElement = {}
|
||||
|
||||
loginCard.classList.remove('animated')
|
||||
loginCard.className += ' animated'
|
||||
} else {
|
||||
setTimeout(() => {
|
||||
this.selectedPageElement = loginContainerPages.selectedItem
|
||||
this.selectedPageElement.addEventListener('navigate', navigate)
|
||||
this.selectedPageElement.addEventListener('updatedProperty', updatedProperty)
|
||||
|
||||
setTimeout(() => loginCard.classList.remove('animated'), animationDuration * 1000)
|
||||
}, 1)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
getPreSelectedPage() {
|
||||
return 'welcome'
|
||||
}
|
||||
|
||||
renderSelectedNodeOnStart() {
|
||||
const selectedNodeIndexOnStart = localStorage.getItem('mySelectedNode')
|
||||
const catchSavedNodes = JSON.parse(localStorage.getItem('myQortalNodes'))
|
||||
const selectedNodeOnStart = catchSavedNodes[selectedNodeIndexOnStart]
|
||||
const selectedNameOnStart = `${selectedNodeOnStart.name}`
|
||||
const selectedNodeUrlOnStart = `${selectedNodeOnStart.protocol + '://' + selectedNodeOnStart.domain + ':' + selectedNodeOnStart.port}`
|
||||
|
||||
let connectString = get('settings.snack2')
|
||||
|
||||
return html`<h6>${connectString} : ${selectedNameOnStart} ${selectedNodeUrlOnStart}</h6>`
|
||||
}
|
||||
|
||||
selectPage(newPage) {
|
||||
this.selectedPage = newPage
|
||||
}
|
||||
|
||||
stateChanged(state) {
|
||||
if (this.loggedIn && !state.app.loggedIn) this.cleanup()
|
||||
|
||||
this.loggedIn = state.app.loggedIn
|
||||
this.config = state.config
|
||||
this.nodeConfig = state.app.nodeConfig
|
||||
}
|
||||
|
||||
cleanup() {
|
||||
this.selectedPage = 'welcome'
|
||||
}
|
||||
}
|
||||
|
||||
window.customElements.define('login-view', LoginView)
|
||||
window.customElements.define('login-view', LoginView)
|
@ -346,8 +346,7 @@ var pJS = function (tag_id, params) {
|
||||
var shape_type = pJS.particles.shape.type
|
||||
if (typeof (shape_type) === 'object') {
|
||||
if (shape_type instanceof Array) {
|
||||
var shape_selected = shape_type[Math.floor(Math.random() * shape_type.length)]
|
||||
this.shape = shape_selected
|
||||
this.shape = shape_type[Math.floor(Math.random() * shape_type.length)]
|
||||
}
|
||||
} else {
|
||||
this.shape = shape_type
|
||||
@ -1255,11 +1254,11 @@ function hexToRgb(hex) {
|
||||
g: parseInt(result[2], 16),
|
||||
b: parseInt(result[3], 16)
|
||||
} : null
|
||||
};
|
||||
}
|
||||
|
||||
function clamp(number, min, max) {
|
||||
return Math.min(Math.max(number, min), max)
|
||||
};
|
||||
}
|
||||
|
||||
function isInArray(value, array) {
|
||||
return array.indexOf(value) > -1
|
||||
|
@ -1,88 +1,44 @@
|
||||
import {css, html, LitElement} from 'lit'
|
||||
import {translate} from '../../../translate/index.js'
|
||||
|
||||
import { html, LitElement } from 'lit'
|
||||
import { welcomePageStyles } from '../../styles/core-css'
|
||||
import '@material/mwc-button'
|
||||
|
||||
// Multi language support
|
||||
import { translate } from '../../../translate'
|
||||
|
||||
class WelcomePage extends LitElement {
|
||||
static get properties() {
|
||||
return {
|
||||
nextHidden: { type: Boolean, notify: true },
|
||||
nextEnabled: { type: Boolean, notify: true },
|
||||
nextText: { type: String, notify: true },
|
||||
backHidden: { type: Boolean, notify: true },
|
||||
backDisabled: { type: Boolean, notify: true },
|
||||
backText: { type: String, notify: true },
|
||||
hideNav: { type: Boolean, notify: true },
|
||||
theme: { type: String, reflect: true }
|
||||
}
|
||||
}
|
||||
static get properties() {
|
||||
return {
|
||||
hideNav: { type: Boolean, notify: true },
|
||||
theme: { type: String, reflect: true }
|
||||
}
|
||||
}
|
||||
|
||||
static get styles() {
|
||||
return [
|
||||
css`
|
||||
* {
|
||||
--mdc-theme-primary: rgb(3, 169, 244);
|
||||
--mdc-theme-secondary: var(--mdc-theme-primary);
|
||||
--mdc-button-outline-color: #03a9f4;
|
||||
}
|
||||
static get styles() {
|
||||
return [welcomePageStyles]
|
||||
}
|
||||
|
||||
mwc-button {
|
||||
margin: 6px;
|
||||
width: 90%;
|
||||
max-width:90vw;
|
||||
margin: 4px;
|
||||
}
|
||||
constructor() {
|
||||
super()
|
||||
this.hideNav = true
|
||||
this.theme = localStorage.getItem('qortalTheme') ? localStorage.getItem('qortalTheme') : 'light'
|
||||
}
|
||||
|
||||
.welcome-page {
|
||||
padding: 12px 0;
|
||||
}
|
||||
`
|
||||
]
|
||||
}
|
||||
render() {
|
||||
return html`
|
||||
<div class="welcome-page">
|
||||
<mwc-button class="button-outline" @click=${() => this.navigate('login')} outlined>${translate("login.login")}</mwc-button>
|
||||
<mwc-button class="button-outline" @click=${() => this.navigate('create-account')} outlined>${translate("login.createaccount")}</mwc-button>
|
||||
</div>
|
||||
`
|
||||
}
|
||||
|
||||
constructor() {
|
||||
super()
|
||||
this.hideNav = true
|
||||
this.nextText = ''
|
||||
const welcomeMessage = 'Welcome to Qortal';
|
||||
this.welcomeMessage = welcomeMessage
|
||||
this.theme = localStorage.getItem('qortalTheme') ? localStorage.getItem('qortalTheme') : 'light'
|
||||
}
|
||||
|
||||
firstUpdated() {
|
||||
// ...
|
||||
}
|
||||
|
||||
render() {
|
||||
return html`
|
||||
<style>
|
||||
#mobile-logo {}
|
||||
@media only screen and (min-width: ${getComputedStyle(document.body).getPropertyValue('--layout-breakpoint-tablet')}) {
|
||||
#mobile-logo {
|
||||
display:hidden;
|
||||
visibility:none;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<div class='welcome-page' style="overflow:hidden;">
|
||||
<div id="mobile-logo"></div>
|
||||
<mwc-button @click=${() => this.navigate('login')} outlined style="border-top:0; border-bottom:0;">${translate("login.login")}</mwc-button>
|
||||
<mwc-button @click=${() => this.navigate('create-account')} outlined style="border-top:0; border-bottom:0;">${translate("login.createaccount")}</mwc-button>
|
||||
</div>
|
||||
`
|
||||
}
|
||||
|
||||
back() { }
|
||||
|
||||
next() { }
|
||||
|
||||
navigate(page) {
|
||||
this.dispatchEvent(new CustomEvent('navigate', {
|
||||
detail: { page },
|
||||
bubbles: true,
|
||||
composed: true
|
||||
}))
|
||||
}
|
||||
navigate(page) {
|
||||
this.dispatchEvent(new CustomEvent('navigate', {
|
||||
detail: { page },
|
||||
bubbles: true,
|
||||
composed: true
|
||||
}))
|
||||
}
|
||||
}
|
||||
|
||||
window.customElements.define('welcome-page', WelcomePage)
|
||||
window.customElements.define('welcome-page', WelcomePage)
|
@ -1,72 +1,62 @@
|
||||
import {css, html, LitElement} from 'lit'
|
||||
import {connect} from 'pwa-helpers'
|
||||
import {store} from '../../store.js'
|
||||
import {doLogout} from '../../redux/app/app-actions.js'
|
||||
import {translate} from '../../../translate/index.js'
|
||||
|
||||
import '@polymer/paper-dialog/paper-dialog.js'
|
||||
import { html, LitElement } from 'lit'
|
||||
import { connect } from 'pwa-helpers'
|
||||
import { store } from '../../store.js'
|
||||
import { doLogout } from '../../redux/app/app-actions.js'
|
||||
import { logoutViewStyles } from '../../styles/core-css'
|
||||
import '@material/mwc-button'
|
||||
import '@polymer/paper-dialog/paper-dialog.js'
|
||||
|
||||
// Multi language support
|
||||
import { translate } from '../../../translate'
|
||||
|
||||
class LogoutView extends connect(store)(LitElement) {
|
||||
static get properties() {
|
||||
return {
|
||||
theme: { type: String, reflect: true }
|
||||
}
|
||||
}
|
||||
static get properties() {
|
||||
return {
|
||||
theme: { type: String, reflect: true }
|
||||
}
|
||||
}
|
||||
|
||||
static get styles() {
|
||||
return css`
|
||||
* {
|
||||
--mdc-theme-primary: rgb(3, 169, 244);
|
||||
--mdc-theme-secondary: var(--mdc-theme-primary);
|
||||
--mdc-theme-surface: var(--white);
|
||||
--mdc-dialog-content-ink-color: var(--black);
|
||||
}
|
||||
static get styles() {
|
||||
return [logoutViewStyles]
|
||||
}
|
||||
|
||||
.decline {
|
||||
--mdc-theme-primary: var(--mdc-theme-error)
|
||||
}
|
||||
constructor() {
|
||||
super()
|
||||
this.theme = localStorage.getItem('qortalTheme') ? localStorage.getItem('qortalTheme') : 'light'
|
||||
}
|
||||
|
||||
.buttons {
|
||||
text-align:right;
|
||||
}
|
||||
`
|
||||
}
|
||||
render() {
|
||||
return html`
|
||||
<paper-dialog style="background: var(--white);" id="userLogoutDialog" modal>
|
||||
<div style="text-align: center;">
|
||||
<h2 style="color: var(--black);">Qortal UI</h2>
|
||||
<hr>
|
||||
</div>
|
||||
<div style="text-align: center;">
|
||||
<h2 style="color: var(--black);">${translate("logout.confirmlogout")}</h2>
|
||||
</div>
|
||||
<div class="buttons">
|
||||
<mwc-button class='decline' @click=${() => this.decline()} dialog-dismiss>${translate("general.no")}</mwc-button>
|
||||
<mwc-button class='confirm' @click=${e => this.confirm(e)} dialog-confirm autofocus>${translate("general.yes")}</mwc-button>
|
||||
</div>
|
||||
</paper-dialog>
|
||||
`
|
||||
}
|
||||
|
||||
constructor() {
|
||||
super()
|
||||
this.theme = localStorage.getItem('qortalTheme') ? localStorage.getItem('qortalTheme') : 'light'
|
||||
}
|
||||
openLogout() {
|
||||
this.shadowRoot.getElementById('userLogoutDialog').open()
|
||||
}
|
||||
|
||||
render() {
|
||||
return html`
|
||||
<paper-dialog style="background: var(--white);" id="userLogoutDialog" modal>
|
||||
<div style="text-align: center;">
|
||||
<h2 style="color: var(--black);">Qortal UI</h2>
|
||||
<hr>
|
||||
</div>
|
||||
<div style="text-align: center;">
|
||||
<h2 style="color: var(--black);">${translate("logout.confirmlogout")}</h2>
|
||||
</div>
|
||||
<div class="buttons">
|
||||
<mwc-button class='decline' @click=${e => this.decline(e)} dialog-dismiss>${translate("general.no")}</mwc-button>
|
||||
<mwc-button class='confirm' @click=${e => this.confirm(e)} dialog-confirm autofocus>${translate("general.yes")}</mwc-button>
|
||||
</div>
|
||||
</paper-dialog>
|
||||
`
|
||||
}
|
||||
async confirm(e) {
|
||||
localStorage.removeItem("symKeysCurrent")
|
||||
store.dispatch(doLogout())
|
||||
e.stopPropagation()
|
||||
}
|
||||
|
||||
openLogout() {
|
||||
this.shadowRoot.getElementById('userLogoutDialog').open()
|
||||
}
|
||||
|
||||
async confirm(e) {
|
||||
store.dispatch(doLogout())
|
||||
}
|
||||
|
||||
decline(e) {
|
||||
this.shadowRoot.getElementById('userLogoutDialog').close()
|
||||
}
|
||||
decline() {
|
||||
this.shadowRoot.getElementById('userLogoutDialog').close()
|
||||
this.requestUpdate()
|
||||
}
|
||||
}
|
||||
|
||||
window.customElements.define('logout-view', LogoutView)
|
||||
window.customElements.define('logout-view', LogoutView)
|
@ -1,77 +1,66 @@
|
||||
import {html, LitElement} from 'lit'
|
||||
import {installRouter} from 'pwa-helpers/router.js'
|
||||
import {connect} from 'pwa-helpers'
|
||||
import {store} from '../store.js'
|
||||
import {doNavigate} from '../redux/app/app-actions.js'
|
||||
import { html, LitElement } from 'lit'
|
||||
import { connect } from 'pwa-helpers'
|
||||
import { store } from '../store'
|
||||
import { installRouter } from 'pwa-helpers/router'
|
||||
import { doNavigate } from '../redux/app/app-actions'
|
||||
import { loadPlugins } from '../plugins/load-plugins'
|
||||
import isElectron from 'is-electron'
|
||||
import '../plugins/streams.js'
|
||||
|
||||
import {loadPlugins} from '../plugins/load-plugins.js'
|
||||
|
||||
import '../styles/app-styles.js'
|
||||
import './login-view/login-view.js'
|
||||
import './app-view.js'
|
||||
import './login-view/login-view'
|
||||
import './app-view'
|
||||
import '../plugins/streams'
|
||||
import '../styles/app-styles'
|
||||
|
||||
installRouter((location) => store.dispatch(doNavigate(location)))
|
||||
|
||||
class MainApp extends connect(store)(LitElement) {
|
||||
static get properties() {
|
||||
return {
|
||||
name: { type: String },
|
||||
loggedIn: { type: Boolean }
|
||||
}
|
||||
}
|
||||
static get properties() {
|
||||
return {
|
||||
name: { type: String },
|
||||
loggedIn: { type: Boolean }
|
||||
}
|
||||
}
|
||||
|
||||
static get styles() {
|
||||
return []
|
||||
}
|
||||
render() {
|
||||
return html`${this.renderViews(this.loggedIn)}`
|
||||
}
|
||||
|
||||
render() {
|
||||
return html`${this.renderViews(this.loggedIn)}`
|
||||
}
|
||||
connectedCallback() {
|
||||
super.connectedCallback()
|
||||
this.initial = 0
|
||||
|
||||
/**
|
||||
* Dynamic renderViews method to introduce conditional rendering of views based on user's logged in state.
|
||||
* @param {Boolean} isLoggedIn
|
||||
*/
|
||||
if (!isElectron()) {
|
||||
} else {
|
||||
window.addEventListener('contextmenu', (event) => {
|
||||
event.preventDefault()
|
||||
window.electronAPI.showMyMenu()
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
renderViews(isLoggedIn) {
|
||||
if (isLoggedIn) {
|
||||
return html`
|
||||
<app-view></app-view>
|
||||
`
|
||||
} else {
|
||||
return html`
|
||||
<login-view></login-view>
|
||||
`
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Dynamic renderViews method to introduce conditional rendering of views based on user's logged in state.
|
||||
* @param {Boolean} isLoggedIn
|
||||
*/
|
||||
renderViews(isLoggedIn) {
|
||||
if (isLoggedIn) {
|
||||
return html`<app-view></app-view>`
|
||||
} else {
|
||||
return html`<login-view></login-view>`
|
||||
}
|
||||
}
|
||||
|
||||
stateChanged(state) {
|
||||
this.loggedIn = state.app.loggedIn
|
||||
if (this.loggedIn === true && this.initial === 0) {
|
||||
this.initial = this.initial + 1
|
||||
this._loadPlugins()
|
||||
}
|
||||
document.title = state.config.coin.name
|
||||
}
|
||||
_loadPlugins() {
|
||||
loadPlugins()
|
||||
}
|
||||
|
||||
_loadPlugins() {
|
||||
loadPlugins()
|
||||
}
|
||||
|
||||
connectedCallback() {
|
||||
super.connectedCallback()
|
||||
this.initial = 0
|
||||
|
||||
if (!isElectron()) {
|
||||
} else {
|
||||
window.addEventListener('contextmenu', (event) => {
|
||||
event.preventDefault()
|
||||
window.electronAPI.showMyMenu()
|
||||
})
|
||||
}
|
||||
}
|
||||
stateChanged(state) {
|
||||
this.loggedIn = state.app.loggedIn
|
||||
if (this.loggedIn === true && this.initial === 0) {
|
||||
this.initial = this.initial + 1
|
||||
this._loadPlugins()
|
||||
}
|
||||
document.title = state.config.coin.name
|
||||
}
|
||||
}
|
||||
|
||||
window.customElements.define('main-app', MainApp)
|
||||
window.customElements.define('main-app', MainApp)
|
@ -1,139 +1,114 @@
|
||||
import {css, html, LitElement} from 'lit'
|
||||
import {registerTranslateConfig, translate, use} from '../../translate/index.js'
|
||||
import { html, LitElement } from 'lit'
|
||||
import { newSelectorStyles } from '../styles/core-css'
|
||||
|
||||
// Multi language support
|
||||
import { registerTranslateConfig, translate, use } from '../../translate'
|
||||
|
||||
registerTranslateConfig({
|
||||
loader: lang => fetch(`/language/${lang}.json`).then(res => res.json())
|
||||
loader: lang => fetch(`/language/${lang}.json`).then(res => res.json())
|
||||
})
|
||||
|
||||
const checkLanguage = localStorage.getItem('qortalLanguage')
|
||||
|
||||
if (checkLanguage === null || checkLanguage.length === 0) {
|
||||
localStorage.setItem('qortalLanguage', 'us')
|
||||
use('us')
|
||||
localStorage.setItem('qortalLanguage', 'us')
|
||||
use('us')
|
||||
} else {
|
||||
use(checkLanguage)
|
||||
use(checkLanguage)
|
||||
}
|
||||
|
||||
class NewSelector extends LitElement {
|
||||
static get properties() {
|
||||
return {
|
||||
theme: { type: String, reflect: true }
|
||||
}
|
||||
}
|
||||
static get properties() {
|
||||
return {
|
||||
theme: { type: String, reflect: true }
|
||||
}
|
||||
}
|
||||
|
||||
static get styles() {
|
||||
return [
|
||||
css`
|
||||
select {
|
||||
width: auto;
|
||||
height: auto;
|
||||
position: absolute;
|
||||
top: 50px;
|
||||
padding: 5px 5px 5px 5px;
|
||||
font-size: 16px;
|
||||
border: 1px solid var(--black);
|
||||
border-radius: 3px;
|
||||
color: var(--black);
|
||||
background: var(--white);
|
||||
overflow: hidden;
|
||||
}
|
||||
static get styles() {
|
||||
return [newSelectorStyles]
|
||||
}
|
||||
|
||||
*:focus {
|
||||
outline: none;
|
||||
}
|
||||
constructor() {
|
||||
super()
|
||||
this.theme = localStorage.getItem('qortalTheme') ? localStorage.getItem('qortalTheme') : 'light'
|
||||
}
|
||||
|
||||
select option {
|
||||
color: var(--black);
|
||||
background: var(--white);
|
||||
line-height: 34px;
|
||||
}
|
||||
render() {
|
||||
return html`
|
||||
<div style="display: inline;">
|
||||
<span>
|
||||
<img src="/img/${translate("selectmenu.languageflag")}-flag-round-icon-32.png" style="width: 24px; height: 24px; padding-top: 4px;" @click=${() => this.toggleMenu()}>
|
||||
</span>
|
||||
<select id="languageNew" style="display: none;" size="20" tabindex="0" @change="${this.changeLanguage}">
|
||||
<option value="us">US - ${translate("selectmenu.english")}</option>
|
||||
<option value="de">DE - ${translate("selectmenu.german")}</option>
|
||||
<option value="es">ES - ${translate("selectmenu.spanish")}</option>
|
||||
<option value="et">ET - ${translate("selectmenu.estonian")}</option>
|
||||
<option value="fi">FI - ${translate("selectmenu.finnish")}</option>
|
||||
<option value="fr">FR - ${translate("selectmenu.french")}</option>
|
||||
<option value="hr">HR - ${translate("selectmenu.croatian")}</option>
|
||||
<option value="hu">HU - ${translate("selectmenu.hungarian")}</option>
|
||||
<option value="hindi">IN - ${translate("selectmenu.hindi")}</option>
|
||||
<option value="it">IT - ${translate("selectmenu.italian")}</option>
|
||||
<option value="jp">JP - ${translate("selectmenu.japanese")}</option>
|
||||
<option value="ko">KO - ${translate("selectmenu.korean")}</option>
|
||||
<option value="nl">NL - ${translate("selectmenu.dutch")}</option>
|
||||
<option value="no">NO - ${translate("selectmenu.norwegian")}</option>
|
||||
<option value="pl">PL - ${translate("selectmenu.polish")}</option>
|
||||
<option value="pt">PT - ${translate("selectmenu.portuguese")}</option>
|
||||
<option value="rs">RS - ${translate("selectmenu.serbian")}</option>
|
||||
<option value="ro">RO - ${translate("selectmenu.romanian")}</option>
|
||||
<option value="ru">RU - ${translate("selectmenu.russian")}</option>
|
||||
<option value="zht">ZHT - ${translate("selectmenu.chinese2")}</option>
|
||||
<option value="zhc">ZHC - ${translate("selectmenu.chinese1")}</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
select option:hover {
|
||||
color: var(--white);
|
||||
background: var(--black);
|
||||
line-height: 34px;
|
||||
cursor: pointer;
|
||||
}
|
||||
`
|
||||
]
|
||||
}
|
||||
`
|
||||
}
|
||||
|
||||
constructor() {
|
||||
super()
|
||||
this.theme = localStorage.getItem('qortalTheme') ? localStorage.getItem('qortalTheme') : 'light'
|
||||
}
|
||||
firstUpdated() {
|
||||
const myElement = this.shadowRoot.getElementById('languageNew')
|
||||
|
||||
render() {
|
||||
return html`
|
||||
<div style="display: inline;">
|
||||
<span>
|
||||
<img src="/img/${translate("selectmenu.languageflag")}-flag-round-icon-32.png" style="width: 24px; height: 24px; padding-top: 4px;" @click=${() => this.toggleMenu()}>
|
||||
</span>
|
||||
<select id="languageNew" style="display: none;" size="20" tabindex="0" @change="${this.changeLanguage}">
|
||||
<option value="us">US - ${translate("selectmenu.english")}</option>
|
||||
<option value="de">DE - ${translate("selectmenu.german")}</option>
|
||||
<option value="es">ES - ${translate("selectmenu.spanish")}</option>
|
||||
<option value="et">ET - ${translate("selectmenu.estonian")}</option>
|
||||
<option value="fr">FR - ${translate("selectmenu.french")}</option>
|
||||
<option value="hr">HR - ${translate("selectmenu.croatian")}</option>
|
||||
<option value="hu">HU - ${translate("selectmenu.hungarian")}</option>
|
||||
<option value="hindi">IN - ${translate("selectmenu.hindi")}</option>
|
||||
<option value="it">IT - ${translate("selectmenu.italian")}</option>
|
||||
<option value="jp">JP - ${translate("selectmenu.japanese")}</option>
|
||||
<option value="ko">KO - ${translate("selectmenu.korean")}</option>
|
||||
<option value="nl">NL - ${translate("selectmenu.dutch")}</option>
|
||||
<option value="no">NO - ${translate("selectmenu.norwegian")}</option>
|
||||
<option value="pl">PL - ${translate("selectmenu.polish")}</option>
|
||||
<option value="pt">PT - ${translate("selectmenu.portuguese")}</option>
|
||||
<option value="rs">RS - ${translate("selectmenu.serbian")}</option>
|
||||
<option value="ro">RO - ${translate("selectmenu.romanian")}</option>
|
||||
<option value="ru">RU - ${translate("selectmenu.russian")}</option>
|
||||
<option value="zht">ZHT - ${translate("selectmenu.chinese2")}</option>
|
||||
<option value="zhc">ZHC - ${translate("selectmenu.chinese1")}</option>
|
||||
</select>
|
||||
</div>
|
||||
myElement.addEventListener('change', () => {
|
||||
this.selectElement()
|
||||
})
|
||||
|
||||
`
|
||||
}
|
||||
myElement.addEventListener('click', () => {
|
||||
const element1 = localStorage.getItem('qortalLanguage')
|
||||
const element2 = this.shadowRoot.getElementById('languageNew').value
|
||||
|
||||
firstUpdated() {
|
||||
const myElement = this.shadowRoot.getElementById('languageNew')
|
||||
if (element1 === element2) {
|
||||
myElement.style.display = 'none'
|
||||
}
|
||||
})
|
||||
|
||||
myElement.addEventListener("change", () => {
|
||||
this.selectElement()
|
||||
})
|
||||
this.selectElement()
|
||||
}
|
||||
|
||||
myElement.addEventListener("click", () => {
|
||||
const element1 = localStorage.getItem('qortalLanguage')
|
||||
const element2 = this.shadowRoot.getElementById('languageNew').value
|
||||
if (element1 === element2) {
|
||||
myElement.style.display = "none"
|
||||
}
|
||||
})
|
||||
selectElement() {
|
||||
const selectedLanguage = localStorage.getItem('qortalLanguage')
|
||||
|
||||
this.selectElement()
|
||||
}
|
||||
let element = this.shadowRoot.getElementById('languageNew')
|
||||
|
||||
selectElement() {
|
||||
const selectedLanguage = localStorage.getItem('qortalLanguage')
|
||||
let element = this.shadowRoot.getElementById('languageNew')
|
||||
element.value = selectedLanguage
|
||||
element.style.display = "none"
|
||||
}
|
||||
element.value = selectedLanguage
|
||||
element.style.display = 'none'
|
||||
}
|
||||
|
||||
changeLanguage(event) {
|
||||
use(event.target.value)
|
||||
localStorage.setItem('qortalLanguage', event.target.value)
|
||||
}
|
||||
changeLanguage(event) {
|
||||
use(event.target.value)
|
||||
localStorage.setItem('qortalLanguage', event.target.value)
|
||||
}
|
||||
|
||||
toggleMenu() {
|
||||
let mySwitchDisplay = this.shadowRoot.getElementById('languageNew')
|
||||
if(mySwitchDisplay.style.display == "none") {
|
||||
mySwitchDisplay.style.display = "block"
|
||||
} else {
|
||||
mySwitchDisplay.style.display = "none"
|
||||
}
|
||||
}
|
||||
toggleMenu() {
|
||||
let mySwitchDisplay = this.shadowRoot.getElementById('languageNew')
|
||||
|
||||
if (mySwitchDisplay.style.display == 'none') {
|
||||
mySwitchDisplay.style.display = 'block'
|
||||
} else {
|
||||
mySwitchDisplay.style.display = 'none'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
window.customElements.define('new-selector', NewSelector)
|
||||
window.customElements.define('new-selector', NewSelector)
|
@ -1,164 +1,71 @@
|
||||
import {css, html, LitElement} from 'lit';
|
||||
import {connect} from 'pwa-helpers';
|
||||
|
||||
import '@vaadin/item';
|
||||
import '@vaadin/list-box';
|
||||
import '@polymer/paper-icon-button/paper-icon-button.js';
|
||||
import '@polymer/iron-icons/iron-icons.js';
|
||||
import {store} from '../../store.js';
|
||||
import {setNewNotification} from '../../redux/app/app-actions.js';
|
||||
import '@material/mwc-icon';
|
||||
import {get, translate} from '../../../translate/index.js'
|
||||
import {repeat} from 'lit/directives/repeat.js';
|
||||
import '../../../../plugins/plugins/core/components/TimeAgo.js';
|
||||
import './popover.js';
|
||||
import { html, LitElement } from 'lit'
|
||||
import { repeat } from 'lit/directives/repeat.js'
|
||||
import { connect } from 'pwa-helpers'
|
||||
import { store } from '../../store'
|
||||
import { setNewNotification } from '../../redux/app/app-actions'
|
||||
import { notificationBellGeneralStyles, notificationItemTxStyles } from '../../styles/core-css'
|
||||
import './popover.js'
|
||||
import '../../../../plugins/plugins/core/components/TimeAgo'
|
||||
import '@material/mwc-icon'
|
||||
import '@polymer/paper-icon-button/paper-icon-button.js'
|
||||
import '@polymer/iron-icons/iron-icons.js'
|
||||
import '@vaadin/item'
|
||||
import '@vaadin/list-box'
|
||||
|
||||
// Multi language support
|
||||
import { get, translate } from '../../../translate'
|
||||
|
||||
class NotificationBellGeneral extends connect(store)(LitElement) {
|
||||
static properties = {
|
||||
notifications: { type: Array },
|
||||
showNotifications: { type: Boolean },
|
||||
notificationCount: { type: Boolean },
|
||||
theme: { type: String, reflect: true },
|
||||
notifications: { type: Array },
|
||||
currentNotification: { type: Object },
|
||||
};
|
||||
static get properties() {
|
||||
return {
|
||||
notifications: { type: Array },
|
||||
showNotifications: { type: Boolean },
|
||||
notificationCount: { type: Boolean },
|
||||
currentNotification: { type: Object },
|
||||
theme: { type: String, reflect: true }
|
||||
}
|
||||
}
|
||||
|
||||
static get styles() {
|
||||
return [notificationBellGeneralStyles]
|
||||
}
|
||||
|
||||
constructor() {
|
||||
super();
|
||||
this.notifications = [];
|
||||
this.showNotifications = false;
|
||||
this.notificationCount = false;
|
||||
this.initialFetch = false;
|
||||
this.theme = localStorage.getItem('qortalTheme')
|
||||
? localStorage.getItem('qortalTheme')
|
||||
: 'light';
|
||||
this.currentNotification = null;
|
||||
}
|
||||
|
||||
firstUpdated() {
|
||||
try {
|
||||
let value = JSON.parse(localStorage.getItem('isFirstTimeUser'));
|
||||
if (!value && value !== false) {
|
||||
value = true;
|
||||
}
|
||||
this.isFirstTimeUser = value;
|
||||
} catch (error) {}
|
||||
}
|
||||
|
||||
async stateChanged(state) {
|
||||
if (state.app.newNotification) {
|
||||
const newNotification = state.app.newNotification;
|
||||
this.notifications = [newNotification, ...this.notifications];
|
||||
store.dispatch(setNewNotification(null));
|
||||
if (this.isFirstTimeUser) {
|
||||
const target = this.shadowRoot.getElementById(
|
||||
'popover-notification'
|
||||
);
|
||||
const popover =
|
||||
this.shadowRoot.querySelector('popover-component');
|
||||
if (popover) {
|
||||
popover.openPopover(target);
|
||||
}
|
||||
|
||||
localStorage.setItem('isFirstTimeUser', JSON.stringify(false));
|
||||
this.isFirstTimeUser = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
handleBlur() {
|
||||
setTimeout(() => {
|
||||
if (!this.shadowRoot.contains(document.activeElement)) {
|
||||
this.showNotifications = false;
|
||||
}
|
||||
}, 0);
|
||||
}
|
||||
|
||||
changeStatus(signature, statusTx) {
|
||||
const copyNotifications = [...this.notifications];
|
||||
const findNotification = this.notifications.findIndex(
|
||||
(notification) => notification.reference.signature === signature
|
||||
);
|
||||
if (findNotification !== -1) {
|
||||
copyNotifications[findNotification] = {
|
||||
...copyNotifications[findNotification],
|
||||
status: statusTx,
|
||||
};
|
||||
this.notifications = copyNotifications;
|
||||
|
||||
}
|
||||
super()
|
||||
this.notifications = []
|
||||
this.showNotifications = false
|
||||
this.notificationCount = false
|
||||
this.initialFetch = false
|
||||
this.currentNotification = null
|
||||
this.theme = localStorage.getItem('qortalTheme') ? localStorage.getItem('qortalTheme') : 'light'
|
||||
}
|
||||
|
||||
render() {
|
||||
const hasOngoing = this.notifications.find(
|
||||
(notification) => notification.status !== 'confirmed'
|
||||
);
|
||||
)
|
||||
|
||||
return html`
|
||||
<div class="layout">
|
||||
<popover-component
|
||||
for="popover-notification"
|
||||
message=${get('notifications.explanation')}
|
||||
></popover-component>
|
||||
<div
|
||||
id="popover-notification"
|
||||
@click=${() => this._toggleNotifications()}
|
||||
>
|
||||
${hasOngoing
|
||||
? html`
|
||||
<mwc-icon id="notification-general-icon" style="color: green;cursor:pointer;user-select:none"
|
||||
>notifications</mwc-icon
|
||||
>
|
||||
<vaadin-tooltip
|
||||
for="notification-general-icon"
|
||||
position="bottom"
|
||||
hover-delay=${400}
|
||||
hide-delay=${1}
|
||||
text=${get('notifications.notify4')}>
|
||||
</vaadin-tooltip>
|
||||
`
|
||||
: html`
|
||||
<mwc-icon
|
||||
id="notification-general-icon"
|
||||
style="color: var(--black); cursor:pointer;user-select:none"
|
||||
>notifications</mwc-icon
|
||||
>
|
||||
<vaadin-tooltip
|
||||
for="notification-general-icon"
|
||||
position="bottom"
|
||||
hover-delay=${400}
|
||||
hide-delay=${1}
|
||||
text=${get('notifications.notify4')}>
|
||||
</vaadin-tooltip>
|
||||
`}
|
||||
<popover-component for="popover-notification" message=${get('notifications.explanation')}></popover-component>
|
||||
<div id="popover-notification" @click=${() => this._toggleNotifications()}>
|
||||
${hasOngoing ? html`
|
||||
<mwc-icon id="notification-general-icon" style="color: green;cursor:pointer;user-select:none">notifications</mwc-icon>
|
||||
<vaadin-tooltip for="notification-general-icon" position="bottom" hover-delay=${400} hide-delay=${1} text=${get('notifications.notify4')}></vaadin-tooltip>
|
||||
` : html`
|
||||
<mwc-icon id="notification-general-icon" style="color: var(--black); cursor:pointer;user-select:none">notifications</mwc-icon>
|
||||
<vaadin-tooltip for="notification-general-icon" position="bottom" hover-delay=${400} hide-delay=${1}text=${get('notifications.notify4')}></vaadin-tooltip>
|
||||
`}
|
||||
</div>
|
||||
${hasOngoing
|
||||
? html`
|
||||
<span
|
||||
class="count"
|
||||
style="cursor:pointer"
|
||||
@click=${() => this._toggleNotifications()}
|
||||
>
|
||||
<mwc-icon
|
||||
style="color: var(--black);font-size:18px"
|
||||
>pending</mwc-icon
|
||||
>
|
||||
</span>
|
||||
`
|
||||
: ''}
|
||||
|
||||
<div
|
||||
id="notification-panel"
|
||||
class="popover-panel"
|
||||
style="visibility:${this.showNotifications
|
||||
? 'visibile'
|
||||
: 'hidden'}"
|
||||
tabindex="0"
|
||||
@blur=${this.handleBlur}
|
||||
>
|
||||
${hasOngoing ? html`
|
||||
<span class="count" style="cursor:pointer" @click=${() => this._toggleNotifications()}>
|
||||
<mwc-icon style="color: var(--black);font-size:18px">pending</mwc-icon>
|
||||
</span>
|
||||
` : ''}
|
||||
<div id="notification-panel" class="popover-panel" style="visibility:${this.showNotifications ? 'visibile' : 'hidden'}" tabindex="0" @blur=${this.handleBlur}>
|
||||
<div class="notifications-list">
|
||||
${this.notifications.length === 0 ? html`
|
||||
<p style="font-size: 16px; width: 100%; text-align:center;margin-top:20px;">${translate('notifications.notify3')}</p>
|
||||
<p style="font-size: 16px; width: 100%; text-align:center;margin-top:20px;">${translate('notifications.notify3')}</p>
|
||||
` : ''}
|
||||
${repeat(
|
||||
this.notifications,
|
||||
@ -167,18 +74,82 @@ class NotificationBellGeneral extends connect(store)(LitElement) {
|
||||
<notification-item-tx
|
||||
.changeStatus=${(val1, val2) =>
|
||||
this.changeStatus(val1, val2)}
|
||||
status=${notification.status}
|
||||
timestamp=${notification.timestamp}
|
||||
type=${notification.type}
|
||||
signature=${notification.reference
|
||||
.signature}
|
||||
status=${notification.status}
|
||||
timestamp=${notification.timestamp}
|
||||
type=${notification.type}
|
||||
signature=${notification.reference
|
||||
.signature
|
||||
}
|
||||
></notification-item-tx>
|
||||
`
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
`
|
||||
}
|
||||
|
||||
firstUpdated() {
|
||||
try {
|
||||
let value = JSON.parse(localStorage.getItem('isFirstTimeUser'))
|
||||
|
||||
if (!value && value !== false) {
|
||||
value = true
|
||||
}
|
||||
|
||||
this.isFirstTimeUser = value
|
||||
} catch (error) { }
|
||||
}
|
||||
|
||||
async stateChanged(state) {
|
||||
if (state.app.newNotification) {
|
||||
const newNotification = state.app.newNotification
|
||||
|
||||
this.notifications = [newNotification, ...this.notifications]
|
||||
|
||||
store.dispatch(setNewNotification(null))
|
||||
|
||||
if (this.isFirstTimeUser) {
|
||||
const target = this.shadowRoot.getElementById(
|
||||
'popover-notification'
|
||||
)
|
||||
|
||||
const popover = this.shadowRoot.querySelector('popover-component')
|
||||
|
||||
if (popover) {
|
||||
popover.openPopover(target)
|
||||
}
|
||||
|
||||
localStorage.setItem('isFirstTimeUser', JSON.stringify(false))
|
||||
|
||||
this.isFirstTimeUser = false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
handleBlur() {
|
||||
setTimeout(() => {
|
||||
if (!this.shadowRoot.contains(document.activeElement)) {
|
||||
this.showNotifications = false
|
||||
}
|
||||
}, 0)
|
||||
}
|
||||
|
||||
changeStatus(signature, statusTx) {
|
||||
const copyNotifications = [...this.notifications]
|
||||
|
||||
const findNotification = this.notifications.findIndex(
|
||||
(notification) => notification.reference.signature === signature
|
||||
)
|
||||
|
||||
if (findNotification !== -1) {
|
||||
copyNotifications[findNotification] = {
|
||||
...copyNotifications[findNotification],
|
||||
status: statusTx
|
||||
}
|
||||
|
||||
this.notifications = copyNotifications
|
||||
}
|
||||
}
|
||||
|
||||
_toggleNotifications() {
|
||||
@ -189,159 +160,34 @@ class NotificationBellGeneral extends connect(store)(LitElement) {
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
static styles = css`
|
||||
.layout {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.count {
|
||||
position: absolute;
|
||||
top: -5px;
|
||||
right: -5px;
|
||||
font-size: 12px;
|
||||
background-color: red;
|
||||
color: white;
|
||||
border-radius: 50%;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.nocount {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.popover-panel {
|
||||
position: absolute;
|
||||
width: 200px;
|
||||
padding: 10px;
|
||||
background-color: var(--white);
|
||||
border: 1px solid var(--black);
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
||||
top: 40px;
|
||||
max-height: 350px;
|
||||
overflow: auto;
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: #6a6c75 #a1a1a1;
|
||||
}
|
||||
|
||||
.popover-panel::-webkit-scrollbar {
|
||||
width: 11px;
|
||||
}
|
||||
|
||||
.popover-panel::-webkit-scrollbar-track {
|
||||
background: #a1a1a1;
|
||||
}
|
||||
|
||||
.popover-panel::-webkit-scrollbar-thumb {
|
||||
background-color: #6a6c75;
|
||||
border-radius: 6px;
|
||||
border: 3px solid #a1a1a1;
|
||||
}
|
||||
|
||||
.notifications-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.notification-item {
|
||||
padding: 5px;
|
||||
border-bottom: 1px solid;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
cursor: pointer;
|
||||
transition: 0.2s all;
|
||||
}
|
||||
|
||||
.notification-item:hover {
|
||||
background: var(--nav-color-hover);
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 14px;
|
||||
color: var(--black);
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
`;
|
||||
}
|
||||
|
||||
customElements.define('notification-bell-general', NotificationBellGeneral);
|
||||
window.customElements.define('notification-bell-general', NotificationBellGeneral)
|
||||
|
||||
class NotificationItemTx extends connect(store)(LitElement) {
|
||||
static properties = {
|
||||
status: { type: String },
|
||||
type: { type: String },
|
||||
timestamp: { type: Number },
|
||||
signature: { type: String },
|
||||
changeStatus: { attribute: false },
|
||||
};
|
||||
static get properties() {
|
||||
return {
|
||||
status: { type: String },
|
||||
type: { type: String },
|
||||
timestamp: { type: Number },
|
||||
signature: { type: String },
|
||||
changeStatus: { attribute: false }
|
||||
}
|
||||
}
|
||||
|
||||
static get styles() {
|
||||
return [notificationItemTxStyles]
|
||||
}
|
||||
|
||||
constructor() {
|
||||
super();
|
||||
this.nodeUrl = this.getNodeUrl();
|
||||
this.myNode = this.getMyNode();
|
||||
}
|
||||
|
||||
getNodeUrl() {
|
||||
const myNode =
|
||||
store.getState().app.nodeConfig.knownNodes[
|
||||
window.parent.reduxStore.getState().app.nodeConfig.node
|
||||
];
|
||||
|
||||
const nodeUrl =
|
||||
myNode.protocol + '://' + myNode.domain + ':' + myNode.port;
|
||||
return nodeUrl;
|
||||
}
|
||||
getMyNode() {
|
||||
const myNode =
|
||||
store.getState().app.nodeConfig.knownNodes[
|
||||
window.parent.reduxStore.getState().app.nodeConfig.node
|
||||
];
|
||||
|
||||
return myNode;
|
||||
}
|
||||
|
||||
async getStatus() {
|
||||
let interval = null;
|
||||
let stop = false;
|
||||
const getAnswer = async () => {
|
||||
const getTx = async (minterAddr) => {
|
||||
const url = `${this.nodeUrl}/transactions/signature/${this.signature}`;
|
||||
const res = await fetch(url);
|
||||
const data = await res.json();
|
||||
return data;
|
||||
};
|
||||
|
||||
if (!stop) {
|
||||
stop = true;
|
||||
try {
|
||||
const txTransaction = await getTx();
|
||||
if (!txTransaction.error && txTransaction.signature && txTransaction.blockHeight) {
|
||||
clearInterval(interval);
|
||||
this.changeStatus(this.signature, 'confirmed');
|
||||
}
|
||||
} catch (error) {}
|
||||
stop = false;
|
||||
}
|
||||
};
|
||||
interval = setInterval(getAnswer, 20000);
|
||||
}
|
||||
|
||||
firstUpdated() {
|
||||
this.getStatus();
|
||||
super()
|
||||
this.nodeUrl = this.getNodeUrl()
|
||||
this.myNode = this.getMyNode()
|
||||
}
|
||||
|
||||
render() {
|
||||
return html`
|
||||
<div class="notification-item" @click=${() => {}}>
|
||||
<div class="notification-item" @click=${() => { }}>
|
||||
<div>
|
||||
<p style="margin-bottom:10px; font-weight:bold">
|
||||
${translate('transpage.tchange1')}
|
||||
@ -352,187 +198,66 @@ class NotificationItemTx extends connect(store)(LitElement) {
|
||||
${translate('walletpage.wchange35')}: ${this.type}
|
||||
</p>
|
||||
<p style="margin-bottom:5px">
|
||||
${translate('tubespage.schange28')}:
|
||||
${this.status === 'confirming'
|
||||
? translate('notifications.notify1')
|
||||
: translate('notifications.notify2')}
|
||||
${translate('tubespage.schange28')}: ${this.status === 'confirming' ? translate('notifications.notify1') : translate('notifications.notify2')}
|
||||
</p>
|
||||
${this.status !== 'confirmed'
|
||||
? html`
|
||||
<div class="centered">
|
||||
<div class="loader">Loading...</div>
|
||||
</div>
|
||||
`
|
||||
: ''}
|
||||
<div
|
||||
style="display:flex;justify-content:space-between;align-items:center"
|
||||
>
|
||||
<message-time
|
||||
timestamp=${this.timestamp}
|
||||
style="color:red;font-size:12px"
|
||||
></message-time>
|
||||
${this.status === 'confirmed'
|
||||
? html`
|
||||
<mwc-icon style="color: green;"
|
||||
>done</mwc-icon
|
||||
>
|
||||
`
|
||||
: ''}
|
||||
${this.status !== 'confirmed' ? html`<div class="centered"><div class="loader">Loading...</div></div>` : ''}
|
||||
<div style="display:flex;justify-content:space-between;align-items:center">
|
||||
<message-time timestamp=${this.timestamp} style="color:red;font-size:12px"></message-time>
|
||||
${this.status === 'confirmed' ? html`<mwc-icon style="color: green;">done</mwc-icon>` : ''}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
`
|
||||
}
|
||||
|
||||
firstUpdated() {
|
||||
this.getStatus()
|
||||
}
|
||||
|
||||
getNodeUrl() {
|
||||
const myNode = store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
return myNode.protocol + '://' + myNode.domain + ':' + myNode.port
|
||||
}
|
||||
|
||||
getMyNode() {
|
||||
return store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
}
|
||||
|
||||
async getStatus() {
|
||||
let interval = null
|
||||
let stop = false
|
||||
|
||||
const getAnswer = async () => {
|
||||
const getTx = async (minterAddr) => {
|
||||
const url = `${this.nodeUrl}/transactions/signature/${this.signature}`
|
||||
const res = await fetch(url)
|
||||
|
||||
return await res.json()
|
||||
}
|
||||
|
||||
if (!stop) {
|
||||
stop = true
|
||||
|
||||
try {
|
||||
const txTransaction = await getTx()
|
||||
|
||||
if (!txTransaction.error && txTransaction.signature && txTransaction.blockHeight) {
|
||||
clearInterval(interval)
|
||||
this.changeStatus(this.signature, 'confirmed')
|
||||
}
|
||||
} catch (error) { }
|
||||
|
||||
stop = false
|
||||
}
|
||||
}
|
||||
|
||||
interval = setInterval(getAnswer, 20000)
|
||||
}
|
||||
|
||||
_toggleNotifications() {
|
||||
if (this.notifications.length === 0) return;
|
||||
this.showNotifications = !this.showNotifications;
|
||||
if (this.notifications.length === 0) return
|
||||
this.showNotifications = !this.showNotifications
|
||||
}
|
||||
|
||||
static styles = css`
|
||||
.centered {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.layout {
|
||||
width: 100px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.count {
|
||||
position: absolute;
|
||||
top: -5px;
|
||||
right: -5px;
|
||||
font-size: 12px;
|
||||
background-color: red;
|
||||
color: white;
|
||||
border-radius: 50%;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.nocount {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.popover-panel {
|
||||
position: absolute;
|
||||
width: 200px;
|
||||
padding: 10px;
|
||||
background-color: var(--white);
|
||||
border: 1px solid var(--black);
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
||||
top: 40px;
|
||||
max-height: 350px;
|
||||
overflow: auto;
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: #6a6c75 #a1a1a1;
|
||||
}
|
||||
|
||||
.popover-panel::-webkit-scrollbar {
|
||||
width: 11px;
|
||||
}
|
||||
|
||||
.popover-panel::-webkit-scrollbar-track {
|
||||
background: #a1a1a1;
|
||||
}
|
||||
|
||||
.popover-panel::-webkit-scrollbar-thumb {
|
||||
background-color: #6a6c75;
|
||||
border-radius: 6px;
|
||||
border: 3px solid #a1a1a1;
|
||||
}
|
||||
|
||||
.notifications-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.notification-item {
|
||||
padding: 5px;
|
||||
border-bottom: 1px solid;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.notification-item:hover {
|
||||
background: var(--nav-color-hover);
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 14px;
|
||||
color: var(--black);
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.loader,
|
||||
.loader:before,
|
||||
.loader:after {
|
||||
border-radius: 50%;
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
-webkit-animation-fill-mode: both;
|
||||
animation-fill-mode: both;
|
||||
-webkit-animation: load7 1.8s infinite ease-in-out;
|
||||
animation: load7 1.8s infinite ease-in-out;
|
||||
}
|
||||
.loader {
|
||||
color: var(--black);
|
||||
font-size: 5px;
|
||||
margin-bottom: 20px;
|
||||
position: relative;
|
||||
text-indent: -9999em;
|
||||
-webkit-transform: translateZ(0);
|
||||
-ms-transform: translateZ(0);
|
||||
transform: translateZ(0);
|
||||
-webkit-animation-delay: -0.16s;
|
||||
animation-delay: -0.16s;
|
||||
}
|
||||
.loader:before,
|
||||
.loader:after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
}
|
||||
.loader:before {
|
||||
left: -3.5em;
|
||||
-webkit-animation-delay: -0.32s;
|
||||
animation-delay: -0.32s;
|
||||
}
|
||||
.loader:after {
|
||||
left: 3.5em;
|
||||
}
|
||||
@-webkit-keyframes load7 {
|
||||
0%,
|
||||
80%,
|
||||
100% {
|
||||
box-shadow: 0 2.5em 0 -1.3em;
|
||||
}
|
||||
40% {
|
||||
box-shadow: 0 2.5em 0 0;
|
||||
}
|
||||
}
|
||||
@keyframes load7 {
|
||||
0%,
|
||||
80%,
|
||||
100% {
|
||||
box-shadow: 0 2.5em 0 -1.3em;
|
||||
}
|
||||
40% {
|
||||
box-shadow: 0 2.5em 0 0;
|
||||
}
|
||||
}
|
||||
`;
|
||||
}
|
||||
|
||||
customElements.define('notification-item-tx', NotificationItemTx);
|
||||
window.customElements.define('notification-item-tx', NotificationItemTx)
|
@ -1,315 +1,262 @@
|
||||
import {css, html, LitElement} from 'lit'
|
||||
import {connect} from 'pwa-helpers'
|
||||
|
||||
import { css, html, LitElement } from 'lit'
|
||||
import { connect } from 'pwa-helpers'
|
||||
import { store } from '../../store'
|
||||
import { setNewTab } from '../../redux/app/app-actions'
|
||||
import { routes } from '../../plugins/routes'
|
||||
import { notificationBellStyles } from '../../styles/core-css'
|
||||
import config from '../../notifications/config'
|
||||
import '../../../../plugins/plugins/core/components/TimeAgo'
|
||||
import '@material/mwc-icon'
|
||||
import '@polymer/paper-icon-button/paper-icon-button'
|
||||
import '@polymer/iron-icons/iron-icons.js'
|
||||
import '@vaadin/item'
|
||||
import '@vaadin/list-box'
|
||||
import '@polymer/paper-icon-button/paper-icon-button.js'
|
||||
import '@polymer/iron-icons/iron-icons.js'
|
||||
import {store} from '../../store.js'
|
||||
import {setNewTab} from '../../redux/app/app-actions.js'
|
||||
import {routes} from '../../plugins/routes.js'
|
||||
import '@material/mwc-icon';
|
||||
|
||||
import config from '../../notifications/config.js'
|
||||
import '../../../../plugins/plugins/core/components/TimeAgo.js'
|
||||
|
||||
class NotificationBell extends connect(store)(LitElement) {
|
||||
static get properties() {
|
||||
return {
|
||||
notifications: { type: Array },
|
||||
showNotifications: { type: Boolean },
|
||||
notificationCount: { type: Boolean },
|
||||
theme: { type: String, reflect: true }
|
||||
}
|
||||
}
|
||||
|
||||
static properties = {
|
||||
notifications: { type: Array },
|
||||
showNotifications: { type: Boolean },
|
||||
notificationCount: { type: Boolean },
|
||||
theme: { type: String, reflect: true },
|
||||
}
|
||||
static get styles() {
|
||||
return [notificationBellStyles]
|
||||
}
|
||||
|
||||
constructor() {
|
||||
super()
|
||||
this.notifications = []
|
||||
this.showNotifications = false
|
||||
this.notificationCount = false
|
||||
this.initialFetch = false
|
||||
this.theme = localStorage.getItem('qortalTheme') ? localStorage.getItem('qortalTheme') : 'light'
|
||||
}
|
||||
constructor() {
|
||||
super()
|
||||
this.notifications = []
|
||||
this.showNotifications = false
|
||||
this.notificationCount = false
|
||||
this.initialFetch = false
|
||||
this.theme = localStorage.getItem('qortalTheme') ? localStorage.getItem('qortalTheme') : 'light'
|
||||
}
|
||||
|
||||
firstUpdated() {
|
||||
this.getNotifications();
|
||||
document.addEventListener('click', (event) => {
|
||||
const path = event.composedPath()
|
||||
if (!path.includes(this)) {
|
||||
this.showNotifications = false
|
||||
}
|
||||
})
|
||||
}
|
||||
render() {
|
||||
return html`
|
||||
<div class="layout">
|
||||
${this.notificationCount ? html`
|
||||
<mwc-icon @click=${() => this._toggleNotifications()} id="notification-mail-icon" style="color: green;cursor:pointer;user-select:none">
|
||||
mail
|
||||
</mwc-icon>
|
||||
<vaadin-tooltip
|
||||
for="notification-mail-icon"
|
||||
position="bottom"
|
||||
hover-delay=${400}
|
||||
hide-delay=${1}
|
||||
text="Q-Mail">
|
||||
</vaadin-tooltip>
|
||||
` : html`
|
||||
<mwc-icon @click=${() => this._openTabQmail()} id="notification-mail-icon" style="color: var(--black); cursor:pointer;user-select:none">
|
||||
mail
|
||||
</mwc-icon>
|
||||
<vaadin-tooltip
|
||||
for="notification-mail-icon"
|
||||
position="bottom"
|
||||
hover-delay=${400}
|
||||
hide-delay=${1}
|
||||
text="Q-Mail">
|
||||
</vaadin-tooltip>
|
||||
`}
|
||||
${this.notificationCount ? html`
|
||||
<span class="count">${this.notifications.length}</span>
|
||||
` : ''}
|
||||
<div class="popover-panel" ?hidden=${!this.showNotifications}>
|
||||
<div class="notifications-list">
|
||||
${this.notifications.map(notification => html`
|
||||
<div
|
||||
class="notification-item"
|
||||
@click=${() => {
|
||||
const query = `?service=APP&name=Q-Mail`
|
||||
store.dispatch(setNewTab({
|
||||
url: `qdn/browser/index.html${query}`,
|
||||
id: 'q-mail-notification',
|
||||
myPlugObj: {
|
||||
"url": "myapp",
|
||||
"domain": "core",
|
||||
"page": `qdn/browser/index.html${query}`,
|
||||
"title": "Q-Mail",
|
||||
"icon": "vaadin:mailbox",
|
||||
"mwcicon": "mail_outline",
|
||||
"menus": [],
|
||||
"parent": false
|
||||
}
|
||||
}))
|
||||
this.showNotifications = false
|
||||
this.notifications = []
|
||||
}}
|
||||
>
|
||||
<div>
|
||||
<p>Q-Mail</p>
|
||||
<message-time timestamp=${notification.created} style="color:red;font-size:12px"></message-time>
|
||||
</div>
|
||||
<div>
|
||||
<p>${notification.name}</p>
|
||||
</div>
|
||||
</div>
|
||||
`)}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`
|
||||
}
|
||||
|
||||
getApiKey() {
|
||||
const apiNode = window.parent.reduxStore.getState().app.nodeConfig.knownNodes[window.parent.reduxStore.getState().app.nodeConfig.node]
|
||||
let apiKey = apiNode.apiKey
|
||||
return apiKey
|
||||
}
|
||||
firstUpdated() {
|
||||
this.getNotifications()
|
||||
|
||||
async getNotifications() {
|
||||
const myNode = store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
const nodeUrl = myNode.protocol + '://' + myNode.domain + ':' + myNode.port
|
||||
document.addEventListener('click', (event) => {
|
||||
const path = event.composedPath()
|
||||
if (!path.includes(this)) {
|
||||
this.showNotifications = false
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
let interval = null
|
||||
let stop = false
|
||||
getApiKey() {
|
||||
const apiNode = store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
return apiNode.apiKey
|
||||
}
|
||||
|
||||
const getNewMail = async () => {
|
||||
async getNotifications() {
|
||||
const myNode = store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
const nodeUrl = myNode.protocol + '://' + myNode.domain + ':' + myNode.port
|
||||
|
||||
const getMail = async (recipientName, recipientAddress) => {
|
||||
const query = `qortal_qmail_${recipientName.slice(
|
||||
0,
|
||||
20
|
||||
)}_${recipientAddress.slice(-6)}_mail_`
|
||||
const url = `${nodeUrl}/arbitrary/resources/search?service=MAIL_PRIVATE&query=${query}&limit=10&includemetadata=false&offset=0&reverse=true&excludeblocked=true`
|
||||
const response = await fetch(url, {
|
||||
method: 'GET',
|
||||
headers: {
|
||||
'Content-Type': 'application/json'
|
||||
}
|
||||
})
|
||||
let interval = null
|
||||
let stop = false
|
||||
|
||||
const data = await response.json()
|
||||
return data;
|
||||
}
|
||||
const getNewMail = async () => {
|
||||
const getMail = async (recipientName, recipientAddress) => {
|
||||
const query = `qortal_qmail_${recipientName.slice(
|
||||
0,
|
||||
20
|
||||
)}_${recipientAddress.slice(-6)}_mail_`
|
||||
|
||||
if (!stop && !this.showNotifications) {
|
||||
stop = true
|
||||
try {
|
||||
const address = window.parent.reduxStore.getState().app?.selectedAddress?.address;
|
||||
const name = window.parent.reduxStore.getState().app?.accountInfo?.names[0]?.name
|
||||
const url = `${nodeUrl}/arbitrary/resources/search?service=MAIL_PRIVATE&query=${query}&limit=10&includemetadata=false&offset=0&reverse=true&excludeblocked=true`
|
||||
|
||||
if (!name || !address) return
|
||||
const mailArray = await getMail(name, address)
|
||||
let notificationsToShow = []
|
||||
if (mailArray.length > 0) {
|
||||
const lastVisited = localStorage.getItem("Q-Mail-last-visited")
|
||||
const response = await fetch(url, {
|
||||
method: 'GET',
|
||||
headers: {
|
||||
'Content-Type': 'application/json'
|
||||
}
|
||||
})
|
||||
|
||||
if (lastVisited) {
|
||||
mailArray.forEach((mail) => {
|
||||
if (mail.created > lastVisited) notificationsToShow.push(mail)
|
||||
})
|
||||
} else {
|
||||
notificationsToShow = mailArray
|
||||
}
|
||||
return await response.json()
|
||||
}
|
||||
|
||||
}
|
||||
if (!this.initialFetch && notificationsToShow.length > 0) {
|
||||
const mail = notificationsToShow[0]
|
||||
const urlPic = `${nodeUrl}/arbitrary/THUMBNAIL/${mail.name}/qortal_avatar?async=true&apiKey=${this.getApiKey()}`
|
||||
routes.showNotification({
|
||||
data: { title: "New Q-Mail", type: "qapp", sound: config.messageAlert, url: "", options: { body: `You have an unread mail from ${mail.name}`, icon: urlPic, badge: urlPic } }
|
||||
})
|
||||
} else if (notificationsToShow.length > 0) {
|
||||
if (notificationsToShow[0].created > (this.notifications[0]?.created || 0)) {
|
||||
const mail = notificationsToShow[0]
|
||||
const urlPic = `${nodeUrl}/arbitrary/THUMBNAIL/${mail.name}/qortal_avatar?async=true&apiKey=${this.getApiKey()}`
|
||||
routes.showNotification({
|
||||
data: { title: "New Q-Mail", type: "qapp", sound: config.messageAlert, url: "", options: { body: `You have an unread mail from ${mail.name}`, icon: urlPic, badge: urlPic } }
|
||||
})
|
||||
}
|
||||
}
|
||||
this.notifications = notificationsToShow
|
||||
if (!stop && !this.showNotifications) {
|
||||
stop = true
|
||||
|
||||
if (this.notifications.length === 0) {
|
||||
this.notificationCount = false
|
||||
} else {
|
||||
this.notificationCount = true
|
||||
}
|
||||
try {
|
||||
const address = window.parent.reduxStore.getState().app?.selectedAddress?.address;
|
||||
const name = window.parent.reduxStore.getState().app?.accountInfo?.names[0]?.name
|
||||
|
||||
if (!this.initialFetch) this.initialFetch = true
|
||||
} catch (error) {
|
||||
console.error(error)
|
||||
}
|
||||
stop = false
|
||||
}
|
||||
}
|
||||
try {
|
||||
if (!name || !address) return
|
||||
|
||||
setTimeout(() => {
|
||||
getNewMail()
|
||||
}, 5000)
|
||||
const mailArray = await getMail(name, address)
|
||||
|
||||
interval = setInterval(getNewMail, 60000)
|
||||
} catch (error) {
|
||||
console.error(error)
|
||||
}
|
||||
}
|
||||
let notificationsToShow = []
|
||||
|
||||
render() {
|
||||
return html`
|
||||
<div class="layout">
|
||||
${this.notificationCount ? html`
|
||||
<mwc-icon @click=${() => this._toggleNotifications()} id="notification-mail-icon" style="color: green;cursor:pointer;user-select:none"
|
||||
>mail</mwc-icon
|
||||
>
|
||||
<vaadin-tooltip
|
||||
for="notification-mail-icon"
|
||||
position="bottom"
|
||||
hover-delay=${400}
|
||||
hide-delay=${1}
|
||||
text="Q-Mail">
|
||||
</vaadin-tooltip>
|
||||
if (mailArray.length > 0) {
|
||||
const lastVisited = localStorage.getItem("Q-Mail-last-visited")
|
||||
|
||||
` : html`
|
||||
<mwc-icon @click=${() => this._openTabQmail()} id="notification-mail-icon" style="color: var(--black); cursor:pointer;user-select:none"
|
||||
>mail</mwc-icon
|
||||
>
|
||||
<vaadin-tooltip
|
||||
for="notification-mail-icon"
|
||||
position="bottom"
|
||||
hover-delay=${400}
|
||||
hide-delay=${1}
|
||||
text="Q-Mail">
|
||||
</vaadin-tooltip>
|
||||
if (lastVisited) {
|
||||
mailArray.forEach((mail) => {
|
||||
if (mail.created > lastVisited) notificationsToShow.push(mail)
|
||||
})
|
||||
} else {
|
||||
notificationsToShow = mailArray
|
||||
}
|
||||
|
||||
`}
|
||||
}
|
||||
|
||||
${this.notificationCount ? html`
|
||||
<span class="count">${this.notifications.length}</span>
|
||||
` : ''}
|
||||
if (!this.initialFetch && notificationsToShow.length > 0) {
|
||||
const mail = notificationsToShow[0]
|
||||
const urlPic = `${nodeUrl}/arbitrary/THUMBNAIL/${mail.name}/qortal_avatar?async=true}`
|
||||
|
||||
<div class="popover-panel" ?hidden=${!this.showNotifications}>
|
||||
<div class="notifications-list">
|
||||
${this.notifications.map(notification => html`
|
||||
<div class="notification-item" @click=${() => {
|
||||
const query = `?service=APP&name=Q-Mail`
|
||||
store.dispatch(setNewTab({
|
||||
url: `qdn/browser/index.html${query}`,
|
||||
id: 'q-mail-notification',
|
||||
myPlugObj: {
|
||||
"url": "myapp",
|
||||
"domain": "core",
|
||||
"page": `qdn/browser/index.html${query}`,
|
||||
"title": "Q-Mail",
|
||||
"icon": "vaadin:mailbox",
|
||||
"mwcicon": "mail_outline",
|
||||
"menus": [],
|
||||
"parent": false
|
||||
}
|
||||
}))
|
||||
this.showNotifications = false
|
||||
this.notifications = []
|
||||
}}>
|
||||
<div>
|
||||
<p>Q-Mail</p>
|
||||
<message-time timestamp=${notification.created} style="color:red;font-size:12px"></message-time>
|
||||
</div>
|
||||
<div>
|
||||
<p>${notification.name}</p>
|
||||
</div>
|
||||
</div>
|
||||
`)}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`
|
||||
}
|
||||
await routes.showNotification({
|
||||
data: {
|
||||
title: 'New Q-Mail',
|
||||
type: 'qapp',
|
||||
sound: config.messageAlert,
|
||||
url: '',
|
||||
options: {
|
||||
body: `You have an unread mail from ${mail.name}`,
|
||||
icon: urlPic,
|
||||
badge: urlPic
|
||||
}
|
||||
}
|
||||
})
|
||||
} else if (notificationsToShow.length > 0) {
|
||||
if (notificationsToShow[0].created > (this.notifications[0]?.created || 0)) {
|
||||
const mail = notificationsToShow[0]
|
||||
const urlPic = `${nodeUrl}/arbitrary/THUMBNAIL/${mail.name}/qortal_avatar?async=true}`
|
||||
|
||||
_toggleNotifications() {
|
||||
if (this.notifications.length === 0) return
|
||||
this.showNotifications = !this.showNotifications
|
||||
}
|
||||
_openTabQmail() {
|
||||
const query = `?service=APP&name=Q-Mail`
|
||||
store.dispatch(setNewTab({
|
||||
url: `qdn/browser/index.html${query}`,
|
||||
id: 'q-mail-notification',
|
||||
myPlugObj: {
|
||||
"url": "myapp",
|
||||
"domain": "core",
|
||||
"page": `qdn/browser/index.html${query}`,
|
||||
"title": "Q-Mail",
|
||||
"icon": "vaadin:mailbox",
|
||||
"mwcicon": "mail_outline",
|
||||
"menus": [],
|
||||
"parent": false
|
||||
}
|
||||
}))
|
||||
}
|
||||
await routes.showNotification({
|
||||
data: {
|
||||
title: 'New Q-Mail',
|
||||
type: 'qapp',
|
||||
sound: config.messageAlert,
|
||||
url: '',
|
||||
options: {
|
||||
body: `You have an unread mail from ${mail.name}`,
|
||||
icon: urlPic,
|
||||
badge: urlPic
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
static styles = css`
|
||||
.layout {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
}
|
||||
this.notifications = notificationsToShow
|
||||
|
||||
.count {
|
||||
position: absolute;
|
||||
top: -5px;
|
||||
right: -5px;
|
||||
font-size: 12px;
|
||||
background-color: red;
|
||||
color: white;
|
||||
border-radius: 50%;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
user-select: none;
|
||||
}
|
||||
this.notificationCount = this.notifications.length !== 0
|
||||
|
||||
.nocount {
|
||||
display: none;
|
||||
}
|
||||
if (!this.initialFetch) this.initialFetch = true
|
||||
} catch (error) {
|
||||
console.error(error)
|
||||
}
|
||||
|
||||
.popover-panel {
|
||||
position: absolute;
|
||||
width: 200px;
|
||||
padding: 10px;
|
||||
background-color: var(--white);
|
||||
border: 1px solid var(--black);
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
||||
top: 40px;
|
||||
max-height: 350px;
|
||||
overflow: auto;
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: #6a6c75 #a1a1a1;
|
||||
}
|
||||
stop = false
|
||||
}
|
||||
}
|
||||
|
||||
.popover-panel::-webkit-scrollbar {
|
||||
width: 11px;
|
||||
}
|
||||
try {
|
||||
setTimeout(() => {
|
||||
getNewMail()
|
||||
}, 5000)
|
||||
|
||||
.popover-panel::-webkit-scrollbar-track {
|
||||
background: #a1a1a1;
|
||||
}
|
||||
interval = setInterval(getNewMail, 60000)
|
||||
} catch (error) {
|
||||
console.error(error)
|
||||
}
|
||||
}
|
||||
|
||||
.popover-panel::-webkit-scrollbar-thumb {
|
||||
background-color: #6a6c75;
|
||||
border-radius: 6px;
|
||||
border: 3px solid #a1a1a1;
|
||||
}
|
||||
_toggleNotifications() {
|
||||
if (this.notifications.length === 0) return
|
||||
this.showNotifications = !this.showNotifications
|
||||
}
|
||||
|
||||
.notifications-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
_openTabQmail() {
|
||||
const query = `?service=APP&name=Q-Mail`
|
||||
|
||||
.notification-item {
|
||||
padding: 5px;
|
||||
border-bottom: 1px solid;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
cursor: pointer;
|
||||
transition: 0.2s all;
|
||||
}
|
||||
|
||||
.notification-item:hover {
|
||||
background: var(--nav-color-hover);
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 14px;
|
||||
color: var(--black);
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
`
|
||||
store.dispatch(setNewTab({
|
||||
url: `qdn/browser/index.html${query}`,
|
||||
id: 'q-mail-notification',
|
||||
myPlugObj: {
|
||||
"url": "myapp",
|
||||
"domain": "core",
|
||||
"page": `qdn/browser/index.html${query}`,
|
||||
"title": "Q-Mail",
|
||||
"icon": "vaadin:mailbox",
|
||||
"mwcicon": "mail_outline",
|
||||
"menus": [],
|
||||
"parent": false
|
||||
}
|
||||
}))
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define('notification-bell', NotificationBell)
|
||||
window.customElements.define('notification-bell', NotificationBell)
|
@ -1,76 +1,56 @@
|
||||
// popover-component.js
|
||||
import {css, html, LitElement} from 'lit';
|
||||
import {createPopper} from '@popperjs/core';
|
||||
import { css, html, LitElement } from 'lit'
|
||||
import { createPopper } from '@popperjs/core'
|
||||
import { popoverComponentStyles } from '../../styles/core-css'
|
||||
import '@material/mwc-icon'
|
||||
|
||||
export class PopoverComponent extends LitElement {
|
||||
static styles = css`
|
||||
:host {
|
||||
display: none;
|
||||
position: absolute;
|
||||
background-color: var(--white);
|
||||
border: 1px solid #ddd;
|
||||
padding: 8px;
|
||||
z-index: 10;
|
||||
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
||||
color: var(--black);
|
||||
max-width: 250px;
|
||||
}
|
||||
static get properties() {
|
||||
return {
|
||||
for: { type: String, reflect: true },
|
||||
message: { type: String }
|
||||
}
|
||||
}
|
||||
|
||||
.close-icon {
|
||||
cursor: pointer;
|
||||
float: right;
|
||||
margin-left: 10px;
|
||||
color: var(--black)
|
||||
}
|
||||
static get styles() {
|
||||
return [popoverComponentStyles]
|
||||
}
|
||||
|
||||
constructor() {
|
||||
super()
|
||||
this.message = ''
|
||||
}
|
||||
|
||||
`;
|
||||
render() {
|
||||
return html`
|
||||
<span class="close-icon" @click="${this.closePopover}"><mwc-icon style="color: var(--black)">close</mwc-icon></span>
|
||||
<div><mwc-icon style="color: var(--black)">info</mwc-icon> ${this.message} <slot></slot></div>
|
||||
`
|
||||
}
|
||||
|
||||
static properties = {
|
||||
for: { type: String, reflect: true },
|
||||
message: { type: String }
|
||||
};
|
||||
attachToTarget(target) {
|
||||
if (!this.popperInstance && target) {
|
||||
this.popperInstance = createPopper(target, this, {
|
||||
placement: 'bottom',
|
||||
strategy: 'fixed'
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
constructor() {
|
||||
super();
|
||||
this.message = '';
|
||||
}
|
||||
openPopover(target) {
|
||||
this.attachToTarget(target)
|
||||
this.style.display = 'block'
|
||||
}
|
||||
|
||||
firstUpdated() {
|
||||
// We'll defer the popper attachment to the openPopover() method to ensure target availability
|
||||
}
|
||||
closePopover() {
|
||||
this.style.display = 'none'
|
||||
|
||||
attachToTarget(target) {
|
||||
if (!this.popperInstance && target) {
|
||||
this.popperInstance = createPopper(target, this, {
|
||||
placement: 'bottom',
|
||||
strategy: 'fixed'
|
||||
});
|
||||
}
|
||||
}
|
||||
if (this.popperInstance) {
|
||||
this.popperInstance.destroy()
|
||||
this.popperInstance = null
|
||||
}
|
||||
|
||||
openPopover(target) {
|
||||
this.attachToTarget(target);
|
||||
this.style.display = 'block';
|
||||
}
|
||||
|
||||
closePopover() {
|
||||
this.style.display = 'none';
|
||||
if (this.popperInstance) {
|
||||
this.popperInstance.destroy();
|
||||
this.popperInstance = null;
|
||||
}
|
||||
this.requestUpdate();
|
||||
}
|
||||
|
||||
render() {
|
||||
return html`
|
||||
<span class="close-icon" @click="${this.closePopover}"><mwc-icon style="color: var(--black)">close</mwc-icon></span>
|
||||
<div><mwc-icon style="color: var(--black)">info</mwc-icon> ${this.message} <slot></slot>
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
this.requestUpdate()
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define('popover-component', PopoverComponent);
|
||||
window.customElements.define('popover-component', PopoverComponent)
|
@ -1,134 +1,67 @@
|
||||
import {css, html, LitElement} from 'lit'
|
||||
import {svgMoon, svgSun} from '../../assets/js/svg.js'
|
||||
import { html, LitElement } from 'lit'
|
||||
import { svgMoon, svgSun } from '../../assets/js/svg'
|
||||
import { qortThemeToggleStyles } from '../styles/core-css'
|
||||
|
||||
class QortThemeToggle extends LitElement {
|
||||
static get properties() {
|
||||
return {
|
||||
theme: {
|
||||
type: String,
|
||||
reflect: true
|
||||
}
|
||||
}
|
||||
}
|
||||
static get properties() {
|
||||
return {
|
||||
theme: { type: String, reflect: true }
|
||||
}
|
||||
}
|
||||
|
||||
constructor() {
|
||||
super();
|
||||
this.theme = localStorage.getItem('qortalTheme') ? localStorage.getItem('qortalTheme') : 'light';
|
||||
}
|
||||
constructor() {
|
||||
super()
|
||||
this.theme = localStorage.getItem('qortalTheme') ? localStorage.getItem('qortalTheme') : 'light'
|
||||
}
|
||||
|
||||
static styles = [
|
||||
css`
|
||||
:host {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
width: 54px;
|
||||
height: 32px;
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
static get styles() {
|
||||
return [qortThemeToggleStyles]
|
||||
}
|
||||
|
||||
svg {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
}
|
||||
render() {
|
||||
return html`
|
||||
<input
|
||||
type="checkbox"
|
||||
role="switch"
|
||||
aria-label="Dark theme"
|
||||
@change=${() => this.toggleTheme()}
|
||||
/>
|
||||
<div class="slider"></div>
|
||||
<div class="icon">
|
||||
<span class="sun">${svgSun}</span>
|
||||
<span class="moon">${svgMoon}</span>
|
||||
</div>
|
||||
`
|
||||
}
|
||||
|
||||
input {
|
||||
cursor: pointer;
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
opacity: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.slider {
|
||||
position: absolute;
|
||||
cursor: pointer;
|
||||
width: 100%;
|
||||
height: 16px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
background-color: var(--switchbackground);
|
||||
border: 2px solid var(--switchborder);
|
||||
border-radius: 1rem;
|
||||
transition: all .4s ease;
|
||||
}
|
||||
|
||||
.icon {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
background: var(--switchbackground);
|
||||
border: 2px solid var(--switchborder);
|
||||
border-radius: 50%;
|
||||
transition: transform 300ms ease;
|
||||
}
|
||||
|
||||
:host([theme="light"]) .icon {
|
||||
transform: translate(0, -50%);
|
||||
}
|
||||
|
||||
input:checked ~ .icon,
|
||||
:host([theme="dark"]) .icon {
|
||||
transform: translate(calc(100% - 12px), -50%);
|
||||
}
|
||||
|
||||
.moon {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.moon svg {
|
||||
transform: scale(0.6);
|
||||
}
|
||||
|
||||
:host([theme="dark"]) .sun {
|
||||
display: none;
|
||||
}
|
||||
|
||||
:host([theme="dark"]) .moon {
|
||||
display: inline-block;
|
||||
}
|
||||
`
|
||||
];
|
||||
|
||||
render() {
|
||||
return html`
|
||||
<input type="checkbox" @change=${() => this.toggleTheme()}/>
|
||||
<div class="slider"></div>
|
||||
<div class="icon">
|
||||
<span class="sun">${svgSun}</span>
|
||||
<span class="moon">${svgMoon}</span>
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
|
||||
firstUpdated() {
|
||||
this.initTheme();
|
||||
}
|
||||
firstUpdated() {
|
||||
this.initTheme()
|
||||
}
|
||||
|
||||
|
||||
toggleTheme() {
|
||||
if (this.theme === 'light') {
|
||||
this.theme = 'dark';
|
||||
} else {
|
||||
this.theme = 'light';
|
||||
}
|
||||
this.dispatchEvent(
|
||||
new CustomEvent('qort-theme-change', {
|
||||
bubbles: true,
|
||||
composed: true,
|
||||
detail: this.theme,
|
||||
}),
|
||||
);
|
||||
toggleTheme() {
|
||||
if (this.theme === 'light') {
|
||||
this.theme = 'dark'
|
||||
} else {
|
||||
this.theme = 'light'
|
||||
}
|
||||
|
||||
window.localStorage.setItem('qortalTheme', this.theme);
|
||||
this.initTheme();
|
||||
}
|
||||
this.dispatchEvent(
|
||||
new CustomEvent('qort-theme-change', {
|
||||
bubbles: true,
|
||||
composed: true,
|
||||
detail: this.theme
|
||||
})
|
||||
)
|
||||
|
||||
initTheme() {
|
||||
document.querySelector('html').setAttribute('theme', this.theme);
|
||||
}
|
||||
window.localStorage.setItem('qortalTheme', this.theme)
|
||||
|
||||
this.initTheme()
|
||||
}
|
||||
|
||||
initTheme() {
|
||||
document.querySelector('html').setAttribute('theme', this.theme)
|
||||
}
|
||||
}
|
||||
|
||||
window.customElements.define('qort-theme-toggle', QortThemeToggle);
|
||||
window.customElements.define('qort-theme-toggle', QortThemeToggle)
|
@ -1,12 +1,14 @@
|
||||
import {css, html, LitElement} from 'lit'
|
||||
import {get, translate} from '../../translate/index.js'
|
||||
import snackbar from '../functional-components/snackbar.js'
|
||||
|
||||
import { html, LitElement } from 'lit'
|
||||
import { searchModalStyles } from '../styles/core-css'
|
||||
import snackbar from '../functional-components/snackbar'
|
||||
import '@polymer/paper-icon-button/paper-icon-button.js'
|
||||
import '@polymer/iron-icons/iron-icons.js'
|
||||
import '@polymer/paper-dialog/paper-dialog.js'
|
||||
import '@vaadin/text-field'
|
||||
|
||||
// Multi language support
|
||||
import { get, translate } from '../../translate'
|
||||
|
||||
class SearchModal extends LitElement {
|
||||
static get properties() {
|
||||
return {
|
||||
@ -15,56 +17,16 @@ class SearchModal extends LitElement {
|
||||
}
|
||||
}
|
||||
|
||||
static get styles() {
|
||||
return [searchModalStyles]
|
||||
}
|
||||
|
||||
constructor() {
|
||||
super()
|
||||
this.searchContentString = ''
|
||||
this.theme = localStorage.getItem('qortalTheme') ? localStorage.getItem('qortalTheme') : 'light'
|
||||
}
|
||||
|
||||
static get styles() {
|
||||
return css`
|
||||
* {
|
||||
--lumo-primary-text-color: rgb(0, 167, 245);
|
||||
--lumo-primary-color-50pct: rgba(0, 167, 245, 0.5);
|
||||
--lumo-primary-color-10pct: rgba(0, 167, 245, 0.1);
|
||||
--lumo-primary-color: hsl(199, 100%, 48%);
|
||||
--lumo-base-color: var(--white);
|
||||
--lumo-body-text-color: var(--black);
|
||||
--lumo-secondary-text-color: var(--sectxt);
|
||||
--lumo-contrast-60pct: var(--vdicon);
|
||||
--item-selected-color: var(--nav-selected-color);
|
||||
--item-selected-color-text: var(--nav-selected-color-text);
|
||||
--item-color-active: var(--nav-color-active);
|
||||
--item-color-hover: var(--nav-color-hover);
|
||||
--item-text-color: var(--nav-text-color);
|
||||
--item-icon-color: var(--nav-icon-color);
|
||||
--item-border-color: var(--nav-border-color);
|
||||
--item-border-selected-color: var(--nav-border-selected-color);
|
||||
}
|
||||
|
||||
paper-dialog.searchSettings {
|
||||
min-width: 525px;
|
||||
max-width: 525px;
|
||||
min-height: auto;
|
||||
max-height: 150px;
|
||||
background-color: var(--white);
|
||||
color: var(--black);
|
||||
line-height: 1.6;
|
||||
overflow: hidden;
|
||||
border: 1px solid var(--black);
|
||||
border-radius: 10px;
|
||||
padding: 15px;
|
||||
box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.search {
|
||||
display: inline;
|
||||
width: 50%;
|
||||
align-items: center;
|
||||
}
|
||||
`
|
||||
}
|
||||
|
||||
render() {
|
||||
return html`
|
||||
<div style="display: inline;">
|
||||
@ -92,6 +54,7 @@ class SearchModal extends LitElement {
|
||||
}
|
||||
|
||||
firstUpdated() {
|
||||
// ...
|
||||
}
|
||||
|
||||
openSearch() {
|
||||
@ -110,23 +73,28 @@ class SearchModal extends LitElement {
|
||||
|
||||
openUserInfo() {
|
||||
const checkvalue = this.shadowRoot.getElementById('searchContent').value
|
||||
if (checkvalue.length < 3) {
|
||||
|
||||
if (checkvalue.length < 1) {
|
||||
let snackbar1string = get("publishpage.pchange20")
|
||||
let snackbar2string = get("welcomepage.wcchange4")
|
||||
|
||||
snackbar.add({
|
||||
labelText: `${snackbar1string} ${snackbar2string}`,
|
||||
dismiss: true
|
||||
})
|
||||
|
||||
this.shadowRoot.getElementById('searchContent').value = this.searchContentString
|
||||
return
|
||||
} else {
|
||||
let sendInfoAddress = this.shadowRoot.getElementById('searchContent').value
|
||||
|
||||
const infoDialog = document.getElementById('main-app').shadowRoot.querySelector('app-view').shadowRoot.querySelector('user-info-view')
|
||||
|
||||
infoDialog.openUserInfo(sendInfoAddress)
|
||||
|
||||
this.shadowRoot.getElementById('searchContent').value = this.searchContentString
|
||||
this.shadowRoot.getElementById('searchSettingsDialog').close()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
window.customElements.define('search-modal', SearchModal)
|
||||
window.customElements.define('search-modal', SearchModal)
|
@ -1,139 +1,92 @@
|
||||
import { LitElement, html, css } from 'lit'
|
||||
import { html, LitElement } from 'lit'
|
||||
import { connect } from 'pwa-helpers'
|
||||
import { store } from '../../store.js'
|
||||
import { get, translate } from '../../../translate/index.js'
|
||||
import { store } from '../../store'
|
||||
import { accountViewStyles } from '../../styles/core-css'
|
||||
|
||||
// Multi language support
|
||||
import { get, translate } from '../../../translate'
|
||||
|
||||
class AccountView extends connect(store)(LitElement) {
|
||||
static get properties() {
|
||||
return {
|
||||
accountInfo: { type: Object },
|
||||
theme: { type: String, reflect: true },
|
||||
switchAvatar: { type: String }
|
||||
}
|
||||
}
|
||||
static get properties() {
|
||||
return {
|
||||
accountInfo: { type: Object },
|
||||
switchAvatar: { type: String },
|
||||
theme: { type: String, reflect: true }
|
||||
}
|
||||
}
|
||||
|
||||
static get styles() {
|
||||
return css`
|
||||
static get styles() {
|
||||
return [accountViewStyles]
|
||||
}
|
||||
|
||||
.sub-main {
|
||||
position: relative;
|
||||
text-align: center;
|
||||
}
|
||||
constructor() {
|
||||
super()
|
||||
this.accountInfo = store.getState().app.accountInfo
|
||||
this.switchAvatar = ''
|
||||
this.theme = localStorage.getItem('qortalTheme') ? localStorage.getItem('qortalTheme') : 'light'
|
||||
}
|
||||
|
||||
.center-box {
|
||||
position: relative;
|
||||
top: 45%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, 0%);
|
||||
text-align: center;
|
||||
}
|
||||
render() {
|
||||
return html`
|
||||
<div class="sub-main">
|
||||
<div class="center-box">
|
||||
<div class="img-icon">${this.getAvatar()}</div>
|
||||
<span id="accountName">
|
||||
${this.accountInfo.names.length !== 0 ? this.accountInfo.names[0].name : get("chatpage.cchange15")}
|
||||
</span>
|
||||
<div class="content-box">
|
||||
<span class="title">${translate("settings.address")}: </span>
|
||||
<span class="value">${store.getState().app.selectedAddress.address}</span>
|
||||
<br/>
|
||||
<span class="title">${translate("settings.publickey")}: </span>
|
||||
<span class="value">${store.getState().app.selectedAddress.base58PublicKey}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`
|
||||
}
|
||||
|
||||
.img-icon {
|
||||
display: block;
|
||||
margin-top: 10px;
|
||||
}
|
||||
firstUpdated() {
|
||||
this.getSwitchAvatar()
|
||||
|
||||
.content-box {
|
||||
border: 1px solid #a1a1a1;
|
||||
padding: 10px 25px;
|
||||
text-align: left;
|
||||
display: inline-block;
|
||||
}
|
||||
setInterval(() => {
|
||||
this.getSwitchAvatar()
|
||||
}, 10000)
|
||||
}
|
||||
|
||||
.title {
|
||||
font-weight: 600;
|
||||
font-size: 15px;
|
||||
display: block;
|
||||
line-height: 32px;
|
||||
opacity: 0.66;
|
||||
}
|
||||
getAvatar() {
|
||||
if (this.switchAvatar === 'light') {
|
||||
if (this.accountInfo.names.length === 0) {
|
||||
return html`<img src="/img/noavatar_light.png" style="width:150px; height:150px; border-radius: 25%;">`
|
||||
} else {
|
||||
const avatarName = this.accountInfo.names[0].name
|
||||
const avatarNode = store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
const avatarUrl = avatarNode.protocol + '://' + avatarNode.domain + ':' + avatarNode.port
|
||||
const url = `${avatarUrl}/arbitrary/THUMBNAIL/${avatarName}/qortal_avatar?async=true`
|
||||
|
||||
.value {
|
||||
font-size: 16px;
|
||||
display: inline-block;
|
||||
}
|
||||
return html`<img src="${url}" style="width:150px; height:150px; border-radius: 25%;" onerror="this.src='/img/noavatar_light.png';">`
|
||||
}
|
||||
} else if (this.switchAvatar === 'dark') {
|
||||
if (this.accountInfo.names.length === 0) {
|
||||
return html`<img src="/img/noavatar_dark.png" style="width:150px; height:150px; border-radius: 25%;">`
|
||||
} else {
|
||||
const avatarName = this.accountInfo.names[0].name
|
||||
const avatarNode = store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
const avatarUrl = avatarNode.protocol + '://' + avatarNode.domain + ':' + avatarNode.port
|
||||
const url = `${avatarUrl}/arbitrary/THUMBNAIL/${avatarName}/qortal_avatar?async=true`
|
||||
|
||||
#accountName {
|
||||
margin: 0;
|
||||
font-size: 24px;
|
||||
font-weight:500;
|
||||
display: inline-block;
|
||||
width:100%;
|
||||
}
|
||||
`
|
||||
}
|
||||
return html`<img src="${url}" style="width:150px; height:150px; border-radius: 25%;" onerror="this.src='/img/noavatar_dark.png';">`
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
constructor() {
|
||||
super()
|
||||
this.accountInfo = store.getState().app.accountInfo
|
||||
this.theme = localStorage.getItem('qortalTheme') ? localStorage.getItem('qortalTheme') : 'light'
|
||||
this.switchAvatar = ''
|
||||
}
|
||||
getSwitchAvatar() {
|
||||
this.switchAvatar = localStorage.getItem('qortalTheme')
|
||||
}
|
||||
|
||||
render() {
|
||||
return html`
|
||||
<div class="sub-main">
|
||||
<div class="center-box">
|
||||
<div class="img-icon">${this.getAvatar()}</div>
|
||||
<span id="accountName">
|
||||
${this.accountInfo.names.length !== 0 ? this.accountInfo.names[0].name : get("chatpage.cchange15")}
|
||||
</span>
|
||||
<div class="content-box">
|
||||
<span class="title">${translate("settings.address")}: </span>
|
||||
<span class="value">${store.getState().app.selectedAddress.address}</span>
|
||||
<br/>
|
||||
<span class="title">${translate("settings.publickey")}: </span>
|
||||
<span class="value">${store.getState().app.selectedAddress.base58PublicKey}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`
|
||||
}
|
||||
|
||||
firstUpdated() {
|
||||
this.getSwitchAvatar()
|
||||
setInterval(() => {
|
||||
this.getSwitchAvatar()
|
||||
}, 2000)
|
||||
}
|
||||
|
||||
getAvatar() {
|
||||
if (this.switchAvatar === 'light') {
|
||||
if (this.accountInfo.names.length === 0) {
|
||||
return html`<img src="/img/noavatar_light.png" style="width:150px; height:150px; border-radius: 25%;">`
|
||||
} else {
|
||||
const avatarName = this.accountInfo.names[0].name
|
||||
const avatarNode = store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
const avatarUrl = avatarNode.protocol + '://' + avatarNode.domain + ':' + avatarNode.port
|
||||
const url = `${avatarUrl}/arbitrary/THUMBNAIL/${avatarName}/qortal_avatar?async=true&apiKey=${this.getApiKey()}`
|
||||
return html`<img src="${url}" style="width:150px; height:150px; border-radius: 25%;" onerror="this.src='/img/noavatar_light.png';">`
|
||||
}
|
||||
} else if (this.switchAvatar === 'dark') {
|
||||
if (this.accountInfo.names.length === 0) {
|
||||
return html`<img src="/img/noavatar_dark.png" style="width:150px; height:150px; border-radius: 25%;">`
|
||||
} else {
|
||||
const avatarName = this.accountInfo.names[0].name
|
||||
const avatarNode = store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
const avatarUrl = avatarNode.protocol + '://' + avatarNode.domain + ':' + avatarNode.port
|
||||
const url = `${avatarUrl}/arbitrary/THUMBNAIL/${avatarName}/qortal_avatar?async=true&apiKey=${this.getApiKey()}`
|
||||
return html`<img src="${url}" style="width:150px; height:150px; border-radius: 25%;" onerror="this.src='/img/noavatar_dark.png';">`
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
getSwitchAvatar() {
|
||||
this.switchAvatar = localStorage.getItem('qortalTheme')
|
||||
}
|
||||
|
||||
getApiKey() {
|
||||
const apiNode = store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
let apiKey = apiNode.apiKey
|
||||
return apiKey
|
||||
}
|
||||
|
||||
stateChanged(state) {
|
||||
this.accountInfo = state.app.accountInfo
|
||||
}
|
||||
stateChanged(state) {
|
||||
this.accountInfo = state.app.accountInfo
|
||||
}
|
||||
}
|
||||
|
||||
window.customElements.define('account-view', AccountView)
|
@ -1,598 +1,423 @@
|
||||
import {css, html, LitElement} from 'lit'
|
||||
import {connect} from 'pwa-helpers'
|
||||
import {store} from '../../store.js'
|
||||
import { Epml } from '../../epml.js'
|
||||
import { addTradeBotRoutes } from '../../tradebot/addTradeBotRoutes.js'
|
||||
import {get, translate} from '../../../translate/index.js'
|
||||
import snackbar from '../../functional-components/snackbar.js'
|
||||
import { html, LitElement } from 'lit'
|
||||
import { connect } from 'pwa-helpers'
|
||||
import { store } from '../../store'
|
||||
import { Epml } from '../../epml'
|
||||
import { addTradeBotRoutes } from '../../tradebot/addTradeBotRoutes'
|
||||
import { exportKeysStyles } from '../../styles/core-css'
|
||||
import FileSaver from 'file-saver'
|
||||
|
||||
import '@material/mwc-dialog'
|
||||
import snackbar from '../../functional-components/snackbar'
|
||||
import '@material/mwc-button'
|
||||
import '@material/mwc-dialog'
|
||||
import '@material/mwc-icon'
|
||||
|
||||
// Multi language support
|
||||
import { get, translate } from '../../../translate'
|
||||
|
||||
const parentEpml = new Epml({ type: 'WINDOW', source: window.parent })
|
||||
|
||||
class ExportKeys extends connect(store)(LitElement) {
|
||||
static get properties() {
|
||||
return {
|
||||
theme: { type: String, reflect: true },
|
||||
backupErrorMessage: { type: String },
|
||||
btcPMK: { type: String },
|
||||
ltcPMK: { type: String },
|
||||
dogePMK: { type: String },
|
||||
dgbPMK: { type: String },
|
||||
rvnPMK: { type: String },
|
||||
arrrPMK: { type: String },
|
||||
btcWALLET: { type: String },
|
||||
ltcWALLET: { type: String },
|
||||
dogeWALLET: { type: String },
|
||||
dgbWALLET: { type: String },
|
||||
rvnWALLET: { type: String },
|
||||
arrrWALLET: { type: String },
|
||||
btcName: { type: String },
|
||||
ltcName: { type: String },
|
||||
dogeName: { type: String },
|
||||
dgbName: { type: String },
|
||||
rvnName: { type: String },
|
||||
arrrName: { type: String },
|
||||
btcShort: { type: String },
|
||||
ltcShort: { type: String },
|
||||
dogeShort: { type: String },
|
||||
dgbShort: { type: String },
|
||||
rvnShort: { type: String },
|
||||
arrrShort: { type: String },
|
||||
enableArrr: { type: Boolean },
|
||||
dWalletAddress: { type: String },
|
||||
dPrivateKey: { type: String },
|
||||
dCoinName: { type: String },
|
||||
dCoinShort: { type: String }
|
||||
}
|
||||
}
|
||||
static get properties() {
|
||||
return {
|
||||
theme: { type: String, reflect: true },
|
||||
backupErrorMessage: { type: String },
|
||||
btcPMK: { type: String },
|
||||
ltcPMK: { type: String },
|
||||
dogePMK: { type: String },
|
||||
dgbPMK: { type: String },
|
||||
rvnPMK: { type: String },
|
||||
arrrPMK: { type: String },
|
||||
btcWALLET: { type: String },
|
||||
ltcWALLET: { type: String },
|
||||
dogeWALLET: { type: String },
|
||||
dgbWALLET: { type: String },
|
||||
rvnWALLET: { type: String },
|
||||
arrrWALLET: { type: String },
|
||||
btcName: { type: String },
|
||||
ltcName: { type: String },
|
||||
dogeName: { type: String },
|
||||
dgbName: { type: String },
|
||||
rvnName: { type: String },
|
||||
arrrName: { type: String },
|
||||
btcShort: { type: String },
|
||||
ltcShort: { type: String },
|
||||
dogeShort: { type: String },
|
||||
dgbShort: { type: String },
|
||||
rvnShort: { type: String },
|
||||
arrrShort: { type: String },
|
||||
enableArrr: { type: Boolean },
|
||||
dWalletAddress: { type: String },
|
||||
dPrivateKey: { type: String },
|
||||
dCoinName: { type: String },
|
||||
dCoinShort: { type: String }
|
||||
}
|
||||
}
|
||||
|
||||
static get styles() {
|
||||
return css`
|
||||
* {
|
||||
--mdc-theme-primary: rgb(3, 169, 244);
|
||||
--mdc-theme-surface: var(--white);
|
||||
--mdc-dialog-content-ink-color: var(--black);
|
||||
--mdc-dialog-min-width: 500px;
|
||||
--mdc-dialog-max-width: 750px;
|
||||
--lumo-primary-text-color: rgb(0, 167, 245);
|
||||
--lumo-primary-color-50pct: rgba(0, 167, 245, 0.5);
|
||||
--lumo-primary-color-10pct: rgba(0, 167, 245, 0.1);
|
||||
--lumo-primary-color: hsl(199, 100%, 48%);
|
||||
--lumo-base-color: var(--white);
|
||||
--lumo-body-text-color: var(--black);
|
||||
--lumo-secondary-text-color: var(--sectxt);
|
||||
--lumo-contrast-60pct: var(--vdicon);
|
||||
}
|
||||
static get styles() {
|
||||
return [exportKeysStyles]
|
||||
}
|
||||
|
||||
.center-box {
|
||||
position: relative;
|
||||
top: 45%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, 0%);
|
||||
text-align: center;
|
||||
}
|
||||
constructor() {
|
||||
super()
|
||||
this.theme = localStorage.getItem('qortalTheme') ? localStorage.getItem('qortalTheme') : 'light'
|
||||
this.backupErrorMessage = ''
|
||||
this.btcPMK = store.getState().app.selectedAddress.btcWallet.derivedMasterPrivateKey
|
||||
this.btcWALLET = store.getState().app.selectedAddress.btcWallet.address
|
||||
this.btcName = 'Bitcoin'
|
||||
this.btcShort = 'btc'
|
||||
this.ltcPMK = store.getState().app.selectedAddress.ltcWallet.derivedMasterPrivateKey
|
||||
this.ltcWALLET = store.getState().app.selectedAddress.ltcWallet.address
|
||||
this.ltcName = 'Litecoin'
|
||||
this.ltcShort = 'ltc'
|
||||
this.dogePMK = store.getState().app.selectedAddress.dogeWallet.derivedMasterPrivateKey
|
||||
this.dogeWALLET = store.getState().app.selectedAddress.dogeWallet.address
|
||||
this.dogeName = 'Dogecoin'
|
||||
this.dogeShort = 'doge'
|
||||
this.dgbPMK = store.getState().app.selectedAddress.dgbWallet.derivedMasterPrivateKey
|
||||
this.dgbWALLET = store.getState().app.selectedAddress.dgbWallet.address
|
||||
this.dgbName = 'Digibyte'
|
||||
this.dgbShort = 'dgb'
|
||||
this.rvnPMK = store.getState().app.selectedAddress.rvnWallet.derivedMasterPrivateKey
|
||||
this.rvnWALLET = store.getState().app.selectedAddress.rvnWallet.address
|
||||
this.rvnName = 'Ravencoin'
|
||||
this.rvnShort = 'rvn'
|
||||
this.arrrPMK = ''
|
||||
this.arrrWALLET = ''
|
||||
this.arrrName = 'Pirate Chain'
|
||||
this.arrrShort = 'arrr'
|
||||
this.enableArrr = false
|
||||
this.dWalletAddress = ''
|
||||
this.dPrivateKey = ''
|
||||
this.dCoinName = ''
|
||||
this.dCoinShort = 'btc'
|
||||
}
|
||||
|
||||
.sub-main {
|
||||
position: relative;
|
||||
text-align: center;
|
||||
height: auto;
|
||||
width: 100%;
|
||||
}
|
||||
render() {
|
||||
return html`
|
||||
<div style="position: relative;">
|
||||
<div class="center-box">
|
||||
<p>
|
||||
${translate("settings.exp4")}
|
||||
</p>
|
||||
</div>
|
||||
<div class="sub-main">
|
||||
<div class="center-box">
|
||||
<div class="content-box">
|
||||
<div style="display: flex; align-items: center; justify-content: center;">
|
||||
<img src="/img/btc.png" style="width: 32px; height: 32px;"> ${this.btcWALLET}<br>
|
||||
</div>
|
||||
<div @click=${() => this.checkForPmkDownload(this.btcWALLET, this.btcPMK, this.btcName, this.btcShort)} class="export-button"> ${translate("settings.exp2")} </div>
|
||||
</div>
|
||||
<div class="content-box">
|
||||
<div style="display: flex; align-items: center; justify-content: center;">
|
||||
<img src="/img/ltc.png" style="width: 32px; height: 32px;"> ${this.ltcWALLET}<br>
|
||||
</div>
|
||||
<div @click=${() => this.checkForPmkDownload(this.ltcWALLET, this.ltcPMK, this.ltcName, this.ltcShort)} class="export-button"> ${translate("settings.exp2")} </div>
|
||||
</div>
|
||||
<div class="content-box">
|
||||
<div style="display: flex; align-items: center; justify-content: center;">
|
||||
<img src="/img/doge.png" style="width: 32px; height: 32px;"> ${this.dogeWALLET}<br>
|
||||
</div>
|
||||
<div @click=${() => this.checkForPmkDownload(this.dogeWALLET, this.dogePMK, this.dogeName, this.dogeShort)} class="export-button"> ${translate("settings.exp2")} </div>
|
||||
</div>
|
||||
<div class="content-box">
|
||||
<div style="display: flex; align-items: center; justify-content: center;">
|
||||
<img src="/img/dgb.png" style="width: 32px; height: 32px;"> ${this.dgbWALLET}<br>
|
||||
</div>
|
||||
<div @click=${() => this.checkForPmkDownload(this.dgbWALLET, this.dgbPMK, this.dgbName, this.dgbShort)} class="export-button"> ${translate("settings.exp2")} </div>
|
||||
</div>
|
||||
<div class="content-box">
|
||||
<div style="display: flex; align-items: center; justify-content: center;">
|
||||
<img src="/img/rvn.png" style="width: 32px; height: 32px;"> ${this.rvnWALLET}<br>
|
||||
</div>
|
||||
<div @click=${() => this.checkForPmkDownload(this.rvnWALLET, this.rvnPMK, this.rvnName, this.rvnShort)} class="export-button"> ${translate("settings.exp2")} </div>
|
||||
</div>
|
||||
<div class="content-box" style="display:${this.enableArrr ? 'block' : 'none'}">
|
||||
<div style="display: flex; align-items: center; justify-content: center;">
|
||||
<img src="/img/arrr.png" style="width: 32px; height: 32px;"> ${this.arrrWALLET}<br>
|
||||
</div>
|
||||
<div @click=${() => this.checkForPmkDownload(this.arrrWALLET, this.arrrPMK, this.arrrName, this.arrrShort)} class="export-button"> ${translate("settings.exp2")} </div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr style="margin-top: 20px;">
|
||||
<div class="button-row">
|
||||
<button class="repair-button" title="${translate('nodepage.nchange38')}" @click="${() => this.openRepairLTCDialog()}">${translate("nodepage.nchange38")}</button>
|
||||
</div>
|
||||
</div>
|
||||
<mwc-dialog id="savePkmDialog" scrimClickAction="" escapeKeyAction="">
|
||||
<img src="/img/${this.dCoinShort}.png" style="width: 32px; height: 32px;">
|
||||
<h3>${this.dCoinName} ${translate("settings.exp2")}</h3>
|
||||
<hr>
|
||||
<h4>${translate("settings.address")}: ${this.dWalletAddress}</h4>
|
||||
<mwc-button
|
||||
slot="primaryAction"
|
||||
@click="${() => this.closeSavePkmDialog()}"
|
||||
class="red"
|
||||
>
|
||||
${translate("general.close")}
|
||||
</mwc-button>
|
||||
<mwc-button
|
||||
slot="secondaryAction"
|
||||
@click="${() => this.exportKey(this.dPrivateKey, this.dCoinName, this.dWalletAddress)}"
|
||||
>
|
||||
${translate("settings.exp3")}
|
||||
</mwc-button>
|
||||
</mwc-dialog>
|
||||
<mwc-dialog id="arrrWalletNotSynced" scrimClickAction="" escapeKeyAction="">
|
||||
<img src="/img/arrr.png" style="width: 32px; height: 32px;">
|
||||
<h3>${translate("settings.arrr1")}</h3>
|
||||
<hr>
|
||||
<h4>${translate("settings.arrr2")}</h4>
|
||||
<mwc-button
|
||||
slot="primaryAction"
|
||||
@click="${() => this.closeArrrWalletNotSynced()}"
|
||||
class="red"
|
||||
>
|
||||
${translate("general.close")}
|
||||
</mwc-button>
|
||||
</mwc-dialog>
|
||||
<mwc-dialog id="needCoreUpdate" scrimClickAction="" escapeKeyAction="">
|
||||
<img src="/img/arrr.png" style="width: 32px; height: 32px;">
|
||||
<h3>${translate("settings.arrr3")}</h3>
|
||||
<hr>
|
||||
<h4>${translate("settings.arrr4")}</h4>
|
||||
<mwc-button
|
||||
slot="primaryAction"
|
||||
@click="${() => this.closeNeedCoreUpdate()}"
|
||||
class="red"
|
||||
>
|
||||
${translate("general.close")}
|
||||
</mwc-button>
|
||||
</mwc-dialog>
|
||||
<mwc-dialog id="repairLTCDialog" scrimClickAction="" escapeKeyAction="">
|
||||
<img src="/img/ltc.png" style="width: 32px; height: 32px;">
|
||||
<h3>${translate("nodepage.nchange38")}</h3>
|
||||
<hr>
|
||||
<h4>${translate("nodepage.nchange39")}</h4>
|
||||
<h4>${translate("nodepage.nchange40")}</h4>
|
||||
<mwc-button slot="primaryAction" @click="${() => this.repairLtcWallet()}" class="green">
|
||||
${translate("general.continue")}
|
||||
</mwc-button>
|
||||
<mwc-button slot="secondaryAction" @click="${() => this.closeRepairLTCDialog()}" class="red">
|
||||
${translate("login.lp4")}
|
||||
</mwc-button>
|
||||
</mwc-dialog>
|
||||
<mwc-dialog id="pleaseWaitDialog" scrimClickAction="" escapeKeyAction="">
|
||||
<div class="lds-roller">
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<h2>${translate("nodepage.nchange41")}</h2>
|
||||
</mwc-dialog>
|
||||
<mwc-dialog id="okDialog" scrimClickAction="" escapeKeyAction="">
|
||||
<img src="/img/ltc.png" style="width: 32px; height: 32px;">
|
||||
<h3>${translate("nodepage.nchange38")}</h3>
|
||||
<hr>
|
||||
<h3>${translate("nodepage.nchange42")}</h3>
|
||||
</mwc-dialog>
|
||||
<mwc-dialog id="errorDialog" scrimClickAction="" escapeKeyAction="">
|
||||
<img src="/img/ltc.png" style="width: 32px; height: 32px;">
|
||||
<h3>${translate("nodepage.nchange38")}</h3>
|
||||
<hr>
|
||||
<h3>${translate("nodepage.nchange43")}</h3>
|
||||
</mwc-dialog>
|
||||
`
|
||||
}
|
||||
|
||||
.content-box {
|
||||
text-align: center;
|
||||
display: inline-block;
|
||||
min-width: 400px;
|
||||
margin-bottom: 10px;
|
||||
margin-left: 10px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
async firstUpdated() {
|
||||
addTradeBotRoutes(parentEpml)
|
||||
parentEpml.imReady()
|
||||
|
||||
.export-button {
|
||||
display: inline-flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-content: center;
|
||||
border: none;
|
||||
border-radius: 20px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
color: white;
|
||||
background: #03a9f4;
|
||||
width: 75%;
|
||||
font-size: 16px;
|
||||
cursor: pointer;
|
||||
height: 40px;
|
||||
margin-top: 1rem;
|
||||
text-transform: uppercase;
|
||||
text-decoration: none;
|
||||
transition: all .2s;
|
||||
position: relative;
|
||||
}
|
||||
await this.fetchArrrWalletAddress()
|
||||
await this.checkArrrWalletPrivateKey()
|
||||
}
|
||||
|
||||
.red {
|
||||
--mdc-theme-primary: #F44336;
|
||||
}
|
||||
async fetchArrrWalletAddress() {
|
||||
let resAD = await parentEpml.request('apiCall', {
|
||||
url: `/crosschain/arrr/walletaddress?apiKey=${this.getApiKey()}`,
|
||||
method: 'POST',
|
||||
body: `${store.getState().app.selectedAddress.arrrWallet.seed58}`
|
||||
})
|
||||
|
||||
.green {
|
||||
--mdc-theme-primary: #198754;
|
||||
}
|
||||
if (resAD != null && resAD.error != 1201) {
|
||||
this.arrrWALLET = ''
|
||||
this.enableArrr = true
|
||||
this.arrrWALLET = resAD
|
||||
} else {
|
||||
this.arrrWALLET = ''
|
||||
this.enableArrr = false
|
||||
this.shadowRoot.querySelector('#arrrWalletNotSynced').show()
|
||||
}
|
||||
}
|
||||
|
||||
.button-row {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
align-content: center;
|
||||
font-family: Montserrat, sans-serif;
|
||||
font-weight: 600;
|
||||
color: var(--black);
|
||||
margin-top: 20px;
|
||||
}
|
||||
async checkArrrWalletPrivateKey() {
|
||||
const myNode = store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
const nodeUrl = myNode.protocol + '://' + myNode.domain + ':' + myNode.port
|
||||
const privateKeyUrl = `${nodeUrl}/crosschain/arrr/walletprivatekey?apiKey=${this.getApiKey()}`
|
||||
|
||||
.repair-button {
|
||||
height: 40px;
|
||||
padding: 10px 10px;
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
background-color: #03a9f4;
|
||||
color: white;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 20px;
|
||||
text-decoration: none;
|
||||
text-transform: uppercase;
|
||||
cursor: pointer;
|
||||
}
|
||||
await fetch(privateKeyUrl, {
|
||||
method: 'POST',
|
||||
body: `${store.getState().app.selectedAddress.arrrWallet.seed58}`
|
||||
}).then(res => {
|
||||
if (res.status === 404) {
|
||||
this.arrrPMK = ''
|
||||
this.enableArrr = false
|
||||
this.shadowRoot.querySelector('#needCoreUpdate').show()
|
||||
} else {
|
||||
this.fetchArrrWalletPrivateKey()
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
.repair-button:hover {
|
||||
opacity: 0.8;
|
||||
cursor: pointer;
|
||||
}
|
||||
async fetchArrrWalletPrivateKey() {
|
||||
let resPK = await parentEpml.request('apiCall', {
|
||||
url: `/crosschain/arrr/walletprivatekey?apiKey=${this.getApiKey()}`,
|
||||
method: 'POST',
|
||||
body: `${store.getState().app.selectedAddress.arrrWallet.seed58}`
|
||||
})
|
||||
|
||||
.lds-roller {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
}
|
||||
if (resPK != null && resPK.error != 1201) {
|
||||
this.arrrPMK = ''
|
||||
this.enableArrr = true
|
||||
this.arrrPMK = resPK
|
||||
} else {
|
||||
this.arrrPMK = ''
|
||||
this.enableArrr = false
|
||||
this.shadowRoot.querySelector('#arrrWalletNotSynced').show()
|
||||
}
|
||||
}
|
||||
|
||||
.lds-roller div {
|
||||
animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
|
||||
transform-origin: 40px 40px;
|
||||
}
|
||||
closeArrrWalletNotSynced() {
|
||||
this.shadowRoot.querySelector('#arrrWalletNotSynced').close()
|
||||
}
|
||||
|
||||
.lds-roller div:after {
|
||||
content: " ";
|
||||
display: block;
|
||||
position: absolute;
|
||||
width: 7px;
|
||||
height: 7px;
|
||||
border-radius: 50%;
|
||||
background: var(--black);
|
||||
margin: -4px 0 0 -4px;
|
||||
}
|
||||
closeNeedCoreUpdate() {
|
||||
this.arrrPMK = ''
|
||||
this.enableArrr = false
|
||||
this.shadowRoot.querySelector('#needCoreUpdate').close()
|
||||
}
|
||||
|
||||
.lds-roller div:nth-child(1) {
|
||||
animation-delay: -0.036s;
|
||||
}
|
||||
closeSavePkmDialog() {
|
||||
this.shadowRoot.querySelector('#savePkmDialog').close()
|
||||
}
|
||||
|
||||
.lds-roller div:nth-child(1):after {
|
||||
top: 63px;
|
||||
left: 63px;
|
||||
}
|
||||
openRepairLTCDialog() {
|
||||
this.shadowRoot.querySelector('#repairLTCDialog').show()
|
||||
}
|
||||
|
||||
.lds-roller div:nth-child(2) {
|
||||
animation-delay: -0.072s;
|
||||
}
|
||||
closeRepairLTCDialog() {
|
||||
this.shadowRoot.querySelector('#repairLTCDialog').close()
|
||||
}
|
||||
|
||||
.lds-roller div:nth-child(2):after {
|
||||
top: 68px;
|
||||
left: 56px;
|
||||
}
|
||||
async repairLtcWallet() {
|
||||
this.shadowRoot.querySelector('#repairLTCDialog').close()
|
||||
this.shadowRoot.querySelector('#pleaseWaitDialog').show()
|
||||
|
||||
.lds-roller div:nth-child(3) {
|
||||
animation-delay: -0.108s;
|
||||
}
|
||||
let resRepair = await parentEpml.request('apiCall', {
|
||||
url: `/crosschain/ltc/repair?apiKey=${this.getApiKey()}`,
|
||||
method: 'POST',
|
||||
body: `${store.getState().app.selectedAddress.ltcWallet.derivedMasterPrivateKey}`
|
||||
})
|
||||
|
||||
.lds-roller div:nth-child(3):after {
|
||||
top: 71px;
|
||||
left: 48px;
|
||||
}
|
||||
if (resRepair != null && resRepair.error != 128) {
|
||||
this.shadowRoot.querySelector('#pleaseWaitDialog').close()
|
||||
|
||||
.lds-roller div:nth-child(4) {
|
||||
animation-delay: -0.144s;
|
||||
}
|
||||
await this.openOkDialog()
|
||||
} else {
|
||||
this.shadowRoot.querySelector('#pleaseWaitDialog').close()
|
||||
|
||||
.lds-roller div:nth-child(4):after {
|
||||
top: 72px;
|
||||
left: 40px;
|
||||
}
|
||||
await this.openErrorDialog()
|
||||
}
|
||||
}
|
||||
|
||||
.lds-roller div:nth-child(5) {
|
||||
animation-delay: -0.18s;
|
||||
}
|
||||
async openOkDialog() {
|
||||
const okDelay = ms => new Promise(res => setTimeout(res, ms))
|
||||
|
||||
.lds-roller div:nth-child(5):after {
|
||||
top: 71px;
|
||||
left: 32px;
|
||||
}
|
||||
this.shadowRoot.querySelector('#okDialog').show()
|
||||
|
||||
.lds-roller div:nth-child(6) {
|
||||
animation-delay: -0.216s;
|
||||
}
|
||||
await okDelay(3000)
|
||||
|
||||
.lds-roller div:nth-child(6):after {
|
||||
top: 68px;
|
||||
left: 24px;
|
||||
}
|
||||
this.shadowRoot.querySelector('#okDialog').close()
|
||||
}
|
||||
|
||||
.lds-roller div:nth-child(7) {
|
||||
animation-delay: -0.252s;
|
||||
}
|
||||
async openErrorDialog() {
|
||||
const errorDelay = ms => new Promise(res => setTimeout(res, ms))
|
||||
|
||||
.lds-roller div:nth-child(7):after {
|
||||
top: 63px;
|
||||
left: 17px;
|
||||
}
|
||||
this.shadowRoot.querySelector('#errorDialog').show()
|
||||
|
||||
.lds-roller div:nth-child(8) {
|
||||
animation-delay: -0.288s;
|
||||
}
|
||||
await errorDelay(3000)
|
||||
|
||||
.lds-roller div:nth-child(8):after {
|
||||
top: 56px;
|
||||
left: 12px;
|
||||
}
|
||||
this.shadowRoot.querySelector('#errorDialog').close()
|
||||
}
|
||||
|
||||
@keyframes lds-roller {
|
||||
0% {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
`
|
||||
}
|
||||
checkForPmkDownload(wAddress, wPkm, wName, wShort) {
|
||||
this.dWalletAddress = ''
|
||||
this.dPrivateKey = ''
|
||||
this.dCoinName = ''
|
||||
this.dCoinShort = ''
|
||||
this.dWalletAddress = wAddress
|
||||
this.dPrivateKey = wPkm
|
||||
this.dCoinName = wName
|
||||
this.dCoinShort = wShort
|
||||
this.shadowRoot.querySelector('#savePkmDialog').show()
|
||||
}
|
||||
|
||||
constructor() {
|
||||
super()
|
||||
this.theme = localStorage.getItem('qortalTheme') ? localStorage.getItem('qortalTheme') : 'light'
|
||||
this.backupErrorMessage = ''
|
||||
this.btcPMK = store.getState().app.selectedAddress.btcWallet.derivedMasterPrivateKey
|
||||
this.btcWALLET = store.getState().app.selectedAddress.btcWallet.address
|
||||
this.btcName = 'Bitcoin'
|
||||
this.btcShort = 'btc'
|
||||
this.ltcPMK = store.getState().app.selectedAddress.ltcWallet.derivedMasterPrivateKey
|
||||
this.ltcWALLET = store.getState().app.selectedAddress.ltcWallet.address
|
||||
this.ltcName = 'Litecoin'
|
||||
this.ltcShort = 'ltc'
|
||||
this.dogePMK = store.getState().app.selectedAddress.dogeWallet.derivedMasterPrivateKey
|
||||
this.dogeWALLET = store.getState().app.selectedAddress.dogeWallet.address
|
||||
this.dogeName = 'Dogecoin'
|
||||
this.dogeShort = 'doge'
|
||||
this.dgbPMK = store.getState().app.selectedAddress.dgbWallet.derivedMasterPrivateKey
|
||||
this.dgbWALLET = store.getState().app.selectedAddress.dgbWallet.address
|
||||
this.dgbName = 'Digibyte'
|
||||
this.dgbShort = 'dgb'
|
||||
this.rvnPMK = store.getState().app.selectedAddress.rvnWallet.derivedMasterPrivateKey
|
||||
this.rvnWALLET = store.getState().app.selectedAddress.rvnWallet.address
|
||||
this.rvnName = 'Ravencoin'
|
||||
this.rvnShort = 'rvn'
|
||||
this.arrrPMK = ''
|
||||
this.arrrWALLET = ''
|
||||
this.arrrName = 'Pirate Chain'
|
||||
this.arrrShort = 'arrr'
|
||||
this.enableArrr = false
|
||||
this.dWalletAddress = ''
|
||||
this.dPrivateKey = ''
|
||||
this.dCoinName = ''
|
||||
this.dCoinShort = 'btc'
|
||||
}
|
||||
async exportKey(cMasterKey, cName, cAddress) {
|
||||
let exportname = ''
|
||||
|
||||
render() {
|
||||
return html`
|
||||
<div style="position: relative;">
|
||||
<div class="center-box">
|
||||
<p>
|
||||
${translate("settings.exp4")}
|
||||
</p>
|
||||
</div>
|
||||
<div class="sub-main">
|
||||
<div class="center-box">
|
||||
<div class="content-box">
|
||||
<div style="display: flex; align-items: center; justify-content: center;">
|
||||
<img src="/img/btc.png" style="width: 32px; height: 32px;"> ${this.btcWALLET}<br>
|
||||
</div>
|
||||
<div @click=${() => this.checkForPmkDownload(this.btcWALLET, this.btcPMK, this.btcName, this.btcShort)} class="export-button"> ${translate("settings.exp2")} </div>
|
||||
</div>
|
||||
<div class="content-box">
|
||||
<div style="display: flex; align-items: center; justify-content: center;">
|
||||
<img src="/img/ltc.png" style="width: 32px; height: 32px;"> ${this.ltcWALLET}<br>
|
||||
</div>
|
||||
<div @click=${() => this.checkForPmkDownload(this.ltcWALLET, this.ltcPMK, this.ltcName, this.ltcShort)} class="export-button"> ${translate("settings.exp2")} </div>
|
||||
</div>
|
||||
<div class="content-box">
|
||||
<div style="display: flex; align-items: center; justify-content: center;">
|
||||
<img src="/img/doge.png" style="width: 32px; height: 32px;"> ${this.dogeWALLET}<br>
|
||||
</div>
|
||||
<div @click=${() => this.checkForPmkDownload(this.dogeWALLET, this.dogePMK, this.dogeName, this.dogeShort)} class="export-button"> ${translate("settings.exp2")} </div>
|
||||
</div>
|
||||
<div class="content-box">
|
||||
<div style="display: flex; align-items: center; justify-content: center;">
|
||||
<img src="/img/dgb.png" style="width: 32px; height: 32px;"> ${this.dgbWALLET}<br>
|
||||
</div>
|
||||
<div @click=${() => this.checkForPmkDownload(this.dgbWALLET, this.dgbPMK, this.dgbName, this.dgbShort)} class="export-button"> ${translate("settings.exp2")} </div>
|
||||
</div>
|
||||
<div class="content-box">
|
||||
<div style="display: flex; align-items: center; justify-content: center;">
|
||||
<img src="/img/rvn.png" style="width: 32px; height: 32px;"> ${this.rvnWALLET}<br>
|
||||
</div>
|
||||
<div @click=${() => this.checkForPmkDownload(this.rvnWALLET, this.rvnPMK, this.rvnName, this.rvnShort)} class="export-button"> ${translate("settings.exp2")} </div>
|
||||
</div>
|
||||
<div class="content-box" style="display:${this.enableArrr ? 'block' : 'none'}">
|
||||
<div style="display: flex; align-items: center; justify-content: center;">
|
||||
<img src="/img/arrr.png" style="width: 32px; height: 32px;"> ${this.arrrWALLET}<br>
|
||||
</div>
|
||||
<div @click=${() => this.checkForPmkDownload(this.arrrWALLET, this.arrrPMK, this.arrrName, this.arrrShort)} class="export-button"> ${translate("settings.exp2")} </div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr style="margin-top: 20px;">
|
||||
<div class="button-row">
|
||||
<button class="repair-button" title="${translate('nodepage.nchange38')}" @click="${() => this.openRepairLTCDialog()}">${translate("nodepage.nchange38")}</button>
|
||||
</div>
|
||||
</div>
|
||||
<mwc-dialog id="savePkmDialog" scrimClickAction="" escapeKeyAction="">
|
||||
<img src="/img/${this.dCoinShort}.png" style="width: 32px; height: 32px;">
|
||||
<h3>${this.dCoinName} ${translate("settings.exp2")}</h3>
|
||||
<hr>
|
||||
<h4>${translate("settings.address")}: ${this.dWalletAddress}</h4>
|
||||
<mwc-button
|
||||
slot="primaryAction"
|
||||
@click="${() => this.closeSavePkmDialog()}"
|
||||
class="red"
|
||||
>
|
||||
${translate("general.close")}
|
||||
</mwc-button>
|
||||
<mwc-button
|
||||
slot="secondaryAction"
|
||||
@click="${() => this.exportKey(this.dPrivateKey, this.dCoinName, this.dWalletAddress)}"
|
||||
>
|
||||
${translate("settings.exp3")}
|
||||
</mwc-button>
|
||||
</mwc-dialog>
|
||||
<mwc-dialog id="arrrWalletNotSynced" scrimClickAction="" escapeKeyAction="">
|
||||
<img src="/img/arrr.png" style="width: 32px; height: 32px;">
|
||||
<h3>${translate("settings.arrr1")}</h3>
|
||||
<hr>
|
||||
<h4>${translate("settings.arrr2")}</h4>
|
||||
<mwc-button
|
||||
slot="primaryAction"
|
||||
@click="${() => this.closeArrrWalletNotSynced()}"
|
||||
class="red"
|
||||
>
|
||||
${translate("general.close")}
|
||||
</mwc-button>
|
||||
</mwc-dialog>
|
||||
<mwc-dialog id="needCoreUpdate" scrimClickAction="" escapeKeyAction="">
|
||||
<img src="/img/arrr.png" style="width: 32px; height: 32px;">
|
||||
<h3>${translate("settings.arrr3")}</h3>
|
||||
<hr>
|
||||
<h4>${translate("settings.arrr4")}</h4>
|
||||
<mwc-button
|
||||
slot="primaryAction"
|
||||
@click="${() => this.closeNeedCoreUpdate()}"
|
||||
class="red"
|
||||
>
|
||||
${translate("general.close")}
|
||||
</mwc-button>
|
||||
</mwc-dialog>
|
||||
<mwc-dialog id="repairLTCDialog" scrimClickAction="" escapeKeyAction="">
|
||||
<img src="/img/ltc.png" style="width: 32px; height: 32px;">
|
||||
<h3>${translate("nodepage.nchange38")}</h3>
|
||||
<hr>
|
||||
<h4>${translate("nodepage.nchange39")}</h4>
|
||||
<h4>${translate("nodepage.nchange40")}</h4>
|
||||
<mwc-button slot="primaryAction" @click="${() => this.repairLtcWallet()}" class="green">
|
||||
${translate("general.continue")}
|
||||
</mwc-button>
|
||||
<mwc-button slot="secondaryAction" @click="${() => this.closeRepairLTCDialog()}" class="red">
|
||||
${translate("login.lp4")}
|
||||
</mwc-button>
|
||||
</mwc-dialog>
|
||||
<mwc-dialog id="pleaseWaitDialog" scrimClickAction="" escapeKeyAction="">
|
||||
<div class="lds-roller"><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div>
|
||||
<h2>${translate("nodepage.nchange41")}</h2>
|
||||
</mwc-dialog>
|
||||
<mwc-dialog id="okDialog" scrimClickAction="" escapeKeyAction="">
|
||||
<img src="/img/ltc.png" style="width: 32px; height: 32px;">
|
||||
<h3>${translate("nodepage.nchange38")}</h3>
|
||||
<hr>
|
||||
<h3>${translate("nodepage.nchange42")}</h3>
|
||||
</mwc-dialog>
|
||||
<mwc-dialog id="errorDialog" scrimClickAction="" escapeKeyAction="">
|
||||
<img src="/img/ltc.png" style="width: 32px; height: 32px;">
|
||||
<h3>${translate("nodepage.nchange38")}</h3>
|
||||
<hr>
|
||||
<h3>${translate("nodepage.nchange43")}</h3>
|
||||
</mwc-dialog>
|
||||
`
|
||||
}
|
||||
const myPrivateMasterKey = cMasterKey
|
||||
const myCoinName = cName
|
||||
const myCoinAddress = cAddress
|
||||
const blob = new Blob([`${myPrivateMasterKey}`], { type: 'text/plain;charset=utf-8' })
|
||||
|
||||
async firstUpdated() {
|
||||
addTradeBotRoutes(parentEpml)
|
||||
parentEpml.imReady()
|
||||
await this.fetchArrrWalletAddress()
|
||||
this.checkArrrWalletPrivateKey()
|
||||
}
|
||||
exportname = 'Private_Master_Key_' + myCoinName + '_' + myCoinAddress + '.txt'
|
||||
|
||||
async fetchArrrWalletAddress() {
|
||||
let resAD = await parentEpml.request('apiCall', {
|
||||
url: `/crosschain/arrr/walletaddress?apiKey=${this.getApiKey()}`,
|
||||
method: 'POST',
|
||||
body: `${store.getState().app.selectedAddress.arrrWallet.seed58}`
|
||||
})
|
||||
await this.saveFileToDisk(blob, exportname)
|
||||
}
|
||||
|
||||
if (resAD != null && resAD.error != 1201) {
|
||||
this.arrrWALLET = ''
|
||||
this.enableArrr = true
|
||||
this.arrrWALLET = resAD
|
||||
} else {
|
||||
this.arrrWALLET = ''
|
||||
this.enableArrr = false
|
||||
this.shadowRoot.querySelector('#arrrWalletNotSynced').show()
|
||||
}
|
||||
}
|
||||
async saveFileToDisk(blob, fileName) {
|
||||
try {
|
||||
const fileHandle = await self.showSaveFilePicker({
|
||||
suggestedName: fileName,
|
||||
types: [{
|
||||
description: "File"
|
||||
}]
|
||||
})
|
||||
|
||||
async checkArrrWalletPrivateKey() {
|
||||
const myNode = store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
const nodeUrl = myNode.protocol + '://' + myNode.domain + ':' + myNode.port
|
||||
const privateKeyUrl = `${nodeUrl}/crosschain/arrr/walletprivatekey?apiKey=${this.getApiKey()}`
|
||||
const writeFile = async (fileHandle, contents) => {
|
||||
const writable = await fileHandle.createWritable()
|
||||
|
||||
await fetch(privateKeyUrl, {
|
||||
method: 'POST',
|
||||
body: `${store.getState().app.selectedAddress.arrrWallet.seed58}`
|
||||
}).then(res => {
|
||||
if (res.status === 404) {
|
||||
this.arrrPMK = ''
|
||||
this.enableArrr = false
|
||||
this.shadowRoot.querySelector('#needCoreUpdate').show()
|
||||
} else {
|
||||
this.fetchArrrWalletPrivateKey()
|
||||
}
|
||||
})
|
||||
}
|
||||
await writable.write(contents)
|
||||
await writable.close()
|
||||
}
|
||||
|
||||
async fetchArrrWalletPrivateKey() {
|
||||
let resPK = await parentEpml.request('apiCall', {
|
||||
url: `/crosschain/arrr/walletprivatekey?apiKey=${this.getApiKey()}`,
|
||||
method: 'POST',
|
||||
body: `${store.getState().app.selectedAddress.arrrWallet.seed58}`
|
||||
})
|
||||
writeFile(fileHandle, blob).then(() => console.log("FILE SAVED"))
|
||||
|
||||
if (resPK != null && resPK.error != 1201) {
|
||||
this.arrrPMK = ''
|
||||
this.enableArrr = true
|
||||
this.arrrPMK = resPK
|
||||
} else {
|
||||
this.arrrPMK = ''
|
||||
this.enableArrr = false
|
||||
this.shadowRoot.querySelector('#arrrWalletNotSynced').show()
|
||||
}
|
||||
}
|
||||
let snack4string = get("general.save")
|
||||
|
||||
closeArrrWalletNotSynced() {
|
||||
this.shadowRoot.querySelector('#arrrWalletNotSynced').close()
|
||||
}
|
||||
snackbar.add({
|
||||
labelText: `${snack4string} ${fileName} ✅`,
|
||||
dismiss: true
|
||||
})
|
||||
} catch (error) {
|
||||
if (error.name === 'AbortError') {
|
||||
return
|
||||
}
|
||||
|
||||
closeNeedCoreUpdate() {
|
||||
this.arrrPMK = ''
|
||||
this.enableArrr = false
|
||||
this.shadowRoot.querySelector('#needCoreUpdate').close()
|
||||
}
|
||||
FileSaver.saveAs(blob, fileName)
|
||||
}
|
||||
}
|
||||
|
||||
closeSavePkmDialog() {
|
||||
this.shadowRoot.querySelector('#savePkmDialog').close()
|
||||
}
|
||||
|
||||
openRepairLTCDialog() {
|
||||
this.shadowRoot.querySelector('#repairLTCDialog').show()
|
||||
}
|
||||
|
||||
closeRepairLTCDialog() {
|
||||
this.shadowRoot.querySelector('#repairLTCDialog').close()
|
||||
}
|
||||
|
||||
async repairLtcWallet() {
|
||||
this.shadowRoot.querySelector('#repairLTCDialog').close()
|
||||
this.shadowRoot.querySelector('#pleaseWaitDialog').show()
|
||||
let resRepair = await parentEpml.request('apiCall', {
|
||||
url: `/crosschain/ltc/repair?apiKey=${this.getApiKey()}`,
|
||||
method: 'POST',
|
||||
body: `${store.getState().app.selectedAddress.ltcWallet.derivedMasterPrivateKey}`
|
||||
})
|
||||
|
||||
if (resRepair != null && resRepair.error != 128) {
|
||||
this.shadowRoot.querySelector('#pleaseWaitDialog').close()
|
||||
this.openOkDialog()
|
||||
} else {
|
||||
this.shadowRoot.querySelector('#pleaseWaitDialog').close()
|
||||
this.openErrorDialog()
|
||||
}
|
||||
}
|
||||
|
||||
async openOkDialog() {
|
||||
const okDelay = ms => new Promise(res => setTimeout(res, ms))
|
||||
this.shadowRoot.querySelector('#okDialog').show()
|
||||
await okDelay(3000)
|
||||
this.shadowRoot.querySelector('#okDialog').close()
|
||||
}
|
||||
|
||||
async openErrorDialog() {
|
||||
const errorDelay = ms => new Promise(res => setTimeout(res, ms))
|
||||
this.shadowRoot.querySelector('#errorDialog').show()
|
||||
await errorDelay(3000)
|
||||
this.shadowRoot.querySelector('#errorDialog').close()
|
||||
}
|
||||
|
||||
checkForPmkDownload(wAddress, wPkm, wName, wShort) {
|
||||
this.dWalletAddress = ''
|
||||
this.dPrivateKey = ''
|
||||
this.dCoinName = ''
|
||||
this.dCoinShort = ''
|
||||
this.dWalletAddress = wAddress
|
||||
this.dPrivateKey = wPkm
|
||||
this.dCoinName = wName
|
||||
this.dCoinShort = wShort
|
||||
this.shadowRoot.querySelector('#savePkmDialog').show()
|
||||
}
|
||||
|
||||
async exportKey(cMasterKey, cName, cAddress) {
|
||||
let exportname = ""
|
||||
const myPrivateMasterKey = cMasterKey
|
||||
const myCoinName = cName
|
||||
const myCoinAddress = cAddress
|
||||
const blob = new Blob([`${myPrivateMasterKey}`], { type: 'text/plain;charset=utf-8' })
|
||||
exportname = "Private_Master_Key_" + myCoinName + "_" + myCoinAddress + ".txt"
|
||||
this.saveFileToDisk(blob, exportname)
|
||||
}
|
||||
|
||||
async saveFileToDisk(blob, fileName) {
|
||||
try {
|
||||
const fileHandle = await self.showSaveFilePicker({
|
||||
suggestedName: fileName,
|
||||
types: [{
|
||||
description: "File",
|
||||
}]
|
||||
})
|
||||
const writeFile = async (fileHandle, contents) => {
|
||||
const writable = await fileHandle.createWritable()
|
||||
await writable.write(contents)
|
||||
await writable.close()
|
||||
}
|
||||
writeFile(fileHandle, blob).then(() => console.log("FILE SAVED"))
|
||||
let snack4string = get("general.save")
|
||||
snackbar.add({
|
||||
labelText: `${snack4string} ${fileName} ✅`,
|
||||
dismiss: true
|
||||
})
|
||||
} catch (error) {
|
||||
if (error.name === 'AbortError') {
|
||||
return
|
||||
}
|
||||
FileSaver.saveAs(blob, fileName)
|
||||
}
|
||||
}
|
||||
|
||||
getApiKey() {
|
||||
const apiNode = store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
let apiKey = apiNode.apiKey
|
||||
return apiKey
|
||||
}
|
||||
getApiKey() {
|
||||
const apiNode = store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node]
|
||||
return apiNode.apiKey
|
||||
}
|
||||
}
|
||||
|
||||
window.customElements.define('export-keys', ExportKeys)
|
||||
window.customElements.define('export-keys', ExportKeys)
|
@ -1,249 +1,160 @@
|
||||
import {css, html, LitElement} from 'lit'
|
||||
import {connect} from 'pwa-helpers'
|
||||
import {store} from '../../store.js'
|
||||
import {doSetQChatNotificationConfig} from '../../redux/user/user-actions.js'
|
||||
import {translate} from '../../../translate/index.js'
|
||||
import { html, LitElement } from 'lit'
|
||||
import { connect } from 'pwa-helpers'
|
||||
import { store } from '../../store'
|
||||
import { allowShowSyncIndicator, removeShowSyncIndicator } from '../../redux/app/app-actions'
|
||||
import { doSetQChatNotificationConfig } from '../../redux/user/user-actions'
|
||||
import { notificationsViewStyles } from '../../styles/core-css'
|
||||
import isElectron from 'is-electron'
|
||||
|
||||
import '@material/mwc-checkbox'
|
||||
|
||||
// Multi language support
|
||||
import { translate } from '../../../translate'
|
||||
|
||||
class NotificationsView extends connect(store)(LitElement) {
|
||||
static get properties() {
|
||||
return {
|
||||
notificationConfig: { type: Object },
|
||||
q_chatConfig: { type: Object },
|
||||
blockConfig: { type: Object },
|
||||
theme: { type: String, reflect: true },
|
||||
appNotificationList: {type: Array}
|
||||
}
|
||||
}
|
||||
static get properties() {
|
||||
return {
|
||||
notificationConfig: { type: Object },
|
||||
q_chatConfig: { type: Object },
|
||||
theme: { type: String, reflect: true },
|
||||
appNotificationList: { type: Array }
|
||||
}
|
||||
}
|
||||
|
||||
constructor() {
|
||||
super()
|
||||
this.notificationConfig = {}
|
||||
this.q_chatConfig = {}
|
||||
this.blockConfig = {}
|
||||
this.theme = localStorage.getItem('qortalTheme') ? localStorage.getItem('qortalTheme') : 'light'
|
||||
this.appNotificationList = [] // Fetch the list of apps from local storage
|
||||
}
|
||||
static get styles() {
|
||||
return [notificationsViewStyles]
|
||||
}
|
||||
|
||||
firstUpdated(){
|
||||
this.appNotificationList = this.getAppsFromStorage();
|
||||
}
|
||||
constructor() {
|
||||
super()
|
||||
this.notificationConfig = {}
|
||||
this.q_chatConfig = {}
|
||||
this.theme = localStorage.getItem('qortalTheme') ? localStorage.getItem('qortalTheme') : 'light'
|
||||
this.appNotificationList = []
|
||||
}
|
||||
|
||||
static get styles() {
|
||||
return css`
|
||||
.sub-main {
|
||||
position: relative;
|
||||
text-align: center;
|
||||
}
|
||||
firstUpdated() {
|
||||
this.appNotificationList = this.getAppsFromStorage()
|
||||
}
|
||||
|
||||
.notification-box {
|
||||
display: block;
|
||||
position: relative;
|
||||
top: 45%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, 0%);
|
||||
text-align: center;
|
||||
}
|
||||
render() {
|
||||
return html`
|
||||
<div class="sub-main">
|
||||
<div class="notification-box">
|
||||
<div class="content-box">
|
||||
<h4>Q-Chat ${translate("settings.notifications")}</h4>
|
||||
<div style="line-height: 3rem;">
|
||||
<mwc-checkbox id="qChatPlaySound" @click=${e => this.setQChatNotificationConfig({ type: 'PLAY_SOUND', value: e.target.checked })} ?checked=${this.q_chatConfig.playSound}></mwc-checkbox>
|
||||
<label
|
||||
for="qChatPlaySound"
|
||||
@click=${() => this.shadowRoot.getElementById('qChatPlaySound').click()}
|
||||
>
|
||||
${translate("settings.playsound")}
|
||||
</label>
|
||||
</div>
|
||||
<div style="line-height: 3rem;">
|
||||
<mwc-checkbox id="qChatShowNotification" @click=${e => this.setQChatNotificationConfig({ type: 'SHOW_NOTIFICATION', value: e.target.checked })} ?checked=${this.q_chatConfig.showNotification}></mwc-checkbox>
|
||||
<label
|
||||
for="qChatShowNotification"
|
||||
@click=${() => this.shadowRoot.getElementById('qChatShowNotification').click()}
|
||||
>
|
||||
${translate("settings.shownotifications")}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="content-box">
|
||||
<h4>${translate("settings.qappNotification1")}</h4>
|
||||
${this.appNotificationList.map((app) => html`
|
||||
<div style="display: flex; justify-content: space-between; margin-top: 10px;">
|
||||
${app}
|
||||
<button class="remove-button" @click=${() => this.removeApp(app)}>Remove</button>
|
||||
</div>
|
||||
`)}
|
||||
</div>
|
||||
</div>
|
||||
<div class="checkbox-row">
|
||||
<label for="syncIndicator" id="syncIndicatorLabel" style="color: var(--black);">
|
||||
${translate("settings.sync_indicator")}
|
||||
</label>
|
||||
<mwc-checkbox style="margin-right: -15px;" id="syncIndicator" @click=${(e) => this.checkForSyncMessages(e)} ?checked=${store.getState().app.showSyncIndicator}></mwc-checkbox>
|
||||
</div>
|
||||
${this.renderSetCoreButton()}
|
||||
</div>
|
||||
`
|
||||
}
|
||||
|
||||
@media(min-width: 1400px) {
|
||||
.notification-box {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
grid-gap: 30px;
|
||||
}
|
||||
}
|
||||
getAppsFromStorage() {
|
||||
const address = store.getState().app.selectedAddress.address
|
||||
const id = `appNotificationList-${address}`
|
||||
const data = localStorage.getItem(id)
|
||||
|
||||
.content-box {
|
||||
border: 1px solid #a1a1a1;
|
||||
padding: 10px 25px;
|
||||
text-align: left;
|
||||
display: inline-block;
|
||||
min-width: 350px;
|
||||
min-height: 150px;
|
||||
margin: 20px 0;
|
||||
}
|
||||
return data ? Object.keys(JSON.parse(data)) : []
|
||||
}
|
||||
|
||||
h4 {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
removeApp(appName) {
|
||||
// Remove the app from local storage
|
||||
this.removeAppFromStorage(appName)
|
||||
|
||||
mwc-checkbox::shadow .mdc-checkbox::after, mwc-checkbox::shadow .mdc-checkbox::before {
|
||||
background-color:var(--mdc-theme-primary)
|
||||
}
|
||||
// Update the apps list in the component
|
||||
this.appNotificationList = this.appNotificationList.filter(app => app !== appName)
|
||||
}
|
||||
|
||||
label:hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
removeAppFromStorage(appName) {
|
||||
// Your method to remove the app from local storage
|
||||
const address = store.getState().app.selectedAddress.address
|
||||
const id = `appNotificationList-${address}`
|
||||
const data = JSON.parse(localStorage.getItem(id) || '{}')
|
||||
|
||||
.title {
|
||||
font-weight: 600;
|
||||
font-size: 15px;
|
||||
display: block;
|
||||
line-height: 32px;
|
||||
opacity: 0.66;
|
||||
}
|
||||
delete data[appName]
|
||||
|
||||
.value {
|
||||
font-size: 16px;
|
||||
display: inline-block;
|
||||
}
|
||||
localStorage.setItem(id, JSON.stringify(data));
|
||||
}
|
||||
|
||||
.q-button {
|
||||
display: inline-flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-content: center;
|
||||
border: none;
|
||||
border-radius: 20px;
|
||||
padding-left: 25px;
|
||||
padding-right: 25px;
|
||||
color: white;
|
||||
background: #03a9f4;
|
||||
width: 50%;
|
||||
font-size: 17px;
|
||||
cursor: pointer;
|
||||
height: 50px;
|
||||
margin-top: 1rem;
|
||||
text-transform: uppercase;
|
||||
text-decoration: none;
|
||||
transition: all .2s;
|
||||
position: relative;
|
||||
}
|
||||
renderSetCoreButton() {
|
||||
if (!isElectron()) {
|
||||
return html``
|
||||
} else {
|
||||
return html`
|
||||
<div style="max-width: 500px; display: flex; justify-content: center; margin: auto;">
|
||||
<div @click=${() => this.checkCoreSettings()} class="q-button">${translate("settings.core")}</div>
|
||||
</div>
|
||||
`
|
||||
}
|
||||
}
|
||||
|
||||
.remove-button {
|
||||
font-family: Roboto, sans-serif;
|
||||
font-size: 16px;
|
||||
color: var(--mdc-theme-primary);
|
||||
background-color: transparent;
|
||||
padding: 8px 10px;
|
||||
border-radius: 5px;
|
||||
border: none;
|
||||
transition: all 0.3s ease-in-out;
|
||||
cursor: pointer;
|
||||
}
|
||||
`
|
||||
}
|
||||
checkCoreSettings() {
|
||||
window.electronAPI.setStartCore()
|
||||
}
|
||||
|
||||
render() {
|
||||
return html`
|
||||
<div class="sub-main">
|
||||
<div class="notification-box">
|
||||
<div class="content-box">
|
||||
<h4> Q-Chat ${translate("settings.notifications")} </h4>
|
||||
checkForSyncMessages(e) {
|
||||
if (e.target.checked) {
|
||||
store.dispatch(removeShowSyncIndicator(false))
|
||||
} else {
|
||||
store.dispatch(allowShowSyncIndicator(true))
|
||||
}
|
||||
}
|
||||
|
||||
<div style="line-height: 3rem;">
|
||||
<mwc-checkbox id="qChatPlaySound" @click=${e => this.setQChatNotificationConfig({ type: 'PLAY_SOUND', value: e.target.checked })} ?checked=${this.q_chatConfig.playSound}></mwc-checkbox>
|
||||
<label
|
||||
for="qChatPlaySound"
|
||||
@click=${() => this.shadowRoot.getElementById('qChatPlaySound').click()}
|
||||
>${translate("settings.playsound")}</label>
|
||||
</div>
|
||||
stateChanged(state) {
|
||||
this.notificationConfig = state.user.notifications
|
||||
this.q_chatConfig = this.notificationConfig.q_chat
|
||||
}
|
||||
|
||||
<div style="line-height: 3rem;">
|
||||
<mwc-checkbox id="qChatShowNotification" @click=${e => this.setQChatNotificationConfig({ type: 'SHOW_NOTIFICATION', value: e.target.checked })} ?checked=${this.q_chatConfig.showNotification}></mwc-checkbox>
|
||||
<label
|
||||
for="qChatShowNotification"
|
||||
@click=${() => this.shadowRoot.getElementById('qChatShowNotification').click()}
|
||||
>${translate("settings.shownotifications")}</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="content-box">
|
||||
<h4> ${translate("settings.block")} </h4>
|
||||
|
||||
<div style="line-height: 3rem;">
|
||||
<mwc-checkbox indeterminate disabled id="blockPlaySound"></mwc-checkbox>
|
||||
<label for="blockPlaySound">${translate("settings.playsound")}</label>
|
||||
</div>
|
||||
|
||||
<div style="line-height: 3rem;">
|
||||
<mwc-checkbox indeterminate disabled id="blockShowNotification"></mwc-checkbox>
|
||||
<label for="blockShowNotification">${translate("settings.shownotifications")}</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="content-box">
|
||||
<h4>${translate("settings.qappNotification1")}</h4>
|
||||
${this.appNotificationList.map((app)=> html`
|
||||
<div style="display: flex; justify-content: space-between; margin-top: 10px;">
|
||||
${app}
|
||||
<button class="remove-button" @click=${() => this.removeApp(app)}>Remove</button>
|
||||
</div>
|
||||
`)}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
${this.renderSetCoreButton()}
|
||||
</div>
|
||||
`
|
||||
}
|
||||
|
||||
getAppsFromStorage() {
|
||||
// Your method to fetch the list of apps from local storage
|
||||
// Example:
|
||||
const address= store.getState().app.selectedAddress.address
|
||||
const id = `appNotificationList-${address}`;
|
||||
const data = localStorage.getItem(id);
|
||||
return data ? Object.keys(JSON.parse(data)) : [];
|
||||
}
|
||||
|
||||
removeApp(appName) {
|
||||
// Remove the app from local storage
|
||||
this.removeAppFromStorage(appName);
|
||||
// Update the apps list in the component
|
||||
this.appNotificationList = this.appNotificationList.filter(app => app !== appName);
|
||||
}
|
||||
|
||||
removeAppFromStorage(appName) {
|
||||
// Your method to remove the app from local storage
|
||||
const address= store.getState().app.selectedAddress.address
|
||||
const id = `appNotificationList-${address}`;
|
||||
const data = JSON.parse(localStorage.getItem(id) || '{}');
|
||||
delete data[appName];
|
||||
localStorage.setItem(id, JSON.stringify(data));
|
||||
}
|
||||
|
||||
renderSetCoreButton() {
|
||||
if (!isElectron()) {
|
||||
return html``
|
||||
} else {
|
||||
return html`
|
||||
<div style="max-width: 500px; display: flex; justify-content: center; margin: auto;">
|
||||
<div @click=${() => this.checkCoreSettings()} class="q-button"> ${translate("settings.core")} </div>
|
||||
</div>
|
||||
`
|
||||
}
|
||||
}
|
||||
|
||||
checkCoreSettings() {
|
||||
window.electronAPI.setStartCore()
|
||||
}
|
||||
|
||||
stateChanged(state) {
|
||||
this.notificationConfig = state.user.notifications
|
||||
this.q_chatConfig = this.notificationConfig.q_chat
|
||||
this.blockConfig = this.notificationConfig.block
|
||||
}
|
||||
|
||||
setQChatNotificationConfig(valueObject) {
|
||||
if (valueObject.type === 'PLAY_SOUND') {
|
||||
let data = {
|
||||
playSound: !valueObject.value,
|
||||
showNotification: this.q_chatConfig.showNotification
|
||||
}
|
||||
store.dispatch(doSetQChatNotificationConfig(data))
|
||||
} if (valueObject.type === 'SHOW_NOTIFICATION') {
|
||||
|
||||
let data = {
|
||||
playSound: this.q_chatConfig.playSound,
|
||||
showNotification: !valueObject.value
|
||||
}
|
||||
store.dispatch(doSetQChatNotificationConfig(data))
|
||||
}
|
||||
}
|
||||
setQChatNotificationConfig(valueObject) {
|
||||
if (valueObject.type === 'PLAY_SOUND') {
|
||||
let data = {
|
||||
playSound: !valueObject.value,
|
||||
showNotification: this.q_chatConfig.showNotification
|
||||
}
|
||||
|
||||
store.dispatch(doSetQChatNotificationConfig(data))
|
||||
} if (valueObject.type === 'SHOW_NOTIFICATION') {
|
||||
let data = {
|
||||
playSound: this.q_chatConfig.playSound,
|
||||
showNotification: !valueObject.value
|
||||
}
|
||||
|
||||
store.dispatch(doSetQChatNotificationConfig(data))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
window.customElements.define('notifications-view', NotificationsView)
|
||||
window.customElements.define('notifications-view', NotificationsView)
|
@ -1,140 +1,91 @@
|
||||
import {css, html, LitElement} from 'lit'
|
||||
import {connect} from 'pwa-helpers'
|
||||
import {store} from '../../store.js'
|
||||
import {translate} from '../../../translate/index.js'
|
||||
|
||||
import '@material/mwc-textfield'
|
||||
import { html, LitElement } from 'lit'
|
||||
import { connect } from 'pwa-helpers'
|
||||
import { store } from '../../store'
|
||||
import { qrLoginViewStyles } from '../../styles/core-css'
|
||||
import '../../../../plugins/plugins/core/components/QortalQrcodeGenerator'
|
||||
import '@material/mwc-icon'
|
||||
import '@material/mwc-textfield'
|
||||
import '@vaadin/password-field/vaadin-password-field.js'
|
||||
import '../../../../plugins/plugins/core/components/QortalQrcodeGenerator.js'
|
||||
|
||||
// Multi language support
|
||||
import { translate } from '../../../translate'
|
||||
|
||||
class QRLoginView extends connect(store)(LitElement) {
|
||||
static get properties() {
|
||||
return {
|
||||
theme: { type: String, reflect: true },
|
||||
savedWalletDataJson: { type: String },
|
||||
translateDescriptionKey: { type: String }, // Description text
|
||||
translateButtonKey: { type: String }, // Button text
|
||||
}
|
||||
}
|
||||
static get properties() {
|
||||
return {
|
||||
theme: { type: String, reflect: true },
|
||||
savedWalletDataJson: { type: String },
|
||||
translateDescriptionKey: { type: String },
|
||||
translateButtonKey: { type: String }
|
||||
}
|
||||
}
|
||||
|
||||
static get styles() {
|
||||
return css`
|
||||
* {
|
||||
--lumo-primary-text-color: rgb(0, 167, 245);
|
||||
--lumo-primary-color-50pct: rgba(0, 167, 245, 0.5);
|
||||
--lumo-primary-color-10pct: rgba(0, 167, 245, 0.1);
|
||||
--lumo-primary-color: hsl(199, 100%, 48%);
|
||||
--lumo-base-color: var(--white);
|
||||
--lumo-body-text-color: var(--black);
|
||||
--lumo-secondary-text-color: var(--sectxt);
|
||||
--lumo-contrast-60pct: var(--vdicon);
|
||||
}
|
||||
static get styles() {
|
||||
return [qrLoginViewStyles]
|
||||
}
|
||||
|
||||
.center-box {
|
||||
position: relative;
|
||||
top: 45%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, 0%);
|
||||
text-align: center;
|
||||
}
|
||||
constructor() {
|
||||
super()
|
||||
this.theme = localStorage.getItem('qortalTheme') ? localStorage.getItem('qortalTheme') : 'light'
|
||||
this.translateDescriptionKey = 'settings.qr_login_description_' + (this.isWalletStored() ? '1' : '2')
|
||||
this.translateButtonKey = 'settings.qr_login_button_' + (this.isWalletStored() ? '1' : '2')
|
||||
}
|
||||
|
||||
.q-button {
|
||||
display: inline-flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-content: center;
|
||||
border: none;
|
||||
border-radius: 20px;
|
||||
padding-left: 25px;
|
||||
padding-right: 25px;
|
||||
color: white;
|
||||
background: #03a9f4;
|
||||
width: 50%;
|
||||
font-size: 17px;
|
||||
cursor: pointer;
|
||||
height: 50px;
|
||||
margin-top: 1rem;
|
||||
text-transform: uppercase;
|
||||
text-decoration: none;
|
||||
transition: all .2s;
|
||||
position: relative;
|
||||
}
|
||||
render() {
|
||||
return html`
|
||||
<div style="position: relative;" >
|
||||
<div class="center-box">
|
||||
<p>
|
||||
${translate(this.translateDescriptionKey)}
|
||||
</p>
|
||||
<div style="max-width: 500px; justify-content: center; margin: auto; display: ${this.isWalletStored() ? 'none' : 'flex'}">
|
||||
<mwc-icon style="padding: 10px; padding-left:0; padding-top: 42px;">password</mwc-icon>
|
||||
<vaadin-password-field id="newWalletPassword" style="width: 100%; color: var(--black);" label="${translate("settings.password")}" autofocus></vaadin-password-field>
|
||||
</div>
|
||||
<div style="max-width: 600px; display: flex; justify-content: center; margin: auto;">
|
||||
<div id="qr-toggle-button" @click=${() => this.showQRCode()} class="q-button outlined"> ${translate(this.translateButtonKey)} </div>
|
||||
</div>
|
||||
<div id="login-qr-code" style="display: none;">
|
||||
<qortal-qrcode-generator id="login-qr-code" data="${this.savedWalletDataJson}" mode="octet" format="html" auto></qortal-qrcode-generator>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`
|
||||
}
|
||||
|
||||
.q-button.outlined {
|
||||
background: unset;
|
||||
border: 1px solid #03a9f4;
|
||||
}
|
||||
isWalletStored() {
|
||||
const state = store.getState()
|
||||
const address0 = state.app.wallet._addresses[0].address
|
||||
const savedWalletData = state.user.storedWallets && state.user.storedWallets[address0]
|
||||
|
||||
:host([theme="light"]) .q-button.outlined {
|
||||
color: #03a9f4;
|
||||
}
|
||||
return !!savedWalletData
|
||||
}
|
||||
|
||||
#qr-toggle-button {
|
||||
margin-left: 12px;
|
||||
}
|
||||
async setSavedWalletDataJson() {
|
||||
const state = store.getState()
|
||||
|
||||
#login-qr-code {
|
||||
margin: auto;
|
||||
}
|
||||
`
|
||||
}
|
||||
let data
|
||||
|
||||
constructor() {
|
||||
super()
|
||||
this.theme = localStorage.getItem('qortalTheme') ? localStorage.getItem('qortalTheme') : 'light'
|
||||
this.translateDescriptionKey = 'settings.qr_login_description_' + (this.isWalletStored() ? '1' : '2')
|
||||
this.translateButtonKey = 'settings.qr_login_button_' + (this.isWalletStored() ? '1' : '2')
|
||||
}
|
||||
if (this.isWalletStored()) {
|
||||
const address0 = state.app.wallet._addresses[0].address
|
||||
|
||||
render() {
|
||||
return html`
|
||||
<div style="position: relative;" >
|
||||
<div class="center-box">
|
||||
<p>
|
||||
${translate(this.translateDescriptionKey)}
|
||||
</p>
|
||||
<div style="max-width: 500px; justify-content: center; margin: auto; display: ${this.isWalletStored() ? 'none' : 'flex' }">
|
||||
<mwc-icon style="padding: 10px; padding-left:0; padding-top: 42px;">password</mwc-icon>
|
||||
<vaadin-password-field id="newWalletPassword" style="width: 100%; color: var(--black);" label="${translate("settings.password")}" autofocus></vaadin-password-field>
|
||||
</div>
|
||||
<div style="max-width: 600px; display: flex; justify-content: center; margin: auto;">
|
||||
<div id="qr-toggle-button" @click=${() => this.showQRCode()} class="q-button outlined"> ${translate(this.translateButtonKey)} </div>
|
||||
</div>
|
||||
data = state.user.storedWallets[address0]
|
||||
} else {
|
||||
const password = this.shadowRoot.getElementById('newWalletPassword').value
|
||||
|
||||
<div id="login-qr-code" style="display: none;">
|
||||
<qortal-qrcode-generator id="login-qr-code" data="${this.savedWalletDataJson}" mode="octet" format="html" auto></qortal-qrcode-generator>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`
|
||||
}
|
||||
data = await state.app.wallet.generateSaveWalletData(password, state.config.crypto.kdfThreads, () => { })
|
||||
}
|
||||
|
||||
isWalletStored() {
|
||||
const state = store.getState()
|
||||
const address0 = state.app.wallet._addresses[0].address
|
||||
const savedWalletData = state.user.storedWallets && state.user.storedWallets[address0]
|
||||
return !!savedWalletData
|
||||
}
|
||||
this.savedWalletDataJson = JSON.stringify(data)
|
||||
}
|
||||
|
||||
async setSavedWalletDataJson() {
|
||||
const state = store.getState()
|
||||
let data
|
||||
if (this.isWalletStored()) { // if the wallet is stored, we use the existing encrypted backup
|
||||
const address0 = state.app.wallet._addresses[0].address
|
||||
data = state.user.storedWallets[address0]
|
||||
} else { // if the wallet is not stored, we generate new `saveWalletData` backup encrypted with the new password
|
||||
const password = this.shadowRoot.getElementById('newWalletPassword').value
|
||||
data = await state.app.wallet.generateSaveWalletData(password, state.config.crypto.kdfThreads, () => { })
|
||||
}
|
||||
this.savedWalletDataJson = JSON.stringify(data)
|
||||
}
|
||||
async showQRCode() {
|
||||
await this.setSavedWalletDataJson()
|
||||
|
||||
async showQRCode() {
|
||||
await this.setSavedWalletDataJson()
|
||||
let el = this.shadowRoot.getElementById('login-qr-code')
|
||||
el.style.display = 'flex'
|
||||
}
|
||||
let el = this.shadowRoot.getElementById('login-qr-code')
|
||||
|
||||
el.style.display = 'flex'
|
||||
}
|
||||
}
|
||||
|
||||
window.customElements.define('qr-login-view', QRLoginView)
|
||||
window.customElements.define('qr-login-view', QRLoginView)
|
@ -1,6 +1,6 @@
|
||||
import {css, html, LitElement} from 'lit'
|
||||
import {connect} from 'pwa-helpers'
|
||||
import {store} from '../../store.js'
|
||||
import { html, LitElement } from 'lit'
|
||||
import { connect } from 'pwa-helpers'
|
||||
import { store } from '../../store'
|
||||
import {
|
||||
allowQAPPAutoAuth,
|
||||
allowQAPPAutoFriendsList,
|
||||
@ -8,262 +8,227 @@ import {
|
||||
removeQAPPAutoAuth,
|
||||
removeQAPPAutoFriendsList,
|
||||
removeQAPPAutoLists,
|
||||
setIsOpenDevDialog
|
||||
} from '../../redux/app/app-actions.js'
|
||||
import {get, translate} from '../../../translate/index.js'
|
||||
import snackbar from '../../functional-components/snackbar.js'
|
||||
setIsOpenDevDialog,
|
||||
allowQAPPAutoBalance,
|
||||
removeQAPPAutoBalance,
|
||||
allowQAPPAutoTransactions,
|
||||
removeQAPPAutoTransactions
|
||||
} from '../../redux/app/app-actions'
|
||||
import { securityViewStyles } from '../../styles/core-css'
|
||||
import FileSaver from 'file-saver'
|
||||
|
||||
import snackbar from '../../functional-components/snackbar'
|
||||
import '@material/mwc-checkbox'
|
||||
import '@material/mwc-textfield'
|
||||
import '@material/mwc-icon'
|
||||
import '@material/mwc-textfield'
|
||||
import '@vaadin/password-field/vaadin-password-field.js'
|
||||
|
||||
// Multi language support
|
||||
import { get, translate } from '../../../translate'
|
||||
|
||||
class SecurityView extends connect(store)(LitElement) {
|
||||
static get properties() {
|
||||
return {
|
||||
theme: { type: String, reflect: true },
|
||||
backupErrorMessage: { type: String },
|
||||
closeSettings: {attribute: false}
|
||||
}
|
||||
}
|
||||
static get properties() {
|
||||
return {
|
||||
theme: { type: String, reflect: true },
|
||||
backupErrorMessage: { type: String },
|
||||
closeSettings: { attribute: false }
|
||||
}
|
||||
}
|
||||
|
||||
static get styles() {
|
||||
return css`
|
||||
* {
|
||||
--lumo-primary-text-color: rgb(0, 167, 245);
|
||||
--lumo-primary-color-50pct: rgba(0, 167, 245, 0.5);
|
||||
--lumo-primary-color-10pct: rgba(0, 167, 245, 0.1);
|
||||
--lumo-primary-color: hsl(199, 100%, 48%);
|
||||
--lumo-base-color: var(--white);
|
||||
--lumo-body-text-color: var(--black);
|
||||
--lumo-secondary-text-color: var(--sectxt);
|
||||
--lumo-contrast-60pct: var(--vdicon);
|
||||
--mdc-checkbox-unchecked-color: var(--black);
|
||||
--mdc-theme-on-surface: var(--black);
|
||||
--mdc-checkbox-disabled-color: var(--black);
|
||||
--mdc-checkbox-ink-color: var(--black);
|
||||
}
|
||||
static get styles() {
|
||||
return [securityViewStyles]
|
||||
}
|
||||
|
||||
.center-box {
|
||||
position: relative;
|
||||
top: 45%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, 0%);
|
||||
text-align: center;
|
||||
}
|
||||
constructor() {
|
||||
super()
|
||||
this.theme = localStorage.getItem('qortalTheme') ? localStorage.getItem('qortalTheme') : 'light'
|
||||
this.backupErrorMessage = ''
|
||||
}
|
||||
|
||||
.checkbox-row {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
align-content: center;
|
||||
font-family: Montserrat, sans-serif;
|
||||
font-weight: 600;
|
||||
color: var(--black);
|
||||
}
|
||||
render() {
|
||||
return html`
|
||||
<div style="position: relative;" >
|
||||
<div class="center-box">
|
||||
<p>
|
||||
${translate("settings.choose")}
|
||||
</p>
|
||||
<div style="max-width: 500px; display: flex; justify-content: center; margin: auto;">
|
||||
<mwc-icon style="padding: 10px; padding-left:0; padding-top: 42px;">password</mwc-icon>
|
||||
<vaadin-password-field
|
||||
style="width: 100%; color: var(--black);"
|
||||
label="${translate("settings.password")}"
|
||||
id="downloadBackupPassword"
|
||||
helper-text="${translate("login.passwordhint")}"
|
||||
autofocus
|
||||
></vaadin-password-field>
|
||||
</div>
|
||||
<div style="max-width: 500px; display: flex; justify-content: center; margin: auto;">
|
||||
<mwc-icon style="padding: 10px; padding-left:0; padding-top: 42px;">password</mwc-icon>
|
||||
<vaadin-password-field
|
||||
style="width: 100%; color: var(--black);"
|
||||
label="${translate("login.confirmpass")}"
|
||||
id="rePassword"
|
||||
></vaadin-password-field>
|
||||
</div>
|
||||
<div style="text-align: center; color: var(--mdc-theme-error); text-transform: uppercase; font-size: 15px;">
|
||||
${this.backupErrorMessage}
|
||||
</div>
|
||||
<div style="max-width: 500px; display: flex; justify-content: center; margin: auto;">
|
||||
<div @click=${() => this.checkForDownload()} class="q-button"> ${translate("settings.download")} </div>
|
||||
</div>
|
||||
</div>
|
||||
<hr style="margin-top: 20px;">
|
||||
<div class="checkbox-row">
|
||||
<label for="authButton" id="authButtonLabel" style="color: var(--black);">
|
||||
${get('browserpage.bchange26')}
|
||||
</label>
|
||||
<mwc-checkbox style="margin-right: -15px;" id="authButton" @click=${(e) => this.checkForAuth(e)} ?checked=${store.getState().app.qAPPAutoAuth}></mwc-checkbox>
|
||||
</div>
|
||||
<div class="checkbox-row">
|
||||
<label for="balanceButton" id="balanceButtonLabel" style="color: var(--black);">
|
||||
${get('modals.mpchange86')}
|
||||
</label>
|
||||
<mwc-checkbox style="margin-right: -15px;" id="balanceButton" @click=${(e) => this.checkForBalance(e)} ?checked=${store.getState().app.qAPPAutoBalance}></mwc-checkbox>
|
||||
</div>
|
||||
<div class="checkbox-row">
|
||||
<label for="transactionsButton" id="transactionsButtonLabel" style="color: var(--black);">
|
||||
Always allow wallet txs to be retrieved automatically
|
||||
</label>
|
||||
<mwc-checkbox style="margin-right: -15px;" id="transactionsButton" @click=${(e) => this.checkForTransactions(e)} ?checked=${store.getState().app.qAPPAutoTransactions}></mwc-checkbox>
|
||||
</div>
|
||||
<div class="checkbox-row">
|
||||
<label for="authButton" id="authButtonLabel" style="color: var(--black);">
|
||||
${get('browserpage.bchange39')}
|
||||
</label>
|
||||
<mwc-checkbox style="margin-right: -15px;" id="authButton" @click=${(e) => this.checkForLists(e)} ?checked=${store.getState().app.qAPPAutoLists}></mwc-checkbox>
|
||||
</div>
|
||||
<div class="checkbox-row">
|
||||
<label for="authButton" id="authButtonLabel" style="color: var(--black);">
|
||||
${get('browserpage.bchange53')}
|
||||
</label>
|
||||
<mwc-checkbox style="margin-right: -15px;" id="authButton" @click=${(e) => this.checkForFriends(e)} ?checked=${store.getState().app.qAPPFriendsList}></mwc-checkbox>
|
||||
</div>
|
||||
<div class="checkbox-row">
|
||||
<button class="add-dev-button" title="${translate('tabmenu.tm18')}" @click=${this.openDevDialog}>
|
||||
${translate('tabmenu.tm38')}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
`
|
||||
}
|
||||
|
||||
.q-button {
|
||||
display: inline-flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-content: center;
|
||||
border: none;
|
||||
border-radius: 20px;
|
||||
padding-left: 25px;
|
||||
padding-right: 25px;
|
||||
color: white;
|
||||
background: #03a9f4;
|
||||
width: 50%;
|
||||
font-size: 17px;
|
||||
cursor: pointer;
|
||||
height: 50px;
|
||||
margin-top: 1rem;
|
||||
text-transform: uppercase;
|
||||
text-decoration: none;
|
||||
transition: all .2s;
|
||||
position: relative;
|
||||
}
|
||||
checkForAuth(e) {
|
||||
if (e.target.checked) {
|
||||
store.dispatch(removeQAPPAutoAuth(false))
|
||||
} else {
|
||||
store.dispatch(allowQAPPAutoAuth(true))
|
||||
}
|
||||
}
|
||||
|
||||
.add-dev-button {
|
||||
margin-top: 4px;
|
||||
max-height: 28px;
|
||||
padding: 5px 5px;
|
||||
font-size: 14px;
|
||||
background-color: #03a9f4;
|
||||
color: white;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 3px;
|
||||
cursor: pointer;
|
||||
}
|
||||
checkForBalance(e) {
|
||||
if (e.target.checked) {
|
||||
store.dispatch(removeQAPPAutoBalance(false))
|
||||
} else {
|
||||
store.dispatch(allowQAPPAutoBalance(true))
|
||||
}
|
||||
}
|
||||
|
||||
.add-dev-button:hover {
|
||||
opacity: 0.8;
|
||||
cursor: pointer;
|
||||
}
|
||||
`
|
||||
}
|
||||
checkForTransactions(e) {
|
||||
if (e.target.checked) {
|
||||
store.dispatch(removeQAPPAutoTransactions(false))
|
||||
} else {
|
||||
store.dispatch(allowQAPPAutoTransactions(true))
|
||||
}
|
||||
}
|
||||
|
||||
constructor() {
|
||||
super()
|
||||
this.theme = localStorage.getItem('qortalTheme') ? localStorage.getItem('qortalTheme') : 'light'
|
||||
this.backupErrorMessage = ''
|
||||
}
|
||||
checkForLists(e) {
|
||||
if (e.target.checked) {
|
||||
store.dispatch(removeQAPPAutoLists(false))
|
||||
} else {
|
||||
store.dispatch(allowQAPPAutoLists(true))
|
||||
}
|
||||
}
|
||||
|
||||
render() {
|
||||
return html`
|
||||
<div style="position: relative;" >
|
||||
<div class="center-box">
|
||||
<p>
|
||||
${translate("settings.choose")}
|
||||
</p>
|
||||
<div style="max-width: 500px; display: flex; justify-content: center; margin: auto;">
|
||||
<mwc-icon style="padding: 10px; padding-left:0; padding-top: 42px;">password</mwc-icon>
|
||||
<vaadin-password-field
|
||||
style="width: 100%; color: var(--black);"
|
||||
label="${translate("settings.password")}"
|
||||
id="downloadBackupPassword"
|
||||
helper-text="${translate("login.passwordhint")}"
|
||||
autofocus
|
||||
>
|
||||
</vaadin-password-field>
|
||||
</div>
|
||||
<div style="max-width: 500px; display: flex; justify-content: center; margin: auto;">
|
||||
<mwc-icon style="padding: 10px; padding-left:0; padding-top: 42px;">password</mwc-icon>
|
||||
<vaadin-password-field
|
||||
style="width: 100%; color: var(--black);"
|
||||
label="${translate("login.confirmpass")}"
|
||||
id="rePassword"
|
||||
>
|
||||
</vaadin-password-field>
|
||||
</div>
|
||||
<div style="text-align: center; color: var(--mdc-theme-error); text-transform: uppercase; font-size: 15px;">
|
||||
${this.backupErrorMessage}
|
||||
</div>
|
||||
<div style="max-width: 500px; display: flex; justify-content: center; margin: auto;">
|
||||
<div @click=${() => this.checkForDownload()} class="q-button"> ${translate("settings.download")} </div>
|
||||
</div>
|
||||
</div>
|
||||
<hr style="margin-top: 20px;">
|
||||
<div class="checkbox-row">
|
||||
<label for="authButton" id="authButtonLabel" style="color: var(--black);">
|
||||
${get('browserpage.bchange26')}
|
||||
</label>
|
||||
<mwc-checkbox style="margin-right: -15px;" id="authButton" @click=${(e) => this.checkForAuth(e)} ?checked=${store.getState().app.qAPPAutoAuth}></mwc-checkbox>
|
||||
</div>
|
||||
<div class="checkbox-row">
|
||||
<label for="authButton" id="authButtonLabel" style="color: var(--black);">
|
||||
${get('browserpage.bchange39')}
|
||||
</label>
|
||||
<mwc-checkbox style="margin-right: -15px;" id="authButton" @click=${(e) => this.checkForLists(e)} ?checked=${store.getState().app.qAPPAutoLists}></mwc-checkbox>
|
||||
</div>
|
||||
<div class="checkbox-row">
|
||||
<label for="authButton" id="authButtonLabel" style="color: var(--black);">
|
||||
${get('browserpage.bchange53')}
|
||||
</label>
|
||||
<mwc-checkbox style="margin-right: -15px;" id="authButton" @click=${(e) => this.checkForFriends(e)} ?checked=${store.getState().app.qAPPFriendsList}></mwc-checkbox>
|
||||
</div>
|
||||
<div class="checkbox-row">
|
||||
<button
|
||||
class="add-dev-button"
|
||||
title="${translate('tabmenu.tm18')}"
|
||||
@click=${this.openDevDialog}
|
||||
>${translate('tabmenu.tm38')}</button>
|
||||
</div>
|
||||
checkForFriends(e) {
|
||||
if (e.target.checked) {
|
||||
store.dispatch(removeQAPPAutoFriendsList(false))
|
||||
} else {
|
||||
store.dispatch(allowQAPPAutoFriendsList(true))
|
||||
}
|
||||
}
|
||||
|
||||
</div>
|
||||
`
|
||||
}
|
||||
checkForDownload() {
|
||||
const checkPass = this.shadowRoot.getElementById('downloadBackupPassword').value
|
||||
const rePass = this.shadowRoot.getElementById('rePassword').value
|
||||
|
||||
stateChanged(state) {
|
||||
}
|
||||
if (checkPass === '') {
|
||||
this.backupErrorMessage = get("login.pleaseenter")
|
||||
} else if (checkPass.length < 5) {
|
||||
this.backupErrorMessage = get("login.lessthen8-2")
|
||||
} else if (checkPass != rePass) {
|
||||
this.backupErrorMessage = get("login.notmatch")
|
||||
} else {
|
||||
this.downloadBackup()
|
||||
}
|
||||
}
|
||||
|
||||
checkForAuth(e) {
|
||||
if (e.target.checked) {
|
||||
store.dispatch(removeQAPPAutoAuth(false))
|
||||
} else {
|
||||
store.dispatch(allowQAPPAutoAuth(true))
|
||||
}
|
||||
}
|
||||
openDevDialog() {
|
||||
this.closeSettings()
|
||||
store.dispatch(setIsOpenDevDialog(true))
|
||||
}
|
||||
|
||||
checkForLists(e) {
|
||||
if (e.target.checked) {
|
||||
store.dispatch(removeQAPPAutoLists(false))
|
||||
} else {
|
||||
store.dispatch(allowQAPPAutoLists(true))
|
||||
}
|
||||
}
|
||||
async downloadBackup() {
|
||||
let backupname = ''
|
||||
|
||||
checkForFriends(e) {
|
||||
if (e.target.checked) {
|
||||
store.dispatch(removeQAPPAutoFriendsList(false))
|
||||
} else {
|
||||
store.dispatch(allowQAPPAutoFriendsList(true))
|
||||
}
|
||||
}
|
||||
this.backupErrorMessage = ''
|
||||
|
||||
checkForDownload() {
|
||||
const checkPass = this.shadowRoot.getElementById('downloadBackupPassword').value
|
||||
const rePass = this.shadowRoot.getElementById('rePassword').value
|
||||
const state = store.getState()
|
||||
const password = this.shadowRoot.getElementById('downloadBackupPassword').value
|
||||
const data = await state.app.wallet.generateSaveWalletData(password, state.config.crypto.kdfThreads, () => { })
|
||||
const dataString = JSON.stringify(data)
|
||||
const blob = new Blob([dataString], { type: 'text/plain;charset=utf-8' })
|
||||
|
||||
if (checkPass === '') {
|
||||
this.backupErrorMessage = get("login.pleaseenter")
|
||||
} else if (checkPass.length < 5) {
|
||||
this.backupErrorMessage = get("login.lessthen8-2")
|
||||
} else if (checkPass != rePass) {
|
||||
this.backupErrorMessage = get("login.notmatch")
|
||||
} else {
|
||||
this.downloadBackup()
|
||||
}
|
||||
}
|
||||
backupname = 'qortal_backup_' + state.app.selectedAddress.address + '.json'
|
||||
|
||||
openDevDialog() {
|
||||
this.closeSettings()
|
||||
store.dispatch(setIsOpenDevDialog(true))
|
||||
}
|
||||
await this.saveFileToDisk(blob, backupname)
|
||||
}
|
||||
|
||||
async downloadBackup() {
|
||||
let backupname = ''
|
||||
this.backupErrorMessage = ''
|
||||
const state = store.getState()
|
||||
const password = this.shadowRoot.getElementById('downloadBackupPassword').value
|
||||
const data = await state.app.wallet.generateSaveWalletData(password, state.config.crypto.kdfThreads, () => { })
|
||||
const dataString = JSON.stringify(data)
|
||||
const blob = new Blob([dataString], { type: 'text/plain;charset=utf-8' })
|
||||
backupname = "qortal_backup_" + state.app.selectedAddress.address + ".json"
|
||||
this.saveFileToDisk(blob, backupname)
|
||||
}
|
||||
async saveFileToDisk(blob, fileName) {
|
||||
try {
|
||||
const fileHandle = await self.showSaveFilePicker({
|
||||
suggestedName: fileName,
|
||||
types: [{
|
||||
description: "File"
|
||||
}]
|
||||
})
|
||||
|
||||
async saveFileToDisk(blob, fileName) {
|
||||
try {
|
||||
const fileHandle = await self.showSaveFilePicker({
|
||||
suggestedName: fileName,
|
||||
types: [{
|
||||
description: "File",
|
||||
}]
|
||||
})
|
||||
const writeFile = async (fileHandle, contents) => {
|
||||
const writable = await fileHandle.createWritable()
|
||||
await writable.write(contents)
|
||||
await writable.close()
|
||||
}
|
||||
writeFile(fileHandle, blob).then(() => console.log("FILE SAVED"))
|
||||
let snack4string = get("general.save")
|
||||
snackbar.add({
|
||||
labelText: `${snack4string} ${fileName} ✅`,
|
||||
dismiss: true
|
||||
})
|
||||
this.shadowRoot.getElementById('downloadBackupPassword').value = ''
|
||||
this.shadowRoot.getElementById('rePassword').value = ''
|
||||
} catch (error) {
|
||||
if (error.name === 'AbortError') {
|
||||
return
|
||||
}
|
||||
FileSaver.saveAs(blob, fileName)
|
||||
this.shadowRoot.getElementById('downloadBackupPassword').value = ''
|
||||
this.shadowRoot.getElementById('rePassword').value = ''
|
||||
}
|
||||
}
|
||||
const writeFile = async (fileHandle, contents) => {
|
||||
const writable = await fileHandle.createWritable()
|
||||
|
||||
await writable.write(contents)
|
||||
await writable.close()
|
||||
}
|
||||
|
||||
writeFile(fileHandle, blob).then(() => console.log("FILE SAVED"))
|
||||
|
||||
let snack4string = get("general.save")
|
||||
|
||||
snackbar.add({
|
||||
labelText: `${snack4string} ${fileName} ✅`,
|
||||
dismiss: true
|
||||
})
|
||||
|
||||
this.shadowRoot.getElementById('downloadBackupPassword').value = ''
|
||||
this.shadowRoot.getElementById('rePassword').value = ''
|
||||
} catch (error) {
|
||||
if (error.name === 'AbortError') {
|
||||
return
|
||||
}
|
||||
|
||||
FileSaver.saveAs(blob, fileName)
|
||||
this.shadowRoot.getElementById('downloadBackupPassword').value = ''
|
||||
this.shadowRoot.getElementById('rePassword').value = ''
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
window.customElements.define('security-view', SecurityView)
|
||||
window.customElements.define('security-view', SecurityView)
|
@ -1,309 +1,128 @@
|
||||
import {css, html, LitElement} from 'lit'
|
||||
import {connect} from 'pwa-helpers'
|
||||
import {store} from '../../store.js'
|
||||
import {translate} from '../../../translate/index.js'
|
||||
|
||||
import '@polymer/paper-dialog/paper-dialog.js'
|
||||
import { html, LitElement } from 'lit'
|
||||
import { connect } from 'pwa-helpers'
|
||||
import { store } from '../../store'
|
||||
import { userSettingsStyles } from '../../styles/core-css'
|
||||
import './account-view'
|
||||
import './export-keys'
|
||||
import './notifications-view'
|
||||
import './qr-login-view'
|
||||
import './security-view'
|
||||
import '@material/mwc-button'
|
||||
import '@polymer/paper-dialog/paper-dialog.js'
|
||||
|
||||
import './account-view.js'
|
||||
import './security-view.js'
|
||||
import './notifications-view.js'
|
||||
import './qr-login-view.js'
|
||||
import './export-keys.js'
|
||||
// Multi language support
|
||||
import { translate } from '../../../translate'
|
||||
|
||||
class UserSettings extends connect(store)(LitElement) {
|
||||
static get properties() {
|
||||
return {
|
||||
loggedIn: { type: Boolean },
|
||||
pages: { type: Array },
|
||||
selectedView: { type: Object },
|
||||
theme: { type: String, reflect: true }
|
||||
}
|
||||
}
|
||||
static get properties() {
|
||||
return {
|
||||
loggedIn: { type: Boolean },
|
||||
pages: { type: Array },
|
||||
selectedView: { type: Object },
|
||||
theme: { type: String, reflect: true }
|
||||
}
|
||||
}
|
||||
|
||||
static get styles() {
|
||||
return css`
|
||||
:host {
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
max-width: 100vw;
|
||||
height: 100%;
|
||||
max-height: 100vh;
|
||||
background-color: var(--white);
|
||||
color: var(--black);
|
||||
line-height: 1.6;
|
||||
}
|
||||
static get styles() {
|
||||
return [userSettingsStyles]
|
||||
}
|
||||
|
||||
.decline {
|
||||
--mdc-theme-primary: var(--mdc-theme-error)
|
||||
}
|
||||
constructor() {
|
||||
super()
|
||||
this.selectedView = { id: 'info', name: 'General Account Info' }
|
||||
this.theme = localStorage.getItem('qortalTheme') ? localStorage.getItem('qortalTheme') : 'light'
|
||||
}
|
||||
|
||||
paper-dialog.userSettings {
|
||||
width: 100%;
|
||||
max-width: 100vw;
|
||||
height: 100%;
|
||||
max-height: 100vh;
|
||||
background-color: var(--white);
|
||||
color: var(--black);
|
||||
line-height: 1.6;
|
||||
overflow-y: auto;
|
||||
}
|
||||
render() {
|
||||
return html`
|
||||
<paper-dialog id="userSettingsDialog" class="userSettings" modal>
|
||||
<div class="actions">
|
||||
<h2></h2>
|
||||
<mwc-icon class="close-icon" @click=${() => this.closeSettings()} title="Close Settings" >highlight_off</mwc-icon>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="wrapper">
|
||||
<div class="leftBar" style="display: table; width: 100%;">
|
||||
<div class="slug">Qortal UI ${translate("settings.settings")}</div>
|
||||
<ul>
|
||||
<li @click=${() => this.setSettingsView('info')} ><a class=${this.selectedView.id === 'info' ? 'active' : ''} href="javascript:void(0)">${translate("settings.account")}</a></li>
|
||||
<li @click=${() => this.setSettingsView('security')} ><a class=${this.selectedView.id === 'security' ? 'active' : ''} href="javascript:void(0)">${translate("settings.security")}</a></li>
|
||||
<li @click=${() => this.setSettingsView('export')} ><a class=${this.selectedView.id === 'export' ? 'active' : ''} href="javascript:void(0)">${translate("settings.exp1")}</a></li>
|
||||
<li @click=${() => this.setSettingsView('qr-login')} ><a class=${this.selectedView.id === 'qr-login' ? 'active' : ''} href="javascript:void(0)">${translate("settings.qr_login_menu_item")}</a></li>
|
||||
<li @click=${() => this.setSettingsView('notification')} ><a class=${this.selectedView.id === 'notification' ? 'active' : ''} href="javascript:void(0)">${translate("settings.notifications")}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="mainPage">
|
||||
<h1>${this.renderHeaderViews()}</h1>
|
||||
<hr>
|
||||
${html`${this.renderSettingViews(this.selectedView)}`}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</paper-dialog>
|
||||
`
|
||||
}
|
||||
|
||||
.actions {
|
||||
display:flex;
|
||||
justify-content: space-between;
|
||||
padding: 0 4em;
|
||||
margin: 15px 0 -2px 0;
|
||||
}
|
||||
stateChanged(state) {
|
||||
this.loggedIn = state.app.loggedIn
|
||||
}
|
||||
|
||||
.close-icon {
|
||||
font-size: 36px;
|
||||
}
|
||||
renderSettingViews(selectedView) {
|
||||
if (selectedView.id === 'info') {
|
||||
return html`<account-view></account-view>`
|
||||
} else if (selectedView.id === 'security') {
|
||||
return html`<security-view .closeSettings=${() => this.closeSettings()}></security-view>`
|
||||
} else if (selectedView.id === 'export') {
|
||||
return html`<export-keys></export-keys>`
|
||||
} else if (selectedView.id === 'notification') {
|
||||
return html`<notifications-view></notifications-view>`
|
||||
} else if (selectedView.id === 'qr-login') {
|
||||
return html`<qr-login-view></qr-login-view>`
|
||||
}
|
||||
}
|
||||
|
||||
.close-icon:hover {
|
||||
cursor: pointer;
|
||||
opacity: .6;
|
||||
}
|
||||
renderHeaderViews() {
|
||||
if (this.selectedView.id === 'info') {
|
||||
return html`${translate("settings.generalinfo")}`
|
||||
} else if (this.selectedView.id === 'security') {
|
||||
return html`${translate("settings.accountsecurity")}`
|
||||
} else if (this.selectedView.id === 'export') {
|
||||
return html`${translate("settings.exp1")}`
|
||||
} else if (this.selectedView.id === 'notification') {
|
||||
return html`UI ${translate("settings.notifications")}`
|
||||
} else if (this.selectedView.id === 'qr-login') {
|
||||
return html`${translate("settings.qr_login_menu_item")}`
|
||||
}
|
||||
}
|
||||
|
||||
.buttons {
|
||||
text-align:right;
|
||||
}
|
||||
setSettingsView(pageId) {
|
||||
if (pageId === 'info') {
|
||||
return this.selectedView = { id: 'info', name: 'General Account Info' }
|
||||
} else if (pageId === 'security') {
|
||||
return this.selectedView = { id: 'security', name: 'Account Security' }
|
||||
} else if (pageId === 'export') {
|
||||
return this.selectedView = { id: 'export', name: 'Export Master Keys' }
|
||||
} else if (pageId === 'notification') {
|
||||
return this.selectedView = { id: 'notification', name: 'UI Notifications' }
|
||||
} else if (pageId === 'qr-login') {
|
||||
return this.selectedView = { id: 'qr-login', name: 'QR Login' }
|
||||
}
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: 90vw;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
margin-top: 20px;
|
||||
padding: .6em;
|
||||
}
|
||||
openSettings() {
|
||||
if (this.loggedIn) {
|
||||
this.shadowRoot.getElementById('userSettingsDialog').open()
|
||||
}
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
closeSettings() {
|
||||
this.shadowRoot.getElementById('userSettingsDialog').close()
|
||||
this.cleanUp()
|
||||
}
|
||||
|
||||
.leftBar {
|
||||
background-color: var(--white);
|
||||
color: var(--black);
|
||||
border: 1px solid var(--border);
|
||||
padding: 20px 0 0 0;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.leftBar img {
|
||||
margin: 0 auto;
|
||||
width: 75%;
|
||||
height: 75%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.leftBar .slug {
|
||||
text-align: center;
|
||||
margin-top: 20px;
|
||||
color: var(--black);
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
margin-bottom: 7px;
|
||||
}
|
||||
|
||||
.leftBar ul li {
|
||||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
|
||||
.leftBar ul li:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.leftBar ul li a {
|
||||
color: var(--black);
|
||||
font-size: 16px;
|
||||
font-weight: 400;
|
||||
text-decoration: none;
|
||||
padding: .9em;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.leftBar ul li a i {
|
||||
margin-right: 8px;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.leftBar ul li a:hover {
|
||||
background-color: var(--menuhover);
|
||||
color: #515151;
|
||||
}
|
||||
|
||||
.leftBar ul li:active {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.leftBar ul li a.active {
|
||||
color: #515151;
|
||||
background-color: var(--menuactive);
|
||||
border-left: 2px solid #515151;
|
||||
margin-left: -2px;
|
||||
}
|
||||
|
||||
.mainPage {
|
||||
background-color: var(--white);
|
||||
color: var(--black);
|
||||
border: 1px solid var(--border);
|
||||
padding: 20px 0 10px 0;
|
||||
border-radius: 5px;
|
||||
font-size: 16px;
|
||||
text-align: center;
|
||||
min-height: 460px;
|
||||
height: auto;
|
||||
overflow: auto;
|
||||
|
||||
}
|
||||
|
||||
@media(max-width:700px) {
|
||||
.mainPage {
|
||||
margin-top: 30px;
|
||||
}
|
||||
}
|
||||
|
||||
@media(min-width:765px) {
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.actions {
|
||||
display:flex;
|
||||
justify-content: space-between;
|
||||
padding: 0 4em;
|
||||
margin: 15px 0 -25px 0;
|
||||
}
|
||||
|
||||
.container {
|
||||
padding: 2em;
|
||||
}
|
||||
|
||||
.wrapper {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 3fr;
|
||||
grid-gap: 30px;
|
||||
}
|
||||
|
||||
.wrapper > .mainPage {
|
||||
padding: 2em;
|
||||
}
|
||||
|
||||
.leftBar {
|
||||
text-align: left;
|
||||
max-height: 403px;
|
||||
max-width: 400px;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.mainPage {
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
`
|
||||
}
|
||||
|
||||
constructor() {
|
||||
super()
|
||||
this.selectedView = { id: 'info', name: 'General Account Info' }
|
||||
this.theme = localStorage.getItem('qortalTheme') ? localStorage.getItem('qortalTheme') : 'light'
|
||||
}
|
||||
|
||||
render() {
|
||||
return html`
|
||||
<paper-dialog id="userSettingsDialog" class="userSettings" modal>
|
||||
<div class="actions">
|
||||
<h2></h2>
|
||||
<mwc-icon class="close-icon" @click=${ () => this.closeSettings()} title="Close Settings" >highlight_off</mwc-icon>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="wrapper">
|
||||
<div class="leftBar" style="display: table; width: 100%;">
|
||||
<div class="slug">Qortal UI ${translate("settings.settings")}</div>
|
||||
<ul>
|
||||
<li @click=${ () => this.setSettingsView('info')} ><a class=${this.selectedView.id === 'info' ? 'active' : ''} href="javascript:void(0)">${translate("settings.account")}</a></li>
|
||||
<li @click=${ () => this.setSettingsView('security')} ><a class=${this.selectedView.id === 'security' ? 'active' : ''} href="javascript:void(0)">${translate("settings.security")}</a></li>
|
||||
<li @click=${ () => this.setSettingsView('export')} ><a class=${this.selectedView.id === 'export' ? 'active' : ''} href="javascript:void(0)">${translate("settings.exp1") }</a></li>
|
||||
<li @click=${ () => this.setSettingsView('qr-login')} ><a class=${this.selectedView.id === 'qr-login' ? 'active' : ''} href="javascript:void(0)">${translate("settings.qr_login_menu_item") }</a></li>
|
||||
<li @click=${ () => this.setSettingsView('notification')} ><a class=${this.selectedView.id === 'notification' ? 'active' : ''} href="javascript:void(0)">${translate("settings.notifications")}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="mainPage">
|
||||
<h1>${this.renderHeaderViews()}</h1>
|
||||
<hr>
|
||||
${html`${this.renderSettingViews(this.selectedView)}`}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</paper-dialog>
|
||||
`
|
||||
}
|
||||
|
||||
stateChanged(state) {
|
||||
this.loggedIn = state.app.loggedIn
|
||||
}
|
||||
|
||||
renderSettingViews(selectedView) {
|
||||
if (selectedView.id === 'info') {
|
||||
return html`<account-view></account-view>`
|
||||
} else if (selectedView.id === 'security') {
|
||||
return html`<security-view .closeSettings=${()=> this.closeSettings()}></security-view>`
|
||||
} else if (selectedView.id === 'export') {
|
||||
return html`<export-keys></export-keys>`
|
||||
} else if (selectedView.id === 'notification') {
|
||||
return html`<notifications-view></notifications-view>`
|
||||
} else if (selectedView.id === 'qr-login') {
|
||||
return html`<qr-login-view></qr-login-view>`
|
||||
}
|
||||
}
|
||||
|
||||
renderHeaderViews() {
|
||||
if (this.selectedView.id === 'info') {
|
||||
return html`${translate("settings.generalinfo")}`
|
||||
} else if (this.selectedView.id === 'security') {
|
||||
return html`${translate("settings.accountsecurity")}`
|
||||
} else if (this.selectedView.id === 'export') {
|
||||
return html`${translate("settings.exp1")}`
|
||||
} else if (this.selectedView.id === 'notification') {
|
||||
return html`UI ${translate("settings.notifications")}`
|
||||
} else if (this.selectedView.id === 'qr-login') {
|
||||
return html`${translate("settings.qr_login_menu_item")}`
|
||||
}
|
||||
}
|
||||
|
||||
setSettingsView(pageId) {
|
||||
if (pageId === 'info') {
|
||||
return this.selectedView = { id: 'info', name: 'General Account Info' }
|
||||
} else if (pageId === 'security') {
|
||||
return this.selectedView = { id: 'security', name: 'Account Security' }
|
||||
} else if (pageId === 'export') {
|
||||
return this.selectedView = { id: 'export', name: 'Export Master Keys' }
|
||||
} else if (pageId === 'notification') {
|
||||
return this.selectedView = { id: 'notification', name: 'UI Notifications' }
|
||||
} else if (pageId === 'qr-login') {
|
||||
return this.selectedView = { id: 'qr-login', name: 'QR Login' }
|
||||
}
|
||||
}
|
||||
|
||||
openSettings() {
|
||||
if (this.loggedIn) {
|
||||
this.shadowRoot.getElementById('userSettingsDialog').open()
|
||||
}
|
||||
}
|
||||
|
||||
closeSettings() {
|
||||
this.shadowRoot.getElementById('userSettingsDialog').close()
|
||||
this.cleanUp()
|
||||
}
|
||||
|
||||
cleanUp() {
|
||||
this.selectedView = { id: 'info', name: 'General Account Info' }
|
||||
}
|
||||
cleanUp() {
|
||||
this.selectedView = { id: 'info', name: 'General Account Info' }
|
||||
}
|
||||
}
|
||||
|
||||
window.customElements.define('user-settings', UserSettings)
|
||||
window.customElements.define('user-settings', UserSettings)
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user