@syware/jlib 0.8.0 → 0.9.0
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 +2 -1
- package/dist/all.js +2 -2
- package/dist/atoms/jl-chip.d.ts +1 -0
- package/dist/atoms/jl-chip.js +4 -2
- package/dist/atoms/jl-input.d.ts +2 -0
- package/dist/atoms/jl-input.js +9 -3
- package/dist/atoms/jl-rating.d.ts +2 -0
- package/dist/atoms/jl-rating.js +13 -5
- package/dist/atoms/jl-spinner.d.ts +2 -0
- package/dist/atoms/jl-spinner.js +6 -2
- package/dist/base/jl-element.d.ts +6 -0
- package/dist/base/jl-element.js +5 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/lib/texts-de.d.ts +108 -0
- package/dist/lib/texts-de.js +111 -0
- package/dist/lib/texts-fr.d.ts +108 -0
- package/dist/lib/texts-fr.js +111 -0
- package/dist/lib/texts.d.ts +177 -91
- package/dist/lib/texts.js +174 -9
- package/dist/molecules/jl-alert.d.ts +1 -0
- package/dist/molecules/jl-alert.js +4 -2
- package/dist/molecules/jl-breadcrumb.d.ts +2 -0
- package/dist/molecules/jl-breadcrumb.js +12 -6
- package/dist/molecules/jl-calendar.d.ts +1 -0
- package/dist/molecules/jl-calendar.js +7 -4
- package/dist/molecules/jl-chip-group.d.ts +1 -0
- package/dist/molecules/jl-chip-group.js +4 -1
- package/dist/molecules/jl-code-block.js +1 -1
- package/dist/molecules/jl-combobox.d.ts +3 -1
- package/dist/molecules/jl-combobox.js +12 -7
- package/dist/molecules/jl-copy-button.d.ts +1 -0
- package/dist/molecules/jl-copy-button.js +7 -5
- package/dist/molecules/jl-date-picker.d.ts +1 -0
- package/dist/molecules/jl-date-picker.js +10 -7
- package/dist/molecules/jl-file-drop.d.ts +1 -0
- package/dist/molecules/jl-file-drop.js +15 -6
- package/dist/molecules/jl-input-list.d.ts +3 -2
- package/dist/molecules/jl-input-list.js +10 -7
- package/dist/molecules/jl-load-more.d.ts +4 -2
- package/dist/molecules/jl-load-more.js +15 -8
- package/dist/molecules/jl-load-state.d.ts +4 -0
- package/dist/molecules/jl-load-state.js +13 -9
- package/dist/molecules/jl-number-input.d.ts +1 -0
- package/dist/molecules/jl-number-input.js +6 -3
- package/dist/molecules/jl-pagination.d.ts +2 -0
- package/dist/molecules/jl-pagination.js +17 -9
- package/dist/molecules/jl-radio-group.d.ts +1 -0
- package/dist/molecules/jl-radio-group.js +4 -1
- package/dist/molecules/jl-search-button.d.ts +2 -1
- package/dist/molecules/jl-search-button.js +6 -4
- package/dist/molecules/jl-search.d.ts +2 -0
- package/dist/molecules/jl-search.js +9 -3
- package/dist/molecules/jl-steps.d.ts +2 -0
- package/dist/molecules/jl-steps.js +9 -4
- package/dist/molecules/jl-tag-input.d.ts +1 -0
- package/dist/molecules/jl-tag-input.js +8 -4
- package/dist/molecules/jl-toast.d.ts +1 -0
- package/dist/molecules/jl-toast.js +4 -2
- package/dist/organisms/jl-command-palette.d.ts +3 -1
- package/dist/organisms/jl-command-palette.js +13 -11
- package/dist/organisms/jl-confirm.d.ts +3 -0
- package/dist/organisms/jl-confirm.js +12 -11
- package/dist/organisms/jl-dialog.d.ts +1 -0
- package/dist/organisms/jl-dialog.js +4 -2
- package/dist/organisms/jl-drawer.d.ts +1 -0
- package/dist/organisms/jl-drawer.js +4 -2
- package/dist/organisms/jl-flow.d.ts +2 -0
- package/dist/organisms/jl-flow.js +25 -16
- package/dist/organisms/jl-navbar.d.ts +3 -0
- package/dist/organisms/jl-navbar.js +16 -7
- package/dist/organisms/jl-side-nav.d.ts +4 -2
- package/dist/organisms/jl-side-nav.js +17 -11
- package/dist/organisms/jl-tab-bar.d.ts +1 -0
- package/dist/organisms/jl-tab-bar.js +5 -2
- package/dist/organisms/jl-table.d.ts +2 -1
- package/dist/organisms/jl-table.js +9 -6
- package/dist/organisms/jl-toaster.d.ts +2 -1
- package/dist/organisms/jl-toaster.js +12 -9
- package/dist/organisms/jl-tree.d.ts +6 -4
- package/dist/organisms/jl-tree.js +21 -15
- package/dist/templates/jl-app-shell.d.ts +1 -0
- package/dist/templates/jl-app-shell.js +4 -2
- package/dist/templates/jl-auth-layout.d.ts +4 -3
- package/dist/templates/jl-auth-layout.js +13 -11
- package/dist/templates/jl-page.d.ts +1 -0
- package/dist/templates/jl-page.js +4 -1
- package/dist/templates/jl-split-view.d.ts +1 -0
- package/dist/templates/jl-split-view.js +5 -4
- package/dist/types/texts.types.d.ts +29 -4
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -105,7 +105,8 @@ npm version patch
|
|
|
105
105
|
git push --follow-tags
|
|
106
106
|
```
|
|
107
107
|
|
|
108
|
-
|
|
108
|
+
Then a maintainer starts **Publish to npm** in the Actions tab for the tag (`gh workflow run publish.yml -f
|
|
109
|
+
tag=vX.Y.Z`): it stages the version on npm and creates the GitHub release, and they approve it with
|
|
109
110
|
`npm stage approve`. Every step, pre-releases and what to do when something fails: [RELEASING.md](RELEASING.md).
|
|
110
111
|
What changed in each version: [CHANGELOG.md](CHANGELOG.md).
|
|
111
112
|
|
package/dist/all.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { DEFAULT_TEXTS, JL_LANGUAGES, jlText, jlTexts } from "./lib/texts.js";
|
|
1
2
|
import { BASE_STYLES, CONTROL_STYLES, FLOATING_STYLES, TOKEN_STYLES } from "./styles/shared.js";
|
|
2
3
|
import { adoptTokens } from "./lib/tokens.js";
|
|
3
4
|
import { JlElement } from "./base/jl-element.js";
|
|
@@ -10,7 +11,6 @@ import { hasIcon, iconElement, iconNames, registerIcons } from "./lib/icons.js";
|
|
|
10
11
|
import { CONTROL_SIZES, TONES, TONE_ICONS, TONE_ICON_FILLED } from "./lib/options.js";
|
|
11
12
|
import { cellOf } from "./lib/table.js";
|
|
12
13
|
import { formatDuration, formatRelativeTime } from "./lib/time.js";
|
|
13
|
-
import { DEFAULT_TEXTS, jlText, setTexts } from "./lib/texts.js";
|
|
14
14
|
import { JlIcon } from "./atoms/jl-icon.js";
|
|
15
15
|
import { JlAppIcon, setFavicon } from "./atoms/jl-app-icon.js";
|
|
16
16
|
import { AVATAR_SHAPES, AVATAR_SIZES, AVATAR_STATUSES, JlAvatar } from "./atoms/jl-avatar.js";
|
|
@@ -87,4 +87,4 @@ import { JlSplitView, SPLIT_ORIENTATIONS, SPLIT_PANES } from "./templates/jl-spl
|
|
|
87
87
|
// src/all.ts
|
|
88
88
|
registerIcons(COMMON_ICONS);
|
|
89
89
|
define(JlAccordion, JlAccordionItem, JlAccountButton, JlAlert, JlAppIcon, JlAppShell, JlAuthLayout, JlAvatar, JlAvatarGroup, JlBadge, JlBreadcrumb, JlButton, JlCalendar, JlCard, JlCheckbox, JlChip, JlChipGroup, JlCodeBlock, JlCombobox, JlCommandPalette, JlConfirm, JlCopyButton, JlDatePicker, JlDialog, JlDivider, JlDrawer, JlEmpty, JlFacts, JlField, JlFileDrop, JlFlow, JlIcon, JlInput, JlInputList, JlKbd, JlLink, JlListItem, JlLoadMore, JlLoadState, JlMenu, JlNavbar, JlNumberInput, JlPage, JlPageHeader, JlPagination, JlPopover, JlProgress, JlProgressRing, JlRadioGroup, JlRating, JlSearch, JlSearchButton, JlSegmented, JlSelect, JlSideNav, JlSkeleton, JlSlider, JlSpinner, JlSplitView, JlStat, JlSteps, JlSwitch, JlTabBar, JlTable, JlTabPanel, JlTabs, JlTagInput, JlTextarea, JlTimeline, JlToast, JlToaster, JlTooltip, JlTree);
|
|
90
|
-
export { ACCORDION_VARIANTS, AVATAR_SHAPES, AVATAR_SIZES, AVATAR_STATUSES, BASE_STYLES, BUTTON_TYPES, BUTTON_VARIANTS, CARD_PADDINGS, CHIP_SIZES, CODE_LANGUAGES, COMMON_ICONS, CONFIRM_TONES, CONTROL_SIZES, CONTROL_STYLES, DEFAULT_TEXTS, DIALOG_SIZES, DIVIDER_ALIGNS, DRAWER_PLACEMENTS, DRAWER_SIZES, EMPTY_SIZES, FACTS_ORIENTATIONS, FIELD_ORIENTATIONS, FLOATING_STYLES, INPUT_TYPES, JlAccordion, JlAccordionItem, JlAccountButton, JlAlert, JlAppIcon, JlAppShell, JlAuthLayout, JlAvatar, JlAvatarGroup, JlBadge, JlBreadcrumb, JlButton, JlCalendar, JlCard, JlCheckbox, JlChip, JlChipGroup, JlCodeBlock, JlCombobox, JlCommandPalette, JlConfirm, JlCopyButton, JlDatePicker, JlDialog, JlDivider, JlDrawer, JlElement, JlEmpty, JlFacts, JlField, JlFileDrop, JlFlow, JlFormControl, JlIcon, JlInput, JlInputList, JlKbd, JlLink, JlListItem, JlLoadMore, JlLoadState, JlMenu, JlNavbar, JlNumberInput, JlPage, JlPageHeader, JlPagination, JlPopover, JlProgress, JlProgressRing, JlRadioGroup, JlRating, JlSearch, JlSearchButton, JlSegmented, JlSelect, JlSideNav, JlSkeleton, JlSlider, JlSpinner, JlSplitView, JlStat, JlSteps, JlSwitch, JlTabBar, JlTabPanel, JlTable, JlTabs, JlTagInput, JlTextarea, JlTimeline, JlToast, JlToaster, JlTooltip, JlTree, LINK_VARIANTS, LOAD_SKELETONS, LOAD_STATES, PAGE_WIDTHS, PLACEMENTS, PROGRESS_SIZES, PROGRESS_TONES, RADIO_GROUP_ORIENTATIONS, RADIO_GROUP_VARIANTS, SKELETON_SHAPES, SPLIT_ORIENTATIONS, SPLIT_PANES, STAT_TRENDS, STEPS_ORIENTATIONS, SWITCH_SIZES, TABLE_EXPANSIONS, TABLE_SORT_DIRECTIONS, TAB_VARIANTS, TOASTER_PLACEMENTS, TOAST_TONES, TOKEN_STYLES, TONES, TONE_ICONS, TONE_ICON_FILLED, adoptTokens, cellOf, clampedNumber, computePosition, confirmDialog, define, download, downloadTexts, followAnchor, formatDuration, formatRelativeTime, guardLeave, hasIcon, iconElement, iconNames, jlText, jsonOf, oneOf, placeFloating, registerIcons, setFavicon,
|
|
90
|
+
export { ACCORDION_VARIANTS, AVATAR_SHAPES, AVATAR_SIZES, AVATAR_STATUSES, BASE_STYLES, BUTTON_TYPES, BUTTON_VARIANTS, CARD_PADDINGS, CHIP_SIZES, CODE_LANGUAGES, COMMON_ICONS, CONFIRM_TONES, CONTROL_SIZES, CONTROL_STYLES, DEFAULT_TEXTS, DIALOG_SIZES, DIVIDER_ALIGNS, DRAWER_PLACEMENTS, DRAWER_SIZES, EMPTY_SIZES, FACTS_ORIENTATIONS, FIELD_ORIENTATIONS, FLOATING_STYLES, INPUT_TYPES, JL_LANGUAGES, JlAccordion, JlAccordionItem, JlAccountButton, JlAlert, JlAppIcon, JlAppShell, JlAuthLayout, JlAvatar, JlAvatarGroup, JlBadge, JlBreadcrumb, JlButton, JlCalendar, JlCard, JlCheckbox, JlChip, JlChipGroup, JlCodeBlock, JlCombobox, JlCommandPalette, JlConfirm, JlCopyButton, JlDatePicker, JlDialog, JlDivider, JlDrawer, JlElement, JlEmpty, JlFacts, JlField, JlFileDrop, JlFlow, JlFormControl, JlIcon, JlInput, JlInputList, JlKbd, JlLink, JlListItem, JlLoadMore, JlLoadState, JlMenu, JlNavbar, JlNumberInput, JlPage, JlPageHeader, JlPagination, JlPopover, JlProgress, JlProgressRing, JlRadioGroup, JlRating, JlSearch, JlSearchButton, JlSegmented, JlSelect, JlSideNav, JlSkeleton, JlSlider, JlSpinner, JlSplitView, JlStat, JlSteps, JlSwitch, JlTabBar, JlTabPanel, JlTable, JlTabs, JlTagInput, JlTextarea, JlTimeline, JlToast, JlToaster, JlTooltip, JlTree, LINK_VARIANTS, LOAD_SKELETONS, LOAD_STATES, PAGE_WIDTHS, PLACEMENTS, PROGRESS_SIZES, PROGRESS_TONES, RADIO_GROUP_ORIENTATIONS, RADIO_GROUP_VARIANTS, SKELETON_SHAPES, SPLIT_ORIENTATIONS, SPLIT_PANES, STAT_TRENDS, STEPS_ORIENTATIONS, SWITCH_SIZES, TABLE_EXPANSIONS, TABLE_SORT_DIRECTIONS, TAB_VARIANTS, TOASTER_PLACEMENTS, TOAST_TONES, TOKEN_STYLES, TONES, TONE_ICONS, TONE_ICON_FILLED, adoptTokens, cellOf, clampedNumber, computePosition, confirmDialog, define, download, downloadTexts, followAnchor, formatDuration, formatRelativeTime, guardLeave, hasIcon, iconElement, iconNames, jlText, jlTexts, jsonOf, oneOf, placeFloating, registerIcons, setFavicon, toast };
|
package/dist/atoms/jl-chip.d.ts
CHANGED
package/dist/atoms/jl-chip.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { jlText } from "../lib/texts.js";
|
|
1
2
|
import { BASE_STYLES } from "../styles/shared.js";
|
|
2
3
|
import { JlElement } from "../base/jl-element.js";
|
|
3
4
|
import { oneOf } from "../lib/attributes.js";
|
|
4
5
|
import { registerIcons } from "../lib/icons.js";
|
|
5
|
-
import { jlText } from "../lib/texts.js";
|
|
6
6
|
import { JlIcon } from "./jl-icon.js";
|
|
7
7
|
import { isActivationKey } from "../lib/surface.js";
|
|
8
8
|
import jl_chip_default from "./jl-chip.css_raw.js";
|
|
@@ -92,7 +92,6 @@ var JlChip = class extends JlElement {
|
|
|
92
92
|
}), /* @__PURE__ */ jsx("button", {
|
|
93
93
|
class: "dismiss",
|
|
94
94
|
type: "button",
|
|
95
|
-
"aria-label": jlText("remove"),
|
|
96
95
|
hidden: true,
|
|
97
96
|
children: /* @__PURE__ */ jsx(JlIcon, { name: "x" })
|
|
98
97
|
})]
|
|
@@ -150,6 +149,9 @@ var JlChip = class extends JlElement {
|
|
|
150
149
|
this._refs.icon.name.set(name);
|
|
151
150
|
this._refs.icon.hidden = name === "";
|
|
152
151
|
}
|
|
152
|
+
drawTexts() {
|
|
153
|
+
this.renderLabel();
|
|
154
|
+
}
|
|
153
155
|
renderLabel() {
|
|
154
156
|
const label = this.label.get();
|
|
155
157
|
this._refs.label.textContent = label;
|
package/dist/atoms/jl-input.d.ts
CHANGED
|
@@ -106,7 +106,9 @@ export declare class JlInput extends JlFormControl {
|
|
|
106
106
|
/** The browser calls it for a disabled fieldset and for the element's own disabled attribute, even before render. */
|
|
107
107
|
protected setDisabledByForm(disabled: boolean): void;
|
|
108
108
|
private clearValue;
|
|
109
|
+
protected drawTexts(): void;
|
|
109
110
|
private toggleReveal;
|
|
111
|
+
private renderRevealLabel;
|
|
110
112
|
private renderValue;
|
|
111
113
|
private renderType;
|
|
112
114
|
private renderDisabled;
|
package/dist/atoms/jl-input.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { jlText } from "../lib/texts.js";
|
|
1
2
|
import { BASE_STYLES, CONTROL_STYLES } from "../styles/shared.js";
|
|
2
3
|
import { JlFormControl } from "../base/jl-form-control.js";
|
|
3
4
|
import { oneOf } from "../lib/attributes.js";
|
|
4
5
|
import { registerIcons } from "../lib/icons.js";
|
|
5
6
|
import { CONTROL_SIZES } from "../lib/options.js";
|
|
6
|
-
import { jlText } from "../lib/texts.js";
|
|
7
7
|
import { JlIcon } from "./jl-icon.js";
|
|
8
8
|
import { setOrRemove } from "../lib/dom.js";
|
|
9
9
|
import jl_input_default from "./jl-input.css_raw.js";
|
|
@@ -108,7 +108,6 @@ var JlInput = class extends JlFormControl {
|
|
|
108
108
|
/* @__PURE__ */ jsx("button", {
|
|
109
109
|
class: "action clear",
|
|
110
110
|
type: "button",
|
|
111
|
-
"aria-label": jlText("clear"),
|
|
112
111
|
tabIndex: -1,
|
|
113
112
|
hidden: true,
|
|
114
113
|
children: /* @__PURE__ */ jsx(JlIcon, {
|
|
@@ -119,7 +118,6 @@ var JlInput = class extends JlFormControl {
|
|
|
119
118
|
/* @__PURE__ */ jsx("button", {
|
|
120
119
|
class: "action reveal",
|
|
121
120
|
type: "button",
|
|
122
|
-
"aria-label": jlText("showPassword"),
|
|
123
121
|
hidden: true,
|
|
124
122
|
children: /* @__PURE__ */ jsx(JlIcon, {
|
|
125
123
|
name: "eye",
|
|
@@ -159,11 +157,19 @@ var JlInput = class extends JlFormControl {
|
|
|
159
157
|
this.events.emit("change", "");
|
|
160
158
|
this.focus();
|
|
161
159
|
}
|
|
160
|
+
drawTexts() {
|
|
161
|
+
this._refs.clear.setAttribute("aria-label", jlText("clear"));
|
|
162
|
+
this.renderRevealLabel();
|
|
163
|
+
}
|
|
162
164
|
toggleReveal() {
|
|
163
165
|
const native = this._refs.native;
|
|
164
166
|
const revealed = native.type === PASSWORD;
|
|
165
167
|
native.type = revealed ? REVEALED : PASSWORD;
|
|
166
168
|
this._refs.revealIcon.name.set(revealed ? "eye-off" : "eye");
|
|
169
|
+
this.renderRevealLabel();
|
|
170
|
+
}
|
|
171
|
+
renderRevealLabel() {
|
|
172
|
+
const revealed = this._refs.native.type === REVEALED;
|
|
167
173
|
this._refs.reveal.setAttribute("aria-label", revealed ? jlText("hidePassword") : jlText("showPassword"));
|
|
168
174
|
}
|
|
169
175
|
renderValue(value) {
|
|
@@ -66,6 +66,8 @@ export declare class JlRating extends JlFormControl {
|
|
|
66
66
|
/** The value as the scale shows it: never past its end. */
|
|
67
67
|
private current;
|
|
68
68
|
private commit;
|
|
69
|
+
protected drawTexts(): void;
|
|
70
|
+
private renderLabel;
|
|
69
71
|
private renderIcons;
|
|
70
72
|
private renderValue;
|
|
71
73
|
private renderValidity;
|
package/dist/atoms/jl-rating.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { jlText } from "../lib/texts.js";
|
|
1
2
|
import { BASE_STYLES } from "../styles/shared.js";
|
|
2
3
|
import { JlFormControl } from "../base/jl-form-control.js";
|
|
3
4
|
import { clampedNumber, oneOf } from "../lib/attributes.js";
|
|
4
5
|
import { iconElement, registerIcons } from "../lib/icons.js";
|
|
5
6
|
import { CONTROL_SIZES } from "../lib/options.js";
|
|
6
|
-
import { jlText } from "../lib/texts.js";
|
|
7
7
|
import { ratingAfterChoice, ratingAfterKey } from "../lib/rating.js";
|
|
8
8
|
import jl_rating_default from "./jl-rating.css_raw.js";
|
|
9
9
|
import { css } from "@jadis/core";
|
|
@@ -49,9 +49,7 @@ var JlRating = class extends JlFormControl {
|
|
|
49
49
|
parse: oneOf(CONTROL_SIZES, "md")
|
|
50
50
|
});
|
|
51
51
|
/** The name screen readers give the scale. */
|
|
52
|
-
label = this.useChange(
|
|
53
|
-
this._refs.slider.setAttribute("aria-label", value === "" ? jlText("rating") : value);
|
|
54
|
-
}, { attribute: "label" });
|
|
52
|
+
label = this.useChange("", () => this.renderLabel(), { attribute: "label" });
|
|
55
53
|
required = this.useChange(false, (value) => {
|
|
56
54
|
this._refs.slider.toggleAttribute("aria-required", value);
|
|
57
55
|
this.renderValidity();
|
|
@@ -139,6 +137,13 @@ var JlRating = class extends JlFormControl {
|
|
|
139
137
|
this.value.set(value);
|
|
140
138
|
this.events.emit("change", value);
|
|
141
139
|
}
|
|
140
|
+
drawTexts() {
|
|
141
|
+
this.renderLabel();
|
|
142
|
+
this.renderValue();
|
|
143
|
+
}
|
|
144
|
+
renderLabel() {
|
|
145
|
+
this._refs.slider.setAttribute("aria-label", this.label.get() || jlText("rating"));
|
|
146
|
+
}
|
|
142
147
|
renderIcons() {
|
|
143
148
|
const name = this.icon.get() === "" ? "star" : this.icon.get();
|
|
144
149
|
const size = ICON_SIZES[this.size.get()];
|
|
@@ -160,7 +165,10 @@ var JlRating = class extends JlFormControl {
|
|
|
160
165
|
const slider = this._refs.slider;
|
|
161
166
|
slider.setAttribute("aria-valuenow", String(value));
|
|
162
167
|
slider.setAttribute("aria-valuemax", String(max));
|
|
163
|
-
slider.setAttribute("aria-valuetext", value === 0 ? "
|
|
168
|
+
slider.setAttribute("aria-valuetext", value === 0 ? jlText("noRating") : jlText("ratingOf", {
|
|
169
|
+
max,
|
|
170
|
+
value
|
|
171
|
+
}));
|
|
164
172
|
this.internals.setFormValue(String(value));
|
|
165
173
|
this.renderValidity();
|
|
166
174
|
}
|
|
@@ -6,6 +6,7 @@ export declare class JlSpinner extends JlElement {
|
|
|
6
6
|
get(): number;
|
|
7
7
|
set(setter: number | ((prevState: number) => number)): void;
|
|
8
8
|
}>>;
|
|
9
|
+
/** What screen readers say; jlib's own text when empty. */
|
|
9
10
|
readonly label: Readonly<Readonly<{
|
|
10
11
|
get(): string;
|
|
11
12
|
set(setter: string | ((prevState: string) => string)): void;
|
|
@@ -13,4 +14,5 @@ export declare class JlSpinner extends JlElement {
|
|
|
13
14
|
private readonly _refs;
|
|
14
15
|
templateHtml(): Node;
|
|
15
16
|
templateCss(): string;
|
|
17
|
+
protected drawTexts(): void;
|
|
16
18
|
}
|
package/dist/atoms/jl-spinner.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { jlText } from "../lib/texts.js";
|
|
1
2
|
import { BASE_STYLES } from "../styles/shared.js";
|
|
2
3
|
import { JlElement } from "../base/jl-element.js";
|
|
3
|
-
import { jlText } from "../lib/texts.js";
|
|
4
4
|
import jl_spinner_default from "./jl-spinner.css_raw.js";
|
|
5
5
|
import { css } from "@jadis/core";
|
|
6
6
|
import { jsx } from "@jadis/core/jsx-runtime";
|
|
@@ -10,7 +10,8 @@ var DEFAULT_SIZE = 16;
|
|
|
10
10
|
var JlSpinner = class extends JlElement {
|
|
11
11
|
static selector = "jl-spinner";
|
|
12
12
|
size = this.useChange(DEFAULT_SIZE, (value) => this.style.setProperty("--size", `${value}px`), { attribute: "size" });
|
|
13
|
-
|
|
13
|
+
/** What screen readers say; jlib's own text when empty. */
|
|
14
|
+
label = this.useChange("", () => this.drawTexts(), { attribute: "label" });
|
|
14
15
|
_refs = this.useRefs((ref) => ({ ring: ref(".ring") }));
|
|
15
16
|
templateHtml() {
|
|
16
17
|
return /* @__PURE__ */ jsx("span", {
|
|
@@ -21,6 +22,9 @@ var JlSpinner = class extends JlElement {
|
|
|
21
22
|
templateCss() {
|
|
22
23
|
return css`${BASE_STYLES}${jl_spinner_default}`;
|
|
23
24
|
}
|
|
25
|
+
drawTexts() {
|
|
26
|
+
this._refs.ring.setAttribute("aria-label", this.label.get() || jlText("loading"));
|
|
27
|
+
}
|
|
24
28
|
};
|
|
25
29
|
JlSpinner.register();
|
|
26
30
|
export { JlSpinner };
|
|
@@ -4,6 +4,12 @@ import { Jadis } from '@jadis/core';
|
|
|
4
4
|
* JSON lists (`{ attribute: 'label' }`), so they work from HTML, from JSX and from code alike.
|
|
5
5
|
*/
|
|
6
6
|
export declare abstract class JlElement extends Jadis {
|
|
7
|
+
constructor();
|
|
8
|
+
/**
|
|
9
|
+
* Writes jlib's texts the component shows, with `jlText`. A component that has some defines it: it is called at
|
|
10
|
+
* every connection, once the template exists and before the browser paints, then at each change of jlib's language.
|
|
11
|
+
*/
|
|
12
|
+
protected drawTexts?(): void;
|
|
7
13
|
/** Defines the element, and gives the document the design tokens the first time. */
|
|
8
14
|
static register(): void;
|
|
9
15
|
/** Runs now when the template exists, otherwise as soon as the component connects. */
|
package/dist/base/jl-element.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { jlTexts } from "../lib/texts.js";
|
|
1
2
|
import { adoptTokens } from "../lib/tokens.js";
|
|
2
3
|
import { Jadis } from "@jadis/core";
|
|
3
4
|
// src/base/jl-element.ts
|
|
@@ -6,6 +7,10 @@ import { Jadis } from "@jadis/core";
|
|
|
6
7
|
* JSON lists (`{ attribute: 'label' }`), so they work from HTML, from JSX and from code alike.
|
|
7
8
|
*/
|
|
8
9
|
var JlElement = class extends Jadis {
|
|
10
|
+
constructor() {
|
|
11
|
+
super();
|
|
12
|
+
if (this.drawTexts) this.useTranslation(jlTexts, () => this.drawTexts?.());
|
|
13
|
+
}
|
|
9
14
|
/** Defines the element, and gives the document the design tokens the first time. */
|
|
10
15
|
static register() {
|
|
11
16
|
adoptTokens();
|
package/dist/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export { hasIcon, iconElement, iconNames, registerIcons } from './lib/icons';
|
|
|
8
8
|
export { CONTROL_SIZES, TONE_ICON_FILLED, TONE_ICONS, TONES } from './lib/options';
|
|
9
9
|
export { cellOf } from './lib/table';
|
|
10
10
|
export { formatDuration, formatRelativeTime } from './lib/time';
|
|
11
|
-
export { DEFAULT_TEXTS, jlText,
|
|
11
|
+
export { DEFAULT_TEXTS, JL_LANGUAGES, jlText, jlTexts } from './lib/texts';
|
|
12
12
|
export { adoptTokens } from './lib/tokens';
|
|
13
13
|
export { BASE_STYLES, CONTROL_STYLES, FLOATING_STYLES, TOKEN_STYLES } from './styles/shared';
|
|
14
14
|
export type * from './types/calendar.types';
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { DEFAULT_TEXTS, JL_LANGUAGES, jlText, jlTexts } from "./lib/texts.js";
|
|
1
2
|
import { BASE_STYLES, CONTROL_STYLES, FLOATING_STYLES, TOKEN_STYLES } from "./styles/shared.js";
|
|
2
3
|
import { adoptTokens } from "./lib/tokens.js";
|
|
3
4
|
import { JlElement } from "./base/jl-element.js";
|
|
@@ -10,7 +11,6 @@ import { hasIcon, iconElement, iconNames, registerIcons } from "./lib/icons.js";
|
|
|
10
11
|
import { CONTROL_SIZES, TONES, TONE_ICONS, TONE_ICON_FILLED } from "./lib/options.js";
|
|
11
12
|
import { cellOf } from "./lib/table.js";
|
|
12
13
|
import { formatDuration, formatRelativeTime } from "./lib/time.js";
|
|
13
|
-
import { DEFAULT_TEXTS, jlText, setTexts } from "./lib/texts.js";
|
|
14
14
|
import { JlIcon } from "./atoms/jl-icon.js";
|
|
15
15
|
import { JlAppIcon, setFavicon } from "./atoms/jl-app-icon.js";
|
|
16
16
|
import { AVATAR_SHAPES, AVATAR_SIZES, AVATAR_STATUSES, JlAvatar } from "./atoms/jl-avatar.js";
|
|
@@ -84,4 +84,4 @@ import { JlAppShell } from "./templates/jl-app-shell.js";
|
|
|
84
84
|
import { JlAuthLayout } from "./templates/jl-auth-layout.js";
|
|
85
85
|
import { JlPage, PAGE_WIDTHS } from "./templates/jl-page.js";
|
|
86
86
|
import { JlSplitView, SPLIT_ORIENTATIONS, SPLIT_PANES } from "./templates/jl-split-view.js";
|
|
87
|
-
export { ACCORDION_VARIANTS, AVATAR_SHAPES, AVATAR_SIZES, AVATAR_STATUSES, BASE_STYLES, BUTTON_TYPES, BUTTON_VARIANTS, CARD_PADDINGS, CHIP_SIZES, CODE_LANGUAGES, COMMON_ICONS, CONFIRM_TONES, CONTROL_SIZES, CONTROL_STYLES, DEFAULT_TEXTS, DIALOG_SIZES, DIVIDER_ALIGNS, DRAWER_PLACEMENTS, DRAWER_SIZES, EMPTY_SIZES, FACTS_ORIENTATIONS, FIELD_ORIENTATIONS, FLOATING_STYLES, INPUT_TYPES, JlAccordion, JlAccordionItem, JlAccountButton, JlAlert, JlAppIcon, JlAppShell, JlAuthLayout, JlAvatar, JlAvatarGroup, JlBadge, JlBreadcrumb, JlButton, JlCalendar, JlCard, JlCheckbox, JlChip, JlChipGroup, JlCodeBlock, JlCombobox, JlCommandPalette, JlConfirm, JlCopyButton, JlDatePicker, JlDialog, JlDivider, JlDrawer, JlElement, JlEmpty, JlFacts, JlField, JlFileDrop, JlFlow, JlFormControl, JlIcon, JlInput, JlInputList, JlKbd, JlLink, JlListItem, JlLoadMore, JlLoadState, JlMenu, JlNavbar, JlNumberInput, JlPage, JlPageHeader, JlPagination, JlPopover, JlProgress, JlProgressRing, JlRadioGroup, JlRating, JlSearch, JlSearchButton, JlSegmented, JlSelect, JlSideNav, JlSkeleton, JlSlider, JlSpinner, JlSplitView, JlStat, JlSteps, JlSwitch, JlTabBar, JlTabPanel, JlTable, JlTabs, JlTagInput, JlTextarea, JlTimeline, JlToast, JlToaster, JlTooltip, JlTree, LINK_VARIANTS, LOAD_SKELETONS, LOAD_STATES, PAGE_WIDTHS, PLACEMENTS, PROGRESS_SIZES, PROGRESS_TONES, RADIO_GROUP_ORIENTATIONS, RADIO_GROUP_VARIANTS, SKELETON_SHAPES, SPLIT_ORIENTATIONS, SPLIT_PANES, STAT_TRENDS, STEPS_ORIENTATIONS, SWITCH_SIZES, TABLE_EXPANSIONS, TABLE_SORT_DIRECTIONS, TAB_VARIANTS, TOASTER_PLACEMENTS, TOAST_TONES, TOKEN_STYLES, TONES, TONE_ICONS, TONE_ICON_FILLED, adoptTokens, cellOf, clampedNumber, computePosition, confirmDialog, define, download, downloadTexts, followAnchor, formatDuration, formatRelativeTime, guardLeave, hasIcon, iconElement, iconNames, jlText, jsonOf, oneOf, placeFloating, registerIcons, setFavicon,
|
|
87
|
+
export { ACCORDION_VARIANTS, AVATAR_SHAPES, AVATAR_SIZES, AVATAR_STATUSES, BASE_STYLES, BUTTON_TYPES, BUTTON_VARIANTS, CARD_PADDINGS, CHIP_SIZES, CODE_LANGUAGES, COMMON_ICONS, CONFIRM_TONES, CONTROL_SIZES, CONTROL_STYLES, DEFAULT_TEXTS, DIALOG_SIZES, DIVIDER_ALIGNS, DRAWER_PLACEMENTS, DRAWER_SIZES, EMPTY_SIZES, FACTS_ORIENTATIONS, FIELD_ORIENTATIONS, FLOATING_STYLES, INPUT_TYPES, JL_LANGUAGES, JlAccordion, JlAccordionItem, JlAccountButton, JlAlert, JlAppIcon, JlAppShell, JlAuthLayout, JlAvatar, JlAvatarGroup, JlBadge, JlBreadcrumb, JlButton, JlCalendar, JlCard, JlCheckbox, JlChip, JlChipGroup, JlCodeBlock, JlCombobox, JlCommandPalette, JlConfirm, JlCopyButton, JlDatePicker, JlDialog, JlDivider, JlDrawer, JlElement, JlEmpty, JlFacts, JlField, JlFileDrop, JlFlow, JlFormControl, JlIcon, JlInput, JlInputList, JlKbd, JlLink, JlListItem, JlLoadMore, JlLoadState, JlMenu, JlNavbar, JlNumberInput, JlPage, JlPageHeader, JlPagination, JlPopover, JlProgress, JlProgressRing, JlRadioGroup, JlRating, JlSearch, JlSearchButton, JlSegmented, JlSelect, JlSideNav, JlSkeleton, JlSlider, JlSpinner, JlSplitView, JlStat, JlSteps, JlSwitch, JlTabBar, JlTabPanel, JlTable, JlTabs, JlTagInput, JlTextarea, JlTimeline, JlToast, JlToaster, JlTooltip, JlTree, LINK_VARIANTS, LOAD_SKELETONS, LOAD_STATES, PAGE_WIDTHS, PLACEMENTS, PROGRESS_SIZES, PROGRESS_TONES, RADIO_GROUP_ORIENTATIONS, RADIO_GROUP_VARIANTS, SKELETON_SHAPES, SPLIT_ORIENTATIONS, SPLIT_PANES, STAT_TRENDS, STEPS_ORIENTATIONS, SWITCH_SIZES, TABLE_EXPANSIONS, TABLE_SORT_DIRECTIONS, TAB_VARIANTS, TOASTER_PLACEMENTS, TOAST_TONES, TOKEN_STYLES, TONES, TONE_ICONS, TONE_ICON_FILLED, adoptTokens, cellOf, clampedNumber, computePosition, confirmDialog, define, download, downloadTexts, followAnchor, formatDuration, formatRelativeTime, guardLeave, hasIcon, iconElement, iconNames, jlText, jlTexts, jsonOf, oneOf, placeFloating, registerIcons, setFavicon, toast };
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
/** jlib's texts in German. */
|
|
2
|
+
declare const _default: {
|
|
3
|
+
readonly addedNamed: "Hinzugefügt: {names}";
|
|
4
|
+
readonly addTag: "Fügen Sie mindestens ein Schlagwort hinzu.";
|
|
5
|
+
readonly addValue: "Wert hinzufügen";
|
|
6
|
+
readonly authOrigin: "Entwickelt in der Schweiz von SyWare";
|
|
7
|
+
readonly back: "Zurück";
|
|
8
|
+
readonly breadcrumb: "Brotkrümelnavigation";
|
|
9
|
+
readonly browse: "Durchsuchen";
|
|
10
|
+
readonly cancel: "Abbrechen";
|
|
11
|
+
readonly chooseDate: "Datum wählen";
|
|
12
|
+
readonly chooseDateFrom: "Wählen Sie den {date} oder später.";
|
|
13
|
+
readonly chooseDateMissing: "Wählen Sie ein Datum.";
|
|
14
|
+
readonly chooseDateUntil: "Wählen Sie den {date} oder früher.";
|
|
15
|
+
readonly chooseFile: "Wählen Sie eine Datei.";
|
|
16
|
+
readonly chooseOption: "Wählen Sie eine Option.";
|
|
17
|
+
readonly chooseRating: "Wählen Sie eine Bewertung.";
|
|
18
|
+
readonly chosenFiles: "Gewählte Dateien";
|
|
19
|
+
readonly clear: "Leeren";
|
|
20
|
+
readonly clearSearch: "Suche leeren";
|
|
21
|
+
readonly close: "Schließen";
|
|
22
|
+
readonly closeMenu: "Menü schließen";
|
|
23
|
+
readonly collapseMenu: "Menü einklappen";
|
|
24
|
+
readonly commandPalette: "Befehlspalette";
|
|
25
|
+
readonly commandPlaceholder: "Befehl eingeben oder suchen…";
|
|
26
|
+
readonly commands: "Befehle";
|
|
27
|
+
readonly confirm: "Bestätigen";
|
|
28
|
+
readonly copied: "Kopiert";
|
|
29
|
+
readonly copy: "Kopieren";
|
|
30
|
+
readonly decrease: "Verringern";
|
|
31
|
+
readonly details: "Details";
|
|
32
|
+
readonly detailsOf: "Details zu {name}";
|
|
33
|
+
readonly dismiss: "Schließen";
|
|
34
|
+
readonly downloadCancel: "Abbrechen";
|
|
35
|
+
readonly downloadFailed: "Nicht heruntergeladen: {error}";
|
|
36
|
+
readonly downloadPreparing: "Datei wird vorbereitet… {time}";
|
|
37
|
+
readonly downloadReceived: "{received} empfangen";
|
|
38
|
+
readonly downloadReceivedOf: "{received} von {total}";
|
|
39
|
+
readonly downloadSaved: "Gespeichert als {name}, {size}";
|
|
40
|
+
readonly dragToConnect: "Auf einen anderen Knoten ziehen, um sie zu verbinden";
|
|
41
|
+
readonly dropFile: "Datei hier ablegen";
|
|
42
|
+
readonly dropFiles: "Dateien hier ablegen";
|
|
43
|
+
readonly expandMenu: "Menü ausklappen";
|
|
44
|
+
readonly failedStep: ", fehlgeschlagen";
|
|
45
|
+
readonly fileTooLarge: "ist größer als {size}";
|
|
46
|
+
readonly fileTooMany: "ist eine zu viel: Das Feld nimmt nur eine Datei";
|
|
47
|
+
readonly fileUpTo: "bis {size}";
|
|
48
|
+
readonly fileWrongType: "ist kein zulässiger Typ ({types})";
|
|
49
|
+
readonly fillField: "Bitte füllen Sie dieses Feld aus.";
|
|
50
|
+
readonly fitView: "Alle Knoten anzeigen";
|
|
51
|
+
readonly flow: "Ablauf";
|
|
52
|
+
readonly flowEmpty: "Noch nichts hier.";
|
|
53
|
+
readonly hidePassword: "Passwort verbergen";
|
|
54
|
+
readonly increase: "Erhöhen";
|
|
55
|
+
readonly leave: "Verlassen";
|
|
56
|
+
readonly leaveHeading: "Ohne Speichern verlassen?";
|
|
57
|
+
readonly leaveText: "Ihre Änderungen gehen verloren.";
|
|
58
|
+
readonly loadError: "Das konnte nicht geladen werden.";
|
|
59
|
+
readonly loading: "Wird geladen";
|
|
60
|
+
readonly loadingMore: "Wird geladen…";
|
|
61
|
+
readonly loadStateError: "Prüfen Sie die Verbindung und versuchen Sie es erneut. Es wurde nichts geändert.";
|
|
62
|
+
readonly loadStateHeading: "Das konnte nicht geladen werden";
|
|
63
|
+
readonly mainNavigation: "Hauptnavigation";
|
|
64
|
+
readonly menu: "Menü";
|
|
65
|
+
readonly navigation: "Navigation";
|
|
66
|
+
readonly nextMonth: "Nächster Monat";
|
|
67
|
+
readonly nextPage: "Nächste Seite";
|
|
68
|
+
readonly noCommands: "Keine passenden Befehle";
|
|
69
|
+
readonly noData: "Keine Daten";
|
|
70
|
+
readonly node: "Knoten";
|
|
71
|
+
readonly noRating: "Keine Bewertung";
|
|
72
|
+
readonly noResults: "Keine Ergebnisse";
|
|
73
|
+
readonly notifications: "Benachrichtigungen";
|
|
74
|
+
readonly page: "Seite";
|
|
75
|
+
readonly pageNumber: "Seite {page}";
|
|
76
|
+
readonly pageOfTotal: "{page} von {total}";
|
|
77
|
+
readonly pagination: "Seitennavigation";
|
|
78
|
+
readonly previousMonth: "Vorheriger Monat";
|
|
79
|
+
readonly previousPage: "Vorherige Seite";
|
|
80
|
+
readonly progress: "Fortschritt";
|
|
81
|
+
readonly rating: "Bewertung";
|
|
82
|
+
readonly ratingOf: "{value} von {max}";
|
|
83
|
+
readonly remove: "Entfernen";
|
|
84
|
+
readonly removedNamed: "Entfernt: {name}";
|
|
85
|
+
readonly removeEdge: "Diese Verbindung entfernen";
|
|
86
|
+
readonly removeNamed: "{name} entfernen";
|
|
87
|
+
readonly removeValue: "Diesen Wert entfernen";
|
|
88
|
+
readonly resizePanes: "Größe der Bereiche ändern";
|
|
89
|
+
readonly retry: "Erneut versuchen";
|
|
90
|
+
readonly search: "Suchen";
|
|
91
|
+
readonly selectAllRows: "Alle Zeilen auswählen";
|
|
92
|
+
readonly selectNamed: "{name} auswählen";
|
|
93
|
+
readonly selectOption: "Bitte wählen Sie eine dieser Optionen.";
|
|
94
|
+
readonly shortcuts: "Schnellzugriff";
|
|
95
|
+
readonly showMore: "Mehr anzeigen";
|
|
96
|
+
readonly showMoreCount: "{count} weitere anzeigen";
|
|
97
|
+
readonly shownOfTotal: "{shown} von {total}";
|
|
98
|
+
readonly showOptions: "Optionen anzeigen";
|
|
99
|
+
readonly showPagesOf: "Seiten von {name} anzeigen";
|
|
100
|
+
readonly showPassword: "Passwort anzeigen";
|
|
101
|
+
readonly stay: "Weiter bearbeiten";
|
|
102
|
+
readonly stepCurrent: ", aktueller Schritt";
|
|
103
|
+
readonly stepDone: ", abgeschlossen";
|
|
104
|
+
readonly tidyLayout: "Anordnung aufräumen";
|
|
105
|
+
readonly zoomIn: "Vergrößern";
|
|
106
|
+
readonly zoomOut: "Verkleinern";
|
|
107
|
+
};
|
|
108
|
+
export default _default;
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { DEFAULT_TEXTS } from "./texts.js";
|
|
2
|
+
import { defineTranslations } from "@jadis/core";
|
|
3
|
+
// src/lib/texts-de.ts
|
|
4
|
+
/** jlib's texts in German. */
|
|
5
|
+
var texts_de_default = defineTranslations(DEFAULT_TEXTS, {
|
|
6
|
+
addedNamed: "Hinzugefügt: {names}",
|
|
7
|
+
addTag: "Fügen Sie mindestens ein Schlagwort hinzu.",
|
|
8
|
+
addValue: "Wert hinzufügen",
|
|
9
|
+
authOrigin: "Entwickelt in der Schweiz von SyWare",
|
|
10
|
+
back: "Zurück",
|
|
11
|
+
breadcrumb: "Brotkrümelnavigation",
|
|
12
|
+
browse: "Durchsuchen",
|
|
13
|
+
cancel: "Abbrechen",
|
|
14
|
+
chooseDate: "Datum wählen",
|
|
15
|
+
chooseDateFrom: "Wählen Sie den {date} oder später.",
|
|
16
|
+
chooseDateMissing: "Wählen Sie ein Datum.",
|
|
17
|
+
chooseDateUntil: "Wählen Sie den {date} oder früher.",
|
|
18
|
+
chooseFile: "Wählen Sie eine Datei.",
|
|
19
|
+
chooseOption: "Wählen Sie eine Option.",
|
|
20
|
+
chooseRating: "Wählen Sie eine Bewertung.",
|
|
21
|
+
chosenFiles: "Gewählte Dateien",
|
|
22
|
+
clear: "Leeren",
|
|
23
|
+
clearSearch: "Suche leeren",
|
|
24
|
+
close: "Schließen",
|
|
25
|
+
closeMenu: "Menü schließen",
|
|
26
|
+
collapseMenu: "Menü einklappen",
|
|
27
|
+
commandPalette: "Befehlspalette",
|
|
28
|
+
commandPlaceholder: "Befehl eingeben oder suchen…",
|
|
29
|
+
commands: "Befehle",
|
|
30
|
+
confirm: "Bestätigen",
|
|
31
|
+
copied: "Kopiert",
|
|
32
|
+
copy: "Kopieren",
|
|
33
|
+
decrease: "Verringern",
|
|
34
|
+
details: "Details",
|
|
35
|
+
detailsOf: "Details zu {name}",
|
|
36
|
+
dismiss: "Schließen",
|
|
37
|
+
downloadCancel: "Abbrechen",
|
|
38
|
+
downloadFailed: "Nicht heruntergeladen: {error}",
|
|
39
|
+
downloadPreparing: "Datei wird vorbereitet… {time}",
|
|
40
|
+
downloadReceived: "{received} empfangen",
|
|
41
|
+
downloadReceivedOf: "{received} von {total}",
|
|
42
|
+
downloadSaved: "Gespeichert als {name}, {size}",
|
|
43
|
+
dragToConnect: "Auf einen anderen Knoten ziehen, um sie zu verbinden",
|
|
44
|
+
dropFile: "Datei hier ablegen",
|
|
45
|
+
dropFiles: "Dateien hier ablegen",
|
|
46
|
+
expandMenu: "Menü ausklappen",
|
|
47
|
+
failedStep: ", fehlgeschlagen",
|
|
48
|
+
fileTooLarge: "ist größer als {size}",
|
|
49
|
+
fileTooMany: "ist eine zu viel: Das Feld nimmt nur eine Datei",
|
|
50
|
+
fileUpTo: "bis {size}",
|
|
51
|
+
fileWrongType: "ist kein zulässiger Typ ({types})",
|
|
52
|
+
fillField: "Bitte füllen Sie dieses Feld aus.",
|
|
53
|
+
fitView: "Alle Knoten anzeigen",
|
|
54
|
+
flow: "Ablauf",
|
|
55
|
+
flowEmpty: "Noch nichts hier.",
|
|
56
|
+
hidePassword: "Passwort verbergen",
|
|
57
|
+
increase: "Erhöhen",
|
|
58
|
+
leave: "Verlassen",
|
|
59
|
+
leaveHeading: "Ohne Speichern verlassen?",
|
|
60
|
+
leaveText: "Ihre Änderungen gehen verloren.",
|
|
61
|
+
loadError: "Das konnte nicht geladen werden.",
|
|
62
|
+
loading: "Wird geladen",
|
|
63
|
+
loadingMore: "Wird geladen…",
|
|
64
|
+
loadStateError: "Prüfen Sie die Verbindung und versuchen Sie es erneut. Es wurde nichts geändert.",
|
|
65
|
+
loadStateHeading: "Das konnte nicht geladen werden",
|
|
66
|
+
mainNavigation: "Hauptnavigation",
|
|
67
|
+
menu: "Menü",
|
|
68
|
+
navigation: "Navigation",
|
|
69
|
+
nextMonth: "Nächster Monat",
|
|
70
|
+
nextPage: "Nächste Seite",
|
|
71
|
+
noCommands: "Keine passenden Befehle",
|
|
72
|
+
noData: "Keine Daten",
|
|
73
|
+
node: "Knoten",
|
|
74
|
+
noRating: "Keine Bewertung",
|
|
75
|
+
noResults: "Keine Ergebnisse",
|
|
76
|
+
notifications: "Benachrichtigungen",
|
|
77
|
+
page: "Seite",
|
|
78
|
+
pageNumber: "Seite {page}",
|
|
79
|
+
pageOfTotal: "{page} von {total}",
|
|
80
|
+
pagination: "Seitennavigation",
|
|
81
|
+
previousMonth: "Vorheriger Monat",
|
|
82
|
+
previousPage: "Vorherige Seite",
|
|
83
|
+
progress: "Fortschritt",
|
|
84
|
+
rating: "Bewertung",
|
|
85
|
+
ratingOf: "{value} von {max}",
|
|
86
|
+
remove: "Entfernen",
|
|
87
|
+
removedNamed: "Entfernt: {name}",
|
|
88
|
+
removeEdge: "Diese Verbindung entfernen",
|
|
89
|
+
removeNamed: "{name} entfernen",
|
|
90
|
+
removeValue: "Diesen Wert entfernen",
|
|
91
|
+
resizePanes: "Größe der Bereiche ändern",
|
|
92
|
+
retry: "Erneut versuchen",
|
|
93
|
+
search: "Suchen",
|
|
94
|
+
selectAllRows: "Alle Zeilen auswählen",
|
|
95
|
+
selectNamed: "{name} auswählen",
|
|
96
|
+
selectOption: "Bitte wählen Sie eine dieser Optionen.",
|
|
97
|
+
shortcuts: "Schnellzugriff",
|
|
98
|
+
showMore: "Mehr anzeigen",
|
|
99
|
+
showMoreCount: "{count} weitere anzeigen",
|
|
100
|
+
shownOfTotal: "{shown} von {total}",
|
|
101
|
+
showOptions: "Optionen anzeigen",
|
|
102
|
+
showPagesOf: "Seiten von {name} anzeigen",
|
|
103
|
+
showPassword: "Passwort anzeigen",
|
|
104
|
+
stay: "Weiter bearbeiten",
|
|
105
|
+
stepCurrent: ", aktueller Schritt",
|
|
106
|
+
stepDone: ", abgeschlossen",
|
|
107
|
+
tidyLayout: "Anordnung aufräumen",
|
|
108
|
+
zoomIn: "Vergrößern",
|
|
109
|
+
zoomOut: "Verkleinern"
|
|
110
|
+
});
|
|
111
|
+
export { texts_de_default as default };
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
/** jlib's texts in French. */
|
|
2
|
+
declare const _default: {
|
|
3
|
+
readonly addedNamed: "Ajouté : {names}";
|
|
4
|
+
readonly addTag: "Ajoutez au moins une étiquette.";
|
|
5
|
+
readonly addValue: "Ajouter une valeur";
|
|
6
|
+
readonly authOrigin: "Conçu en Suisse par SyWare";
|
|
7
|
+
readonly back: "Retour";
|
|
8
|
+
readonly breadcrumb: "Fil d'Ariane";
|
|
9
|
+
readonly browse: "Parcourir";
|
|
10
|
+
readonly cancel: "Annuler";
|
|
11
|
+
readonly chooseDate: "Choisir une date";
|
|
12
|
+
readonly chooseDateFrom: "Choisissez le {date} ou plus tard.";
|
|
13
|
+
readonly chooseDateMissing: "Choisissez une date.";
|
|
14
|
+
readonly chooseDateUntil: "Choisissez le {date} ou plus tôt.";
|
|
15
|
+
readonly chooseFile: "Choisissez un fichier.";
|
|
16
|
+
readonly chooseOption: "Choisissez une option.";
|
|
17
|
+
readonly chooseRating: "Choisissez une note.";
|
|
18
|
+
readonly chosenFiles: "Fichiers choisis";
|
|
19
|
+
readonly clear: "Effacer";
|
|
20
|
+
readonly clearSearch: "Effacer la recherche";
|
|
21
|
+
readonly close: "Fermer";
|
|
22
|
+
readonly closeMenu: "Fermer le menu";
|
|
23
|
+
readonly collapseMenu: "Replier le menu";
|
|
24
|
+
readonly commandPalette: "Palette de commandes";
|
|
25
|
+
readonly commandPlaceholder: "Tapez une commande ou cherchez…";
|
|
26
|
+
readonly commands: "Commandes";
|
|
27
|
+
readonly confirm: "Confirmer";
|
|
28
|
+
readonly copied: "Copié";
|
|
29
|
+
readonly copy: "Copier";
|
|
30
|
+
readonly decrease: "Diminuer";
|
|
31
|
+
readonly details: "Détails";
|
|
32
|
+
readonly detailsOf: "Détails de {name}";
|
|
33
|
+
readonly dismiss: "Fermer";
|
|
34
|
+
readonly downloadCancel: "Annuler";
|
|
35
|
+
readonly downloadFailed: "Non téléchargé : {error}";
|
|
36
|
+
readonly downloadPreparing: "Préparation du fichier… {time}";
|
|
37
|
+
readonly downloadReceived: "{received} reçus";
|
|
38
|
+
readonly downloadReceivedOf: "{received} sur {total}";
|
|
39
|
+
readonly downloadSaved: "Enregistré sous {name}, {size}";
|
|
40
|
+
readonly dragToConnect: "Glissez vers un autre nœud pour les relier";
|
|
41
|
+
readonly dropFile: "Déposez un fichier ici";
|
|
42
|
+
readonly dropFiles: "Déposez des fichiers ici";
|
|
43
|
+
readonly expandMenu: "Déplier le menu";
|
|
44
|
+
readonly failedStep: ", en échec";
|
|
45
|
+
readonly fileTooLarge: "dépasse {size}";
|
|
46
|
+
readonly fileTooMany: "est de trop : le champ prend un seul fichier";
|
|
47
|
+
readonly fileUpTo: "jusqu'à {size}";
|
|
48
|
+
readonly fileWrongType: "n'est pas d'un type accepté ({types})";
|
|
49
|
+
readonly fillField: "Veuillez remplir ce champ.";
|
|
50
|
+
readonly fitView: "Afficher tous les nœuds";
|
|
51
|
+
readonly flow: "Flux";
|
|
52
|
+
readonly flowEmpty: "Rien ici pour l'instant.";
|
|
53
|
+
readonly hidePassword: "Masquer le mot de passe";
|
|
54
|
+
readonly increase: "Augmenter";
|
|
55
|
+
readonly leave: "Quitter";
|
|
56
|
+
readonly leaveHeading: "Quitter sans enregistrer ?";
|
|
57
|
+
readonly leaveText: "Vos modifications seront perdues.";
|
|
58
|
+
readonly loadError: "Le chargement n'a pas abouti.";
|
|
59
|
+
readonly loading: "Chargement";
|
|
60
|
+
readonly loadingMore: "Chargement…";
|
|
61
|
+
readonly loadStateError: "Vérifiez la connexion, puis réessayez. Rien n'a été modifié.";
|
|
62
|
+
readonly loadStateHeading: "Le chargement n'a pas abouti";
|
|
63
|
+
readonly mainNavigation: "Principal";
|
|
64
|
+
readonly menu: "Menu";
|
|
65
|
+
readonly navigation: "Navigation";
|
|
66
|
+
readonly nextMonth: "Mois suivant";
|
|
67
|
+
readonly nextPage: "Page suivante";
|
|
68
|
+
readonly noCommands: "Aucune commande ne correspond";
|
|
69
|
+
readonly noData: "Aucune donnée";
|
|
70
|
+
readonly node: "nœud";
|
|
71
|
+
readonly noRating: "Aucune note";
|
|
72
|
+
readonly noResults: "Aucun résultat";
|
|
73
|
+
readonly notifications: "Notifications";
|
|
74
|
+
readonly page: "Page";
|
|
75
|
+
readonly pageNumber: "Page {page}";
|
|
76
|
+
readonly pageOfTotal: "{page} sur {total}";
|
|
77
|
+
readonly pagination: "Pagination";
|
|
78
|
+
readonly previousMonth: "Mois précédent";
|
|
79
|
+
readonly previousPage: "Page précédente";
|
|
80
|
+
readonly progress: "Progression";
|
|
81
|
+
readonly rating: "Note";
|
|
82
|
+
readonly ratingOf: "{value} sur {max}";
|
|
83
|
+
readonly remove: "Retirer";
|
|
84
|
+
readonly removedNamed: "Retiré : {name}";
|
|
85
|
+
readonly removeEdge: "Retirer ce lien";
|
|
86
|
+
readonly removeNamed: "Retirer {name}";
|
|
87
|
+
readonly removeValue: "Retirer cette valeur";
|
|
88
|
+
readonly resizePanes: "Redimensionner les panneaux";
|
|
89
|
+
readonly retry: "Réessayer";
|
|
90
|
+
readonly search: "Rechercher";
|
|
91
|
+
readonly selectAllRows: "Sélectionner toutes les lignes";
|
|
92
|
+
readonly selectNamed: "Sélectionner {name}";
|
|
93
|
+
readonly selectOption: "Veuillez choisir une de ces options.";
|
|
94
|
+
readonly shortcuts: "Raccourcis";
|
|
95
|
+
readonly showMore: "Afficher plus";
|
|
96
|
+
readonly showMoreCount: "Afficher {count} de plus";
|
|
97
|
+
readonly shownOfTotal: "{shown} sur {total}";
|
|
98
|
+
readonly showOptions: "Afficher les options";
|
|
99
|
+
readonly showPagesOf: "Afficher les pages de {name}";
|
|
100
|
+
readonly showPassword: "Afficher le mot de passe";
|
|
101
|
+
readonly stay: "Continuer l'édition";
|
|
102
|
+
readonly stepCurrent: ", étape en cours";
|
|
103
|
+
readonly stepDone: ", terminée";
|
|
104
|
+
readonly tidyLayout: "Ranger la disposition";
|
|
105
|
+
readonly zoomIn: "Zoomer";
|
|
106
|
+
readonly zoomOut: "Dézoomer";
|
|
107
|
+
};
|
|
108
|
+
export default _default;
|