@celljs/ta-web 4.46.3 → 4.47.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/esm/browser/assistant/assistant-view.js +2 -1
- package/esm/browser/chat/chat-protocol.d.ts +7 -0
- package/esm/browser/chat/chat-view.js +3 -2
- package/esm/browser/chat/chat.d.ts +1 -0
- package/esm/browser/chat/chat.js +15 -3
- package/esm/browser/chat/draft-model.d.ts +1 -1
- package/esm/browser/chat/draft-model.js +2 -2
- package/esm/browser/components/account-menu.d.ts +2 -0
- package/esm/browser/components/account-menu.js +10 -1
- package/esm/browser/components/app-nav.js +4 -1
- package/esm/browser/components/app-shell-state.js +11 -0
- package/esm/browser/components/app-update-view.d.ts +2 -0
- package/esm/browser/components/app-update-view.js +37 -0
- package/esm/browser/components/app-view.js +22 -2
- package/esm/browser/components/auth-guide.d.ts +25 -0
- package/esm/browser/components/auth-guide.js +44 -0
- package/esm/browser/components/auth-view.d.ts +2 -0
- package/esm/browser/components/auth-view.js +30 -9
- package/esm/browser/components/cloud-sign-in-view.d.ts +1 -1
- package/esm/browser/components/custom-provider-util.d.ts +2 -0
- package/esm/browser/components/custom-provider-util.js +5 -0
- package/esm/browser/components/custom-provider-view.js +31 -10
- package/esm/browser/components/discover-view.d.ts +8 -1
- package/esm/browser/components/discover-view.js +28 -3
- package/esm/browser/components/extension-settings.js +1 -0
- package/esm/browser/components/first-steps-util.d.ts +59 -0
- package/esm/browser/components/first-steps-util.js +74 -0
- package/esm/browser/components/first-steps.d.ts +3 -0
- package/esm/browser/components/first-steps.js +36 -0
- package/esm/browser/components/host-view.d.ts +1 -1
- package/esm/browser/components/list-rows.d.ts +1 -1
- package/esm/browser/components/list-rows.js +1 -1
- package/esm/browser/components/me-rows.d.ts +8 -1
- package/esm/browser/components/me-rows.js +3 -3
- package/esm/browser/components/me-view.js +1 -1
- package/esm/browser/components/message-user.js +6 -3
- package/esm/browser/components/model-picker.d.ts +5 -0
- package/esm/browser/components/model-picker.js +10 -1
- package/esm/browser/components/nav-places.d.ts +14 -0
- package/esm/browser/components/nav-places.js +11 -0
- package/esm/browser/components/phone-hint.d.ts +6 -0
- package/esm/browser/components/phone-hint.js +63 -0
- package/esm/browser/components/relay-view-util.d.ts +5 -0
- package/esm/browser/components/relay-view-util.js +14 -0
- package/esm/browser/components/relay-view.js +11 -7
- package/esm/browser/components/session-view.js +2 -1
- package/esm/browser/components/settings-choices.js +2 -0
- package/esm/browser/components/settings-controls.d.ts +15 -0
- package/esm/browser/components/settings-controls.js +13 -0
- package/esm/browser/components/settings-more.js +1 -0
- package/esm/browser/components/settings-parts.d.ts +3 -1
- package/esm/browser/components/settings-parts.js +3 -0
- package/esm/browser/components/settings-view.js +37 -11
- package/esm/browser/device/app-update.d.ts +62 -0
- package/esm/browser/device/app-update.js +144 -0
- package/esm/browser/extension/icons.js +2 -1
- package/esm/browser/extension/web-api-contributions.d.ts +6 -1
- package/esm/browser/extension/web-api-partners.d.ts +6 -0
- package/esm/browser/extension/web-api-spec.js +1 -0
- package/esm/browser/extension/web-home.js +9 -0
- package/esm/browser/extension/web-metrics.d.ts +3 -0
- package/esm/browser/extension/web-metrics.js +33 -22
- package/esm/browser/extension/web-pages.d.ts +3 -1
- package/esm/browser/extension/web-pages.js +1 -0
- package/esm/browser/i18n/en/account.d.ts +7 -0
- package/esm/browser/i18n/en/account.js +13 -6
- package/esm/browser/i18n/en/chat.d.ts +2 -0
- package/esm/browser/i18n/en/chat.js +2 -0
- package/esm/browser/i18n/en/discover.d.ts +3 -0
- package/esm/browser/i18n/en/discover.js +3 -0
- package/esm/browser/i18n/en/service.d.ts +8 -0
- package/esm/browser/i18n/en/service.js +8 -0
- package/esm/browser/i18n/en/settings.d.ts +3 -0
- package/esm/browser/i18n/en/settings.js +3 -0
- package/esm/browser/i18n/ja/account.js +13 -6
- package/esm/browser/i18n/ja/chat.js +2 -0
- package/esm/browser/i18n/ja/discover.js +3 -0
- package/esm/browser/i18n/ja/service.js +8 -0
- package/esm/browser/i18n/ja/settings.js +3 -0
- package/esm/browser/i18n/locales.d.ts +24 -1
- package/esm/browser/i18n/messages.d.ts +23 -0
- package/esm/browser/i18n/zh/account.js +13 -6
- package/esm/browser/i18n/zh/chat.js +2 -0
- package/esm/browser/i18n/zh/discover.js +3 -0
- package/esm/browser/i18n/zh/service.js +8 -0
- package/esm/browser/i18n/zh/settings.js +3 -0
- package/esm/browser/i18n/zh-tw/account.js +13 -6
- package/esm/browser/i18n/zh-tw/chat.js +2 -0
- package/esm/browser/i18n/zh-tw/discover.js +3 -0
- package/esm/browser/i18n/zh-tw/service.js +8 -0
- package/esm/browser/i18n/zh-tw/settings.js +3 -0
- package/esm/browser/notices/notices.d.ts +2 -0
- package/esm/browser/notices/notices.js +2 -0
- package/esm/browser/sandbox/sandbox-runtime-code.js +1 -1
- package/esm/browser/settings/settings-protocol.d.ts +5 -0
- package/esm/browser/settings/settings-protocol.js +2 -0
- package/esm/browser/style/conversation-column.d.ts +1 -1
- package/esm/browser/style/conversation-column.js +4 -0
- package/esm/browser/style/dialogs.d.ts +1 -1
- package/esm/browser/style/dialogs.js +7 -0
- package/esm/browser/style/skins.d.ts +1 -1
- package/esm/browser/style/skins.js +1 -1
- package/lib/browser/assistant/assistant-view.js +2 -1
- package/lib/browser/chat/chat-protocol.d.ts +7 -0
- package/lib/browser/chat/chat-view.js +3 -2
- package/lib/browser/chat/chat.d.ts +1 -0
- package/lib/browser/chat/chat.js +14 -2
- package/lib/browser/chat/draft-model.d.ts +1 -1
- package/lib/browser/chat/draft-model.js +2 -2
- package/lib/browser/components/account-menu.d.ts +2 -0
- package/lib/browser/components/account-menu.js +10 -1
- package/lib/browser/components/app-nav.js +3 -0
- package/lib/browser/components/app-shell-state.js +11 -0
- package/lib/browser/components/app-update-view.d.ts +3 -0
- package/lib/browser/components/app-update-view.js +73 -0
- package/lib/browser/components/app-view.js +21 -1
- package/lib/browser/components/auth-guide.d.ts +26 -0
- package/lib/browser/components/auth-guide.js +47 -0
- package/lib/browser/components/auth-view.d.ts +2 -0
- package/lib/browser/components/auth-view.js +29 -8
- package/lib/browser/components/cloud-sign-in-view.d.ts +1 -1
- package/lib/browser/components/custom-provider-util.d.ts +2 -0
- package/lib/browser/components/custom-provider-util.js +5 -0
- package/lib/browser/components/custom-provider-view.js +30 -9
- package/lib/browser/components/discover-view.d.ts +8 -1
- package/lib/browser/components/discover-view.js +27 -2
- package/lib/browser/components/extension-settings.js +1 -0
- package/lib/browser/components/first-steps-util.d.ts +60 -0
- package/lib/browser/components/first-steps-util.js +77 -0
- package/lib/browser/components/first-steps.d.ts +4 -0
- package/lib/browser/components/first-steps.js +72 -0
- package/lib/browser/components/host-view.d.ts +1 -1
- package/lib/browser/components/list-rows.d.ts +1 -1
- package/lib/browser/components/list-rows.js +1 -1
- package/lib/browser/components/me-rows.d.ts +8 -1
- package/lib/browser/components/me-rows.js +3 -3
- package/lib/browser/components/me-view.js +1 -1
- package/lib/browser/components/message-user.js +5 -2
- package/lib/browser/components/model-picker.d.ts +5 -0
- package/lib/browser/components/model-picker.js +10 -1
- package/lib/browser/components/nav-places.d.ts +14 -0
- package/lib/browser/components/nav-places.js +13 -1
- package/lib/browser/components/phone-hint.d.ts +7 -0
- package/lib/browser/components/phone-hint.js +99 -0
- package/lib/browser/components/relay-view-util.d.ts +6 -0
- package/lib/browser/components/relay-view-util.js +17 -0
- package/lib/browser/components/relay-view.js +10 -6
- package/lib/browser/components/session-view.js +2 -1
- package/lib/browser/components/settings-choices.js +2 -0
- package/lib/browser/components/settings-controls.d.ts +15 -0
- package/lib/browser/components/settings-controls.js +13 -0
- package/lib/browser/components/settings-more.js +1 -0
- package/lib/browser/components/settings-parts.d.ts +3 -1
- package/lib/browser/components/settings-parts.js +3 -0
- package/lib/browser/components/settings-view.js +36 -10
- package/lib/browser/device/app-update.d.ts +63 -0
- package/lib/browser/device/app-update.js +182 -0
- package/lib/browser/extension/icons.js +1 -0
- package/lib/browser/extension/web-api-contributions.d.ts +6 -1
- package/lib/browser/extension/web-api-partners.d.ts +6 -0
- package/lib/browser/extension/web-api-spec.js +1 -0
- package/lib/browser/extension/web-home.js +9 -0
- package/lib/browser/extension/web-metrics.d.ts +3 -0
- package/lib/browser/extension/web-metrics.js +32 -21
- package/lib/browser/extension/web-pages.d.ts +3 -1
- package/lib/browser/extension/web-pages.js +1 -0
- package/lib/browser/i18n/en/account.d.ts +7 -0
- package/lib/browser/i18n/en/account.js +13 -6
- package/lib/browser/i18n/en/chat.d.ts +2 -0
- package/lib/browser/i18n/en/chat.js +2 -0
- package/lib/browser/i18n/en/discover.d.ts +3 -0
- package/lib/browser/i18n/en/discover.js +3 -0
- package/lib/browser/i18n/en/service.d.ts +8 -0
- package/lib/browser/i18n/en/service.js +8 -0
- package/lib/browser/i18n/en/settings.d.ts +3 -0
- package/lib/browser/i18n/en/settings.js +3 -0
- package/lib/browser/i18n/ja/account.js +13 -6
- package/lib/browser/i18n/ja/chat.js +2 -0
- package/lib/browser/i18n/ja/discover.js +3 -0
- package/lib/browser/i18n/ja/service.js +8 -0
- package/lib/browser/i18n/ja/settings.js +3 -0
- package/lib/browser/i18n/locales.d.ts +24 -1
- package/lib/browser/i18n/messages.d.ts +23 -0
- package/lib/browser/i18n/zh/account.js +13 -6
- package/lib/browser/i18n/zh/chat.js +2 -0
- package/lib/browser/i18n/zh/discover.js +3 -0
- package/lib/browser/i18n/zh/service.js +8 -0
- package/lib/browser/i18n/zh/settings.js +3 -0
- package/lib/browser/i18n/zh-tw/account.js +13 -6
- package/lib/browser/i18n/zh-tw/chat.js +2 -0
- package/lib/browser/i18n/zh-tw/discover.js +3 -0
- package/lib/browser/i18n/zh-tw/service.js +8 -0
- package/lib/browser/i18n/zh-tw/settings.js +3 -0
- package/lib/browser/notices/notices.d.ts +2 -0
- package/lib/browser/notices/notices.js +3 -1
- package/lib/browser/sandbox/sandbox-runtime-code.js +1 -1
- package/lib/browser/settings/settings-protocol.d.ts +5 -0
- package/lib/browser/settings/settings-protocol.js +2 -0
- package/lib/browser/style/conversation-column.d.ts +1 -1
- package/lib/browser/style/conversation-column.js +4 -0
- package/lib/browser/style/dialogs.d.ts +1 -1
- package/lib/browser/style/dialogs.js +7 -0
- package/lib/browser/style/skins.d.ts +1 -1
- package/lib/browser/style/skins.js +1 -1
- package/package.json +7 -7
|
@@ -169,6 +169,12 @@ export interface WebPartnersUI {
|
|
|
169
169
|
* Ta apps: `pi.ui.openPartner?.(…)`.
|
|
170
170
|
*/
|
|
171
171
|
openPartner(id: string, kind?: WebPartnerKind): Promise<boolean>;
|
|
172
|
+
/**
|
|
173
|
+
* The partners of every extension as the page lists them, now and each time they change, until the function it
|
|
174
|
+
* returns is called: for what follows who the user works with (Screenshot mask hides the names of friends). Newer
|
|
175
|
+
* than some Ta apps: `pi.ui.onPartners?.(…)`.
|
|
176
|
+
*/
|
|
177
|
+
onPartners(listener: (partners: readonly WebPartnerEntry[]) => void): () => void;
|
|
172
178
|
/**
|
|
173
179
|
* Picks people as every picker of Ta does (WebPeoplePickerProps): never a `<select>` or checkboxes of one's own.
|
|
174
180
|
* Newer than some Ta apps: `pi.ui.PeoplePicker` may be missing.
|
|
@@ -154,6 +154,7 @@ export const WEB_UI_SPEC = {
|
|
|
154
154
|
openHome: page,
|
|
155
155
|
startGroup: page,
|
|
156
156
|
openPartner: page,
|
|
157
|
+
onPartners: page,
|
|
157
158
|
};
|
|
158
159
|
/** What each member of `pi` needs and how it crosses: one entry each, the only place it is said (3.2). */
|
|
159
160
|
export const WEB_API_SPEC = {
|
|
@@ -35,6 +35,15 @@ export var WebHomeUtil;
|
|
|
35
35
|
await partner.open();
|
|
36
36
|
return true;
|
|
37
37
|
},
|
|
38
|
+
onPartners: listener => {
|
|
39
|
+
const tell = () => {
|
|
40
|
+
if (!stopped()) {
|
|
41
|
+
listener(extensions.partners.partners());
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
tell();
|
|
45
|
+
return extensions.partners.subscribe(tell);
|
|
46
|
+
},
|
|
38
47
|
PeoplePicker,
|
|
39
48
|
};
|
|
40
49
|
}
|
|
@@ -23,6 +23,9 @@ export declare class WebMetrics {
|
|
|
23
23
|
dispose(): void;
|
|
24
24
|
/** One of `item` (`page:main`, `web:load`) of the package of `extension`. */
|
|
25
25
|
record(extension: string | undefined, item: string, err?: boolean, ms?: number): void;
|
|
26
|
+
/** One of `item` of Ta's own pages (`page:settings`, `step:first-reply`), in TA_METRICS_OWN. */
|
|
27
|
+
own(item: string, ms?: number): void;
|
|
28
|
+
protected add(pkg: string, item: string, err: boolean, ms: number | undefined): void;
|
|
26
29
|
/** What threw where an extension drew (ExtensionBoundary). */
|
|
27
30
|
renderError(extension: string | undefined): void;
|
|
28
31
|
/** What was counted, told when it may be; dropped when the service does not take it. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TA_METRICS_BATCH, TA_METRICS_BATCH_MS, TA_METRICS_BOUNDS, TaMetricsUtil } from '@celljs/ta-protocol';
|
|
1
|
+
import { TA_METRICS_BATCH, TA_METRICS_BATCH_MS, TA_METRICS_BOUNDS, TA_METRICS_OWN, TaMetricsUtil } from '@celljs/ta-protocol';
|
|
2
2
|
/** How often the page tells what it counted, when it changed; and when it is hidden, if it may by then. */
|
|
3
3
|
const FLUSH_MS = 60000;
|
|
4
4
|
/**
|
|
@@ -42,34 +42,45 @@ export class WebMetrics {
|
|
|
42
42
|
}
|
|
43
43
|
/** One of `item` (`page:main`, `web:load`) of the package of `extension`. */
|
|
44
44
|
record(extension, item, err = false, ms) {
|
|
45
|
-
var _a, _b;
|
|
46
45
|
try {
|
|
47
46
|
const pkg = extension === undefined ? undefined : this.packageOf(extension);
|
|
48
|
-
if (
|
|
49
|
-
|
|
50
|
-
}
|
|
51
|
-
const key = `${pkg}\u0000${item}`;
|
|
52
|
-
let one = this.counts.get(key);
|
|
53
|
-
if (!one) {
|
|
54
|
-
if (this.counts.size >= TA_METRICS_BATCH) {
|
|
55
|
-
return;
|
|
56
|
-
}
|
|
57
|
-
one = { pkg, item, n: 0 };
|
|
58
|
-
this.counts.set(key, one);
|
|
59
|
-
}
|
|
60
|
-
one.n++;
|
|
61
|
-
if (err) {
|
|
62
|
-
one.err = ((_a = one.err) !== null && _a !== void 0 ? _a : 0) + 1;
|
|
63
|
-
}
|
|
64
|
-
if (ms !== undefined && Number.isFinite(ms) && ms >= 0) {
|
|
65
|
-
(_b = one.ms) !== null && _b !== void 0 ? _b : (one.ms = new Array(TA_METRICS_BOUNDS.length + 1).fill(0));
|
|
66
|
-
one.ms[TaMetricsUtil.bucket(ms)]++;
|
|
47
|
+
if (pkg) {
|
|
48
|
+
this.add(pkg, item, err, ms);
|
|
67
49
|
}
|
|
68
50
|
}
|
|
69
|
-
catch (
|
|
51
|
+
catch (_a) {
|
|
70
52
|
// Never to what it counts.
|
|
71
53
|
}
|
|
72
54
|
}
|
|
55
|
+
/** One of `item` of Ta's own pages (`page:settings`, `step:first-reply`), in TA_METRICS_OWN. */
|
|
56
|
+
own(item, ms) {
|
|
57
|
+
try {
|
|
58
|
+
this.add(TA_METRICS_OWN, item, false, ms);
|
|
59
|
+
}
|
|
60
|
+
catch (_a) {
|
|
61
|
+
// Never to what it counts.
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
add(pkg, item, err, ms) {
|
|
65
|
+
var _a, _b;
|
|
66
|
+
const key = `${pkg}\u0000${item}`;
|
|
67
|
+
let one = this.counts.get(key);
|
|
68
|
+
if (!one) {
|
|
69
|
+
if (this.counts.size >= TA_METRICS_BATCH) {
|
|
70
|
+
return;
|
|
71
|
+
}
|
|
72
|
+
one = { pkg, item, n: 0 };
|
|
73
|
+
this.counts.set(key, one);
|
|
74
|
+
}
|
|
75
|
+
one.n++;
|
|
76
|
+
if (err) {
|
|
77
|
+
one.err = ((_a = one.err) !== null && _a !== void 0 ? _a : 0) + 1;
|
|
78
|
+
}
|
|
79
|
+
if (ms !== undefined && Number.isFinite(ms) && ms >= 0) {
|
|
80
|
+
(_b = one.ms) !== null && _b !== void 0 ? _b : (one.ms = new Array(TA_METRICS_BOUNDS.length + 1).fill(0));
|
|
81
|
+
one.ms[TaMetricsUtil.bucket(ms)]++;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
73
84
|
/** What threw where an extension drew (ExtensionBoundary). */
|
|
74
85
|
renderError(extension) {
|
|
75
86
|
this.record(extension, 'render:view', true);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { TaTemporaryInfo, TaWebExtensionInfo } from '@celljs/ta-protocol';
|
|
1
|
+
import type { TaTemporaryInfo, TaTier, TaWebExtensionInfo } from '@celljs/ta-protocol';
|
|
2
2
|
import type { StateSpec } from '../state/state-protocol.js';
|
|
3
3
|
import type { WebIcon } from './web-extension-api.js';
|
|
4
4
|
import { type WebViewEntry } from './web-extension-protocol.js';
|
|
@@ -42,6 +42,8 @@ export interface WebPageInfo {
|
|
|
42
42
|
category?: string;
|
|
43
43
|
/** Its group under Discover: WebView.group, or `pi.group` of its package for one started on open (TaWebExtensionInfo.group). */
|
|
44
44
|
group?: string;
|
|
45
|
+
/** `pi.tier` of its package (TaWebExtensionInfo.tier): who it is for, as Discover lists it (DiscoverUtil.split). */
|
|
46
|
+
tier?: TaTier;
|
|
45
47
|
/** For a page of a temporary package: `id` is that of its web extension, for `packages.updateTemporaryPackage` and the rest. */
|
|
46
48
|
temporary?: TaTemporaryInfo & {
|
|
47
49
|
id: string;
|
|
@@ -60,6 +60,7 @@ export var WebPagesUtil;
|
|
|
60
60
|
const own = (info) => ({
|
|
61
61
|
...(info && info.origin !== 'builtin' ? { extensionId: info.id, source: info.source } : {}),
|
|
62
62
|
...((info === null || info === void 0 ? void 0 : info.category) ? { category: info.category } : {}),
|
|
63
|
+
...((info === null || info === void 0 ? void 0 : info.tier) ? { tier: info.tier } : {}),
|
|
63
64
|
});
|
|
64
65
|
const lazy = new Set(onOpen.map(entry => entry.info.id));
|
|
65
66
|
const pages = views
|
|
@@ -87,6 +87,7 @@ export declare const ACCOUNT_EN: {
|
|
|
87
87
|
'ta.presence.owner': string;
|
|
88
88
|
'ta.account': string;
|
|
89
89
|
'ta.account.service': string;
|
|
90
|
+
'ta.account.thisComputer': string;
|
|
90
91
|
'ta.account.menu': string;
|
|
91
92
|
'ta.me': string;
|
|
92
93
|
'ta.auth.title': string;
|
|
@@ -156,6 +157,12 @@ export declare const ACCOUNT_EN: {
|
|
|
156
157
|
'ta.auth.waiting': string;
|
|
157
158
|
'ta.auth.done': string;
|
|
158
159
|
'ta.auth.failed': string;
|
|
160
|
+
'ta.auth.keyGuide': string;
|
|
161
|
+
'ta.auth.keyPage': string;
|
|
162
|
+
'ta.auth.pricing': string;
|
|
163
|
+
'ta.auth.keyRefused': string;
|
|
164
|
+
'ta.auth.keyAgain': string;
|
|
165
|
+
'ta.auth.more': string;
|
|
159
166
|
'ta.auth.none': string;
|
|
160
167
|
'ta.auth.search': string;
|
|
161
168
|
'ta.auth.accountsTitle': string;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
/** The words of the account: signing in, who may come in, the devices, the vault, in ICU format. English is the source and the fallback. */
|
|
2
2
|
export const ACCOUNT_EN = {
|
|
3
3
|
'ta.signin.title': 'Connect to Ta',
|
|
4
|
-
'ta.signin.hint': 'Run ta serve --web
|
|
5
|
-
'ta.signin.token': '
|
|
4
|
+
'ta.signin.hint': 'Run ta serve --web on the computer, which opens this page signed in, or paste the connection code (the token in ~/.ta/agent/serve.json on the computer).',
|
|
5
|
+
'ta.signin.token': 'Connection code',
|
|
6
6
|
'ta.signin.connect': 'Connect',
|
|
7
|
-
'ta.signin.refused': 'The Ta
|
|
7
|
+
'ta.signin.refused': 'The Ta on the computer did not accept the connection code, or it is not running.',
|
|
8
8
|
'ta.signin.pairHint': 'On your computer, run ta pair <relay> and paste the link it prints here. What goes through the relay is encrypted end to end.',
|
|
9
9
|
'ta.signin.pairing': 'Pairing link',
|
|
10
10
|
'ta.signin.pairRefused': 'Your Ta does not know this device: it may have been unpaired. Run ta pair again.',
|
|
11
|
-
'ta.signin.accountsHint': 'Sign in with your account, or paste the
|
|
11
|
+
'ta.signin.accountsHint': 'Sign in with your account, or paste the connection code of the Ta on your computer.',
|
|
12
12
|
'ta.signin.with': 'Continue with {name}',
|
|
13
13
|
'ta.signin.wechat': 'WeChat',
|
|
14
14
|
'ta.signin.orToken': 'or',
|
|
15
15
|
'ta.signin.denied': '{account} may not use this Ta yet. Its owner can let you in under Settings, Access.',
|
|
16
16
|
'ta.signin.failed': 'Signing in did not finish. Try again.',
|
|
17
|
-
'ta.signin.hintRemote': 'Open the sign-in link of your Ta
|
|
17
|
+
'ta.signin.hintRemote': 'Open the sign-in link of your Ta or gateway, or paste its connection code.',
|
|
18
18
|
'ta.access.title': 'Access',
|
|
19
19
|
'ta.access.bind': 'Sign in with your account',
|
|
20
20
|
'ta.access.bindHint': 'Lets in the account you sign in with, so that it signs you in next time, on any device.',
|
|
@@ -87,7 +87,8 @@ export const ACCOUNT_EN = {
|
|
|
87
87
|
'ta.presence.more': ' +{count}',
|
|
88
88
|
'ta.presence.owner': 'Owner',
|
|
89
89
|
'ta.account': 'Account',
|
|
90
|
-
'ta.account.service': '
|
|
90
|
+
'ta.account.service': 'Computer',
|
|
91
|
+
'ta.account.thisComputer': 'This computer',
|
|
91
92
|
// The settings view and the menu of the account
|
|
92
93
|
'ta.account.menu': 'Account and settings',
|
|
93
94
|
'ta.me': 'Me',
|
|
@@ -158,6 +159,12 @@ export const ACCOUNT_EN = {
|
|
|
158
159
|
'ta.auth.waiting': 'Waiting…',
|
|
159
160
|
'ta.auth.done': 'Signed in to {name}',
|
|
160
161
|
'ta.auth.failed': 'Could not sign in: {message}',
|
|
162
|
+
'ta.auth.keyGuide': 'Create a key on the site of {name} and paste it here; you pay for what you use.',
|
|
163
|
+
'ta.auth.keyPage': 'Create a key',
|
|
164
|
+
'ta.auth.pricing': 'Prices',
|
|
165
|
+
'ta.auth.keyRefused': '{name} did not take this key, so it was not saved. Copy it again.',
|
|
166
|
+
'ta.auth.keyAgain': 'Type it again',
|
|
167
|
+
'ta.auth.more': 'More providers ({count})',
|
|
161
168
|
'ta.auth.none': 'No matching providers',
|
|
162
169
|
'ta.auth.search': 'Search providers',
|
|
163
170
|
'ta.auth.accountsTitle': 'Model accounts',
|
|
@@ -89,6 +89,8 @@ export declare const CHAT_EN: {
|
|
|
89
89
|
'ta.message.sendFailed': string;
|
|
90
90
|
'ta.message.resend': string;
|
|
91
91
|
'ta.message.discard': string;
|
|
92
|
+
'ta.message.noModel': string;
|
|
93
|
+
'ta.message.connectModel': string;
|
|
92
94
|
'ta.message.selectText': string;
|
|
93
95
|
'ta.message.copyFrom': string;
|
|
94
96
|
'ta.message.copiedFrom': string;
|
|
@@ -89,6 +89,8 @@ export const CHAT_EN = {
|
|
|
89
89
|
'ta.message.sendFailed': 'Not sent',
|
|
90
90
|
'ta.message.resend': 'Send again',
|
|
91
91
|
'ta.message.discard': 'Delete',
|
|
92
|
+
'ta.message.noModel': 'No model connected yet, so Ta cannot answer',
|
|
93
|
+
'ta.message.connectModel': 'Connect a model',
|
|
92
94
|
'ta.message.selectText': 'Select text',
|
|
93
95
|
'ta.message.copyFrom': 'Copy from here to the end',
|
|
94
96
|
'ta.message.copiedFrom': '{count, plural, one {Copied # message} other {Copied # messages}} as Markdown',
|
|
@@ -95,6 +95,9 @@ export declare const DISCOVER_EN: {
|
|
|
95
95
|
'ta.launcher.place.discover': string;
|
|
96
96
|
'ta.launcher.place.launcher': string;
|
|
97
97
|
'ta.launcher.place.list': string;
|
|
98
|
+
'ta.discover.all': string;
|
|
99
|
+
'ta.discover.showAll': string;
|
|
100
|
+
'ta.discover.allHint': string;
|
|
98
101
|
'ta.discover.empty': string;
|
|
99
102
|
'ta.discover.emptyHint': string;
|
|
100
103
|
'ta.discover.hint': string;
|
|
@@ -96,6 +96,9 @@ export const DISCOVER_EN = {
|
|
|
96
96
|
'ta.launcher.place.discover': 'Under Discover',
|
|
97
97
|
'ta.launcher.place.launcher': 'Quick open',
|
|
98
98
|
'ta.launcher.place.list': 'In a list',
|
|
99
|
+
'ta.discover.all': 'All features',
|
|
100
|
+
'ta.discover.showAll': 'List every feature in Discover',
|
|
101
|
+
'ta.discover.allHint': 'A feature you use shows in Discover by itself, and comes back here after 30 days unused.',
|
|
99
102
|
'ta.discover.empty': 'Nothing here yet',
|
|
100
103
|
'ta.discover.emptyHint': 'The features extensions add come here',
|
|
101
104
|
'ta.discover.hint': 'Right-click a feature to put it in the navigation.',
|
|
@@ -29,6 +29,10 @@ export declare const SERVICE_EN: {
|
|
|
29
29
|
'ta.update.readyDetail': string;
|
|
30
30
|
'ta.update.later': string;
|
|
31
31
|
'ta.update.restartTo': string;
|
|
32
|
+
'ta.appUpdate.available': string;
|
|
33
|
+
'ta.appUpdate.detail': string;
|
|
34
|
+
'ta.appUpdate.update': string;
|
|
35
|
+
'ta.appUpdate.installTo': string;
|
|
32
36
|
'ta.release.available': string;
|
|
33
37
|
'ta.release.detail': string;
|
|
34
38
|
'ta.release.install': string;
|
|
@@ -254,7 +258,11 @@ export declare const SERVICE_EN: {
|
|
|
254
258
|
'ta.relay.hint': string;
|
|
255
259
|
'ta.relay.phone': string;
|
|
256
260
|
'ta.relay.pair': string;
|
|
261
|
+
'ta.phoneHint.text': string;
|
|
262
|
+
'ta.phoneHint.pair': string;
|
|
257
263
|
'ta.relay.scan': string;
|
|
264
|
+
'ta.relay.noApp': string;
|
|
265
|
+
'ta.relay.download': string;
|
|
258
266
|
'ta.relay.done': string;
|
|
259
267
|
'ta.relay.devices': string;
|
|
260
268
|
'ta.relay.online': string;
|
|
@@ -30,6 +30,10 @@ export const SERVICE_EN = {
|
|
|
30
30
|
'ta.update.readyDetail': 'Restart Ta to use it. Running tasks carry on after it.',
|
|
31
31
|
'ta.update.later': 'Later',
|
|
32
32
|
'ta.update.restartTo': 'Restart to use {version}',
|
|
33
|
+
'ta.appUpdate.available': 'Ta {version} is out',
|
|
34
|
+
'ta.appUpdate.detail': 'Tap Update, then Install in the dialog: Ta closes and the new version takes its place, nothing lost.',
|
|
35
|
+
'ta.appUpdate.update': 'Update',
|
|
36
|
+
'ta.appUpdate.installTo': 'Update to Ta {version}',
|
|
33
37
|
'ta.release.available': 'Ta {version} is out',
|
|
34
38
|
'ta.release.detail': 'Runs {command}; running tasks carry on after the restart.',
|
|
35
39
|
'ta.release.install': 'Update and restart',
|
|
@@ -256,7 +260,11 @@ export const SERVICE_EN = {
|
|
|
256
260
|
'ta.relay.hint': 'Pair once, then reach this Ta from anywhere. End-to-end encrypted.',
|
|
257
261
|
'ta.relay.phone': 'Phone',
|
|
258
262
|
'ta.relay.pair': 'Pair a device',
|
|
263
|
+
'ta.phoneHint.text': 'Ta is on your phone too: hand it work and see results on the go',
|
|
264
|
+
'ta.phoneHint.pair': 'Connect your phone',
|
|
259
265
|
'ta.relay.scan': 'Scan it with the Ta app on the phone. The code works once; keep it to yourself.',
|
|
266
|
+
'ta.relay.noApp': 'No Ta on the phone yet? Scan the code with its camera, or',
|
|
267
|
+
'ta.relay.download': 'download Ta',
|
|
260
268
|
'ta.relay.done': 'Done',
|
|
261
269
|
'ta.relay.devices': 'Paired devices',
|
|
262
270
|
'ta.relay.online': 'Connected · {relay}',
|
|
@@ -160,6 +160,9 @@ export declare const SETTINGS_EN: {
|
|
|
160
160
|
'ta.settings.recentShotsOpenSettings': string;
|
|
161
161
|
'ta.settings.clipboardLinks': string;
|
|
162
162
|
'ta.settings.clipboardLinksHint': string;
|
|
163
|
+
'ta.settings.allFeatures': string;
|
|
164
|
+
'ta.settings.allFeaturesHint': string;
|
|
165
|
+
'ta.settings.more': string;
|
|
163
166
|
'ta.settings.navigation': string;
|
|
164
167
|
'ta.settings.navigation.show': string;
|
|
165
168
|
'ta.settings.navigation.inNav': string;
|
|
@@ -160,6 +160,9 @@ export const SETTINGS_EN = {
|
|
|
160
160
|
'ta.settings.recentShotsOpenSettings': 'Open System Settings',
|
|
161
161
|
'ta.settings.clipboardLinks': 'Spot links of Ta you copy',
|
|
162
162
|
'ta.settings.clipboardLinksHint': 'Copied a message with an invite or a share of Ta? Back in Ta, it shows what it is with Open; so does pasting it anywhere in Ta. The clipboard is read only as you come back, and nothing of it is kept. On iPhone, only once you tap Open',
|
|
163
|
+
'ta.settings.allFeatures': 'Show all features',
|
|
164
|
+
'ta.settings.allFeaturesHint': 'Every feature in Discover and every section here; off, only the common ones and those you use',
|
|
165
|
+
'ta.settings.more': 'More settings',
|
|
163
166
|
'ta.settings.navigation': 'Navigation',
|
|
164
167
|
'ta.settings.navigation.show': 'In the navigation',
|
|
165
168
|
'ta.settings.navigation.inNav': 'In the navigation',
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
export const ACCOUNT_JA = {
|
|
2
2
|
'ta.signin.title': 'Ta に接続',
|
|
3
|
-
'ta.signin.hint': '
|
|
4
|
-
'ta.signin.token': '
|
|
3
|
+
'ta.signin.hint': 'コンピューターで ta serve --web を実行すると、このページがサインイン済みで開きます。接続コード(コンピューターの ~/.ta/agent/serve.json にある token)を貼り付けることもできます。',
|
|
4
|
+
'ta.signin.token': '接続コード',
|
|
5
5
|
'ta.signin.connect': '接続',
|
|
6
|
-
'ta.signin.refused': 'Ta
|
|
6
|
+
'ta.signin.refused': 'コンピューターの Ta が接続コードを受け入れませんでした。または実行されていません。',
|
|
7
7
|
'ta.signin.pairHint': 'コンピューター上で ta pair <リレー> を実行して、それが出力するリンクをここに貼り付けます。リレーを通じた内容はエンドツーエンドで暗号化されます。',
|
|
8
8
|
'ta.signin.pairing': 'ペアリングリンク',
|
|
9
9
|
'ta.signin.pairRefused': 'あなたの Ta はこのデバイスを認識しません。ペアリングが解除されている可能性があります。ta pair をもう一度実行してください。',
|
|
10
|
-
'ta.signin.accountsHint': '
|
|
10
|
+
'ta.signin.accountsHint': 'アカウントでサインインするか、コンピューターの Ta の接続コードを貼り付けてください。',
|
|
11
11
|
'ta.signin.with': '{name} で続行',
|
|
12
12
|
'ta.signin.wechat': 'WeChat',
|
|
13
13
|
'ta.signin.orToken': 'または',
|
|
14
14
|
'ta.signin.denied': '{account} はまだこの Ta を使用できません。この Ta の所有者が「設定 → アクセス」で許可できます。',
|
|
15
15
|
'ta.signin.failed': 'サインインが完了しませんでした。もう一度試してください。',
|
|
16
|
-
'ta.signin.hintRemote': 'Ta
|
|
16
|
+
'ta.signin.hintRemote': 'Ta またはゲートウェイのサインインリンクを開くか、接続コードを貼り付けてください。',
|
|
17
17
|
'ta.access.title': 'アクセス',
|
|
18
18
|
'ta.access.bind': 'アカウントでサインイン',
|
|
19
19
|
'ta.access.bindHint': 'サインインに使用するアカウントを許可するため、次回以降は任意のデバイスでサインインできます。',
|
|
@@ -85,7 +85,8 @@ export const ACCOUNT_JA = {
|
|
|
85
85
|
'ta.presence.more': '他 {count} 人',
|
|
86
86
|
'ta.presence.owner': '所有者',
|
|
87
87
|
'ta.account': 'アカウント',
|
|
88
|
-
'ta.account.service': '
|
|
88
|
+
'ta.account.service': 'コンピューター',
|
|
89
|
+
'ta.account.thisComputer': 'このコンピューター',
|
|
89
90
|
'ta.account.menu': 'アカウントと設定',
|
|
90
91
|
'ta.me': '私',
|
|
91
92
|
'ta.auth.title': 'モデルサービスにサインイン',
|
|
@@ -155,6 +156,12 @@ export const ACCOUNT_JA = {
|
|
|
155
156
|
'ta.auth.waiting': '待機中…',
|
|
156
157
|
'ta.auth.done': '{name} にサインインしました',
|
|
157
158
|
'ta.auth.failed': 'サインインできませんでした:{message}',
|
|
159
|
+
'ta.auth.keyGuide': '{name} のサイトで Key を作成して、ここに貼り付けてください。料金は使った分だけです。',
|
|
160
|
+
'ta.auth.keyPage': 'Key を作成',
|
|
161
|
+
'ta.auth.pricing': '料金',
|
|
162
|
+
'ta.auth.keyRefused': '{name} がこの Key を受け付けなかったため、保存していません。もう一度コピーしてください。',
|
|
163
|
+
'ta.auth.keyAgain': 'もう一度入力',
|
|
164
|
+
'ta.auth.more': 'ほかのサービス({count} 件)',
|
|
158
165
|
'ta.auth.none': '一致するプロバイダーがありません',
|
|
159
166
|
'ta.auth.search': 'プロバイダーを検索',
|
|
160
167
|
'ta.auth.accountsTitle': 'モデルアカウント',
|
|
@@ -88,6 +88,8 @@ export const CHAT_JA = {
|
|
|
88
88
|
'ta.message.sendFailed': '送信されませんでした',
|
|
89
89
|
'ta.message.resend': 'もう一度送信',
|
|
90
90
|
'ta.message.discard': '削除',
|
|
91
|
+
'ta.message.noModel': 'モデルにまだ接続していないため、Ta は答えられません',
|
|
92
|
+
'ta.message.connectModel': 'モデルに接続',
|
|
91
93
|
'ta.message.selectText': 'テキストを選択',
|
|
92
94
|
'ta.message.copyFrom': 'ここから最後までコピー',
|
|
93
95
|
'ta.message.copiedFrom': '{count} 件のメッセージを Markdown でコピーしました',
|
|
@@ -94,6 +94,9 @@ export const DISCOVER_JA = {
|
|
|
94
94
|
'ta.launcher.place.discover': '「見つける」へ',
|
|
95
95
|
'ta.launcher.place.launcher': 'クイックオープン',
|
|
96
96
|
'ta.launcher.place.list': 'リストに',
|
|
97
|
+
'ta.discover.all': 'すべての機能',
|
|
98
|
+
'ta.discover.showAll': '見つけるにすべての機能を表示',
|
|
99
|
+
'ta.discover.allHint': '使った機能は自動で見つけるに表示され、30 日使わないとここに戻ります。',
|
|
97
100
|
'ta.discover.empty': 'ここはまだ何もありません',
|
|
98
101
|
'ta.discover.emptyHint': '拡張機能が提供する機能はここにあります',
|
|
99
102
|
'ta.discover.hint': '機能を右クリックするとナビゲーションバーに置けます。',
|
|
@@ -28,6 +28,10 @@ export const SERVICE_JA = {
|
|
|
28
28
|
'ta.update.readyDetail': 'Ta を再起動すると反映されます。実行中のタスクは再起動後に続きます。',
|
|
29
29
|
'ta.update.later': 'あとで',
|
|
30
30
|
'ta.update.restartTo': '再起動して {version} を使う',
|
|
31
|
+
'ta.appUpdate.available': 'Ta {version} が出ました',
|
|
32
|
+
'ta.appUpdate.detail': '「更新」をタップし、表示されたダイアログで「インストール」を選ぶと、Ta が閉じて新しいバージョンに入れ替わります。データは残ります。',
|
|
33
|
+
'ta.appUpdate.update': '更新',
|
|
34
|
+
'ta.appUpdate.installTo': 'Ta {version} に更新',
|
|
31
35
|
'ta.release.available': '新しいバージョン {version} があります',
|
|
32
36
|
'ta.release.detail': '{command} を実行します。実行中のタスクは再起動後に続きます。',
|
|
33
37
|
'ta.release.install': '更新して再起動',
|
|
@@ -253,7 +257,11 @@ export const SERVICE_JA = {
|
|
|
253
257
|
'ta.relay.hint': '一度ペアリングすれば、どこからでもこのコンピュータの Ta に接続できます。エンドツーエンド暗号化。',
|
|
254
258
|
'ta.relay.phone': 'スマホ',
|
|
255
259
|
'ta.relay.pair': 'デバイスをペアリング',
|
|
260
|
+
'ta.phoneHint.text': 'スマホでも Ta に頼めます。外出先から仕事を任せ、結果を確認できます',
|
|
261
|
+
'ta.phoneHint.pair': 'スマホをつなぐ',
|
|
256
262
|
'ta.relay.scan': 'スマホの Ta アプリでスキャンしてください。ペアリングコードは一度だけ表示されます。他人に共有しないでください。',
|
|
263
|
+
'ta.relay.noApp': 'Ta をまだ入れていない場合は、スマホのカメラでこのコードを読み取るか、',
|
|
264
|
+
'ta.relay.download': 'Ta をダウンロード',
|
|
257
265
|
'ta.relay.done': '完了',
|
|
258
266
|
'ta.relay.devices': 'ペアリング済みデバイス',
|
|
259
267
|
'ta.relay.online': '接続済み · {relay}',
|
|
@@ -159,6 +159,9 @@ export const SETTINGS_JA = {
|
|
|
159
159
|
'ta.settings.recentShotsOpenSettings': 'システム設定を開く',
|
|
160
160
|
'ta.settings.clipboardLinks': 'コピーした Ta のリンクを見つける',
|
|
161
161
|
'ta.settings.clipboardLinksHint': 'Ta の招待や共有のリンクを含む内容をコピーすると、Ta に戻ったときに何かを示し、「開く」で開けます。Ta のどこに貼り付けても同じです。クリップボードは戻った瞬間に一度だけ読み、内容は保存しません。iPhone では「開く」をタップしたときだけ読みます',
|
|
162
|
+
'ta.settings.allFeatures': 'すべての機能を表示',
|
|
163
|
+
'ta.settings.allFeaturesHint': '見つけるにすべての機能、設定にすべての項目を表示します。オフでは、よく使うものと使ったものだけ',
|
|
164
|
+
'ta.settings.more': 'その他の設定',
|
|
162
165
|
'ta.settings.navigation': 'ナビゲーション',
|
|
163
166
|
'ta.settings.navigation.show': 'ナビゲーションバーに表示',
|
|
164
167
|
'ta.settings.navigation.inNav': 'ナビゲーションバーに',
|