fix: wallet create pazzle list layout #37
fix/wallet-create-pazzle-display
into master
@ -0,0 +1,14 @@ |
||||
{ |
||||
"plugins": ["prettier-plugin-svelte"], |
||||
"overrides": [ |
||||
{ |
||||
"files": "*", |
||||
"excludeFiles": ["*.svelte", "*.html", "*.json"], |
||||
"options": { |
||||
"tabWidth": 4 |
||||
} |
||||
}, |
||||
{ "files": "*.svelte", "options": { "parser": "svelte" } } |
||||
], |
||||
"trailingComma": "es5" |
||||
} |
@ -1 +1,2 @@ |
||||
tests |
||||
tests |
||||
local_broker_dev_env_peer_id.rs |
@ -0,0 +1 @@ |
||||
pub const PEER_ID: &str = "FtdzuDYGewfXWdoPuXIPb0wnd0SAg1WoA2B14S7jW3MA"; |
@ -1,3 +1,3 @@ |
||||
fn main() { |
||||
tauri_build::build() |
||||
tauri_build::build() |
||||
} |
||||
|
@ -0,0 +1,37 @@ |
||||
<!-- |
||||
// Copyright (c) 2022-2024 Niko Bonnieure, Par le Peuple, NextGraph.org developers |
||||
// All rights reserved. |
||||
// Licensed under the Apache License, Version 2.0 |
||||
// <LICENSE-APACHE2 or http://www.apache.org/licenses/LICENSE-2.0> |
||||
// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>, |
||||
// at your option. All files in the project carrying such |
||||
// notice may not be copied, modified, or distributed except |
||||
// according to those terms. |
||||
--> |
||||
|
||||
<script lang="ts"> |
||||
|
||||
import { |
||||
} from "../store"; |
||||
|
||||
import { Button, Progressbar, Spinner, Alert } from "flowbite-svelte"; |
||||
|
||||
export let commits; |
||||
|
||||
</script> |
||||
<div class="flex-col"> |
||||
<h2>ListView</h2> |
||||
{#if Array.isArray(commits.history.commits)} |
||||
{#each commits.history.commits as c} |
||||
<div class="flex"> {c[0]} {JSON.stringify(c[1])}</div> |
||||
{/each} |
||||
{/if} |
||||
<div class="flex"> |
||||
HEADS: {#each commits.heads as head} {head} , {/each} |
||||
</div> |
||||
TRIPLES: |
||||
{#each commits.graph as triple} |
||||
<div class="flex"> {triple}</div> |
||||
{/each} |
||||
|
||||
</div> |
@ -0,0 +1,125 @@ |
||||
<!-- |
||||
// Copyright (c) 2022-2024 Niko Bonnieure, Par le Peuple, NextGraph.org developers |
||||
// All rights reserved. |
||||
// Licensed under the Apache License, Version 2.0 |
||||
// <LICENSE-APACHE2 or http://www.apache.org/licenses/LICENSE-2.0> |
||||
// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>, |
||||
// at your option. All files in the project carrying such |
||||
// notice may not be copied, modified, or distributed except |
||||
// according to those terms. |
||||
--> |
||||
|
||||
<script lang="ts"> |
||||
import { onMount, tick, onDestroy } from "svelte"; |
||||
import { |
||||
sparql_query, |
||||
toast_error, |
||||
toast_success, |
||||
reset_toasts, |
||||
display_error, |
||||
} from "../store"; |
||||
import { |
||||
in_memory_discrete, open_viewer, set_viewer, reset_in_memory |
||||
} from "../tab"; |
||||
import{ Sun, RocketLaunch } from "svelte-heros-v2"; |
||||
import { t } from "svelte-i18n"; |
||||
|
||||
import { Table, TableBody, TableBodyCell, TableBodyRow, TableHead, TableHeadCell, Toggle } from 'flowbite-svelte'; |
||||
|
||||
import CodeMirror from "svelte-codemirror-editor"; |
||||
import {StreamLanguage} from "@codemirror/language" |
||||
import { sparql } from "@codemirror/legacy-modes/mode/sparql"; |
||||
import {basicSetup} from "codemirror" |
||||
|
||||
import Highlight, { LineNumbers } from "svelte-highlight"; |
||||
import hljs from "highlight.js"; |
||||
import { definer } from "../turtle"; |
||||
import "svelte-highlight/styles/github.css"; |
||||
import { each } from "svelte/internal"; |
||||
const language = { |
||||
name: "turtle", |
||||
register: (hljs) => { |
||||
return definer(hljs); |
||||
}, |
||||
}; |
||||
|
||||
onMount(()=>{ |
||||
reset_in_memory(); |
||||
if (!$in_memory_discrete){ |
||||
$in_memory_discrete = "SELECT ?subject ?predicate ?object WHERE {\n ?subject ?predicate ?object .\n} LIMIT 10"; |
||||
} |
||||
}); |
||||
let union = false; |
||||
const run = async () => { |
||||
try{ |
||||
await reset_toasts(); |
||||
results = await sparql_query($in_memory_discrete, union); |
||||
} catch(e) { |
||||
toast_error(display_error(e)); |
||||
} |
||||
} |
||||
const openTurtle = () => { |
||||
reset_toasts(); |
||||
set_viewer("n:g:z:rdf_viewer:turtle"); |
||||
} |
||||
let results = undefined; |
||||
|
||||
</script> |
||||
<div class="flex-col"> |
||||
|
||||
<CodeMirror bind:value={$in_memory_discrete} lineWrapping useTab={false} extensions={[basicSetup,StreamLanguage.define(sparql)]} styles={{ |
||||
"&": { |
||||
maxWidth: "100%", |
||||
}, |
||||
}}/> |
||||
<Toggle class="mt-1 ml-2" bind:checked={union}>Query all docs</Toggle> |
||||
<button |
||||
on:click={run} |
||||
on:keypress={run} |
||||
class="select-none ml-2 mt-2 mb-10 text-white bg-primary-700 hover:bg-primary-700/90 focus:ring-4 focus:ring-primary-500/50 rounded-lg text-base p-2 text-center inline-flex items-center dark:focus:ring-primary-700/55" |
||||
> |
||||
<RocketLaunch tabindex="-1" class="mr-2 focus:outline-none" /> |
||||
Run Query |
||||
</button> |
||||
<button |
||||
on:click={openTurtle} |
||||
on:keypress={openTurtle} |
||||
class="select-none ml-2 mt-2 mb-10 text-gray-600 focus:ring-4 focus:ring-primary-500/50 rounded-lg text-base p-2 text-center inline-flex items-center dark:focus:ring-primary-700/55" |
||||
> |
||||
<Sun class="mr-2 focus:outline-none" tabindex="-1" /> |
||||
View Graph |
||||
</button> |
||||
{#if results!==undefined} |
||||
<div> |
||||
<span class="ml-2 font-bold">Results: <br/></span> |
||||
{#if Array.isArray(results)} |
||||
{#if results.length} |
||||
<Highlight {language} code={results.join(" .\r\n") + (results.length ? " .":"")} class="mb-10" let:highlighted > |
||||
<LineNumbers {highlighted} wrapLines hideBorder /> |
||||
</Highlight> |
||||
{:else} |
||||
Empty |
||||
{/if} |
||||
{:else if results?.head} |
||||
<Table> |
||||
<TableHead> |
||||
{#each results.head.vars as variable} |
||||
<TableHeadCell>{variable}</TableHeadCell> |
||||
{/each} |
||||
</TableHead> |
||||
<TableBody tableBodyClass="divide-y"> |
||||
{#each results.results.bindings as row} |
||||
<TableBodyRow> |
||||
{#each results.head.vars as variable} |
||||
<TableBodyCell class="px-6 py-4 whitespace-break-spaces font-medium">{row[variable].value}</TableBodyCell> |
||||
{/each} |
||||
</TableBodyRow> |
||||
{/each} |
||||
</TableBody> |
||||
</Table> |
||||
{:else} |
||||
<span class="ml-2">{results}</span> |
||||
{/if} |
||||
</div> |
||||
{/if} |
||||
</div> |
@ -0,0 +1,78 @@ |
||||
<!-- |
||||
// Copyright (c) 2022-2024 Niko Bonnieure, Par le Peuple, NextGraph.org developers |
||||
// All rights reserved. |
||||
// Licensed under the Apache License, Version 2.0 |
||||
// <LICENSE-APACHE2 or http://www.apache.org/licenses/LICENSE-2.0> |
||||
// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>, |
||||
// at your option. All files in the project carrying such |
||||
// notice may not be copied, modified, or distributed except |
||||
// according to those terms. |
||||
--> |
||||
|
||||
<script lang="ts"> |
||||
import { onMount, tick, onDestroy } from "svelte"; |
||||
import { |
||||
sparql_update, |
||||
toast_error, |
||||
toast_success, |
||||
reset_toasts, |
||||
display_error, |
||||
} from "../store"; |
||||
import { |
||||
in_memory_discrete, open_viewer, reset_in_memory |
||||
} from "../tab"; |
||||
import{ Sun, RocketLaunch } from "svelte-heros-v2"; |
||||
import { t } from "svelte-i18n"; |
||||
|
||||
import { Button, Progressbar, Spinner, Alert } from "flowbite-svelte"; |
||||
|
||||
import CodeMirror from "svelte-codemirror-editor"; |
||||
import {StreamLanguage} from "@codemirror/language" |
||||
import { sparql } from "@codemirror/legacy-modes/mode/sparql"; |
||||
import {basicSetup} from "codemirror" |
||||
onMount(()=>{ |
||||
reset_in_memory(); |
||||
if (!$in_memory_discrete){ |
||||
$in_memory_discrete = "INSERT DATA { \n <did:ng:test> <test:predicate> \"An example value\".\r}"; |
||||
} |
||||
}); |
||||
const run = async () => { |
||||
try{ |
||||
await reset_toasts(); |
||||
await sparql_update($in_memory_discrete); |
||||
toast_success($t("app.sparql_update_editor.success")); |
||||
} catch(e) { |
||||
toast_error(display_error(e)); |
||||
} |
||||
} |
||||
const openViewer = () => { |
||||
reset_toasts(); |
||||
open_viewer(); |
||||
} |
||||
|
||||
</script> |
||||
<div class="flex-col"> |
||||
<CodeMirror bind:value={$in_memory_discrete} lineWrapping useTab={false} extensions={[basicSetup,StreamLanguage.define(sparql)]} styles={{ |
||||
"&": { |
||||
maxWidth: "100%", |
||||
}, |
||||
}}/> |
||||
<button |
||||
on:click={run} |
||||
on:keypress={run} |
||||
class="select-none ml-2 mt-2 mb-10 text-white bg-primary-700 hover:bg-primary-700/90 focus:ring-4 focus:ring-primary-500/50 rounded-lg text-base p-2 text-center inline-flex items-center dark:focus:ring-primary-700/55" |
||||
> |
||||
<RocketLaunch tabindex="-1" class="mr-2 focus:outline-none" /> |
||||
Run Update |
||||
</button> |
||||
<button |
||||
on:click={openViewer} |
||||
on:keypress={openViewer} |
||||
class="select-none ml-2 mt-2 mb-10 text-gray-600 focus:ring-4 focus:ring-primary-500/50 rounded-lg text-base p-2 text-center inline-flex items-center dark:focus:ring-primary-700/55" |
||||
> |
||||
<Sun class="mr-2 focus:outline-none" tabindex="-1" /> |
||||
View Graph |
||||
</button> |
||||
|
||||
|
||||
</div> |
@ -0,0 +1,82 @@ |
||||
<!-- |
||||
// Copyright (c) 2022-2024 Niko Bonnieure, Par le Peuple, NextGraph.org developers |
||||
// All rights reserved. |
||||
// Licensed under the Apache License, Version 2.0 |
||||
// <LICENSE-APACHE2 or http://www.apache.org/licenses/LICENSE-2.0> |
||||
// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>, |
||||
// at your option. All files in the project carrying such |
||||
// notice may not be copied, modified, or distributed except |
||||
// according to those terms. |
||||
--> |
||||
|
||||
<script lang="ts"> |
||||
import { onMount, tick, onDestroy } from "svelte"; |
||||
import { |
||||
sparql_update, |
||||
toast_error, |
||||
toast_success |
||||
} from "../store"; |
||||
import { |
||||
in_memory_discrete, open_viewer, set_viewer, set_editor, set_view_or_edit, cur_tab |
||||
} from "../tab"; |
||||
import{ PencilSquare, RocketLaunch } from "svelte-heros-v2"; |
||||
import { t } from "svelte-i18n"; |
||||
import { Button, Progressbar, Spinner, Alert } from "flowbite-svelte"; |
||||
|
||||
import Highlight, { LineNumbers } from "svelte-highlight"; |
||||
import hljs from "highlight.js"; |
||||
import { definer } from "../turtle"; |
||||
import "svelte-highlight/styles/github.css"; |
||||
const language = { |
||||
name: "turtle", |
||||
register: (hljs) => { |
||||
return definer(hljs); |
||||
}, |
||||
}; |
||||
|
||||
export let commits = {graph:[]}; |
||||
let source = ""; |
||||
$: source = commits.graph.join(" .\r\n") + (commits.graph.length ? " .":""); |
||||
|
||||
const openQuery = () => { |
||||
set_viewer("n:g:z:sparql_query"); |
||||
} |
||||
const openUpdate = () => { |
||||
set_editor("n:g:z:sparql_update"); |
||||
set_view_or_edit(false); |
||||
} |
||||
|
||||
onMount(()=>{ |
||||
|
||||
}); |
||||
|
||||
</script> |
||||
<div class="flex-col"> |
||||
|
||||
<button |
||||
on:click={openQuery} |
||||
on:keypress={openQuery} |
||||
class="select-none ml-2 mt-2 mb-2 text-white bg-primary-700 hover:bg-primary-700/90 focus:ring-4 focus:ring-primary-500/50 rounded-lg text-base p-2 text-center inline-flex items-center dark:focus:ring-primary-700/55" |
||||
> |
||||
<RocketLaunch tabindex="-1" class="mr-2 focus:outline-none" /> |
||||
SPARQL Query |
||||
</button> |
||||
{#if $cur_tab.doc.can_edit} |
||||
<button |
||||
on:click={openUpdate} |
||||
on:keypress={openUpdate} |
||||
class="select-none ml-2 mt-2 text-gray-600 focus:ring-4 focus:ring-primary-500/50 rounded-lg text-base p-2 text-center inline-flex items-center dark:focus:ring-primary-700/55" |
||||
> |
||||
<PencilSquare class="mr-2 focus:outline-none" tabindex="-1" /> |
||||
SPARQL Update |
||||
</button> |
||||
{/if} |
||||
|
||||
{#if source} |
||||
<Highlight {language} code={source} class="mb-10" let:highlighted > |
||||
<LineNumbers {highlighted} wrapLines hideBorder /> |
||||
</Highlight> |
||||
{/if} |
||||
|
||||
</div> |
||||
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.8 KiB |
@ -0,0 +1,59 @@ |
||||
/* |
||||
* Base64URL-ArrayBuffer |
||||
* https://github.com/herrjemand/Base64URL-ArrayBuffer
|
||||
* |
||||
* Copyright (c) 2017 Yuriy Ackermann <ackermann.yuriy@gmail.com> |
||||
* Copyright (c) 2012 Niklas von Hertzen |
||||
* Licensed under the MIT license. |
||||
*
|
||||
*/ |
||||
const chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"; |
||||
|
||||
// Use a lookup table to find the index.
|
||||
var lookup = new Uint8Array(256); |
||||
for (var i = 0; i < chars.length; i++) { |
||||
lookup[chars.charCodeAt(i)] = i; |
||||
} |
||||
|
||||
export const encode = function(arraybuffer) { |
||||
var bytes = new Uint8Array(arraybuffer), |
||||
i, len = bytes.length, base64 = ""; |
||||
|
||||
for (i = 0; i < len; i+=3) { |
||||
base64 += chars[bytes[i] >> 2]; |
||||
base64 += chars[((bytes[i] & 3) << 4) | (bytes[i + 1] >> 4)]; |
||||
base64 += chars[((bytes[i + 1] & 15) << 2) | (bytes[i + 2] >> 6)]; |
||||
base64 += chars[bytes[i + 2] & 63]; |
||||
} |
||||
|
||||
if ((len % 3) === 2) { |
||||
base64 = base64.substring(0, base64.length - 1); |
||||
} else if (len % 3 === 1) { |
||||
base64 = base64.substring(0, base64.length - 2); |
||||
} |
||||
|
||||
return base64; |
||||
}; |
||||
|
||||
export const decode = function(base64) { |
||||
var bufferLength = base64.length * 0.75, |
||||
len = base64.length, i, p = 0, |
||||
encoded1, encoded2, encoded3, encoded4; |
||||
|
||||
var arraybuffer = new ArrayBuffer(bufferLength), |
||||
bytes = new Uint8Array(arraybuffer); |
||||
|
||||
for (i = 0; i < len; i+=4) { |
||||
encoded1 = lookup[base64.charCodeAt(i)]; |
||||
encoded2 = lookup[base64.charCodeAt(i+1)]; |
||||
encoded3 = lookup[base64.charCodeAt(i+2)]; |
||||
encoded4 = lookup[base64.charCodeAt(i+3)]; |
||||
|
||||
bytes[p++] = (encoded1 << 2) | (encoded2 >> 4); |
||||
bytes[p++] = ((encoded2 & 15) << 4) | (encoded3 >> 2); |
||||
bytes[p++] = ((encoded3 & 3) << 6) | (encoded4 & 63); |
||||
} |
||||
|
||||
return arraybuffer; |
||||
}; |
||||
|
@ -1,187 +0,0 @@ |
||||
<!-- |
||||
// Copyright (c) 2022-2024 Niko Bonnieure, Par le Peuple, NextGraph.org developers |
||||
// All rights reserved. |
||||
// Licensed under the Apache License, Version 2.0 |
||||
// <LICENSE-APACHE2 or http://www.apache.org/licenses/LICENSE-2.0> |
||||
// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>, |
||||
// at your option. All files in the project carrying such |
||||
// notice may not be copied, modified, or distributed except |
||||
// according to those terms. |
||||
--> |
||||
|
||||
<script lang="ts"> |
||||
import { |
||||
Icon, |
||||
BugAnt, |
||||
DocumentText, |
||||
Window, |
||||
CodeBracket, |
||||
SquaresPlus, |
||||
ViewfinderCircle, |
||||
ArrowsPointingOut, |
||||
Cube, |
||||
Briefcase, |
||||
MagnifyingGlass, |
||||
RocketLaunch, |
||||
Sun, |
||||
TableCells, |
||||
ListBullet, |
||||
RectangleGroup, |
||||
Squares2x2, |
||||
MapPin, |
||||
CircleStack, |
||||
Envelope, |
||||
GlobeAlt, |
||||
DocumentChartBar, |
||||
Document, |
||||
ClipboardDocumentList, |
||||
Photo, |
||||
Film, |
||||
RectangleStack, |
||||
Microphone, |
||||
MusicalNote, |
||||
Ticket, |
||||
CursorArrowRays, |
||||
Megaphone, |
||||
User, |
||||
Clock, |
||||
CalendarDays, |
||||
Calendar, |
||||
Stop, |
||||
Flag, |
||||
HandRaised, |
||||
Newspaper, |
||||
PencilSquare, |
||||
CubeTransparent, |
||||
PresentationChartBar, |
||||
QuestionMarkCircle, |
||||
CheckCircle, |
||||
ChartPie, |
||||
Bars3BottomLeft, |
||||
Link, |
||||
Square2Stack, |
||||
Clipboard, |
||||
StopCircle, |
||||
Bolt, |
||||
Heart, |
||||
} from "svelte-heros-v2"; |
||||
|
||||
export let config = {}; |
||||
export let dataClass: string; |
||||
|
||||
const exact_mapping = { |
||||
page: Window, |
||||
"app/z": SquaresPlus, |
||||
class: ViewfinderCircle, |
||||
contract: Briefcase, |
||||
"query/text": MagnifyingGlass, |
||||
"query/web": MagnifyingGlass, |
||||
"data/graph": Sun, |
||||
"data/table": TableCells, |
||||
"data/collection": ListBullet, |
||||
"data/board": RectangleGroup, |
||||
"data/grid": Squares2x2, |
||||
"data/geomap": MapPin, |
||||
"e/email": Envelope, |
||||
"mc/text": Bars3BottomLeft, |
||||
"mc/link": Link, |
||||
"plato/card": Clipboard, |
||||
"plato/pad": Square2Stack, |
||||
"media/image": Photo, |
||||
"media/reel": Film, |
||||
"media/video": Film, |
||||
"media/album": RectangleStack, |
||||
"media/audio": Microphone, |
||||
"media/song": MusicalNote, |
||||
"media/subtitle": Ticket, |
||||
"media/overlay": CursorArrowRays, |
||||
"social/channel": Megaphone, |
||||
"social/stream": Bolt, |
||||
"social/contact": User, |
||||
"social/event": Clock, |
||||
"social/calendar": CalendarDays, |
||||
"social/scheduler": Calendar, |
||||
"social/reaction": Heart, |
||||
"prod/task": Stop, |
||||
"prod/project": Flag, |
||||
"prod/issue": HandRaised, |
||||
"prod/form": Newspaper, |
||||
"prod/filling": PencilSquare, |
||||
"prod/cad": CubeTransparent, |
||||
"prod/slides": PresentationChartBar, |
||||
"prod/question": QuestionMarkCircle, |
||||
"prod/answer": CheckCircle, |
||||
"prod/poll": QuestionMarkCircle, |
||||
"prod/vote": CheckCircle, |
||||
}; |
||||
|
||||
const prefix_mapping = { |
||||
"post/": DocumentText, |
||||
code: CodeBracket, |
||||
schema: ArrowsPointingOut, |
||||
service: Cube, |
||||
"e/": GlobeAlt, |
||||
"app/": StopCircle, |
||||
"query/": RocketLaunch, |
||||
"data/": CircleStack, |
||||
"doc/diagram": DocumentChartBar, |
||||
"doc/chart": ChartPie, |
||||
"doc/viz": ChartPie, |
||||
"doc/": ClipboardDocumentList, |
||||
file: Document, |
||||
}; |
||||
|
||||
const find = (t) => { |
||||
let e = exact_mapping[t]; |
||||
if (e) return e; |
||||
for (let prefix of Object.entries(prefix_mapping)) { |
||||
if (t.startsWith(prefix[0])) return prefix[1]; |
||||
} |
||||
return BugAnt; |
||||
}; |
||||
</script> |
||||
|
||||
<!-- |
||||
did:ng:n:g:z:[official apps] |
||||
did:ng:n:g:ns |
||||
did:ng:n:g:x list of context used by nextgraph |
||||
rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns# |
||||
rdfs: http://www.w3.org/2000/01/rdf-schema# |
||||
schema: https://schema.org/ |
||||
skos: http://www.w3.org/2004/02/skos/core# |
||||
owl: http://www.w3.org/2002/07/owl# |
||||
foaf: http://xmlns.com/foaf/0.1/ |
||||
relationship: http://purl.org/vocab/relationship/ |
||||
dcterms: http://purl.org/dc/terms/ |
||||
dcmitype: http://purl.org/dc/dcmitype/ |
||||
sh: http://www.w3.org/ns/shacl# |
||||
shex: http://www.w3.org/ns/shex# |
||||
xsd: http://www.w3.org/2001/XMLSchema# |
||||
as: https://www.w3.org/ns/activitystreams# |
||||
ldp: http://www.w3.org/ns/ldp# |
||||
vcard: http://www.w3.org/2006/vcard/ns# |
||||
sec: https://w3id.org/security# |
||||
wgs: http://www.w3.org/2003/01/geo/wgs84_pos# |
||||
cc: http://creativecommons.org/ns# |
||||
gn: https://www.geonames.org/ontology# |
||||
geo: http://www.opengis.net/ont/geosparql# |
||||
time: http://www.w3.org/2006/time# |
||||
|
||||
ng: did:ng:n:g:ns# or http://nextgraph.org/ns# |
||||
|
||||
did:ng:n:g:ns#post/rich |
||||
ng:class => shortcut for did:ng:n:g:ns#class |
||||
a rdfs:Class |
||||
a ng:class |
||||
did:ng:o:xxxx:yy:yy |
||||
did:ng:n:xx.xx#name |
||||
did:ng:n:x: curated list of ontologies |
||||
did:ng:k common list of things (keyword) |
||||
did:ng:n:c common data |
||||
did:ng:n:z: curated list of external apps and services |
||||
http://nextgraph.org/ns# => the ng: ontology (did:ng:n:g:ns#) |
||||
|
||||
ng:compat -> owl:unionOf rdf:List (alphabetical order, including itself as first element) |
||||
|
||||
--> |
||||
<Icon {...config} variation="outline" color="black" icon={find(dataClass)} /> |
@ -0,0 +1,110 @@ |
||||
<!-- |
||||
// Copyright (c) 2022-2024 Niko Bonnieure, Par le Peuple, NextGraph.org developers |
||||
// All rights reserved. |
||||
// Licensed under the Apache License, Version 2.0 |
||||
// <LICENSE-APACHE2 or http://www.apache.org/licenses/LICENSE-2.0> |
||||
// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>, |
||||
// at your option. All files in the project carrying such |
||||
// notice may not be copied, modified, or distributed except |
||||
// according to those terms. |
||||
--> |
||||
|
||||
<script lang="ts"> |
||||
import { |
||||
branch_subscribe, |
||||
active_session, |
||||
cannot_load_offline, |
||||
online, |
||||
} from "../store"; |
||||
|
||||
import { |
||||
Pencil, |
||||
} from "svelte-heros-v2"; |
||||
|
||||
import { t } from "svelte-i18n"; |
||||
import { Button, Progressbar, Spinner, Alert } from "flowbite-svelte"; |
||||
import { inview } from 'svelte-inview'; |
||||
import { cur_tab, nav_bar, can_have_header, header_icon, header_title, header_description, cur_branch, set_header_in_view, edit_header_button, cur_app, load_official_app } from "../tab"; |
||||
import NavIcon from "./icons/NavIcon.svelte"; |
||||
|
||||
export let nuri = ""; |
||||
|
||||
let width; |
||||
|
||||
let commits; |
||||
$: commits = $active_session && nuri && branch_subscribe(nuri, true); |
||||
|
||||
const inview_options = {};//{rootMargin: "-44px"}; |
||||
|
||||
function openEditHeader() { |
||||
//TODO |
||||
} |
||||
</script> |
||||
|
||||
<div bind:clientWidth={width}> |
||||
|
||||
{#if $cannot_load_offline} |
||||
<div class="row p-4"> |
||||
<Alert color="yellow"> |
||||
{@html $t("doc.cannot_load_offline")} |
||||
<a href="#/user">{$t("pages.user_panel.title")}</a>. |
||||
</Alert> |
||||
</div> |
||||
{:else} |
||||
<div class="flex justify-left" class:justify-center={width>1024} use:inview={inview_options} on:inview_change={(event) => { |
||||
const { inView, entry, scrollDirection, observer, node} = event.detail; |
||||
if ($cur_branch) { set_header_in_view(inView); } |
||||
if (inView) $nav_bar.newest = 0; |
||||
}}> |
||||
|
||||
<div class="flex flex-col "> |
||||
{#if $can_have_header} |
||||
|
||||
<div class="flex p-4 max-w-screen-lg justify-start flex-wrap" class:w-[1024px]={width>1024} > |
||||
{#if $header_icon} |
||||
<NavIcon img={$header_icon} config={{ |
||||
tabindex:"-1", |
||||
class:"w-8 h-8 mr-2 mb-2 flex-none focus:outline-none" |
||||
}}/> |
||||
{/if} |
||||
{#if $cur_tab.doc.can_edit} |
||||
<button class="p-1 mr-2 mb-2 w-8 h-8 flex-none" on:click={openEditHeader} title={$t($edit_header_button)}> |
||||
<Pencil tabindex=-1 class="w-5 h-5 focus:outline-none" /> |
||||
|
||||
</button>{#if !$header_title}<span role="button" on:click={openEditHeader} on:keypress={openEditHeader} tabindex="-1" class="h-8 py-1 inline-block align-middle ">{$t($edit_header_button)}</span> {/if} |
||||
{/if} |
||||
{#if $header_title} |
||||
<h1 class="grow text-left text-2xl">{$header_title}</h1> |
||||
{/if} |
||||
</div> |
||||
{#if $header_description} |
||||
<div class="flex p-4 max-w-screen-lg text-left text-gray-600 dark:text-white" class:w-[1024px]={width>1024}> |
||||
{$header_description} |
||||
</div> |
||||
{/if} |
||||
{/if} |
||||
{#if commits} |
||||
{#await commits.load()} |
||||
<div class="row p-4 max-w-screen-lg text-gray-600" class:w-[1024px]={width>1024}> |
||||
<p>{$t("connectivity.loading")}...</p> |
||||
</div> |
||||
{:then} |
||||
|
||||
{#if $cur_app} |
||||
{#await load_official_app($cur_app) then app} |
||||
<div class="flex max-w-screen-lg" style="overflow-wrap: anywhere;" class:w-[1024px]={width>1024} > |
||||
<svelte:component this={app} commits={$commits}/> |
||||
</div> |
||||
{/await} |
||||
{/if} |
||||
{/await} |
||||
{/if} |
||||
|
||||
</div> |
||||
|
||||
</div> |
||||
|
||||
|
||||
{/if} |
||||
|
||||
</div> |
@ -0,0 +1,38 @@ |
||||
<!-- |
||||
// Copyright (c) 2022-2024 Niko Bonnieure, Par le Peuple, NextGraph.org developers |
||||
// All rights reserved. |
||||
// Licensed under the Apache License, Version 2.0 |
||||
// <LICENSE-APACHE2 or http://www.apache.org/licenses/LICENSE-2.0> |
||||
// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>, |
||||
// at your option. All files in the project carrying such |
||||
// notice may not be copied, modified, or distributed except |
||||
// according to those terms. |
||||
--> |
||||
|
||||
<script lang="ts"> |
||||
|
||||
export let pane_name = ""; |
||||
|
||||
const panes = { |
||||
"history": "History", |
||||
"files": "Files", |
||||
}; |
||||
|
||||
const load_pane = async (pane_name) => { |
||||
let component = await import(`./panes/${panes[pane_name]}.svelte`); |
||||
return component.default; |
||||
}; |
||||
|
||||
</script> |
||||
|
||||
<div> |
||||
|
||||
{#if pane_name} |
||||
{#await load_pane(pane_name) then pane} |
||||
<div class="flex w-full" style="overflow-wrap: anywhere;"> |
||||
<svelte:component this={pane}/> |
||||
</div> |
||||
{/await} |
||||
{/if} |
||||
|
||||
</div> |
@ -0,0 +1,91 @@ |
||||
<!-- |
||||
// Copyright (c) 2022-2024 Niko Bonnieure, Par le Peuple, NextGraph.org developers |
||||
// All rights reserved. |
||||
// Licensed under the Apache License, Version 2.0 |
||||
// <LICENSE-APACHE2 or http://www.apache.org/licenses/LICENSE-2.0> |
||||
// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>, |
||||
// at your option. All files in the project carrying such |
||||
// notice may not be copied, modified, or distributed except |
||||
// according to those terms. |
||||
--> |
||||
|
||||
<script lang="ts"> |
||||
export let value: string = ""; |
||||
export let id: string | undefined = undefined; |
||||
export let rows: number = 3; |
||||
|
||||
let has_success: boolean = false; |
||||
|
||||
const tauri_platform = import.meta.env.TAURI_PLATFORM; |
||||
const setClipboard = async (text: string) => { |
||||
if (tauri_platform) { |
||||
// TODO: this won't work for tauri platform. |
||||
// const { writeText } = await import("@tauri-apps/api/clipboard"); |
||||
// await writeText(text); |
||||
} else { |
||||
navigator.clipboard.writeText(text); |
||||
} |
||||
}; |
||||
|
||||
const on_click = (e) => { |
||||
has_success = true; |
||||
setTimeout(() => (has_success = false), 2_000); |
||||
setClipboard(value); |
||||
}; |
||||
</script> |
||||
|
||||
<div class="w-full mt-2"> |
||||
<div class="relative"> |
||||
<textarea |
||||
{id} |
||||
{rows} |
||||
style="resize: none;" |
||||
{value} |
||||
class="col-span-6 bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500" |
||||
class:pr-11={!tauri_platform} |
||||
disabled |
||||
readonly |
||||
/> |
||||
{#if !tauri_platform} |
||||
<button |
||||
on:click={on_click} |
||||
class="absolute inset-y-0 right-0 p-3 flex items-center text-sm leading-5 bg-transparent shadow-none" |
||||
> |
||||
<span id="default-icon" class:hidden={has_success}> |
||||
<svg |
||||
class="w-3.5 h-3.5" |
||||
aria-hidden="true" |
||||
xmlns="http://www.w3.org/2000/svg" |
||||
fill="currentColor" |
||||
viewBox="0 0 18 20" |
||||
> |
||||
<path |
||||
d="M16 1h-3.278A1.992 1.992 0 0 0 11 0H7a1.993 1.993 0 0 0-1.722 1H2a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2Zm-3 14H5a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2Zm0-4H5a1 1 0 0 1 0-2h8a1 1 0 1 1 0 2Zm0-5H5a1 1 0 0 1 0-2h2V2h4v2h2a1 1 0 1 1 0 2Z" |
||||
/> |
||||
</svg> |
||||
</span> |
||||
<span |
||||
id="success-icon" |
||||
class="inline-flex items-center" |
||||
class:hidden={!has_success} |
||||
> |
||||
<svg |
||||
class="w-3.5 h-3.5 text-blue-700 dark:text-blue-500" |
||||
aria-hidden={!has_success} |
||||
xmlns="http://www.w3.org/2000/svg" |
||||
fill="none" |
||||
viewBox="0 0 16 12" |
||||
> |
||||
<path |
||||
stroke="currentColor" |
||||
stroke-linecap="round" |
||||
stroke-linejoin="round" |
||||
stroke-width="2" |
||||
d="M1 5.917 5.724 10.5 15 1.5" |
||||
/> |
||||
</svg> |
||||
</span> |
||||
</button> |
||||
{/if} |
||||
</div> |
||||
</div> |
@ -0,0 +1,40 @@ |
||||
<!-- |
||||
// Copyright (c) 2022-2024 Niko Bonnieure, Par le Peuple, NextGraph.org developers |
||||
// All rights reserved. |
||||
// Licensed under the Apache License, Version 2.0 |
||||
// <LICENSE-APACHE2 or http://www.apache.org/licenses/LICENSE-2.0> |
||||
// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>, |
||||
// at your option. All files in the project carrying such |
||||
// notice may not be copied, modified, or distributed except |
||||
// according to those terms. |
||||
--> |
||||
|
||||
<!-- |
||||
@component Logo |
||||
The NextGraph Logo svg with color changing between blue and gray, |
||||
depending on connection status: |
||||
- connected: blue |
||||
- connecting: pulse between blue and gray |
||||
- disconnected: gray |
||||
|
||||
Provide classes using the `className` prop. |
||||
--> |
||||
|
||||
<script lang="ts"> |
||||
import { connection_status } from "../../store"; |
||||
// @ts-ignore |
||||
import Logo from "../../assets/nextgraph-nofill.svg?component"; |
||||
|
||||
export let className: string = ""; |
||||
let connection_status_class = "logo-blue"; |
||||
// Color is adjusted to connection status. |
||||
$: if ($connection_status === "connecting" || $connection_status === "starting") { |
||||
connection_status_class = "logo-pulse"; |
||||
} else if ($connection_status === "disconnected") { |
||||
connection_status_class = "logo-gray"; |
||||
} else { |
||||
connection_status_class = "logo-blue"; |
||||
} |
||||
</script> |
||||
|
||||
<Logo class={`${className} ${connection_status_class}`} /> |
@ -0,0 +1,32 @@ |
||||
|
||||
<!-- |
||||
// Copyright (c) 2022-2024 Niko Bonnieure, Par le Peuple, NextGraph.org developers |
||||
// All rights reserved. |
||||
// Licensed under the Apache License, Version 2.0 |
||||
// <LICENSE-APACHE2 or http://www.apache.org/licenses/LICENSE-2.0> |
||||
// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>, |
||||
// at your option. All files in the project carrying such |
||||
// notice may not be copied, modified, or distributed except |
||||
// according to those terms. |
||||
--> |
||||
|
||||
<script lang="ts"> |
||||
|
||||
export let clickable; |
||||
export let extraClass = ""; |
||||
export let selected = false; |
||||
export let title = ""; |
||||
|
||||
</script> |
||||
|
||||
{#if clickable} |
||||
<li {title} role="menuitem" tabindex="0" class:text-primary-600={selected} class:text-gray-800={!selected} class:dark:text-white={!selected} class:dark:text-primary-300={selected} |
||||
class="{extraClass} select-none clickable focus:outline-2 focus:outline flex items-center px-2 py-1 text-base font-normal rounded-lg hover:bg-gray-200 dark:hover:bg-gray-700 mt-1" |
||||
on:click={(e) => { e.currentTarget.blur(); clickable();}} on:keypress={clickable} on:keydown={(e) => {if (e.code=='Space') { e.preventDefault(); clickable();} }}> |
||||
<slot /> |
||||
</li> |
||||
{:else} |
||||
<li class="{extraClass} select-none flex items-center px-2 py-1 text-base font-normal text-primary-600 rounded-lg dark:text-primary-300 mt-1"> |
||||
<slot /> |
||||
</li> |
||||
{/if} |
@ -0,0 +1,64 @@ |
||||
<!-- |
||||
// Copyright (c) 2022-2024 Niko Bonnieure, Par le Peuple, NextGraph.org developers |
||||
// All rights reserved. |
||||
// Licensed under the Apache License, Version 2.0 |
||||
// <LICENSE-APACHE2 or http://www.apache.org/licenses/LICENSE-2.0> |
||||
// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>, |
||||
// at your option. All files in the project carrying such |
||||
// notice may not be copied, modified, or distributed except |
||||
// according to those terms. |
||||
--> |
||||
|
||||
<script lang="ts"> |
||||
import { |
||||
Toast, |
||||
} from "flowbite-svelte"; |
||||
|
||||
import { |
||||
remove_toast |
||||
} from "../../store"; |
||||
import { onMount, onDestroy, tick } from "svelte"; |
||||
|
||||
const toast_color = { |
||||
"error":"red", |
||||
"warning":"orange", |
||||
"success":"green", |
||||
"info":"blue" |
||||
}; |
||||
|
||||
const toast_icon = { |
||||
"error": XCircle, |
||||
"warning": ExclamationCircle, |
||||
"success": CheckCircle, |
||||
"info": InformationCircle, |
||||
} |
||||
import { |
||||
CheckCircle, |
||||
XCircle, |
||||
ExclamationCircle, |
||||
InformationCircle, |
||||
Icon, |
||||
} from "svelte-heros-v2"; |
||||
|
||||
export let toast; |
||||
export let i; |
||||
|
||||
onMount(()=>{ |
||||
toast.i = i; |
||||
if (toast.level=="success") |
||||
{ |
||||
toast.timer = setTimeout(()=>{remove_toast(i);}, toast.timeout || 10000); |
||||
} |
||||
}); |
||||
|
||||
</script> |
||||
|
||||
<div class="toast fixed flex w-full max-w-xs" style="top:{16+i*74}px;" |
||||
on:click|capture|stopPropagation={()=>{remove_toast(toast.i);}} |
||||
on:keypress={()=>{}} |
||||
> |
||||
<Toast color="{toast_color[toast.level]}" > |
||||
<Icon tabindex="-1" slot="icon" class="w-8 h-8 p-1 focus:outline-none" variation="outline" color="currentColor" icon={toast_icon[toast.level]} /> |
||||
{toast.text} |
||||
</Toast> |
||||
</div> |
@ -0,0 +1,93 @@ |
||||
<!-- |
||||
// Copyright (c) 2022-2024 Niko Bonnieure, Par le Peuple, NextGraph.org developers |
||||
// All rights reserved. |
||||
// Licensed under the Apache License, Version 2.0 |
||||
// <LICENSE-APACHE2 or http://www.apache.org/licenses/LICENSE-2.0> |
||||
// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>, |
||||
// at your option. All files in the project carrying such |
||||
// notice may not be copied, modified, or distributed except |
||||
// according to those terms. |
||||
--> |
||||
|
||||
<script lang="ts"> |
||||
import { |
||||
ArrowLeft, |
||||
ChevronDoubleUp, |
||||
CheckCircle, |
||||
CheckBadge, |
||||
EllipsisVertical, |
||||
ExclamationTriangle, |
||||
} from "svelte-heros-v2"; |
||||
import NavIcon from "../icons/NavIcon.svelte"; |
||||
|
||||
import { |
||||
Popover, |
||||
} from "flowbite-svelte"; |
||||
|
||||
import {save, nav_bar, showMenu, cur_tab, cur_tab_store_name_override, cur_tab_store_icon_override} from "../../tab"; |
||||
|
||||
export let scrollToTop = () => {}; |
||||
|
||||
const back = () => { |
||||
// going back |
||||
window.history.go(-1); |
||||
} |
||||
|
||||
const closeErrorPopup = () => { |
||||
window.document.getElementById("error_popover_btn").click(); |
||||
} |
||||
|
||||
</script> |
||||
|
||||
<div style="background-color: #fbfbfb;" class="h-11 pb-1 flex text-center text-gray-700 dark:text-white"> |
||||
{#if $nav_bar.back} |
||||
<div role="button" tabindex="0" on:click={back} on:keypress={back} class="flex-none w-10 flex justify-center items-center"> |
||||
<ArrowLeft tabindex="-1" class="w-8 h-8 focus:outline-none"/> |
||||
</div> |
||||
{/if} |
||||
{#if $cur_tab_store_icon_override || $nav_bar.icon} |
||||
<div style="cursor:pointer;" class:w-10={!$nav_bar.back} class:ml-3={!$nav_bar.back} class="flex-none w-8 m-1 " on:click={scrollToTop} on:keypress={scrollToTop}> |
||||
<NavIcon img={$cur_tab_store_icon_override || $nav_bar.icon} config={{ |
||||
tabindex:"-1", |
||||
class:"w-8 h-8 focus:outline-none" |
||||
}}/> |
||||
</div> |
||||
{/if} |
||||
<div style="cursor:pointer;" class:pl-3={!$nav_bar.back && !$nav_bar.icon} class="grow w-10 items-center flex px-1" on:click={scrollToTop} on:keypress={scrollToTop}> |
||||
<span class="inline-block truncate" > {$cur_tab_store_name_override || $nav_bar.title} </span> |
||||
</div> |
||||
{#if $nav_bar.newest && !$cur_tab.header_in_view} |
||||
<div role="button" tabindex="0" class="flex-none m-1 rounded-full bg-primary-700 text-white dark:bg-primary-700" on:click={scrollToTop} on:keypress={scrollToTop}> |
||||
<div class="flex items-center grow pr-2"> |
||||
<ChevronDoubleUp tabindex="-1" class="w-6 h-6 m-1 focus:outline-none"/> |
||||
<span class="inline-block">{@html $nav_bar.newest < 100 ? "+"+$nav_bar.newest : "<span class=\"text-xl\">∞</span>"}</span> |
||||
</div> |
||||
</div> |
||||
{/if} |
||||
{#if $cur_tab.persistent_error} |
||||
<div id="error_popover_btn" tabindex="0" class="flex-none w-10" role="button" title={$cur_tab.persistent_error.title + ". Click for more details"}> |
||||
<ExclamationTriangle variation="outline" tabindex="-1" strokeWidth="2" class="w-9 h-9 mt-1 text-red-700 focus:outline-none"/> |
||||
</div> |
||||
<Popover class="text-left text-black w-[300px] text-sm error-popover" title={$cur_tab.persistent_error.title} triggeredBy="#error_popover_btn" trigger="click" placement = 'bottom' |
||||
open={true} |
||||
|
||||
>{@html $cur_tab.persistent_error.desc} |
||||
<br/><br/><span class="text-primary-700" on:click={closeErrorPopup} on:keypress={closeErrorPopup} role="button" tabindex="0">Dismiss</span> |
||||
</Popover> |
||||
{:else if $nav_bar.save !== undefined} |
||||
|
||||
{#if $nav_bar.save } |
||||
<div tabindex="0" class="flex-none w-10" role="button" on:click={save} on:keypress={save} title="Save"> |
||||
<CheckCircle variation="solid" tabindex="-1" strokeWidth="3" class="w-10 h-10 text-primary-400 focus:outline-none"/> |
||||
</div> |
||||
{:else} |
||||
<div class="flex-none w-10" title="Saved!"> |
||||
<CheckBadge tabindex="-1" class="w-8 h-8 m-1 text-green-500 focus:outline-none"/> |
||||
</div> |
||||
{/if} |
||||
|
||||
{/if} |
||||
<div tabindex="0" class="flex-none w-10 " role="button" title="Open Menu" on:click={showMenu} on:keypress={showMenu}> |
||||
<EllipsisVertical tabindex="-1" class="w-8 h-8 my-1 mr-2"/> |
||||
</div> |
||||
</div> |
@ -0,0 +1,49 @@ |
||||
<!-- |
||||
// Copyright (c) 2022-2024 Niko Bonnieure, Par le Peuple, NextGraph.org developers |
||||
// All rights reserved. |
||||
// Licensed under the Apache License, Version 2.0 |
||||
// <LICENSE-APACHE2 or http://www.apache.org/licenses/LICENSE-2.0> |
||||
// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>, |
||||
// at your option. All files in the project carrying such |
||||
// notice may not be copied, modified, or distributed except |
||||
// according to those terms. |
||||
--> |
||||
|
||||
<script lang="ts"> |
||||
import { |
||||
XMark, |
||||
Icon, |
||||
CheckCircle, |
||||
CheckBadge, |
||||
EllipsisVertical, |
||||
} from "svelte-heros-v2"; |
||||
import { t } from "svelte-i18n"; |
||||
import {cur_tab_update} from "../../tab"; |
||||
|
||||
export let pane_name = ""; |
||||
export let pane_items = {}; |
||||
|
||||
const closePane = (pane:string|boolean) => { |
||||
cur_tab_update(($cur_tab) => { |
||||
if (pane=="folders") { |
||||
$cur_tab.folders_pane = false; |
||||
} else if (pane=="toc") { |
||||
$cur_tab.toc_pane = false; |
||||
} else { |
||||
$cur_tab.right_pane = ""; |
||||
} |
||||
return $cur_tab; |
||||
}); |
||||
} |
||||
</script> |
||||
|
||||
<div style="height:44px; background-color: rgb(251, 251, 251);" class={`${$$props.class || ''} fixed top-0 w-10 h-10 p-1 bg-white dark:bg-black; rounded-bl-xl`} role="button" aria-label="Close pane" title="Close pane" |
||||
on:click={()=>closePane(pane_name)} |
||||
on:keypress={()=>closePane(pane_name)} |
||||
tabindex="0"> |
||||
<XMark class="w-8 h-8 p-1 text-gray-400 focus:outline-none dark:text-white"/> |
||||
</div> |
||||
<div style="height:44px; background-color: rgb(251, 251, 251);" class="p-1 flex items-center"> |
||||
<Icon tabindex="-1" class="w-8 h-8 text-gray-400 dark:text-white focus:outline-none " variation="outline" color="currentColor" icon={pane_items[pane_name]} /> |
||||
<span class="ml-2 inline-block text-gray-500 select-none dark:text-white">{$t(`doc.menu.items.${pane_name}.label`)}</span> |
||||
</div> |
@ -0,0 +1,89 @@ |
||||
<!-- |
||||
// Copyright (c) 2022-2024 Niko Bonnieure, Par le Peuple, NextGraph.org developers |
||||
// All rights reserved. |
||||
// Licensed under the Apache License, Version 2.0 |
||||
// <LICENSE-APACHE2 or http://www.apache.org/licenses/LICENSE-2.0> |
||||
// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>, |
||||
// at your option. All files in the project carrying such |
||||
// notice may not be copied, modified, or distributed except |
||||
// according to those terms. |
||||
--> |
||||
|
||||
<script lang="ts"> |
||||
export let value: string | undefined = undefined; |
||||
export let placeholder: string | undefined = undefined; |
||||
export let className: string | undefined = undefined; |
||||
export let id: string | undefined = undefined; |
||||
export let auto_complete: string | undefined = undefined; |
||||
|
||||
export let show: boolean = false; |
||||
|
||||
let input; |
||||
|
||||
let type: "password" | "text" = "password"; |
||||
$: type = show ? "text" : "password"; |
||||
|
||||
function handleInput(event: Event) { |
||||
const target = event.target as HTMLInputElement; |
||||
value = target.value; |
||||
} |
||||
|
||||
async function toggle() { |
||||
let { selectionStart, selectionEnd } = input; |
||||
show = !show; |
||||
input.focus(); |
||||
setTimeout(function () { |
||||
input.selectionStart = selectionStart; |
||||
input.selectionEnd = selectionEnd; |
||||
}, 0); |
||||
} |
||||
</script> |
||||
|
||||
<div class="relative"> |
||||
<!-- svelte-ignore a11y-autofocus --> |
||||
<input |
||||
bind:this={input} |
||||
{value} |
||||
{placeholder} |
||||
{id} |
||||
{type} |
||||
autofocus |
||||
on:input={handleInput} |
||||
class={`${className} pr-12 text-md block`} |
||||
autocomplete={auto_complete} |
||||
/> |
||||
|
||||
<div |
||||
class="absolute inset-y-0 right-0 pr-3 flex items-center text-sm leading-5" |
||||
> |
||||
<svg |
||||
fill="none" |
||||
on:click={toggle} |
||||
on:keypress={toggle} |
||||
class={`${show ? "block" : "hidden"} h-6 text-gray-700`} |
||||
xmlns="http://www.w3.org/2000/svg" |
||||
viewbox="0 0 576 512" |
||||
> |
||||
<path |
||||
fill="currentColor" |
||||
d="M572.52 241.4C518.29 135.59 410.93 64 288 64S57.68 135.64 3.48 241.41a32.35 32.35 0 0 0 0 29.19C57.71 376.41 165.07 448 288 448s230.32-71.64 284.52-177.41a32.35 32.35 0 0 0 0-29.19zM288 400a144 144 0 1 1 144-144 143.93 143.93 0 0 1-144 144zm0-240a95.31 95.31 0 0 0-25.31 3.79 47.85 47.85 0 0 1-66.9 66.9A95.78 95.78 0 1 0 288 160z" |
||||
> |
||||
</path> |
||||
</svg> |
||||
|
||||
<svg |
||||
fill="none" |
||||
class={`${!show ? "block" : "hidden"} h-6 text-gray-700`} |
||||
on:click={toggle} |
||||
on:keypress={toggle} |
||||
xmlns="http://www.w3.org/2000/svg" |
||||
viewbox="0 0 640 512" |
||||
> |
||||
<path |
||||
fill="currentColor" |
||||
d="M320 400c-75.85 0-137.25-58.71-142.9-133.11L72.2 185.82c-13.79 17.3-26.48 35.59-36.72 55.59a32.35 32.35 0 0 0 0 29.19C89.71 376.41 197.07 448 320 448c26.91 0 52.87-4 77.89-10.46L346 397.39a144.13 144.13 0 0 1-26 2.61zm313.82 58.1l-110.55-85.44a331.25 331.25 0 0 0 81.25-102.07 32.35 32.35 0 0 0 0-29.19C550.29 135.59 442.93 64 320 64a308.15 308.15 0 0 0-147.32 37.7L45.46 3.37A16 16 0 0 0 23 6.18L3.37 31.45A16 16 0 0 0 6.18 53.9l588.36 454.73a16 16 0 0 0 22.46-2.81l19.64-25.27a16 16 0 0 0-2.82-22.45zm-183.72-142l-39.3-30.38A94.75 94.75 0 0 0 416 256a94.76 94.76 0 0 0-121.31-92.21A47.65 47.65 0 0 1 304 192a46.64 46.64 0 0 1-1.54 10l-73.61-56.89A142.31 142.31 0 0 1 320 112a143.92 143.92 0 0 1 144 144c0 21.63-5.29 41.79-13.9 60.11z" |
||||
> |
||||
</path> |
||||
</svg> |
||||
</div> |
||||
</div> |
@ -0,0 +1,38 @@ |
||||
<!-- |
||||
// Copyright (c) 2022-2024 Niko Bonnieure, Par le Peuple, NextGraph.org developers |
||||
// All rights reserved. |
||||
// Licensed under the Apache License, Version 2.0 |
||||
// <LICENSE-APACHE2 or http://www.apache.org/licenses/LICENSE-2.0> |
||||
// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>, |
||||
// at your option. All files in the project carrying such |
||||
// notice may not be copied, modified, or distributed except |
||||
// according to those terms. |
||||
--> |
||||
|
||||
<script lang="ts"> |
||||
export let className: string = ""; |
||||
export let color: string = "currentColor"; |
||||
export let width: number = 24; |
||||
</script> |
||||
|
||||
<svg |
||||
class={"animate-spin " + className} |
||||
xmlns="http://www.w3.org/2000/svg" |
||||
fill="none" |
||||
stroke={color} |
||||
viewBox={`0 0 ${width} ${width}`} |
||||
> |
||||
<circle |
||||
class="opacity-25" |
||||
cx={width / 2} |
||||
cy={width / 2} |
||||
r={width / 2.4} |
||||
stroke={color} |
||||
stroke-width={width / 6} |
||||
/> |
||||
<path |
||||
class="opacity-75" |
||||
fill={color} |
||||
d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z" |
||||
/> |
||||
</svg> |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 841 B |
@ -0,0 +1,187 @@ |
||||
<!-- |
||||
// Copyright (c) 2022-2024 Niko Bonnieure, Par le Peuple, NextGraph.org developers |
||||
// All rights reserved. |
||||
// Licensed under the Apache License, Version 2.0 |
||||
// <LICENSE-APACHE2 or http://www.apache.org/licenses/LICENSE-2.0> |
||||
// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>, |
||||
// at your option. All files in the project carrying such |
||||
// notice may not be copied, modified, or distributed except |
||||
// according to those terms. |
||||
--> |
||||
|
||||
<script lang="ts"> |
||||
import { |
||||
Icon, |
||||
BugAnt, |
||||
DocumentText, |
||||
Window, |
||||
CodeBracket, |
||||
SquaresPlus, |
||||
ViewfinderCircle, |
||||
ArrowsPointingOut, |
||||
Cube, |
||||
ClipboardDocumentCheck, |
||||
MagnifyingGlass, |
||||
RocketLaunch, |
||||
Sun, |
||||
TableCells, |
||||
ListBullet, |
||||
RectangleGroup, |
||||
Squares2x2, |
||||
MapPin, |
||||
CircleStack, |
||||
Envelope, |
||||
GlobeAlt, |
||||
DocumentChartBar, |
||||
Document, |
||||
ClipboardDocumentList, |
||||
Photo, |
||||
Film, |
||||
RectangleStack, |
||||
SpeakerWave, |
||||
MusicalNote, |
||||
Ticket, |
||||
CursorArrowRays, |
||||
Megaphone, |
||||
User, |
||||
Clock, |
||||
CalendarDays, |
||||
Calendar, |
||||
Stop, |
||||
Flag, |
||||
HandRaised, |
||||
Newspaper, |
||||
PencilSquare, |
||||
CubeTransparent, |
||||
PresentationChartBar, |
||||
QuestionMarkCircle, |
||||
CheckCircle, |
||||
ChartPie, |
||||
Bars3BottomLeft, |
||||
Link, |
||||
Square2Stack, |
||||
Clipboard, |
||||
StopCircle, |
||||
Bolt, |
||||
Heart, |
||||
Cog, |
||||
Square3Stack3d, |
||||
ChatBubbleLeftRight, |
||||
Fire, |
||||
ReceiptPercent, |
||||
ArrowTrendingUp, |
||||
CursorArrowRipple, |
||||
VideoCamera, |
||||
Variable, |
||||
Language, |
||||
QueueList, |
||||
} from "svelte-heros-v2"; |
||||
|
||||
import PdfIcon from "./PdfIcon.svelte"; |
||||
import BrailleIcon from "./BrailleIcon.svelte"; |
||||
import ChemistryIcon from "./ChemistryIcon.svelte"; |
||||
import GuitarIcon from "./GuitarIcon.svelte"; |
||||
import JsonIcon from "./JsonIcon.svelte"; |
||||
import JsIcon from "./JsIcon.svelte"; |
||||
import TsIcon from "./TsIcon.svelte"; |
||||
import RustIcon from "./RustIcon.svelte"; |
||||
import SvelteIcon from "./SvelteIcon.svelte"; |
||||
import ReactIcon from "./ReactIcon.svelte"; |
||||
|
||||
export let config = {}; |
||||
export let dataClass: string; |
||||
export let color = "currentColor"; |
||||
|
||||
const exact_mapping = { |
||||
page: Window, |
||||
"app": Cog, |
||||
"app:z": SquaresPlus, |
||||
class: ViewfinderCircle, |
||||
contract: ClipboardDocumentCheck, |
||||
"query:text": MagnifyingGlass, |
||||
"query:web": MagnifyingGlass, |
||||
"data:graph": Sun, |
||||
"data:json": JsonIcon, |
||||
"data:table": TableCells, |
||||
"data:collection": ListBullet, |
||||
"data:container": Square3Stack3d, |
||||
"data:board": RectangleGroup, |
||||
"data:grid": Squares2x2, |
||||
"data:geomap": MapPin, |
||||
"e:email": Envelope, |
||||
"e:link": Link, |
||||
"mc:text": Bars3BottomLeft, |
||||
"mc:link": Link, |
||||
"plato/card": Clipboard, |
||||
"plato/pad": Square2Stack, |
||||
"media:image": Photo, |
||||
"media:reel": VideoCamera, |
||||
"media:video": Film, |
||||
"media:album": RectangleStack, |
||||
"media:audio": SpeakerWave, |
||||
"media:song": MusicalNote, |
||||
"media:subtitle": Ticket, |
||||
"media:overlay": CursorArrowRays, |
||||
"social:channel": Megaphone, |
||||
"social:stream": Bolt, |
||||
"social:contact": User, |
||||
"social:event": Clock, |
||||
"social:calendar": CalendarDays, |
||||
"social:scheduler": Calendar, |
||||
"social:reaction": Heart, |
||||
"social:chatroom": ChatBubbleLeftRight, |
||||
"social:live": Fire, |
||||
"prod:task": Stop, |
||||
"prod:project": Flag, |
||||
"prod:issue": HandRaised, |
||||
"prod:form": Newspaper, |
||||
"prod:filling": PencilSquare, |
||||
"prod:cad": CubeTransparent, |
||||
"prod:slides": PresentationChartBar, |
||||
"prod:question": QuestionMarkCircle, |
||||
"prod:answer": CheckCircle, |
||||
"prod:poll": CursorArrowRipple, |
||||
"prod:vote": CheckCircle, |
||||
"prod:spreadsheet": ReceiptPercent, |
||||
"doc:compose": QueueList, |
||||
"doc:maths": Variable, |
||||
"doc:music:abc": MusicalNote, |
||||
"doc:pdf": PdfIcon, |
||||
"doc:braille": BrailleIcon, |
||||
"doc:ancientscript": Language, |
||||
"doc:chemistry": ChemistryIcon, |
||||
"doc:music:guitar": GuitarIcon, |
||||
"code:js": JsIcon, |
||||
"code:ts": TsIcon, |
||||
"code:rust": RustIcon, |
||||
"code:svelte": SvelteIcon, |
||||
"code:react": ReactIcon, |
||||
}; |
||||
|
||||
const prefix_mapping = { |
||||
"post:": DocumentText, |
||||
code: CodeBracket, |
||||
schema: ArrowsPointingOut, |
||||
service: Cube, |
||||
"e:": GlobeAlt, |
||||
"app:": StopCircle, |
||||
"query:": RocketLaunch, |
||||
"data:": CircleStack, |
||||
"doc:diagram": DocumentChartBar, |
||||
"doc:chart": ChartPie, |
||||
"doc:viz": ArrowTrendingUp, |
||||
"doc:": ClipboardDocumentList, |
||||
file: Document, |
||||
}; |
||||
|
||||
const find = (t) => { |
||||
let e = exact_mapping[t]; |
||||
if (e) return e; |
||||
for (let prefix of Object.entries(prefix_mapping)) { |
||||
if (t.startsWith(prefix[0])) return prefix[1]; |
||||
} |
||||
return BugAnt; |
||||
}; |
||||
</script> |
||||
|
||||
<Icon {...config} variation="outline" {color} icon={find(dataClass)} /> |
@ -0,0 +1,57 @@ |
||||
<!-- |
||||
// Copyright (c) 2022-2024 Niko Bonnieure, Par le Peuple, NextGraph.org developers |
||||
// All rights reserved. |
||||
// Licensed under the Apache License, Version 2.0 |
||||
// <LICENSE-APACHE2 or http://www.apache.org/licenses/LICENSE-2.0> |
||||
// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>, |
||||
// at your option. All files in the project carrying such |
||||
// notice may not be copied, modified, or distributed except |
||||
// according to those terms. |
||||
--> |
||||
|
||||
<!-- |
||||
@component DeviceIcon |
||||
Display an icon for a device class provided by the `device` attribute. |
||||
Pass `config` for custom attributes. |
||||
--> |
||||
|
||||
<script lang="ts"> |
||||
import { |
||||
Icon, |
||||
Cube, |
||||
GlobeAlt, |
||||
QuestionMarkCircle, |
||||
DevicePhoneMobile, |
||||
ComputerDesktop, |
||||
ServerStack, |
||||
Key, |
||||
CommandLine, |
||||
} from "svelte-heros-v2"; |
||||
|
||||
export let config = {}; |
||||
export let device: string; |
||||
|
||||
const mapping = { |
||||
Web: GlobeAlt, |
||||
NativeIos: DevicePhoneMobile, |
||||
NativeAndroid: DevicePhoneMobile, |
||||
NativeMacOS: ComputerDesktop, |
||||
NativeLinux: ComputerDesktop, |
||||
NativeWin: ComputerDesktop, |
||||
NativeService: ServerStack, |
||||
NodeService: ServerStack, |
||||
Verifier: ServerStack, |
||||
VerifierLocal: ServerStack, |
||||
ClientBroker: ServerStack, |
||||
WalletMaster: ServerStack, |
||||
Box: Cube, |
||||
Stick: Key, // VerifierStick |
||||
Cli: CommandLine, |
||||
}; |
||||
|
||||
const find = (dataClass: string) => { |
||||
return mapping[dataClass] || QuestionMarkCircle; |
||||
}; |
||||
</script> |
||||
|
||||
<Icon {...config} variation="outline" color="black" icon={find(device)} /> |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 665 B |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 725 B |
@ -0,0 +1,64 @@ |
||||
<!-- |
||||
// Copyright (c) 2022-2024 Niko Bonnieure, Par le Peuple, NextGraph.org developers |
||||
// All rights reserved. |
||||
// Licensed under the Apache License, Version 2.0 |
||||
// <LICENSE-APACHE2 or http://www.apache.org/licenses/LICENSE-2.0> |
||||
// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>, |
||||
// at your option. All files in the project carrying such |
||||
// notice may not be copied, modified, or distributed except |
||||
// according to those terms. |
||||
--> |
||||
|
||||
<!-- |
||||
@component DeviceIcon |
||||
Display an icon for a device class provided by the `device` attribute. |
||||
Pass `config` for custom attributes. |
||||
--> |
||||
|
||||
<script lang="ts"> |
||||
import { |
||||
Icon, |
||||
Bolt, |
||||
Megaphone, |
||||
QuestionMarkCircle, |
||||
ExclamationCircle, |
||||
Key, |
||||
LockClosed, |
||||
GlobeAlt, |
||||
UserGroup, |
||||
PaperAirplane, |
||||
} from "svelte-heros-v2"; |
||||
|
||||
import DataClassIcon from "./DataClassIcon.svelte"; |
||||
|
||||
export let config = {}; |
||||
export let img: string; |
||||
|
||||
const mapping = { |
||||
stream: Bolt, |
||||
channel: Megaphone, |
||||
private: Key, |
||||
protected: LockClosed, |
||||
public: GlobeAlt, |
||||
group: UserGroup, |
||||
dialog: PaperAirplane, |
||||
unknown_doc: ExclamationCircle, |
||||
}; |
||||
|
||||
const find = (dataClass: string) => { |
||||
return mapping[dataClass] || QuestionMarkCircle; |
||||
}; |
||||
</script> |
||||
|
||||
{#if img.startsWith("blob:")} |
||||
<img style="aspect-ratio:1;" class="rounded-full" src={img} alt="profile"/> |
||||
{:else if img.startsWith("class:")} |
||||
<DataClassIcon {config} dataClass={img.slice(6)} /> |
||||
{:else if img.startsWith("nav:")} |
||||
<Icon {...config} variation="outline" color="currentColor" icon={find(img.slice(4))} /> |
||||
{:else} |
||||
<QuestionMarkCircle {...config}/> |
||||
{/if} |
||||
|
||||
|
||||
|
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 429 B |
@ -0,0 +1,238 @@ |
||||
<!-- |
||||
// Copyright (c) 2022-2024 Niko Bonnieure, Par le Peuple, NextGraph.org developers |
||||
// All rights reserved. |
||||
// Licensed under the Apache License, Version 2.0 |
||||
// <LICENSE-APACHE2 or http://www.apache.org/licenses/LICENSE-2.0> |
||||
// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>, |
||||
// at your option. All files in the project carrying such |
||||
// notice may not be copied, modified, or distributed except |
||||
// according to those terms. |
||||
--> |
||||
|
||||
<script lang="ts"> |
||||
import ng from "../../api"; |
||||
import { |
||||
branch_subscribe, |
||||
active_session, |
||||
online, |
||||
get_blob, |
||||
} from "../../store"; |
||||
import { cur_tab } from "../../tab"; |
||||
import { |
||||
ExclamationTriangle, |
||||
ArrowDownTray, |
||||
ArrowUpTray, |
||||
} from "svelte-heros-v2"; |
||||
|
||||
import { onMount, onDestroy, tick } from "svelte"; |
||||
import { Button, Progressbar, Spinner } from "flowbite-svelte"; |
||||
import { t } from "svelte-i18n"; |
||||
let is_tauri = import.meta.env.TAURI_PLATFORM; |
||||
|
||||
let upload_progress: null | { total: number; current: number; error?: any } = null; |
||||
|
||||
let commits = $active_session && branch_subscribe($cur_tab.branch.nuri, false); |
||||
let fileinput; |
||||
|
||||
let file_urls = {}; |
||||
const prepare_url = (nuri) => { |
||||
if (!file_urls[nuri]) { |
||||
file_urls[nuri] = { |
||||
click: false |
||||
}; |
||||
} |
||||
return true; |
||||
} |
||||
|
||||
const download = async (file) => { |
||||
if (is_tauri) { |
||||
await ng.file_save_to_downloads($active_session.session_id, file.reference, file.name, "did:ng:"+$cur_tab.branch.nuri); |
||||
} else { |
||||
file_urls[file.nuri].url = await get_blob(file, false); |
||||
//console.log(file.name); |
||||
//console.log(file_urls[file.nuri].click); |
||||
await tick(); |
||||
file_urls[file.nuri].click.click(); |
||||
} |
||||
} |
||||
|
||||
const isImage = async (url) : Promise<boolean> => { |
||||
if ( typeof url === 'string' ) { |
||||
let blob = await fetch(url).then(r => r.blob()); |
||||
return blob.type.startsWith("image/"); |
||||
} |
||||
return false; |
||||
} |
||||
|
||||
function uploadFile(upload_id, nuri, file, success) { |
||||
console.log(nuri); |
||||
let chunkSize = 1_048_564; |
||||
let fileSize = file.size; |
||||
let offset = 0; |
||||
let readBlock = null; |
||||
upload_progress = { total: fileSize, current: offset }; |
||||
|
||||
let onLoadHandler = async function (event) { |
||||
let result = event.target.result; |
||||
|
||||
if (event.target.error == null) { |
||||
offset += result.byteLength; |
||||
upload_progress = { total: fileSize, current: offset }; |
||||
|
||||
// console.log("chunk", result); |
||||
|
||||
let res = await ng.upload_chunk( |
||||
$active_session.session_id, |
||||
upload_id, |
||||
result, |
||||
nuri |
||||
); |
||||
//console.log("chunk upload res", res); |
||||
// if (onChunkRead) { |
||||
// onChunkRead(result); |
||||
// } |
||||
} else { |
||||
// if (onChunkError) { |
||||
// onChunkError(event.target.error); |
||||
// } |
||||
return; |
||||
} |
||||
|
||||
// If finished: |
||||
if (offset >= fileSize) { |
||||
//console.log("file uploaded"); |
||||
let res = await ng.upload_chunk( |
||||
$active_session.session_id, |
||||
upload_id, |
||||
[], |
||||
nuri |
||||
); |
||||
//console.log("end upload res", res); |
||||
if (success) { |
||||
upload_progress = { total: fileSize, current: fileSize }; |
||||
success(res); |
||||
} else { |
||||
upload_progress = { total: fileSize, current: fileSize, error: true }; |
||||
} |
||||
|
||||
// Make progress bar disappear |
||||
setTimeout(() => { |
||||
upload_progress = null; |
||||
}, 1_000); |
||||
return; |
||||
} |
||||
|
||||
readBlock(offset, chunkSize, file); |
||||
}; |
||||
|
||||
readBlock = function (offset, length, file) { |
||||
let fileReader = new FileReader(); |
||||
let blob = file.slice(offset, length + offset); |
||||
fileReader.onload = onLoadHandler; |
||||
fileReader.readAsArrayBuffer(blob); |
||||
}; |
||||
|
||||
readBlock(offset, chunkSize, file); |
||||
return; |
||||
} |
||||
|
||||
const onFileSelected = async (e) => { |
||||
let image = e.target.files[0]; |
||||
if (!image) return; |
||||
//console.log(image.type); |
||||
|
||||
let start_request_payload = { |
||||
RandomAccessFilePut: image.type, |
||||
}; |
||||
let nuri = "did:ng:"+$cur_tab.branch.nuri; |
||||
let start_res = await ng.app_request_with_nuri_command(nuri, "FilePut", $active_session.session_id, start_request_payload); |
||||
let upload_id = start_res.V0.FileUploading; |
||||
|
||||
uploadFile(upload_id, nuri, image, async (reference) => { |
||||
if (reference) { |
||||
let file_put_payload = { |
||||
AddFile: { |
||||
filename: image.name, |
||||
object: reference.V0.FileUploaded, |
||||
}, |
||||
}; |
||||
await ng.app_request_with_nuri_command(nuri, "FilePut", $active_session.session_id, file_put_payload); |
||||
} |
||||
}); |
||||
fileinput.value = ""; |
||||
}; |
||||
|
||||
</script> |
||||
|
||||
|
||||
<div class="w-full"> |
||||
{#if $cur_tab.doc.can_edit} |
||||
<div class="row pt-2 w-full"> |
||||
|
||||
<Button |
||||
disabled={!$online && !is_tauri} |
||||
type="button" |
||||
on:click={() => { |
||||
fileinput.click(); |
||||
}} |
||||
class="text-white bg-primary-700 hover:bg-primary-700/90 focus:ring-4 focus:ring-primary-700/50 font-medium rounded-lg text-lg px-5 py-2.5 text-center inline-flex items-center dark:focus:ring-primary-700/55 mr-2 mb-2" |
||||
> |
||||
<ArrowUpTray class="w-8 h-8 mr-2 -ml-1"/> |
||||
{$t("doc.file.upload")} |
||||
</Button> |
||||
<input |
||||
style="display:none" |
||||
type="file" |
||||
on:change={(e) => onFileSelected(e)} |
||||
bind:this={fileinput} |
||||
/> |
||||
</div> |
||||
{/if} |
||||
{#if upload_progress !== null} |
||||
<div class="mx-6 mt-2"> |
||||
<Progressbar |
||||
progress={( |
||||
(100 * upload_progress.current) / |
||||
upload_progress.total |
||||
).toFixed(0)} |
||||
labelOutside={$t("doc.file.upload_progress")} |
||||
/> |
||||
</div> |
||||
{/if} |
||||
{#if commits} |
||||
{#await commits.load()} |
||||
<p>{$t("connectivity.loading")}...</p> |
||||
{:then} |
||||
{#each $commits.files as file} |
||||
<p class="mb-5"> |
||||
|
||||
{#await get_blob(file, true)} |
||||
<div class="ml-2"> |
||||
<Spinner /> |
||||
</div> |
||||
{:then url} |
||||
{#await isImage(url) then is} |
||||
{#if is} |
||||
<img src={url} title={file.nuri} alt={file.name} /> |
||||
{/if} |
||||
{/await} |
||||
<span class="ml-2 text-gray-600">{file.name}<br/></span> |
||||
{#if url === false} |
||||
<span><ExclamationTriangle tabindex="-1" class="ml-2 w-6 h-8 focus:outline-none" style="display:inline"/>{$t("errors.cannot_load_this_file")}</span> |
||||
{:else if prepare_url(file.nuri)} |
||||
<a bind:this={file_urls[file.nuri].click} |
||||
href={file_urls[file.nuri].url || ""} |
||||
target="_blank" |
||||
download={file.name} |
||||
></a> |
||||
<button class="ml-2 select-none p-1 pb-0 pt-0 text-gray-600" style="box-shadow:none;" on:click={()=>download(file)}> |
||||
<span><ArrowDownTray tabindex="-1" class="w-6 h-8 mr-3 focus:outline-none" style="display:inline"/>{$t("doc.file.download")}</span> |
||||
</button> |
||||
{/if} |
||||
{/await} |
||||
</p> |
||||
{/each} |
||||
{/await} |
||||
{/if} |
||||
|
||||
</div> |
@ -0,0 +1,155 @@ |
||||
<!-- |
||||
// Copyright (c) 2022-2024 Niko Bonnieure, Par le Peuple, NextGraph.org developers |
||||
// All rights reserved. |
||||
// Licensed under the Apache License, Version 2.0 |
||||
// <LICENSE-APACHE2 or http://www.apache.org/licenses/LICENSE-2.0> |
||||
// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>, |
||||
// at your option. All files in the project carrying such |
||||
// notice may not be copied, modified, or distributed except |
||||
// according to those terms. |
||||
--> |
||||
|
||||
<script lang="ts"> |
||||
import { |
||||
branch_subscribe, |
||||
active_session, |
||||
} from "../../store"; |
||||
import { get } from "svelte/store"; |
||||
import { onMount, onDestroy, tick } from "svelte"; |
||||
import { |
||||
Sun, |
||||
Cloud, |
||||
DocumentPlus, |
||||
DocumentMinus, |
||||
CircleStack, |
||||
Funnel, |
||||
FingerPrint, |
||||
Key, |
||||
Cog, |
||||
Icon, |
||||
ShieldCheck, |
||||
} from "svelte-heros-v2"; |
||||
import BranchIcon from "../icons/BranchIcon.svelte"; |
||||
|
||||
import { t } from "svelte-i18n"; |
||||
import { Button, Progressbar, Spinner, Alert } from "flowbite-svelte"; |
||||
import { cur_tab } from "../../tab"; |
||||
import ng from "../../api"; |
||||
|
||||
import { |
||||
createGitgraph, |
||||
templateExtend, |
||||
TemplateName, |
||||
} from "./history/gitgraph-js/gitgraph"; |
||||
|
||||
let gitgraph; |
||||
let history = []; |
||||
let unsub = () => {}; |
||||
|
||||
onMount(async ()=>{ |
||||
setTimeout(async()=> { |
||||
const graphContainer = document.getElementById("graph-container"); |
||||
gitgraph = createGitgraph(graphContainer, { |
||||
template: templateExtend(TemplateName.Metro, { |
||||
branch: { label: { display: false } }, |
||||
commit: { message: { displayAuthor: false, displayHash: false } }, |
||||
}), |
||||
}); |
||||
let res = await ng.branch_history($active_session.session_id, "did:ng:"+$cur_tab.branch.nuri); |
||||
// for (const h of res.history) { |
||||
// console.log(h[0], h[1]); |
||||
// } |
||||
//console.log(res.swimlane_state); |
||||
history = [...res.history].reverse(); |
||||
|
||||
gitgraph.swimlanes(res.swimlane_state.map((s)=> s || false)); |
||||
gitgraph.import(res.history.map((h)=>{return { |
||||
hash:h[0], |
||||
branch:h[1].branch, |
||||
author:h[1].author, |
||||
parents:h[1].past, |
||||
x:h[1].x, |
||||
y:h[1].y, |
||||
subject:h[1].timestamp, |
||||
onClick:()=>openCommit(h[0]), |
||||
onMessageClick:()=>openCommit(h[0]) |
||||
};})); |
||||
|
||||
let branch = branch_subscribe($cur_tab.branch.nuri,false); |
||||
unsub(); |
||||
unsub = branch.subscribe((b) => { |
||||
//console.log("subscription callbak",b.history.commits); |
||||
if (Array.isArray(b.history.commits)) { |
||||
for (var h; h = b.history.commits.pop(); ) { |
||||
//console.log(h); |
||||
history.unshift(h); |
||||
history = history; |
||||
gitgraph.commit({ |
||||
hash: h[0], |
||||
author:h[1].author, |
||||
parents:h[1].past, |
||||
subject:h[1].timestamp, |
||||
onClick:()=>openCommit(h[0]), |
||||
onMessageClick:()=>openCommit(h[0]) |
||||
}); |
||||
} |
||||
} |
||||
}); |
||||
get(branch).history.start(); |
||||
},1); |
||||
}); |
||||
|
||||
onDestroy( ()=>{ |
||||
let branch = branch_subscribe($cur_tab.branch.nuri,false); |
||||
get(branch).history.stop(); |
||||
unsub(); |
||||
}); |
||||
|
||||
const openCommit = (id:string) => { |
||||
console.log("open commit",id); |
||||
} |
||||
|
||||
const commit_type_icons = { |
||||
"TransactionGraph": Sun, |
||||
"TransactionDiscrete": Cloud, |
||||
"TransactionBoth": Sun, |
||||
"FileAdd": DocumentPlus, |
||||
"FileRemove": DocumentMinus, |
||||
"Snapshot": CircleStack, |
||||
"Compact": Funnel, |
||||
"AsyncSignature": FingerPrint, |
||||
"SyncSignature": FingerPrint, |
||||
"Branch": BranchIcon, |
||||
"UpdateBranch": BranchIcon, |
||||
"BranchCapRefresh": Key, |
||||
"CapRefreshed": Key, |
||||
"Other": Cog, |
||||
}; |
||||
|
||||
</script> |
||||
|
||||
<div style="width:120px; min-width:120px;font-family: monospace; font: Courier; font-size:16px;"> |
||||
|
||||
{#each history as commit} |
||||
|
||||
<div class="w-full commit relative text-gray-500" style="height:60px;" role="button" title={commit[0]} tabindex=0 on:click={()=>openCommit(commit[0])} on:keypress={()=>openCommit(commit[0])}> |
||||
{#if commit[1].final_consistency}<ShieldCheck tabindex="-1" class="w-5 h-5 absolute text-primary-600" style="top:9px;right:20px;" /> |
||||
{:else if commit[1].signature}<ShieldCheck tabindex="-1" class="w-5 h-5 absolute text-green-600" style="top:9px;right:20px;" /> |
||||
{/if} |
||||
<Icon tabindex="-1" class="w-5 h-5 focus:outline-none absolute " style="top:9px;right:0px;" variation="outline" color="currentColor" icon={commit_type_icons[commit[1].commit_type]} /> |
||||
{#if commit[1].commit_type==="TransactionBoth"}<Cloud tabindex="-1" class="w-5 h-5 absolute " style="top:28px;right:0px;" />{/if} |
||||
<b>{commit[0].substring(0,7)}</b><br/> |
||||
<span class="text-xs leading-tight">{commit[1].author.substring(0,9)}</span> |
||||
</div> |
||||
|
||||
{/each} |
||||
|
||||
</div> |
||||
|
||||
<div style="cursor:pointer;" id="graph-container"></div> |
||||
|
||||
<style> |
||||
.commit { |
||||
padding: 8px; |
||||
} |
||||
</style> |
@ -0,0 +1,600 @@ |
||||
{ |
||||
"pages": { |
||||
"not_found": { |
||||
"title": "Seite nicht gefunden", |
||||
"message": "Die gesuchte Seite existiert nicht." |
||||
}, |
||||
"user_panel": { |
||||
"title": "Nutzerbereich", |
||||
"personal": "Privat" |
||||
}, |
||||
"user_registered": { |
||||
"success": "Registrierung erfolgreich.", |
||||
"success_with_invitation": "Du wurdest erfolgreich für {invitation_name} registriert." |
||||
}, |
||||
"wallet_info": { |
||||
"title": "Dein Wallet", |
||||
"download": "Wallet downloaden", |
||||
"download_failed": "Download fehlgeschlagen:<br/>{error}", |
||||
"download_in_progress": "Download läuft...", |
||||
"download_successful": "Das Wallet wurde gespeichert unter: \"{wallet_file}\".", |
||||
"download_file_button": "Klicken zum Download des Wallets", |
||||
"remove_wallet": "Wallet vom Gerät entfernen", |
||||
"remove_wallet_modal.title": "Wirklich entfernen?", |
||||
"remove_wallet_modal.confirm": "Bist du sicher, dass du das Wallet vom Gerät entfernen möchtest?", |
||||
"create_text_code": "Export: TextCode erstellen", |
||||
"scan_qr.title": "Export: QR-Code scannen", |
||||
"scan_qr.notes": "Scanne einen QR-Code vom Gerät, auf das du dich anmelden möchtest.", |
||||
"scan_qr.scanner.title": "QR-Code Scannen für Wallet-Export", |
||||
"scan_qr.scanner.loading": "QR-Scanner wird geladen", |
||||
"scan_qr.syncing": "Wallet wird übertragen", |
||||
"scan_qr.scan_successful": "Erfolg!<br />Du kannst dich nun auf dem neuen Gerät anmelden.", |
||||
"gen_qr.title": "Export: QR-Code erstellen", |
||||
"gen_qr.notes": "Scanne den QR-Code auf dem Gerät, auf dem du dich anmelden möchtest.", |
||||
"gen_qr.img_title": "Dein Export-QR-Code", |
||||
"gen_qr.img_alt": "Dein Export QR-Code zum Scannen", |
||||
"gen_qr.gen_button": "QR-Code laden", |
||||
"gen_text_code.title": "Wallet mit TextCode übertragen", |
||||
"gen_text_code.gen_btn": "TextCode erstellen", |
||||
"gen_text_code.label": "Dein TextCode:" |
||||
}, |
||||
"settings": { |
||||
"title": "Einstellungen" |
||||
}, |
||||
"admin": { |
||||
"title": "Admin" |
||||
}, |
||||
"accounts": { |
||||
"title": "Konten" |
||||
}, |
||||
"full_layout": { |
||||
"home": "Startseite", |
||||
"stream": "Stream", |
||||
"search": "Suche", |
||||
"create": "Erstellen", |
||||
"shared": "Mit mir geteilt", |
||||
"site": "Seite", |
||||
"messages": "Nachrichten", |
||||
"notifications": "Benachrichtigungen" |
||||
}, |
||||
"install": { |
||||
"app_availability": "<b>NextGraph App</b> gibt es zum Download für dein Handy, Tablet, Laptop, PC und Mac.<br />Egal ob iOS, Android, Linux, macOS, Windows oder eine andere Platform, die einen modernen Web-Browser unterstützt.", |
||||
"has_wallet_warning": "A wallet is saved in this browser. If it is yours,<br /> once the installation of the app will be finished,<br /> choose the option \"Login\" on the app.<br /> (do not create another wallet from the app).", |
||||
"android_play_store": "Android Play Store", |
||||
"download_apk": "Download APK", |
||||
"ios_app_store": "iOS App Store", |
||||
"download_mac_os": "Download für MacOS", |
||||
"download_linux": "Download als Linux Package", |
||||
"download_windows": "Download für Windows", |
||||
"other_platforms": "Andere Plattformen" |
||||
}, |
||||
"no_wallet": { |
||||
"welcome": "Willkommen bei NextGraph", |
||||
"description": "Auf diesen Gerät scheint es noch kein Wallet zu geben.<br />Wenn du bereits ein Wallet hast, wähle \"Anmelden\". Andernfalls wähle \"Wallet erstellen\".", |
||||
"create_wallet": "Wallet erstellen" |
||||
}, |
||||
"login": { |
||||
"heading": "Wie öffente ich mein Wallet? Es gibt zwei Optionen:", |
||||
"with_pazzle": "Mit deinem Pazzle", |
||||
"pazzle_steps": { |
||||
"1": "Unter 9 Emoji-Kategorien bekommst du je 15 Emoji-Bilder angezeigt. Die Kategorien werden dir bei jedem Login zur Sicherheit in zufälliger Reihenfolge gezeigt.", |
||||
"2": "Zu jeder Kategorie gehört dir genau ein Emoji. Klicke oder tippe dieses an. Die 15 Emojis werden dir ebenfalls in zufälliger Reihenfolge angezeigt. Auf Computern kannst du zum Wählen der Emojis auch die Tab und die Leertaste nutzen.", |
||||
"3": "Sobald du in allen Kategorien dein Emoji ausgewählt hast, musst du die richtige Reihenfolge angeben.", |
||||
"4": "Diese wurde dir beim Erstellen deines Wallets mitgegeben. Klicke oder tippe die Emojis in der richtigen Reihenfolge an. Nach dem Auswählen eines Emojis wird dieses grau und die Zahl in der Reihenfolge wird angezeigt.", |
||||
"5": "Wähle das zweite, dritte, ... Emoji der Reihe nach aus, bis alle ausgewählt wurden.", |
||||
"6": "Zuletzt musst du deinen Pin eingeben. Klicke oder tippe dafür auf die Pin-Zahlen." |
||||
}, |
||||
"with_mnemonic": "Mit deiner 12-Wort-Mnemonik (Passphrase)", |
||||
"mnemonic_steps": { |
||||
"1": "Gib deine 12-wortige Mnemonik in das Eingabefeld ein. Die Wörter müssen mit Leerzeichen getrennt sein.", |
||||
"2": "Gib anschließend den PIN ein, den du beim Erstellen deines Wallet gewählt hast." |
||||
}, |
||||
"trust_device_allow_cookies": "Mit dieser Option stimmst du dem Speichern von Cookies zu.", |
||||
"trust_device_yes": "Yes, speichere das Wallet auf diesem Gerät", |
||||
"device_name_label": "Name des Geräts. Du kannst ihn hier ändern", |
||||
"device_name_placeholder": "Gerätename", |
||||
"loading_pazzle": "Pazzle wird geladen", |
||||
"open_with_pazzle": "Mit Pazzle öffnen", |
||||
"login_cancel": "Login abbrechen", |
||||
"open_with_mnemonic": "Mit Mnemonik öffnen", |
||||
"enter_mnemonic": "Enter your 12 words mnemonic", |
||||
"mnemonic_placeholder": "12 Wörter mit Leerzeichen getrennt", |
||||
"select_emoji": "Wähle dein Bild für die Kategorie:<br />{category}", |
||||
"order_emojis": "Wähle die Bilder in der richtigen Reihenfolge", |
||||
"enter_pin": "Gib deinen PIN ein", |
||||
"opening_wallet": "Wallet wird geöffnet...<br />Bitte warten", |
||||
"wallet_opened": "Dein Wallet is geöffnet! <br />Die App wird geladen...", |
||||
"qr_code": "Wallet QR-Code", |
||||
"qr_modal_title": "Mein Wallet QQ-Code", |
||||
"qr_modal_description": "Nutze diesen QR-Code, um dich auf anderen Geräten anzumelden", |
||||
"keep_wallet": "Auf Gerät speichern, um dich später wieder anmelden zu können." |
||||
}, |
||||
"account_info": { |
||||
"title": "Deine Konten", |
||||
"site": "{name} Account", |
||||
"devices": "Geräte", |
||||
"brokers": "Broker", |
||||
"no_brokers_connected": "Keine Broker verbunden" |
||||
}, |
||||
"wallet_create": { |
||||
"redirecting_to_registration_page": "Du wirst zur Brokerregistrierungsseite weitergeleitet", |
||||
"complete_in_popup": "Schließe die Registrierung im Popup ab", |
||||
"own_your_ngbox": "Mit NG-Box selbst hosten", |
||||
"self-host_broker": "Broker selbst hosten", |
||||
"tos_ng_one": "AGB NextGraph.one", |
||||
"wallet_description": "Ein <b>NextGraph Wallet</b> ist für jede Person einzigartig. Es speichert deine Anmeldedaten und Berechtigungen für den Zugriff auf Dokumente. Du benötigst eines, um NextGraph nutzen zu können.<br /><br />Falls du bereits ein Wallet hast, solltest du kein neues erstellen. <a href=\"#/wallet/login\">Melden dich stattdessen hier mit deinem bestehenden Wallet an.</a> Wenn du noch kein NextGraph Wallet besitzt, folge bitte den nachstehenden Anweisungen, um dein persönliches Wallet zu erstellen.", |
||||
"has_wallet": "Es sind bereits Wallets auf diesem Gerät gespeichert.<br />Um dich mit einem davon anzumelden, <a href=\"#/wallet/login\" use:link>klicke hier.</a>", |
||||
|
||||
"wallet_about": { |
||||
"title": "Was ist ein Wallet?", |
||||
"please_read": "Bitte lesen", |
||||
"1": "Dein Wallet ist eine sichere und verschlüsselte kleine Datei, die wichtige Informationen enthält, auf die nur du Zugriff haben sollten.", |
||||
"2": "In deinem Wallet werden alle Berechtigungen gespeichert für den Zugriff auf Dokumente, die dir gewährt wurden oder die du selbst erstellt hast.", |
||||
"3": "Um es zu öffnen, musst du dein <b>Pazzle</b> und einen <b>PIN</b> aus 4 Ziffern eingeben. Deom persönliches Pazzle (eine Kombination aus Puzzle und Passwort) besteht aus 9 Emoji-Bildern, die du dir merken musst. Die Reihenfolge der Bilder ist ebenfalls wichtig.", |
||||
"4": "Keine Sorge, es ist einfacher, sich 9 Emojis zu merken als ein Passwort wie \"69$g&ms%C*%\", und es hat die gleiche Sicherheits-Stärke wie ein komplexes Passwort. Die Entropie deines Pazzles beträgt <b>66 Bits</b>, was nach allen Standards als sehr hoch gilt.", |
||||
"5": "Du solltest <b>nicht mehrere Wallets für dich selbst erstellen</b>. Alle deine Konten, Identitäten und Berechtigungen werden deinem einzigartigen Wallet später hinzugefügt. Erstelle kein weiteres Wallet, wenn du bereits eins besitzt. Du kannst stattdessen dein bestehendes Wallet in alle Apps und Websites <b>importieren</b>, in denen du es benötigst.", |
||||
"6": "Dein Wallet kann mit Hilfe einer kleinen Datei, die herunterlädst, oder mit einem QR-Code importiert werden. In jedem Fall solltest du diese Datei oder den QR-Code niemals mit jemand anderem teilen.", |
||||
"7": "Wir bei NextGraph werden den Inhalt Ihres Wallets nie sehen. Es ist verschlüsselt und wir kennen Ihr Pazzle nicht, daher können wir nicht sehen, was sich darin befindet.", |
||||
"8": "Aus dem gleichen Grund können wir dir nicht helfen, wenn du dein Pazzle oder deinen PIN-Code vergessen hast oder du deine Wallet-Datei verlierst. <span class=\"text-bold\">Es gibt in diesem Fall keine Option zur \"Passwort-Wiederherstellung\"</span>. Du kannst dein Pazzle auf einem Stück Papier notieren, bis du es dir gemerkt hast, aber vergesse nicht, es zu vernichten sobald du es dir sehr sicher eingeprägt hast." |
||||
}, |
||||
"create_wallet_now": "Ich erstelle jetzt mein Wallet!", |
||||
"select_server": "NextGraph basiert auf einem effizienten dezentralen P2P-Netzwerk, und um diesem Netzwerk beizutreten und die App zu nutzen, musst du zunächst einen <b>Broker-Server</b> auswählen.", |
||||
"broker_about": { |
||||
"title": "Was ist ein Broker?", |
||||
"please_read": "Bitte lesen", |
||||
"1": "Der Broker hilft dir, alle deine Daten <b>synchron</b> zu halten, da er 24/7 mit dem Internet verbunden ist und eine Kopie der Aktualisierungen für dich aufbewahrt. Auf diese Weise kannst du dir auch dann die Änderungen von anderen sehen, wenn deren Geräte offline sind.", |
||||
"2": "Alle deine Daten sind sicher und <b>Ende-zu-Ende verschlüsselt</b>, und der Broker kann den Inhalt der Dokumente nicht sehen, da er nicht über die Schlüssel zu deren Entschlüsselung verfügt.", |
||||
"3": "Der Broker hilft dir, deine <b>Privatsphäre</b> zu wahren, indem er deine Internetadresse (IP) vor anderen verbirgt, mit denen du Dokumente teilst.", |
||||
"4": "In Zukunft wird es möglich sein, NextGraph alternativ auch ohne Broker zu nutzen und direkte Verbindungen zwischen Geräten herzustellen, aber dies wird eine weniger reibungslose Erfahrung zur Folge haben.", |
||||
"5": "Du kannst jederzeit beschließen, zu einem anderen Broker-Dienstanbieter zu wechseln oder selbst zu hosten. Deine Daten sind vollständig <b>portabel</b> und können frei zu einem anderen Broker verschoben werden.", |
||||
"6": "Bald werden wir die Möglichkeit bieten, deinen eigenen Broker <b>zuhause</b> oder im <b>Büro</b> zu hosten. Anstatt einen \"Broker-Dienstanbieter\" zu nutzen, besitzt du dann ein kleines Gerät, das du hinter deinen Internet-Router anschließt. Es heißt <b>NG Box</b> und ist in Kürze erhältlich.", |
||||
"7": "Organisationen und Unternehmen haben die Möglichkeit, einen Broker <b>vor Ort</b> oder in der <b>Cloud</b> zu hosten, da die Software Open Source ist. Einzelpersonen können auch einen Broker auf jedem VPS-Server oder zu Hause auf ihrer eigenen Hardware <b>selbst hosten</b>." |
||||
}, |
||||
|
||||
"choose_broker": "Bitte wähle einen Broker aus der Liste", |
||||
"register_with_broker": "Beim Broker {broker} registrieren", |
||||
"for_eu_citizens": "Bürger der Europäischen Union", |
||||
"for_rest": "Für den Rest der Welt", |
||||
"enter_invite_link": "Gib einen Einladungslink ein", |
||||
"scan_invite_qr": "Scanne einen Einladungs-QR-Code", |
||||
"self_hosted_broker": "Selbst gehosteter Broker", |
||||
"ng_box": "NG Box (im Besitz oder eingeladen)", |
||||
"registration_success": "Du wurdest erfolgreich bei {broker} registriert", |
||||
"choose_pin": { |
||||
"title": "Beginne mit dem Erstellen deines Wallets und wähle einen PIN", |
||||
"description": "Wir empfehlen, einen PIN zu wählen, den du bereits sehr gut kennst.<br /> Dein Kreditkarten-PIN ist zum Beispiel eine gute Wahl.<br />Wir bei NextGraph werden deinen PIN niemals sehen.", |
||||
"rules": "Hier sind die Regeln für den PIN:", |
||||
"1": "Er darf keine Zahlenfolge wie 1234 oder 8765 sein.", |
||||
"2": "Die gleiche Ziffer darf nicht mehr als einmal wiederholt werden. Zum Beispiel ist 4484 ungültig.", |
||||
"3": "Versuche, Geburtsdaten, letzte Ziffern von Telefonnummern oder Postleitzahlen zu vermeiden" |
||||
}, |
||||
"chosen_pin": "Dein gewählter PIN:", |
||||
"confirm_pin": "Bitte bestätigen.", |
||||
"confirm_pin_description": "Gib den gleichen PIN erneut ein.", |
||||
"pin_confirmed_as": "Dein bestätigter PIN: ", |
||||
"choose_security_phrase_and_image": { |
||||
"title": "Wähle als nächstes ein Sicherheitssatz und -bild", |
||||
"description": "Um dein Wallet zu erkennen, wird dir beim Öffnen dein Sicherheitssatz und dein Sicherheitsbild gezeigt. Wenn du also dein Pazzle und PIN eingibst, achte darauf, dass Sicherheitssatz und -bild stimmen.", |
||||
"warning": "Wenn du dein Wallet öffnen willst und nicht dein Sicherheitssatz und -bild siehst (oder ein falsches), brich den Vorgang ab. So vermeidest du, Opfer von Phishing-Angriffen zu werden.", |
||||
"rules_title": "Beachte die folgenden Regeln für Sicherheitssatz- und Passwort:", |
||||
"1": "Der Sicherheitssatz sollte mindestens 10 Zeichen lang sein.", |
||||
"2": "Er sollte etwas sein, das du dir merken kannst, aber nichts zu Persönliches.", |
||||
"3": "Gib nicht deinen vollständigen Namen, deine Adresse oder Telefonnummer ein.", |
||||
"4": "Stattdessen kannst du ein Zitat, einen kurzen Satz, den du magst, oder etwas für andere Bedeutungsloses, aber für dich Einzigartiges eingeben.", |
||||
"5": "Das Bild sollte mindestens 150x150px groß sein. Es muss nicht größer als 400x400px sein, da es ohnehin verkleinert wird.", |
||||
"6": "Wir akzeptieren verschiedene Formate wie JPEG, PNG, GIF, WEBP und mehr.", |
||||
"7": "Das Bild sollte für dich einzigartig sein. Es sollte aber auch nicht zu persönlich sein.", |
||||
"8": "Lade kein Bild von deinem Gesicht hoch, dies ist kein Profilbild.", |
||||
"9": "Am besten wäre eine Landschaft, die du magst, oder ein anderes Bild, das du als einzigartig erkennst.", |
||||
"10": "Bitte beachte, dass andere Personen, die dieses Gerät mit dir teilen, in der Lage sein werden, dieses Bild und den Satz zu sehen." |
||||
}, |
||||
"type_security_phrase_placeholder": "Gib einen Sicherheitssatz ein...", |
||||
"save_security_phrase_and_image": "Sicherheitssatz & Bild speichern", |
||||
"tap_to_upload": "Tippe zum Hochladen eines Bildes", |
||||
"click_to_upload": "Klicke, um ein Bild auszuwählen", |
||||
"or_drag_drop": "oder ziehe und lege es ab", |
||||
"pins_no_match": "Du hast nicht zweimal die gleiche PIN eingegeben", |
||||
"almost_done": "Wir sind fast fertig!", |
||||
"save_wallet_options": { |
||||
"description": "Es gibt 2 Optionen, die du auswählen musst, bevor wir dein Wallet erstellen können.", |
||||
"trust": "Vertraust du diesem Gerät?", |
||||
"trust_description": "Wenn ja, wenn dieses Gerät dir gehört oder von wenigen vertrauenswürdigen Personen deiner Familie oder deines Arbeitsplatzes genutzt wird und du dich in Zukunft wieder von diesem Gerät aus anmelden möchtest, dann kannst du dein Wallet auf diesem Gerät speichern. Wenn dieses Gerät hingegen öffentlich ist und von Fremden geteilt wird, speichere dein Wallet nicht hier.", |
||||
"trust_toggle": "Mein Wallet auf diesem Gerät speichern?", |
||||
"device_name_description": "Um zu sehen, mit welchen Geräten du verbunden bist, sollte jedes Gerät einen Namen haben (z.B. Bobs Laptop). Bitte gib ihn hier ein.", |
||||
"cloud": "Eine Kopie in der Cloud aufbewahren?", |
||||
"cloud_description": "Hast du Angst, dass du die Datei mit deinem Wallet verlierst? Wenn das passieren würde, wäre dein Wallet für immer verloren, zusammen mit allen deinen Dokumenten. Wir können eine verschlüsselte Kopie deines Wallets in unserer Cloud aufbewahren. Nur du wirst in der Lage sein, es mit einem speziellen Link herunterzuladen. Du müsstest diesen Link allerdings sicher aufbewahren. Durch die Auswahl dieser Option erklärst du dich einverstanden mit den", |
||||
"cloud_toggle": "Mein Wallet in der Cloud speichern?", |
||||
"cloud_tos": "Nutzungsbedingungen unserer Cloud", |
||||
"pdf": "Eine PDF-Datei deines Wallets erstellen?", |
||||
"pdf_description": "Wir können für dich eine PDF-Datei vorbereiten, die alle Informationen deines Wallets unverschlüsselt enthält. Du solltest diese Datei ausdrucken und dann die PDF-Datei löschen (und den Papierkorb leeren). Bewahre dieses ausgedruckte Dokument an einem sicheren Ort auf. Es enthält alle Informationen, um dein Wallet zu regenerieren, falls du den Zugang dazu verlierst.", |
||||
"pdf_toggle": "Eine PDF meines Wallets erstellen?", |
||||
"link": "Einen Link erstellen, um einfach auf dein Wallet zuzugreifen?", |
||||
"link_description": "Wenn du dein Wallet im Web oder von anderen Geräten aus nutzen möchtest, können wir dir helfen, dein Wallet zu finden, indem wir einen einfachen Link erstellen, der von überall zugänglich ist. Nur du wirst Zugang zu diesem Link haben. Um dies zu tun, werden wir deine Wallet-ID und einige Informationen über deinen Broker auf unseren Cloud-Servern speichern. Wenn du dies lieber nicht möchtest, deaktiviere einfach diese Option. Durch die Auswahl dieser Option erklärst du dich einverstanden mit den", |
||||
"link_toggle": "Einen Link zu meinem Wallet erstellen?" |
||||
}, |
||||
"lets_create": "Jetzt das Wallet erstellen", |
||||
"creating": "Dein Wallet wird erstellt", |
||||
"ready": "Dein Wallet ist bereit!", |
||||
"download_wallet_description": "Bitte lade dein Wallet herunter und bewahre es an einem sicheren Ort auf", |
||||
"download_wallet": "Mein Wallet herunterladen", |
||||
"download_wallet_done": "Deine Wallet-Datei wurde in deinen \"Downloads\"-Ordner heruntergeladen mit dem Namen<br /><span class=\"text-black\"> {download_name}</span ><br /> <span class=\"font-bold\" >Bitte verschiebe sie an einen sicheren und dauerhaften Ort.</span ><br />", |
||||
"your_pazzle": "Hier ist dein Pazzle. <br /> Die <span class=\"font-bold\">Reihenfolge</span> jedes Bildes ist <span class=\"font-bold\">wichtig</span>!", |
||||
"your_mnemonic": "Und hier ist deine Mnemonik (eine alternative Passphrase zum Pazzle):", |
||||
"unlock_tips_1": "Du kannst sowohl das Pazzle als auch die Mnemonik verwenden, um dein Wallet zu entsperren. Das Pazzle ist leichter zu merken. Die Mnemonik ist in einigen speziellen Fällen nützlich. Wir empfehlen, dass du das Pazzle verwendest. <span class=\"font-bold text-xl\" >Kopiere beides auf ein Stück Papier.</span > Du solltest versuchen, dir das Pazzle zu merken. Sobald du das getan hast, brauchst du das Papier nicht mehr.", |
||||
"unlock_tips_2": "Klicke jetzt auf \"Weiter zur Anmeldung\" und wähle dein neues Wallet aus.", |
||||
"unlock_tips_3": "Es ist wichtig, dass du dich mit diesem Wallet <span class=\"font-bold\">mindestens einmal</span> von diesem {platform, select, browser {Browser-Tab} other {Gerät}} aus <span class=\"font-bold\">anmeldest</span>, während du mit dem Internet verbunden bist, damit dein Konto auf deinem Broker registriert werden kann.", |
||||
"continue_to_login": "Weiter zur Anmeldung", |
||||
"continue_confirm": "Hast du deine Anmeldedaten aufgeschrieben?", |
||||
"continue_confirm_description": "Das Pazzle und die Mnemonik <span class=\"font-bold\">werden dir nicht noch einmal gezeigt</span >. Bitte schreite nur fort, dass du sie aufgeschrieben hast.", |
||||
"continue_confirm_go_back": "Zurück", |
||||
"continue_confirm_yes": "Ja, das habe ich" |
||||
}, |
||||
"wallet_login": { |
||||
"select_wallet": "Wähle ein Wallet zur Anmeldung aus", |
||||
"from_import.title": "Dein Wallet wurde übertragen", |
||||
"from_import.description": "Dein Wallet wurde empfangen:", |
||||
"from_import.instruction": "Um den Import abzuschließen, melde dich bitte an.", |
||||
"with_another_wallet": "Mit einem anderen Wallet anmelden", |
||||
"import_wallet": "Dein Wallet importieren", |
||||
"import_file": "Wallet-Datei importieren", |
||||
"import_qr": "Mit QR-Code importieren", |
||||
"import_link": "Mit TextCode importieren", |
||||
"new_wallet": "Ein neues Wallet erstellen", |
||||
"logged_in": "Du bist angemeldet.<br />Bitte warte, während die App geladen wird." |
||||
}, |
||||
"wallet_login_qr": { |
||||
"title": "Wallet mit QR-Code importieren", |
||||
"scan.description": "Um dein Wallet von einem anderen Gerät zu importieren, erzeuge dort einen Export-QR-Code. Gehe zum Erstellen zu<br /><span class=\"path\">Nutzerbereich > Wallet > Export: QR-Code erstellen</span>.", |
||||
"scan.modal.title": "Export-QR-Code scannen", |
||||
"gen.description": "Um dein Wallet von einem anderen Gerät zu importieren, kannst du hier auf diesem Gerät einen Import-QR-Code generieren und ihn dann mit deinem anderen Gerät scannen. Gehe auf dem anderen Gerät zu<br /><span class=\"path\">Nutzerbereich > Wallet > Export: QR scannen</span>, um zu exportieren.", |
||||
"gen.generated": "Scanne diesen QR-Code vom anderen Gerät aus.", |
||||
"success_btn": "Weiter zur Anmeldung" |
||||
}, |
||||
"wallet_login_textcode": { |
||||
"title": "Wallet aus TextCode importieren", |
||||
"description": "Um einen TextCode zu generieren, öffne ein angemeldetes Gerät und gehe zu<br /><span class=\"path\">Nutzerbereich > Wallet > TextCode generieren</span>, um zu exportieren.", |
||||
"import_btn": "Mit TextCode importieren" |
||||
}, |
||||
"scan_qr": { |
||||
"scanning": "QR-Code scannen" |
||||
} |
||||
}, |
||||
"buttons": { |
||||
"ok": "Ok", |
||||
"go_back": "Zurück", |
||||
"back": "Zurück", |
||||
"confirm": "Bestätigen", |
||||
"cancel": "Abbrechen", |
||||
"remove": "Entfernen", |
||||
"correct": "Korrigieren", |
||||
"try_again": "Erneut versuchen", |
||||
"back_to_homepage": "Zurück zur Startseite", |
||||
"logout": "Abmelden", |
||||
"login": "Anmelden", |
||||
"start_over": "Neu beginnen", |
||||
"generate": "Generieren", |
||||
"scan_qr": "QR-Code scannen" |
||||
}, |
||||
"errors": { |
||||
"an_error_occurred": "Ein Fehler ist aufgetreten", |
||||
"error_occurred": "Ein Fehler ist aufgetreten:<br />{message}", |
||||
"AlreadyExists": "Du bist bereits beim ausgewählten Broker registriert.<br />Versuche stattdessen, dich anzumelden.", |
||||
"InvalidSignature": "Die Signatur ist ungültig.", |
||||
"IncompleteSignature": "Die Signatur ist unvollständig.", |
||||
"SerializationError": "Das Objekt konnte nicht serialisiert werden.", |
||||
"EncryptionError": "Dein Wallet konnte nicht geöffnet werden. Du hast wahrscheinlich einen Fehler gemacht.", |
||||
"DecryptionError": "Fehler bei der Entschlüsselung.", |
||||
"InvalidValue": "Der Wert ist ungültig.", |
||||
"ConnectionNotFound": "Die Verbindung wurde nicht gefunden.", |
||||
"InvalidKey": "Der Schlüssel ist ungültig.", |
||||
"InvalidInvitation": "Die Einladung ist ungültig.", |
||||
"InvalidCreateAccount": "Bei der Erstellung des Kontos ist ein Fehler aufgetreten.", |
||||
"InvalidFileFormat": "Das Dateiformat ist ungültig.", |
||||
"InvalidArgument": "Der Parameter ist ungültig.", |
||||
"PermissionDenied": "Zugriff verweigert.", |
||||
"InvalidPazzle": "Das Pazzle ist nicht korrekt.", |
||||
"InvalidMnemonic": "Die Mnemonik ist nicht korrekt.", |
||||
"CommitLoadError": "Fehler beim Laden des Commits.", |
||||
"ObjectParseError": "Fehler beim Parsen des Objekts.", |
||||
"StorageError": "Speicherfehler.", |
||||
"NotFound": "Nicht gefunden", |
||||
"JsStorageKeyNotFound": "JavaScript-Speicherschlüssel konnte nicht gefunden werden.", |
||||
"IoError": "Ein-/Ausgabefehler.", |
||||
"CommitVerifyError": "Überprüfung des Commits fehlgeschlagen.", |
||||
"LocalBrokerNotInitialized": "Der lokale Broker ist nicht initialisiert.", |
||||
"JsStorageReadError": "Lesen aus dem JavaScript-Speicher nicht möglich.", |
||||
"JsStorageWriteError": "Schreiben in den JavaScript-Speicher nicht möglich.", |
||||
"CannotSaveWhenInMemoryConfig": "Speichern bei In-Memory-Konfiguration nicht möglich.", |
||||
"WalletNotFound": "Das Wallet wurde nicht gefunden.", |
||||
"WalletAlreadyAdded": "Das Wallet wurde bereits hinzugefügt.", |
||||
"WalletAlreadyOpened": "Das Wallet ist bereits geöffnet.", |
||||
"WalletError": "Fehler mit dem Wallet.", |
||||
"BrokerError": "Fehler mit dem Broker.", |
||||
"SessionNotFound": "Die Sitzung kann nicht gefunden werden.", |
||||
"SessionAlreadyStarted": "Die Sitzung wurde bereits gestartet.", |
||||
"RepoNotFound": "Das Repository kann nicht gefunden werden.", |
||||
"BranchNotFound": "Der Branch kann nicht gefunden werden.", |
||||
"StoreNotFound": "Der Speicher kann nicht gefunden werden.", |
||||
"UserNotFound": "User kann nicht gefunden werden.", |
||||
"TopicNotFound": "Das Thema kann nicht gefunden werden.", |
||||
"NotConnected": "Es besteht keine Verbindung.", |
||||
"ActorError": "Actor-Fehler.", |
||||
"ProtocolError": "Protokoll-Fehler.", |
||||
"ServerError": "Server-Fehler.", |
||||
"InvalidResponse": "Ungültige Antwort erhalten.", |
||||
"BootstrapError": "Fehler beim Bootstrapping", |
||||
"NotAServerError": "Kein Server-Fehler.", |
||||
"VerifierError": "Fehler während der Überprüfung.", |
||||
"SiteNotFoundOnBroker": "Die Seite kann nicht auf dem Broker gefunden werden", |
||||
"BrokerConfigErrorStr": "{error}", |
||||
"BrokerConfigError": "Fehler in der Broker-Konfiguration.", |
||||
"MalformedEvent": "Das Ereignis hat ein ungültiges Format.", |
||||
"InvalidPayload": "Die Nutzlast ist ungültig.", |
||||
"WrongUploadId": "Die Upload-ID ist falsch.", |
||||
"FileError": "Fehler mit der Datei.", |
||||
"InternalError": "Interner Fehler", |
||||
"OxiGraphError": "Fehler in der OxiGraph-Datenbank.", |
||||
"ConfigError": "Fehler in der Konfiguration.", |
||||
"LocalBrokerIsHeadless": "Der lokale Broker ist headless.", |
||||
"LocalBrokerIsNotHeadless": "Der lokale Broker ist nicht headless.", |
||||
"InvalidNuri": "Ungültige NextGraph-URI.", |
||||
"InvalidTarget": "Ziel kann nicht aufgelöst werden.", |
||||
"ExportWalletTimeOut": "Die Wallet-Exportsession ist abgelaufen. Versuche es erneut.", |
||||
"ConnectionError": "Verbindung zum Server nicht möglich.", |
||||
"IncompatibleQrCode": "Du hast einen NextGraph-QR-Code gescannt, der den falschen Typ hat.", |
||||
"NotARendezVous": "Du hast einen ungültigen QR-Code gescannt." |
||||
}, |
||||
"connectivity": { |
||||
"stopped": "Unterbrochen", |
||||
"personal": "Persönlich", |
||||
"connecting": "Verbindung wird hergestellt", |
||||
"connected": "Verbunden", |
||||
"loading": "Wird geladen", |
||||
"connection_error_short": "{error}", |
||||
"online": "Online", |
||||
"offline": "Offline" |
||||
}, |
||||
"common": { |
||||
"version": "Version: {version}", |
||||
"logo": "NextGraph-Logo", |
||||
"support_nextgraph": "NextGraph unterstützen", |
||||
"about_nextgraph": "Über NextGraph", |
||||
"donate_nextgraph": "An NextGraph spenden" |
||||
}, |
||||
"wallet_sync": { |
||||
"offline_warning": "Du kannst dein Wallet nicht übertragen, wenn du offline bist.<br />Bitte stelle sicher, dass du zuerst verbunden bist.", |
||||
"textcode.usage_warning": "Du musst diesen TextCode mit dem anderen Gerät auf beliebige Weise austauschen (E-Mail, andere Messenger-Apps usw.). Es wird dringend empfohlen, ein Ende-zu-Ende-verschlüsseltes Tool zu verwenden. Wenn möglich, solltest du stattdessen die Option \"Mit QR-Code importieren\" nutzen, da diese sicherer ist. Wenn deine Geräte nicht mit dem Internet verbunden sind, kannst du die Option \"Wallet-Datei importieren\" verwenden. In diesem Fall überträgst du die Wallet-Datei mit einem USB-Stick von einem Gerät zum anderen, oder bei Mobilgeräten durch Verbinden deines Mobilgeräts per USB-Kabel mit dem Computer und anschließender Übertragung der Datei mit dem Dateiübertragungsprogramm auf Android oder AirDrop/Finder/iTunes auf einem iPhone/Mac/PC. Wir empfehlen nicht, deine Wallet-Datei in einen Cloud-Dienst hochzuladen.", |
||||
"server_transfer_notice": "Beide Geräte müssen online sein.<br />Während dieses Wallet-Imports wird dein Wallet vorübergehend und sicher für bis zu 5 Minuten auf unseren Servern gespeichert, wobei zwei Verschlüsselungsebenen verwendet werden.", |
||||
"importing": "Wallet wird importiert", |
||||
"error": "Beim Synchronisieren deines Wallets ist ein Fehler aufgetreten:<br />{error}" |
||||
}, |
||||
"emojis": { |
||||
"codes": { |
||||
"happy": "grinsendes Gesicht", |
||||
"happy_tears": "Gesicht mit Freudentränen", |
||||
"halo": "lächelndes Gesicht mit Heiligenschein", |
||||
"three_hearts": "lächelndes Gesicht mit Herzen", |
||||
"with_two_hearts": "lächelndes Gesicht mit zwei herzförmigen Augen", |
||||
"one_heart": "Kuss zuwerfendes Gesicht", |
||||
"with_tongue": "Gesicht mit herausgestreckter Zunge und zusammengekniffenen Augen", |
||||
"with_two_hands": "Gesicht mit umarmenden Händen", |
||||
"one_hand": "verlegen kicherndes Gesicht", |
||||
"silenced": "Gesicht mit Reißverschlussmund", |
||||
"celebrating": "Partygesicht", |
||||
"sunglasses": "lächelndes Gesicht mit Sonnenbrille", |
||||
"eyes_up": "Augen verdrehendes Gesicht", |
||||
"monocle": "Gesicht mit Monokel", |
||||
"sleeping": "schlafendes Gesicht", |
||||
"mask": "Gesicht mit Atemschutzmaske", |
||||
"fever": "Gesicht mit Fieberthermometer", |
||||
"bandage": "Gesicht mit Kopfverband", |
||||
"vomit": "kotzendes Gesicht", |
||||
"tissue": "niesendes Gesicht", |
||||
"hot": "rotes, schwitzendes Gesicht", |
||||
"cold": "frierendes Gesicht", |
||||
"crossed_eyes": "benommenes Gesicht mit Kreuzaugen", |
||||
"exploding": "explodierender Kopf", |
||||
"sad": "düsteres Gesicht", |
||||
"long_nose": "lügendes Gesicht", |
||||
"many_tears": "heulendes Gesicht", |
||||
"fear": "vor Angst schreiendes Gesicht", |
||||
"tired": "gähnendes Gesicht", |
||||
"annoyed": "schnaubendes Gesicht", |
||||
"clown": "Clown-Gesicht", |
||||
"ghost": "Gespenst", |
||||
"dog": "Hundegesicht", |
||||
"happy_cat": "grinsende Katze mit lachenden Augen", |
||||
"scared_cat": "erschöpfte Katze", |
||||
"sad_cat": "weinende Katze", |
||||
"monkey_no_see": "Augen zuhaltendes Affengesicht", |
||||
"monkey_no_hear": "Ohren zuhaltendes Affengesicht", |
||||
"monkey_no_talk": "Mund zuhaltendes Affengesicht", |
||||
"builder": "Bauarbeiter(in)", |
||||
"princess": "Prinzessin", |
||||
"firefighter": "Feierwehrperson", |
||||
"mage": "Magier(in)", |
||||
"mermaid": "Wassermensch", |
||||
"fairy": "Märchenfee", |
||||
"letter_heart": "Liebesbrief", |
||||
"red_heart": "rotes Herz", |
||||
"two_hearts": "zwei Herzen", |
||||
"kiss": "Kussabdruck", |
||||
"hundred": "100 Punkte", |
||||
"explosion": "Explosion", |
||||
"drops": "Schweißtropfen", |
||||
"handshake": "Handschlag", |
||||
"hand_five_fingers": "Hand mit 5 gespreizten Fingern", |
||||
"hand_two_fingers": "Victory-Geste mit zwei Fingern", |
||||
"thumbs_up": "Daumen hoch", |
||||
"fist": "erhobene Faust", |
||||
"two_hands": "zwei offene Hände", |
||||
"writing": "schreibende Hand", |
||||
"praying": "zusammengelegte betende Handflächen", |
||||
"arm": "angespannter Arm", |
||||
"leg": "Bein", |
||||
"foot": "Fuß", |
||||
"ear": "Ohr", |
||||
"nose": "Nase", |
||||
"brain": "Gehirn", |
||||
"tooth": "Zahn", |
||||
"bone": "Knochen", |
||||
"eye": "Auge", |
||||
"tongue": "Zunge", |
||||
"mouth": "Mund", |
||||
"shirt": "T-Shirt", |
||||
"pants": "Jeans", |
||||
"dress": "Kleid", |
||||
"shoe": "Sportschuh", |
||||
"fencing": "Fechter(in)", |
||||
"horse_riding": "Pferderennen", |
||||
"ski": "Skifahrer(in)", |
||||
"rowing_boat": "Person im Ruderboot", |
||||
"swim": "Schwimmer(in)", |
||||
"surf": "Surfer(in)", |
||||
"gym": "Gewichtheber(in)", |
||||
"wrestling": "Ringer(in)", |
||||
"bike": "Radfahrer(in)", |
||||
"parachute": "Fallschirm", |
||||
"football": "Fußball", |
||||
"basketball": "Basketball", |
||||
"tennis": "Tennisball", |
||||
"ping_pong": "Tischtennis", |
||||
"martial": "Kampfsportanzug", |
||||
"lion": "Löwe", |
||||
"leopard": "Leopard", |
||||
"horse": "Pferdegesicht", |
||||
"zebra": "Zebra", |
||||
"pig": "Schwein", |
||||
"goat": "Ziege", |
||||
"sheep": "Schaf", |
||||
"camel": "Kamel", |
||||
"giraffe": "Giraffe", |
||||
"elephant": "Elefant", |
||||
"rhinoceros": "Nashorn", |
||||
"flamingo": "Flamingo", |
||||
"whale": "blasender Wal", |
||||
"dolphin": "Delfin", |
||||
"bear": "Bär", |
||||
"rooster": "Hahn", |
||||
"chick": "schlüpfendes Küken", |
||||
"eagle": "Adler", |
||||
"duck": "Ente", |
||||
"owl": "Eule", |
||||
"rabbit": "Hase", |
||||
"penguin": "Pinguin", |
||||
"lizard": "Eidechse", |
||||
"turtle": "Schildkröte", |
||||
"snake": "Schlange", |
||||
"hedgehog": "Igel", |
||||
"bat": "Fledermaus", |
||||
"fish": "Fisch", |
||||
"shell": "Schneckenhaus", |
||||
"octopus": "Oktopus", |
||||
"snail": "Schnecke", |
||||
"butterfly": "Schmetterling", |
||||
"ant": "Ameise", |
||||
"bee": "Biene", |
||||
"beetle": "Marienkäfer", |
||||
"rose": "Rose", |
||||
"sunflower": "Sonnenblume", |
||||
"fir": "Nadelbaum", |
||||
"palm_tree": "Palme", |
||||
"cactus": "Kaktus", |
||||
"clover": "Glücksklee", |
||||
"potted_plant": "Topfpflanze", |
||||
"bouquet": "Blumenstrauß", |
||||
"three_leaves": "Laub", |
||||
"mushroom": "Fliegenpilz", |
||||
"grapes": "Trauben", |
||||
"watermelon": "Wassermelone", |
||||
"lemon": "Zitrone", |
||||
"banana": "Banane", |
||||
"pineapple": "Ananas", |
||||
"apple": "roter Apfel", |
||||
"cherries": "Kirschen", |
||||
"strawberry": "Erdbeere", |
||||
"three_blueberries": "Blaubeeren", |
||||
"kiwi": "Kiwi", |
||||
"avocado": "Avocado", |
||||
"eggplant": "Aubergine", |
||||
"carrot": "Karotte", |
||||
"corn": "Maiskolben", |
||||
"pepper": "Peperoni", |
||||
"croissant": "Croissant", |
||||
"bread": "Baguette", |
||||
"pretzel": "Brezel", |
||||
"cheese": "Käsestück", |
||||
"pizza": "Pizza", |
||||
"egg": "Spiegelei in Bratpfanne", |
||||
"ice_cream": "Softeis", |
||||
"cookie": "Keks", |
||||
"cake": "Torte", |
||||
"chocolate": "Schokoladentafel", |
||||
"sweet": "Bonbon", |
||||
"coffee": "Heißgetränk", |
||||
"champagne_bottle": "Flasche mit knallendem Korken", |
||||
"glass_wine": "Weinglas", |
||||
"two_glasses": "Sektgläser", |
||||
"mountain": "schneebedeckter Berg", |
||||
"camping": "Camping", |
||||
"beach": "Strand mit Sonnenschirm", |
||||
"compass": "Kompass", |
||||
"museum": "antikes Gebäude", |
||||
"house": "Haus mit Garten", |
||||
"fountain": "Springbrunnen", |
||||
"circus": "Zirkuszelt", |
||||
"train": "Dampflokomotive", |
||||
"taxi": "Taxi", |
||||
"motorcycle": "Motorrad", |
||||
"sailboat": "Segelboot", |
||||
"airplane": "Flugzeug", |
||||
"helicopter": "Hubschrauber", |
||||
"rocket": "Rakete", |
||||
"sun": "Sonne", |
||||
"moon": "Mondsichel", |
||||
"planet": "Ringplanet", |
||||
"star": "weißer mittelgroßer Stern", |
||||
"night_sky": "Milchstraße", |
||||
"cloud": "Wolke mit Regen", |
||||
"umbrella": "Regenschirm im Regen", |
||||
"lightning": "Hochspannung", |
||||
"snowflake": "Schneeflocke", |
||||
"snowman": "Schneemann", |
||||
"thermometer": "Thermometer", |
||||
"fire": "Feuer", |
||||
"balloon": "Luftballon", |
||||
"kite": "Drachen", |
||||
"rainbow": "Regenbogen", |
||||
"guitar": "Gitarre", |
||||
"saxophone": "Saxofon", |
||||
"music": "Musiknote", |
||||
"painting": "Mischpalette", |
||||
"chess": "Bauer Schach", |
||||
"gift": "Geschenk", |
||||
"die": "Spielwürfel", |
||||
"puzzle": "Puzzleteil", |
||||
"teddy_bear": "Teddybär", |
||||
"firecracker": "Feuerwerkskörper", |
||||
"bullseye": "Darts", |
||||
"roller_skate": "Rollschuh", |
||||
"kick_scooter": "Tretroller", |
||||
"anchor": "Anker", |
||||
"scuba_diving": "Tauchmaske", |
||||
"broom": "Besen", |
||||
"magnifying_glass": "Lupe nach links", |
||||
"bulb": "Glühbirne", |
||||
"three_books": "Bücherstapel", |
||||
"package": "Paket", |
||||
"pencil": "Bleistift", |
||||
"pin": "Reißzwecke", |
||||
"paperclip": "Büroklammer", |
||||
"scissors": "Schere", |
||||
"key": "Schlüssel", |
||||
"lock": "offenes Schloss", |
||||
"chair": "Stuhl", |
||||
"bathtub": "Badewanne", |
||||
"sponge": "Schwamm", |
||||
"shopping_cart": "Einkaufswagen" |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,861 @@ |
||||
{ |
||||
"app": { |
||||
"sparql_update_editor" : { |
||||
"success": "SPARQL Update successful!" |
||||
} |
||||
}, |
||||
"doc": { |
||||
"doc": "Document", |
||||
"protected_store": "Protected Profile", |
||||
"public_store": "Public Site", |
||||
"private_store": "Private Store", |
||||
"group_store": "Group Store", |
||||
"dialog_store": "Dialog Store", |
||||
"rich": "Post or Article", |
||||
"markdown": "Markdown", |
||||
"text": "Plain Text", |
||||
"social": "Social", |
||||
"group": "Group", |
||||
"pro": "Pro", |
||||
"media": "Media", |
||||
"chart": "Chart", |
||||
"viz": "Vizualitation", |
||||
"diagram": "Diagram", |
||||
"other": "Other file formats", |
||||
"data": "Data", |
||||
"code": "Code", |
||||
"apps": "Apps", |
||||
"new_app": "Create a new App", |
||||
"record_reel": "Record Reel", |
||||
"record_voice": "Record Audio", |
||||
"take_picture": "Take a picture", |
||||
"select_class": "Select a type of document to create", |
||||
"destination": { |
||||
"mc": "Keep in Magic Carpet", |
||||
"stream": "Send in current Stream", |
||||
"dialog": "Send in Dialog", |
||||
"store": "Save in current Store" |
||||
}, |
||||
"not_found" : "Document not found", |
||||
"not_found_details_online" : "The document could not be found locally on this device, nor on the broker.", |
||||
"not_found_details_offline" : "The document could not be found locally on this device, and it seems like you are offline, so it could not be retrieved from any broker neither.<br/><br/>If you are opening this document for the first time on this device, you have to be online now so the document can be fetched.<br/><br/> We will try connecting and fetching it every 20 seconds.", |
||||
"cannot_load_offline": "You are offline and using the web app. There is currently a limitation on local storage within the Web App, and you need to connect to the broker every time you login with the Web App.<br/><br/>For now, the Web App does not keep a local copy of your documents. due to the limit of 5MB in localStorage. We will remove this limitation soon. Stay tuned!<br/><br/>Check your connectivity status in the ", |
||||
"header": { |
||||
"buttons": { |
||||
"edit": "Edit title, icon, intro", |
||||
"edit_profile": "Edit profile", |
||||
"bookmarked": "Saved", |
||||
"all_docs": "All Docs", |
||||
"groups": "Groups", |
||||
"channels": "Channels", |
||||
"inbox": "Inbox", |
||||
"chat": "Chat" |
||||
} |
||||
}, |
||||
"file": { |
||||
"download": "Download", |
||||
"upload_progress": "Uploading...", |
||||
"upload": "Upload file" |
||||
}, |
||||
"errors": { |
||||
"InvalidNuri": "Invalid NURI", |
||||
"no_session": "No active session" |
||||
}, |
||||
"errors_details": { |
||||
"InvalidNuri": "The provided NextGraph URI is invalid", |
||||
"no_session": "Please refresh the page or close and reopen the app" |
||||
}, |
||||
"graph" : "Graph", |
||||
"discrete" : "Document", |
||||
"menu" : { |
||||
"edit_with": "Edit with", |
||||
"view_as": "View as", |
||||
"install_app_to_edit": "Install App to edit", |
||||
"live_editing": "Live editing (real-time)", |
||||
"live_editing_description": "Collaborate in real-time with other users. If deactivated, you will have to save manually your edits", |
||||
"items": { |
||||
"new_block": { |
||||
"label": "New Block", |
||||
"desc": "Create a new block that can be embedded/included in this doc or other docs" |
||||
}, |
||||
"editor_chat": { |
||||
"label": "Editors' Chat", |
||||
"desc": "Chat with other Editors about the Document you are editing" |
||||
}, |
||||
"folders": { |
||||
"label": "Folders", |
||||
"desc": "Organize your documents in folders and platos" |
||||
}, |
||||
"toc": { |
||||
"label": "Table of Content", |
||||
"desc": "Table of Content for Graph and Document" |
||||
}, |
||||
"files": { |
||||
"label": "Attachments and Files", |
||||
"desc": "List all attached files and resources files, and download them if needed" |
||||
}, |
||||
"share": { |
||||
"label": "Share", |
||||
"desc": "Share with others, or react" |
||||
}, |
||||
"comments": { |
||||
"label": "Comments", |
||||
"desc": "See comments or annotations, replies, and write your own." |
||||
}, |
||||
"branches": { |
||||
"label": "Branches", |
||||
"desc": "View, edit or fork branches and blocks" |
||||
}, |
||||
"history": { |
||||
"label": "History", |
||||
"desc": "Open history of modifications, and travel back in time, to previous revisions" |
||||
}, |
||||
"find": { |
||||
"label": "Find", |
||||
"desc": "Information about the document, statistics, and keywords" |
||||
}, |
||||
"bookmark": { |
||||
"label": "Save", |
||||
"desc": "Keep a bookmark of this Document in your private store." |
||||
}, |
||||
"annotate": { |
||||
"label": "Annotate", |
||||
"desc": "Write private annotations on this Document. Only you can see those annotations. You will also have an option to share them with others." |
||||
}, |
||||
"info": { |
||||
"label": "Information", |
||||
"desc": "Information about the document, statistics, and keywords" |
||||
}, |
||||
"repost": { |
||||
"label": "Post in my Stream", |
||||
"desc": "Post in your Stream (publish, repost, reply, boost)" |
||||
}, |
||||
"dm": { |
||||
"label": "Send in Direct Message", |
||||
"desc": "Send as Direct Message to a contact or in a group chat" |
||||
}, |
||||
"react": { |
||||
"label": "Like and React", |
||||
"desc": "Like, react, rate" |
||||
}, |
||||
"author": { |
||||
"label": "Reply to Author(s)", |
||||
"desc": "Sends a private message to the author(s) in reply to this Document" |
||||
}, |
||||
"quote": { |
||||
"label": "Quote/Mention in new Post", |
||||
"desc": "Write a Post that quotes/cites this Document" |
||||
}, |
||||
"forward": { |
||||
"label": "Share via other apps", |
||||
"desc": "Share this document to users with other platforms and apps" |
||||
}, |
||||
"link": { |
||||
"label": "Links", |
||||
"desc": "Get the links to access this Document on the web" |
||||
}, |
||||
"qr": { |
||||
"label": "QR-Code", |
||||
"desc": "Display or download a QR-Code that links to this Document" |
||||
}, |
||||
"download": { |
||||
"label": "Export and Download", |
||||
"desc": "Export to several formats and Download the file, or create a self-contained HTML file of this Document that works offline" |
||||
}, |
||||
"notifs": { |
||||
"label": "Notifications", |
||||
"desc": "Change your notification settings for this Document" |
||||
}, |
||||
"permissions": { |
||||
"label": "Permissions", |
||||
"desc": "See and change permissions and members for this Document" |
||||
}, |
||||
"settings": { |
||||
"label": "Settings", |
||||
"desc": "Change settings for this Document" |
||||
}, |
||||
"copy": { |
||||
"label": "Copy or Move", |
||||
"desc": "Copy, Move, Duplicate, Fork" |
||||
}, |
||||
"embed": { |
||||
"label": "Embed", |
||||
"desc": "Embed this Document or Block into another Document, or insert a Block into this Document" |
||||
}, |
||||
"schema": { |
||||
"label": "Schema", |
||||
"desc": "See and manage the Schema of this Document (Model, Ontology, Vocabulary)" |
||||
}, |
||||
"signature": { |
||||
"label": "Signature", |
||||
"desc": "Obtain and verify the Signature of the Document to prove its authenticity. Or request a signature if there isn't any." |
||||
}, |
||||
"translations": { |
||||
"label": "Translations", |
||||
"desc": "Manage the translations of your document in order to offer it in multiple languages" |
||||
}, |
||||
"services": { |
||||
"label": "Services", |
||||
"desc": "See and invoke services available for this Document. Services can be read-only, or read-write" |
||||
}, |
||||
"print": { |
||||
"label": "Print", |
||||
"desc": "Print or save to PDF" |
||||
}, |
||||
"console": { |
||||
"label": "Console", |
||||
"desc": "Open a console and run interactive commands" |
||||
}, |
||||
"source": { |
||||
"label": "Source", |
||||
"desc": "View and Download the source code of this Document" |
||||
}, |
||||
"dev": { |
||||
"label": "Developer", |
||||
"desc": "Open the developer toolbox" |
||||
}, |
||||
"tools": { |
||||
"label": "Tools", |
||||
"desc": "Select a tool" |
||||
}, |
||||
"mc": { |
||||
"label": "Magic Carpet", |
||||
"desc": "Opens the Magic Carpet (like a clipboard, but better)" |
||||
}, |
||||
"archive": { |
||||
"label": "Archive", |
||||
"desc": "Archive documents that you don't need anymore" |
||||
} |
||||
} |
||||
} |
||||
}, |
||||
"pages": { |
||||
"not_found": { |
||||
"title": "Page Not Found", |
||||
"message": "The page you are looking for does not exist.<br/>It has probably not been implemented yet" |
||||
}, |
||||
"user_panel": { |
||||
"title": "User Panel", |
||||
"personal": "Personal" |
||||
}, |
||||
"user_registered": { |
||||
"success": "You have been successfully registered.", |
||||
"success_with_invitation": "You have been successfully registered to {invitation_name}." |
||||
}, |
||||
"wallet_info": { |
||||
"title": "Wallet", |
||||
"scan_qr": "Scan QR to export", |
||||
"generate_qr": "Generate QR to export", |
||||
"download": "Download Wallet File", |
||||
"download_failed": "Download Failed:<br/>{error}", |
||||
"download_in_progress": "Download in progress...", |
||||
"download_successful": "You will find the file named \"{wallet_file}\" in your Downloads folder", |
||||
"download_file_button": "Click here to download the wallet file", |
||||
"remove_wallet": "Remove wallet from Device", |
||||
"remove_wallet_modal.title": "Remove wallet?", |
||||
"remove_wallet_modal.confirm": "Are you sure you want to remove this wallet from your device?", |
||||
"create_text_code": "Export by generating a TextCode", |
||||
"scan_qr.title": "Export by scanning a QR-Code", |
||||
"scan_qr.no_camera": "If to the contrary, the other device does not have a camera, ", |
||||
"scan_qr.other_has_camera": "If the other device where you want to import the Wallet, has a camera, then you can just click on the Back button and select <span class=\"path\">Generate QR to export</span>", |
||||
"scan_qr.notes": "You will now scan the QR-Code that appears on the screen of the other device (the one you want to transfer your wallet to). You will be asked to allow the app to use your camera.", |
||||
"scan_qr.scanner.title": "Scan your QR-Code", |
||||
"scan_qr.scanner.loading": "Loading scanner", |
||||
"scan_qr.syncing": "Synchronizing wallet", |
||||
"scan_qr.scan_successful": "Success!<br />Your wallet has been transferred to the other device.", |
||||
"gen_qr.title": "Export by generating a QR-Code", |
||||
"gen_qr.notes": "In order to transfer your wallet to another device, you will now display a QR-Code here on this device, and you will then scan it with the other device where you want to transfer your wallet to.", |
||||
"gen_qr.no_camera": "If the device where you want to import the Wallet, does not have a camera, then you will have to choose another method.", |
||||
"gen_qr.img_title": "Your Export QR-Code to Scan", |
||||
"gen_qr.img_alt": "Your Export QR-Code to Scan", |
||||
"gen_qr.gen_button": "Display QR-Code", |
||||
"gen_text_code.title": "Export with TextCode", |
||||
"gen_text_code.gen_btn": "Generate TextCode", |
||||
"gen_text_code.label": "Your TextCode:" |
||||
}, |
||||
"settings": { |
||||
"title": "Settings" |
||||
}, |
||||
"admin": { |
||||
"title": "Admin" |
||||
}, |
||||
"accounts": { |
||||
"title": "Accounts" |
||||
}, |
||||
"full_layout": { |
||||
"home": "Home", |
||||
"stream": "Stream", |
||||
"search": "Search", |
||||
"create": "Create", |
||||
"shared": "Shared", |
||||
"site": "Site", |
||||
"messages": "Messages", |
||||
"notifications": "Notifications" |
||||
}, |
||||
"install": { |
||||
"app_availability": "<b>NextGraph App</b> is available for download as a native app for your mobile, tablet, laptop and desktop.<br /> The app supports iOS, Android, Linux, macOS, Windows, or any other platform with a modern browser.", |
||||
"has_wallet_warning": "A wallet is saved in this browser. If it is yours,<br /> once the installation of the app will be finished,<br /> choose the option \"Login\" on the app.<br /> (do not create another wallet from the app).", |
||||
"android_play_store": "Android Play Store", |
||||
"download_apk": "Download APK", |
||||
"ios_app_store": "iOS App Store", |
||||
"download_mac_os": "Download for MacOS", |
||||
"download_linux": "Download Linux Package", |
||||
"download_windows": "Download for Windows", |
||||
"other_platforms": "Other platforms" |
||||
}, |
||||
"no_wallet": { |
||||
"welcome": "Welcome to NextGraph", |
||||
"description": "We could not find a wallet saved on this device.<br /> If you already have a wallet, select \"Log in\", otherwise, select \"Create Wallet\" here below.", |
||||
"create_wallet": "Create Wallet" |
||||
}, |
||||
"login": { |
||||
"heading": "How to open your wallet? You have 2 options:", |
||||
"with_pazzle": "With your Pazzle", |
||||
"pazzle_steps": { |
||||
"1": "For each one of the 9 categories of images, you will be presented with the 15 possible image choices. The categories are shuffled at every login. They will not always appear in the same order.", |
||||
"2": "At each category, only one of the 15 displayed choices is the correct image that belongs to your pazzle. Find it and tap or click on that one. The 15 images are shuffled too, they will not appear at the same position at each login. On a computer, you can also use the tab key on your keyboard to move to the desired item on the screen, then press the space bar to select each one.", |
||||
"3": "Once you completed the last category, you will be presented with all the images you have previously selected. Their order is displayed as it was when you picked them. But this is not the correct order of the images in your pazzle. You now have to order them correctly.", |
||||
"4": "You must remember which image should be the first one in your pazzle. Find it on the screen and click or tap on it. It will be greyed out and the number 1 will appear on top of it.", |
||||
"5": "Move on to the second image of your pazzle (that you memorized). Find it on the screen and tap on it. Repeat this step until you reached the last image.", |
||||
"6": "Finally, you are asked for your PIN code. Enter it by clicking or tapping on the digits." |
||||
}, |
||||
"with_mnemonic": "With your 12 words Mnemonic (passphrase)", |
||||
"mnemonic_steps": { |
||||
"1": "Enter your twelve words mnemonic in the input field. The words must be separated by spaces.", |
||||
"2": "Enter the PIN code that you chose when you created your wallet." |
||||
}, |
||||
"trust_device_allow_cookies": "By selecting this option, you agree to saving some cookies on your browser.", |
||||
"trust_device_yes": "Yes, save my wallet on this device", |
||||
"device_name_label": "Name of this device. You can edit it now", |
||||
"device_name_placeholder": "Enter name of this device", |
||||
"loading_pazzle": "Loading Pazzle", |
||||
"open_with_pazzle": "Open With Pazzle", |
||||
"login_cancel": "Cancel Login", |
||||
"open_with_mnemonic": "Open with Mnemonic instead", |
||||
"enter_mnemonic": "Enter your 12 words mnemonic", |
||||
"mnemonic_placeholder": "12 words separated by spaces", |
||||
"select_emoji": "Select your image for category:<br />{category}", |
||||
"order_emojis": "Select each image in the correct order", |
||||
"enter_pin": "Enter your PIN code", |
||||
"opening_wallet": "Opening your wallet...<br /> Please wait", |
||||
"wallet_opened": "Your wallet is opened! <br />Please wait while the app is loading...", |
||||
"qr_code": "Wallet QRCode", |
||||
"qr_modal_title": "My Wallet QRCode", |
||||
"qr_modal_description": "Use this QRCode to log in with your wallet on new devices.", |
||||
"keep_wallet": "Save to Device for Future Logins" |
||||
}, |
||||
"account_info": { |
||||
"title": "Accounts Info", |
||||
"site": "{name} account", |
||||
"devices": "Devices", |
||||
"brokers": "Brokers", |
||||
"no_brokers_connected": "No brokers connected" |
||||
}, |
||||
"wallet_create": { |
||||
"redirecting_to_registration_page": "Redirecting to the Broker Service Provider registration page", |
||||
"complete_in_popup": "Complete the registration in the popup window", |
||||
"own_your_ngbox": "Own your NG-Box", |
||||
"self-host_broker": "Self-host a broker", |
||||
"tos_ng_one": "Terms of Service NextGraph.one", |
||||
"wallet_description": "A <b>NextGraph Wallet</b> is unique to each person. It stores your credentials and authorizations to access documents. You need one in order to start using NextGraph.<br /><br />If you already have a wallet, you should not create a new one. Instead, <a href=\"#/wallet/login\" >login here with your existing wallet.</a > If you never created a NextGraph Wallet before, please follow the instructions below in order to create your unique personal wallet.", |
||||
"has_wallet": "Some wallets are saved on this device,<br /> to log in with one of them, <a href=\"#/wallet/login\" use:link>click here.</a>", |
||||
"wallet_about": { |
||||
"title": "What is a wallet?", |
||||
"please_read": "Please read", |
||||
"1": "Your wallet is a secure and encrypted small file that contains some important information that only you should have access to.", |
||||
"2": "In your wallet, we store all the permissions to access documents you have been granted with, or that you have created yourself.", |
||||
"3": "In order to open it, you will need to enter your <b >pazzle</b > and a <b>PIN code</b> of 4 digits. Your personal pazzle (contraction of puzzle and password) is composed of 9 images you should remember. The order of the images is important too.", |
||||
"4": "Don't worry, it is easier to remember 9 images than a password like \"69$g&ms%C*%\", and it has the same strength as a complex password. The entropy of your pazzle is <b >66bits</b >, which is considered very high by all standards.", |
||||
"5": "You should only create <b>one unique wallet for yourself</b >. All your accounts, identities and permissions will be added to this unique wallet later on. Do not create another wallet if you already have one. Instead, you will <b>import</b> your unique existing wallet in all the apps and websites where you need it.", |
||||
"6": "Your wallet can be transferred from one device to another with the help of a small file that you download, or with a QRcode, or with a TextCode that you copy/paste. In any case, you should never share this file or QRcode with anybody else.", |
||||
"7": "We at NextGraph will never see the content of your wallet. It is encrypted and we do not know your pazzle, so we cannot see what is inside.", |
||||
"8": "For the same reason, we won't be able to help you if you forget your pazzle or PIN code, or if you loose the wallet file. <span class=\"text-bold\"> There is no \"password recovery\" option</span > in this case. You can note your pazzle down on a piece of paper until you remember it, but don't forget to destroy this note after a while." |
||||
}, |
||||
"create_wallet_now": "I create my wallet now!", |
||||
"select_server": "NextGraph is based on an efficient decentralized P2P network, and in order to join this network and start using the app, you need to first select a <b>broker server</b>.", |
||||
"broker_about": { |
||||
"title": "What is a broker?", |
||||
"please_read": "Please read", |
||||
"1": "The broker helps you keep all your data in <b>sync</b>, as it is connected to the internet 24/7 and keeps a copy of the updates for you. This way, even if the devices of the other participants are offline, you can still see their changes", |
||||
"2": "All your data is secure and <b>end-to-end encrypted</b>, and the broker cannot see the content of the documents as it does not have the keys to decrypt them.", |
||||
"3": "The broker helps you enforce your <b>privacy</b> as it hides your internet address (IP) from other users you share documents with.", |
||||
"4": "It will be possible in the future to use NextGraph without any broker and to have direct connections between peers, but this will imply a less smooth experience.", |
||||
"5": "At anytime you can decide to switch to another broker service provider or host it yourself. Your data is totally <b >portable</b > and can freely move to another broker.", |
||||
"6": "Soon we will offer you the opportunity to host your own broker at <b>home</b> or <b>office</b>. Instead of using a \"broker service provider\", you will own a small device that you connect behind your internet router. It is called <b>NG Box</b> and will be available soon.", |
||||
"7": "Organizations and companies have the opportunity to host a broker <b>on-premise</b> or in the <b>cloud</b>, as the software is open source. Individuals can also <b>self-host</b> a broker on any VPS server or at home, on their dedicated hardware." |
||||
}, |
||||
"choose_broker": "Please choose one broker among the list", |
||||
"register_with_broker": "Register with {broker}", |
||||
"for_eu_citizens": "European Union Server", |
||||
"for_rest": "For the rest of the world", |
||||
"enter_invite_link": "Enter an invitation link", |
||||
"scan_invite_qr": "Scan an invitation QR-code", |
||||
"self_hosted_broker": "Self-hosted broker", |
||||
"ng_box": "NG Box (owned or invited)", |
||||
"registration_success": "You have been successfully registered to {broker}", |
||||
"choose_pin": { |
||||
"title": "Let's start creating your wallet by choosing a PIN code", |
||||
"description": "We recommend you to choose a PIN code that you already know very well. <br /> Your credit card PIN, by example, is a good choice.<br />We at NextGraph will never see your PIN.", |
||||
"rules": "Here are the rules for the PIN:", |
||||
"1": "It cannot be a series like 1234 or 8765.", |
||||
"2": "The same digit cannot repeat more than once. By example 4484 is invalid.", |
||||
"3": "Try to avoid birth dates, last digits of phone numbers, or zip codes" |
||||
}, |
||||
"chosen_pin": "You have chosen:", |
||||
"confirm_pin": "Please confirm your PIN code.", |
||||
"confirm_pin_description": "Enter the same PIN again.", |
||||
"pin_confirmed_as": "You PIN is confirmed as: ", |
||||
"choose_security_phrase_and_image": { |
||||
"title": "Now let's enter a security phrase and a security image", |
||||
"description": "As a verification step, this phrase and image will be presented to you every time you are about to enter your pazzle and PIN in order to unlock your wallet.<br /> This security measure will prevent you from entering your pazzle and PIN on malicious sites and apps.", |
||||
"warning": "Every time you will use your wallet, if you do not see and recognize your own security phrase and image before entering your pazzle, please stop and DO NOT enter your pazzle, as you would be the victim of a phishing attempt.", |
||||
"rules_title": "Here are the rules for the security phrase and image:", |
||||
"1": "The phrase should be at least 10 characters long", |
||||
"2": "It should be something you will remember, but not something too personal.", |
||||
"3": "Do not enter your full name, nor address, nor phone number.", |
||||
"4": "Instead, you can enter a quote, a small sentence that you like, or something meaningless to others, but unique to you.", |
||||
"5": "The image should be minimum 150x150px. There is no need to provide more than 400x400px as it will be scaled down anyway.", |
||||
"6": "We accept several formats like JPEG, PNG, GIF, WEBP and more.", |
||||
"7": "The image should be unique to you. But it should not be too personal neither.", |
||||
"8": "Do not upload your face picture, this is not a profile pic.", |
||||
"9": "The best would be a landscape you like or any other picture that you will recognize as unique.", |
||||
"10": "Please be aware that other people who are sharing this device with you, will be able to see this image and phrase." |
||||
}, |
||||
"type_security_phrase_placeholder": "Type a security phrase...", |
||||
"save_security_phrase_and_image": "Save security phrase & image", |
||||
"tap_to_upload": "Tap to upload an image", |
||||
"click_to_upload": "Click to select an image", |
||||
"or_drag_drop": "or drag and drop", |
||||
"pins_no_match": "You didn't enter the same PIN twice", |
||||
"almost_done": "We are almost done!", |
||||
"save_wallet_options": { |
||||
"description": "There are 2 options to choose before we can create your wallet.", |
||||
"trust": "Do you trust this device?", |
||||
"trust_description": "If you do, if this device is yours, or it is used by a few trusted persons of your family or workplace, and you would like to login again from this device in the future, then you can save your wallet on this device. To the contrary, if this device is public and shared by strangers, do not save your wallet here.", |
||||
"trust_toggle": "Yes, save my wallet on this device", |
||||
"device_name_description": "To see which devices you are connected with, every device should have a name (e.g. Bob's laptop). Please enter it here.", |
||||
"cloud": "Keep a copy in the cloud?", |
||||
"cloud_description": "Are you afraid that you will loose the file containing your wallet? If this would happen, your wallet would be lost forever, together with all your documents. We can keep an encrypted copy of your wallet in our cloud. Only you will be able to download it with a special link. You would have to keep this link safely though. By selecting this option, you agree to the", |
||||
"cloud_toggle": "Save my wallet in the cloud?", |
||||
"cloud_tos": "Terms of Service of our cloud", |
||||
"pdf": "Should we create a PDF file of your wallet?", |
||||
"pdf_description": "We can prepare for you a PDF file containing all the information of your wallet, unencrypted. In the next screen, once your wallet is ready, you will be able to download such PDF file. You should print this file and then delete the PDF (and empty the trash). Keep this printed document in a safe place. It contains all the information to regenerate your wallet in case you lost access to it.", |
||||
"pdf_toggle": "Yes, create a PDF of my wallet", |
||||
"link": "Create a link to access your wallet easily?", |
||||
"link_description": "When you want to use your wallet on the web or from other devices, we can help you find your wallet by creating a simple link accessible from anywhere. Only you will have access to this link. In order to do so, we will keep your wallet ID and some information about your broker on our cloud servers. If you prefer to opt out, just uncheck this option. By selecting this option, you agree to the", |
||||
"link_toggle": "Create a link to my wallet?" |
||||
}, |
||||
"lets_create": "Let's create this wallet", |
||||
"creating": "Your wallet is being created", |
||||
"ready": "Your wallet is ready!", |
||||
"download_wallet_description": "Please download your wallet and keep it in a safe location", |
||||
"download_wallet": "Download my wallet", |
||||
"download_wallet_done": "Your wallet file has been downloaded into your \"Downloads\" folder, with the name<br /><span class=\"text-black\"> {download_name}</span ><br /> <span class=\"font-bold\" >Please move it to a safe and durable place.</span ><br />", |
||||
"your_pazzle": "Here below is your Pazzle. <br /> The <span class=\"font-bold\">order</span> of each image is <span class=\"font-bold\">important</span>!", |
||||
"your_mnemonic": "And here is your mnemonic (your alternative passphrase):", |
||||
"unlock_tips_1": "You can use both the pazzle or the mnemonic to unlock your wallet. The pazzle is easier to remember. The mnemonic is useful in some special cases. We recommend that you use the pazzle. <span class=\"font-bold text-xl\" >Copy both on a piece of paper.</span > You should try to memorize the pazzle. Once you did, you won't need the paper anymore.", |
||||
"unlock_tips_2": "Now click on \"Continue to Login\" and select your new wallet.", |
||||
"unlock_tips_3": "It is important that you <span class=\"font-bold\">login</span> with this wallet <span class=\"font-bold\">at least once</span> from this {platform, select, browser {browser tab} other {device}}, while connected to the internet, so your personal site can be created on your broker.", |
||||
"continue_to_login": "Continue to Login", |
||||
"continue_confirm": "Did you write down your login credentials?", |
||||
"continue_confirm_description": "The pazzle and the mnemonic <span class=\"font-bold\"> will not be shown to you again</span >. Please make sure, you have written them down.", |
||||
"continue_confirm_go_back": "Take me back", |
||||
"continue_confirm_yes": "Yes, I did" |
||||
}, |
||||
"wallet_login": { |
||||
"select_wallet": "Select a wallet to login with", |
||||
"from_import.title": "Your wallet has been transferred", |
||||
"from_import.description": "Your wallet has been received from the other device!", |
||||
"from_import.instruction": "To finish the import, please log in.", |
||||
"with_another_wallet": "Log in with another wallet", |
||||
"import_wallet": "Import your wallet", |
||||
"import_file": "Import a Wallet File", |
||||
"import_qr": "Import with QR-Code", |
||||
"import_link": "Import with TextCode", |
||||
"new_wallet": "Create a new Wallet", |
||||
"logged_in": "You are logged in.<br /> please wait while the app is loading" |
||||
}, |
||||
"wallet_login_qr": { |
||||
"title": "Import Wallet with QR-Code", |
||||
"scan.description": "To import your wallet from another device, generate an export QR-Code there. On the other device, go to<br /><span class=\"path\">User Panel > Wallet > Generate QR</span> to export.", |
||||
"scan.modal.title": "Scan Wallet QR-Code", |
||||
"gen.button": "Generate QR-Code", |
||||
"gen.description": "To import your wallet from another device, you have to generate a QR-Code here on this device, and then scan it with your other device (the one where your wallet is located for now).<br/>If your other device does not have a camera, then you have to use another method for importing your wallet here.", |
||||
"offline_advice": "If you do not have internet on this device, you can use the \"Import a Wallet file\" method instead.", |
||||
"gen.letsgo": "Ready? On your other device, you first have to be logged-in (wallet is opened) and then you go to<br /><span class=\"path\">User Panel > Wallet > Scan QR to export</span>.<br />Then on this present device, click below on the<br/><span class=\"path\">Generate QR-Code</span> button.", |
||||
"gen.generated": "Scan this QR-Code from the other device.<br/>You have 5 minutes to do so.", |
||||
"success_btn": "Continue to Login" |
||||
}, |
||||
"wallet_login_textcode": { |
||||
"title": "Import Wallet from TextCode", |
||||
"description": "To generate a TextCode, open a logged in device and go to<br /><span class=\"path\">User Panel > Wallet > Export by generating a TextCode</span>.", |
||||
"import_btn": "Import with TextCode", |
||||
"enter_here": "Enter your TextCode here below and click on Import button" |
||||
}, |
||||
"scan_qr": { |
||||
"scanning": "Scanning the QR-Code" |
||||
} |
||||
}, |
||||
"buttons": { |
||||
"ok": "Ok", |
||||
"go_back": "Go back", |
||||
"back": "Back", |
||||
"confirm": "Confirm", |
||||
"cancel": "Cancel", |
||||
"remove": "Remove", |
||||
"correct": "Correct", |
||||
"try_again": "Try again", |
||||
"back_to_homepage": "Go back to Homepage", |
||||
"logout": "Logout", |
||||
"login": "Login", |
||||
"start_over": "Start over", |
||||
"scan_qr": "Scan QR-Code" |
||||
}, |
||||
"errors": { |
||||
"an_error_occurred": "An error occurred", |
||||
"error_occurred": "An error occurred:<br />{message}", |
||||
"AlreadyExists": "The user is already registered with the selected broker.<br />Try logging in instead.", |
||||
"InvalidSignature": "The signature is invalid.", |
||||
"IncompleteSignature": "The signature is incomplete.", |
||||
"SerializationError": "The data could not be serialized.", |
||||
"EncryptionError": "Your wallet could not be opened. You probably did a mistake.", |
||||
"DecryptionError": "Error with decryption.", |
||||
"InvalidValue": "The value is invalid.", |
||||
"ConnectionNotFound": "The connection was not found.", |
||||
"InvalidKey": "The key is invalid.", |
||||
"InvalidInvitation": "The invitation is invalid.", |
||||
"InvalidCreateAccount": "An error occurred creating the account.", |
||||
"InvalidFileFormat": "The file format is invalid.", |
||||
"InvalidArgument": "The parameter is invalid.", |
||||
"PermissionDenied": "Permission denied.", |
||||
"InvalidPazzle": "The pazzle is not correct.", |
||||
"InvalidMnemonic": "The mnemonic is not correct.", |
||||
"CommitLoadError": "Error loading commit.", |
||||
"ObjectParseError": "Error parsing object.", |
||||
"StorageError": "Storage error.", |
||||
"NotFound": "Not Found", |
||||
"JsStorageKeyNotFound": "Could not find JavaScript storage key.", |
||||
"IoError": "Input/Output error.", |
||||
"CommitVerifyError": "Verifying commit failed.", |
||||
"LocalBrokerNotInitialized": "The local broker is not initialized.", |
||||
"JsStorageReadError": "Could not read from JavaScript Storage.", |
||||
"JsStorageWriteError": "Could not write to JavaScript Storage.", |
||||
"CannotSaveWhenInMemoryConfig": "Saving while configured for In-Memory is not possible.", |
||||
"WalletNotFound": "The wallet was not found.", |
||||
"WalletAlreadyAdded": "The wallet is already added.", |
||||
"WalletAlreadyOpened": "The wallet is already open.", |
||||
"WalletError": "Error with wallet.", |
||||
"BrokerError": "Error with broker.", |
||||
"SessionNotFound": "The session cannot be found.", |
||||
"SessionAlreadyStarted": "The session is already started.", |
||||
"RepoNotFound": "The repository cannot be found.", |
||||
"BranchNotFound": "The branch cannot be found.", |
||||
"StoreNotFound": "The store cannot be found.", |
||||
"UserNotFound": "The user cannot be found.", |
||||
"TopicNotFound": "The topic cannot be found.", |
||||
"NotConnected": "You are not connected.", |
||||
"ActorError": "Actor error.", |
||||
"ProtocolError": "Protocol error.", |
||||
"ServerError": "Server error.", |
||||
"InvalidResponse": "Received an invalid response.", |
||||
"BootstrapError": "Error while bootstrapping", |
||||
"NotAServerError": "Not a server.", |
||||
"VerifierError": "Error during verification.", |
||||
"SiteNotFoundOnBroker": "The site cannot be found on the broker", |
||||
"BrokerConfigErrorStr": "{error}", |
||||
"BrokerConfigError": "Error in the broker configuration.", |
||||
"MalformedEvent": "The event has an invalid format.", |
||||
"InvalidPayload": "The payload is invalid.", |
||||
"WrongUploadId": "The upload ID is incorrect.", |
||||
"FileError": "Error with file.", |
||||
"InternalError": "Internal Error", |
||||
"OxiGraphError": "Error in OxiGraph database.", |
||||
"ConfigError": "Error in configuration.", |
||||
"LocalBrokerIsHeadless": "The local broker is headless.", |
||||
"LocalBrokerIsNotHeadless": "The local broker is not headless.", |
||||
"InvalidNuri": "Invalid NextGraph URI.", |
||||
"InvalidTarget": "Cannot resolve target.", |
||||
"ExportWalletTimeOut": "The wallet-export session has expired. Try again.", |
||||
"ConnectionError": "Could not connect to the server.", |
||||
"IncompatibleQrCode": "You scanned a NextGraph QR-Code that is of the wrong type.", |
||||
"NotARendezVous": "You scanned an invalid QR-Code.", |
||||
"camera_unavailable": "Camera is unavailable.", |
||||
"ServerAlreadyRunningInOtherProcess": "App is already running on this device. Check it and close it.", |
||||
"cannot_load_this_file": "Cannot load this file", |
||||
"graph_not_found": "Graph not found" |
||||
}, |
||||
"connectivity": { |
||||
"stopped": "Stopped", |
||||
"personal": "Personal", |
||||
"connecting": "Connecting", |
||||
"connected": "Connected", |
||||
"loading": "Loading", |
||||
"connection_error_short": "{error}", |
||||
"online": "Online", |
||||
"offline": "Offline" |
||||
}, |
||||
"common": { |
||||
"version": "Version: {version}", |
||||
"logo": "NextGraph Logo", |
||||
"support_nextgraph": "Support NextGraph", |
||||
"about_nextgraph": "About NextGraph", |
||||
"donate_nextgraph": "Donate to NextGraph" |
||||
}, |
||||
"wallet_sync": { |
||||
"offline_warning": "You cannot transfer your wallet when offline.<br />Please make sure you are connected to the internet first.", |
||||
"textcode.usage_warning": "You have to exchange this TextCode with the other device by any means available to you (email, other messenger apps, etc...). It is highly recommended to use a tool that is end-to-end encrypted. If you can, you should use the \"Import with QR-Code\" option instead, as it is safer and simpler. If your devices are not connected to the internet, then you can use the \"Import a Wallet File\" option. In this case, you will transfer the wallet file with a USB key, from one device to the other, or for mobile, by connecting your mobile with the USB cable, to the computer, and then transferring the file with the File Transfer utility on Android, or AirDrop/Finder/iTunes on an iPhone/mac/PC. We do not recommend uploading your wallet file to any cloud service.", |
||||
"server_transfer_notice": "Both devices need to be online.<br />During this wallet transfer, your wallet will be temporarily and securely stored on our servers for up to 5 minutes, using two levels of encryption.<br/> We at NextGraph will never be able to read your wallet, your PIN, your pazzle nor your mnemonic.", |
||||
"importing": "Importing wallet", |
||||
"expiry": "The TextCode will be valid for 5 minutes.", |
||||
"error": "An error occurred while synchronizing your wallet:<br />{error}", |
||||
"no_camera": "Unfortunately, your device does not have a camera.<br /> You cannot scan any QR-Code.<br /> In order to export your wallet to another device, you will have to use another method.", |
||||
"no_camera_alternatives": "You have 2 other options: \"Import a Wallet file\" (transfer it using a USB key by example, useful if you are offline) or \"Import a TextCode\" (which is a text you will have to transfer with another messaging app)." |
||||
}, |
||||
"emojis": { |
||||
"category": { |
||||
"face": "Face", |
||||
"face_unwell": "Bad Face", |
||||
"face_costume": "Costumed", |
||||
"emotion": "Emotion", |
||||
"body": "Body", |
||||
"sport": "Sport", |
||||
"bigger_animal": "Big Animal", |
||||
"smaller_animal": "Small Animal", |
||||
"plants": "Plants and Insects", |
||||
"fruits": "Fruits and Veggies", |
||||
"food": "Food and Drinks", |
||||
"travel": "Travel", |
||||
"sky": "Sky and Weather", |
||||
"play": "Leisure", |
||||
"house": "Household" |
||||
}, |
||||
"codes": { |
||||
"COMMENT": "YOU CAN FIND I18N UNICODE DESCRIPTIONS AT https://github.com/unicode-org/cldr-json", |
||||
"happy": "happy face", |
||||
"happy_tears": "face with tears of joy", |
||||
"halo": "smiling face with halo ring", |
||||
"three_hearts": "face with 3 hearts", |
||||
"with_two_hearts": "face with 2 heart-eyes", |
||||
"one_heart": "face blowing one heart kiss", |
||||
"with_tongue": "face with tongue", |
||||
"with_two_hands": "face with two hands", |
||||
"one_hand": "face with hand over mouth", |
||||
"silenced": "silenced zipper-mouth face", |
||||
"celebrating": "partying face", |
||||
"sunglasses": "face with sunglasses", |
||||
"eyes_up": "face with rolling eyes up", |
||||
"monocle": "face with monocle", |
||||
"sleeping": "sleeping face", |
||||
"mask": "face with medical mask", |
||||
"fever": "fever face with thermometer", |
||||
"bandage": "face with head-bandage", |
||||
"vomit": "face vomiting", |
||||
"tissue": "tissue sneezing face", |
||||
"hot": "red face with sweat", |
||||
"cold": "cold face", |
||||
"crossed_eyes": "face with crossed-out eyes", |
||||
"exploding": "exploding head", |
||||
"sad": "frowning sad face", |
||||
"long_nose": "long nose lying face", |
||||
"many_tears": "loudly crying face", |
||||
"fear": "face screaming in fear", |
||||
"tired": "tired yawning face", |
||||
"annoyed": "annoyed face with steam from nose", |
||||
"clown": "clown face", |
||||
"ghost": "ghost", |
||||
"dog": "dog face", |
||||
"happy_cat": "happy cat with smiling eyes", |
||||
"scared_cat": "weary scared cat", |
||||
"sad_cat": "crying cat", |
||||
"monkey_no_see": "see-no-evil monkey", |
||||
"monkey_no_hear": "hear-no-evil monkey", |
||||
"monkey_no_talk": "speak-no-evil monkey", |
||||
"builder": "construction worker", |
||||
"princess": "princess", |
||||
"firefighter": "firefighter", |
||||
"mage": "mage", |
||||
"mermaid": "mermaid", |
||||
"fairy": "fairy", |
||||
"letter_heart": "love letter", |
||||
"red_heart": "red heart", |
||||
"two_hearts": "two hearts", |
||||
"kiss": "kiss mark", |
||||
"hundred": "hundred points", |
||||
"explosion": "explosion", |
||||
"drops": "sweat droplets", |
||||
"handshake": "handshake", |
||||
"hand_five_fingers": "hand with 5 fingers splayed", |
||||
"hand_two_fingers": "victory hand with 2 fingers", |
||||
"thumbs_up": "thumbs up", |
||||
"fist": "raised fist", |
||||
"two_hands": "two open hands", |
||||
"writing": "writing hand", |
||||
"praying": "praying folded hands", |
||||
"arm": "flexed arm", |
||||
"leg": "leg", |
||||
"foot": "foot", |
||||
"ear": "ear", |
||||
"nose": "nose", |
||||
"brain": "brain", |
||||
"tooth": "tooth", |
||||
"bone": "bone", |
||||
"eye": "eye", |
||||
"tongue": "tongue", |
||||
"mouth": "mouth", |
||||
"shirt": "t-shirt", |
||||
"pants": "pants", |
||||
"dress": "dress", |
||||
"shoe": "running shoe", |
||||
"fencing": "fencing", |
||||
"horse_riding": "horse riding", |
||||
"ski": "skier", |
||||
"rowing_boat": "rowing boat", |
||||
"swim": "swimming", |
||||
"surf": "surfing", |
||||
"gym": "lifting weights", |
||||
"wrestling": "two people wrestling", |
||||
"bike": "biking", |
||||
"parachute": "parachute", |
||||
"football": "football", |
||||
"basketball": "basketball", |
||||
"tennis": "tennis", |
||||
"ping_pong": "ping pong", |
||||
"martial": "judo uniform kimono", |
||||
"lion": "lion", |
||||
"leopard": "leopard", |
||||
"horse": "horse face", |
||||
"zebra": "zebra", |
||||
"pig": "pig", |
||||
"goat": "goat", |
||||
"sheep": "sheep", |
||||
"camel": "camel", |
||||
"giraffe": "giraffe", |
||||
"elephant": "elephant", |
||||
"rhinoceros": "rhinoceros", |
||||
"flamingo": "flamingo", |
||||
"whale": "whale", |
||||
"dolphin": "dolphin", |
||||
"bear": "bear", |
||||
"rooster": "rooster", |
||||
"chick": "hatching chick", |
||||
"eagle": "eagle", |
||||
"duck": "duck", |
||||
"owl": "owl", |
||||
"rabbit": "rabbit", |
||||
"penguin": "penguin", |
||||
"lizard": "lizard", |
||||
"turtle": "turtle", |
||||
"snake": "snake", |
||||
"hedgehog": "hedgehog", |
||||
"bat": "bat", |
||||
"fish": "fish", |
||||
"shell": "shell", |
||||
"octopus": "octopus", |
||||
"snail": "snail", |
||||
"butterfly": "butterfly", |
||||
"ant": "ant", |
||||
"bee": "honeybee", |
||||
"beetle": "beetle", |
||||
"rose": "rose", |
||||
"sunflower": "sunflower", |
||||
"fir": "evergreen fir tree", |
||||
"palm_tree": "palm tree", |
||||
"cactus": "cactus", |
||||
"clover": "four leaf clover", |
||||
"potted_plant": "potted plant", |
||||
"bouquet": "bouquet", |
||||
"three_leaves": "three fallen leaf", |
||||
"mushroom": "mushroom", |
||||
"grapes": "grapes", |
||||
"watermelon": "watermelon", |
||||
"lemon": "lemon", |
||||
"banana": "banana", |
||||
"pineapple": "pineapple", |
||||
"apple": "red apple", |
||||
"cherries": "cherries", |
||||
"strawberry": "strawberry", |
||||
"three_blueberries": "three blueberries", |
||||
"kiwi": "kiwi", |
||||
"avocado": "avocado", |
||||
"eggplant": "eggplant", |
||||
"carrot": "carrot", |
||||
"corn": "corn", |
||||
"pepper": "red hot pepper", |
||||
"croissant": "croissant", |
||||
"bread": "baguette bread", |
||||
"pretzel": "pretzel", |
||||
"cheese": "cheese", |
||||
"pizza": "slice of pizza", |
||||
"egg": "fried egg", |
||||
"ice_cream": "ice cream", |
||||
"cookie": "cookie", |
||||
"cake": "piece of cake", |
||||
"chocolate": "chocolate", |
||||
"sweet": "candy", |
||||
"coffee": "coffee", |
||||
"champagne_bottle": "champagne bottle", |
||||
"glass_wine": "wine glass", |
||||
"two_glasses": "two glasses of cava", |
||||
"mountain": "mountain", |
||||
"camping": "camping", |
||||
"beach": "beach", |
||||
"compass": "compass", |
||||
"museum": "museum", |
||||
"house": "house", |
||||
"fountain": "fountain", |
||||
"circus": "circus", |
||||
"train": "train", |
||||
"taxi": "taxi", |
||||
"motorcycle": "motorcycle", |
||||
"sailboat": "sailboat", |
||||
"airplane": "airplane", |
||||
"helicopter": "helicopter", |
||||
"rocket": "rocket", |
||||
"sun": "sun", |
||||
"moon": "moon", |
||||
"planet": "planet", |
||||
"star": "star", |
||||
"night_sky": "night sky", |
||||
"cloud": "cloud with rain", |
||||
"umbrella": "umbrella with rain drops", |
||||
"lightning": "lightning", |
||||
"snowflake": "snowflake", |
||||
"snowman": "snowman", |
||||
"thermometer": "thermometer", |
||||
"fire": "fire", |
||||
"balloon": "balloon", |
||||
"kite": "kite", |
||||
"rainbow": "rainbow", |
||||
"guitar": "guitar", |
||||
"saxophone": "saxophone", |
||||
"music": "musical note", |
||||
"painting": "painting", |
||||
"chess": "chess", |
||||
"gift": "gift", |
||||
"die": "game die", |
||||
"puzzle": "puzzle", |
||||
"teddy_bear": "teddy bear", |
||||
"firecracker": "firecracker", |
||||
"bullseye": "bullseye", |
||||
"roller_skate": "roller skate", |
||||
"kick_scooter": "kick scooter", |
||||
"anchor": "anchor", |
||||
"scuba_diving": "scuba diving", |
||||
"broom": "broom", |
||||
"magnifying_glass": "magnifying glass", |
||||
"bulb": "light bulb", |
||||
"three_books": "three books", |
||||
"package": "package", |
||||
"pencil": "pencil", |
||||
"pin": "pin", |
||||
"paperclip": "paperclip", |
||||
"scissors": "scissors", |
||||
"key": "key", |
||||
"lock": "lock", |
||||
"chair": "chair", |
||||
"bathtub": "bathtub", |
||||
"sponge": "sponge", |
||||
"shopping_cart": "shopping cart" |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,231 @@ |
||||
{ |
||||
"emojis": { |
||||
"codes": { |
||||
"happy": "cara sonriendo", |
||||
"happy_tears": "cara llorando de risa", |
||||
"halo": "cara sonriendo con aureola", |
||||
"three_hearts": "cara sonriendo con corazones", |
||||
"with_two_hearts": "cara sonriendo con ojos de corazón", |
||||
"one_heart": "cara lanzando un beso", |
||||
"with_tongue": "cara con ojos cerrados y lengua fuera", |
||||
"with_two_hands": "cara con manos abrazando", |
||||
"one_hand": "cara con mano sobre la boca", |
||||
"silenced": "cara con la boca cerrada con cremallera", |
||||
"celebrating": "cara de fiesta", |
||||
"sunglasses": "cara sonriendo con gafas de sol", |
||||
"eyes_up": "cara con ojos en blanco", |
||||
"monocle": "cara con monóculo", |
||||
"sleeping": "cara durmiendo", |
||||
"mask": "cara con mascarilla médica", |
||||
"fever": "cara con termómetro", |
||||
"bandage": "cara con la cabeza vendada", |
||||
"vomit": "cara vomitando", |
||||
"tissue": "cara estornudando", |
||||
"hot": "cara con calor", |
||||
"cold": "cara con frío", |
||||
"crossed_eyes": "cara mareada", |
||||
"exploding": "cabeza explotando", |
||||
"sad": "cara con el ceño fruncido", |
||||
"long_nose": "cara de mentiroso", |
||||
"many_tears": "cara llorando fuerte", |
||||
"fear": "cara gritando de miedo", |
||||
"tired": "cara de bostezo", |
||||
"annoyed": "cara resoplando", |
||||
"clown": "cara de payaso", |
||||
"ghost": "fantasma", |
||||
"dog": "cara de perro", |
||||
"happy_cat": "gato sonriendo con ojos sonrientes", |
||||
"scared_cat": "gato asustado", |
||||
"sad_cat": "gato llorando", |
||||
"monkey_no_see": "mono con los ojos tapados", |
||||
"monkey_no_hear": "mono con los oídos tapados", |
||||
"monkey_no_talk": "mono con la boca tapada", |
||||
"builder": "profesional de la construcción", |
||||
"princess": "princesa", |
||||
"firefighter": "persona adulta", |
||||
"mage": "persona maga", |
||||
"mermaid": "persona sirena", |
||||
"fairy": "hada", |
||||
"letter_heart": "carta de amor", |
||||
"red_heart": "corazón rojo", |
||||
"two_hearts": "dos corazones", |
||||
"kiss": "marca de beso", |
||||
"hundred": "cien puntos", |
||||
"explosion": "colisión", |
||||
"drops": "gotas de sudor", |
||||
"handshake": "apretón de manos", |
||||
"hand_five_fingers": "mano abierta", |
||||
"hand_two_fingers": "mano con señal de victoria", |
||||
"thumbs_up": "pulgar hacia arriba", |
||||
"fist": "puño en alto", |
||||
"two_hands": "manos abiertas", |
||||
"writing": "mano escribiendo", |
||||
"praying": "manos en oración", |
||||
"arm": "bíceps flexionado", |
||||
"leg": "pierna", |
||||
"foot": "pie", |
||||
"ear": "oreja", |
||||
"nose": "nariz", |
||||
"brain": "cerebro", |
||||
"tooth": "diente", |
||||
"bone": "hueso", |
||||
"eye": "ojo", |
||||
"tongue": "lengua", |
||||
"mouth": "boca", |
||||
"shirt": "camiseta", |
||||
"pants": "vaqueros", |
||||
"dress": "vestido", |
||||
"shoe": "zapatilla deportiva", |
||||
"fencing": "persona haciendo esgrima", |
||||
"horse_riding": "carrera de caballos", |
||||
"ski": "persona esquiando", |
||||
"rowing_boat": "persona remando en un bote", |
||||
"swim": "persona nadando", |
||||
"surf": "persona haciendo surf", |
||||
"gym": "persona levantando pesas", |
||||
"wrestling": "personas luchando", |
||||
"bike": "persona en bicicleta", |
||||
"parachute": "paracaídas", |
||||
"football": "balón de fútbol", |
||||
"basketball": "balón de baloncesto", |
||||
"tennis": "pelota de tenis", |
||||
"ping_pong": "tenis de mesa", |
||||
"martial": "uniforme de artes marciales", |
||||
"lion": "león", |
||||
"leopard": "leopardo", |
||||
"horse": "cara de caballo", |
||||
"zebra": "cebra", |
||||
"pig": "cerdo", |
||||
"goat": "cabra", |
||||
"sheep": "oveja", |
||||
"camel": "dromedario", |
||||
"giraffe": "jirafa", |
||||
"elephant": "elefante", |
||||
"rhinoceros": "rinoceronte", |
||||
"flamingo": "flamenco", |
||||
"whale": "ballena soltando un chorro", |
||||
"dolphin": "delfín", |
||||
"bear": "oso", |
||||
"rooster": "gallo", |
||||
"chick": "pollito rompiendo el cascarón", |
||||
"eagle": "águila", |
||||
"duck": "pato", |
||||
"owl": "búho", |
||||
"rabbit": "conejo", |
||||
"penguin": "pingüino", |
||||
"lizard": "lagarto", |
||||
"turtle": "tortuga", |
||||
"snake": "serpiente", |
||||
"hedgehog": "erizo", |
||||
"bat": "murciélago", |
||||
"fish": "pez", |
||||
"shell": "caracola", |
||||
"octopus": "pulpo", |
||||
"snail": "caracol", |
||||
"butterfly": "mariposa", |
||||
"ant": "hormiga", |
||||
"bee": "abeja", |
||||
"beetle": "mariquita", |
||||
"rose": "rosa", |
||||
"sunflower": "girasol", |
||||
"fir": "árbol de hoja perenne", |
||||
"palm_tree": "palmera", |
||||
"cactus": "cactus", |
||||
"clover": "trébol de cuatro hojas", |
||||
"potted_plant": "planta de maceta", |
||||
"bouquet": "ramo de flores", |
||||
"three_leaves": "hojas caídas", |
||||
"mushroom": "champiñón", |
||||
"grapes": "uvas", |
||||
"watermelon": "sandía", |
||||
"lemon": "limón", |
||||
"banana": "plátano", |
||||
"pineapple": "piña", |
||||
"apple": "manzana roja", |
||||
"cherries": "cerezas", |
||||
"strawberry": "fresa", |
||||
"three_blueberries": "arándanos", |
||||
"kiwi": "kiwi", |
||||
"avocado": "aguacate", |
||||
"eggplant": "berenjena", |
||||
"carrot": "zanahoria", |
||||
"corn": "espiga de maíz", |
||||
"pepper": "chile picante", |
||||
"croissant": "cruasán", |
||||
"bread": "baguete", |
||||
"pretzel": "bretzel", |
||||
"cheese": "cuña de queso", |
||||
"pizza": "pizza", |
||||
"egg": "cocinar", |
||||
"ice_cream": "cucurucho de helado", |
||||
"cookie": "galleta", |
||||
"cake": "trozo de tarta", |
||||
"chocolate": "tableta de chocolate", |
||||
"sweet": "caramelo", |
||||
"coffee": "bebida caliente", |
||||
"champagne_bottle": "botella descorchada", |
||||
"glass_wine": "copa de vino", |
||||
"two_glasses": "copas brindando", |
||||
"mountain": "montaña con nieve", |
||||
"camping": "camping", |
||||
"beach": "playa y sombrilla", |
||||
"compass": "brújula", |
||||
"museum": "edificio clásico", |
||||
"house": "casa con jardín", |
||||
"fountain": "fuente", |
||||
"circus": "carpa de circo", |
||||
"train": "locomotora de vapor", |
||||
"taxi": "taxi", |
||||
"motorcycle": "moto", |
||||
"sailboat": "velero", |
||||
"airplane": "avión", |
||||
"helicopter": "helicóptero", |
||||
"rocket": "cohete", |
||||
"sun": "sol", |
||||
"moon": "luna", |
||||
"planet": "planeta con anillos", |
||||
"star": "estrella", |
||||
"night_sky": "Vía Láctea", |
||||
"cloud": "nube con lluvia", |
||||
"umbrella": "paraguas con gotas de lluvia", |
||||
"lightning": "alto voltaje", |
||||
"snowflake": "copo de nieve", |
||||
"snowman": "muñeco de nieve", |
||||
"thermometer": "termómetro", |
||||
"fire": "fuego", |
||||
"balloon": "globo", |
||||
"kite": "cometa", |
||||
"rainbow": "arcoíris", |
||||
"guitar": "guitarra", |
||||
"saxophone": "saxofón", |
||||
"music": "nota musical", |
||||
"painting": "paleta de pintor", |
||||
"chess": "peón de ajedrez", |
||||
"gift": "regalo", |
||||
"die": "dado", |
||||
"puzzle": "pieza de puzle", |
||||
"teddy_bear": "osito de peluche", |
||||
"firecracker": "petardo", |
||||
"bullseye": "diana", |
||||
"roller_skate": "patines", |
||||
"kick_scooter": "patinete", |
||||
"anchor": "ancla", |
||||
"scuba_diving": "máscara de buceo", |
||||
"broom": "escoba", |
||||
"magnifying_glass": "lupa orientada hacia la izquierda", |
||||
"bulb": "bombilla", |
||||
"three_books": "libros", |
||||
"package": "paquete", |
||||
"pencil": "lápiz", |
||||
"pin": "chincheta", |
||||
"paperclip": "clip", |
||||
"scissors": "tijeras", |
||||
"key": "llave", |
||||
"lock": "candado abierto", |
||||
"chair": "silla", |
||||
"bathtub": "bañera", |
||||
"sponge": "esponja", |
||||
"shopping_cart": "carrito de la compra" |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,231 @@ |
||||
{ |
||||
"emojis": { |
||||
"codes": { |
||||
"happy": "visage rieur", |
||||
"happy_tears": "visage riant aux larmes", |
||||
"halo": "visage souriant avec auréole", |
||||
"three_hearts": "visage souriant avec cœurs", |
||||
"with_two_hearts": "visage souriant avec yeux en forme de cœur", |
||||
"one_heart": "visage envoyant un bisou", |
||||
"with_tongue": "visage qui tire la langue les yeux plissés", |
||||
"with_two_hands": "visage qui fait un câlin", |
||||
"one_hand": "visage avec une main sur la bouche", |
||||
"silenced": "visage avec bouche fermeture éclair", |
||||
"celebrating": "visage festif", |
||||
"sunglasses": "visage avec lunettes de soleil", |
||||
"eyes_up": "visage roulant des yeux", |
||||
"monocle": "visage avec un monocle", |
||||
"sleeping": "visage somnolent", |
||||
"mask": "visage avec masque", |
||||
"fever": "visage avec thermomètre", |
||||
"bandage": "visage avec bandage autour de la tête", |
||||
"vomit": "visage qui vomit", |
||||
"tissue": "visage qui éternue", |
||||
"hot": "visage rouge et chaud", |
||||
"cold": "visage bleu et froid", |
||||
"crossed_eyes": "visage étourdi", |
||||
"exploding": "tête qui explose", |
||||
"sad": "visage mécontent", |
||||
"long_nose": "visage de menteur", |
||||
"many_tears": "visage qui pleure à chaudes larmes", |
||||
"fear": "visage qui hurle de peur", |
||||
"tired": "visage bâillant", |
||||
"annoyed": "visage avec fumée sortant des narines", |
||||
"clown": "visage de clown", |
||||
"ghost": "fantôme", |
||||
"dog": "tête de chien", |
||||
"happy_cat": "chat qui sourit avec des yeux rieurs", |
||||
"scared_cat": "chat fatigué", |
||||
"sad_cat": "chat qui pleure", |
||||
"monkey_no_see": "singe ne rien voir", |
||||
"monkey_no_hear": "singe ne rien entendre", |
||||
"monkey_no_talk": "singe ne rien dire", |
||||
"builder": "personnel du bâtiment", |
||||
"princess": "princesse", |
||||
"firefighter": "adulte", |
||||
"mage": "mage", |
||||
"mermaid": "créature aquatique", |
||||
"fairy": "personnage féérique", |
||||
"letter_heart": "lettre d’amour", |
||||
"red_heart": "cœur rouge", |
||||
"two_hearts": "deux cœurs", |
||||
"kiss": "trace de rouge à lèvres", |
||||
"hundred": "cent points", |
||||
"explosion": "explosion", |
||||
"drops": "gouttes de sueur", |
||||
"handshake": "poignée de main", |
||||
"hand_five_fingers": "main levée doigts écartés", |
||||
"hand_two_fingers": "V de la victoire", |
||||
"thumbs_up": "pouce vers le haut", |
||||
"fist": "poing levé", |
||||
"two_hands": "mains ouvertes", |
||||
"writing": "main qui écrit", |
||||
"praying": "mains en prière", |
||||
"arm": "biceps contracté", |
||||
"leg": "jambe", |
||||
"foot": "pied", |
||||
"ear": "oreille", |
||||
"nose": "nez", |
||||
"brain": "cerveau", |
||||
"tooth": "dent", |
||||
"bone": "os", |
||||
"eye": "œil", |
||||
"tongue": "langue", |
||||
"mouth": "bouche", |
||||
"shirt": "T-shirt", |
||||
"pants": "jean", |
||||
"dress": "robe", |
||||
"shoe": "chaussure de sport", |
||||
"fencing": "escrimeur", |
||||
"horse_riding": "course hippique", |
||||
"ski": "skieur", |
||||
"rowing_boat": "personne ramant dans une barque", |
||||
"swim": "personne nageant", |
||||
"surf": "personne faisant du surf", |
||||
"gym": "haltérophile", |
||||
"wrestling": "personnes faisant de la lutte", |
||||
"bike": "cycliste", |
||||
"parachute": "parachute", |
||||
"football": "ballon de football", |
||||
"basketball": "basket", |
||||
"tennis": "tennis", |
||||
"ping_pong": "ping-pong", |
||||
"martial": "tenue d’arts martiaux", |
||||
"lion": "tête de lion", |
||||
"leopard": "léopard", |
||||
"horse": "tête de cheval", |
||||
"zebra": "zèbre", |
||||
"pig": "cochon", |
||||
"goat": "chèvre", |
||||
"sheep": "mouton", |
||||
"camel": "dromadaire", |
||||
"giraffe": "girafe", |
||||
"elephant": "éléphant", |
||||
"rhinoceros": "rhinocéros", |
||||
"flamingo": "flamant", |
||||
"whale": "baleine soufflant par son évent", |
||||
"dolphin": "dauphin", |
||||
"bear": "ours", |
||||
"rooster": "coq", |
||||
"chick": "poussin qui éclôt", |
||||
"eagle": "aigle", |
||||
"duck": "canard", |
||||
"owl": "chouette", |
||||
"rabbit": "lapin", |
||||
"penguin": "pingouin", |
||||
"lizard": "lézard", |
||||
"turtle": "tortue", |
||||
"snake": "serpent", |
||||
"hedgehog": "hérisson", |
||||
"bat": "chauve-souris", |
||||
"fish": "poisson", |
||||
"shell": "coquille en spirale", |
||||
"octopus": "pieuvre", |
||||
"snail": "escargot", |
||||
"butterfly": "papillon", |
||||
"ant": "fourmi", |
||||
"bee": "abeille", |
||||
"beetle": "coccinelle", |
||||
"rose": "rose", |
||||
"sunflower": "tournesol", |
||||
"fir": "conifère", |
||||
"palm_tree": "palmier", |
||||
"cactus": "cactus", |
||||
"clover": "trèfle à quatre feuilles", |
||||
"potted_plant": "plante en pot", |
||||
"bouquet": "bouquet", |
||||
"three_leaves": "feuille morte", |
||||
"mushroom": "champignon", |
||||
"grapes": "raisin", |
||||
"watermelon": "pastèque", |
||||
"lemon": "citron", |
||||
"banana": "banane", |
||||
"pineapple": "ananas", |
||||
"apple": "pomme rouge", |
||||
"cherries": "cerises", |
||||
"strawberry": "fraise", |
||||
"three_blueberries": "myrtilles", |
||||
"kiwi": "kiwi", |
||||
"avocado": "avocat", |
||||
"eggplant": "aubergine", |
||||
"carrot": "carotte", |
||||
"corn": "épi de maïs", |
||||
"pepper": "piment rouge", |
||||
"croissant": "croissant", |
||||
"bread": "baguette", |
||||
"pretzel": "bretzel", |
||||
"cheese": "part de fromage", |
||||
"pizza": "pizza", |
||||
"egg": "œuf au plat", |
||||
"ice_cream": "glace italienne", |
||||
"cookie": "cookie", |
||||
"cake": "gâteau sablé", |
||||
"chocolate": "barre chocolatée", |
||||
"sweet": "bonbon", |
||||
"coffee": "boisson chaude", |
||||
"champagne_bottle": "bouteille de champagne", |
||||
"glass_wine": "verre de vin", |
||||
"two_glasses": "trinquer", |
||||
"mountain": "montagne enneigée", |
||||
"camping": "camping", |
||||
"beach": "plage avec parasol", |
||||
"compass": "boussole", |
||||
"museum": "monument classique", |
||||
"house": "maison avec jardin", |
||||
"fountain": "fontaine", |
||||
"circus": "chapiteau", |
||||
"train": "locomotive", |
||||
"taxi": "taxi", |
||||
"motorcycle": "moto", |
||||
"sailboat": "voilier", |
||||
"airplane": "avion", |
||||
"helicopter": "hélicoptère", |
||||
"rocket": "fusée", |
||||
"sun": "soleil", |
||||
"moon": "croissant de lune", |
||||
"planet": "planète à anneaux", |
||||
"star": "étoile", |
||||
"night_sky": "voie lactée", |
||||
"cloud": "nuage avec pluie", |
||||
"umbrella": "parapluie avec gouttes de pluie", |
||||
"lightning": "haute tension", |
||||
"snowflake": "flocon", |
||||
"snowman": "bonhomme de neige sans neige", |
||||
"thermometer": "thermomètre", |
||||
"fire": "feu", |
||||
"balloon": "ballon gonflable", |
||||
"kite": "cerf-volant", |
||||
"rainbow": "arc-en-ciel", |
||||
"guitar": "guitare", |
||||
"saxophone": "saxophone", |
||||
"music": "note de musique", |
||||
"painting": "palette de peinture", |
||||
"chess": "pion d’échec", |
||||
"gift": "cadeau", |
||||
"die": "dés", |
||||
"puzzle": "pièce de puzzle", |
||||
"teddy_bear": "ours en peluche", |
||||
"firecracker": "pétard", |
||||
"bullseye": "dans le mille", |
||||
"roller_skate": "patin à roulettes", |
||||
"kick_scooter": "trottinette", |
||||
"anchor": "ancre", |
||||
"scuba_diving": "masque de plongée", |
||||
"broom": "balai", |
||||
"magnifying_glass": "loupe orientée à gauche", |
||||
"bulb": "ampoule", |
||||
"three_books": "livres", |
||||
"package": "colis", |
||||
"pencil": "crayon", |
||||
"pin": "punaise", |
||||
"paperclip": "trombone", |
||||
"scissors": "ciseaux", |
||||
"key": "clé", |
||||
"lock": "cadenas ouvert", |
||||
"chair": "chaise", |
||||
"bathtub": "baignoire", |
||||
"sponge": "éponge", |
||||
"shopping_cart": "chariot" |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,231 @@ |
||||
{ |
||||
"emojis": { |
||||
"codes": { |
||||
"happy": "faccina con un gran sorriso", |
||||
"happy_tears": "faccina con lacrime di gioia", |
||||
"halo": "faccina con sorriso e aureola", |
||||
"three_hearts": "faccina con cuoricini", |
||||
"with_two_hearts": "faccina con sorriso e occhi a cuore", |
||||
"one_heart": "faccina che manda un bacio", |
||||
"with_tongue": "faccina che strizza gli occhi e mostra la lingua", |
||||
"with_two_hands": "faccina che abbraccia", |
||||
"one_hand": "faccina con mano sulla bocca", |
||||
"silenced": "faccina con bocca con cerniera", |
||||
"celebrating": "faccina che festeggia", |
||||
"sunglasses": "faccina con sorriso e occhiali da sole", |
||||
"eyes_up": "faccina con occhi al cielo", |
||||
"monocle": "faccina con monocolo", |
||||
"sleeping": "faccina che dorme", |
||||
"mask": "faccina con mascherina", |
||||
"fever": "faccina con termometro", |
||||
"bandage": "faccina con la testa bendata", |
||||
"vomit": "faccina che vomita", |
||||
"tissue": "faccina che starnutisce", |
||||
"hot": "faccina accaldata", |
||||
"cold": "faccina congelata", |
||||
"crossed_eyes": "faccina frastornata", |
||||
"exploding": "testa che esplode", |
||||
"sad": "faccina imbronciata", |
||||
"long_nose": "faccina bugiarda", |
||||
"many_tears": "faccina disperata", |
||||
"fear": "faccina terrorizzata", |
||||
"tired": "faccina che sbadiglia", |
||||
"annoyed": "faccina che sbuffa", |
||||
"clown": "faccina pagliaccio", |
||||
"ghost": "fantasma", |
||||
"dog": "muso di cane", |
||||
"happy_cat": "gatto che sogghigna", |
||||
"scared_cat": "gatto esterrefatto", |
||||
"sad_cat": "gatto che piange", |
||||
"monkey_no_see": "non vedo", |
||||
"monkey_no_hear": "non sento", |
||||
"monkey_no_talk": "non parlo", |
||||
"builder": "operaio edile", |
||||
"princess": "principessa", |
||||
"firefighter": "persona", |
||||
"mage": "mago", |
||||
"mermaid": "sirena", |
||||
"fairy": "fata", |
||||
"letter_heart": "lettera d’amore", |
||||
"red_heart": "cuore rosso", |
||||
"two_hearts": "due cuori", |
||||
"kiss": "impronta della bocca", |
||||
"hundred": "100 punti", |
||||
"explosion": "collisione", |
||||
"drops": "gocce di sudore", |
||||
"handshake": "stretta di mano", |
||||
"hand_five_fingers": "mano aperta", |
||||
"hand_two_fingers": "vittoria", |
||||
"thumbs_up": "pollice in su", |
||||
"fist": "pugno", |
||||
"two_hands": "mani aperte", |
||||
"writing": "mano che scrive", |
||||
"praying": "mani giunte", |
||||
"arm": "bicipite", |
||||
"leg": "gamba", |
||||
"foot": "piede", |
||||
"ear": "orecchio", |
||||
"nose": "naso", |
||||
"brain": "cervello", |
||||
"tooth": "dente", |
||||
"bone": "osso", |
||||
"eye": "occhio", |
||||
"tongue": "lingua", |
||||
"mouth": "bocca", |
||||
"shirt": "t-shirt", |
||||
"pants": "jeans", |
||||
"dress": "vestito", |
||||
"shoe": "scarpa sportiva", |
||||
"fencing": "schermidore", |
||||
"horse_riding": "ippica", |
||||
"ski": "sciatore", |
||||
"rowing_boat": "persona in barca a remi", |
||||
"swim": "persona che nuota", |
||||
"surf": "persona che fa surf", |
||||
"gym": "persona che solleva pesi", |
||||
"wrestling": "persone che fanno la lotta", |
||||
"bike": "ciclista", |
||||
"parachute": "paracadute", |
||||
"football": "pallone da calcio", |
||||
"basketball": "palla da pallacanestro", |
||||
"tennis": "tennis", |
||||
"ping_pong": "ping pong", |
||||
"martial": "kimono per arti marziali", |
||||
"lion": "leone", |
||||
"leopard": "leopardo", |
||||
"horse": "muso di cavallo", |
||||
"zebra": "zebra", |
||||
"pig": "maiale", |
||||
"goat": "capra", |
||||
"sheep": "pecora", |
||||
"camel": "dromedario", |
||||
"giraffe": "giraffa", |
||||
"elephant": "elefante", |
||||
"rhinoceros": "rinoceronte", |
||||
"flamingo": "fenicottero", |
||||
"whale": "balena che spruzza acqua", |
||||
"dolphin": "delfino", |
||||
"bear": "orso", |
||||
"rooster": "gallo", |
||||
"chick": "pulcino che nasce", |
||||
"eagle": "aquila", |
||||
"duck": "anatra", |
||||
"owl": "gufo", |
||||
"rabbit": "coniglio", |
||||
"penguin": "pinguino", |
||||
"lizard": "lucertola", |
||||
"turtle": "tartaruga", |
||||
"snake": "serpente", |
||||
"hedgehog": "riccio", |
||||
"bat": "pipistrello", |
||||
"fish": "pesce", |
||||
"shell": "conchiglia", |
||||
"octopus": "polpo", |
||||
"snail": "lumaca", |
||||
"butterfly": "farfalla", |
||||
"ant": "formica", |
||||
"bee": "ape", |
||||
"beetle": "coccinella", |
||||
"rose": "rosa", |
||||
"sunflower": "girasole", |
||||
"fir": "albero sempreverde", |
||||
"palm_tree": "palma", |
||||
"cactus": "cactus", |
||||
"clover": "quadrifoglio", |
||||
"potted_plant": "pianta in vaso", |
||||
"bouquet": "mazzo di fiori", |
||||
"three_leaves": "foglia caduta", |
||||
"mushroom": "fungo", |
||||
"grapes": "uva", |
||||
"watermelon": "anguria", |
||||
"lemon": "limone", |
||||
"banana": "banana", |
||||
"pineapple": "ananas", |
||||
"apple": "mela rossa", |
||||
"cherries": "ciliegie", |
||||
"strawberry": "fragola", |
||||
"three_blueberries": "mirtilli", |
||||
"kiwi": "kiwi", |
||||
"avocado": "avocado", |
||||
"eggplant": "melanzana", |
||||
"carrot": "carota", |
||||
"corn": "pannocchia", |
||||
"pepper": "peperoncino", |
||||
"croissant": "croissant", |
||||
"bread": "baguette", |
||||
"pretzel": "pretzel", |
||||
"cheese": "fetta di formaggio", |
||||
"pizza": "pizza", |
||||
"egg": "cucinare", |
||||
"ice_cream": "cono gelato", |
||||
"cookie": "biscotto", |
||||
"cake": "fetta di torta", |
||||
"chocolate": "cioccolato", |
||||
"sweet": "caramella", |
||||
"coffee": "bevanda calda", |
||||
"champagne_bottle": "bottiglia stappata", |
||||
"glass_wine": "bicchiere di vino", |
||||
"two_glasses": "brindisi", |
||||
"mountain": "montagna innevata", |
||||
"camping": "campeggio", |
||||
"beach": "spiaggia con ombrellone", |
||||
"compass": "bussola", |
||||
"museum": "edificio classico", |
||||
"house": "casa con giardino", |
||||
"fountain": "fontana", |
||||
"circus": "circo", |
||||
"train": "locomotiva", |
||||
"taxi": "taxi", |
||||
"motorcycle": "motocicletta", |
||||
"sailboat": "barca a vela", |
||||
"airplane": "aeroplano", |
||||
"helicopter": "elicottero", |
||||
"rocket": "razzo", |
||||
"sun": "sole", |
||||
"moon": "spicchio di luna", |
||||
"planet": "pianeta con satellite", |
||||
"star": "stella", |
||||
"night_sky": "Via Lattea", |
||||
"cloud": "pioggia", |
||||
"umbrella": "ombrello con gocce di pioggia", |
||||
"lightning": "alta tensione", |
||||
"snowflake": "fiocco di neve", |
||||
"snowman": "pupazzo di neve senza neve", |
||||
"thermometer": "termometro", |
||||
"fire": "fuoco", |
||||
"balloon": "palloncino", |
||||
"kite": "aquilone", |
||||
"rainbow": "arcobaleno", |
||||
"guitar": "chitarra", |
||||
"saxophone": "sassofono", |
||||
"music": "nota musicale", |
||||
"painting": "tavolozza", |
||||
"chess": "pedina degli scacchi", |
||||
"gift": "regalo", |
||||
"die": "dado", |
||||
"puzzle": "pezzo di puzzle", |
||||
"teddy_bear": "orsetto", |
||||
"firecracker": "petardo", |
||||
"bullseye": "bersaglio", |
||||
"roller_skate": "pattini a rotelle", |
||||
"kick_scooter": "monopattino", |
||||
"anchor": "ancora", |
||||
"scuba_diving": "maschera da sub", |
||||
"broom": "scopa", |
||||
"magnifying_glass": "lente di ingrandimento rivolta a sinistra", |
||||
"bulb": "lampadina", |
||||
"three_books": "libri", |
||||
"package": "pacco", |
||||
"pencil": "matita", |
||||
"pin": "puntina", |
||||
"paperclip": "graffetta", |
||||
"scissors": "forbici", |
||||
"key": "chiave", |
||||
"lock": "lucchetto aperto", |
||||
"chair": "sedia", |
||||
"bathtub": "vasca", |
||||
"sponge": "spugna", |
||||
"shopping_cart": "carrello" |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,231 @@ |
||||
{ |
||||
"emojis": { |
||||
"codes": { |
||||
"happy": "rosto risonho", |
||||
"happy_tears": "rosto chorando de rir", |
||||
"halo": "rosto sorridente com auréola", |
||||
"three_hearts": "rosto sorridente com 3 corações", |
||||
"with_two_hearts": "rosto sorridente com olhos de coração", |
||||
"one_heart": "rosto mandando um beijo", |
||||
"with_tongue": "rosto com olhos semicerrados e língua para fora", |
||||
"with_two_hands": "rosto abraçando", |
||||
"one_hand": "rosto com a mão sobre a boca", |
||||
"silenced": "rosto com boca de zíper", |
||||
"celebrating": "rosto festivo", |
||||
"sunglasses": "rosto sorridente com óculos escuros", |
||||
"eyes_up": "rosto com olhos revirados", |
||||
"monocle": "rosto com monóculo", |
||||
"sleeping": "rosto dormindo", |
||||
"mask": "rosto com máscara médica", |
||||
"fever": "rosto com termômetro", |
||||
"bandage": "rosto com atadura na cabeça", |
||||
"vomit": "rosto vomitando", |
||||
"tissue": "rosto espirrando", |
||||
"hot": "rosto fervendo de calor", |
||||
"cold": "rosto gelado", |
||||
"crossed_eyes": "rosto atordoado", |
||||
"exploding": "cabeça explodindo", |
||||
"sad": "rosto descontente", |
||||
"long_nose": "rosto de mentiroso", |
||||
"many_tears": "rosto chorando aos berros", |
||||
"fear": "rosto gritando de medo", |
||||
"tired": "rosto bocejando", |
||||
"annoyed": "rosto soltando vapor pelo nariz", |
||||
"clown": "rosto de palhaço", |
||||
"ghost": "fantasma", |
||||
"dog": "rosto de cachorro", |
||||
"happy_cat": "rosto de gato sorrindo com olhos sorridentes", |
||||
"scared_cat": "rosto de gato desolado", |
||||
"sad_cat": "rosto de gato chorando", |
||||
"monkey_no_see": "macaco que não vê nada", |
||||
"monkey_no_hear": "macaco que não ouve nada", |
||||
"monkey_no_talk": "macaco que não fala nada", |
||||
"builder": "trabalhador de construção civil", |
||||
"princess": "princesa", |
||||
"firefighter": "pessoa", |
||||
"mage": "mago", |
||||
"mermaid": "pessoa sereia", |
||||
"fairy": "fada", |
||||
"letter_heart": "carta de amor", |
||||
"red_heart": "coração vermelho", |
||||
"two_hearts": "dois corações", |
||||
"kiss": "marca de beijo", |
||||
"hundred": "cem pontos", |
||||
"explosion": "colisão", |
||||
"drops": "pingos de suor", |
||||
"handshake": "aperto de mãos", |
||||
"hand_five_fingers": "mão aberta com os dedos separados", |
||||
"hand_two_fingers": "mão em V de vitória", |
||||
"thumbs_up": "polegar para cima", |
||||
"fist": "punho levantado", |
||||
"two_hands": "mãos abertas", |
||||
"writing": "escrevendo à mão", |
||||
"praying": "mãos juntas", |
||||
"arm": "bíceps", |
||||
"leg": "perna", |
||||
"foot": "pé", |
||||
"ear": "orelha", |
||||
"nose": "nariz", |
||||
"brain": "cérebro", |
||||
"tooth": "dente", |
||||
"bone": "osso", |
||||
"eye": "olho", |
||||
"tongue": "língua", |
||||
"mouth": "boca", |
||||
"shirt": "camiseta", |
||||
"pants": "jeans", |
||||
"dress": "vestido", |
||||
"shoe": "tênis de corrida", |
||||
"fencing": "esgrimista", |
||||
"horse_riding": "corrida de cavalos", |
||||
"ski": "esquiador", |
||||
"rowing_boat": "pessoa remando", |
||||
"swim": "pessoa nadando", |
||||
"surf": "surfista", |
||||
"gym": "pessoa levantando peso", |
||||
"wrestling": "pessoas lutando", |
||||
"bike": "ciclista", |
||||
"parachute": "paraquedas", |
||||
"football": "bola de futebol", |
||||
"basketball": "bola de basquete", |
||||
"tennis": "tênis", |
||||
"ping_pong": "pingue-pongue", |
||||
"martial": "quimono de artes marciais", |
||||
"lion": "rosto de leão", |
||||
"leopard": "leopardo", |
||||
"horse": "rosto de cavalo", |
||||
"zebra": "zebra", |
||||
"pig": "porco", |
||||
"goat": "cabra", |
||||
"sheep": "ovelha", |
||||
"camel": "camelo", |
||||
"giraffe": "girafa", |
||||
"elephant": "elefante", |
||||
"rhinoceros": "rinoceronte", |
||||
"flamingo": "flamingo", |
||||
"whale": "baleia esguichando água", |
||||
"dolphin": "golfinho", |
||||
"bear": "rosto de urso", |
||||
"rooster": "galo", |
||||
"chick": "pintinho chocando", |
||||
"eagle": "águia", |
||||
"duck": "pato", |
||||
"owl": "coruja", |
||||
"rabbit": "coelho", |
||||
"penguin": "pinguim", |
||||
"lizard": "lagartixa", |
||||
"turtle": "tartaruga", |
||||
"snake": "cobra", |
||||
"hedgehog": "porco-espinho", |
||||
"bat": "morcego", |
||||
"fish": "peixe", |
||||
"shell": "caramujo", |
||||
"octopus": "polvo", |
||||
"snail": "caracol", |
||||
"butterfly": "borboleta", |
||||
"ant": "formiga", |
||||
"bee": "abelha", |
||||
"beetle": "joaninha", |
||||
"rose": "rosa", |
||||
"sunflower": "girassol", |
||||
"fir": "conífera", |
||||
"palm_tree": "palmeira", |
||||
"cactus": "cacto", |
||||
"clover": "trevo de quatro folhas", |
||||
"potted_plant": "vaso com planta", |
||||
"bouquet": "buquê", |
||||
"three_leaves": "folhas caídas", |
||||
"mushroom": "cogumelo", |
||||
"grapes": "uvas", |
||||
"watermelon": "melancia", |
||||
"lemon": "limão", |
||||
"banana": "banana", |
||||
"pineapple": "abacaxi", |
||||
"apple": "maçã vermelha", |
||||
"cherries": "cereja", |
||||
"strawberry": "morango", |
||||
"three_blueberries": "mirtilos", |
||||
"kiwi": "kiwi", |
||||
"avocado": "abacate", |
||||
"eggplant": "berinjela", |
||||
"carrot": "cenoura", |
||||
"corn": "milho", |
||||
"pepper": "pimenta", |
||||
"croissant": "croissant", |
||||
"bread": "baguete", |
||||
"pretzel": "pretzel", |
||||
"cheese": "queijo", |
||||
"pizza": "pizza", |
||||
"egg": "ovo frito", |
||||
"ice_cream": "sorvete italiano", |
||||
"cookie": "biscoito", |
||||
"cake": "pão de ló de morango", |
||||
"chocolate": "chocolate", |
||||
"sweet": "bala", |
||||
"coffee": "café", |
||||
"champagne_bottle": "garrafa de champanhe", |
||||
"glass_wine": "vinho", |
||||
"two_glasses": "taças brindando", |
||||
"mountain": "montanha com neve", |
||||
"camping": "acampamento", |
||||
"beach": "praia e guarda-sol", |
||||
"compass": "bússola", |
||||
"museum": "prédio grego", |
||||
"house": "casa com jardim", |
||||
"fountain": "fonte", |
||||
"circus": "circo", |
||||
"train": "locomotiva", |
||||
"taxi": "táxi", |
||||
"motorcycle": "motocicleta", |
||||
"sailboat": "barco a vela", |
||||
"airplane": "avião", |
||||
"helicopter": "helicóptero", |
||||
"rocket": "foguete", |
||||
"sun": "sol", |
||||
"moon": "lua crescente", |
||||
"planet": "planeta com anéis", |
||||
"star": "estrela branca média", |
||||
"night_sky": "via láctea", |
||||
"cloud": "nuvem com chuva", |
||||
"umbrella": "sombrinha na chuva", |
||||
"lightning": "alta tensão", |
||||
"snowflake": "floco de neve", |
||||
"snowman": "boneco de neve sem neve", |
||||
"thermometer": "termômetro", |
||||
"fire": "fogo", |
||||
"balloon": "balão", |
||||
"kite": "pipa", |
||||
"rainbow": "arco-íris", |
||||
"guitar": "guitarra", |
||||
"saxophone": "saxofone", |
||||
"music": "nota musical", |
||||
"painting": "paleta de tintas", |
||||
"chess": "peão de xadrez", |
||||
"gift": "presente", |
||||
"die": "jogo de dado", |
||||
"puzzle": "quebra-cabeça", |
||||
"teddy_bear": "ursinho de pelúcia", |
||||
"firecracker": "bombinha", |
||||
"bullseye": "no alvo", |
||||
"roller_skate": "patins de rodas", |
||||
"kick_scooter": "patinete", |
||||
"anchor": "âncora", |
||||
"scuba_diving": "máscara de mergulho", |
||||
"broom": "vassoura", |
||||
"magnifying_glass": "lupa para a esquerda", |
||||
"bulb": "lâmpada", |
||||
"three_books": "livros", |
||||
"package": "pacote", |
||||
"pencil": "lápis", |
||||
"pin": "tacha", |
||||
"paperclip": "clipe de papel", |
||||
"scissors": "tesoura", |
||||
"key": "chave", |
||||
"lock": "cadeado aberto", |
||||
"chair": "cadeira", |
||||
"bathtub": "banheira", |
||||
"sponge": "esponja", |
||||
"shopping_cart": "carrinho de compras" |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,231 @@ |
||||
{ |
||||
"emojis": { |
||||
"codes": { |
||||
"happy": "широко улыбается", |
||||
"happy_tears": "смеется до слез", |
||||
"halo": "с нимбом", |
||||
"three_hearts": "улыбающееся лицо с сердечками", |
||||
"with_two_hearts": "влюбленное лицо", |
||||
"one_heart": "воздушный поцелуй", |
||||
"with_tongue": "морщится и показывает язык", |
||||
"with_two_hands": "обнимает", |
||||
"one_hand": "прикрывает рот рукой", |
||||
"silenced": "рот на замке", |
||||
"celebrating": "на вечеринке", |
||||
"sunglasses": "лицо в темных очках", |
||||
"eyes_up": "закатывает глаза", |
||||
"monocle": "с моноклем", |
||||
"sleeping": "спит", |
||||
"mask": "в медицинской маске", |
||||
"fever": "с градусником во рту", |
||||
"bandage": "с перевязанной головой", |
||||
"vomit": "рвота", |
||||
"tissue": "чихает", |
||||
"hot": "жар", |
||||
"cold": "мерзнет", |
||||
"crossed_eyes": "головокружение", |
||||
"exploding": "взрыв мозга", |
||||
"sad": "грустит", |
||||
"long_nose": "лжец", |
||||
"many_tears": "слезы рекой", |
||||
"fear": "в ужасе", |
||||
"tired": "зевает", |
||||
"annoyed": "в ожидании успеха", |
||||
"clown": "клоун", |
||||
"ghost": "привидение", |
||||
"dog": "морда собаки", |
||||
"happy_cat": "смеющийся кот", |
||||
"scared_cat": "кот в шоке", |
||||
"sad_cat": "плачущий кот", |
||||
"monkey_no_see": "ничего не вижу", |
||||
"monkey_no_hear": "ничего не слышу", |
||||
"monkey_no_talk": "ничего никому не скажу", |
||||
"builder": "строитель", |
||||
"princess": "принцесса", |
||||
"firefighter": "взрослый", |
||||
"mage": "маг", |
||||
"mermaid": "русалка", |
||||
"fairy": "фея", |
||||
"letter_heart": "любовное письмо", |
||||
"red_heart": "алое сердце", |
||||
"two_hearts": "два сердца", |
||||
"kiss": "след от поцелуя", |
||||
"hundred": "сто баллов", |
||||
"explosion": "взрыв", |
||||
"drops": "капли пота", |
||||
"handshake": "рукопожатие", |
||||
"hand_five_fingers": "раскрытая ладонь", |
||||
"hand_two_fingers": "жест V", |
||||
"thumbs_up": "большой палец вверх", |
||||
"fist": "поднятый кулак", |
||||
"two_hands": "ладони в стороны", |
||||
"writing": "пишущая рука", |
||||
"praying": "сложенные руки", |
||||
"arm": "бицепс", |
||||
"leg": "нога", |
||||
"foot": "щиколотка", |
||||
"ear": "ухо", |
||||
"nose": "нос", |
||||
"brain": "мозг", |
||||
"tooth": "зуб", |
||||
"bone": "кость", |
||||
"eye": "глаз", |
||||
"tongue": "язык", |
||||
"mouth": "рот", |
||||
"shirt": "футболка", |
||||
"pants": "джинсы", |
||||
"dress": "платье", |
||||
"shoe": "кроссовки", |
||||
"fencing": "фехтовальщик", |
||||
"horse_riding": "скачки", |
||||
"ski": "горные лыжи", |
||||
"rowing_boat": "гребля", |
||||
"swim": "плавание", |
||||
"surf": "серфинг", |
||||
"gym": "тяжелоатлет", |
||||
"wrestling": "борцы", |
||||
"bike": "велосипедист", |
||||
"parachute": "парашют", |
||||
"football": "футбол", |
||||
"basketball": "баскетбол", |
||||
"tennis": "теннис", |
||||
"ping_pong": "настольный теннис", |
||||
"martial": "спортивное кимоно", |
||||
"lion": "морда льва", |
||||
"leopard": "леопард", |
||||
"horse": "морда лошади", |
||||
"zebra": "зебра", |
||||
"pig": "свинья", |
||||
"goat": "коза", |
||||
"sheep": "овца", |
||||
"camel": "одногорбый верблюд", |
||||
"giraffe": "жираф", |
||||
"elephant": "слон", |
||||
"rhinoceros": "носорог", |
||||
"flamingo": "фламинго", |
||||
"whale": "кит с фонтанчиком", |
||||
"dolphin": "дельфин", |
||||
"bear": "морда медведя", |
||||
"rooster": "петух", |
||||
"chick": "цыпленок в яйце", |
||||
"eagle": "орел", |
||||
"duck": "утка", |
||||
"owl": "сова", |
||||
"rabbit": "кролик", |
||||
"penguin": "пингвин", |
||||
"lizard": "ящерица", |
||||
"turtle": "черепаха", |
||||
"snake": "змея", |
||||
"hedgehog": "еж", |
||||
"bat": "летучая мышь", |
||||
"fish": "рыба", |
||||
"shell": "раковина", |
||||
"octopus": "осьминог", |
||||
"snail": "улитка", |
||||
"butterfly": "бабочка", |
||||
"ant": "муравей", |
||||
"bee": "пчела", |
||||
"beetle": "божья коровка", |
||||
"rose": "роза", |
||||
"sunflower": "подсолнух", |
||||
"fir": "елка", |
||||
"palm_tree": "пальма", |
||||
"cactus": "кактус", |
||||
"clover": "четырехлистный клевер", |
||||
"potted_plant": "растение в горшке", |
||||
"bouquet": "букет", |
||||
"three_leaves": "падающие листья", |
||||
"mushroom": "гриб", |
||||
"grapes": "виноград", |
||||
"watermelon": "арбуз", |
||||
"lemon": "лимон", |
||||
"banana": "банан", |
||||
"pineapple": "ананас", |
||||
"apple": "красное яблоко", |
||||
"cherries": "вишня", |
||||
"strawberry": "клубника", |
||||
"three_blueberries": "голубика", |
||||
"kiwi": "киви", |
||||
"avocado": "авокадо", |
||||
"eggplant": "баклажан", |
||||
"carrot": "морковь", |
||||
"corn": "кукурузный початок", |
||||
"pepper": "острый перец", |
||||
"croissant": "круассан", |
||||
"bread": "багет", |
||||
"pretzel": "крендель", |
||||
"cheese": "сыр", |
||||
"pizza": "пицца", |
||||
"egg": "яичница на сковороде", |
||||
"ice_cream": "мороженое в стаканчике", |
||||
"cookie": "печенье", |
||||
"cake": "кусочек торта", |
||||
"chocolate": "шоколад", |
||||
"sweet": "конфета", |
||||
"coffee": "горячий напиток", |
||||
"champagne_bottle": "шампанское", |
||||
"glass_wine": "бокал вина", |
||||
"two_glasses": "чокающиеся бокалы", |
||||
"mountain": "гора со снежной шапкой", |
||||
"camping": "кемпинг", |
||||
"beach": "пляж", |
||||
"compass": "компас", |
||||
"museum": "античное здание", |
||||
"house": "дом с садом", |
||||
"fountain": "фонтан", |
||||
"circus": "цирковой шатер", |
||||
"train": "паровоз", |
||||
"taxi": "такси", |
||||
"motorcycle": "мотоцикл", |
||||
"sailboat": "парусник", |
||||
"airplane": "самолет", |
||||
"helicopter": "вертолет", |
||||
"rocket": "ракета", |
||||
"sun": "солнце", |
||||
"moon": "полумесяц", |
||||
"planet": "планета с кольцом", |
||||
"star": "желтая звезда", |
||||
"night_sky": "Млечный Путь", |
||||
"cloud": "дождь", |
||||
"umbrella": "зонт под дождем", |
||||
"lightning": "высокое напряжение", |
||||
"snowflake": "снежинка", |
||||
"snowman": "снеговик", |
||||
"thermometer": "термометр", |
||||
"fire": "огонь", |
||||
"balloon": "воздушный шарик", |
||||
"kite": "воздушный змей", |
||||
"rainbow": "радуга", |
||||
"guitar": "гитара", |
||||
"saxophone": "саксофон", |
||||
"music": "нота", |
||||
"painting": "палитра с красками", |
||||
"chess": "пешка", |
||||
"gift": "подарок", |
||||
"die": "игральная кость", |
||||
"puzzle": "пазл", |
||||
"teddy_bear": "плюшевый мишка", |
||||
"firecracker": "динамитная шашка", |
||||
"bullseye": "мишень", |
||||
"roller_skate": "роликовые коньки", |
||||
"kick_scooter": "самокат", |
||||
"anchor": "якорь", |
||||
"scuba_diving": "маска с трубкой", |
||||
"broom": "метла", |
||||
"magnifying_glass": "лупа, наклоненная влево", |
||||
"bulb": "лампочка", |
||||
"three_books": "книги", |
||||
"package": "посылка", |
||||
"pencil": "карандаш", |
||||
"pin": "канцелярская кнопка", |
||||
"paperclip": "скрепка", |
||||
"scissors": "ножницы", |
||||
"key": "ключ", |
||||
"lock": "открытый замок", |
||||
"chair": "стул", |
||||
"bathtub": "ванна", |
||||
"sponge": "губка", |
||||
"shopping_cart": "тележка для покупок" |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,231 @@ |
||||
{ |
||||
"emojis": { |
||||
"codes": { |
||||
"happy": "嘿嘿", |
||||
"happy_tears": "笑哭了", |
||||
"halo": "微笑天使", |
||||
"three_hearts": "喜笑颜开", |
||||
"with_two_hearts": "花痴", |
||||
"one_heart": "飞吻", |
||||
"with_tongue": "眯眼吐舌", |
||||
"with_two_hands": "抱抱", |
||||
"one_hand": "不说", |
||||
"silenced": "闭嘴", |
||||
"celebrating": "聚会笑脸", |
||||
"sunglasses": "墨镜笑脸", |
||||
"eyes_up": "翻白眼", |
||||
"monocle": "带单片眼镜的脸", |
||||
"sleeping": "睡着了", |
||||
"mask": "感冒", |
||||
"fever": "发烧", |
||||
"bandage": "受伤", |
||||
"vomit": "呕吐", |
||||
"tissue": "打喷嚏", |
||||
"hot": "脸发烧", |
||||
"cold": "冷脸", |
||||
"crossed_eyes": "晕头转向", |
||||
"exploding": "爆炸头", |
||||
"sad": "不满", |
||||
"long_nose": "说谎", |
||||
"many_tears": "放声大哭", |
||||
"fear": "吓死了", |
||||
"tired": "打呵欠", |
||||
"annoyed": "傲慢", |
||||
"clown": "小丑脸", |
||||
"ghost": "鬼", |
||||
"dog": "狗脸", |
||||
"happy_cat": "微笑的猫", |
||||
"scared_cat": "疲倦的猫", |
||||
"sad_cat": "哭泣的猫", |
||||
"monkey_no_see": "非礼勿视", |
||||
"monkey_no_hear": "非礼勿听", |
||||
"monkey_no_talk": "非礼勿言", |
||||
"builder": "建筑工人", |
||||
"princess": "公主", |
||||
"firefighter": "成人", |
||||
"mage": "法师", |
||||
"mermaid": "人鱼", |
||||
"fairy": "精灵", |
||||
"letter_heart": "情书", |
||||
"red_heart": "红心", |
||||
"two_hearts": "两颗心", |
||||
"kiss": "唇印", |
||||
"hundred": "一百分", |
||||
"explosion": "爆炸", |
||||
"drops": "汗滴", |
||||
"handshake": "握手", |
||||
"hand_five_fingers": "手掌", |
||||
"hand_two_fingers": "胜利手势", |
||||
"thumbs_up": "拇指向上", |
||||
"fist": "举起拳头", |
||||
"two_hands": "张开双手", |
||||
"writing": "写字", |
||||
"praying": "双手合十", |
||||
"arm": "肌肉", |
||||
"leg": "腿", |
||||
"foot": "脚", |
||||
"ear": "耳朵", |
||||
"nose": "鼻子", |
||||
"brain": "脑", |
||||
"tooth": "牙齿", |
||||
"bone": "骨头", |
||||
"eye": "眼睛", |
||||
"tongue": "舌头", |
||||
"mouth": "嘴", |
||||
"shirt": "T恤", |
||||
"pants": "牛仔裤", |
||||
"dress": "连衣裙", |
||||
"shoe": "跑鞋", |
||||
"fencing": "击剑选手", |
||||
"horse_riding": "赛马", |
||||
"ski": "滑雪的人", |
||||
"rowing_boat": "划艇", |
||||
"swim": "游泳", |
||||
"surf": "冲浪", |
||||
"gym": "举重", |
||||
"wrestling": "摔跤选手", |
||||
"bike": "骑自行车", |
||||
"parachute": "降落伞", |
||||
"football": "足球", |
||||
"basketball": "篮球", |
||||
"tennis": "网球", |
||||
"ping_pong": "乒乓球", |
||||
"martial": "练武服", |
||||
"lion": "狮子", |
||||
"leopard": "豹子", |
||||
"horse": "马头", |
||||
"zebra": "斑马", |
||||
"pig": "猪", |
||||
"goat": "山羊", |
||||
"sheep": "母羊", |
||||
"camel": "骆驼", |
||||
"giraffe": "长颈鹿", |
||||
"elephant": "大象", |
||||
"rhinoceros": "犀牛", |
||||
"flamingo": "火烈鸟", |
||||
"whale": "喷水的鲸", |
||||
"dolphin": "海豚", |
||||
"bear": "熊", |
||||
"rooster": "公鸡", |
||||
"chick": "小鸡破壳", |
||||
"eagle": "鹰", |
||||
"duck": "鸭子", |
||||
"owl": "猫头鹰", |
||||
"rabbit": "兔子", |
||||
"penguin": "企鹅", |
||||
"lizard": "蜥蜴", |
||||
"turtle": "龟", |
||||
"snake": "蛇", |
||||
"hedgehog": "刺猬", |
||||
"bat": "蝙蝠", |
||||
"fish": "鱼", |
||||
"shell": "海螺", |
||||
"octopus": "章鱼", |
||||
"snail": "蜗牛", |
||||
"butterfly": "蝴蝶", |
||||
"ant": "蚂蚁", |
||||
"bee": "蜜蜂", |
||||
"beetle": "瓢虫", |
||||
"rose": "玫瑰", |
||||
"sunflower": "向日葵", |
||||
"fir": "松树", |
||||
"palm_tree": "棕榈树", |
||||
"cactus": "仙人掌", |
||||
"clover": "四叶草", |
||||
"potted_plant": "盆栽植物", |
||||
"bouquet": "花束", |
||||
"three_leaves": "落叶", |
||||
"mushroom": "蘑菇", |
||||
"grapes": "葡萄", |
||||
"watermelon": "西瓜", |
||||
"lemon": "柠檬", |
||||
"banana": "香蕉", |
||||
"pineapple": "菠萝", |
||||
"apple": "红苹果", |
||||
"cherries": "樱桃", |
||||
"strawberry": "草莓", |
||||
"three_blueberries": "蓝莓", |
||||
"kiwi": "猕猴桃", |
||||
"avocado": "鳄梨", |
||||
"eggplant": "茄子", |
||||
"carrot": "胡萝卜", |
||||
"corn": "玉米", |
||||
"pepper": "红辣椒", |
||||
"croissant": "羊角面包", |
||||
"bread": "法式长棍面包", |
||||
"pretzel": "椒盐卷饼", |
||||
"cheese": "芝士", |
||||
"pizza": "披萨", |
||||
"egg": "煎蛋", |
||||
"ice_cream": "圆筒冰激凌", |
||||
"cookie": "饼干", |
||||
"cake": "水果蛋糕", |
||||
"chocolate": "巧克力", |
||||
"sweet": "糖", |
||||
"coffee": "热饮", |
||||
"champagne_bottle": "开香槟", |
||||
"glass_wine": "葡萄酒", |
||||
"two_glasses": "碰杯", |
||||
"mountain": "雪山", |
||||
"camping": "露营", |
||||
"beach": "沙滩伞", |
||||
"compass": "指南针", |
||||
"museum": "古典建筑", |
||||
"house": "别墅", |
||||
"fountain": "喷泉", |
||||
"circus": "马戏团帐篷", |
||||
"train": "蒸汽火车", |
||||
"taxi": "出租车", |
||||
"motorcycle": "摩托车", |
||||
"sailboat": "帆船", |
||||
"airplane": "飞机", |
||||
"helicopter": "直升机", |
||||
"rocket": "火箭", |
||||
"sun": "太阳", |
||||
"moon": "弯月", |
||||
"planet": "有环行星", |
||||
"star": "星星", |
||||
"night_sky": "银河", |
||||
"cloud": "下雨", |
||||
"umbrella": "雨伞", |
||||
"lightning": "高压", |
||||
"snowflake": "雪花", |
||||
"snowman": "雪人", |
||||
"thermometer": "温度计", |
||||
"fire": "火焰", |
||||
"balloon": "气球", |
||||
"kite": "风筝", |
||||
"rainbow": "彩虹", |
||||
"guitar": "吉他", |
||||
"saxophone": "萨克斯管", |
||||
"music": "音符", |
||||
"painting": "调色盘", |
||||
"chess": "兵", |
||||
"gift": "礼物", |
||||
"die": "骰子", |
||||
"puzzle": "拼图", |
||||
"teddy_bear": "泰迪熊", |
||||
"firecracker": "爆竹", |
||||
"bullseye": "正中靶心的飞镖", |
||||
"roller_skate": "四轮滑冰鞋", |
||||
"kick_scooter": "滑板车", |
||||
"anchor": "锚", |
||||
"scuba_diving": "潜水面罩", |
||||
"broom": "扫帚", |
||||
"magnifying_glass": "左斜的放大镜", |
||||
"bulb": "灯泡", |
||||
"three_books": "书", |
||||
"package": "包裹", |
||||
"pencil": "铅笔", |
||||
"pin": "图钉", |
||||
"paperclip": "回形针", |
||||
"scissors": "剪刀", |
||||
"key": "钥匙", |
||||
"lock": "打开的锁", |
||||
"chair": "椅子", |
||||
"bathtub": "浴缸", |
||||
"sponge": "海绵", |
||||
"shopping_cart": "购物车" |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,148 @@ |
||||
<!-- |
||||
// Copyright (c) 2022-2024 Niko Bonnieure, Par le Peuple, NextGraph.org developers |
||||
// All rights reserved. |
||||
// Licensed under the Apache License, Version 2.0 |
||||
// <LICENSE-APACHE2 or http://www.apache.org/licenses/LICENSE-2.0> |
||||
// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>, |
||||
// at your option. All files in the project carrying such |
||||
// notice may not be copied, modified, or distributed except |
||||
// according to those terms. |
||||
--> |
||||
|
||||
<!-- |
||||
@component |
||||
QR Scanner Component and Route |
||||
--> |
||||
|
||||
<script lang="ts"> |
||||
import { onMount, onDestroy } from "svelte"; |
||||
import { t } from "svelte-i18n"; |
||||
import { scanned_qr_code } from "../store"; |
||||
import { ArrowLeft, ExclamationTriangle } from "svelte-heros-v2"; |
||||
import { Spinner } from "flowbite-svelte"; |
||||
let tauri_platform = import.meta.env.TAURI_PLATFORM; |
||||
let mobile = tauri_platform == "android" || tauri_platform == "ios"; |
||||
|
||||
let webScanner; |
||||
let nativeScanner; |
||||
let error = false; |
||||
|
||||
function on_qr_scanned(content) { |
||||
scanned_qr_code.set(content); |
||||
window.history.go(-1); |
||||
} |
||||
|
||||
onMount(async () => { |
||||
if (mobile) { |
||||
// Load Native Scanner |
||||
nativeScanner = await import("@tauri-apps/plugin-barcode-scanner"); |
||||
|
||||
let perms = await nativeScanner.requestPermissions(); |
||||
console.log(perms); |
||||
scanned_qr_code.set(""); |
||||
let result = await nativeScanner.scan({ |
||||
windowed: false, |
||||
cameraDirection: "back", |
||||
formats: [nativeScanner.Format.QRCode], |
||||
}); |
||||
console.log(result); |
||||
on_qr_scanned(result.content); |
||||
} else { |
||||
// Load Web Scanner |
||||
const { Html5QrcodeScanner, Html5Qrcode } = await import("html5-qrcode"); |
||||
// Init scanner object |
||||
// webScanner = new Html5QrcodeScanner( |
||||
// "scanner-div", |
||||
// { fps: 10, qrbox: { width: 300, height: 300 }, formatsToSupport: [0] }, |
||||
// false |
||||
// ); |
||||
try { |
||||
webScanner = new Html5Qrcode ("scanner-div"); |
||||
await webScanner.start({ facingMode: { exact: "environment"} }, { fps: 10, qrbox: { width: 300, height: 300 }, formatsToSupport: [0] }, (decoded_text, decoded_result) => { |
||||
//console.log(decoded_result); |
||||
// Handle scan result |
||||
on_qr_scanned(decoded_text); |
||||
}); |
||||
} catch (e) { |
||||
try { |
||||
webScanner = new Html5Qrcode ("scanner-div"); |
||||
await webScanner.start({ facingMode: "environment" }, { fps: 10, qrbox: { width: 300, height: 300 }, formatsToSupport: [0] }, (decoded_text, decoded_result) => { |
||||
//console.log(decoded_result); |
||||
// Handle scan result |
||||
on_qr_scanned(decoded_text); |
||||
}); |
||||
} catch (e) { |
||||
webScanner = null; |
||||
error = true; |
||||
} |
||||
} |
||||
|
||||
// // Add scanner to Screen. |
||||
// webScanner.render((decoded_text, decoded_result) => { |
||||
// //console.log(decoded_result); |
||||
// // Handle scan result |
||||
// on_qr_scanned(decoded_text); |
||||
// }, (error) => { |
||||
// //console.error(error); |
||||
// }); |
||||
|
||||
// Auto-Request camera permissions (there's no native way, unfortunately...) |
||||
// setTimeout(() => { |
||||
// // Auto-start by clicking button |
||||
// document |
||||
// .getElementById("html5-qrcode-button-camera-permission") |
||||
// ?.click(); |
||||
// }, 100); |
||||
|
||||
// setTimeout(check_ready_and_start, 1000); |
||||
|
||||
} |
||||
}); |
||||
|
||||
// const check_ready_and_start = () => { |
||||
// // Auto-start by clicking button |
||||
// let start_btn = document |
||||
// .getElementById("html5-qrcode-button-camera-start"); |
||||
// if (start_btn) { |
||||
// start_btn.click(); |
||||
// } else { |
||||
// setTimeout(check_ready_and_start, 1000); |
||||
// } |
||||
// }; |
||||
|
||||
onDestroy(async () => { |
||||
if (mobile) { |
||||
if (nativeScanner) await nativeScanner.cancel(); |
||||
} else { |
||||
if (webScanner) webScanner.stop(); |
||||
} |
||||
}); |
||||
</script> |
||||
|
||||
<div class="text-center max-w-4xl mx-auto"> |
||||
<div> |
||||
<h2 class="text-xl mb-6">{$t("pages.scan_qr.scanning")}</h2> |
||||
</div> |
||||
{#if !error}<Spinner />{/if} |
||||
<!-- Web Scanner --> |
||||
<div id="scanner-div"></div> |
||||
|
||||
{#if error} |
||||
<div class="max-w-6xl lg:px-8 mx-auto px-4 text-red-800"> |
||||
<ExclamationTriangle class="animate-bounce mt-10 h-16 w-16 mx-auto" /> |
||||
|
||||
{@html $t("errors.camera_unavailable")} |
||||
|
||||
</div> |
||||
{/if} |
||||
<div class="mx-auto max-w-xs"> |
||||
<button |
||||
on:click={() => window.history.go(-1)} |
||||
class="mt-8 w-full text-gray-500 dark:text-gray-400 focus:ring-4 focus:ring-primary-100/50 rounded-lg text-lg px-5 py-2.5 text-center inline-flex items-center dark:focus:ring-primary-700/55" |
||||
><ArrowLeft |
||||
tabindex="-1" |
||||
class="w-8 h-8 mr-2 -ml-1 transition duration-75 focus:outline-none group-hover:text-gray-900 dark:group-hover:text-white" |
||||
/>{$t("buttons.back")}</button |
||||
> |
||||
</div> |
||||
</div> |
@ -0,0 +1,54 @@ |
||||
<!-- |
||||
// Copyright (c) 2022-2024 Niko Bonnieure, Par le Peuple, NextGraph.org developers |
||||
// All rights reserved. |
||||
// Licensed under the Apache License, Version 2.0 |
||||
// <LICENSE-APACHE2 or http://www.apache.org/licenses/LICENSE-2.0> |
||||
// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>, |
||||
// at your option. All files in the project carrying such |
||||
// notice may not be copied, modified, or distributed except |
||||
// according to those terms. |
||||
--> |
||||
|
||||
<script lang="ts"> |
||||
import { onMount, tick } from "svelte"; |
||||
import { t } from "svelte-i18n"; |
||||
import FullLayout from "../lib/FullLayout.svelte"; |
||||
import Document from "../lib/Document.svelte"; |
||||
import { |
||||
active_session, |
||||
} from "../store"; |
||||
import { |
||||
change_nav_bar,reset_in_memory |
||||
} from "../tab"; |
||||
import { |
||||
Square3Stack3d, |
||||
Megaphone, |
||||
UserGroup, |
||||
InboxArrowDown, |
||||
} from "svelte-heros-v2"; |
||||
onMount(() => { |
||||
change_nav_bar("nav:protected",$t("doc.protected_store"), false); |
||||
reset_in_memory(); |
||||
}); |
||||
let nuri = $active_session && ("o:"+$active_session.protected_store_id); |
||||
</script> |
||||
|
||||
<FullLayout> |
||||
<div class="bg-gray-100 flex p-1 justify-around md:justify-start h-11 gap-0 xs:gap-3 text-gray-500"> |
||||
<div class="overflow-hidden w-20 xxs:w-28 xs:w-36 xs:ml-3 flex justify-start" role="button" tabindex="0"> |
||||
<UserGroup tabindex="-1" class="mt-1 flex-none w-7 h-7 mr-1 focus:outline-none "/><div class="text-xs xs:text-sm flex items-center"><div style="overflow-wrap: anywhere;" class="max-h-8 xs:max-h-10">{$t("doc.header.buttons.groups")}</div></div> |
||||
</div> |
||||
<div class="overflow-hidden w-20 xxs:w-28 xs:w-36 xs:ml-2 flex justify-start" role="button" tabindex="0"> |
||||
<InboxArrowDown tabindex="-1" class="mt-1 flex-none w-7 h-7 mr-1 focus:outline-none "/><div class="text-xs xs:text-sm flex items-center"><div style="overflow-wrap: anywhere;" class="max-h-8 xs:max-h-10">{$t("doc.header.buttons.inbox")}</div></div> |
||||
</div> |
||||
<div class="overflow-hidden w-24 xxs:w-28 xs:w-36 xs:ml-2 flex justify-start" role="button" tabindex="0"> |
||||
<Megaphone tabindex="-1" class="mt-1 flex-none w-7 h-7 mr-1 focus:outline-none "/><div class="text-xs xs:text-sm flex items-center"><div style="overflow-wrap: anywhere;" class="max-h-8 xs:max-h-10">{$t("doc.header.buttons.channels")}</div></div> |
||||
</div> |
||||
<div class="overflow-hidden w-16 xxs:w-28 xs:w-36 xs:ml-2 flex justify-start" role="button" tabindex="0"> |
||||
<Square3Stack3d tabindex="-1" class="mt-1 flex-none w-7 h-7 mr-1 focus:outline-none "/><div class="text-xs xs:text-sm flex items-center"><div style="overflow-wrap: anywhere;" class="max-h-8 xs:max-h-10">{$t("doc.header.buttons.all_docs")}</div></div> |
||||
</div> |
||||
</div> |
||||
<Document {nuri}/> |
||||
</FullLayout> |
||||
|
||||
|
@ -0,0 +1,46 @@ |
||||
<!-- |
||||
// Copyright (c) 2022-2024 Niko Bonnieure, Par le Peuple, NextGraph.org developers |
||||
// All rights reserved. |
||||
// Licensed under the Apache License, Version 2.0 |
||||
// <LICENSE-APACHE2 or http://www.apache.org/licenses/LICENSE-2.0> |
||||
// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>, |
||||
// at your option. All files in the project carrying such |
||||
// notice may not be copied, modified, or distributed except |
||||
// according to those terms. |
||||
--> |
||||
|
||||
<script lang="ts"> |
||||
import { onMount, tick } from "svelte"; |
||||
import { t } from "svelte-i18n"; |
||||
import FullLayout from "../lib/FullLayout.svelte"; |
||||
import Document from "../lib/Document.svelte"; |
||||
import { |
||||
active_session, |
||||
} from "../store"; |
||||
import { |
||||
change_nav_bar,reset_in_memory |
||||
} from "../tab"; |
||||
import { |
||||
Square3Stack3d, |
||||
Megaphone, |
||||
} from "svelte-heros-v2"; |
||||
onMount(() => { |
||||
change_nav_bar("nav:public",$t("doc.public_store"), false); |
||||
reset_in_memory(); |
||||
}); |
||||
let nuri = $active_session && ("o:"+$active_session.public_store_id); |
||||
</script> |
||||
|
||||
<FullLayout> |
||||
<div class="bg-gray-100 flex p-1 justify-start h-11 gap-3 text-gray-500"> |
||||
<div class="overflow-hidden w-32 ml-3 flex justify-start mr-1" role="button" tabindex="0"> |
||||
<Megaphone tabindex="-1" class="mt-1 flex-none w-7 h-7 mr-1 focus:outline-none "/><div class="text-sm flex items-center"><div style="overflow-wrap: anywhere;" class="max-h-10">{$t("doc.header.buttons.channels")}</div></div> |
||||
</div> |
||||
<div class="overflow-hidden w-32 ml-3 flex justify-start" role="button" tabindex="0"> |
||||
<Square3Stack3d tabindex="-1" class="mt-1 flex-none w-7 h-7 mr-1 focus:outline-none "/><div class="text-sm flex items-center"><div style="overflow-wrap: anywhere;" class="max-h-10">{$t("doc.header.buttons.all_docs")}</div></div> |
||||
</div> |
||||
</div> |
||||
<Document {nuri}/> |
||||
</FullLayout> |
||||
|
||||
|