@kuncat/avoidant 0.3.0 → 0.4.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 +43 -3
- package/dist/assets/favicon.svg +1 -1
- package/dist/assets/fonts/NOTO-SANS-SYMBOLS-LICENSE.txt +93 -0
- package/dist/assets/fonts/noto-sans-symbols-arrows.woff2 +0 -0
- package/dist/components/AvoidantGame.svelte +98 -44
- package/dist/components/AvoidantGame.svelte.d.ts +11 -0
- package/dist/components/GameHistory.svelte +1 -1
- package/dist/components/MapControls.svelte +27 -1
- package/dist/components/MapControls.svelte.d.ts +2 -0
- package/dist/components/MatchResults.svelte +1 -2
- package/dist/components/MatchResults.svelte.d.ts +0 -1
- package/dist/components/MultiplayerGame.svelte +73 -14
- package/dist/components/MultiplayerGame.svelte.d.ts +3 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.js +2 -0
- package/dist/multiplayer/client.d.ts +5 -2
- package/dist/multiplayer/client.js +22 -6
- package/dist/multiplayer/current-match.d.ts +3 -0
- package/dist/multiplayer/current-match.js +37 -0
- package/dist/multiplayer/invitations.d.ts +2 -0
- package/dist/multiplayer/invitations.js +23 -0
- package/dist/multiplayer/types.d.ts +10 -0
- package/dist/paraglide/messages/_index.d.ts +8 -1
- package/dist/paraglide/messages/_index.js +8 -1
- package/dist/paraglide/messages/{field_relay_servers.d.ts → action_see_plans.d.ts} +5 -5
- package/dist/paraglide/messages/action_see_plans.js +29 -0
- package/dist/paraglide/messages/error_tv_pairing.d.ts +16 -0
- package/dist/paraglide/messages/error_tv_pairing.js +29 -0
- package/dist/paraglide/messages/field_public_game.d.ts +16 -0
- package/dist/paraglide/messages/field_public_game.js +29 -0
- package/dist/paraglide/messages/help_public_game.d.ts +16 -0
- package/dist/paraglide/messages/help_public_game.js +29 -0
- package/dist/paraglide/messages/share_watch_help.d.ts +16 -0
- package/dist/paraglide/messages/share_watch_help.js +29 -0
- package/dist/paraglide/messages/status_public_unlisted.d.ts +16 -0
- package/dist/paraglide/messages/status_public_unlisted.js +29 -0
- package/dist/paraglide/messages/status_tv_showing.d.ts +16 -0
- package/dist/paraglide/messages/status_tv_showing.js +29 -0
- package/dist/paraglide/messages/text_multiplayer_subscription.d.ts +16 -0
- package/dist/paraglide/messages/text_multiplayer_subscription.js +29 -0
- package/dist/paraglide/messages/text_waiting_lobby.d.ts +1 -1
- package/dist/paraglide/messages/text_waiting_lobby.js +2 -2
- package/dist/styles/global.css +13 -0
- package/dist/wasm/avoidant_wasm.d.ts +3 -208
- package/dist/wasm/avoidant_wasm.js +20 -1101
- package/dist/wasm/avoidant_wasm_bg.wasm +0 -0
- package/dist/wasm/avoidant_wasm_bg.wasm.d.ts +3 -65
- package/package.json +1 -1
- package/dist/paraglide/messages/field_relay_servers.js +0 -29
|
@@ -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 {{}} Error_Tv_PairingInputs */
|
|
7
|
+
|
|
8
|
+
const en_error_tv_pairing = /** @type {(inputs: Error_Tv_PairingInputs) => LocalizedString} */ () => {
|
|
9
|
+
return /** @type {LocalizedString} */ (`Couldn’t reach the TV. Scan its code again.`)
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const bn_error_tv_pairing = /** @type {(inputs: Error_Tv_PairingInputs) => LocalizedString} */ () => {
|
|
13
|
+
return /** @type {LocalizedString} */ (`টিভিতে পৌঁছানো যায়নি। আবার টিভির কোড স্ক্যান করুন।`)
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* | output |
|
|
18
|
+
* | --- |
|
|
19
|
+
* | "Couldn’t reach the TV. Scan its code again." |
|
|
20
|
+
*
|
|
21
|
+
* @param {Error_Tv_PairingInputs} inputs
|
|
22
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
23
|
+
* @returns {LocalizedString}
|
|
24
|
+
*/
|
|
25
|
+
export const error_tv_pairing = /** @type {((inputs?: Error_Tv_PairingInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Error_Tv_PairingInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
26
|
+
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
+
if (locale === "bn") return bn_error_tv_pairing(inputs)
|
|
28
|
+
return en_error_tv_pairing(inputs)
|
|
29
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* | output |
|
|
3
|
+
* | --- |
|
|
4
|
+
* | "Public game" |
|
|
5
|
+
*
|
|
6
|
+
* @param {Field_Public_GameInputs} inputs
|
|
7
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
8
|
+
* @returns {LocalizedString}
|
|
9
|
+
*/
|
|
10
|
+
export const field_public_game: ((inputs?: Field_Public_GameInputs, options?: {
|
|
11
|
+
locale?: "en" | "bn";
|
|
12
|
+
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Field_Public_GameInputs, {
|
|
13
|
+
locale?: "en" | "bn";
|
|
14
|
+
}, {}>;
|
|
15
|
+
export type LocalizedString = import("../runtime.js").LocalizedString;
|
|
16
|
+
export type Field_Public_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 {{}} Field_Public_GameInputs */
|
|
7
|
+
|
|
8
|
+
const en_field_public_game = /** @type {(inputs: Field_Public_GameInputs) => LocalizedString} */ () => {
|
|
9
|
+
return /** @type {LocalizedString} */ (`Public game`)
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const bn_field_public_game = /** @type {(inputs: Field_Public_GameInputs) => LocalizedString} */ () => {
|
|
13
|
+
return /** @type {LocalizedString} */ (`পাবলিক খেলা`)
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* | output |
|
|
18
|
+
* | --- |
|
|
19
|
+
* | "Public game" |
|
|
20
|
+
*
|
|
21
|
+
* @param {Field_Public_GameInputs} inputs
|
|
22
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
23
|
+
* @returns {LocalizedString}
|
|
24
|
+
*/
|
|
25
|
+
export const field_public_game = /** @type {((inputs?: Field_Public_GameInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Field_Public_GameInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
26
|
+
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
+
if (locale === "bn") return bn_field_public_game(inputs)
|
|
28
|
+
return en_field_public_game(inputs)
|
|
29
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* | output |
|
|
3
|
+
* | --- |
|
|
4
|
+
* | "List this game in open games so anyone with a Kuncat account can find and join it. Private games need the sharing code." |
|
|
5
|
+
*
|
|
6
|
+
* @param {Help_Public_GameInputs} inputs
|
|
7
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
8
|
+
* @returns {LocalizedString}
|
|
9
|
+
*/
|
|
10
|
+
export const help_public_game: ((inputs?: Help_Public_GameInputs, options?: {
|
|
11
|
+
locale?: "en" | "bn";
|
|
12
|
+
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Help_Public_GameInputs, {
|
|
13
|
+
locale?: "en" | "bn";
|
|
14
|
+
}, {}>;
|
|
15
|
+
export type LocalizedString = import("../runtime.js").LocalizedString;
|
|
16
|
+
export type Help_Public_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 {{}} Help_Public_GameInputs */
|
|
7
|
+
|
|
8
|
+
const en_help_public_game = /** @type {(inputs: Help_Public_GameInputs) => LocalizedString} */ () => {
|
|
9
|
+
return /** @type {LocalizedString} */ (`List this game in open games so anyone with a Kuncat account can find and join it. Private games need the sharing code.`)
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const bn_help_public_game = /** @type {(inputs: Help_Public_GameInputs) => LocalizedString} */ () => {
|
|
13
|
+
return /** @type {LocalizedString} */ (`খোলা খেলার তালিকায় দেখান, যাতে কুনক্যাট অ্যাকাউন্ট থাকলে যে কেউ খুঁজে যোগ দিতে পারে। ব্যক্তিগত খেলায় যোগ দিতে শেয়ার কোড লাগে।`)
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* | output |
|
|
18
|
+
* | --- |
|
|
19
|
+
* | "List this game in open games so anyone with a Kuncat account can find and join it. Private games need the sharing code." |
|
|
20
|
+
*
|
|
21
|
+
* @param {Help_Public_GameInputs} inputs
|
|
22
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
23
|
+
* @returns {LocalizedString}
|
|
24
|
+
*/
|
|
25
|
+
export const help_public_game = /** @type {((inputs?: Help_Public_GameInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Help_Public_GameInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
26
|
+
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
+
if (locale === "bn") return bn_help_public_game(inputs)
|
|
28
|
+
return en_help_public_game(inputs)
|
|
29
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* | output |
|
|
3
|
+
* | --- |
|
|
4
|
+
* | "Anyone with this code can join or watch." |
|
|
5
|
+
*
|
|
6
|
+
* @param {Share_Watch_HelpInputs} inputs
|
|
7
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
8
|
+
* @returns {LocalizedString}
|
|
9
|
+
*/
|
|
10
|
+
export const share_watch_help: ((inputs?: Share_Watch_HelpInputs, options?: {
|
|
11
|
+
locale?: "en" | "bn";
|
|
12
|
+
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Share_Watch_HelpInputs, {
|
|
13
|
+
locale?: "en" | "bn";
|
|
14
|
+
}, {}>;
|
|
15
|
+
export type LocalizedString = import("../runtime.js").LocalizedString;
|
|
16
|
+
export type Share_Watch_HelpInputs = {};
|
|
@@ -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 {{}} Share_Watch_HelpInputs */
|
|
7
|
+
|
|
8
|
+
const en_share_watch_help = /** @type {(inputs: Share_Watch_HelpInputs) => LocalizedString} */ () => {
|
|
9
|
+
return /** @type {LocalizedString} */ (`Anyone with this code can join or watch.`)
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const bn_share_watch_help = /** @type {(inputs: Share_Watch_HelpInputs) => LocalizedString} */ () => {
|
|
13
|
+
return /** @type {LocalizedString} */ (`এই কোড থাকলে যে কেউ খেলায় যোগ দিতে বা দেখতে পারবেন।`)
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* | output |
|
|
18
|
+
* | --- |
|
|
19
|
+
* | "Anyone with this code can join or watch." |
|
|
20
|
+
*
|
|
21
|
+
* @param {Share_Watch_HelpInputs} inputs
|
|
22
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
23
|
+
* @returns {LocalizedString}
|
|
24
|
+
*/
|
|
25
|
+
export const share_watch_help = /** @type {((inputs?: Share_Watch_HelpInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Share_Watch_HelpInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
26
|
+
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
+
if (locale === "bn") return bn_share_watch_help(inputs)
|
|
28
|
+
return en_share_watch_help(inputs)
|
|
29
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* | output |
|
|
3
|
+
* | --- |
|
|
4
|
+
* | "The open games list is full right now, so this game is private. Share the code to invite players." |
|
|
5
|
+
*
|
|
6
|
+
* @param {Status_Public_UnlistedInputs} inputs
|
|
7
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
8
|
+
* @returns {LocalizedString}
|
|
9
|
+
*/
|
|
10
|
+
export const status_public_unlisted: ((inputs?: Status_Public_UnlistedInputs, options?: {
|
|
11
|
+
locale?: "en" | "bn";
|
|
12
|
+
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Status_Public_UnlistedInputs, {
|
|
13
|
+
locale?: "en" | "bn";
|
|
14
|
+
}, {}>;
|
|
15
|
+
export type LocalizedString = import("../runtime.js").LocalizedString;
|
|
16
|
+
export type Status_Public_UnlistedInputs = {};
|
|
@@ -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_Public_UnlistedInputs */
|
|
7
|
+
|
|
8
|
+
const en_status_public_unlisted = /** @type {(inputs: Status_Public_UnlistedInputs) => LocalizedString} */ () => {
|
|
9
|
+
return /** @type {LocalizedString} */ (`The open games list is full right now, so this game is private. Share the code to invite players.`)
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const bn_status_public_unlisted = /** @type {(inputs: Status_Public_UnlistedInputs) => LocalizedString} */ () => {
|
|
13
|
+
return /** @type {LocalizedString} */ (`এই মুহূর্তে খোলা খেলার তালিকা পূর্ণ, তাই খেলাটি ব্যক্তিগত রাখা হয়েছে। খেলোয়াড়দের ডাকতে কোডটি শেয়ার করুন।`)
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* | output |
|
|
18
|
+
* | --- |
|
|
19
|
+
* | "The open games list is full right now, so this game is private. Share the code to invite players." |
|
|
20
|
+
*
|
|
21
|
+
* @param {Status_Public_UnlistedInputs} inputs
|
|
22
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
23
|
+
* @returns {LocalizedString}
|
|
24
|
+
*/
|
|
25
|
+
export const status_public_unlisted = /** @type {((inputs?: Status_Public_UnlistedInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Status_Public_UnlistedInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
26
|
+
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
+
if (locale === "bn") return bn_status_public_unlisted(inputs)
|
|
28
|
+
return en_status_public_unlisted(inputs)
|
|
29
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* | output |
|
|
3
|
+
* | --- |
|
|
4
|
+
* | "Showing on your TV." |
|
|
5
|
+
*
|
|
6
|
+
* @param {Status_Tv_ShowingInputs} inputs
|
|
7
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
8
|
+
* @returns {LocalizedString}
|
|
9
|
+
*/
|
|
10
|
+
export const status_tv_showing: ((inputs?: Status_Tv_ShowingInputs, options?: {
|
|
11
|
+
locale?: "en" | "bn";
|
|
12
|
+
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Status_Tv_ShowingInputs, {
|
|
13
|
+
locale?: "en" | "bn";
|
|
14
|
+
}, {}>;
|
|
15
|
+
export type LocalizedString = import("../runtime.js").LocalizedString;
|
|
16
|
+
export type Status_Tv_ShowingInputs = {};
|
|
@@ -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_Tv_ShowingInputs */
|
|
7
|
+
|
|
8
|
+
const en_status_tv_showing = /** @type {(inputs: Status_Tv_ShowingInputs) => LocalizedString} */ () => {
|
|
9
|
+
return /** @type {LocalizedString} */ (`Showing on your TV.`)
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const bn_status_tv_showing = /** @type {(inputs: Status_Tv_ShowingInputs) => LocalizedString} */ () => {
|
|
13
|
+
return /** @type {LocalizedString} */ (`আপনার টিভিতে দেখানো হচ্ছে।`)
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* | output |
|
|
18
|
+
* | --- |
|
|
19
|
+
* | "Showing on your TV." |
|
|
20
|
+
*
|
|
21
|
+
* @param {Status_Tv_ShowingInputs} inputs
|
|
22
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
23
|
+
* @returns {LocalizedString}
|
|
24
|
+
*/
|
|
25
|
+
export const status_tv_showing = /** @type {((inputs?: Status_Tv_ShowingInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Status_Tv_ShowingInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
26
|
+
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
+
if (locale === "bn") return bn_status_tv_showing(inputs)
|
|
28
|
+
return en_status_tv_showing(inputs)
|
|
29
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* | output |
|
|
3
|
+
* | --- |
|
|
4
|
+
* | "Hosting multiplayer needs a Games subscription. Joining games is free." |
|
|
5
|
+
*
|
|
6
|
+
* @param {Text_Multiplayer_SubscriptionInputs} inputs
|
|
7
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
8
|
+
* @returns {LocalizedString}
|
|
9
|
+
*/
|
|
10
|
+
export const text_multiplayer_subscription: ((inputs?: Text_Multiplayer_SubscriptionInputs, options?: {
|
|
11
|
+
locale?: "en" | "bn";
|
|
12
|
+
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Text_Multiplayer_SubscriptionInputs, {
|
|
13
|
+
locale?: "en" | "bn";
|
|
14
|
+
}, {}>;
|
|
15
|
+
export type LocalizedString = import("../runtime.js").LocalizedString;
|
|
16
|
+
export type Text_Multiplayer_SubscriptionInputs = {};
|
|
@@ -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 {{}} Text_Multiplayer_SubscriptionInputs */
|
|
7
|
+
|
|
8
|
+
const en_text_multiplayer_subscription = /** @type {(inputs: Text_Multiplayer_SubscriptionInputs) => LocalizedString} */ () => {
|
|
9
|
+
return /** @type {LocalizedString} */ (`Hosting multiplayer needs a Games subscription. Joining games is free.`)
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const bn_text_multiplayer_subscription = /** @type {(inputs: Text_Multiplayer_SubscriptionInputs) => LocalizedString} */ () => {
|
|
13
|
+
return /** @type {LocalizedString} */ (`বহুজন খেলা হোস্ট করতে Games সাবস্ক্রিপশন লাগবে। খেলায় যোগ দেওয়া বিনামূল্যে।`)
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* | output |
|
|
18
|
+
* | --- |
|
|
19
|
+
* | "Hosting multiplayer needs a Games subscription. Joining games is free." |
|
|
20
|
+
*
|
|
21
|
+
* @param {Text_Multiplayer_SubscriptionInputs} inputs
|
|
22
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
23
|
+
* @returns {LocalizedString}
|
|
24
|
+
*/
|
|
25
|
+
export const text_multiplayer_subscription = /** @type {((inputs?: Text_Multiplayer_SubscriptionInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Text_Multiplayer_SubscriptionInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
26
|
+
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
+
if (locale === "bn") return bn_text_multiplayer_subscription(inputs)
|
|
28
|
+
return en_text_multiplayer_subscription(inputs)
|
|
29
|
+
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* | output |
|
|
3
3
|
* | --- |
|
|
4
|
-
* | "Waiting in lobby. Share the invitation link; the
|
|
4
|
+
* | "Waiting in lobby. Share the invitation link; the host starts once everyone has joined." |
|
|
5
5
|
*
|
|
6
6
|
* @param {Text_Waiting_LobbyInputs} inputs
|
|
7
7
|
* @param {{ locale?: "en" | "bn" }} options
|
|
@@ -6,7 +6,7 @@ import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
|
|
6
6
|
/** @typedef {{}} Text_Waiting_LobbyInputs */
|
|
7
7
|
|
|
8
8
|
const en_text_waiting_lobby = /** @type {(inputs: Text_Waiting_LobbyInputs) => LocalizedString} */ () => {
|
|
9
|
-
return /** @type {LocalizedString} */ (`Waiting in lobby. Share the invitation link; the
|
|
9
|
+
return /** @type {LocalizedString} */ (`Waiting in lobby. Share the invitation link; the host starts once everyone has joined.`)
|
|
10
10
|
};
|
|
11
11
|
|
|
12
12
|
const bn_text_waiting_lobby = /** @type {(inputs: Text_Waiting_LobbyInputs) => LocalizedString} */ () => {
|
|
@@ -16,7 +16,7 @@ const bn_text_waiting_lobby = /** @type {(inputs: Text_Waiting_LobbyInputs) => L
|
|
|
16
16
|
/**
|
|
17
17
|
* | output |
|
|
18
18
|
* | --- |
|
|
19
|
-
* | "Waiting in lobby. Share the invitation link; the
|
|
19
|
+
* | "Waiting in lobby. Share the invitation link; the host starts once everyone has joined." |
|
|
20
20
|
*
|
|
21
21
|
* @param {Text_Waiting_LobbyInputs} inputs
|
|
22
22
|
* @param {{ locale?: "en" | "bn" }} options
|
package/dist/styles/global.css
CHANGED
|
@@ -7,6 +7,17 @@
|
|
|
7
7
|
font-display: swap;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
+
/* The Open Sans build here ships no arrow glyphs, so devices drew ← ↑ → ↓ from whatever fallback
|
|
11
|
+
font they had, at whatever height it put them. These four come from Noto Sans Symbols
|
|
12
|
+
(OFL; licence beside the file), under the same family name so every arrow renders alike. */
|
|
13
|
+
@font-face {
|
|
14
|
+
font-family: "Open Sans";
|
|
15
|
+
src: url("../assets/fonts/noto-sans-symbols-arrows.woff2") format("woff2");
|
|
16
|
+
font-weight: 100 900;
|
|
17
|
+
font-display: block;
|
|
18
|
+
unicode-range: U+2190-2193;
|
|
19
|
+
}
|
|
20
|
+
|
|
10
21
|
:root {
|
|
11
22
|
--avoidant-font-sans:
|
|
12
23
|
"Open Sans", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
|
|
@@ -37,6 +48,8 @@ h1 {
|
|
|
37
48
|
|
|
38
49
|
/* Keep the original Avoidant palette while using DaisyUI components. */
|
|
39
50
|
.panel-wrapper {
|
|
51
|
+
--color-error: var(--color-rose-500);
|
|
52
|
+
--color-error-content: color-mix(in oklab, white 90%, transparent);
|
|
40
53
|
--color-primary: var(--color-sky-600);
|
|
41
54
|
--color-primary-content: color-mix(in oklab, white 90%, transparent);
|
|
42
55
|
--color-secondary: var(--color-slate-200);
|