@kinetis/vector-ui 0.10.2 → 0.10.4
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/CHANGELOG.md +77 -0
- package/app/components/Vx/Action/Dialog.vue +9 -2
- package/app/components/Vx/Inbox.vue +10 -3
- package/app/components/Vx/Input/Relation.vue +6 -1
- package/app/components/Vx/Input/RichText.vue +1 -1
- package/app/components/Vx/Input/Upload.vue +5 -3
- package/app/components/Vx/Resource/Form.vue +52 -32
- package/app/components/Vx/Resource/Table.vue +67 -34
- package/app/components/Vx/Widget/Table.vue +10 -4
- package/app/composables/useVectorApi.ts +70 -14
- package/app/composables/useVectorAuthStore.ts +32 -7
- package/app/composables/useVectorForm.ts +6 -2
- package/app/composables/useVectorJobs.ts +6 -3
- package/app/composables/useVectorResource.ts +6 -2
- package/app/composables/useVectorSchema.ts +9 -1
- package/app/i18n/ar/actions.ts +1 -0
- package/app/i18n/ar/shell.ts +3 -0
- package/app/i18n/de/actions.ts +1 -0
- package/app/i18n/de/shell.ts +3 -0
- package/app/i18n/en/actions.ts +1 -0
- package/app/i18n/en/shell.ts +3 -0
- package/app/i18n/es/actions.ts +1 -0
- package/app/i18n/es/shell.ts +3 -0
- package/app/i18n/fr/actions.ts +1 -0
- package/app/i18n/fr/shell.ts +3 -0
- package/app/i18n/he/actions.ts +1 -0
- package/app/i18n/he/shell.ts +3 -0
- package/app/i18n/it/actions.ts +1 -0
- package/app/i18n/it/shell.ts +3 -0
- package/app/i18n/ja/actions.ts +1 -0
- package/app/i18n/ja/shell.ts +3 -0
- package/app/i18n/ko/actions.ts +1 -0
- package/app/i18n/ko/shell.ts +3 -0
- package/app/i18n/nl/actions.ts +1 -0
- package/app/i18n/nl/shell.ts +3 -0
- package/app/i18n/pl/actions.ts +1 -0
- package/app/i18n/pl/shell.ts +3 -0
- package/app/i18n/pt/actions.ts +1 -0
- package/app/i18n/pt/shell.ts +3 -0
- package/app/i18n/pt-BR/actions.ts +1 -0
- package/app/i18n/pt-BR/shell.ts +3 -0
- package/app/i18n/ru/actions.ts +1 -0
- package/app/i18n/ru/shell.ts +3 -0
- package/app/i18n/tr/actions.ts +1 -0
- package/app/i18n/tr/shell.ts +3 -0
- package/app/i18n/uk/actions.ts +1 -0
- package/app/i18n/uk/shell.ts +3 -0
- package/app/i18n/zh-Hans/actions.ts +1 -0
- package/app/i18n/zh-Hans/shell.ts +3 -0
- package/app/pages/jobs/index.vue +3 -2
- package/app/pages/login.vue +9 -3
- package/app/pages/settings.vue +4 -3
- package/app/utils/internal/paths.ts +12 -0
- package/app/utils/internal/violations.ts +26 -0
- package/app/utils/richtext.ts +37 -27
- package/package.json +1 -1
|
@@ -46,7 +46,9 @@ const MAX_DELAY = 2 ** 31 - 1
|
|
|
46
46
|
* 401; a failed renewal signs the user out. Logout revokes the refresh
|
|
47
47
|
* token (`POST /auth/logout`). An impersonation token is never renewed:
|
|
48
48
|
* the refresh token is the signed-in user's own, used only while the
|
|
49
|
-
* session is theirs
|
|
49
|
+
* session is theirs or to end an impersonation that ran out, back in
|
|
50
|
+
* their own session (`resume`). Hosted mode rides the application's
|
|
51
|
+
* session instead.
|
|
50
52
|
*/
|
|
51
53
|
export const useVectorAuthStore = defineStore('vectorAuth', {
|
|
52
54
|
state: () => ({
|
|
@@ -55,7 +57,7 @@ export const useVectorAuthStore = defineStore('vectorAuth', {
|
|
|
55
57
|
user: null as VectorUser | null,
|
|
56
58
|
refreshToken: null as string | null,
|
|
57
59
|
refreshExpiresAt: 0,
|
|
58
|
-
/**
|
|
60
|
+
/** The user who signed in: whose refresh token it is, when there is one. */
|
|
59
61
|
refreshSubject: null as string | null,
|
|
60
62
|
restored: false,
|
|
61
63
|
hosted: false,
|
|
@@ -67,11 +69,17 @@ export const useVectorAuthStore = defineStore('vectorAuth', {
|
|
|
67
69
|
&& state.refreshExpiresAt > Date.now()
|
|
68
70
|
&& state.user !== null
|
|
69
71
|
&& String(state.user.id) === state.refreshSubject,
|
|
72
|
+
/** Whether the session is another user's than the one who signed in: an impersonation. */
|
|
73
|
+
impersonating: state => state.user !== null && state.refreshSubject !== null && String(state.user.id) !== state.refreshSubject,
|
|
74
|
+
/** Whether an impersonation can end in the signer's own session: their refresh token is live. */
|
|
75
|
+
canResume(state): boolean {
|
|
76
|
+
return this.impersonating && state.refreshToken !== null && state.refreshExpiresAt > Date.now()
|
|
77
|
+
},
|
|
70
78
|
// A getter is cached until the state changes, and the clock is not
|
|
71
79
|
// state: the session's own timer (expireAt) renews or clears the
|
|
72
80
|
// token when it runs out, which is the change that updates this.
|
|
73
81
|
isAuthenticated(state): boolean {
|
|
74
|
-
return state.hosted || (state.token !== null && state.expiresAt > Date.now()) || this.canRefresh
|
|
82
|
+
return state.hosted || (state.token !== null && state.expiresAt > Date.now()) || this.canRefresh || this.canResume
|
|
75
83
|
},
|
|
76
84
|
},
|
|
77
85
|
|
|
@@ -104,7 +112,7 @@ export const useVectorAuthStore = defineStore('vectorAuth', {
|
|
|
104
112
|
this.user = saved.user
|
|
105
113
|
this.refreshToken = refreshable ? saved.refreshToken! : null
|
|
106
114
|
this.refreshExpiresAt = refreshable ? saved.refreshExpiresAt! : 0
|
|
107
|
-
this.refreshSubject =
|
|
115
|
+
this.refreshSubject = saved.refreshSubject ?? null
|
|
108
116
|
this.expireAt(saved.expiresAt)
|
|
109
117
|
}
|
|
110
118
|
}
|
|
@@ -131,6 +139,22 @@ export const useVectorAuthStore = defineStore('vectorAuth', {
|
|
|
131
139
|
refresh(): Promise<boolean> {
|
|
132
140
|
if (!this.canRefresh) return Promise.resolve(false)
|
|
133
141
|
|
|
142
|
+
return this.renew()
|
|
143
|
+
},
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* Ends an impersonation the API no longer accepts: the signer's own
|
|
147
|
+
* session is renewed with their refresh token. False when it cannot
|
|
148
|
+
* be, and the session ended when the renewal is refused.
|
|
149
|
+
*/
|
|
150
|
+
resume(): Promise<boolean> {
|
|
151
|
+
if (!this.canResume) return Promise.resolve(false)
|
|
152
|
+
|
|
153
|
+
return this.renew()
|
|
154
|
+
},
|
|
155
|
+
|
|
156
|
+
/** POST /auth/refresh with the refresh token, once at a time however many callers ask: `refresh` and `resume` decide when. */
|
|
157
|
+
renew(): Promise<boolean> {
|
|
134
158
|
refreshing ??= (async () => {
|
|
135
159
|
try {
|
|
136
160
|
const config = useRuntimeConfig()
|
|
@@ -196,7 +220,8 @@ export const useVectorAuthStore = defineStore('vectorAuth', {
|
|
|
196
220
|
if (this.expiresAt !== expiresAt) return // a newer token has its own timer
|
|
197
221
|
if (Date.now() < due) this.expireAt(expiresAt) // past setTimeout's range: wait again
|
|
198
222
|
else if (this.canRefresh) void this.refresh()
|
|
199
|
-
|
|
223
|
+
// an impersonation that ran out is left to lapse: the next request's 401 resumes the signer's own session
|
|
224
|
+
else if (!this.canResume) this.clear()
|
|
200
225
|
}, Math.min(MAX_DELAY, Math.max(0, due - Date.now())))
|
|
201
226
|
},
|
|
202
227
|
|
|
@@ -229,13 +254,13 @@ export const useVectorAuthStore = defineStore('vectorAuth', {
|
|
|
229
254
|
if (response.refreshToken) {
|
|
230
255
|
this.refreshToken = response.refreshToken
|
|
231
256
|
this.refreshExpiresAt = Date.now() + (response.refreshExpiresIn ?? 0) * 1000
|
|
232
|
-
this.refreshSubject = String(response.user.id)
|
|
233
257
|
} else {
|
|
234
258
|
this.refreshToken = null
|
|
235
259
|
this.refreshExpiresAt = 0
|
|
236
|
-
this.refreshSubject = null
|
|
237
260
|
}
|
|
238
261
|
|
|
262
|
+
this.refreshSubject = String(response.user.id)
|
|
263
|
+
|
|
239
264
|
this.expireAt(this.expiresAt)
|
|
240
265
|
this.save()
|
|
241
266
|
},
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { VectorField } from '#vector/app/types/vector'
|
|
2
|
+
import { violationsOf } from '#vector/app/utils/internal/violations'
|
|
2
3
|
|
|
3
4
|
/** The value a fresh input holds: the field's default, or the type's empty value. */
|
|
4
5
|
export function initialValue(field: VectorField): unknown {
|
|
@@ -10,7 +11,10 @@ export function initialValue(field: VectorField): unknown {
|
|
|
10
11
|
|
|
11
12
|
/**
|
|
12
13
|
* Maps the framework's 422 document onto field names; returns the
|
|
13
|
-
* message that names no field, if any.
|
|
14
|
+
* message that names no field, if any. A violation deeper in a value
|
|
15
|
+
* (`tags.2`) shows on its field: the loose field lists this serves
|
|
16
|
+
* (settings, bulk edit, action dialogs) hold no repeater, the one input
|
|
17
|
+
* that takes a deeper key (`Vx/Resource/Form.vue` maps those).
|
|
14
18
|
*/
|
|
15
19
|
export function applyViolations(error: unknown, values: Record<string, unknown>, serverErrors: Record<string, string[]>): string | null {
|
|
16
20
|
const failure = error as { status?: number, statusCode?: number, data?: { errors?: unknown } } | null
|
|
@@ -22,7 +26,7 @@ export function applyViolations(error: unknown, values: Record<string, unknown>,
|
|
|
22
26
|
|
|
23
27
|
let general: string | null = null
|
|
24
28
|
|
|
25
|
-
for (const violation of violations
|
|
29
|
+
for (const violation of violationsOf(violations)) {
|
|
26
30
|
const key = String(violation.path[0] ?? '')
|
|
27
31
|
|
|
28
32
|
if (key && key in values) {
|
|
@@ -28,12 +28,15 @@ export function useVectorJobs() {
|
|
|
28
28
|
return job
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
+
// the wait ends on the timer or the abort, and takes its listener off the signal either way
|
|
31
32
|
await new Promise<void>((resolve) => {
|
|
32
|
-
const
|
|
33
|
-
signal?.addEventListener('abort', () => {
|
|
33
|
+
const done = () => {
|
|
34
34
|
clearTimeout(timer)
|
|
35
|
+
signal?.removeEventListener('abort', done)
|
|
35
36
|
resolve()
|
|
36
|
-
}
|
|
37
|
+
}
|
|
38
|
+
const timer = setTimeout(done, delay)
|
|
39
|
+
signal?.addEventListener('abort', done, { once: true })
|
|
37
40
|
})
|
|
38
41
|
|
|
39
42
|
if (signal?.aborted) {
|
|
@@ -127,10 +127,14 @@ export function useVectorResource(slug: MaybeRefOrGetter<string>) {
|
|
|
127
127
|
return api<{ data: VectorRecord[] }>(`${base()}/changes`, { method: 'POST', body: { changes: list } })
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
-
/**
|
|
131
|
-
|
|
130
|
+
/**
|
|
131
|
+
* Stores one file for a file or image field; the answer's key is the value to write.
|
|
132
|
+
* `record` is the id of the record being edited: an account that may update it but not create needs it.
|
|
133
|
+
*/
|
|
134
|
+
function upload(field: string, file: File, record?: string | number | null): Promise<VectorUploaded> {
|
|
132
135
|
const body = new FormData()
|
|
133
136
|
body.append('file', file)
|
|
137
|
+
if (record !== undefined && record !== null && record !== '') body.append('record', String(record))
|
|
134
138
|
return api<VectorUploaded>(`${base()}/fields/${encodeURIComponent(field)}/upload`, { method: 'POST', body })
|
|
135
139
|
}
|
|
136
140
|
|
|
@@ -4,10 +4,14 @@ import type { VectorResource, VectorSchema } from '#vector/app/types/vector'
|
|
|
4
4
|
// language switched twice, say) must not replace it. One app per page.
|
|
5
5
|
let latestLoad = 0
|
|
6
6
|
|
|
7
|
+
/** The descriptor contract this UI reads: the `version` kinetis/vector publishes (VectorRegistry::VERSION). */
|
|
8
|
+
export const DESCRIPTOR_VERSION = 4
|
|
9
|
+
|
|
7
10
|
/**
|
|
8
11
|
* The descriptor, loaded once per session and shared by every page. The
|
|
9
12
|
* server's ETag makes a reload cheap; the layer reloads it after login
|
|
10
|
-
* because the permission overlay is per identity.
|
|
13
|
+
* because the permission overlay is per identity. A descriptor of another
|
|
14
|
+
* contract version is refused rather than read as this one.
|
|
11
15
|
*/
|
|
12
16
|
export function useVectorSchema() {
|
|
13
17
|
const schema = useState<VectorSchema | null>('vector.schema', () => null)
|
|
@@ -26,6 +30,10 @@ export function useVectorSchema() {
|
|
|
26
30
|
try {
|
|
27
31
|
const answer = await api<VectorSchema>('/vector/schema')
|
|
28
32
|
|
|
33
|
+
if (answer?.version !== DESCRIPTOR_VERSION) {
|
|
34
|
+
throw new Error(vt('shell.unsupportedDescriptor', { version: String(answer?.version), supported: DESCRIPTOR_VERSION }))
|
|
35
|
+
}
|
|
36
|
+
|
|
29
37
|
if (request === latestLoad) {
|
|
30
38
|
schema.value = answer
|
|
31
39
|
adoptMinorUnits(answer.minorUnits ?? {})
|
package/app/i18n/ar/actions.ts
CHANGED
|
@@ -7,6 +7,7 @@ export default {
|
|
|
7
7
|
subjectCount: '{count} {label}',
|
|
8
8
|
done: 'تم تنفيذ {label}.',
|
|
9
9
|
declined: 'رُفض الإجراء.',
|
|
10
|
+
redirectRefused: 'طلب الإجراء فتح صفحة خارج لوحة الإدارة، ولم تُفتح.',
|
|
10
11
|
downloadStarted: 'بدأ التنزيل.',
|
|
11
12
|
queued: 'أُضيف {label} إلى قائمة الانتظار.',
|
|
12
13
|
}
|
package/app/i18n/ar/shell.ts
CHANGED
|
@@ -8,6 +8,7 @@ export default {
|
|
|
8
8
|
toggleTheme: 'تبديل السمة',
|
|
9
9
|
language: 'اللغة: {name}',
|
|
10
10
|
languageFailed: 'تعذّر حفظ اللغة: {error}',
|
|
11
|
+
unsupportedDescriptor: 'تنشر الواجهة البرمجية الإصدار {version} من الواصف، وهذه الإدارة تقرأ الإصدار {supported}. ثبّت إصدارين متوافقين من kinetis/vector وvector-ui.',
|
|
11
12
|
nav: {
|
|
12
13
|
main: 'الرئيسية',
|
|
13
14
|
dashboard: 'لوحة المعلومات',
|
|
@@ -26,6 +27,7 @@ export default {
|
|
|
26
27
|
stop: 'إنهاء التصرف باسم مستخدم آخر',
|
|
27
28
|
noAccess: 'ليس لدى {name} صلاحية الوصول إلى لوحة الإدارة، لذا لا يوجد ما يمكن رؤيته باسمه. تم إنهاء التصرف باسمه.',
|
|
28
29
|
noToken: 'استجاب التطبيق دون رمز مميز أو إعادة تحميل، لذا لم يتغير شيء.',
|
|
30
|
+
ended: 'انتهت مدة انتحال الهوية، فعدت إلى حسابك الخاص.',
|
|
29
31
|
},
|
|
30
32
|
palette: {
|
|
31
33
|
placeholder: 'البحث في السجلات والموارد…',
|
|
@@ -47,6 +49,7 @@ export default {
|
|
|
47
49
|
invalidEmail: 'يُرجى إدخال عنوان بريد إلكتروني صالح',
|
|
48
50
|
welcome: 'مرحبًا بعودتك، {name}.',
|
|
49
51
|
signedOutIdle: 'تم تسجيل خروجك بعد {minutes} دقيقة من عدم النشاط. سجّل الدخول مجددًا للمتابعة من حيث توقفت.',
|
|
52
|
+
impersonationEnded: 'انتهت مدة انتحال الهوية وتعذّر تجديد جلستك الخاصة. سجّل الدخول مجددًا للمتابعة.',
|
|
50
53
|
},
|
|
51
54
|
home: {
|
|
52
55
|
title: 'لوحة المعلومات',
|
package/app/i18n/de/actions.ts
CHANGED
|
@@ -7,6 +7,7 @@ export default {
|
|
|
7
7
|
subjectCount: '{count} {label}',
|
|
8
8
|
done: '{label} abgeschlossen.',
|
|
9
9
|
declined: 'Die Aktion wurde abgelehnt.',
|
|
10
|
+
redirectRefused: 'Die Aktion wollte eine Seite außerhalb des Admin-Bereichs öffnen; sie wurde nicht geöffnet.',
|
|
10
11
|
downloadStarted: 'Download gestartet.',
|
|
11
12
|
queued: '{label} wurde in die Warteschlange gestellt.',
|
|
12
13
|
}
|
package/app/i18n/de/shell.ts
CHANGED
|
@@ -8,6 +8,7 @@ export default {
|
|
|
8
8
|
toggleTheme: 'Design wechseln',
|
|
9
9
|
language: 'Sprache: {name}',
|
|
10
10
|
languageFailed: 'Die Sprache konnte nicht gespeichert werden: {error}',
|
|
11
|
+
unsupportedDescriptor: 'Die API veröffentlicht die Deskriptor-Version {version}; dieser Admin liest Version {supported}. Installieren Sie zueinander passende Versionen von kinetis/vector und vector-ui.',
|
|
11
12
|
nav: {
|
|
12
13
|
main: 'Hauptmenü',
|
|
13
14
|
dashboard: 'Dashboard',
|
|
@@ -26,6 +27,7 @@ export default {
|
|
|
26
27
|
stop: 'Identitätswechsel beenden',
|
|
27
28
|
noAccess: '{name} hat keinen Zugriff auf den Admin, daher gibt es in dieser Rolle nichts zu sehen. Der Identitätswechsel wurde beendet.',
|
|
28
29
|
noToken: 'Die Anwendung hat weder ein Token noch ein Neuladen geliefert, daher wurde nichts geändert.',
|
|
30
|
+
ended: 'Ihre Identitätsübernahme ist abgelaufen; Sie sind wieder in Ihrem eigenen Konto.',
|
|
29
31
|
},
|
|
30
32
|
palette: {
|
|
31
33
|
placeholder: 'Datensätze und Ressourcen suchen…',
|
|
@@ -47,6 +49,7 @@ export default {
|
|
|
47
49
|
invalidEmail: 'Geben Sie eine gültige E-Mail-Adresse ein',
|
|
48
50
|
welcome: 'Willkommen zurück, {name}.',
|
|
49
51
|
signedOutIdle: 'Sie wurden nach {minutes} Minuten ohne Aktivität abgemeldet. Melden Sie sich erneut an, um dort weiterzumachen, wo Sie aufgehört haben.',
|
|
52
|
+
impersonationEnded: 'Ihre Identitätsübernahme ist abgelaufen, und Ihre eigene Sitzung konnte nicht erneuert werden. Melden Sie sich erneut an, um fortzufahren.',
|
|
50
53
|
},
|
|
51
54
|
home: {
|
|
52
55
|
title: 'Dashboard',
|
package/app/i18n/en/actions.ts
CHANGED
|
@@ -7,6 +7,7 @@ export default {
|
|
|
7
7
|
subjectCount: '{count} {label}',
|
|
8
8
|
done: '{label} done.',
|
|
9
9
|
declined: 'The action declined.',
|
|
10
|
+
redirectRefused: 'The action asked to open a page outside the admin; it was not opened.',
|
|
10
11
|
downloadStarted: 'Download started.',
|
|
11
12
|
queued: '{label} was queued.',
|
|
12
13
|
}
|
package/app/i18n/en/shell.ts
CHANGED
|
@@ -8,6 +8,7 @@ export default {
|
|
|
8
8
|
toggleTheme: 'Toggle theme',
|
|
9
9
|
language: 'Language: {name}',
|
|
10
10
|
languageFailed: 'The language could not be saved: {error}',
|
|
11
|
+
unsupportedDescriptor: 'The API publishes descriptor version {version}; this admin reads version {supported}. Install matching releases of kinetis/vector and vector-ui.',
|
|
11
12
|
nav: {
|
|
12
13
|
main: 'Main',
|
|
13
14
|
dashboard: 'Dashboard',
|
|
@@ -26,6 +27,7 @@ export default {
|
|
|
26
27
|
stop: 'Stop impersonating',
|
|
27
28
|
noAccess: '{name} has no access to the admin, so there is nothing to see as them. Impersonation was stopped.',
|
|
28
29
|
noToken: 'The application answered without a token or a reload, so nothing changed.',
|
|
30
|
+
ended: 'Your impersonation ran out, so you are back in your own account.',
|
|
29
31
|
},
|
|
30
32
|
palette: {
|
|
31
33
|
placeholder: 'Search records and resources…',
|
|
@@ -47,6 +49,7 @@ export default {
|
|
|
47
49
|
invalidEmail: 'Enter a valid e-mail address',
|
|
48
50
|
welcome: 'Welcome back, {name}.',
|
|
49
51
|
signedOutIdle: 'You were signed out after {minutes} minutes of inactivity. Sign in again to continue where you left off.',
|
|
52
|
+
impersonationEnded: 'Your impersonation ran out and your own session could not be renewed. Sign in again to continue.',
|
|
50
53
|
},
|
|
51
54
|
home: {
|
|
52
55
|
title: 'Dashboard',
|
package/app/i18n/es/actions.ts
CHANGED
|
@@ -7,6 +7,7 @@ export default {
|
|
|
7
7
|
subjectCount: '{count} {label}',
|
|
8
8
|
done: 'Se completó {label}.',
|
|
9
9
|
declined: 'La acción se rechazó.',
|
|
10
|
+
redirectRefused: 'La acción pidió abrir una página fuera del panel; no se ha abierto.',
|
|
10
11
|
downloadStarted: 'Descarga iniciada.',
|
|
11
12
|
queued: '{label} se puso en cola.',
|
|
12
13
|
}
|
package/app/i18n/es/shell.ts
CHANGED
|
@@ -8,6 +8,7 @@ export default {
|
|
|
8
8
|
toggleTheme: 'Cambiar tema',
|
|
9
9
|
language: 'Idioma: {name}',
|
|
10
10
|
languageFailed: 'No se pudo guardar el idioma: {error}',
|
|
11
|
+
unsupportedDescriptor: 'La API publica la versión {version} del descriptor; este panel lee la versión {supported}. Instale versiones compatibles de kinetis/vector y vector-ui.',
|
|
11
12
|
nav: {
|
|
12
13
|
main: 'Principal',
|
|
13
14
|
dashboard: 'Panel',
|
|
@@ -26,6 +27,7 @@ export default {
|
|
|
26
27
|
stop: 'Dejar de actuar como otro usuario',
|
|
27
28
|
noAccess: '{name} no tiene acceso a la administración, así que no hay nada que ver en su nombre. Se dejó de actuar en su nombre.',
|
|
28
29
|
noToken: 'La aplicación respondió sin un token ni una recarga, así que no cambió nada.',
|
|
30
|
+
ended: 'Tu suplantación ha caducado, así que vuelves a estar en tu propia cuenta.',
|
|
29
31
|
},
|
|
30
32
|
palette: {
|
|
31
33
|
placeholder: 'Buscar registros y recursos…',
|
|
@@ -47,6 +49,7 @@ export default {
|
|
|
47
49
|
invalidEmail: 'Introduzca una dirección de correo electrónico válida',
|
|
48
50
|
welcome: 'Hola de nuevo, {name}.',
|
|
49
51
|
signedOutIdle: 'Se cerró la sesión tras {minutes} minutos de inactividad. Inicie sesión de nuevo para continuar donde lo dejó.',
|
|
52
|
+
impersonationEnded: 'Tu suplantación ha caducado y no se pudo renovar tu propia sesión. Inicia sesión de nuevo para continuar.',
|
|
50
53
|
},
|
|
51
54
|
home: {
|
|
52
55
|
title: 'Panel',
|
package/app/i18n/fr/actions.ts
CHANGED
|
@@ -7,6 +7,7 @@ export default {
|
|
|
7
7
|
subjectCount: '{count} {label}',
|
|
8
8
|
done: '{label} terminé.',
|
|
9
9
|
declined: 'L’action a été refusée.',
|
|
10
|
+
redirectRefused: 'L’action demandait d’ouvrir une page hors de l’administration ; elle n’a pas été ouverte.',
|
|
10
11
|
downloadStarted: 'Téléchargement lancé.',
|
|
11
12
|
queued: '{label} a été mis en file d’attente.',
|
|
12
13
|
}
|
package/app/i18n/fr/shell.ts
CHANGED
|
@@ -8,6 +8,7 @@ export default {
|
|
|
8
8
|
toggleTheme: 'Changer de thème',
|
|
9
9
|
language: 'Langue : {name}',
|
|
10
10
|
languageFailed: 'La langue n’a pas pu être enregistrée : {error}',
|
|
11
|
+
unsupportedDescriptor: 'L’API publie la version {version} du descripteur ; cette administration lit la version {supported}. Installez des versions correspondantes de kinetis/vector et vector-ui.',
|
|
11
12
|
nav: {
|
|
12
13
|
main: 'Principal',
|
|
13
14
|
dashboard: 'Tableau de bord',
|
|
@@ -26,6 +27,7 @@ export default {
|
|
|
26
27
|
stop: 'Reprendre votre identité',
|
|
27
28
|
noAccess: '{name} n’a pas accès à l’administration, il n’y a donc rien à voir en son nom. L’action en son nom a été arrêtée.',
|
|
28
29
|
noToken: 'L’application a répondu sans jeton ni rechargement, rien n’a donc changé.',
|
|
30
|
+
ended: 'Votre usurpation d’identité a expiré : vous êtes de retour dans votre propre compte.',
|
|
29
31
|
},
|
|
30
32
|
palette: {
|
|
31
33
|
placeholder: 'Rechercher des enregistrements et des ressources…',
|
|
@@ -47,6 +49,7 @@ export default {
|
|
|
47
49
|
invalidEmail: 'Saisissez une adresse e-mail valide',
|
|
48
50
|
welcome: 'Ravi de vous revoir, {name}.',
|
|
49
51
|
signedOutIdle: 'Vous avez été déconnecté après {minutes} minutes d’inactivité. Reconnectez-vous pour reprendre où vous en étiez.',
|
|
52
|
+
impersonationEnded: 'Votre usurpation d’identité a expiré et votre propre session n’a pas pu être renouvelée. Reconnectez-vous pour continuer.',
|
|
50
53
|
},
|
|
51
54
|
home: {
|
|
52
55
|
title: 'Tableau de bord',
|
package/app/i18n/he/actions.ts
CHANGED
|
@@ -7,6 +7,7 @@ export default {
|
|
|
7
7
|
subjectCount: '{count} {label}',
|
|
8
8
|
done: 'הפעולה "{label}" הושלמה.',
|
|
9
9
|
declined: 'הפעולה נדחתה.',
|
|
10
|
+
redirectRefused: 'הפעולה ביקשה לפתוח דף מחוץ לממשק הניהול, והוא לא נפתח.',
|
|
10
11
|
downloadStarted: 'ההורדה החלה.',
|
|
11
12
|
queued: 'הפעולה "{label}" נוספה לתור.',
|
|
12
13
|
}
|
package/app/i18n/he/shell.ts
CHANGED
|
@@ -8,6 +8,7 @@ export default {
|
|
|
8
8
|
toggleTheme: 'החלפת ערכת נושא',
|
|
9
9
|
language: 'שפה: {name}',
|
|
10
10
|
languageFailed: 'לא ניתן לשמור את השפה: {error}',
|
|
11
|
+
unsupportedDescriptor: 'ה-API מפרסם את גרסה {version} של המתאר; ממשק הניהול הזה קורא את גרסה {supported}. התקינו גרסאות תואמות של kinetis/vector ו-vector-ui.',
|
|
11
12
|
nav: {
|
|
12
13
|
main: 'ראשי',
|
|
13
14
|
dashboard: 'לוח בקרה',
|
|
@@ -26,6 +27,7 @@ export default {
|
|
|
26
27
|
stop: 'הפסקת ההתחזות',
|
|
27
28
|
noAccess: 'ל־{name} אין גישה לממשק הניהול, כך שאין מה להציג בשם משתמש זה. ההתחזות הופסקה.',
|
|
28
29
|
noToken: 'האפליקציה השיבה בלי אסימון ובלי טעינה מחדש, ולכן דבר לא השתנה.',
|
|
30
|
+
ended: 'תוקף ההתחזות פג, ולכן חזרת לחשבון שלך.',
|
|
29
31
|
},
|
|
30
32
|
palette: {
|
|
31
33
|
placeholder: 'חיפוש רשומות ומשאבים…',
|
|
@@ -47,6 +49,7 @@ export default {
|
|
|
47
49
|
invalidEmail: 'יש להזין כתובת דוא״ל תקינה',
|
|
48
50
|
welcome: 'שמחים לראות אותך שוב, {name}.',
|
|
49
51
|
signedOutIdle: 'יצאת מהמערכת לאחר {minutes} דקות ללא פעילות. יש להיכנס שוב כדי להמשיך מאותו מקום.',
|
|
52
|
+
impersonationEnded: 'תוקף ההתחזות פג ולא ניתן היה לחדש את ההפעלה שלך. התחבר מחדש כדי להמשיך.',
|
|
50
53
|
},
|
|
51
54
|
home: {
|
|
52
55
|
title: 'לוח בקרה',
|
package/app/i18n/it/actions.ts
CHANGED
|
@@ -7,6 +7,7 @@ export default {
|
|
|
7
7
|
subjectCount: '{count} {label}',
|
|
8
8
|
done: '{label} completato.',
|
|
9
9
|
declined: 'L’azione è stata rifiutata.',
|
|
10
|
+
redirectRefused: 'L’azione chiedeva di aprire una pagina esterna al pannello; non è stata aperta.',
|
|
10
11
|
downloadStarted: 'Download avviato.',
|
|
11
12
|
queued: '{label} è stato messo in coda.',
|
|
12
13
|
}
|
package/app/i18n/it/shell.ts
CHANGED
|
@@ -8,6 +8,7 @@ export default {
|
|
|
8
8
|
toggleTheme: 'Cambia tema',
|
|
9
9
|
language: 'Lingua: {name}',
|
|
10
10
|
languageFailed: 'Impossibile salvare la lingua: {error}',
|
|
11
|
+
unsupportedDescriptor: 'L’API pubblica la versione {version} del descrittore; questo pannello legge la versione {supported}. Installa versioni corrispondenti di kinetis/vector e vector-ui.',
|
|
11
12
|
nav: {
|
|
12
13
|
main: 'Principale',
|
|
13
14
|
dashboard: 'Dashboard',
|
|
@@ -26,6 +27,7 @@ export default {
|
|
|
26
27
|
stop: 'Termina impersonazione',
|
|
27
28
|
noAccess: '{name} non ha accesso all’amministrazione, quindi non c’è nulla da vedere al suo posto. L’impersonazione è stata interrotta.',
|
|
28
29
|
noToken: 'L’applicazione ha risposto senza un token né un ricaricamento, quindi non è cambiato nulla.',
|
|
30
|
+
ended: 'L’impersonificazione è scaduta: sei di nuovo nel tuo account.',
|
|
29
31
|
},
|
|
30
32
|
palette: {
|
|
31
33
|
placeholder: 'Cerca record e risorse…',
|
|
@@ -47,6 +49,7 @@ export default {
|
|
|
47
49
|
invalidEmail: 'Inserisci un indirizzo e-mail valido',
|
|
48
50
|
welcome: 'Ti diamo il bentornato, {name}.',
|
|
49
51
|
signedOutIdle: 'Sei stato disconnesso dopo {minutes} minuti di inattività. Accedi di nuovo per riprendere da dove eri rimasto.',
|
|
52
|
+
impersonationEnded: 'L’impersonificazione è scaduta e non è stato possibile rinnovare la tua sessione. Accedi di nuovo per continuare.',
|
|
50
53
|
},
|
|
51
54
|
home: {
|
|
52
55
|
title: 'Dashboard',
|
package/app/i18n/ja/actions.ts
CHANGED
package/app/i18n/ja/shell.ts
CHANGED
|
@@ -8,6 +8,7 @@ export default {
|
|
|
8
8
|
toggleTheme: 'テーマの切り替え',
|
|
9
9
|
language: '言語:{name}',
|
|
10
10
|
languageFailed: '言語を保存できませんでした:{error}',
|
|
11
|
+
unsupportedDescriptor: 'API はディスクリプタのバージョン {version} を公開していますが、この管理画面が読めるのはバージョン {supported} です。対応する kinetis/vector と vector-ui をインストールしてください。',
|
|
11
12
|
nav: {
|
|
12
13
|
main: 'メイン',
|
|
13
14
|
dashboard: 'ダッシュボード',
|
|
@@ -26,6 +27,7 @@ export default {
|
|
|
26
27
|
stop: '代理操作を終了',
|
|
27
28
|
noAccess: '{name} は管理画面へのアクセス権がないため、表示できる内容がありません。代理操作を終了しました。',
|
|
28
29
|
noToken: 'アプリケーションがトークンも再読み込みも返さなかったため、何も変更されていません。',
|
|
30
|
+
ended: 'なりすましの有効期限が切れたため、ご自身のアカウントに戻りました。',
|
|
29
31
|
},
|
|
30
32
|
palette: {
|
|
31
33
|
placeholder: 'レコードとリソースを検索…',
|
|
@@ -47,6 +49,7 @@ export default {
|
|
|
47
49
|
invalidEmail: '有効なメールアドレスを入力してください',
|
|
48
50
|
welcome: 'おかえりなさい、{name} さん。',
|
|
49
51
|
signedOutIdle: '{minutes} 分間操作がなかったためサインアウトしました。もう一度サインインすると、続きから再開できます。',
|
|
52
|
+
impersonationEnded: 'なりすましの有効期限が切れ、ご自身のセッションを更新できませんでした。続けるには再度サインインしてください。',
|
|
50
53
|
},
|
|
51
54
|
home: {
|
|
52
55
|
title: 'ダッシュボード',
|
package/app/i18n/ko/actions.ts
CHANGED
package/app/i18n/ko/shell.ts
CHANGED
|
@@ -8,6 +8,7 @@ export default {
|
|
|
8
8
|
toggleTheme: '테마 전환',
|
|
9
9
|
language: '언어: {name}',
|
|
10
10
|
languageFailed: '언어를 저장할 수 없습니다: {error}',
|
|
11
|
+
unsupportedDescriptor: 'API가 디스크립터 버전 {version}을(를) 게시하지만 이 관리자는 버전 {supported}을(를) 읽습니다. 서로 맞는 kinetis/vector와 vector-ui 릴리스를 설치하세요.',
|
|
11
12
|
nav: {
|
|
12
13
|
main: '메인',
|
|
13
14
|
dashboard: '대시보드',
|
|
@@ -26,6 +27,7 @@ export default {
|
|
|
26
27
|
stop: '대리 로그인 종료',
|
|
27
28
|
noAccess: '{name} 계정은 관리자 화면에 접근할 수 없어 해당 사용자로 볼 수 있는 내용이 없습니다. 대리 로그인이 종료되었습니다.',
|
|
28
29
|
noToken: '애플리케이션이 토큰이나 새로고침 없이 응답하여 아무것도 변경되지 않았습니다.',
|
|
30
|
+
ended: '대리 접속이 만료되어 본인 계정으로 돌아왔습니다.',
|
|
29
31
|
},
|
|
30
32
|
palette: {
|
|
31
33
|
placeholder: '레코드 및 리소스 검색…',
|
|
@@ -47,6 +49,7 @@ export default {
|
|
|
47
49
|
invalidEmail: '올바른 이메일 주소를 입력하세요',
|
|
48
50
|
welcome: '{name}님, 다시 오신 것을 환영합니다.',
|
|
49
51
|
signedOutIdle: '{minutes}분 동안 활동이 없어 로그아웃되었습니다. 다시 로그인하면 중단한 곳에서 계속할 수 있습니다.',
|
|
52
|
+
impersonationEnded: '대리 접속이 만료되었고 본인 세션을 갱신할 수 없었습니다. 계속하려면 다시 로그인하세요.',
|
|
50
53
|
},
|
|
51
54
|
home: {
|
|
52
55
|
title: '대시보드',
|
package/app/i18n/nl/actions.ts
CHANGED
|
@@ -7,6 +7,7 @@ export default {
|
|
|
7
7
|
subjectCount: '{count} {label}',
|
|
8
8
|
done: '{label} voltooid.',
|
|
9
9
|
declined: 'De actie is geweigerd.',
|
|
10
|
+
redirectRefused: 'De actie vroeg een pagina buiten de beheeromgeving te openen; die is niet geopend.',
|
|
10
11
|
downloadStarted: 'Download gestart.',
|
|
11
12
|
queued: '{label} is in de wachtrij geplaatst.',
|
|
12
13
|
}
|
package/app/i18n/nl/shell.ts
CHANGED
|
@@ -8,6 +8,7 @@ export default {
|
|
|
8
8
|
toggleTheme: 'Thema wisselen',
|
|
9
9
|
language: 'Taal: {name}',
|
|
10
10
|
languageFailed: 'De taal kon niet worden opgeslagen: {error}',
|
|
11
|
+
unsupportedDescriptor: 'De API publiceert descriptorversie {version}; deze beheeromgeving leest versie {supported}. Installeer bij elkaar passende versies van kinetis/vector en vector-ui.',
|
|
11
12
|
nav: {
|
|
12
13
|
main: 'Hoofdmenu',
|
|
13
14
|
dashboard: 'Dashboard',
|
|
@@ -26,6 +27,7 @@ export default {
|
|
|
26
27
|
stop: 'Terug naar uw eigen account',
|
|
27
28
|
noAccess: '{name} heeft geen toegang tot het beheer, dus er is niets te zien namens deze gebruiker. Het handelen als deze gebruiker is gestopt.',
|
|
28
29
|
noToken: 'De applicatie antwoordde zonder token of herlaadopdracht, dus er is niets gewijzigd.',
|
|
30
|
+
ended: 'Uw imitatie is verlopen; u bent weer in uw eigen account.',
|
|
29
31
|
},
|
|
30
32
|
palette: {
|
|
31
33
|
placeholder: 'Records en resources zoeken…',
|
|
@@ -47,6 +49,7 @@ export default {
|
|
|
47
49
|
invalidEmail: 'Voer een geldig e-mailadres in',
|
|
48
50
|
welcome: 'Welkom terug, {name}.',
|
|
49
51
|
signedOutIdle: 'U bent na {minutes} minuten zonder activiteit afgemeld. Meld u opnieuw aan om verder te gaan waar u gebleven was.',
|
|
52
|
+
impersonationEnded: 'Uw imitatie is verlopen en uw eigen sessie kon niet worden vernieuwd. Meld u opnieuw aan om verder te gaan.',
|
|
50
53
|
},
|
|
51
54
|
home: {
|
|
52
55
|
title: 'Dashboard',
|
package/app/i18n/pl/actions.ts
CHANGED
|
@@ -7,6 +7,7 @@ export default {
|
|
|
7
7
|
subjectCount: '{count} {label}',
|
|
8
8
|
done: '{label}: gotowe.',
|
|
9
9
|
declined: 'Akcja została odrzucona.',
|
|
10
|
+
redirectRefused: 'Akcja chciała otworzyć stronę spoza panelu; nie została otwarta.',
|
|
10
11
|
downloadStarted: 'Rozpoczęto pobieranie.',
|
|
11
12
|
queued: '{label}: dodano do kolejki.',
|
|
12
13
|
}
|
package/app/i18n/pl/shell.ts
CHANGED
|
@@ -8,6 +8,7 @@ export default {
|
|
|
8
8
|
toggleTheme: 'Przełącz motyw',
|
|
9
9
|
language: 'Język: {name}',
|
|
10
10
|
languageFailed: 'Nie udało się zapisać języka: {error}',
|
|
11
|
+
unsupportedDescriptor: 'API publikuje deskryptor w wersji {version}; ten panel odczytuje wersję {supported}. Zainstaluj zgodne wydania kinetis/vector i vector-ui.',
|
|
11
12
|
nav: {
|
|
12
13
|
main: 'Główne',
|
|
13
14
|
dashboard: 'Pulpit',
|
|
@@ -26,6 +27,7 @@ export default {
|
|
|
26
27
|
stop: 'Wróć do swojego konta',
|
|
27
28
|
noAccess: '{name} nie ma dostępu do panelu administracyjnego, więc nie ma nic do wyświetlenia w jego imieniu. Działanie jako ten użytkownik zostało zakończone.',
|
|
28
29
|
noToken: 'Aplikacja odpowiedziała bez tokenu i bez przeładowania, więc nic się nie zmieniło.',
|
|
30
|
+
ended: 'Podszywanie się wygasło, więc wróciłeś na własne konto.',
|
|
29
31
|
},
|
|
30
32
|
palette: {
|
|
31
33
|
placeholder: 'Szukaj rekordów i zasobów…',
|
|
@@ -47,6 +49,7 @@ export default {
|
|
|
47
49
|
invalidEmail: 'Podaj prawidłowy adres e-mail',
|
|
48
50
|
welcome: 'Witaj ponownie, {name}.',
|
|
49
51
|
signedOutIdle: 'Sesja została zakończona po {minutes} minutach bezczynności. Zaloguj się ponownie, aby wrócić do przerwanej pracy.',
|
|
52
|
+
impersonationEnded: 'Podszywanie się wygasło i nie udało się odnowić Twojej sesji. Zaloguj się ponownie, aby kontynuować.',
|
|
50
53
|
},
|
|
51
54
|
home: {
|
|
52
55
|
title: 'Pulpit',
|
package/app/i18n/pt/actions.ts
CHANGED
|
@@ -7,6 +7,7 @@ export default {
|
|
|
7
7
|
subjectCount: '{count} {label}',
|
|
8
8
|
done: '{label}: concluído.',
|
|
9
9
|
declined: 'A ação foi recusada.',
|
|
10
|
+
redirectRefused: 'A ação pediu para abrir uma página fora do painel; não foi aberta.',
|
|
10
11
|
downloadStarted: 'Transferência iniciada.',
|
|
11
12
|
queued: '{label}: colocado na fila.',
|
|
12
13
|
}
|
package/app/i18n/pt/shell.ts
CHANGED
|
@@ -8,6 +8,7 @@ export default {
|
|
|
8
8
|
toggleTheme: 'Alternar tema',
|
|
9
9
|
language: 'Idioma: {name}',
|
|
10
10
|
languageFailed: 'Não foi possível guardar o idioma: {error}',
|
|
11
|
+
unsupportedDescriptor: 'A API publica a versão {version} do descritor; este painel lê a versão {supported}. Instale versões correspondentes de kinetis/vector e vector-ui.',
|
|
11
12
|
nav: {
|
|
12
13
|
main: 'Principal',
|
|
13
14
|
dashboard: 'Painel',
|
|
@@ -26,6 +27,7 @@ export default {
|
|
|
26
27
|
stop: 'Parar de personificar',
|
|
27
28
|
noAccess: '{name} não tem acesso à administração, por isso não há nada para ver em seu nome. A personificação foi interrompida.',
|
|
28
29
|
noToken: 'A aplicação respondeu sem um token nem um recarregamento, por isso nada mudou.',
|
|
30
|
+
ended: 'A sua personificação expirou, por isso voltou à sua própria conta.',
|
|
29
31
|
},
|
|
30
32
|
palette: {
|
|
31
33
|
placeholder: 'Pesquisar registos e recursos…',
|
|
@@ -47,6 +49,7 @@ export default {
|
|
|
47
49
|
invalidEmail: 'Insira um endereço de e-mail válido',
|
|
48
50
|
welcome: 'Bem-vindo de volta, {name}.',
|
|
49
51
|
signedOutIdle: 'A sessão terminou após {minutes} minutos de inatividade. Inicie sessão novamente para continuar onde estava.',
|
|
52
|
+
impersonationEnded: 'A sua personificação expirou e não foi possível renovar a sua própria sessão. Inicie sessão novamente para continuar.',
|
|
50
53
|
},
|
|
51
54
|
home: {
|
|
52
55
|
title: 'Painel',
|
|
@@ -7,6 +7,7 @@ export default {
|
|
|
7
7
|
subjectCount: '{count} {label}',
|
|
8
8
|
done: '{label}: concluído.',
|
|
9
9
|
declined: 'A ação foi recusada.',
|
|
10
|
+
redirectRefused: 'A ação pediu para abrir uma página fora do painel; ela não foi aberta.',
|
|
10
11
|
downloadStarted: 'Download iniciado.',
|
|
11
12
|
queued: '{label}: adicionado à fila.',
|
|
12
13
|
}
|
package/app/i18n/pt-BR/shell.ts
CHANGED
|
@@ -8,6 +8,7 @@ export default {
|
|
|
8
8
|
toggleTheme: 'Alternar tema',
|
|
9
9
|
language: 'Idioma: {name}',
|
|
10
10
|
languageFailed: 'Não foi possível salvar o idioma: {error}',
|
|
11
|
+
unsupportedDescriptor: 'A API publica a versão {version} do descritor; este painel lê a versão {supported}. Instale versões correspondentes de kinetis/vector e vector-ui.',
|
|
11
12
|
nav: {
|
|
12
13
|
main: 'Principal',
|
|
13
14
|
dashboard: 'Painel',
|
|
@@ -26,6 +27,7 @@ export default {
|
|
|
26
27
|
stop: 'Parar de personificar',
|
|
27
28
|
noAccess: '{name} não tem acesso à administração, então não há nada para ver como essa pessoa. A personificação foi interrompida.',
|
|
28
29
|
noToken: 'O aplicativo respondeu sem um token nem um recarregamento, então nada mudou.',
|
|
30
|
+
ended: 'Sua personificação expirou, então você voltou para a sua própria conta.',
|
|
29
31
|
},
|
|
30
32
|
palette: {
|
|
31
33
|
placeholder: 'Pesquisar registros e recursos…',
|
|
@@ -47,6 +49,7 @@ export default {
|
|
|
47
49
|
invalidEmail: 'Digite um endereço de e-mail válido',
|
|
48
50
|
welcome: 'Bem-vindo de volta, {name}.',
|
|
49
51
|
signedOutIdle: 'Você foi desconectado após {minutes} minutos de inatividade. Entre novamente para continuar de onde parou.',
|
|
52
|
+
impersonationEnded: 'Sua personificação expirou e não foi possível renovar a sua própria sessão. Entre novamente para continuar.',
|
|
50
53
|
},
|
|
51
54
|
home: {
|
|
52
55
|
title: 'Painel',
|
package/app/i18n/ru/actions.ts
CHANGED
|
@@ -7,6 +7,7 @@ export default {
|
|
|
7
7
|
subjectCount: '{label} ({count})',
|
|
8
8
|
done: '{label}: выполнено.',
|
|
9
9
|
declined: 'Действие отклонено.',
|
|
10
|
+
redirectRefused: 'Действие пыталось открыть страницу вне панели; она не открыта.',
|
|
10
11
|
downloadStarted: 'Загрузка началась.',
|
|
11
12
|
queued: '{label}: поставлено в очередь.',
|
|
12
13
|
}
|