@synopackageland/sdk 0.10.1 → 0.10.2

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/README.md CHANGED
@@ -143,7 +143,11 @@ the DSM password (`ExecutorSettings`: the form, the status and the refusal's
143
143
  reason) and the pages show once the executor is ready; anyone else is told to
144
144
  ask an administrator. A later status that is not ready brings it back, and
145
145
  with `ctx` so does one read when the window reopens. Without a provided
146
- executor (a dev server, a Portal page) the pages show at once.
146
+ executor (a dev server, a Portal page) the pages show at once. On a full page
147
+ (`ctx.fullPage`, or a standalone host) the approval names the App with
148
+ `ctx.displayName` and `ctx.appIcon`, as a DSM window's title bar does. An
149
+ approval after which the executor still reads `needs-admin-approval` says it
150
+ could not be completed, with the reason the status carries.
147
151
  `AuthorizationGate` cannot approve the executor: its `request()` takes no
148
152
  password.
149
153
 
@@ -168,6 +172,11 @@ back. It checks on mount, on each status the executor publishes and when the
168
172
  window reopens. An App without `AppShell` places
169
173
  `<ExecutorNotice :ctx="ctx" :locale="ctx.locale" />` above its pages. A
170
174
  root-ops App keeps `ExecutorApproval`; inside it the notice never shows.
175
+ The notice uses the setup the App provides (`ExecutorSetupKey`) before
176
+ `ctx.executor`, and that setup's optional `call` before `ctx.call`: an App
177
+ whose routes for the approval's reads (`delegate.status`, `bg.browse`)
178
+ differ provides its adapter there, and the dialog reads as its settings
179
+ page does.
171
180
 
172
181
  The backend's `executor.status` and `executor.control` are the SDK's: a Go
173
182
  App registers `delegate.ExecutorRoutes`, and the bridge runtime serves them
@@ -207,8 +216,10 @@ key the order is the App's locale, the SDK's locale, then `en`.
207
216
 
208
217
  `bridgeErrorCopy(error, locale)` is the text of a code that the bridge runtime
209
218
  adds for Python, Node and Rust Apps: `app_unavailable`, and the services'
210
- `limit_exceeded`, `read_failed` and `identity_unavailable`. For any other code
211
- it returns `undefined`, so the App falls back to its own text. Its catalogs,
219
+ `limit_exceeded`, `read_failed` and `identity_unavailable`; and of
220
+ `request_timeout`, which a Go App and the runtime send past the request
221
+ deadline and an SDK client gives when it stops waiting. For any other code it
222
+ returns `undefined`, so the App falls back to its own text. Its catalogs,
212
223
  `i18n/bridge/<locale>.json`, are generated from `spec/bridge/v1/errors.json`.
213
224
 
214
225
  The Vue entry needs the peer dependencies `vue`, `@synopackageland/ui` and
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "app_unavailable": "Die App ist derzeit nicht verfügbar. Versuchen Sie es später erneut.",
3
+ "request_timeout": "Die Anfrage hat zu lange gedauert und wurde abgebrochen. Versuchen Sie es erneut oder mit einer kleineren Aufgabe.",
3
4
  "limit_exceeded": "Die Datei ist größer als zulässig.",
4
5
  "read_failed": "Die Datei kann nicht gelesen werden. Bitte versuchen Sie es später erneut.",
5
6
  "identity_unavailable": "Dieses Benutzerkonto kann nicht ermittelt werden. Bitte versuchen Sie es später erneut."
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "app_unavailable": "The App is not available right now. Try again later.",
3
+ "request_timeout": "The request took too long and was stopped. Try again, or try a smaller task.",
3
4
  "limit_exceeded": "The file is larger than allowed.",
4
5
  "read_failed": "Unable to read the file. Please try again later.",
5
6
  "identity_unavailable": "Unable to identify this user account. Please try again later."
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "app_unavailable": "La App no está disponible en este momento. Vuelva a intentarlo más tarde.",
3
+ "request_timeout": "La solicitud tardó demasiado y se detuvo. Vuelva a intentarlo o pruebe con una tarea más pequeña.",
3
4
  "limit_exceeded": "El archivo supera el tamaño permitido.",
4
5
  "read_failed": "No se puede leer el archivo. Vuelva a intentarlo más tarde.",
5
6
  "identity_unavailable": "No se puede identificar esta cuenta de usuario. Vuelva a intentarlo más tarde."
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "app_unavailable": "L’App n’est pas disponible pour le moment. Réessayez plus tard.",
3
+ "request_timeout": "La requête a pris trop de temps et a été arrêtée. Réessayez ou essayez une tâche plus petite.",
3
4
  "limit_exceeded": "Le fichier dépasse la taille autorisée.",
4
5
  "read_failed": "Impossible de lire le fichier. Veuillez réessayer ultérieurement.",
5
6
  "identity_unavailable": "Impossible d'identifier ce compte utilisateur. Veuillez réessayer ultérieurement."
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "app_unavailable": "L’App non è al momento disponibile. Riprovare più tardi.",
3
+ "request_timeout": "La richiesta ha impiegato troppo tempo ed è stata interrotta. Riprovare o provare con un’attività più piccola.",
3
4
  "limit_exceeded": "Il file supera le dimensioni consentite.",
4
5
  "read_failed": "Impossibile leggere il file. Riprovare più tardi.",
5
6
  "identity_unavailable": "Impossibile identificare questo account utente. Riprovare più tardi."
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "app_unavailable": "App は現在使用できません。しばらくしてから再試行してください。",
3
+ "request_timeout": "リクエストの処理に時間がかかりすぎたため、停止しました。もう一度お試しいただくか、範囲を小さくしてください。",
3
4
  "limit_exceeded": "ファイルが許可されたサイズを超えています。",
4
5
  "read_failed": "ファイルを読み取れません。後でもう一度お試しください。",
5
6
  "identity_unavailable": "このユーザー アカウントを識別できません。後でもう一度お試しください。"
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "app_unavailable": "현재 App을 사용할 수 없습니다. 나중에 다시 시도하십시오.",
3
+ "request_timeout": "요청 처리 시간이 너무 오래 걸려 중지되었습니다. 다시 시도하거나 작업 범위를 줄이십시오.",
3
4
  "limit_exceeded": "파일이 허용된 크기를 초과합니다.",
4
5
  "read_failed": "파일을 읽을 수 없습니다. 나중에 다시 시도하십시오.",
5
6
  "identity_unavailable": "이 사용자 계정을 확인할 수 없습니다. 나중에 다시 시도하십시오."
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "app_unavailable": "App 当前不可用,请稍后重试。",
3
+ "request_timeout": "请求处理时间过长,已停止。请重试,或缩小范围后再试。",
3
4
  "limit_exceeded": "文件超过允许的大小。",
4
5
  "read_failed": "无法读取文件。请稍后再试。",
5
- "identity_unavailable": "无法识别此用户帐号。请稍后再试。"
6
+ "identity_unavailable": "无法识别此用户账号。请稍后再试。"
6
7
  }
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "app_unavailable": "App 目前無法使用,請稍後再試。",
3
+ "request_timeout": "請求處理太久已停止,請再試一次或縮小範圍。",
3
4
  "limit_exceeded": "檔案超過允許的大小。",
4
5
  "read_failed": "無法讀取檔案。請稍後再試。",
5
6
  "identity_unavailable": "無法識別此使用者帳號。請稍後再試。"
@@ -4,5 +4,5 @@
4
4
  "administrator": "管理员",
5
5
  "dsmUser": "DSM 用户",
6
6
  "deniedTitle": "无法访问",
7
- "deniedMessage": "你的 DSM 帐号无权使用此应用程序。请管理员在 DSM 的应用程序权限中开放给你。"
7
+ "deniedMessage": "你的 DSM 账号无权使用此应用程序。请管理员在 DSM 的应用程序权限中开放给你。"
8
8
  }