triiiceratops 0.12.4 → 0.12.5

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.
@@ -0,0 +1,34 @@
1
+ /* eslint-disable */
2
+ import { getLocale, trackMessageCall, experimentalMiddlewareLocaleSplitting, isServer } from '../runtime.js';
3
+ /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
4
+
5
+ const en_demo_title = /** @type {(inputs: {}) => LocalizedString} */ () => {
6
+ return /** @type {LocalizedString} */ (`Triiiceratops IIIF Viewer Demo`)
7
+ };
8
+
9
+ const de_demo_title = /** @type {(inputs: {}) => LocalizedString} */ () => {
10
+ return /** @type {LocalizedString} */ (`Triiiceratops IIIF-Viewer-Demo`)
11
+ };
12
+
13
+ /**
14
+ * This function has been compiled by [Paraglide JS](https://inlang.com/m/gerre34r).
15
+ *
16
+ * - Changing this function will be over-written by the next build.
17
+ *
18
+ * - If you want to change the translations, you can either edit the source files e.g. `en.json`, or
19
+ * use another inlang app like [Fink](https://inlang.com/m/tdozzpar) or the [VSCode extension Sherlock](https://inlang.com/m/r7kp499g).
20
+ *
21
+ * @param {{}} inputs
22
+ * @param {{ locale?: "en" | "de" }} options
23
+ * @returns {LocalizedString}
24
+ */
25
+ /* @__NO_SIDE_EFFECTS__ */
26
+ export const demo_title = (inputs = {}, options = {}) => {
27
+ if (experimentalMiddlewareLocaleSplitting && isServer === false) {
28
+ return /** @type {any} */ (globalThis).__paraglide_ssr.demo_title(inputs)
29
+ }
30
+ const locale = options.locale ?? getLocale()
31
+ trackMessageCall("demo_title", locale)
32
+ if (locale === "en") return en_demo_title(inputs)
33
+ return de_demo_title(inputs)
34
+ };
@@ -0,0 +1,4 @@
1
+ export function settings_thumbnail_height(inputs?: {}, options?: {
2
+ locale?: "en" | "de";
3
+ }): LocalizedString;
4
+ export type LocalizedString = import("../runtime.js").LocalizedString;
@@ -0,0 +1,34 @@
1
+ /* eslint-disable */
2
+ import { getLocale, trackMessageCall, experimentalMiddlewareLocaleSplitting, isServer } from '../runtime.js';
3
+ /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
4
+
5
+ const en_settings_thumbnail_height = /** @type {(inputs: {}) => LocalizedString} */ () => {
6
+ return /** @type {LocalizedString} */ (`Thumbnail Height`)
7
+ };
8
+
9
+ const de_settings_thumbnail_height = /** @type {(inputs: {}) => LocalizedString} */ () => {
10
+ return /** @type {LocalizedString} */ (`Thumbnail-Höhe`)
11
+ };
12
+
13
+ /**
14
+ * This function has been compiled by [Paraglide JS](https://inlang.com/m/gerre34r).
15
+ *
16
+ * - Changing this function will be over-written by the next build.
17
+ *
18
+ * - If you want to change the translations, you can either edit the source files e.g. `en.json`, or
19
+ * use another inlang app like [Fink](https://inlang.com/m/tdozzpar) or the [VSCode extension Sherlock](https://inlang.com/m/r7kp499g).
20
+ *
21
+ * @param {{}} inputs
22
+ * @param {{ locale?: "en" | "de" }} options
23
+ * @returns {LocalizedString}
24
+ */
25
+ /* @__NO_SIDE_EFFECTS__ */
26
+ export const settings_thumbnail_height = (inputs = {}, options = {}) => {
27
+ if (experimentalMiddlewareLocaleSplitting && isServer === false) {
28
+ return /** @type {any} */ (globalThis).__paraglide_ssr.settings_thumbnail_height(inputs)
29
+ }
30
+ const locale = options.locale ?? getLocale()
31
+ trackMessageCall("settings_thumbnail_height", locale)
32
+ if (locale === "en") return en_settings_thumbnail_height(inputs)
33
+ return de_settings_thumbnail_height(inputs)
34
+ };
@@ -6,8 +6,9 @@ const en_settings_toggle_show_viewing_mode = /** @type {(inputs: {}) => Localize
6
6
  return /** @type {LocalizedString} */ (`Show Viewing Mode`)
7
7
  };
8
8
 
9
- /** @type {(inputs: {}) => LocalizedString} */
10
- const de_settings_toggle_show_viewing_mode = en_settings_toggle_show_viewing_mode;
9
+ const de_settings_toggle_show_viewing_mode = /** @type {(inputs: {}) => LocalizedString} */ () => {
10
+ return /** @type {LocalizedString} */ (`Ansichtsmodus anzeigen`)
11
+ };
11
12
 
12
13
  /**
13
14
  * This function has been compiled by [Paraglide JS](https://inlang.com/m/gerre34r).
@@ -0,0 +1,4 @@
1
+ export function settings_view_configuration(inputs?: {}, options?: {
2
+ locale?: "en" | "de";
3
+ }): LocalizedString;
4
+ export type LocalizedString = import("../runtime.js").LocalizedString;
@@ -0,0 +1,34 @@
1
+ /* eslint-disable */
2
+ import { getLocale, trackMessageCall, experimentalMiddlewareLocaleSplitting, isServer } from '../runtime.js';
3
+ /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
4
+
5
+ const en_settings_view_configuration = /** @type {(inputs: {}) => LocalizedString} */ () => {
6
+ return /** @type {LocalizedString} */ (`Viewer Configuration`)
7
+ };
8
+
9
+ const de_settings_view_configuration = /** @type {(inputs: {}) => LocalizedString} */ () => {
10
+ return /** @type {LocalizedString} */ (`Viewer-Konfiguration`)
11
+ };
12
+
13
+ /**
14
+ * This function has been compiled by [Paraglide JS](https://inlang.com/m/gerre34r).
15
+ *
16
+ * - Changing this function will be over-written by the next build.
17
+ *
18
+ * - If you want to change the translations, you can either edit the source files e.g. `en.json`, or
19
+ * use another inlang app like [Fink](https://inlang.com/m/tdozzpar) or the [VSCode extension Sherlock](https://inlang.com/m/r7kp499g).
20
+ *
21
+ * @param {{}} inputs
22
+ * @param {{ locale?: "en" | "de" }} options
23
+ * @returns {LocalizedString}
24
+ */
25
+ /* @__NO_SIDE_EFFECTS__ */
26
+ export const settings_view_configuration = (inputs = {}, options = {}) => {
27
+ if (experimentalMiddlewareLocaleSplitting && isServer === false) {
28
+ return /** @type {any} */ (globalThis).__paraglide_ssr.settings_view_configuration(inputs)
29
+ }
30
+ const locale = options.locale ?? getLocale()
31
+ trackMessageCall("settings_view_configuration", locale)
32
+ if (locale === "en") return en_settings_view_configuration(inputs)
33
+ return de_settings_view_configuration(inputs)
34
+ };