@authup/i18n 1.0.0-beta.45
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 +201 -0
- package/dist/catalogs/de/action.d.ts +4 -0
- package/dist/catalogs/de/action.d.ts.map +1 -0
- package/dist/catalogs/de/app.d.ts +4 -0
- package/dist/catalogs/de/app.d.ts.map +1 -0
- package/dist/catalogs/de/client.d.ts +4 -0
- package/dist/catalogs/de/client.d.ts.map +1 -0
- package/dist/catalogs/de/common.d.ts +4 -0
- package/dist/catalogs/de/common.d.ts.map +1 -0
- package/dist/catalogs/de/entity.d.ts +4 -0
- package/dist/catalogs/de/entity.d.ts.map +1 -0
- package/dist/catalogs/de/error.d.ts +4 -0
- package/dist/catalogs/de/error.d.ts.map +1 -0
- package/dist/catalogs/de/field.d.ts +4 -0
- package/dist/catalogs/de/field.d.ts.map +1 -0
- package/dist/catalogs/de/index.d.ts +9 -0
- package/dist/catalogs/de/index.d.ts.map +1 -0
- package/dist/catalogs/de/vuecs.d.ts +4 -0
- package/dist/catalogs/de/vuecs.d.ts.map +1 -0
- package/dist/catalogs/en/action.d.ts +4 -0
- package/dist/catalogs/en/action.d.ts.map +1 -0
- package/dist/catalogs/en/app.d.ts +4 -0
- package/dist/catalogs/en/app.d.ts.map +1 -0
- package/dist/catalogs/en/client.d.ts +4 -0
- package/dist/catalogs/en/client.d.ts.map +1 -0
- package/dist/catalogs/en/common.d.ts +4 -0
- package/dist/catalogs/en/common.d.ts.map +1 -0
- package/dist/catalogs/en/entity.d.ts +4 -0
- package/dist/catalogs/en/entity.d.ts.map +1 -0
- package/dist/catalogs/en/error.d.ts +4 -0
- package/dist/catalogs/en/error.d.ts.map +1 -0
- package/dist/catalogs/en/field.d.ts +4 -0
- package/dist/catalogs/en/field.d.ts.map +1 -0
- package/dist/catalogs/en/index.d.ts +9 -0
- package/dist/catalogs/en/index.d.ts.map +1 -0
- package/dist/catalogs/en/vuecs.d.ts +4 -0
- package/dist/catalogs/en/vuecs.d.ts.map +1 -0
- package/dist/catalogs/es/action.d.ts +4 -0
- package/dist/catalogs/es/action.d.ts.map +1 -0
- package/dist/catalogs/es/app.d.ts +4 -0
- package/dist/catalogs/es/app.d.ts.map +1 -0
- package/dist/catalogs/es/client.d.ts +4 -0
- package/dist/catalogs/es/client.d.ts.map +1 -0
- package/dist/catalogs/es/common.d.ts +4 -0
- package/dist/catalogs/es/common.d.ts.map +1 -0
- package/dist/catalogs/es/entity.d.ts +4 -0
- package/dist/catalogs/es/entity.d.ts.map +1 -0
- package/dist/catalogs/es/error.d.ts +4 -0
- package/dist/catalogs/es/error.d.ts.map +1 -0
- package/dist/catalogs/es/field.d.ts +4 -0
- package/dist/catalogs/es/field.d.ts.map +1 -0
- package/dist/catalogs/es/index.d.ts +9 -0
- package/dist/catalogs/es/index.d.ts.map +1 -0
- package/dist/catalogs/es/vuecs.d.ts +4 -0
- package/dist/catalogs/es/vuecs.d.ts.map +1 -0
- package/dist/catalogs/fr/action.d.ts +4 -0
- package/dist/catalogs/fr/action.d.ts.map +1 -0
- package/dist/catalogs/fr/app.d.ts +4 -0
- package/dist/catalogs/fr/app.d.ts.map +1 -0
- package/dist/catalogs/fr/client.d.ts +4 -0
- package/dist/catalogs/fr/client.d.ts.map +1 -0
- package/dist/catalogs/fr/common.d.ts +4 -0
- package/dist/catalogs/fr/common.d.ts.map +1 -0
- package/dist/catalogs/fr/entity.d.ts +4 -0
- package/dist/catalogs/fr/entity.d.ts.map +1 -0
- package/dist/catalogs/fr/error.d.ts +4 -0
- package/dist/catalogs/fr/error.d.ts.map +1 -0
- package/dist/catalogs/fr/field.d.ts +4 -0
- package/dist/catalogs/fr/field.d.ts.map +1 -0
- package/dist/catalogs/fr/index.d.ts +9 -0
- package/dist/catalogs/fr/index.d.ts.map +1 -0
- package/dist/catalogs/fr/vuecs.d.ts +4 -0
- package/dist/catalogs/fr/vuecs.d.ts.map +1 -0
- package/dist/catalogs/index.d.ts +20 -0
- package/dist/catalogs/index.d.ts.map +1 -0
- package/dist/constants.d.ts +145 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/error.d.ts +64 -0
- package/dist/error.d.ts.map +1 -0
- package/dist/index.d.mts +381 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.mjs +970 -0
- package/dist/index.mjs.map +1 -0
- package/dist/locales.d.ts +37 -0
- package/dist/locales.d.ts.map +1 -0
- package/dist/types.d.ts +14 -0
- package/dist/types.d.ts.map +1 -0
- package/package.json +66 -0
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,970 @@
|
|
|
1
|
+
import { defineCatalog, defineLocale, defineNamespace, definePlural, defineTranslations } from "ilingo";
|
|
2
|
+
import { ErrorCode } from "@authup/errors";
|
|
3
|
+
//#region src/constants.ts
|
|
4
|
+
/**
|
|
5
|
+
* Catalog namespace names. Mirrors ilingo 6's catalog terminology —
|
|
6
|
+
* namespaces are the dotted root paths under each locale.
|
|
7
|
+
*
|
|
8
|
+
* The `validup` namespace (validation-message catalogs for `IssueCode`
|
|
9
|
+
* keys) is registered automatically by `@ilingo/validup-vue`'s install
|
|
10
|
+
* and is **not** part of this enum. The `ERROR` namespace below holds
|
|
11
|
+
* authup's own domain error-code messages (keyed by `@authup/errors`'
|
|
12
|
+
* `ErrorCode`), resolved client-side from a server error's code + data.
|
|
13
|
+
*/
|
|
14
|
+
let TranslatorTranslationNamespace = /* @__PURE__ */ function(TranslatorTranslationNamespace) {
|
|
15
|
+
TranslatorTranslationNamespace["ENTITY"] = "authupEntity";
|
|
16
|
+
TranslatorTranslationNamespace["FIELD"] = "authupField";
|
|
17
|
+
TranslatorTranslationNamespace["ACTION"] = "authupAction";
|
|
18
|
+
TranslatorTranslationNamespace["COMMON"] = "authupCommon";
|
|
19
|
+
TranslatorTranslationNamespace["CLIENT"] = "authupClient";
|
|
20
|
+
TranslatorTranslationNamespace["VUECS"] = "vuecs";
|
|
21
|
+
TranslatorTranslationNamespace["ERROR"] = "authupError";
|
|
22
|
+
TranslatorTranslationNamespace["APP"] = "authupApp";
|
|
23
|
+
return TranslatorTranslationNamespace;
|
|
24
|
+
}({});
|
|
25
|
+
let TranslatorTranslationVuecsKey = /* @__PURE__ */ function(TranslatorTranslationVuecsKey) {
|
|
26
|
+
TranslatorTranslationVuecsKey["NO_MORE"] = "noMore";
|
|
27
|
+
return TranslatorTranslationVuecsKey;
|
|
28
|
+
}({});
|
|
29
|
+
let TranslatorTranslationClientKey = /* @__PURE__ */ function(TranslatorTranslationClientKey) {
|
|
30
|
+
TranslatorTranslationClientKey["NAME_HINT"] = "nameHint";
|
|
31
|
+
TranslatorTranslationClientKey["DESCRIPTION_HINT"] = "descriptionHint";
|
|
32
|
+
TranslatorTranslationClientKey["REDIRECT_URI_HINT"] = "redirectURIHint";
|
|
33
|
+
TranslatorTranslationClientKey["IS_CONFIDENTIAL"] = "isConfidential";
|
|
34
|
+
TranslatorTranslationClientKey["IS_ACTIVE"] = "isActive";
|
|
35
|
+
TranslatorTranslationClientKey["HASH_SECRET"] = "hashSecret";
|
|
36
|
+
TranslatorTranslationClientKey["LOGIN_FAILED"] = "loginFailed";
|
|
37
|
+
TranslatorTranslationClientKey["SCOPE_GRANT_INTRO"] = "scopeGrantIntro";
|
|
38
|
+
TranslatorTranslationClientKey["ONCE_AUTHORIZED_REDIRECT"] = "onceAuthorizedRedirect";
|
|
39
|
+
TranslatorTranslationClientKey["GOVERNED_BY"] = "governedBy";
|
|
40
|
+
TranslatorTranslationClientKey["ACTIVE_SINCE"] = "activeSince";
|
|
41
|
+
TranslatorTranslationClientKey["VIEW_POLICY_DETAILS"] = "viewPolicyDetails";
|
|
42
|
+
return TranslatorTranslationClientKey;
|
|
43
|
+
}({});
|
|
44
|
+
/**
|
|
45
|
+
* App-only chrome: navigation labels, page-title decoration
|
|
46
|
+
* (management/details), the sidebar session countdown, header
|
|
47
|
+
* accessibility labels, and the parameterized success toasts. These live
|
|
48
|
+
* apart from the shared entity/field/action/common namespaces because
|
|
49
|
+
* they are consumed exclusively by `apps/client-web`, never by the
|
|
50
|
+
* reusable `@authup/client-web-kit` components.
|
|
51
|
+
*/
|
|
52
|
+
let TranslatorTranslationAppKey = /* @__PURE__ */ function(TranslatorTranslationAppKey) {
|
|
53
|
+
TranslatorTranslationAppKey["HOME"] = "home";
|
|
54
|
+
TranslatorTranslationAppKey["RESOURCES"] = "resources";
|
|
55
|
+
TranslatorTranslationAppKey["GENERAL"] = "general";
|
|
56
|
+
TranslatorTranslationAppKey["OTHER"] = "other";
|
|
57
|
+
TranslatorTranslationAppKey["SETTINGS"] = "settings";
|
|
58
|
+
TranslatorTranslationAppKey["LOGOUT"] = "logout";
|
|
59
|
+
TranslatorTranslationAppKey["ACCOUNT"] = "account";
|
|
60
|
+
TranslatorTranslationAppKey["SECURITY"] = "security";
|
|
61
|
+
TranslatorTranslationAppKey["MANAGEMENT"] = "management";
|
|
62
|
+
TranslatorTranslationAppKey["DETAILS"] = "details";
|
|
63
|
+
TranslatorTranslationAppKey["API_DOCS"] = "apiDocs";
|
|
64
|
+
TranslatorTranslationAppKey["MADE_WITH"] = "madeWith";
|
|
65
|
+
TranslatorTranslationAppKey["URL_GENERATOR"] = "urlGenerator";
|
|
66
|
+
TranslatorTranslationAppKey["URL_GENERATOR_HINT"] = "urlGeneratorHint";
|
|
67
|
+
TranslatorTranslationAppKey["REDIRECT_URL"] = "redirectUrl";
|
|
68
|
+
TranslatorTranslationAppKey["GENERATED_URL"] = "generatedUrl";
|
|
69
|
+
TranslatorTranslationAppKey["TOGGLE_NAVIGATION"] = "toggleNavigation";
|
|
70
|
+
TranslatorTranslationAppKey["SWITCH_TO_LIGHT_MODE"] = "switchToLightMode";
|
|
71
|
+
TranslatorTranslationAppKey["SWITCH_TO_DARK_MODE"] = "switchToDarkMode";
|
|
72
|
+
TranslatorTranslationAppKey["SESSION_RENEW"] = "sessionRenew";
|
|
73
|
+
TranslatorTranslationAppKey["MINUTES"] = "minutes";
|
|
74
|
+
TranslatorTranslationAppKey["SECONDS"] = "seconds";
|
|
75
|
+
TranslatorTranslationAppKey["ENTITY_CREATED"] = "entityCreated";
|
|
76
|
+
TranslatorTranslationAppKey["ENTITY_UPDATED"] = "entityUpdated";
|
|
77
|
+
TranslatorTranslationAppKey["ENTITY_DELETED"] = "entityDeleted";
|
|
78
|
+
TranslatorTranslationAppKey["ACCOUNT_UPDATED"] = "accountUpdated";
|
|
79
|
+
return TranslatorTranslationAppKey;
|
|
80
|
+
}({});
|
|
81
|
+
/**
|
|
82
|
+
* Entity-type nouns. Each key resolves to an ilingo plural node, so the
|
|
83
|
+
* singular vs. plural form is selected by the `count` passed at the call
|
|
84
|
+
* site (`count: 1` → singular, any other → plural) rather than by a
|
|
85
|
+
* separate `*S` key. Registered under the `authupEntity` namespace.
|
|
86
|
+
*/
|
|
87
|
+
let TranslatorTranslationEntityKey = /* @__PURE__ */ function(TranslatorTranslationEntityKey) {
|
|
88
|
+
TranslatorTranslationEntityKey["CLIENT"] = "client";
|
|
89
|
+
TranslatorTranslationEntityKey["IDENTITY_PROVIDER"] = "identityProvider";
|
|
90
|
+
TranslatorTranslationEntityKey["PERMISSION"] = "permission";
|
|
91
|
+
TranslatorTranslationEntityKey["POLICY"] = "policy";
|
|
92
|
+
TranslatorTranslationEntityKey["REALM"] = "realm";
|
|
93
|
+
TranslatorTranslationEntityKey["ROBOT"] = "robot";
|
|
94
|
+
TranslatorTranslationEntityKey["ROLE"] = "role";
|
|
95
|
+
TranslatorTranslationEntityKey["SCOPE"] = "scope";
|
|
96
|
+
TranslatorTranslationEntityKey["USER"] = "user";
|
|
97
|
+
return TranslatorTranslationEntityKey;
|
|
98
|
+
}({});
|
|
99
|
+
/**
|
|
100
|
+
* Entity attribute / form-field labels. Registered under the
|
|
101
|
+
* `authupField` namespace.
|
|
102
|
+
*/
|
|
103
|
+
let TranslatorTranslationFieldKey = /* @__PURE__ */ function(TranslatorTranslationFieldKey) {
|
|
104
|
+
TranslatorTranslationFieldKey["NAME"] = "name";
|
|
105
|
+
TranslatorTranslationFieldKey["DISPLAY_NAME"] = "displayName";
|
|
106
|
+
TranslatorTranslationFieldKey["EMAIL"] = "email";
|
|
107
|
+
TranslatorTranslationFieldKey["EXTERNAL_ID"] = "externalId";
|
|
108
|
+
TranslatorTranslationFieldKey["DESCRIPTION"] = "description";
|
|
109
|
+
TranslatorTranslationFieldKey["SECRET"] = "secret";
|
|
110
|
+
TranslatorTranslationFieldKey["REDIRECT_URIS"] = "redirectUris";
|
|
111
|
+
TranslatorTranslationFieldKey["PASSWORD"] = "password";
|
|
112
|
+
TranslatorTranslationFieldKey["DECISION_STRATEGY"] = "decisionStrategy";
|
|
113
|
+
TranslatorTranslationFieldKey["HASHED"] = "hashed";
|
|
114
|
+
TranslatorTranslationFieldKey["URL"] = "url";
|
|
115
|
+
TranslatorTranslationFieldKey["CLIENT_SCOPES"] = "clientScopes";
|
|
116
|
+
TranslatorTranslationFieldKey["START"] = "start";
|
|
117
|
+
TranslatorTranslationFieldKey["END"] = "end";
|
|
118
|
+
TranslatorTranslationFieldKey["INTERVAL"] = "interval";
|
|
119
|
+
TranslatorTranslationFieldKey["DAY_OF_WEEK"] = "dayOfWeek";
|
|
120
|
+
TranslatorTranslationFieldKey["DAY_OF_MONTH"] = "dayOfMonth";
|
|
121
|
+
TranslatorTranslationFieldKey["DAY_OF_YEAR"] = "dayOfYear";
|
|
122
|
+
TranslatorTranslationFieldKey["VALUE_IS_REGEX"] = "valueIsRegex";
|
|
123
|
+
return TranslatorTranslationFieldKey;
|
|
124
|
+
}({});
|
|
125
|
+
/**
|
|
126
|
+
* Action verbs / button labels. Registered under the `authupAction`
|
|
127
|
+
* namespace.
|
|
128
|
+
*/
|
|
129
|
+
let TranslatorTranslationActionKey = /* @__PURE__ */ function(TranslatorTranslationActionKey) {
|
|
130
|
+
TranslatorTranslationActionKey["ADD"] = "add";
|
|
131
|
+
TranslatorTranslationActionKey["CREATE"] = "create";
|
|
132
|
+
TranslatorTranslationActionKey["DELETE"] = "delete";
|
|
133
|
+
TranslatorTranslationActionKey["GENERATE"] = "generate";
|
|
134
|
+
TranslatorTranslationActionKey["UPDATE"] = "update";
|
|
135
|
+
TranslatorTranslationActionKey["AUTHORIZE"] = "authorize";
|
|
136
|
+
TranslatorTranslationActionKey["ABORT"] = "abort";
|
|
137
|
+
TranslatorTranslationActionKey["LOGIN"] = "login";
|
|
138
|
+
return TranslatorTranslationActionKey;
|
|
139
|
+
}({});
|
|
140
|
+
/**
|
|
141
|
+
* Generic UI vocabulary that is neither an entity noun, a field label,
|
|
142
|
+
* nor an action: page-section labels, status terms, and misc. Registered
|
|
143
|
+
* under the `authupCommon` namespace.
|
|
144
|
+
*/
|
|
145
|
+
let TranslatorTranslationCommonKey = /* @__PURE__ */ function(TranslatorTranslationCommonKey) {
|
|
146
|
+
TranslatorTranslationCommonKey["GENERAL"] = "general";
|
|
147
|
+
TranslatorTranslationCommonKey["OVERVIEW"] = "overview";
|
|
148
|
+
TranslatorTranslationCommonKey["LOADING"] = "loading";
|
|
149
|
+
TranslatorTranslationCommonKey["ACTIVE"] = "active";
|
|
150
|
+
TranslatorTranslationCommonKey["INACTIVE"] = "inactive";
|
|
151
|
+
TranslatorTranslationCommonKey["LOCKED"] = "locked";
|
|
152
|
+
TranslatorTranslationCommonKey["NOT_LOCKED"] = "notLocked";
|
|
153
|
+
TranslatorTranslationCommonKey["APPLICATION"] = "application";
|
|
154
|
+
return TranslatorTranslationCommonKey;
|
|
155
|
+
}({});
|
|
156
|
+
//#endregion
|
|
157
|
+
//#region src/catalogs/en/action.ts
|
|
158
|
+
const TranslatorTranslationActionEnglish = {
|
|
159
|
+
["add"]: "Add",
|
|
160
|
+
["create"]: "Create",
|
|
161
|
+
["delete"]: "Delete",
|
|
162
|
+
["generate"]: "Generate",
|
|
163
|
+
["update"]: "Update",
|
|
164
|
+
["authorize"]: "Authorize",
|
|
165
|
+
["abort"]: "Abort",
|
|
166
|
+
["login"]: "Login"
|
|
167
|
+
};
|
|
168
|
+
//#endregion
|
|
169
|
+
//#region src/catalogs/en/app.ts
|
|
170
|
+
const TranslatorTranslationAppEnglish = {
|
|
171
|
+
["home"]: "Home",
|
|
172
|
+
["resources"]: "Resources",
|
|
173
|
+
["general"]: "General",
|
|
174
|
+
["other"]: "Other",
|
|
175
|
+
["settings"]: "Settings",
|
|
176
|
+
["logout"]: "Logout",
|
|
177
|
+
["account"]: "Account",
|
|
178
|
+
["security"]: "Security",
|
|
179
|
+
["management"]: "Management",
|
|
180
|
+
["details"]: "Details",
|
|
181
|
+
["apiDocs"]: "API Docs",
|
|
182
|
+
["madeWith"]: "Made with",
|
|
183
|
+
["urlGenerator"]: "URL Generator",
|
|
184
|
+
["urlGeneratorHint"]: "Generate an authorize url by picking the scopes it needs to function.",
|
|
185
|
+
["redirectUrl"]: "Redirect URL",
|
|
186
|
+
["generatedUrl"]: "Generated URL",
|
|
187
|
+
["toggleNavigation"]: "Toggle navigation",
|
|
188
|
+
["switchToLightMode"]: "Switch to light mode",
|
|
189
|
+
["switchToDarkMode"]: "Switch to dark mode",
|
|
190
|
+
["sessionRenew"]: "The session will be renewed in",
|
|
191
|
+
["minutes"]: "minute(s)",
|
|
192
|
+
["seconds"]: "second(s)",
|
|
193
|
+
["entityCreated"]: "{{entity}} was successfully created.",
|
|
194
|
+
["entityUpdated"]: "{{entity}} was successfully updated.",
|
|
195
|
+
["entityDeleted"]: "{{entity}} \"{{name}}\" was successfully deleted.",
|
|
196
|
+
["accountUpdated"]: "The account was successfully updated."
|
|
197
|
+
};
|
|
198
|
+
//#endregion
|
|
199
|
+
//#region src/catalogs/en/client.ts
|
|
200
|
+
const TranslatorTranslationClientEnglish = {
|
|
201
|
+
["nameHint"]: "Something users will recognize and trust",
|
|
202
|
+
["descriptionHint"]: "Displayed to all users of this application",
|
|
203
|
+
["redirectURIHint"]: "URI pattern a browser can redirect to after a successful login",
|
|
204
|
+
["isConfidential"]: "Is confidential?",
|
|
205
|
+
["isActive"]: "Is active?",
|
|
206
|
+
["hashSecret"]: "Hash secret?",
|
|
207
|
+
["loginFailed"]: "The login operation failed",
|
|
208
|
+
["scopeGrantIntro"]: "This will allow the {{client}} application to",
|
|
209
|
+
["onceAuthorizedRedirect"]: "Once authorized, you will be redirected to:",
|
|
210
|
+
["governedBy"]: "This application is governed by the {{client}} application's Privacy Policy and Terms of Service.",
|
|
211
|
+
["activeSince"]: "Active since",
|
|
212
|
+
["viewPolicyDetails"]: "View policy details"
|
|
213
|
+
};
|
|
214
|
+
//#endregion
|
|
215
|
+
//#region src/catalogs/en/common.ts
|
|
216
|
+
const TranslatorTranslationCommonEnglish = {
|
|
217
|
+
["general"]: "General",
|
|
218
|
+
["overview"]: "Overview",
|
|
219
|
+
["loading"]: "Loading...",
|
|
220
|
+
["active"]: "Active",
|
|
221
|
+
["inactive"]: "Inactive",
|
|
222
|
+
["locked"]: "Locked",
|
|
223
|
+
["notLocked"]: "Not locked",
|
|
224
|
+
["application"]: "Application"
|
|
225
|
+
};
|
|
226
|
+
//#endregion
|
|
227
|
+
//#region src/catalogs/en/entity.ts
|
|
228
|
+
const TranslatorTranslationEntityEnglish = {
|
|
229
|
+
["client"]: definePlural({
|
|
230
|
+
one: "Client",
|
|
231
|
+
other: "Clients"
|
|
232
|
+
}),
|
|
233
|
+
["identityProvider"]: definePlural({
|
|
234
|
+
one: "Identity provider",
|
|
235
|
+
other: "Identity providers"
|
|
236
|
+
}),
|
|
237
|
+
["permission"]: definePlural({
|
|
238
|
+
one: "Permission",
|
|
239
|
+
other: "Permissions"
|
|
240
|
+
}),
|
|
241
|
+
["policy"]: definePlural({
|
|
242
|
+
one: "Policy",
|
|
243
|
+
other: "Policies"
|
|
244
|
+
}),
|
|
245
|
+
["realm"]: definePlural({
|
|
246
|
+
one: "Realm",
|
|
247
|
+
other: "Realms"
|
|
248
|
+
}),
|
|
249
|
+
["robot"]: definePlural({
|
|
250
|
+
one: "Robot",
|
|
251
|
+
other: "Robots"
|
|
252
|
+
}),
|
|
253
|
+
["role"]: definePlural({
|
|
254
|
+
one: "Role",
|
|
255
|
+
other: "Roles"
|
|
256
|
+
}),
|
|
257
|
+
["scope"]: definePlural({
|
|
258
|
+
one: "Scope",
|
|
259
|
+
other: "Scopes"
|
|
260
|
+
}),
|
|
261
|
+
["user"]: definePlural({
|
|
262
|
+
one: "User",
|
|
263
|
+
other: "Users"
|
|
264
|
+
})
|
|
265
|
+
};
|
|
266
|
+
//#endregion
|
|
267
|
+
//#region src/catalogs/en/error.ts
|
|
268
|
+
const TranslatorTranslationErrorEnglish = {
|
|
269
|
+
[ErrorCode.BAD_REQUEST]: "The request could not be processed.",
|
|
270
|
+
[ErrorCode.INTERNAL_ERROR]: "An unexpected error occurred. Please try again later.",
|
|
271
|
+
[ErrorCode.HTTP_HEADER_AUTH_TYPE_UNSUPPORTED]: "The authorization header type is not supported.",
|
|
272
|
+
[ErrorCode.HTTP_BEARER_TOKEN_MALFORMED]: "The bearer token is malformed.",
|
|
273
|
+
[ErrorCode.IDENTITY_UNAUTHORIZED]: "You are not authenticated.",
|
|
274
|
+
[ErrorCode.ENTITY_CREDENTIALS_INVALID]: "The provided credentials are invalid.",
|
|
275
|
+
[ErrorCode.ENTITY_INACTIVE]: "The entity is inactive.",
|
|
276
|
+
[ErrorCode.ENTITY_NOT_FOUND]: "The requested entity could not be found.",
|
|
277
|
+
[ErrorCode.ENTITY_CONFLICT]: "An entity with these details already exists.",
|
|
278
|
+
[ErrorCode.ENTITY_RELATION_INVALID]: "A referenced relation is invalid.",
|
|
279
|
+
[ErrorCode.REGISTRATION_DISABLED]: "Registration is currently disabled.",
|
|
280
|
+
[ErrorCode.PASSWORD_RECOVERY_DISABLED]: "Password recovery is currently disabled.",
|
|
281
|
+
[ErrorCode.EMAIL_VERIFICATION_REQUIRED]: "Your email address must be verified first.",
|
|
282
|
+
[ErrorCode.RESET_TOKEN_EXPIRED]: "The reset token has expired. Please request a new one.",
|
|
283
|
+
[ErrorCode.STORAGE_INSUFFICIENT]: "There is not enough storage available to complete this action.",
|
|
284
|
+
[ErrorCode.JWK_INVALID]: "The JSON web key is invalid.",
|
|
285
|
+
[ErrorCode.JWK_NOT_FOUND]: "The JSON web key could not be found.",
|
|
286
|
+
[ErrorCode.JWT_INVALID]: "The token is invalid.",
|
|
287
|
+
[ErrorCode.JWT_INACTIVE]: "The token is not active yet.",
|
|
288
|
+
[ErrorCode.JWT_EXPIRED]: "The token has expired. Please sign in again.",
|
|
289
|
+
[ErrorCode.OAUTH_REDIRECT_URI_MISMATCH]: "The redirect URI does not match.",
|
|
290
|
+
[ErrorCode.OAUTH_CLIENT_INVALID]: "The client is invalid.",
|
|
291
|
+
[ErrorCode.OAUTH_GRANT_INVALID]: "The authorization grant is invalid.",
|
|
292
|
+
[ErrorCode.OAUTH_GRANT_TYPE_UNSUPPORTED]: "The grant type is not supported.",
|
|
293
|
+
[ErrorCode.OAUTH_REQUEST_INVALID]: "The request is invalid.",
|
|
294
|
+
[ErrorCode.OAUTH_RESPONSE_TYPE_UNSUPPORTED]: "The response type is not supported.",
|
|
295
|
+
[ErrorCode.OAUTH_SCOPE_INVALID]: "The requested scope is invalid.",
|
|
296
|
+
[ErrorCode.OAUTH_SCOPE_INSUFFICIENT]: "The granted scope is insufficient for this action.",
|
|
297
|
+
[ErrorCode.PERMISSION_NOT_FOUND]: "The permission could not be found.",
|
|
298
|
+
[ErrorCode.PERMISSION_DENIED]: "You do not have permission to perform this action.",
|
|
299
|
+
[ErrorCode.PERMISSION_EVALUATION_FAILED]: "The permission could not be evaluated.",
|
|
300
|
+
[ErrorCode.POLICY_EVALUATOR_NOT_FOUND]: "No evaluator was found for this policy.",
|
|
301
|
+
[ErrorCode.POLICY_EVALUATOR_NOT_PROCESSABLE]: "This policy could not be processed.",
|
|
302
|
+
[ErrorCode.POLICY_EVALUATOR_CONTEXT_INVALID]: "The policy evaluation context is invalid."
|
|
303
|
+
};
|
|
304
|
+
//#endregion
|
|
305
|
+
//#region src/catalogs/en/field.ts
|
|
306
|
+
const TranslatorTranslationFieldEnglish = {
|
|
307
|
+
["name"]: "Name",
|
|
308
|
+
["displayName"]: "Display name",
|
|
309
|
+
["email"]: "Email",
|
|
310
|
+
["externalId"]: "External ID",
|
|
311
|
+
["description"]: "Description",
|
|
312
|
+
["secret"]: "Secret",
|
|
313
|
+
["redirectUris"]: "Redirect URI(s)",
|
|
314
|
+
["password"]: "Password",
|
|
315
|
+
["decisionStrategy"]: "Decision strategy",
|
|
316
|
+
["hashed"]: "Hashed",
|
|
317
|
+
["url"]: "URL",
|
|
318
|
+
["clientScopes"]: "Client scopes",
|
|
319
|
+
["start"]: "Start",
|
|
320
|
+
["end"]: "End",
|
|
321
|
+
["interval"]: "Interval",
|
|
322
|
+
["dayOfWeek"]: "Day of Week",
|
|
323
|
+
["dayOfMonth"]: "Day of Month",
|
|
324
|
+
["dayOfYear"]: "Day of Year",
|
|
325
|
+
["valueIsRegex"]: "Is the value a regex pattern?"
|
|
326
|
+
};
|
|
327
|
+
//#endregion
|
|
328
|
+
//#region src/catalogs/en/vuecs.ts
|
|
329
|
+
const TranslatorTranslationVuecsEnglish = { ["noMore"]: "No more {{name}} available" };
|
|
330
|
+
//#endregion
|
|
331
|
+
//#region src/catalogs/de/action.ts
|
|
332
|
+
const TranslatorTranslationActionGerman = {
|
|
333
|
+
["add"]: "Hinzufügen",
|
|
334
|
+
["create"]: "Erstellen",
|
|
335
|
+
["delete"]: "Löschen",
|
|
336
|
+
["generate"]: "Generieren",
|
|
337
|
+
["update"]: "Aktualisieren",
|
|
338
|
+
["authorize"]: "Autorisieren",
|
|
339
|
+
["abort"]: "Abbrechen",
|
|
340
|
+
["login"]: "Anmelden"
|
|
341
|
+
};
|
|
342
|
+
//#endregion
|
|
343
|
+
//#region src/catalogs/de/app.ts
|
|
344
|
+
const TranslatorTranslationAppGerman = {
|
|
345
|
+
["home"]: "Startseite",
|
|
346
|
+
["resources"]: "Ressourcen",
|
|
347
|
+
["general"]: "Allgemein",
|
|
348
|
+
["other"]: "Sonstiges",
|
|
349
|
+
["settings"]: "Einstellungen",
|
|
350
|
+
["logout"]: "Abmelden",
|
|
351
|
+
["account"]: "Konto",
|
|
352
|
+
["security"]: "Sicherheit",
|
|
353
|
+
["management"]: "Verwaltung",
|
|
354
|
+
["details"]: "Details",
|
|
355
|
+
["apiDocs"]: "API-Dokumentation",
|
|
356
|
+
["madeWith"]: "Erstellt mit",
|
|
357
|
+
["urlGenerator"]: "URL-Generator",
|
|
358
|
+
["urlGeneratorHint"]: "Erzeuge eine Autorisierungs-URL, indem du die benötigten Bereiche auswählst.",
|
|
359
|
+
["redirectUrl"]: "Weiterleitungs-URL",
|
|
360
|
+
["generatedUrl"]: "Generierte URL",
|
|
361
|
+
["toggleNavigation"]: "Navigation umschalten",
|
|
362
|
+
["switchToLightMode"]: "Zum hellen Modus wechseln",
|
|
363
|
+
["switchToDarkMode"]: "Zum dunklen Modus wechseln",
|
|
364
|
+
["sessionRenew"]: "Die Sitzung wird erneuert in",
|
|
365
|
+
["minutes"]: "Minute(n)",
|
|
366
|
+
["seconds"]: "Sekunde(n)",
|
|
367
|
+
["entityCreated"]: "{{entity}} wurde erfolgreich erstellt.",
|
|
368
|
+
["entityUpdated"]: "{{entity}} wurde erfolgreich aktualisiert.",
|
|
369
|
+
["entityDeleted"]: "{{entity}} \"{{name}}\" wurde erfolgreich gelöscht.",
|
|
370
|
+
["accountUpdated"]: "Das Konto wurde erfolgreich aktualisiert."
|
|
371
|
+
};
|
|
372
|
+
//#endregion
|
|
373
|
+
//#region src/catalogs/de/client.ts
|
|
374
|
+
const TranslatorTranslationClientGerman = {
|
|
375
|
+
["nameHint"]: "Etwas, das Benutzer erkennen und dem sie vertrauen",
|
|
376
|
+
["descriptionHint"]: "Wird allen Benutzern dieser Anwendung angezeigt",
|
|
377
|
+
["redirectURIHint"]: "URI-Muster, zu dem ein Browser nach einem erfolgreichen Login weiterleiten kann",
|
|
378
|
+
["isConfidential"]: "Ist vertraulich?",
|
|
379
|
+
["isActive"]: "Ist aktiv?",
|
|
380
|
+
["hashSecret"]: "Geheimnis hashen?",
|
|
381
|
+
["loginFailed"]: "Der Anmeldevorgang ist fehlgeschlagen",
|
|
382
|
+
["scopeGrantIntro"]: "Dies erlaubt der Anwendung {{client}},",
|
|
383
|
+
["onceAuthorizedRedirect"]: "Nach der Autorisierung werden Sie weitergeleitet zu:",
|
|
384
|
+
["governedBy"]: "Diese Anwendung unterliegt den Datenschutz- und Nutzungsbedingungen der Anwendung {{client}}.",
|
|
385
|
+
["activeSince"]: "Aktiv seit",
|
|
386
|
+
["viewPolicyDetails"]: "Richtliniendetails anzeigen"
|
|
387
|
+
};
|
|
388
|
+
//#endregion
|
|
389
|
+
//#region src/catalogs/de/common.ts
|
|
390
|
+
const TranslatorTranslationCommonGerman = {
|
|
391
|
+
["general"]: "Allgemein",
|
|
392
|
+
["overview"]: "Überblick",
|
|
393
|
+
["loading"]: "Wird geladen...",
|
|
394
|
+
["active"]: "Aktiv",
|
|
395
|
+
["inactive"]: "Inaktiv",
|
|
396
|
+
["locked"]: "Gesperrt",
|
|
397
|
+
["notLocked"]: "Nicht gesperrt",
|
|
398
|
+
["application"]: "Anwendung"
|
|
399
|
+
};
|
|
400
|
+
//#endregion
|
|
401
|
+
//#region src/catalogs/de/entity.ts
|
|
402
|
+
const TranslatorTranslationEntityGerman = {
|
|
403
|
+
["client"]: definePlural({
|
|
404
|
+
one: "Client",
|
|
405
|
+
other: "Clients"
|
|
406
|
+
}),
|
|
407
|
+
["identityProvider"]: definePlural({
|
|
408
|
+
one: "Identitätsanbieter",
|
|
409
|
+
other: "Identitätsanbieter"
|
|
410
|
+
}),
|
|
411
|
+
["permission"]: definePlural({
|
|
412
|
+
one: "Berechtigung",
|
|
413
|
+
other: "Berechtigungen"
|
|
414
|
+
}),
|
|
415
|
+
["policy"]: definePlural({
|
|
416
|
+
one: "Richtlinie",
|
|
417
|
+
other: "Richtlinien"
|
|
418
|
+
}),
|
|
419
|
+
["realm"]: definePlural({
|
|
420
|
+
one: "Organisation",
|
|
421
|
+
other: "Organisationen"
|
|
422
|
+
}),
|
|
423
|
+
["robot"]: definePlural({
|
|
424
|
+
one: "Roboter",
|
|
425
|
+
other: "Roboter"
|
|
426
|
+
}),
|
|
427
|
+
["role"]: definePlural({
|
|
428
|
+
one: "Rolle",
|
|
429
|
+
other: "Rollen"
|
|
430
|
+
}),
|
|
431
|
+
["scope"]: definePlural({
|
|
432
|
+
one: "Bereich",
|
|
433
|
+
other: "Bereiche"
|
|
434
|
+
}),
|
|
435
|
+
["user"]: definePlural({
|
|
436
|
+
one: "Benutzer",
|
|
437
|
+
other: "Benutzer"
|
|
438
|
+
})
|
|
439
|
+
};
|
|
440
|
+
//#endregion
|
|
441
|
+
//#region src/catalogs/de/error.ts
|
|
442
|
+
const TranslatorTranslationErrorGerman = {
|
|
443
|
+
[ErrorCode.BAD_REQUEST]: "Die Anfrage konnte nicht verarbeitet werden.",
|
|
444
|
+
[ErrorCode.INTERNAL_ERROR]: "Ein unerwarteter Fehler ist aufgetreten. Bitte versuche es später erneut.",
|
|
445
|
+
[ErrorCode.HTTP_HEADER_AUTH_TYPE_UNSUPPORTED]: "Der Typ des Autorisierungs-Headers wird nicht unterstützt.",
|
|
446
|
+
[ErrorCode.HTTP_BEARER_TOKEN_MALFORMED]: "Das Bearer-Token ist fehlerhaft.",
|
|
447
|
+
[ErrorCode.IDENTITY_UNAUTHORIZED]: "Du bist nicht authentifiziert.",
|
|
448
|
+
[ErrorCode.ENTITY_CREDENTIALS_INVALID]: "Die angegebenen Anmeldedaten sind ungültig.",
|
|
449
|
+
[ErrorCode.ENTITY_INACTIVE]: "Der Eintrag ist inaktiv.",
|
|
450
|
+
[ErrorCode.ENTITY_NOT_FOUND]: "Der angeforderte Eintrag konnte nicht gefunden werden.",
|
|
451
|
+
[ErrorCode.ENTITY_CONFLICT]: "Ein Eintrag mit diesen Angaben existiert bereits.",
|
|
452
|
+
[ErrorCode.ENTITY_RELATION_INVALID]: "Eine referenzierte Beziehung ist ungültig.",
|
|
453
|
+
[ErrorCode.REGISTRATION_DISABLED]: "Die Registrierung ist derzeit deaktiviert.",
|
|
454
|
+
[ErrorCode.PASSWORD_RECOVERY_DISABLED]: "Die Passwort-Wiederherstellung ist derzeit deaktiviert.",
|
|
455
|
+
[ErrorCode.EMAIL_VERIFICATION_REQUIRED]: "Deine E-Mail-Adresse muss zuerst bestätigt werden.",
|
|
456
|
+
[ErrorCode.RESET_TOKEN_EXPIRED]: "Das Reset-Token ist abgelaufen. Bitte fordere ein neues an.",
|
|
457
|
+
[ErrorCode.STORAGE_INSUFFICIENT]: "Es ist nicht genügend Speicherplatz verfügbar, um diese Aktion auszuführen.",
|
|
458
|
+
[ErrorCode.JWK_INVALID]: "Der JSON Web Key ist ungültig.",
|
|
459
|
+
[ErrorCode.JWK_NOT_FOUND]: "Der JSON Web Key konnte nicht gefunden werden.",
|
|
460
|
+
[ErrorCode.JWT_INVALID]: "Das Token ist ungültig.",
|
|
461
|
+
[ErrorCode.JWT_INACTIVE]: "Das Token ist noch nicht aktiv.",
|
|
462
|
+
[ErrorCode.JWT_EXPIRED]: "Das Token ist abgelaufen. Bitte melde dich erneut an.",
|
|
463
|
+
[ErrorCode.OAUTH_REDIRECT_URI_MISMATCH]: "Die Weiterleitungs-URI stimmt nicht überein.",
|
|
464
|
+
[ErrorCode.OAUTH_CLIENT_INVALID]: "Der Client ist ungültig.",
|
|
465
|
+
[ErrorCode.OAUTH_GRANT_INVALID]: "Die Autorisierungsfreigabe ist ungültig.",
|
|
466
|
+
[ErrorCode.OAUTH_GRANT_TYPE_UNSUPPORTED]: "Der Grant-Typ wird nicht unterstützt.",
|
|
467
|
+
[ErrorCode.OAUTH_REQUEST_INVALID]: "Die Anfrage ist ungültig.",
|
|
468
|
+
[ErrorCode.OAUTH_RESPONSE_TYPE_UNSUPPORTED]: "Der Response-Typ wird nicht unterstützt.",
|
|
469
|
+
[ErrorCode.OAUTH_SCOPE_INVALID]: "Der angeforderte Bereich ist ungültig.",
|
|
470
|
+
[ErrorCode.OAUTH_SCOPE_INSUFFICIENT]: "Der gewährte Bereich reicht für diese Aktion nicht aus.",
|
|
471
|
+
[ErrorCode.PERMISSION_NOT_FOUND]: "Die Berechtigung konnte nicht gefunden werden.",
|
|
472
|
+
[ErrorCode.PERMISSION_DENIED]: "Du hast keine Berechtigung, diese Aktion auszuführen.",
|
|
473
|
+
[ErrorCode.PERMISSION_EVALUATION_FAILED]: "Die Berechtigung konnte nicht ausgewertet werden.",
|
|
474
|
+
[ErrorCode.POLICY_EVALUATOR_NOT_FOUND]: "Für diese Richtlinie wurde kein Evaluator gefunden.",
|
|
475
|
+
[ErrorCode.POLICY_EVALUATOR_NOT_PROCESSABLE]: "Diese Richtlinie konnte nicht verarbeitet werden.",
|
|
476
|
+
[ErrorCode.POLICY_EVALUATOR_CONTEXT_INVALID]: "Der Kontext der Richtlinienauswertung ist ungültig."
|
|
477
|
+
};
|
|
478
|
+
//#endregion
|
|
479
|
+
//#region src/catalogs/de/field.ts
|
|
480
|
+
const TranslatorTranslationFieldGerman = {
|
|
481
|
+
["name"]: "Name",
|
|
482
|
+
["displayName"]: "Anzeigename",
|
|
483
|
+
["email"]: "E-Mail",
|
|
484
|
+
["externalId"]: "Externe ID",
|
|
485
|
+
["description"]: "Beschreibung",
|
|
486
|
+
["secret"]: "Geheimnis",
|
|
487
|
+
["redirectUris"]: "Weiterleitungs-URIs",
|
|
488
|
+
["password"]: "Passwort",
|
|
489
|
+
["decisionStrategy"]: "Entscheidungsstrategie",
|
|
490
|
+
["hashed"]: "Gehasht",
|
|
491
|
+
["url"]: "URL",
|
|
492
|
+
["clientScopes"]: "Client-Bereiche",
|
|
493
|
+
["start"]: "Start",
|
|
494
|
+
["end"]: "Ende",
|
|
495
|
+
["interval"]: "Intervall",
|
|
496
|
+
["dayOfWeek"]: "Wochentag",
|
|
497
|
+
["dayOfMonth"]: "Tag des Monats",
|
|
498
|
+
["dayOfYear"]: "Tag des Jahres",
|
|
499
|
+
["valueIsRegex"]: "Ist der Wert ein Regex-Muster?"
|
|
500
|
+
};
|
|
501
|
+
//#endregion
|
|
502
|
+
//#region src/catalogs/de/vuecs.ts
|
|
503
|
+
const TranslatorTranslationVuecsGerman = { ["noMore"]: "Keine weiteren {{name}} verfügbar" };
|
|
504
|
+
//#endregion
|
|
505
|
+
//#region src/catalogs/fr/action.ts
|
|
506
|
+
const TranslatorTranslationActionFrench = {
|
|
507
|
+
["add"]: "Ajouter",
|
|
508
|
+
["create"]: "Créer",
|
|
509
|
+
["delete"]: "Supprimer",
|
|
510
|
+
["generate"]: "Générer",
|
|
511
|
+
["update"]: "Mettre à jour",
|
|
512
|
+
["authorize"]: "Autoriser",
|
|
513
|
+
["abort"]: "Annuler",
|
|
514
|
+
["login"]: "Connexion"
|
|
515
|
+
};
|
|
516
|
+
//#endregion
|
|
517
|
+
//#region src/catalogs/fr/app.ts
|
|
518
|
+
const TranslatorTranslationAppFrench = {
|
|
519
|
+
["home"]: "Accueil",
|
|
520
|
+
["resources"]: "Ressources",
|
|
521
|
+
["general"]: "Général",
|
|
522
|
+
["other"]: "Autre",
|
|
523
|
+
["settings"]: "Paramètres",
|
|
524
|
+
["logout"]: "Déconnexion",
|
|
525
|
+
["account"]: "Compte",
|
|
526
|
+
["security"]: "Sécurité",
|
|
527
|
+
["management"]: "Gestion",
|
|
528
|
+
["details"]: "Détails",
|
|
529
|
+
["apiDocs"]: "Documentation API",
|
|
530
|
+
["madeWith"]: "Fait avec",
|
|
531
|
+
["urlGenerator"]: "Générateur d'URL",
|
|
532
|
+
["urlGeneratorHint"]: "Générez une URL d'autorisation en choisissant les portées dont elle a besoin pour fonctionner.",
|
|
533
|
+
["redirectUrl"]: "URL de redirection",
|
|
534
|
+
["generatedUrl"]: "URL générée",
|
|
535
|
+
["toggleNavigation"]: "Basculer la navigation",
|
|
536
|
+
["switchToLightMode"]: "Passer en mode clair",
|
|
537
|
+
["switchToDarkMode"]: "Passer en mode sombre",
|
|
538
|
+
["sessionRenew"]: "La session sera renouvelée dans",
|
|
539
|
+
["minutes"]: "minute(s)",
|
|
540
|
+
["seconds"]: "seconde(s)",
|
|
541
|
+
["entityCreated"]: "{{entity}} a été créé avec succès.",
|
|
542
|
+
["entityUpdated"]: "{{entity}} a été mis à jour avec succès.",
|
|
543
|
+
["entityDeleted"]: "{{entity}} « {{name}} » a été supprimé avec succès.",
|
|
544
|
+
["accountUpdated"]: "Le compte a été mis à jour avec succès."
|
|
545
|
+
};
|
|
546
|
+
//#endregion
|
|
547
|
+
//#region src/catalogs/fr/client.ts
|
|
548
|
+
const TranslatorTranslationClientFrench = {
|
|
549
|
+
["nameHint"]: "Quelque chose que les utilisateurs reconnaîtront et auquel ils feront confiance",
|
|
550
|
+
["descriptionHint"]: "Affiché à tous les utilisateurs de cette application",
|
|
551
|
+
["redirectURIHint"]: "Modèle d'URI vers lequel un navigateur peut rediriger après une connexion réussie",
|
|
552
|
+
["isConfidential"]: "Est confidentiel ?",
|
|
553
|
+
["isActive"]: "Est actif ?",
|
|
554
|
+
["hashSecret"]: "Hacher le secret ?",
|
|
555
|
+
["loginFailed"]: "L'opération de connexion a échoué",
|
|
556
|
+
["scopeGrantIntro"]: "Cela permettra à l'application {{client}} de",
|
|
557
|
+
["onceAuthorizedRedirect"]: "Une fois autorisé, vous serez redirigé vers :",
|
|
558
|
+
["governedBy"]: "Cette application est régie par la politique de confidentialité et les conditions d'utilisation de l'application {{client}}.",
|
|
559
|
+
["activeSince"]: "Actif depuis",
|
|
560
|
+
["viewPolicyDetails"]: "Voir les détails de la politique"
|
|
561
|
+
};
|
|
562
|
+
//#endregion
|
|
563
|
+
//#region src/catalogs/fr/common.ts
|
|
564
|
+
const TranslatorTranslationCommonFrench = {
|
|
565
|
+
["general"]: "Général",
|
|
566
|
+
["overview"]: "Aperçu",
|
|
567
|
+
["loading"]: "Chargement...",
|
|
568
|
+
["active"]: "Actif",
|
|
569
|
+
["inactive"]: "Inactif",
|
|
570
|
+
["locked"]: "Verrouillé",
|
|
571
|
+
["notLocked"]: "Non verrouillé",
|
|
572
|
+
["application"]: "Application"
|
|
573
|
+
};
|
|
574
|
+
//#endregion
|
|
575
|
+
//#region src/catalogs/fr/entity.ts
|
|
576
|
+
const TranslatorTranslationEntityFrench = {
|
|
577
|
+
["client"]: definePlural({
|
|
578
|
+
one: "Client",
|
|
579
|
+
other: "Clients"
|
|
580
|
+
}),
|
|
581
|
+
["identityProvider"]: definePlural({
|
|
582
|
+
one: "Fournisseur d'identité",
|
|
583
|
+
other: "Fournisseurs d'identité"
|
|
584
|
+
}),
|
|
585
|
+
["permission"]: definePlural({
|
|
586
|
+
one: "Permission",
|
|
587
|
+
other: "Permissions"
|
|
588
|
+
}),
|
|
589
|
+
["policy"]: definePlural({
|
|
590
|
+
one: "Politique",
|
|
591
|
+
other: "Politiques"
|
|
592
|
+
}),
|
|
593
|
+
["realm"]: definePlural({
|
|
594
|
+
one: "Domaine",
|
|
595
|
+
other: "Domaines"
|
|
596
|
+
}),
|
|
597
|
+
["robot"]: definePlural({
|
|
598
|
+
one: "Robot",
|
|
599
|
+
other: "Robots"
|
|
600
|
+
}),
|
|
601
|
+
["role"]: definePlural({
|
|
602
|
+
one: "Rôle",
|
|
603
|
+
other: "Rôles"
|
|
604
|
+
}),
|
|
605
|
+
["scope"]: definePlural({
|
|
606
|
+
one: "Portée",
|
|
607
|
+
other: "Portées"
|
|
608
|
+
}),
|
|
609
|
+
["user"]: definePlural({
|
|
610
|
+
one: "Utilisateur",
|
|
611
|
+
other: "Utilisateurs"
|
|
612
|
+
})
|
|
613
|
+
};
|
|
614
|
+
//#endregion
|
|
615
|
+
//#region src/catalogs/fr/error.ts
|
|
616
|
+
const TranslatorTranslationErrorFrench = {
|
|
617
|
+
[ErrorCode.BAD_REQUEST]: "La requête n'a pas pu être traitée.",
|
|
618
|
+
[ErrorCode.INTERNAL_ERROR]: "Une erreur inattendue est survenue. Veuillez réessayer plus tard.",
|
|
619
|
+
[ErrorCode.HTTP_HEADER_AUTH_TYPE_UNSUPPORTED]: "Le type d'en-tête d'autorisation n'est pas pris en charge.",
|
|
620
|
+
[ErrorCode.HTTP_BEARER_TOKEN_MALFORMED]: "Le jeton bearer est mal formé.",
|
|
621
|
+
[ErrorCode.IDENTITY_UNAUTHORIZED]: "Vous n'êtes pas authentifié.",
|
|
622
|
+
[ErrorCode.ENTITY_CREDENTIALS_INVALID]: "Les identifiants fournis sont invalides.",
|
|
623
|
+
[ErrorCode.ENTITY_INACTIVE]: "L'entité est inactive.",
|
|
624
|
+
[ErrorCode.ENTITY_NOT_FOUND]: "L'entité demandée est introuvable.",
|
|
625
|
+
[ErrorCode.ENTITY_CONFLICT]: "Une entité avec ces détails existe déjà.",
|
|
626
|
+
[ErrorCode.ENTITY_RELATION_INVALID]: "Une relation référencée est invalide.",
|
|
627
|
+
[ErrorCode.REGISTRATION_DISABLED]: "L'inscription est actuellement désactivée.",
|
|
628
|
+
[ErrorCode.PASSWORD_RECOVERY_DISABLED]: "La récupération de mot de passe est actuellement désactivée.",
|
|
629
|
+
[ErrorCode.EMAIL_VERIFICATION_REQUIRED]: "Votre adresse e-mail doit d'abord être vérifiée.",
|
|
630
|
+
[ErrorCode.RESET_TOKEN_EXPIRED]: "Le jeton de réinitialisation a expiré. Veuillez en demander un nouveau.",
|
|
631
|
+
[ErrorCode.STORAGE_INSUFFICIENT]: "L'espace de stockage disponible est insuffisant pour effectuer cette action.",
|
|
632
|
+
[ErrorCode.JWK_INVALID]: "La clé web JSON est invalide.",
|
|
633
|
+
[ErrorCode.JWK_NOT_FOUND]: "La clé web JSON est introuvable.",
|
|
634
|
+
[ErrorCode.JWT_INVALID]: "Le jeton est invalide.",
|
|
635
|
+
[ErrorCode.JWT_INACTIVE]: "Le jeton n'est pas encore actif.",
|
|
636
|
+
[ErrorCode.JWT_EXPIRED]: "Le jeton a expiré. Veuillez vous reconnecter.",
|
|
637
|
+
[ErrorCode.OAUTH_REDIRECT_URI_MISMATCH]: "L'URI de redirection ne correspond pas.",
|
|
638
|
+
[ErrorCode.OAUTH_CLIENT_INVALID]: "Le client est invalide.",
|
|
639
|
+
[ErrorCode.OAUTH_GRANT_INVALID]: "L'autorisation d'accès est invalide.",
|
|
640
|
+
[ErrorCode.OAUTH_GRANT_TYPE_UNSUPPORTED]: "Le type d'autorisation n'est pas pris en charge.",
|
|
641
|
+
[ErrorCode.OAUTH_REQUEST_INVALID]: "La requête est invalide.",
|
|
642
|
+
[ErrorCode.OAUTH_RESPONSE_TYPE_UNSUPPORTED]: "Le type de réponse n'est pas pris en charge.",
|
|
643
|
+
[ErrorCode.OAUTH_SCOPE_INVALID]: "La portée demandée est invalide.",
|
|
644
|
+
[ErrorCode.OAUTH_SCOPE_INSUFFICIENT]: "La portée accordée est insuffisante pour cette action.",
|
|
645
|
+
[ErrorCode.PERMISSION_NOT_FOUND]: "La permission est introuvable.",
|
|
646
|
+
[ErrorCode.PERMISSION_DENIED]: "Vous n'avez pas la permission d'effectuer cette action.",
|
|
647
|
+
[ErrorCode.PERMISSION_EVALUATION_FAILED]: "La permission n'a pas pu être évaluée.",
|
|
648
|
+
[ErrorCode.POLICY_EVALUATOR_NOT_FOUND]: "Aucun évaluateur n'a été trouvé pour cette politique.",
|
|
649
|
+
[ErrorCode.POLICY_EVALUATOR_NOT_PROCESSABLE]: "Cette politique n'a pas pu être traitée.",
|
|
650
|
+
[ErrorCode.POLICY_EVALUATOR_CONTEXT_INVALID]: "Le contexte d'évaluation de la politique est invalide."
|
|
651
|
+
};
|
|
652
|
+
//#endregion
|
|
653
|
+
//#region src/catalogs/fr/field.ts
|
|
654
|
+
const TranslatorTranslationFieldFrench = {
|
|
655
|
+
["name"]: "Nom",
|
|
656
|
+
["displayName"]: "Nom d'affichage",
|
|
657
|
+
["email"]: "E-mail",
|
|
658
|
+
["externalId"]: "ID externe",
|
|
659
|
+
["description"]: "Description",
|
|
660
|
+
["secret"]: "Secret",
|
|
661
|
+
["redirectUris"]: "URI(s) de redirection",
|
|
662
|
+
["password"]: "Mot de passe",
|
|
663
|
+
["decisionStrategy"]: "Stratégie de décision",
|
|
664
|
+
["hashed"]: "Haché",
|
|
665
|
+
["url"]: "URL",
|
|
666
|
+
["clientScopes"]: "Portées du client",
|
|
667
|
+
["start"]: "Début",
|
|
668
|
+
["end"]: "Fin",
|
|
669
|
+
["interval"]: "Intervalle",
|
|
670
|
+
["dayOfWeek"]: "Jour de la semaine",
|
|
671
|
+
["dayOfMonth"]: "Jour du mois",
|
|
672
|
+
["dayOfYear"]: "Jour de l'année",
|
|
673
|
+
["valueIsRegex"]: "La valeur est-elle un motif regex ?"
|
|
674
|
+
};
|
|
675
|
+
//#endregion
|
|
676
|
+
//#region src/catalogs/fr/vuecs.ts
|
|
677
|
+
const TranslatorTranslationVuecsFrench = { ["noMore"]: "Plus aucun {{name}} disponible" };
|
|
678
|
+
//#endregion
|
|
679
|
+
//#region src/catalogs/es/action.ts
|
|
680
|
+
const TranslatorTranslationActionSpanish = {
|
|
681
|
+
["add"]: "Añadir",
|
|
682
|
+
["create"]: "Crear",
|
|
683
|
+
["delete"]: "Eliminar",
|
|
684
|
+
["generate"]: "Generar",
|
|
685
|
+
["update"]: "Actualizar",
|
|
686
|
+
["authorize"]: "Autorizar",
|
|
687
|
+
["abort"]: "Cancelar",
|
|
688
|
+
["login"]: "Iniciar sesión"
|
|
689
|
+
};
|
|
690
|
+
//#endregion
|
|
691
|
+
//#region src/catalogs/es/app.ts
|
|
692
|
+
const TranslatorTranslationAppSpanish = {
|
|
693
|
+
["home"]: "Inicio",
|
|
694
|
+
["resources"]: "Recursos",
|
|
695
|
+
["general"]: "General",
|
|
696
|
+
["other"]: "Otro",
|
|
697
|
+
["settings"]: "Ajustes",
|
|
698
|
+
["logout"]: "Cerrar sesión",
|
|
699
|
+
["account"]: "Cuenta",
|
|
700
|
+
["security"]: "Seguridad",
|
|
701
|
+
["management"]: "Gestión",
|
|
702
|
+
["details"]: "Detalles",
|
|
703
|
+
["apiDocs"]: "Documentación de la API",
|
|
704
|
+
["madeWith"]: "Hecho con",
|
|
705
|
+
["urlGenerator"]: "Generador de URL",
|
|
706
|
+
["urlGeneratorHint"]: "Genere una URL de autorización eligiendo los ámbitos que necesita para funcionar.",
|
|
707
|
+
["redirectUrl"]: "URL de redirección",
|
|
708
|
+
["generatedUrl"]: "URL generada",
|
|
709
|
+
["toggleNavigation"]: "Alternar navegación",
|
|
710
|
+
["switchToLightMode"]: "Cambiar a modo claro",
|
|
711
|
+
["switchToDarkMode"]: "Cambiar a modo oscuro",
|
|
712
|
+
["sessionRenew"]: "La sesión se renovará en",
|
|
713
|
+
["minutes"]: "minuto(s)",
|
|
714
|
+
["seconds"]: "segundo(s)",
|
|
715
|
+
["entityCreated"]: "{{entity}} se creó correctamente.",
|
|
716
|
+
["entityUpdated"]: "{{entity}} se actualizó correctamente.",
|
|
717
|
+
["entityDeleted"]: "{{entity}} «{{name}}» se eliminó correctamente.",
|
|
718
|
+
["accountUpdated"]: "La cuenta se actualizó correctamente."
|
|
719
|
+
};
|
|
720
|
+
//#endregion
|
|
721
|
+
//#region src/catalogs/es/client.ts
|
|
722
|
+
const TranslatorTranslationClientSpanish = {
|
|
723
|
+
["nameHint"]: "Algo que los usuarios reconocerán y en lo que confiarán",
|
|
724
|
+
["descriptionHint"]: "Se muestra a todos los usuarios de esta aplicación",
|
|
725
|
+
["redirectURIHint"]: "Patrón de URI al que un navegador puede redirigir tras un inicio de sesión exitoso",
|
|
726
|
+
["isConfidential"]: "¿Es confidencial?",
|
|
727
|
+
["isActive"]: "¿Está activo?",
|
|
728
|
+
["hashSecret"]: "¿Aplicar hash al secreto?",
|
|
729
|
+
["loginFailed"]: "La operación de inicio de sesión falló",
|
|
730
|
+
["scopeGrantIntro"]: "Esto permitirá que la aplicación {{client}}",
|
|
731
|
+
["onceAuthorizedRedirect"]: "Una vez autorizado, será redirigido a:",
|
|
732
|
+
["governedBy"]: "Esta aplicación se rige por la Política de Privacidad y los Términos de Servicio de la aplicación {{client}}.",
|
|
733
|
+
["activeSince"]: "Activo desde",
|
|
734
|
+
["viewPolicyDetails"]: "Ver detalles de la política"
|
|
735
|
+
};
|
|
736
|
+
//#endregion
|
|
737
|
+
//#region src/catalogs/es/common.ts
|
|
738
|
+
const TranslatorTranslationCommonSpanish = {
|
|
739
|
+
["general"]: "General",
|
|
740
|
+
["overview"]: "Resumen",
|
|
741
|
+
["loading"]: "Cargando...",
|
|
742
|
+
["active"]: "Activo",
|
|
743
|
+
["inactive"]: "Inactivo",
|
|
744
|
+
["locked"]: "Bloqueado",
|
|
745
|
+
["notLocked"]: "No bloqueado",
|
|
746
|
+
["application"]: "Aplicación"
|
|
747
|
+
};
|
|
748
|
+
//#endregion
|
|
749
|
+
//#region src/catalogs/es/entity.ts
|
|
750
|
+
const TranslatorTranslationEntitySpanish = {
|
|
751
|
+
["client"]: definePlural({
|
|
752
|
+
one: "Cliente",
|
|
753
|
+
other: "Clientes"
|
|
754
|
+
}),
|
|
755
|
+
["identityProvider"]: definePlural({
|
|
756
|
+
one: "Proveedor de identidad",
|
|
757
|
+
other: "Proveedores de identidad"
|
|
758
|
+
}),
|
|
759
|
+
["permission"]: definePlural({
|
|
760
|
+
one: "Permiso",
|
|
761
|
+
other: "Permisos"
|
|
762
|
+
}),
|
|
763
|
+
["policy"]: definePlural({
|
|
764
|
+
one: "Política",
|
|
765
|
+
other: "Políticas"
|
|
766
|
+
}),
|
|
767
|
+
["realm"]: definePlural({
|
|
768
|
+
one: "Dominio",
|
|
769
|
+
other: "Dominios"
|
|
770
|
+
}),
|
|
771
|
+
["robot"]: definePlural({
|
|
772
|
+
one: "Robot",
|
|
773
|
+
other: "Robots"
|
|
774
|
+
}),
|
|
775
|
+
["role"]: definePlural({
|
|
776
|
+
one: "Rol",
|
|
777
|
+
other: "Roles"
|
|
778
|
+
}),
|
|
779
|
+
["scope"]: definePlural({
|
|
780
|
+
one: "Ámbito",
|
|
781
|
+
other: "Ámbitos"
|
|
782
|
+
}),
|
|
783
|
+
["user"]: definePlural({
|
|
784
|
+
one: "Usuario",
|
|
785
|
+
other: "Usuarios"
|
|
786
|
+
})
|
|
787
|
+
};
|
|
788
|
+
//#endregion
|
|
789
|
+
//#region src/catalogs/es/error.ts
|
|
790
|
+
const TranslatorTranslationErrorSpanish = {
|
|
791
|
+
[ErrorCode.BAD_REQUEST]: "No se pudo procesar la solicitud.",
|
|
792
|
+
[ErrorCode.INTERNAL_ERROR]: "Se produjo un error inesperado. Inténtelo de nuevo más tarde.",
|
|
793
|
+
[ErrorCode.HTTP_HEADER_AUTH_TYPE_UNSUPPORTED]: "El tipo de encabezado de autorización no es compatible.",
|
|
794
|
+
[ErrorCode.HTTP_BEARER_TOKEN_MALFORMED]: "El token bearer tiene un formato incorrecto.",
|
|
795
|
+
[ErrorCode.IDENTITY_UNAUTHORIZED]: "No está autenticado.",
|
|
796
|
+
[ErrorCode.ENTITY_CREDENTIALS_INVALID]: "Las credenciales proporcionadas no son válidas.",
|
|
797
|
+
[ErrorCode.ENTITY_INACTIVE]: "La entidad está inactiva.",
|
|
798
|
+
[ErrorCode.ENTITY_NOT_FOUND]: "No se pudo encontrar la entidad solicitada.",
|
|
799
|
+
[ErrorCode.ENTITY_CONFLICT]: "Ya existe una entidad con estos datos.",
|
|
800
|
+
[ErrorCode.ENTITY_RELATION_INVALID]: "Una relación referenciada no es válida.",
|
|
801
|
+
[ErrorCode.REGISTRATION_DISABLED]: "El registro está deshabilitado actualmente.",
|
|
802
|
+
[ErrorCode.PASSWORD_RECOVERY_DISABLED]: "La recuperación de contraseña está deshabilitada actualmente.",
|
|
803
|
+
[ErrorCode.EMAIL_VERIFICATION_REQUIRED]: "Primero debe verificar su dirección de correo electrónico.",
|
|
804
|
+
[ErrorCode.RESET_TOKEN_EXPIRED]: "El token de restablecimiento ha caducado. Solicite uno nuevo.",
|
|
805
|
+
[ErrorCode.STORAGE_INSUFFICIENT]: "No hay suficiente almacenamiento disponible para completar esta acción.",
|
|
806
|
+
[ErrorCode.JWK_INVALID]: "La clave web JSON no es válida.",
|
|
807
|
+
[ErrorCode.JWK_NOT_FOUND]: "No se pudo encontrar la clave web JSON.",
|
|
808
|
+
[ErrorCode.JWT_INVALID]: "El token no es válido.",
|
|
809
|
+
[ErrorCode.JWT_INACTIVE]: "El token aún no está activo.",
|
|
810
|
+
[ErrorCode.JWT_EXPIRED]: "El token ha caducado. Inicie sesión de nuevo.",
|
|
811
|
+
[ErrorCode.OAUTH_REDIRECT_URI_MISMATCH]: "La URI de redirección no coincide.",
|
|
812
|
+
[ErrorCode.OAUTH_CLIENT_INVALID]: "El cliente no es válido.",
|
|
813
|
+
[ErrorCode.OAUTH_GRANT_INVALID]: "La concesión de autorización no es válida.",
|
|
814
|
+
[ErrorCode.OAUTH_GRANT_TYPE_UNSUPPORTED]: "El tipo de concesión no es compatible.",
|
|
815
|
+
[ErrorCode.OAUTH_REQUEST_INVALID]: "La solicitud no es válida.",
|
|
816
|
+
[ErrorCode.OAUTH_RESPONSE_TYPE_UNSUPPORTED]: "El tipo de respuesta no es compatible.",
|
|
817
|
+
[ErrorCode.OAUTH_SCOPE_INVALID]: "El ámbito solicitado no es válido.",
|
|
818
|
+
[ErrorCode.OAUTH_SCOPE_INSUFFICIENT]: "El ámbito concedido es insuficiente para esta acción.",
|
|
819
|
+
[ErrorCode.PERMISSION_NOT_FOUND]: "No se pudo encontrar el permiso.",
|
|
820
|
+
[ErrorCode.PERMISSION_DENIED]: "No tiene permiso para realizar esta acción.",
|
|
821
|
+
[ErrorCode.PERMISSION_EVALUATION_FAILED]: "No se pudo evaluar el permiso.",
|
|
822
|
+
[ErrorCode.POLICY_EVALUATOR_NOT_FOUND]: "No se encontró ningún evaluador para esta política.",
|
|
823
|
+
[ErrorCode.POLICY_EVALUATOR_NOT_PROCESSABLE]: "No se pudo procesar esta política.",
|
|
824
|
+
[ErrorCode.POLICY_EVALUATOR_CONTEXT_INVALID]: "El contexto de evaluación de la política no es válido."
|
|
825
|
+
};
|
|
826
|
+
//#endregion
|
|
827
|
+
//#region src/catalogs/es/field.ts
|
|
828
|
+
const TranslatorTranslationFieldSpanish = {
|
|
829
|
+
["name"]: "Nombre",
|
|
830
|
+
["displayName"]: "Nombre para mostrar",
|
|
831
|
+
["email"]: "Correo electrónico",
|
|
832
|
+
["externalId"]: "ID externo",
|
|
833
|
+
["description"]: "Descripción",
|
|
834
|
+
["secret"]: "Secreto",
|
|
835
|
+
["redirectUris"]: "URI(s) de redirección",
|
|
836
|
+
["password"]: "Contraseña",
|
|
837
|
+
["decisionStrategy"]: "Estrategia de decisión",
|
|
838
|
+
["hashed"]: "Con hash",
|
|
839
|
+
["url"]: "URL",
|
|
840
|
+
["clientScopes"]: "Ámbitos del cliente",
|
|
841
|
+
["start"]: "Inicio",
|
|
842
|
+
["end"]: "Fin",
|
|
843
|
+
["interval"]: "Intervalo",
|
|
844
|
+
["dayOfWeek"]: "Día de la semana",
|
|
845
|
+
["dayOfMonth"]: "Día del mes",
|
|
846
|
+
["dayOfYear"]: "Día del año",
|
|
847
|
+
["valueIsRegex"]: "¿Es el valor un patrón regex?"
|
|
848
|
+
};
|
|
849
|
+
//#endregion
|
|
850
|
+
//#region src/catalogs/es/vuecs.ts
|
|
851
|
+
const TranslatorTranslationVuecsSpanish = { ["noMore"]: "No hay más {{name}} disponibles" };
|
|
852
|
+
//#endregion
|
|
853
|
+
//#region src/catalogs/index.ts
|
|
854
|
+
/**
|
|
855
|
+
* Assemble one locale into the ilingo descriptor tree. Centralising the
|
|
856
|
+
* namespace wiring here means the namespace → translations mapping lives
|
|
857
|
+
* in exactly one place; per-locale call sites only supply the data.
|
|
858
|
+
*/
|
|
859
|
+
function defineAuthupLocale(code, namespaces) {
|
|
860
|
+
return defineLocale(code, [
|
|
861
|
+
defineNamespace("authupEntity", [defineTranslations(namespaces.entity)]),
|
|
862
|
+
defineNamespace("authupField", [defineTranslations(namespaces.field)]),
|
|
863
|
+
defineNamespace("authupAction", [defineTranslations(namespaces.action)]),
|
|
864
|
+
defineNamespace("authupCommon", [defineTranslations(namespaces.common)]),
|
|
865
|
+
defineNamespace("authupClient", [defineTranslations(namespaces.client)]),
|
|
866
|
+
defineNamespace("authupApp", [defineTranslations(namespaces.app)]),
|
|
867
|
+
defineNamespace("vuecs", [defineTranslations(namespaces.vuecs)]),
|
|
868
|
+
defineNamespace("authupError", [defineTranslations(namespaces.error)])
|
|
869
|
+
]);
|
|
870
|
+
}
|
|
871
|
+
/**
|
|
872
|
+
* Authored catalogs as an ilingo `CatalogNode` — the canonical ingestion
|
|
873
|
+
* format consumed directly by `MemoryStore({ data })`. Built via ilingo's
|
|
874
|
+
* own `define*` helpers so the descriptor shape (and namespace names) are
|
|
875
|
+
* validated by ilingo's types rather than reconstructed by each consumer.
|
|
876
|
+
*
|
|
877
|
+
* All locales declared in `LOCALES` (`en`, `de`, `fr`, `es`) are authored
|
|
878
|
+
* here. The locale-parity test walks this node tree to enforce that every
|
|
879
|
+
* authored locale provides exactly the canonical key set per namespace.
|
|
880
|
+
*
|
|
881
|
+
* Eager today; a later phase converts the per-locale values to a
|
|
882
|
+
* `LoaderStore` with dynamic `import()` loaders so non-default locales
|
|
883
|
+
* code-split out of the default bundle.
|
|
884
|
+
*/
|
|
885
|
+
const CATALOGS = defineCatalog([
|
|
886
|
+
defineAuthupLocale("en", {
|
|
887
|
+
entity: TranslatorTranslationEntityEnglish,
|
|
888
|
+
field: TranslatorTranslationFieldEnglish,
|
|
889
|
+
action: TranslatorTranslationActionEnglish,
|
|
890
|
+
common: TranslatorTranslationCommonEnglish,
|
|
891
|
+
client: TranslatorTranslationClientEnglish,
|
|
892
|
+
app: TranslatorTranslationAppEnglish,
|
|
893
|
+
vuecs: TranslatorTranslationVuecsEnglish,
|
|
894
|
+
error: TranslatorTranslationErrorEnglish
|
|
895
|
+
}),
|
|
896
|
+
defineAuthupLocale("de", {
|
|
897
|
+
entity: TranslatorTranslationEntityGerman,
|
|
898
|
+
field: TranslatorTranslationFieldGerman,
|
|
899
|
+
action: TranslatorTranslationActionGerman,
|
|
900
|
+
common: TranslatorTranslationCommonGerman,
|
|
901
|
+
client: TranslatorTranslationClientGerman,
|
|
902
|
+
app: TranslatorTranslationAppGerman,
|
|
903
|
+
vuecs: TranslatorTranslationVuecsGerman,
|
|
904
|
+
error: TranslatorTranslationErrorGerman
|
|
905
|
+
}),
|
|
906
|
+
defineAuthupLocale("fr", {
|
|
907
|
+
entity: TranslatorTranslationEntityFrench,
|
|
908
|
+
field: TranslatorTranslationFieldFrench,
|
|
909
|
+
action: TranslatorTranslationActionFrench,
|
|
910
|
+
common: TranslatorTranslationCommonFrench,
|
|
911
|
+
client: TranslatorTranslationClientFrench,
|
|
912
|
+
app: TranslatorTranslationAppFrench,
|
|
913
|
+
vuecs: TranslatorTranslationVuecsFrench,
|
|
914
|
+
error: TranslatorTranslationErrorFrench
|
|
915
|
+
}),
|
|
916
|
+
defineAuthupLocale("es", {
|
|
917
|
+
entity: TranslatorTranslationEntitySpanish,
|
|
918
|
+
field: TranslatorTranslationFieldSpanish,
|
|
919
|
+
action: TranslatorTranslationActionSpanish,
|
|
920
|
+
common: TranslatorTranslationCommonSpanish,
|
|
921
|
+
client: TranslatorTranslationClientSpanish,
|
|
922
|
+
app: TranslatorTranslationAppSpanish,
|
|
923
|
+
vuecs: TranslatorTranslationVuecsSpanish,
|
|
924
|
+
error: TranslatorTranslationErrorSpanish
|
|
925
|
+
})
|
|
926
|
+
]);
|
|
927
|
+
//#endregion
|
|
928
|
+
//#region src/locales.ts
|
|
929
|
+
/**
|
|
930
|
+
* Locales authup ships translations for. `nativeName` is the language
|
|
931
|
+
* name in its own language — what the language switcher should display.
|
|
932
|
+
* Order is the display order in the switcher.
|
|
933
|
+
*
|
|
934
|
+
* All four (`en`, `de`, `fr`, `es`) are authored fully in `CATALOGS`;
|
|
935
|
+
* the locale-parity test enforces that each provides exactly the
|
|
936
|
+
* canonical key set per namespace. BCP-47 narrowing (`de-AT` → `de`)
|
|
937
|
+
* plus the `DEFAULT_LOCALE` fallback still resolves any unauthored
|
|
938
|
+
* variant to a supported base locale.
|
|
939
|
+
*/
|
|
940
|
+
const LOCALES = [
|
|
941
|
+
{
|
|
942
|
+
code: "en",
|
|
943
|
+
nativeName: "English"
|
|
944
|
+
},
|
|
945
|
+
{
|
|
946
|
+
code: "de",
|
|
947
|
+
nativeName: "Deutsch"
|
|
948
|
+
},
|
|
949
|
+
{
|
|
950
|
+
code: "fr",
|
|
951
|
+
nativeName: "Français"
|
|
952
|
+
},
|
|
953
|
+
{
|
|
954
|
+
code: "es",
|
|
955
|
+
nativeName: "Español"
|
|
956
|
+
}
|
|
957
|
+
];
|
|
958
|
+
/**
|
|
959
|
+
* Ultimate fallback locale. BCP-47 narrowing (`de-AT` → `de`) plus this
|
|
960
|
+
* fallback (`→ en`) is handled by ilingo's resolver.
|
|
961
|
+
*/
|
|
962
|
+
const DEFAULT_LOCALE = "en";
|
|
963
|
+
const LOCALE_CODES = LOCALES.map((locale) => locale.code);
|
|
964
|
+
function isLocale(input) {
|
|
965
|
+
return typeof input === "string" && LOCALE_CODES.includes(input);
|
|
966
|
+
}
|
|
967
|
+
//#endregion
|
|
968
|
+
export { CATALOGS, DEFAULT_LOCALE, LOCALES, LOCALE_CODES, TranslatorTranslationActionEnglish, TranslatorTranslationActionFrench, TranslatorTranslationActionGerman, TranslatorTranslationActionKey, TranslatorTranslationActionSpanish, TranslatorTranslationAppEnglish, TranslatorTranslationAppFrench, TranslatorTranslationAppGerman, TranslatorTranslationAppKey, TranslatorTranslationAppSpanish, TranslatorTranslationClientEnglish, TranslatorTranslationClientFrench, TranslatorTranslationClientGerman, TranslatorTranslationClientKey, TranslatorTranslationClientSpanish, TranslatorTranslationCommonEnglish, TranslatorTranslationCommonFrench, TranslatorTranslationCommonGerman, TranslatorTranslationCommonKey, TranslatorTranslationCommonSpanish, TranslatorTranslationEntityEnglish, TranslatorTranslationEntityFrench, TranslatorTranslationEntityGerman, TranslatorTranslationEntityKey, TranslatorTranslationEntitySpanish, TranslatorTranslationErrorEnglish, TranslatorTranslationErrorFrench, TranslatorTranslationErrorGerman, TranslatorTranslationErrorSpanish, TranslatorTranslationFieldEnglish, TranslatorTranslationFieldFrench, TranslatorTranslationFieldGerman, TranslatorTranslationFieldKey, TranslatorTranslationFieldSpanish, TranslatorTranslationNamespace, TranslatorTranslationVuecsEnglish, TranslatorTranslationVuecsFrench, TranslatorTranslationVuecsGerman, TranslatorTranslationVuecsKey, TranslatorTranslationVuecsSpanish, isLocale };
|
|
969
|
+
|
|
970
|
+
//# sourceMappingURL=index.mjs.map
|