@watchtowerobservability/activity-react-native 0.0.0-stage → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +202 -0
- package/README.md +84 -2
- package/package.json +38 -4
- package/src/ActivityLog.tsx +230 -0
- package/src/EventDetail.tsx +99 -0
- package/src/Sheets.tsx +113 -0
- package/src/builtInStrings.ts +230 -0
- package/src/client.ts +179 -0
- package/src/index.ts +14 -0
- package/src/link.ts +17 -0
- package/src/live.ts +74 -0
- package/src/query.ts +36 -0
- package/src/sealed.ts +38 -0
- package/src/strings.ts +67 -0
- package/src/theme.ts +37 -0
- package/src/types.ts +65 -0
- package/src/useActivityLog.ts +181 -0
- package/src/verify.ts +164 -0
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { useEffect, useState, type ReactNode } from 'react';
|
|
2
|
+
import { Modal, Pressable, ScrollView, StyleSheet, Text, View } from 'react-native';
|
|
3
|
+
import { hasSealed, openSealed, revealTokens } from './sealed';
|
|
4
|
+
import { fmtDate, show, text } from './strings';
|
|
5
|
+
import type { Colors } from './theme';
|
|
6
|
+
import type { ActivityEvent } from './types';
|
|
7
|
+
import type { ActivityLogState } from './useActivityLog';
|
|
8
|
+
|
|
9
|
+
/** One event: details, context, changes (before/after), targets, credential, metadata. Values are selectable. */
|
|
10
|
+
export function EventDetail({ event: ev, st, c, onClose, sealKey, onShare }: { event: ActivityEvent | null; st: ActivityLogState; c: Colors; onClose: () => void; sealKey?: string; onShare?: (e: ActivityEvent) => void }) {
|
|
11
|
+
const [proof, setProof] = useState<string | null>(null);
|
|
12
|
+
const [revealed, setRevealed] = useState<string | null>(null);
|
|
13
|
+
useEffect(() => { setProof(null); setRevealed(null); }, [ev?.id]);
|
|
14
|
+
if (!ev) return null;
|
|
15
|
+
// client-sealed values open here with the app's key (AAD = their path); without it the envelopes show as they are
|
|
16
|
+
const e: ActivityEvent = sealKey && (hasSealed(ev.metadata) || hasSealed(ev.changes))
|
|
17
|
+
? { ...ev, metadata: openSealed(ev.metadata, sealKey, 'metadata') as ActivityEvent['metadata'], changes: openSealed(ev.changes, sealKey, 'changes') as ActivityEvent['changes'] } : ev;
|
|
18
|
+
const toks = revealTokens(e.context?.ip ?? e.ip, e.actor.email);
|
|
19
|
+
const s = st.strings, t = st.theme, ctx = e.context ?? {};
|
|
20
|
+
const rows = (r: [string, unknown][]) => r.filter(([, v]) => v != null && v !== '').map(([k, v]) => (
|
|
21
|
+
<View key={k} accessible style={x.kv}>
|
|
22
|
+
<Text style={{ color: c.muted, fontSize: 12 }}>{k}</Text>
|
|
23
|
+
<Text selectable style={{ color: c.fg, fontSize: 15 }}>{show(v)}</Text>
|
|
24
|
+
</View>
|
|
25
|
+
));
|
|
26
|
+
const section = (title: string, body: ReactNode[] | ReactNode) => (Array.isArray(body) && !body.length ? null : (
|
|
27
|
+
<View style={x.section}>
|
|
28
|
+
<Text accessibilityRole="header" style={[x.h, { color: c.muted }]}>{title}</Text>
|
|
29
|
+
{body}
|
|
30
|
+
</View>
|
|
31
|
+
));
|
|
32
|
+
const targets = e.targets?.length ? e.targets : e.target ? [e.target] : [];
|
|
33
|
+
return (
|
|
34
|
+
<Modal visible animationType="slide" presentationStyle="pageSheet" onRequestClose={onClose}>
|
|
35
|
+
<View style={{ flex: 1, backgroundColor: c.bg }}>
|
|
36
|
+
<View style={x.bar}>
|
|
37
|
+
<Text accessibilityRole="header" style={[x.title, { color: c.fg }]} numberOfLines={2}>{e.action}</Text>
|
|
38
|
+
<Pressable accessibilityRole="button" accessibilityLabel={s.close} onPress={onClose} hitSlop={8}>
|
|
39
|
+
<Text style={{ color: c.accent, fontSize: 16 }}>{s.close}</Text>
|
|
40
|
+
</Pressable>
|
|
41
|
+
</View>
|
|
42
|
+
<ScrollView contentContainerStyle={{ paddingBottom: 32 }}>
|
|
43
|
+
{section(s.details!, rows([
|
|
44
|
+
...(t?.detailFields ?? []).map((p) => [p, text(e, p)] as [string, unknown]),
|
|
45
|
+
['id', e.id],
|
|
46
|
+
[s.actor!, e.actor.email ? `${e.actor.name ?? e.actor.id} <${e.actor.email}>` : e.actor.name ?? e.actor.id],
|
|
47
|
+
[s.onBehalfOf!, t?.showImpersonation === false ? null : e.on_behalf_of && (e.on_behalf_of.name ?? e.on_behalf_of.id)],
|
|
48
|
+
[s.outcome!, e.outcome], [s.severity!, e.severity],
|
|
49
|
+
['occurred_at', fmtDate(e.occurred_at, st.locale, st.timeZone)], ['signed_by', e.signed_by],
|
|
50
|
+
]))}
|
|
51
|
+
{section(s.context!, rows([
|
|
52
|
+
['ip', t?.showIp ? ctx.ip ?? e.ip : null], ['user_agent', t?.showIp ? ctx.user_agent : null], ['request_id', ctx.request_id],
|
|
53
|
+
['session_id', ctx.session_id], ['country', t?.showLocation ? ctx.country : null], ['trace_id', e.trace_id],
|
|
54
|
+
]))}
|
|
55
|
+
{section(s.changes!, (e.changes ?? []).map((ch, i) => (
|
|
56
|
+
<View key={i} accessible style={x.kv}>
|
|
57
|
+
<Text style={{ color: c.fg, fontWeight: '600' }}>{ch.field}</Text>
|
|
58
|
+
<Text selectable style={{ color: c.muted }}>{s.before}: {show(ch.old)}</Text>
|
|
59
|
+
<Text selectable style={{ color: c.fg }}>{s.after}: {show(ch.new)}</Text>
|
|
60
|
+
</View>
|
|
61
|
+
)))}
|
|
62
|
+
{section(s.targets!, rows(targets.map((x) => [x.type, x.name ? `${x.name} (${x.id})` : x.id])))}
|
|
63
|
+
{e.credential ? section(s.credential!, rows([['type', e.credential.type], ['id', e.credential.id], ['fingerprint', e.credential.fingerprint]])) : null}
|
|
64
|
+
{e.metadata && Object.keys(e.metadata).length ? section(s.metadata!, (
|
|
65
|
+
<Text selectable style={[x.mono, { color: c.fg }]}>{JSON.stringify(e.metadata, null, 2)}</Text>
|
|
66
|
+
)) : null}
|
|
67
|
+
{onShare ? (
|
|
68
|
+
<View style={x.section}>
|
|
69
|
+
<Pressable accessibilityRole="button" onPress={() => onShare(e)}><Text style={{ color: c.accent, fontSize: 15 }}>{s.shareLink}</Text></Pressable>
|
|
70
|
+
</View>
|
|
71
|
+
) : null}
|
|
72
|
+
{toks.length && st.can('reveal') ? (
|
|
73
|
+
<View style={x.section}>
|
|
74
|
+
<Pressable accessibilityRole="button" onPress={() => void st.reveal(e).then(setRevealed)}><Text style={{ color: c.accent, fontSize: 15 }}>{s.reveal}</Text></Pressable>
|
|
75
|
+
{revealed ? <Text selectable accessibilityLiveRegion="polite" style={{ color: c.muted, marginTop: 6 }}>{revealed}</Text> : null}
|
|
76
|
+
</View>
|
|
77
|
+
) : null}
|
|
78
|
+
{st.can('verify') ? (
|
|
79
|
+
<View style={x.section}>
|
|
80
|
+
<Pressable accessibilityRole="button" onPress={() => { setProof(s.loading!); void st.prove(e.id).then(setProof); }}>
|
|
81
|
+
<Text style={{ color: c.accent, fontSize: 15 }}>{s.prove}</Text>
|
|
82
|
+
</Pressable>
|
|
83
|
+
{proof ? <Text accessibilityLiveRegion="polite" style={{ color: c.muted, marginTop: 6 }}>{proof}</Text> : null}
|
|
84
|
+
</View>
|
|
85
|
+
) : null}
|
|
86
|
+
</ScrollView>
|
|
87
|
+
</View>
|
|
88
|
+
</Modal>
|
|
89
|
+
);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
const x = StyleSheet.create({
|
|
93
|
+
bar: { flexDirection: 'row', alignItems: 'center', gap: 12, padding: 16 },
|
|
94
|
+
title: { flex: 1, fontSize: 18, fontWeight: '600' },
|
|
95
|
+
section: { paddingHorizontal: 16, paddingTop: 12 },
|
|
96
|
+
h: { fontSize: 12, fontWeight: '600', textTransform: 'uppercase', marginBottom: 4 },
|
|
97
|
+
kv: { paddingVertical: 6 },
|
|
98
|
+
mono: { fontFamily: 'Courier', fontSize: 13 },
|
|
99
|
+
});
|
package/src/Sheets.tsx
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { useEffect, useState, type ReactNode } from 'react';
|
|
2
|
+
import { Modal, Pressable, ScrollView, StyleSheet, Text, TextInput, View } from 'react-native';
|
|
3
|
+
import type { Colors } from './theme';
|
|
4
|
+
import type { Filters, SavedView } from './types';
|
|
5
|
+
import type { ActivityLogState } from './useActivityLog';
|
|
6
|
+
|
|
7
|
+
type Sheet = { visible: boolean; st: ActivityLogState; c: Colors; onClose: () => void };
|
|
8
|
+
|
|
9
|
+
function Frame({ title, c, onClose, closeLabel, children, action }: { title: string; c: Colors; onClose: () => void; closeLabel: string; children: ReactNode; action?: ReactNode }) {
|
|
10
|
+
return (
|
|
11
|
+
<View style={{ flex: 1, backgroundColor: c.bg }}>
|
|
12
|
+
<View style={x.bar}>
|
|
13
|
+
<Pressable accessibilityRole="button" accessibilityLabel={closeLabel} onPress={onClose} hitSlop={8}>
|
|
14
|
+
<Text style={{ color: c.accent, fontSize: 16 }}>{closeLabel}</Text>
|
|
15
|
+
</Pressable>
|
|
16
|
+
<Text accessibilityRole="header" style={[x.title, { color: c.fg }]}>{title}</Text>
|
|
17
|
+
{action}
|
|
18
|
+
</View>
|
|
19
|
+
<ScrollView contentContainerStyle={{ padding: 16, paddingBottom: 32 }}>{children}</ScrollView>
|
|
20
|
+
</View>
|
|
21
|
+
);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
function Options({ label, all, value, options, c, onChange }: { label: string; all: string; value?: string; options: [string, string][]; c: Colors; onChange: (v?: string) => void }) {
|
|
25
|
+
const opts: [string, string][] = [['', all], ...options, ...(value && !options.some(([v]) => v === value) ? [[value, value] as [string, string]] : [])];
|
|
26
|
+
return (
|
|
27
|
+
<View style={{ marginBottom: 16 }} accessibilityRole="radiogroup" accessibilityLabel={label}>
|
|
28
|
+
<Text accessibilityRole="header" style={[x.h, { color: c.muted }]}>{label}</Text>
|
|
29
|
+
<View style={x.wrap}>
|
|
30
|
+
{opts.map(([v, l]) => {
|
|
31
|
+
const on = (value ?? '') === v;
|
|
32
|
+
return (
|
|
33
|
+
<Pressable key={v || '-'} accessibilityRole="radio" accessibilityState={{ checked: on }} accessibilityLabel={l} onPress={() => onChange(v || undefined)}
|
|
34
|
+
style={[x.opt, { borderColor: on ? c.accent : c.border, backgroundColor: on ? c.accent : 'transparent', borderRadius: c.radius }]}>
|
|
35
|
+
<Text style={{ color: on ? '#fff' : c.fg, fontSize: 14 }}>{l}</Text>
|
|
36
|
+
</Pressable>
|
|
37
|
+
);
|
|
38
|
+
})}
|
|
39
|
+
</View>
|
|
40
|
+
</View>
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/** Facet values from the server under the other filters, outcome, severity, time range and order. */
|
|
45
|
+
export function FiltersSheet({ visible, st, c, onClose }: Sheet) {
|
|
46
|
+
const s = st.strings;
|
|
47
|
+
const [f, setF] = useState<Filters>(st.filters);
|
|
48
|
+
useEffect(() => { if (visible) setF(st.filters); }, [visible, st.filters]);
|
|
49
|
+
const set = (k: keyof Filters) => (v?: string) => setF((o) => ({ ...o, [k]: v }));
|
|
50
|
+
const fac = (k: string, named = false) => (st.facets[k] ?? []).map((x) => [x.value, named ? x.label ?? x.value : x.value] as [string, string]);
|
|
51
|
+
const apply = (
|
|
52
|
+
<Pressable accessibilityRole="button" onPress={() => { st.setFilters(f); onClose(); }} hitSlop={8}>
|
|
53
|
+
<Text style={{ color: c.accent, fontSize: 16, fontWeight: '600' }}>{s.apply}</Text>
|
|
54
|
+
</Pressable>
|
|
55
|
+
);
|
|
56
|
+
return (
|
|
57
|
+
<Modal visible={visible} animationType="slide" presentationStyle="pageSheet" onRequestClose={onClose}>
|
|
58
|
+
<Frame title={s.filters!} c={c} onClose={onClose} closeLabel={s.cancel!} action={apply}>
|
|
59
|
+
<Options label={s.action!} all={s.allActions!} value={f.action} options={fac('action')} c={c} onChange={set('action')} />
|
|
60
|
+
<Options label={s.actor!} all={s.allActors!} value={f.actor_id} options={fac('actor', true)} c={c} onChange={set('actor_id')} />
|
|
61
|
+
<Options label={s.targetType!} all={s.allTargets!} value={f.target_type} options={fac('target_type')} c={c} onChange={set('target_type')} />
|
|
62
|
+
<Options label={s.outcome!} all={s.any!} value={f.outcome} options={['success', 'failure', 'denied'].map((v) => [v, v])} c={c} onChange={set('outcome')} />
|
|
63
|
+
<Options label={s.severity!} all={s.any!} value={f.severity} options={['info', 'notice', 'warning', 'critical'].map((v) => [v, v])} c={c} onChange={set('severity')} />
|
|
64
|
+
<Options label={s.range!} all={s.allTime!} value={f.range} options={[['24h', s.last24h!], ['7d', s.last7d!], ['30d', s.last30d!]]} c={c} onChange={set('range')} />
|
|
65
|
+
<Options label={s.sort!} all={s.newest!} value={f.order} options={[['asc', s.oldest!]]} c={c} onChange={set('order')} />
|
|
66
|
+
<Pressable accessibilityRole="button" onPress={st.toggleTime} style={{ paddingVertical: 8 }}>
|
|
67
|
+
<Text style={{ color: c.accent, fontSize: 15 }}>{st.time === 'relative' ? s.timeAbsolute : s.timeRelative}</Text>
|
|
68
|
+
</Pressable>
|
|
69
|
+
</Frame>
|
|
70
|
+
</Modal>
|
|
71
|
+
);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/** Saved views: apply, delete, save the current filters under a name. */
|
|
75
|
+
export function ViewsSheet({ visible, st, c, onClose, onApply }: Sheet & { onApply: (v: SavedView) => void }) {
|
|
76
|
+
const s = st.strings;
|
|
77
|
+
const [name, setName] = useState('');
|
|
78
|
+
return (
|
|
79
|
+
<Modal visible={visible} animationType="slide" presentationStyle="pageSheet" onRequestClose={onClose}>
|
|
80
|
+
<Frame title={s.views!} c={c} onClose={onClose} closeLabel={s.close!}>
|
|
81
|
+
{st.views.length ? st.views.map((v) => (
|
|
82
|
+
<View key={v.id} style={[x.view, { borderColor: c.border }]}>
|
|
83
|
+
<Pressable accessibilityRole="button" style={{ flex: 1 }} onPress={() => { st.applyView(v); onApply(v); onClose(); }}>
|
|
84
|
+
<Text style={{ color: c.fg, fontSize: 16 }}>{v.name}</Text>
|
|
85
|
+
{v.q ? <Text style={{ color: c.muted, fontSize: 12 }}>{v.q}</Text> : null}
|
|
86
|
+
</Pressable>
|
|
87
|
+
<Pressable accessibilityRole="button" accessibilityLabel={`${s.deleteView} ${v.name}`} onPress={() => void st.deleteView(v)} hitSlop={8}>
|
|
88
|
+
<Text style={{ color: c.danger }}>{s.deleteView}</Text>
|
|
89
|
+
</Pressable>
|
|
90
|
+
</View>
|
|
91
|
+
)) : <Text style={{ color: c.muted }}>{s.noViews}</Text>}
|
|
92
|
+
<Text accessibilityRole="header" style={[x.h, { color: c.muted, marginTop: 24 }]}>{s.saveView}</Text>
|
|
93
|
+
<TextInput value={name} onChangeText={setName} placeholder={s.viewName} placeholderTextColor={c.muted} accessibilityLabel={s.viewName}
|
|
94
|
+
style={[x.input, { color: c.fg, borderColor: c.border, borderRadius: c.radius }]} />
|
|
95
|
+
<Pressable accessibilityRole="button" accessibilityState={{ disabled: !name.trim() }} disabled={!name.trim()}
|
|
96
|
+
onPress={() => { void st.saveView(name.trim()); setName(''); }} style={[x.save, { backgroundColor: c.accent, borderRadius: c.radius, opacity: name.trim() ? 1 : 0.5 }]}>
|
|
97
|
+
<Text style={{ color: '#fff', fontWeight: '600' }}>{s.save}</Text>
|
|
98
|
+
</Pressable>
|
|
99
|
+
</Frame>
|
|
100
|
+
</Modal>
|
|
101
|
+
);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
const x = StyleSheet.create({
|
|
105
|
+
bar: { flexDirection: 'row', alignItems: 'center', gap: 12, padding: 16 },
|
|
106
|
+
title: { flex: 1, fontSize: 18, fontWeight: '600', textAlign: 'center' },
|
|
107
|
+
h: { fontSize: 12, fontWeight: '600', textTransform: 'uppercase', marginBottom: 6 },
|
|
108
|
+
wrap: { flexDirection: 'row', flexWrap: 'wrap', gap: 8 },
|
|
109
|
+
opt: { borderWidth: 1, paddingHorizontal: 10, paddingVertical: 6 },
|
|
110
|
+
view: { flexDirection: 'row', alignItems: 'center', gap: 12, paddingVertical: 12, borderBottomWidth: StyleSheet.hairlineWidth },
|
|
111
|
+
input: { borderWidth: StyleSheet.hairlineWidth, paddingHorizontal: 10, paddingVertical: 8, fontSize: 15 },
|
|
112
|
+
save: { marginTop: 12, alignItems: 'center', paddingVertical: 10 },
|
|
113
|
+
});
|
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
// Built-in viewer copy (en, de, fr, es, ja, pt-BR, ar). Keys missing in a language fall back to en; the
|
|
2
|
+
// project theme's strings override all of it. The same table ships in activity-ios, -android, -flutter and
|
|
3
|
+
// -react-native: change all four together.
|
|
4
|
+
|
|
5
|
+
export const BUILT_IN_STRINGS: Record<string, Record<string, string>> = {
|
|
6
|
+
"en": {
|
|
7
|
+
"title": "Activity", "emptyState": "No activity yet.", "loadMore": "Load more",
|
|
8
|
+
"allActions": "All actions", "error": "Could not load activity.", "retry": "Retry",
|
|
9
|
+
"search": "Search", "actor": "Actor", "allActors": "All actors",
|
|
10
|
+
"targetType": "Target type", "allTargets": "All target types", "outcome": "Outcome",
|
|
11
|
+
"severity": "Severity", "any": "Any", "range": "Time range",
|
|
12
|
+
"last24h": "Last 24 hours", "last7d": "Last 7 days", "last30d": "Last 30 days",
|
|
13
|
+
"allTime": "All time", "export": "Export", "verify": "Verify",
|
|
14
|
+
"viaSupport": "via support", "close": "Close", "copy": "Copy",
|
|
15
|
+
"details": "Details", "changes": "Changes", "field": "Field",
|
|
16
|
+
"before": "Before", "after": "After", "targets": "Targets",
|
|
17
|
+
"context": "Context", "credential": "Credential", "onBehalfOf": "On behalf of",
|
|
18
|
+
"metadata": "Metadata", "loading": "Loading…", "sort": "Sort",
|
|
19
|
+
"newest": "Newest first", "oldest": "Oldest first", "views": "Saved views",
|
|
20
|
+
"saveView": "Save view", "viewName": "View name", "not": "not",
|
|
21
|
+
"noMatch": "No events match these filters.", "clearFilters": "Clear filters", "anonymous": "Anonymous",
|
|
22
|
+
"prove": "Prove this event", "proved": "Proven: the event is in a signed batch.", "provedUnsigned": "In its batch; signature not checkable here.",
|
|
23
|
+
"proofFailed": "The proof did not verify.", "notSealed": "Not sealed yet: events are signed hourly.", "deleteView": "Delete view",
|
|
24
|
+
"removeFilter": "Remove filter", "tampered": "Verification failed at event {n}.", "verified": "Verified: {n} events, signature valid.",
|
|
25
|
+
"filters": "Filters", "action": "Action", "apply": "Apply",
|
|
26
|
+
"cancel": "Cancel", "save": "Save", "noViews": "No saved views yet.",
|
|
27
|
+
"offline": "Offline: showing the last saved page.", "rateLimited": "Too many requests. Try again in {n} s.", "sessionExpired": "Your session has expired.",
|
|
28
|
+
"copied": "Copied", "exporting": "Preparing export…", "verifying": "Verifying…",
|
|
29
|
+
"verifiedBadge": "Verified", "unverifiedBadge": "Not verified", "tamperedBadge": "Tampered",
|
|
30
|
+
"verifiedHashes": "Hashes verified: {n} events; signature not checkable here.", "rowHint": "Opens the event details", "exportFailed": "Export failed.",
|
|
31
|
+
"reveal": "Reveal", "revealed": "Revealed", "revealFailed": "Could not reveal",
|
|
32
|
+
"newEvents": "{n} new events", "copyLink": "Copy link to this event", "linkCopied": "Link copied",
|
|
33
|
+
"linkMissing": "That event is not available in this view.", "timeRelative": "Relative times", "timeAbsolute": "Exact times",
|
|
34
|
+
"shareLink": "Share link", "relNow": "just now", "relSec": "{n} s ago",
|
|
35
|
+
"relMin": "{n} min ago", "relHour": "{n} h ago", "relDay": "{n} d ago",
|
|
36
|
+
"relMonth": "{n} mo ago", "relYear": "{n} y ago"
|
|
37
|
+
},
|
|
38
|
+
"de": {
|
|
39
|
+
"title": "Aktivität", "emptyState": "Noch keine Aktivität.", "loadMore": "Mehr laden",
|
|
40
|
+
"allActions": "Alle Aktionen", "error": "Aktivität konnte nicht geladen werden.", "retry": "Erneut versuchen",
|
|
41
|
+
"search": "Suchen", "actor": "Akteur", "allActors": "Alle Akteure",
|
|
42
|
+
"targetType": "Zieltyp", "allTargets": "Alle Zieltypen", "outcome": "Ergebnis",
|
|
43
|
+
"severity": "Schweregrad", "any": "Alle", "range": "Zeitraum",
|
|
44
|
+
"last24h": "Letzte 24 Stunden", "last7d": "Letzte 7 Tage", "last30d": "Letzte 30 Tage",
|
|
45
|
+
"allTime": "Gesamter Zeitraum", "export": "Exportieren", "verify": "Prüfen",
|
|
46
|
+
"viaSupport": "über Support", "close": "Schließen", "copy": "Kopieren",
|
|
47
|
+
"details": "Details", "changes": "Änderungen", "field": "Feld",
|
|
48
|
+
"before": "Vorher", "after": "Nachher", "targets": "Ziele",
|
|
49
|
+
"context": "Kontext", "credential": "Zugangsdaten", "onBehalfOf": "Im Auftrag von",
|
|
50
|
+
"metadata": "Metadaten", "loading": "Wird geladen…", "sort": "Sortieren",
|
|
51
|
+
"newest": "Neueste zuerst", "oldest": "Älteste zuerst", "views": "Gespeicherte Ansichten",
|
|
52
|
+
"saveView": "Ansicht speichern", "viewName": "Name der Ansicht", "not": "nicht",
|
|
53
|
+
"noMatch": "Keine Ereignisse entsprechen diesen Filtern.", "clearFilters": "Filter zurücksetzen", "anonymous": "Anonym",
|
|
54
|
+
"prove": "Dieses Ereignis beweisen", "proved": "Bewiesen: Das Ereignis ist in einem signierten Block.", "provedUnsigned": "Das Ereignis ist in seinem Block; dieser Browser kann die Signatur nicht prüfen.",
|
|
55
|
+
"proofFailed": "Der Beweis ist ungültig.", "notSealed": "Noch nicht versiegelt: Ereignisse werden stündlich signiert.", "deleteView": "Ansicht löschen",
|
|
56
|
+
"removeFilter": "Filter entfernen", "tampered": "Prüfung bei Ereignis {n} fehlgeschlagen.", "verified": "Geprüft: {n} Ereignisse, Signatur gültig.",
|
|
57
|
+
"filters": "Filter", "action": "Aktion", "apply": "Anwenden",
|
|
58
|
+
"cancel": "Abbrechen", "save": "Speichern", "noViews": "Noch keine gespeicherten Ansichten.",
|
|
59
|
+
"offline": "Offline: zuletzt gespeicherte Seite.", "rateLimited": "Zu viele Anfragen. In {n} s erneut versuchen.", "sessionExpired": "Ihre Sitzung ist abgelaufen.",
|
|
60
|
+
"copied": "Kopiert", "exporting": "Export wird vorbereitet…", "verifying": "Wird geprüft…",
|
|
61
|
+
"verifiedBadge": "Geprüft", "unverifiedBadge": "Nicht geprüft", "tamperedBadge": "Manipuliert",
|
|
62
|
+
"verifiedHashes": "Hashes geprüft: {n} Ereignisse; Signatur hier nicht prüfbar.", "rowHint": "Öffnet die Ereignisdetails", "exportFailed": "Export fehlgeschlagen.",
|
|
63
|
+
"shareLink": "Link teilen", "relNow": "gerade eben", "relSec": "vor {n} s",
|
|
64
|
+
"relMin": "vor {n} Min.", "relHour": "vor {n} Std.", "relDay": "vor {n} T.",
|
|
65
|
+
"relMonth": "vor {n} Mon.", "relYear": "vor {n} J.", "reveal": "Offenlegen",
|
|
66
|
+
"revealed": "Offengelegt", "revealFailed": "Offenlegen fehlgeschlagen", "newEvents": "{n} neue Ereignisse",
|
|
67
|
+
"copyLink": "Link zu diesem Ereignis kopieren", "linkCopied": "Link kopiert", "linkMissing": "Dieses Ereignis ist in dieser Ansicht nicht verfügbar.",
|
|
68
|
+
"timeRelative": "Relative Zeiten", "timeAbsolute": "Genaue Zeiten"
|
|
69
|
+
},
|
|
70
|
+
"fr": {
|
|
71
|
+
"title": "Activité", "emptyState": "Aucune activité pour le moment.", "loadMore": "Charger plus",
|
|
72
|
+
"allActions": "Toutes les actions", "error": "Impossible de charger l’activité.", "retry": "Réessayer",
|
|
73
|
+
"search": "Rechercher", "actor": "Acteur", "allActors": "Tous les acteurs",
|
|
74
|
+
"targetType": "Type de cible", "allTargets": "Tous les types", "outcome": "Résultat",
|
|
75
|
+
"severity": "Gravité", "any": "Tous", "range": "Période",
|
|
76
|
+
"last24h": "Dernières 24 heures", "last7d": "7 derniers jours", "last30d": "30 derniers jours",
|
|
77
|
+
"allTime": "Toute la période", "export": "Exporter", "verify": "Vérifier",
|
|
78
|
+
"viaSupport": "via le support", "close": "Fermer", "copy": "Copier",
|
|
79
|
+
"details": "Détails", "changes": "Modifications", "field": "Champ",
|
|
80
|
+
"before": "Avant", "after": "Après", "targets": "Cibles",
|
|
81
|
+
"context": "Contexte", "credential": "Identifiant", "onBehalfOf": "Au nom de",
|
|
82
|
+
"metadata": "Métadonnées", "loading": "Chargement…", "sort": "Trier",
|
|
83
|
+
"newest": "Plus récents d’abord", "oldest": "Plus anciens d’abord", "views": "Vues enregistrées",
|
|
84
|
+
"saveView": "Enregistrer la vue", "viewName": "Nom de la vue", "not": "pas",
|
|
85
|
+
"noMatch": "Aucun événement ne correspond à ces filtres.", "clearFilters": "Effacer les filtres", "anonymous": "Anonyme",
|
|
86
|
+
"prove": "Prouver cet événement", "proved": "Prouvé : l’événement figure dans un lot signé.", "provedUnsigned": "L’événement figure dans son lot ; ce navigateur ne peut pas vérifier la signature.",
|
|
87
|
+
"proofFailed": "La preuve n’a pas pu être vérifiée.", "notSealed": "Pas encore scellé : les événements sont signés toutes les heures.", "deleteView": "Supprimer la vue",
|
|
88
|
+
"removeFilter": "Retirer le filtre", "tampered": "Échec de la vérification à l’événement {n}.", "verified": "Vérifié : {n} événements, signature valide.",
|
|
89
|
+
"filters": "Filtres", "action": "Action", "apply": "Appliquer",
|
|
90
|
+
"cancel": "Annuler", "save": "Enregistrer", "noViews": "Aucune vue enregistrée.",
|
|
91
|
+
"offline": "Hors ligne : dernière page enregistrée.", "rateLimited": "Trop de requêtes. Réessayez dans {n} s.", "sessionExpired": "Votre session a expiré.",
|
|
92
|
+
"copied": "Copié", "exporting": "Préparation de l’export…", "verifying": "Vérification…",
|
|
93
|
+
"verifiedBadge": "Vérifié", "unverifiedBadge": "Non vérifié", "tamperedBadge": "Altéré",
|
|
94
|
+
"verifiedHashes": "Hachages vérifiés : {n} événements ; signature non vérifiable ici.", "rowHint": "Ouvre les détails de l’événement", "exportFailed": "Échec de l’export.",
|
|
95
|
+
"shareLink": "Partager le lien", "relNow": "à l’instant", "relSec": "il y a {n} s",
|
|
96
|
+
"relMin": "il y a {n} min", "relHour": "il y a {n} h", "relDay": "il y a {n} j",
|
|
97
|
+
"relMonth": "il y a {n} mois", "relYear": "il y a {n} a", "reveal": "Révéler",
|
|
98
|
+
"revealed": "Révélé", "revealFailed": "Échec de la révélation", "newEvents": "{n} nouveaux événements",
|
|
99
|
+
"copyLink": "Copier le lien vers cet événement", "linkCopied": "Lien copié", "linkMissing": "Cet événement n’est pas disponible dans cette vue.",
|
|
100
|
+
"timeRelative": "Heures relatives", "timeAbsolute": "Heures exactes"
|
|
101
|
+
},
|
|
102
|
+
"es": {
|
|
103
|
+
"title": "Actividad", "emptyState": "Todavía no hay actividad.", "loadMore": "Cargar más",
|
|
104
|
+
"allActions": "Todas las acciones", "error": "No se pudo cargar la actividad.", "retry": "Reintentar",
|
|
105
|
+
"search": "Buscar", "actor": "Actor", "allActors": "Todos los actores",
|
|
106
|
+
"targetType": "Tipo de objetivo", "allTargets": "Todos los tipos", "outcome": "Resultado",
|
|
107
|
+
"severity": "Gravedad", "any": "Cualquiera", "range": "Periodo",
|
|
108
|
+
"last24h": "Últimas 24 horas", "last7d": "Últimos 7 días", "last30d": "Últimos 30 días",
|
|
109
|
+
"allTime": "Todo", "export": "Exportar", "verify": "Verificar",
|
|
110
|
+
"viaSupport": "vía soporte", "close": "Cerrar", "copy": "Copiar",
|
|
111
|
+
"details": "Detalles", "changes": "Cambios", "field": "Campo",
|
|
112
|
+
"before": "Antes", "after": "Después", "targets": "Objetivos",
|
|
113
|
+
"context": "Contexto", "credential": "Credencial", "onBehalfOf": "En nombre de",
|
|
114
|
+
"metadata": "Metadatos", "loading": "Cargando…", "sort": "Ordenar",
|
|
115
|
+
"newest": "Más recientes primero", "oldest": "Más antiguos primero", "views": "Vistas guardadas",
|
|
116
|
+
"saveView": "Guardar vista", "viewName": "Nombre de la vista", "not": "no",
|
|
117
|
+
"noMatch": "Ningún evento coincide con estos filtros.", "clearFilters": "Borrar filtros", "anonymous": "Anónimo",
|
|
118
|
+
"prove": "Probar este evento", "proved": "Probado: el evento está en un lote firmado.", "provedUnsigned": "El evento está en su lote; este navegador no puede comprobar la firma.",
|
|
119
|
+
"proofFailed": "La prueba no se pudo verificar.", "notSealed": "Aún no sellado: los eventos se firman cada hora.", "deleteView": "Eliminar la vista",
|
|
120
|
+
"removeFilter": "Quitar el filtro", "tampered": "La verificación falló en el evento {n}.", "verified": "Verificado: {n} eventos, firma válida.",
|
|
121
|
+
"filters": "Filtros", "action": "Acción", "apply": "Aplicar",
|
|
122
|
+
"cancel": "Cancelar", "save": "Guardar", "noViews": "Todavía no hay vistas guardadas.",
|
|
123
|
+
"offline": "Sin conexión: última página guardada.", "rateLimited": "Demasiadas solicitudes. Inténtelo de nuevo en {n} s.", "sessionExpired": "Su sesión ha caducado.",
|
|
124
|
+
"copied": "Copiado", "exporting": "Preparando la exportación…", "verifying": "Verificando…",
|
|
125
|
+
"verifiedBadge": "Verificado", "unverifiedBadge": "Sin verificar", "tamperedBadge": "Alterado",
|
|
126
|
+
"verifiedHashes": "Hashes verificados: {n} eventos; la firma no se puede comprobar aquí.", "rowHint": "Abre los detalles del evento", "exportFailed": "La exportación falló.",
|
|
127
|
+
"shareLink": "Compartir enlace", "relNow": "ahora mismo", "relSec": "hace {n} s",
|
|
128
|
+
"relMin": "hace {n} min", "relHour": "hace {n} h", "relDay": "hace {n} d",
|
|
129
|
+
"relMonth": "hace {n} m", "relYear": "hace {n} a", "reveal": "Revelar",
|
|
130
|
+
"revealed": "Revelado", "revealFailed": "No se pudo revelar", "newEvents": "{n} eventos nuevos",
|
|
131
|
+
"copyLink": "Copiar el enlace a este evento", "linkCopied": "Enlace copiado", "linkMissing": "Ese evento no está disponible en esta vista.",
|
|
132
|
+
"timeRelative": "Horas relativas", "timeAbsolute": "Horas exactas"
|
|
133
|
+
},
|
|
134
|
+
"ja": {
|
|
135
|
+
"title": "アクティビティ", "emptyState": "まだアクティビティはありません。", "loadMore": "さらに読み込む",
|
|
136
|
+
"allActions": "すべての操作", "error": "アクティビティを読み込めませんでした。", "retry": "再試行",
|
|
137
|
+
"search": "検索", "actor": "実行者", "allActors": "すべての実行者",
|
|
138
|
+
"targetType": "対象の種類", "allTargets": "すべての種類", "outcome": "結果",
|
|
139
|
+
"severity": "重要度", "any": "すべて", "range": "期間",
|
|
140
|
+
"last24h": "過去 24 時間", "last7d": "過去 7 日間", "last30d": "過去 30 日間",
|
|
141
|
+
"allTime": "全期間", "export": "エクスポート", "verify": "検証",
|
|
142
|
+
"viaSupport": "サポート経由", "close": "閉じる", "copy": "コピー",
|
|
143
|
+
"details": "詳細", "changes": "変更", "field": "項目",
|
|
144
|
+
"before": "変更前", "after": "変更後", "targets": "対象",
|
|
145
|
+
"context": "コンテキスト", "credential": "認証情報", "onBehalfOf": "代理対象",
|
|
146
|
+
"metadata": "メタデータ", "loading": "読み込み中…", "sort": "並べ替え",
|
|
147
|
+
"newest": "新しい順", "oldest": "古い順", "views": "保存済みビュー",
|
|
148
|
+
"saveView": "ビューを保存", "viewName": "ビュー名", "not": "除外",
|
|
149
|
+
"noMatch": "条件に一致するイベントはありません。", "clearFilters": "フィルターをクリア", "anonymous": "匿名",
|
|
150
|
+
"prove": "このイベントを証明", "proved": "証明済み: このイベントは署名済みバッチに含まれています。", "provedUnsigned": "イベントはバッチに含まれていますが、このブラウザーでは署名を確認できません。",
|
|
151
|
+
"proofFailed": "証明を検証できませんでした。", "notSealed": "まだ封印されていません: イベントは 1 時間ごとに署名されます。", "deleteView": "ビューを削除",
|
|
152
|
+
"removeFilter": "フィルターを削除", "tampered": "イベント {n} で検証に失敗しました。", "verified": "検証済み: {n} 件、署名は有効です。",
|
|
153
|
+
"filters": "フィルター", "action": "操作", "apply": "適用",
|
|
154
|
+
"cancel": "キャンセル", "save": "保存", "noViews": "保存済みビューはまだありません。",
|
|
155
|
+
"offline": "オフライン: 最後に保存したページを表示しています。", "rateLimited": "リクエストが多すぎます。{n} 秒後に再試行してください。", "sessionExpired": "セッションの有効期限が切れました。",
|
|
156
|
+
"copied": "コピーしました", "exporting": "エクスポートを準備中…", "verifying": "検証中…",
|
|
157
|
+
"verifiedBadge": "検証済み", "unverifiedBadge": "未検証", "tamperedBadge": "改ざんあり",
|
|
158
|
+
"verifiedHashes": "ハッシュを検証しました: {n} 件。この端末では署名を確認できません。", "rowHint": "イベントの詳細を開きます", "exportFailed": "エクスポートに失敗しました。",
|
|
159
|
+
"shareLink": "リンクを共有", "relNow": "たった今", "relSec": "{n} 秒前",
|
|
160
|
+
"relMin": "{n} 分前", "relHour": "{n} 時間前", "relDay": "{n} 日前",
|
|
161
|
+
"relMonth": "{n} か月前", "relYear": "{n} 年前", "reveal": "表示",
|
|
162
|
+
"revealed": "表示した値", "revealFailed": "表示できませんでした", "newEvents": "新しいイベント {n} 件",
|
|
163
|
+
"copyLink": "このイベントへのリンクをコピー", "linkCopied": "リンクをコピーしました", "linkMissing": "このイベントはこのビューでは表示できません。",
|
|
164
|
+
"timeRelative": "相対時刻", "timeAbsolute": "正確な時刻"
|
|
165
|
+
},
|
|
166
|
+
"pt-BR": {
|
|
167
|
+
"title": "Atividade", "emptyState": "Nenhuma atividade ainda.", "loadMore": "Carregar mais",
|
|
168
|
+
"allActions": "Todas as ações", "error": "Não foi possível carregar a atividade.", "retry": "Tentar novamente",
|
|
169
|
+
"search": "Pesquisar", "actor": "Ator", "allActors": "Todos os atores",
|
|
170
|
+
"targetType": "Tipo de alvo", "allTargets": "Todos os tipos", "outcome": "Resultado",
|
|
171
|
+
"severity": "Gravidade", "any": "Qualquer", "range": "Período",
|
|
172
|
+
"last24h": "Últimas 24 horas", "last7d": "Últimos 7 dias", "last30d": "Últimos 30 dias",
|
|
173
|
+
"allTime": "Todo o período", "export": "Exportar", "verify": "Verificar",
|
|
174
|
+
"viaSupport": "via suporte", "close": "Fechar", "copy": "Copiar",
|
|
175
|
+
"details": "Detalhes", "changes": "Alterações", "field": "Campo",
|
|
176
|
+
"before": "Antes", "after": "Depois", "targets": "Alvos",
|
|
177
|
+
"context": "Contexto", "credential": "Credencial", "onBehalfOf": "Em nome de",
|
|
178
|
+
"metadata": "Metadados", "loading": "Carregando…", "sort": "Ordenar",
|
|
179
|
+
"newest": "Mais recentes primeiro", "oldest": "Mais antigos primeiro", "views": "Visualizações salvas",
|
|
180
|
+
"saveView": "Salvar visualização", "viewName": "Nome da visualização", "not": "não",
|
|
181
|
+
"noMatch": "Nenhum evento corresponde a esses filtros.", "clearFilters": "Limpar filtros", "anonymous": "Anônimo",
|
|
182
|
+
"prove": "Provar este evento", "proved": "Provado: o evento está em um lote assinado.", "provedUnsigned": "O evento está em seu lote; este navegador não consegue verificar a assinatura.",
|
|
183
|
+
"proofFailed": "A prova não foi verificada.", "notSealed": "Ainda não selado: os eventos são assinados a cada hora.", "deleteView": "Excluir visualização",
|
|
184
|
+
"removeFilter": "Remover filtro", "tampered": "A verificação falhou no evento {n}.", "verified": "Verificado: {n} eventos, assinatura válida.",
|
|
185
|
+
"filters": "Filtros", "action": "Ação", "apply": "Aplicar",
|
|
186
|
+
"cancel": "Cancelar", "save": "Salvar", "noViews": "Nenhuma visualização salva ainda.",
|
|
187
|
+
"offline": "Offline: mostrando a última página salva.", "rateLimited": "Muitas solicitações. Tente novamente em {n} s.", "sessionExpired": "Sua sessão expirou.",
|
|
188
|
+
"copied": "Copiado", "exporting": "Preparando a exportação…", "verifying": "Verificando…",
|
|
189
|
+
"verifiedBadge": "Verificado", "unverifiedBadge": "Não verificado", "tamperedBadge": "Adulterado",
|
|
190
|
+
"verifiedHashes": "Hashes verificados: {n} eventos; assinatura não verificável aqui.", "rowHint": "Abre os detalhes do evento", "exportFailed": "Falha na exportação.",
|
|
191
|
+
"shareLink": "Compartilhar link", "relNow": "agora mesmo", "relSec": "há {n} s",
|
|
192
|
+
"relMin": "há {n} min", "relHour": "há {n} h", "relDay": "há {n} d",
|
|
193
|
+
"relMonth": "há {n} m", "relYear": "há {n} a", "reveal": "Revelar",
|
|
194
|
+
"revealed": "Revelado", "revealFailed": "Não foi possível revelar", "newEvents": "{n} novos eventos",
|
|
195
|
+
"copyLink": "Copiar link para este evento", "linkCopied": "Link copiado", "linkMissing": "Esse evento não está disponível nesta visualização.",
|
|
196
|
+
"timeRelative": "Horários relativos", "timeAbsolute": "Horários exatos"
|
|
197
|
+
},
|
|
198
|
+
"ar": {
|
|
199
|
+
"title": "النشاط", "emptyState": "لا يوجد نشاط بعد.", "loadMore": "تحميل المزيد",
|
|
200
|
+
"allActions": "كل الإجراءات", "error": "تعذّر تحميل النشاط.", "retry": "إعادة المحاولة",
|
|
201
|
+
"search": "بحث", "actor": "المنفّذ", "allActors": "كل المنفّذين",
|
|
202
|
+
"targetType": "نوع الهدف", "allTargets": "كل أنواع الأهداف", "outcome": "النتيجة",
|
|
203
|
+
"severity": "الخطورة", "any": "الكل", "range": "الفترة الزمنية",
|
|
204
|
+
"last24h": "آخر 24 ساعة", "last7d": "آخر 7 أيام", "last30d": "آخر 30 يومًا",
|
|
205
|
+
"allTime": "كل الأوقات", "export": "تصدير", "verify": "تحقّق",
|
|
206
|
+
"viaSupport": "عبر الدعم", "close": "إغلاق", "copy": "نسخ",
|
|
207
|
+
"details": "التفاصيل", "changes": "التغييرات", "field": "الحقل",
|
|
208
|
+
"before": "قبل", "after": "بعد", "targets": "الأهداف",
|
|
209
|
+
"context": "السياق", "credential": "بيانات الاعتماد", "onBehalfOf": "نيابةً عن",
|
|
210
|
+
"metadata": "البيانات الوصفية", "loading": "جارٍ التحميل…", "sort": "ترتيب",
|
|
211
|
+
"newest": "الأحدث أولًا", "oldest": "الأقدم أولًا", "views": "العروض المحفوظة",
|
|
212
|
+
"saveView": "حفظ العرض", "viewName": "اسم العرض", "not": "ليس",
|
|
213
|
+
"noMatch": "لا توجد أحداث تطابق عوامل التصفية هذه.", "clearFilters": "مسح عوامل التصفية", "anonymous": "مجهول",
|
|
214
|
+
"prove": "إثبات هذا الحدث", "proved": "تم الإثبات: الحدث ضمن دفعة موقّعة.", "provedUnsigned": "الحدث ضمن دفعته؛ لا يمكن فحص التوقيع هنا.",
|
|
215
|
+
"proofFailed": "لم يتم التحقق من الإثبات.", "notSealed": "لم يُختم بعد: تُوقَّع الأحداث كل ساعة.", "deleteView": "حذف العرض",
|
|
216
|
+
"removeFilter": "إزالة عامل التصفية", "tampered": "فشل التحقق عند الحدث {n}.", "verified": "تم التحقق: {n} حدثًا، والتوقيع صالح.",
|
|
217
|
+
"filters": "عوامل التصفية", "action": "الإجراء", "apply": "تطبيق",
|
|
218
|
+
"cancel": "إلغاء", "save": "حفظ", "noViews": "لا توجد عروض محفوظة بعد.",
|
|
219
|
+
"offline": "غير متصل: عرض آخر صفحة محفوظة.", "rateLimited": "طلبات كثيرة جدًا. حاول مجددًا بعد {n} ث.", "sessionExpired": "انتهت صلاحية جلستك.",
|
|
220
|
+
"copied": "تم النسخ", "exporting": "جارٍ تجهيز التصدير…", "verifying": "جارٍ التحقق…",
|
|
221
|
+
"verifiedBadge": "تم التحقق", "unverifiedBadge": "لم يتم التحقق", "tamperedBadge": "تم العبث",
|
|
222
|
+
"verifiedHashes": "تم التحقق من التجزئات: {n} حدثًا؛ لا يمكن فحص التوقيع هنا.", "rowHint": "يفتح تفاصيل الحدث", "exportFailed": "فشل التصدير.",
|
|
223
|
+
"reveal": "كشف", "revealed": "تم الكشف", "revealFailed": "تعذّر الكشف",
|
|
224
|
+
"newEvents": "{n} أحداث جديدة", "copyLink": "نسخ رابط هذا الحدث", "linkCopied": "تم نسخ الرابط",
|
|
225
|
+
"linkMissing": "هذا الحدث غير متاح في هذا العرض.", "timeRelative": "أوقات نسبية", "timeAbsolute": "أوقات دقيقة",
|
|
226
|
+
"shareLink": "مشاركة الرابط", "relNow": "الآن", "relSec": "منذ {n} ث",
|
|
227
|
+
"relMin": "منذ {n} د", "relHour": "منذ {n} س", "relDay": "منذ {n} ي",
|
|
228
|
+
"relMonth": "منذ {n} شهر", "relYear": "منذ {n} سنة"
|
|
229
|
+
},
|
|
230
|
+
};
|