@kuncat/avoidant 0.1.0 → 0.1.1
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/dist/paraglide/messages/_index.d.ts +42 -0
- package/dist/paraglide/messages/_index.js +43 -0
- package/dist/paraglide/messages/action_back.d.ts +16 -0
- package/dist/paraglide/messages/action_back.js +29 -0
- package/dist/paraglide/messages/action_copy.d.ts +16 -0
- package/dist/paraglide/messages/action_copy.js +29 -0
- package/dist/paraglide/messages/action_exit.d.ts +16 -0
- package/dist/paraglide/messages/action_exit.js +29 -0
- package/dist/paraglide/messages/action_invite.d.ts +16 -0
- package/dist/paraglide/messages/action_invite.js +29 -0
- package/dist/paraglide/messages/action_join.d.ts +16 -0
- package/dist/paraglide/messages/action_join.js +29 -0
- package/dist/paraglide/messages/action_join_game.d.ts +16 -0
- package/dist/paraglide/messages/action_join_game.js +29 -0
- package/dist/paraglide/messages/action_new_game.d.ts +16 -0
- package/dist/paraglide/messages/action_new_game.js +29 -0
- package/dist/paraglide/messages/action_start.d.ts +16 -0
- package/dist/paraglide/messages/action_start.js +29 -0
- package/dist/paraglide/messages/aria_close_invitation.d.ts +16 -0
- package/dist/paraglide/messages/aria_close_invitation.js +29 -0
- package/dist/paraglide/messages/aria_score_summary.d.ts +16 -0
- package/dist/paraglide/messages/aria_score_summary.js +29 -0
- package/dist/paraglide/messages/cells_count.d.ts +19 -0
- package/dist/paraglide/messages/cells_count.js +33 -0
- package/dist/paraglide/messages/default_player_name.d.ts +16 -0
- package/dist/paraglide/messages/default_player_name.js +29 -0
- package/dist/paraglide/messages/error_join_connect_failed.d.ts +16 -0
- package/dist/paraglide/messages/error_join_connect_failed.js +29 -0
- package/dist/paraglide/messages/error_join_failed.d.ts +16 -0
- package/dist/paraglide/messages/error_join_failed.js +29 -0
- package/dist/paraglide/messages/error_join_ticket_invalid.d.ts +16 -0
- package/dist/paraglide/messages/error_join_ticket_invalid.js +29 -0
- package/dist/paraglide/messages/error_join_ticket_required.d.ts +16 -0
- package/dist/paraglide/messages/error_join_ticket_required.js +29 -0
- package/dist/paraglide/messages/field_invitation_url.d.ts +16 -0
- package/dist/paraglide/messages/field_invitation_url.js +29 -0
- package/dist/paraglide/messages/field_map_size.d.ts +16 -0
- package/dist/paraglide/messages/field_map_size.js +29 -0
- package/dist/paraglide/messages/field_player_name.d.ts +16 -0
- package/dist/paraglide/messages/field_player_name.js +29 -0
- package/dist/paraglide/messages/field_relay_servers.d.ts +16 -0
- package/dist/paraglide/messages/field_relay_servers.js +29 -0
- package/dist/paraglide/messages/field_seed.d.ts +16 -0
- package/dist/paraglide/messages/field_seed.js +29 -0
- package/dist/paraglide/messages/field_size.d.ts +16 -0
- package/dist/paraglide/messages/field_size.js +29 -0
- package/dist/paraglide/messages/field_ticket_or_invitation_url.d.ts +16 -0
- package/dist/paraglide/messages/field_ticket_or_invitation_url.js +29 -0
- package/dist/paraglide/messages/label_advanced_settings.d.ts +16 -0
- package/dist/paraglide/messages/label_advanced_settings.js +29 -0
- package/dist/paraglide/messages/label_players.d.ts +19 -0
- package/dist/paraglide/messages/label_players.js +35 -0
- package/dist/paraglide/messages/label_safe_cells_explored.d.ts +19 -0
- package/dist/paraglide/messages/label_safe_cells_explored.js +35 -0
- package/dist/paraglide/messages/label_safe_cells_remaining.d.ts +19 -0
- package/dist/paraglide/messages/label_safe_cells_remaining.js +35 -0
- package/dist/paraglide/messages/label_score.d.ts +16 -0
- package/dist/paraglide/messages/label_score.js +29 -0
- package/dist/paraglide/messages/label_streak.d.ts +16 -0
- package/dist/paraglide/messages/label_streak.js +29 -0
- package/dist/paraglide/messages/label_voids_discovered.d.ts +16 -0
- package/dist/paraglide/messages/label_voids_discovered.js +29 -0
- package/dist/paraglide/messages/preset_custom.d.ts +16 -0
- package/dist/paraglide/messages/preset_custom.js +29 -0
- package/dist/paraglide/messages/preset_large.d.ts +16 -0
- package/dist/paraglide/messages/preset_large.js +29 -0
- package/dist/paraglide/messages/preset_medium.d.ts +16 -0
- package/dist/paraglide/messages/preset_medium.js +29 -0
- package/dist/paraglide/messages/preset_small.d.ts +16 -0
- package/dist/paraglide/messages/preset_small.js +29 -0
- package/dist/paraglide/messages/status_generating_map.d.ts +16 -0
- package/dist/paraglide/messages/status_generating_map.js +29 -0
- package/dist/paraglide/messages/status_initialization_failed.d.ts +16 -0
- package/dist/paraglide/messages/status_initialization_failed.js +29 -0
- package/dist/paraglide/messages/status_joining_game.d.ts +16 -0
- package/dist/paraglide/messages/status_joining_game.js +29 -0
- package/dist/paraglide/messages/status_loading.d.ts +16 -0
- package/dist/paraglide/messages/status_loading.js +29 -0
- package/dist/paraglide/messages/status_preparing.d.ts +16 -0
- package/dist/paraglide/messages/status_preparing.js +29 -0
- package/dist/paraglide/messages/text_avoided.d.ts +16 -0
- package/dist/paraglide/messages/text_avoided.js +29 -0
- package/dist/paraglide/messages/text_relay_servers_hint.d.ts +16 -0
- package/dist/paraglide/messages/text_relay_servers_hint.js +29 -0
- package/dist/paraglide/messages.d.ts +2 -0
- package/dist/paraglide/messages.js +4 -0
- package/dist/paraglide/registry.d.ts +21 -0
- package/dist/paraglide/registry.js +31 -0
- package/dist/paraglide/runtime.d.ts +758 -0
- package/dist/paraglide/runtime.js +1825 -0
- package/dist/paraglide/server.d.ts +96 -0
- package/dist/paraglide/server.js +277 -0
- package/dist/wasm/package.json +1 -3
- package/package.json +4 -2
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import * as registry from '../registry.js'
|
|
3
|
+
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
|
4
|
+
|
|
5
|
+
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
6
|
+
|
|
7
|
+
/** @typedef {{ count: NonNullable<unknown> }} Label_PlayersInputs */
|
|
8
|
+
|
|
9
|
+
const en_label_players = /** @type {(inputs: Label_PlayersInputs) => LocalizedString} */ (i) => {const countPlural = registry.plural("en", i?.count, {});
|
|
10
|
+
if (countPlural === "one") return /** @type {LocalizedString} */ (`Player`);
|
|
11
|
+
if (countPlural === "other") return /** @type {LocalizedString} */ (`Players`);
|
|
12
|
+
return /** @type {LocalizedString} */ ("label_players");
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
const bn_label_players = /** @type {(inputs: Label_PlayersInputs) => LocalizedString} */ (i) => {const countPlural = registry.plural("bn", i?.count, {});
|
|
16
|
+
if (countPlural === "one") return /** @type {LocalizedString} */ (`খেলোয়াড়`);
|
|
17
|
+
if (countPlural === "other") return /** @type {LocalizedString} */ (`খেলোয়াড়রা`);
|
|
18
|
+
return /** @type {LocalizedString} */ ("label_players");
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* | countPlural | output |
|
|
23
|
+
* | --- | --- |
|
|
24
|
+
* | "one" | "Player" |
|
|
25
|
+
* | "other" | "Players" |
|
|
26
|
+
*
|
|
27
|
+
* @param {Label_PlayersInputs} inputs
|
|
28
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
29
|
+
* @returns {LocalizedString}
|
|
30
|
+
*/
|
|
31
|
+
export const label_players = /** @type {((inputs: Label_PlayersInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Label_PlayersInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs, options = {}) => {
|
|
32
|
+
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
33
|
+
if (locale === "en") return en_label_players(inputs)
|
|
34
|
+
return bn_label_players(inputs)
|
|
35
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* | countPlural | output |
|
|
3
|
+
* | --- | --- |
|
|
4
|
+
* | "one" | "Safe Cell Explored" |
|
|
5
|
+
* | "other" | "Safe Cells Explored" |
|
|
6
|
+
*
|
|
7
|
+
* @param {Label_Safe_Cells_ExploredInputs} inputs
|
|
8
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
9
|
+
* @returns {LocalizedString}
|
|
10
|
+
*/
|
|
11
|
+
export const label_safe_cells_explored: ((inputs: Label_Safe_Cells_ExploredInputs, options?: {
|
|
12
|
+
locale?: "en" | "bn";
|
|
13
|
+
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Label_Safe_Cells_ExploredInputs, {
|
|
14
|
+
locale?: "en" | "bn";
|
|
15
|
+
}, {}>;
|
|
16
|
+
export type LocalizedString = import("../runtime.js").LocalizedString;
|
|
17
|
+
export type Label_Safe_Cells_ExploredInputs = {
|
|
18
|
+
count: NonNullable<unknown>;
|
|
19
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import * as registry from '../registry.js'
|
|
3
|
+
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
|
4
|
+
|
|
5
|
+
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
6
|
+
|
|
7
|
+
/** @typedef {{ count: NonNullable<unknown> }} Label_Safe_Cells_ExploredInputs */
|
|
8
|
+
|
|
9
|
+
const en_label_safe_cells_explored = /** @type {(inputs: Label_Safe_Cells_ExploredInputs) => LocalizedString} */ (i) => {const countPlural = registry.plural("en", i?.count, {});
|
|
10
|
+
if (countPlural === "one") return /** @type {LocalizedString} */ (`Safe Cell Explored`);
|
|
11
|
+
if (countPlural === "other") return /** @type {LocalizedString} */ (`Safe Cells Explored`);
|
|
12
|
+
return /** @type {LocalizedString} */ ("label_safe_cells_explored");
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
const bn_label_safe_cells_explored = /** @type {(inputs: Label_Safe_Cells_ExploredInputs) => LocalizedString} */ (i) => {const countPlural = registry.plural("bn", i?.count, {});
|
|
16
|
+
if (countPlural === "one") return /** @type {LocalizedString} */ (`অনুসন্ধান করা নিরাপদ সেল`);
|
|
17
|
+
if (countPlural === "other") return /** @type {LocalizedString} */ (`অনুসন্ধান করা নিরাপদ সেল`);
|
|
18
|
+
return /** @type {LocalizedString} */ ("label_safe_cells_explored");
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* | countPlural | output |
|
|
23
|
+
* | --- | --- |
|
|
24
|
+
* | "one" | "Safe Cell Explored" |
|
|
25
|
+
* | "other" | "Safe Cells Explored" |
|
|
26
|
+
*
|
|
27
|
+
* @param {Label_Safe_Cells_ExploredInputs} inputs
|
|
28
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
29
|
+
* @returns {LocalizedString}
|
|
30
|
+
*/
|
|
31
|
+
export const label_safe_cells_explored = /** @type {((inputs: Label_Safe_Cells_ExploredInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Label_Safe_Cells_ExploredInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs, options = {}) => {
|
|
32
|
+
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
33
|
+
if (locale === "en") return en_label_safe_cells_explored(inputs)
|
|
34
|
+
return bn_label_safe_cells_explored(inputs)
|
|
35
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* | countPlural | output |
|
|
3
|
+
* | --- | --- |
|
|
4
|
+
* | "one" | "Safe Cell Remaining" |
|
|
5
|
+
* | "other" | "Safe Cells Remaining" |
|
|
6
|
+
*
|
|
7
|
+
* @param {Label_Safe_Cells_RemainingInputs} inputs
|
|
8
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
9
|
+
* @returns {LocalizedString}
|
|
10
|
+
*/
|
|
11
|
+
export const label_safe_cells_remaining: ((inputs: Label_Safe_Cells_RemainingInputs, options?: {
|
|
12
|
+
locale?: "en" | "bn";
|
|
13
|
+
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Label_Safe_Cells_RemainingInputs, {
|
|
14
|
+
locale?: "en" | "bn";
|
|
15
|
+
}, {}>;
|
|
16
|
+
export type LocalizedString = import("../runtime.js").LocalizedString;
|
|
17
|
+
export type Label_Safe_Cells_RemainingInputs = {
|
|
18
|
+
count: NonNullable<unknown>;
|
|
19
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import * as registry from '../registry.js'
|
|
3
|
+
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
|
4
|
+
|
|
5
|
+
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
6
|
+
|
|
7
|
+
/** @typedef {{ count: NonNullable<unknown> }} Label_Safe_Cells_RemainingInputs */
|
|
8
|
+
|
|
9
|
+
const en_label_safe_cells_remaining = /** @type {(inputs: Label_Safe_Cells_RemainingInputs) => LocalizedString} */ (i) => {const countPlural = registry.plural("en", i?.count, {});
|
|
10
|
+
if (countPlural === "one") return /** @type {LocalizedString} */ (`Safe Cell Remaining`);
|
|
11
|
+
if (countPlural === "other") return /** @type {LocalizedString} */ (`Safe Cells Remaining`);
|
|
12
|
+
return /** @type {LocalizedString} */ ("label_safe_cells_remaining");
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
const bn_label_safe_cells_remaining = /** @type {(inputs: Label_Safe_Cells_RemainingInputs) => LocalizedString} */ (i) => {const countPlural = registry.plural("bn", i?.count, {});
|
|
16
|
+
if (countPlural === "one") return /** @type {LocalizedString} */ (`অবশিষ্ট নিরাপদ সেল`);
|
|
17
|
+
if (countPlural === "other") return /** @type {LocalizedString} */ (`অবশিষ্ট নিরাপদ সেল`);
|
|
18
|
+
return /** @type {LocalizedString} */ ("label_safe_cells_remaining");
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* | countPlural | output |
|
|
23
|
+
* | --- | --- |
|
|
24
|
+
* | "one" | "Safe Cell Remaining" |
|
|
25
|
+
* | "other" | "Safe Cells Remaining" |
|
|
26
|
+
*
|
|
27
|
+
* @param {Label_Safe_Cells_RemainingInputs} inputs
|
|
28
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
29
|
+
* @returns {LocalizedString}
|
|
30
|
+
*/
|
|
31
|
+
export const label_safe_cells_remaining = /** @type {((inputs: Label_Safe_Cells_RemainingInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Label_Safe_Cells_RemainingInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs, options = {}) => {
|
|
32
|
+
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
33
|
+
if (locale === "en") return en_label_safe_cells_remaining(inputs)
|
|
34
|
+
return bn_label_safe_cells_remaining(inputs)
|
|
35
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* | output |
|
|
3
|
+
* | --- |
|
|
4
|
+
* | "Score" |
|
|
5
|
+
*
|
|
6
|
+
* @param {Label_ScoreInputs} inputs
|
|
7
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
8
|
+
* @returns {LocalizedString}
|
|
9
|
+
*/
|
|
10
|
+
export const label_score: ((inputs?: Label_ScoreInputs, options?: {
|
|
11
|
+
locale?: "en" | "bn";
|
|
12
|
+
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Label_ScoreInputs, {
|
|
13
|
+
locale?: "en" | "bn";
|
|
14
|
+
}, {}>;
|
|
15
|
+
export type LocalizedString = import("../runtime.js").LocalizedString;
|
|
16
|
+
export type Label_ScoreInputs = {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
|
3
|
+
|
|
4
|
+
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
5
|
+
|
|
6
|
+
/** @typedef {{}} Label_ScoreInputs */
|
|
7
|
+
|
|
8
|
+
const en_label_score = /** @type {(inputs: Label_ScoreInputs) => LocalizedString} */ () => {
|
|
9
|
+
return /** @type {LocalizedString} */ (`Score`)
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const bn_label_score = /** @type {(inputs: Label_ScoreInputs) => LocalizedString} */ () => {
|
|
13
|
+
return /** @type {LocalizedString} */ (`স্কোর`)
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* | output |
|
|
18
|
+
* | --- |
|
|
19
|
+
* | "Score" |
|
|
20
|
+
*
|
|
21
|
+
* @param {Label_ScoreInputs} inputs
|
|
22
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
23
|
+
* @returns {LocalizedString}
|
|
24
|
+
*/
|
|
25
|
+
export const label_score = /** @type {((inputs?: Label_ScoreInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Label_ScoreInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
26
|
+
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
+
if (locale === "en") return en_label_score(inputs)
|
|
28
|
+
return bn_label_score(inputs)
|
|
29
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* | output |
|
|
3
|
+
* | --- |
|
|
4
|
+
* | "streak" |
|
|
5
|
+
*
|
|
6
|
+
* @param {Label_StreakInputs} inputs
|
|
7
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
8
|
+
* @returns {LocalizedString}
|
|
9
|
+
*/
|
|
10
|
+
export const label_streak: ((inputs?: Label_StreakInputs, options?: {
|
|
11
|
+
locale?: "en" | "bn";
|
|
12
|
+
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Label_StreakInputs, {
|
|
13
|
+
locale?: "en" | "bn";
|
|
14
|
+
}, {}>;
|
|
15
|
+
export type LocalizedString = import("../runtime.js").LocalizedString;
|
|
16
|
+
export type Label_StreakInputs = {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
|
3
|
+
|
|
4
|
+
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
5
|
+
|
|
6
|
+
/** @typedef {{}} Label_StreakInputs */
|
|
7
|
+
|
|
8
|
+
const en_label_streak = /** @type {(inputs: Label_StreakInputs) => LocalizedString} */ () => {
|
|
9
|
+
return /** @type {LocalizedString} */ (`streak`)
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const bn_label_streak = /** @type {(inputs: Label_StreakInputs) => LocalizedString} */ () => {
|
|
13
|
+
return /** @type {LocalizedString} */ (`ধারা`)
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* | output |
|
|
18
|
+
* | --- |
|
|
19
|
+
* | "streak" |
|
|
20
|
+
*
|
|
21
|
+
* @param {Label_StreakInputs} inputs
|
|
22
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
23
|
+
* @returns {LocalizedString}
|
|
24
|
+
*/
|
|
25
|
+
export const label_streak = /** @type {((inputs?: Label_StreakInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Label_StreakInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
26
|
+
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
+
if (locale === "en") return en_label_streak(inputs)
|
|
28
|
+
return bn_label_streak(inputs)
|
|
29
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* | output |
|
|
3
|
+
* | --- |
|
|
4
|
+
* | "Voids Discovered" |
|
|
5
|
+
*
|
|
6
|
+
* @param {Label_Voids_DiscoveredInputs} inputs
|
|
7
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
8
|
+
* @returns {LocalizedString}
|
|
9
|
+
*/
|
|
10
|
+
export const label_voids_discovered: ((inputs?: Label_Voids_DiscoveredInputs, options?: {
|
|
11
|
+
locale?: "en" | "bn";
|
|
12
|
+
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Label_Voids_DiscoveredInputs, {
|
|
13
|
+
locale?: "en" | "bn";
|
|
14
|
+
}, {}>;
|
|
15
|
+
export type LocalizedString = import("../runtime.js").LocalizedString;
|
|
16
|
+
export type Label_Voids_DiscoveredInputs = {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
|
3
|
+
|
|
4
|
+
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
5
|
+
|
|
6
|
+
/** @typedef {{}} Label_Voids_DiscoveredInputs */
|
|
7
|
+
|
|
8
|
+
const en_label_voids_discovered = /** @type {(inputs: Label_Voids_DiscoveredInputs) => LocalizedString} */ () => {
|
|
9
|
+
return /** @type {LocalizedString} */ (`Voids Discovered`)
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const bn_label_voids_discovered = /** @type {(inputs: Label_Voids_DiscoveredInputs) => LocalizedString} */ () => {
|
|
13
|
+
return /** @type {LocalizedString} */ (`আবিষ্কৃত শূন্যস্থান`)
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* | output |
|
|
18
|
+
* | --- |
|
|
19
|
+
* | "Voids Discovered" |
|
|
20
|
+
*
|
|
21
|
+
* @param {Label_Voids_DiscoveredInputs} inputs
|
|
22
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
23
|
+
* @returns {LocalizedString}
|
|
24
|
+
*/
|
|
25
|
+
export const label_voids_discovered = /** @type {((inputs?: Label_Voids_DiscoveredInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Label_Voids_DiscoveredInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
26
|
+
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
+
if (locale === "en") return en_label_voids_discovered(inputs)
|
|
28
|
+
return bn_label_voids_discovered(inputs)
|
|
29
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* | output |
|
|
3
|
+
* | --- |
|
|
4
|
+
* | "Custom" |
|
|
5
|
+
*
|
|
6
|
+
* @param {Preset_CustomInputs} inputs
|
|
7
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
8
|
+
* @returns {LocalizedString}
|
|
9
|
+
*/
|
|
10
|
+
export const preset_custom: ((inputs?: Preset_CustomInputs, options?: {
|
|
11
|
+
locale?: "en" | "bn";
|
|
12
|
+
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Preset_CustomInputs, {
|
|
13
|
+
locale?: "en" | "bn";
|
|
14
|
+
}, {}>;
|
|
15
|
+
export type LocalizedString = import("../runtime.js").LocalizedString;
|
|
16
|
+
export type Preset_CustomInputs = {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
|
3
|
+
|
|
4
|
+
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
5
|
+
|
|
6
|
+
/** @typedef {{}} Preset_CustomInputs */
|
|
7
|
+
|
|
8
|
+
const en_preset_custom = /** @type {(inputs: Preset_CustomInputs) => LocalizedString} */ () => {
|
|
9
|
+
return /** @type {LocalizedString} */ (`Custom`)
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const bn_preset_custom = /** @type {(inputs: Preset_CustomInputs) => LocalizedString} */ () => {
|
|
13
|
+
return /** @type {LocalizedString} */ (`কাস্টম`)
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* | output |
|
|
18
|
+
* | --- |
|
|
19
|
+
* | "Custom" |
|
|
20
|
+
*
|
|
21
|
+
* @param {Preset_CustomInputs} inputs
|
|
22
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
23
|
+
* @returns {LocalizedString}
|
|
24
|
+
*/
|
|
25
|
+
export const preset_custom = /** @type {((inputs?: Preset_CustomInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Preset_CustomInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
26
|
+
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
+
if (locale === "en") return en_preset_custom(inputs)
|
|
28
|
+
return bn_preset_custom(inputs)
|
|
29
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* | output |
|
|
3
|
+
* | --- |
|
|
4
|
+
* | "Large" |
|
|
5
|
+
*
|
|
6
|
+
* @param {Preset_LargeInputs} inputs
|
|
7
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
8
|
+
* @returns {LocalizedString}
|
|
9
|
+
*/
|
|
10
|
+
export const preset_large: ((inputs?: Preset_LargeInputs, options?: {
|
|
11
|
+
locale?: "en" | "bn";
|
|
12
|
+
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Preset_LargeInputs, {
|
|
13
|
+
locale?: "en" | "bn";
|
|
14
|
+
}, {}>;
|
|
15
|
+
export type LocalizedString = import("../runtime.js").LocalizedString;
|
|
16
|
+
export type Preset_LargeInputs = {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
|
3
|
+
|
|
4
|
+
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
5
|
+
|
|
6
|
+
/** @typedef {{}} Preset_LargeInputs */
|
|
7
|
+
|
|
8
|
+
const en_preset_large = /** @type {(inputs: Preset_LargeInputs) => LocalizedString} */ () => {
|
|
9
|
+
return /** @type {LocalizedString} */ (`Large`)
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const bn_preset_large = /** @type {(inputs: Preset_LargeInputs) => LocalizedString} */ () => {
|
|
13
|
+
return /** @type {LocalizedString} */ (`বড়`)
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* | output |
|
|
18
|
+
* | --- |
|
|
19
|
+
* | "Large" |
|
|
20
|
+
*
|
|
21
|
+
* @param {Preset_LargeInputs} inputs
|
|
22
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
23
|
+
* @returns {LocalizedString}
|
|
24
|
+
*/
|
|
25
|
+
export const preset_large = /** @type {((inputs?: Preset_LargeInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Preset_LargeInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
26
|
+
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
+
if (locale === "en") return en_preset_large(inputs)
|
|
28
|
+
return bn_preset_large(inputs)
|
|
29
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* | output |
|
|
3
|
+
* | --- |
|
|
4
|
+
* | "Medium" |
|
|
5
|
+
*
|
|
6
|
+
* @param {Preset_MediumInputs} inputs
|
|
7
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
8
|
+
* @returns {LocalizedString}
|
|
9
|
+
*/
|
|
10
|
+
export const preset_medium: ((inputs?: Preset_MediumInputs, options?: {
|
|
11
|
+
locale?: "en" | "bn";
|
|
12
|
+
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Preset_MediumInputs, {
|
|
13
|
+
locale?: "en" | "bn";
|
|
14
|
+
}, {}>;
|
|
15
|
+
export type LocalizedString = import("../runtime.js").LocalizedString;
|
|
16
|
+
export type Preset_MediumInputs = {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
|
3
|
+
|
|
4
|
+
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
5
|
+
|
|
6
|
+
/** @typedef {{}} Preset_MediumInputs */
|
|
7
|
+
|
|
8
|
+
const en_preset_medium = /** @type {(inputs: Preset_MediumInputs) => LocalizedString} */ () => {
|
|
9
|
+
return /** @type {LocalizedString} */ (`Medium`)
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const bn_preset_medium = /** @type {(inputs: Preset_MediumInputs) => LocalizedString} */ () => {
|
|
13
|
+
return /** @type {LocalizedString} */ (`মাঝারি`)
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* | output |
|
|
18
|
+
* | --- |
|
|
19
|
+
* | "Medium" |
|
|
20
|
+
*
|
|
21
|
+
* @param {Preset_MediumInputs} inputs
|
|
22
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
23
|
+
* @returns {LocalizedString}
|
|
24
|
+
*/
|
|
25
|
+
export const preset_medium = /** @type {((inputs?: Preset_MediumInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Preset_MediumInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
26
|
+
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
+
if (locale === "en") return en_preset_medium(inputs)
|
|
28
|
+
return bn_preset_medium(inputs)
|
|
29
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* | output |
|
|
3
|
+
* | --- |
|
|
4
|
+
* | "Small" |
|
|
5
|
+
*
|
|
6
|
+
* @param {Preset_SmallInputs} inputs
|
|
7
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
8
|
+
* @returns {LocalizedString}
|
|
9
|
+
*/
|
|
10
|
+
export const preset_small: ((inputs?: Preset_SmallInputs, options?: {
|
|
11
|
+
locale?: "en" | "bn";
|
|
12
|
+
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Preset_SmallInputs, {
|
|
13
|
+
locale?: "en" | "bn";
|
|
14
|
+
}, {}>;
|
|
15
|
+
export type LocalizedString = import("../runtime.js").LocalizedString;
|
|
16
|
+
export type Preset_SmallInputs = {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
|
3
|
+
|
|
4
|
+
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
5
|
+
|
|
6
|
+
/** @typedef {{}} Preset_SmallInputs */
|
|
7
|
+
|
|
8
|
+
const en_preset_small = /** @type {(inputs: Preset_SmallInputs) => LocalizedString} */ () => {
|
|
9
|
+
return /** @type {LocalizedString} */ (`Small`)
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const bn_preset_small = /** @type {(inputs: Preset_SmallInputs) => LocalizedString} */ () => {
|
|
13
|
+
return /** @type {LocalizedString} */ (`ছোট`)
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* | output |
|
|
18
|
+
* | --- |
|
|
19
|
+
* | "Small" |
|
|
20
|
+
*
|
|
21
|
+
* @param {Preset_SmallInputs} inputs
|
|
22
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
23
|
+
* @returns {LocalizedString}
|
|
24
|
+
*/
|
|
25
|
+
export const preset_small = /** @type {((inputs?: Preset_SmallInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Preset_SmallInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
26
|
+
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
+
if (locale === "en") return en_preset_small(inputs)
|
|
28
|
+
return bn_preset_small(inputs)
|
|
29
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* | output |
|
|
3
|
+
* | --- |
|
|
4
|
+
* | "Generating map..." |
|
|
5
|
+
*
|
|
6
|
+
* @param {Status_Generating_MapInputs} inputs
|
|
7
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
8
|
+
* @returns {LocalizedString}
|
|
9
|
+
*/
|
|
10
|
+
export const status_generating_map: ((inputs?: Status_Generating_MapInputs, options?: {
|
|
11
|
+
locale?: "en" | "bn";
|
|
12
|
+
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Status_Generating_MapInputs, {
|
|
13
|
+
locale?: "en" | "bn";
|
|
14
|
+
}, {}>;
|
|
15
|
+
export type LocalizedString = import("../runtime.js").LocalizedString;
|
|
16
|
+
export type Status_Generating_MapInputs = {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
|
3
|
+
|
|
4
|
+
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
5
|
+
|
|
6
|
+
/** @typedef {{}} Status_Generating_MapInputs */
|
|
7
|
+
|
|
8
|
+
const en_status_generating_map = /** @type {(inputs: Status_Generating_MapInputs) => LocalizedString} */ () => {
|
|
9
|
+
return /** @type {LocalizedString} */ (`Generating map...`)
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const bn_status_generating_map = /** @type {(inputs: Status_Generating_MapInputs) => LocalizedString} */ () => {
|
|
13
|
+
return /** @type {LocalizedString} */ (`ম্যাপ তৈরি হচ্ছে...`)
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* | output |
|
|
18
|
+
* | --- |
|
|
19
|
+
* | "Generating map..." |
|
|
20
|
+
*
|
|
21
|
+
* @param {Status_Generating_MapInputs} inputs
|
|
22
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
23
|
+
* @returns {LocalizedString}
|
|
24
|
+
*/
|
|
25
|
+
export const status_generating_map = /** @type {((inputs?: Status_Generating_MapInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Status_Generating_MapInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
26
|
+
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
+
if (locale === "en") return en_status_generating_map(inputs)
|
|
28
|
+
return bn_status_generating_map(inputs)
|
|
29
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* | output |
|
|
3
|
+
* | --- |
|
|
4
|
+
* | "Failed to initialize wasm." |
|
|
5
|
+
*
|
|
6
|
+
* @param {Status_Initialization_FailedInputs} inputs
|
|
7
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
8
|
+
* @returns {LocalizedString}
|
|
9
|
+
*/
|
|
10
|
+
export const status_initialization_failed: ((inputs?: Status_Initialization_FailedInputs, options?: {
|
|
11
|
+
locale?: "en" | "bn";
|
|
12
|
+
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Status_Initialization_FailedInputs, {
|
|
13
|
+
locale?: "en" | "bn";
|
|
14
|
+
}, {}>;
|
|
15
|
+
export type LocalizedString = import("../runtime.js").LocalizedString;
|
|
16
|
+
export type Status_Initialization_FailedInputs = {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
|
3
|
+
|
|
4
|
+
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
5
|
+
|
|
6
|
+
/** @typedef {{}} Status_Initialization_FailedInputs */
|
|
7
|
+
|
|
8
|
+
const en_status_initialization_failed = /** @type {(inputs: Status_Initialization_FailedInputs) => LocalizedString} */ () => {
|
|
9
|
+
return /** @type {LocalizedString} */ (`Failed to initialize wasm.`)
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const bn_status_initialization_failed = /** @type {(inputs: Status_Initialization_FailedInputs) => LocalizedString} */ () => {
|
|
13
|
+
return /** @type {LocalizedString} */ (`Wasm চালু করতে ব্যর্থ হয়েছে।`)
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* | output |
|
|
18
|
+
* | --- |
|
|
19
|
+
* | "Failed to initialize wasm." |
|
|
20
|
+
*
|
|
21
|
+
* @param {Status_Initialization_FailedInputs} inputs
|
|
22
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
23
|
+
* @returns {LocalizedString}
|
|
24
|
+
*/
|
|
25
|
+
export const status_initialization_failed = /** @type {((inputs?: Status_Initialization_FailedInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Status_Initialization_FailedInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
26
|
+
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
+
if (locale === "en") return en_status_initialization_failed(inputs)
|
|
28
|
+
return bn_status_initialization_failed(inputs)
|
|
29
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* | output |
|
|
3
|
+
* | --- |
|
|
4
|
+
* | "Joining game..." |
|
|
5
|
+
*
|
|
6
|
+
* @param {Status_Joining_GameInputs} inputs
|
|
7
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
8
|
+
* @returns {LocalizedString}
|
|
9
|
+
*/
|
|
10
|
+
export const status_joining_game: ((inputs?: Status_Joining_GameInputs, options?: {
|
|
11
|
+
locale?: "en" | "bn";
|
|
12
|
+
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Status_Joining_GameInputs, {
|
|
13
|
+
locale?: "en" | "bn";
|
|
14
|
+
}, {}>;
|
|
15
|
+
export type LocalizedString = import("../runtime.js").LocalizedString;
|
|
16
|
+
export type Status_Joining_GameInputs = {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
|
3
|
+
|
|
4
|
+
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
5
|
+
|
|
6
|
+
/** @typedef {{}} Status_Joining_GameInputs */
|
|
7
|
+
|
|
8
|
+
const en_status_joining_game = /** @type {(inputs: Status_Joining_GameInputs) => LocalizedString} */ () => {
|
|
9
|
+
return /** @type {LocalizedString} */ (`Joining game...`)
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const bn_status_joining_game = /** @type {(inputs: Status_Joining_GameInputs) => LocalizedString} */ () => {
|
|
13
|
+
return /** @type {LocalizedString} */ (`গেমে যোগ দেওয়া হচ্ছে...`)
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* | output |
|
|
18
|
+
* | --- |
|
|
19
|
+
* | "Joining game..." |
|
|
20
|
+
*
|
|
21
|
+
* @param {Status_Joining_GameInputs} inputs
|
|
22
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
23
|
+
* @returns {LocalizedString}
|
|
24
|
+
*/
|
|
25
|
+
export const status_joining_game = /** @type {((inputs?: Status_Joining_GameInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Status_Joining_GameInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
26
|
+
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
+
if (locale === "en") return en_status_joining_game(inputs)
|
|
28
|
+
return bn_status_joining_game(inputs)
|
|
29
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* | output |
|
|
3
|
+
* | --- |
|
|
4
|
+
* | "Loading..." |
|
|
5
|
+
*
|
|
6
|
+
* @param {Status_LoadingInputs} inputs
|
|
7
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
8
|
+
* @returns {LocalizedString}
|
|
9
|
+
*/
|
|
10
|
+
export const status_loading: ((inputs?: Status_LoadingInputs, options?: {
|
|
11
|
+
locale?: "en" | "bn";
|
|
12
|
+
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Status_LoadingInputs, {
|
|
13
|
+
locale?: "en" | "bn";
|
|
14
|
+
}, {}>;
|
|
15
|
+
export type LocalizedString = import("../runtime.js").LocalizedString;
|
|
16
|
+
export type Status_LoadingInputs = {};
|