@kuncat/avoidant 0.2.3 → 0.3.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 +29 -18
- package/dist/components/AvoidantGame.svelte +743 -458
- package/dist/components/AvoidantGame.svelte.d.ts +2 -1
- package/dist/components/GameHistory.svelte +103 -0
- package/dist/components/GameHistory.svelte.d.ts +8 -0
- package/dist/components/MapControls.svelte +1 -1
- package/dist/components/MapIcon.svelte +40 -0
- package/dist/components/MapIcon.svelte.d.ts +7 -0
- package/dist/components/MatchResults.svelte +29 -0
- package/dist/components/MatchResults.svelte.d.ts +8 -0
- package/dist/components/MultiplayerGame.svelte +504 -0
- package/dist/components/MultiplayerGame.svelte.d.ts +11 -0
- package/dist/components/OptionHelp.svelte +96 -0
- package/dist/components/OptionHelp.svelte.d.ts +7 -0
- package/dist/components/ScoreSummary.svelte +43 -0
- package/dist/components/ScoreSummary.svelte.d.ts +8 -0
- package/dist/components/board.svelte +61 -39
- package/dist/components/board.svelte.d.ts +4 -2
- package/dist/components/fragment.glsl +34 -0
- package/dist/components/label-connectors.d.ts +5 -2
- package/dist/components/label-connectors.js +47 -37
- package/dist/components/map-camera.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/multiplayer/client.d.ts +21 -0
- package/dist/multiplayer/client.js +111 -0
- package/dist/multiplayer/duration.d.ts +1 -0
- package/dist/multiplayer/duration.js +6 -0
- package/dist/multiplayer/local-identity.d.ts +1 -0
- package/dist/multiplayer/local-identity.js +13 -0
- package/dist/multiplayer/maps.json +275 -0
- package/dist/multiplayer/reveal.d.ts +11 -0
- package/dist/multiplayer/reveal.js +16 -0
- package/dist/multiplayer/types.d.ts +80 -0
- package/dist/multiplayer/types.js +10 -0
- package/dist/paraglide/messages/_index.d.ts +111 -8
- package/dist/paraglide/messages/_index.js +111 -8
- package/dist/paraglide/messages/action_back.js +2 -2
- package/dist/paraglide/messages/action_copied.d.ts +16 -0
- package/dist/paraglide/messages/action_copied.js +29 -0
- package/dist/paraglide/messages/action_copy.js +2 -2
- package/dist/paraglide/messages/action_copy_invitation.d.ts +16 -0
- package/dist/paraglide/messages/action_copy_invitation.js +29 -0
- package/dist/paraglide/messages/action_download_replay.d.ts +16 -0
- package/dist/paraglide/messages/action_download_replay.js +29 -0
- package/dist/paraglide/messages/action_exit.js +2 -2
- package/dist/paraglide/messages/action_game_history.d.ts +16 -0
- package/dist/paraglide/messages/action_game_history.js +29 -0
- package/dist/paraglide/messages/action_invite.js +2 -2
- package/dist/paraglide/messages/action_join.js +2 -2
- package/dist/paraglide/messages/action_join_game.js +2 -2
- package/dist/paraglide/messages/action_load_more.d.ts +16 -0
- package/dist/paraglide/messages/action_load_more.js +29 -0
- package/dist/paraglide/messages/action_login.d.ts +16 -0
- package/dist/paraglide/messages/action_login.js +29 -0
- package/dist/paraglide/messages/action_login_again.d.ts +16 -0
- package/dist/paraglide/messages/action_login_again.js +29 -0
- package/dist/paraglide/messages/action_logout.d.ts +16 -0
- package/dist/paraglide/messages/action_logout.js +29 -0
- package/dist/paraglide/messages/action_new_game.js +2 -2
- package/dist/paraglide/messages/action_pass.d.ts +16 -0
- package/dist/paraglide/messages/action_pass.js +29 -0
- package/dist/paraglide/messages/action_random.js +2 -2
- package/dist/paraglide/messages/action_reconnect.d.ts +16 -0
- package/dist/paraglide/messages/action_reconnect.js +29 -0
- package/dist/paraglide/messages/action_register.d.ts +16 -0
- package/dist/paraglide/messages/action_register.js +29 -0
- package/dist/paraglide/messages/action_save_name.d.ts +16 -0
- package/dist/paraglide/messages/action_save_name.js +29 -0
- package/dist/paraglide/messages/action_start.js +2 -2
- package/dist/paraglide/messages/action_start_match.d.ts +16 -0
- package/dist/paraglide/messages/action_start_match.js +29 -0
- package/dist/paraglide/messages/aria_close_invitation.js +2 -2
- package/dist/paraglide/messages/aria_score_summary.js +2 -2
- package/dist/paraglide/messages/cells_count.js +2 -2
- package/dist/paraglide/messages/cells_per_face.js +2 -2
- package/dist/paraglide/messages/default_player_name.js +2 -2
- package/dist/paraglide/messages/error_connection_failed.d.ts +16 -0
- package/dist/paraglide/messages/error_connection_failed.js +29 -0
- package/dist/paraglide/messages/error_connection_interrupted.d.ts +16 -0
- package/dist/paraglide/messages/error_connection_interrupted.js +29 -0
- package/dist/paraglide/messages/error_history.d.ts +16 -0
- package/dist/paraglide/messages/error_history.js +29 -0
- package/dist/paraglide/messages/error_invitation_invalid.d.ts +16 -0
- package/dist/paraglide/messages/error_invitation_invalid.js +29 -0
- package/dist/paraglide/messages/error_join_connect_failed.js +2 -2
- package/dist/paraglide/messages/error_join_failed.js +2 -2
- package/dist/paraglide/messages/error_join_ticket_invalid.js +2 -2
- package/dist/paraglide/messages/error_join_ticket_required.js +2 -2
- package/dist/paraglide/messages/error_login_to_join.d.ts +16 -0
- package/dist/paraglide/messages/error_login_to_join.js +29 -0
- package/dist/paraglide/messages/error_map_version.d.ts +16 -0
- package/dist/paraglide/messages/error_map_version.js +29 -0
- package/dist/paraglide/messages/error_match_join.d.ts +16 -0
- package/dist/paraglide/messages/error_match_join.js +29 -0
- package/dist/paraglide/messages/error_match_version.d.ts +16 -0
- package/dist/paraglide/messages/error_match_version.js +29 -0
- package/dist/paraglide/messages/error_name_not_saved.d.ts +16 -0
- package/dist/paraglide/messages/error_name_not_saved.js +29 -0
- package/dist/paraglide/messages/error_name_server_update.d.ts +16 -0
- package/dist/paraglide/messages/error_name_server_update.js +29 -0
- package/dist/paraglide/messages/error_player_name.d.ts +16 -0
- package/dist/paraglide/messages/error_player_name.js +29 -0
- package/dist/paraglide/messages/error_reconnect_to_play.d.ts +16 -0
- package/dist/paraglide/messages/error_reconnect_to_play.js +29 -0
- package/dist/paraglide/messages/error_replay.d.ts +16 -0
- package/dist/paraglide/messages/error_replay.js +29 -0
- package/dist/paraglide/messages/error_unsupported_map.d.ts +16 -0
- package/dist/paraglide/messages/error_unsupported_map.js +29 -0
- package/dist/paraglide/messages/faces_count.js +2 -2
- package/dist/paraglide/messages/field_bordering.d.ts +16 -0
- package/dist/paraglide/messages/field_bordering.js +29 -0
- package/dist/paraglide/messages/field_cell_density.js +2 -2
- package/dist/paraglide/messages/field_duration_unit.d.ts +16 -0
- package/dist/paraglide/messages/field_duration_unit.js +29 -0
- package/dist/paraglide/messages/field_finite_flood.d.ts +16 -0
- package/dist/paraglide/messages/field_finite_flood.js +29 -0
- package/dist/paraglide/messages/field_flood_cells.d.ts +16 -0
- package/dist/paraglide/messages/field_flood_cells.js +29 -0
- package/dist/paraglide/messages/field_flood_limit.d.ts +16 -0
- package/dist/paraglide/messages/field_flood_limit.js +29 -0
- package/dist/paraglide/messages/field_infinite_flood.d.ts +16 -0
- package/dist/paraglide/messages/field_infinite_flood.js +29 -0
- package/dist/paraglide/messages/field_invitation_link.d.ts +16 -0
- package/dist/paraglide/messages/field_invitation_link.js +29 -0
- package/dist/paraglide/messages/field_invitation_url.js +2 -2
- package/dist/paraglide/messages/field_language.d.ts +16 -0
- package/dist/paraglide/messages/field_language.js +29 -0
- package/dist/paraglide/messages/field_map.d.ts +16 -0
- package/dist/paraglide/messages/field_map.js +29 -0
- package/dist/paraglide/messages/field_map_shape.js +2 -2
- package/dist/paraglide/messages/field_map_size.d.ts +1 -1
- package/dist/paraglide/messages/field_map_size.js +5 -5
- package/dist/paraglide/messages/field_match_duration.d.ts +16 -0
- package/dist/paraglide/messages/field_match_duration.js +29 -0
- package/dist/paraglide/messages/field_match_minutes.d.ts +16 -0
- package/dist/paraglide/messages/field_match_minutes.js +29 -0
- package/dist/paraglide/messages/field_play_mode.d.ts +16 -0
- package/dist/paraglide/messages/field_play_mode.js +29 -0
- package/dist/paraglide/messages/field_player_name.js +2 -2
- package/dist/paraglide/messages/field_radius.js +2 -2
- package/dist/paraglide/messages/field_radius_x.js +2 -2
- package/dist/paraglide/messages/field_radius_y.js +2 -2
- package/dist/paraglide/messages/field_radius_z.js +2 -2
- package/dist/paraglide/messages/field_relay_servers.js +2 -2
- package/dist/paraglide/messages/field_seed.js +2 -2
- package/dist/paraglide/messages/field_size.d.ts +1 -1
- package/dist/paraglide/messages/field_size.js +5 -5
- package/dist/paraglide/messages/field_spikiness.js +2 -2
- package/dist/paraglide/messages/field_subdivisions.js +2 -2
- package/dist/paraglide/messages/field_surface_detail.js +2 -2
- package/dist/paraglide/messages/field_ticket_or_invitation_url.js +2 -2
- package/dist/paraglide/messages/field_turn_based.d.ts +16 -0
- package/dist/paraglide/messages/field_turn_based.js +29 -0
- package/dist/paraglide/messages/field_turn_duration.d.ts +16 -0
- package/dist/paraglide/messages/field_turn_duration.js +29 -0
- package/dist/paraglide/messages/field_turn_duration_unit.d.ts +16 -0
- package/dist/paraglide/messages/field_turn_duration_unit.js +29 -0
- package/dist/paraglide/messages/field_turn_timer.d.ts +16 -0
- package/dist/paraglide/messages/field_turn_timer.js +29 -0
- package/dist/paraglide/messages/field_tutorial_mode.js +2 -2
- package/dist/paraglide/messages/field_void_fraction.js +2 -2
- package/dist/paraglide/messages/help_bordering.d.ts +16 -0
- package/dist/paraglide/messages/help_bordering.js +29 -0
- package/dist/paraglide/messages/help_flood_limit.d.ts +16 -0
- package/dist/paraglide/messages/help_flood_limit.js +29 -0
- package/dist/paraglide/messages/help_map.d.ts +16 -0
- package/dist/paraglide/messages/help_map.js +29 -0
- package/dist/paraglide/messages/help_map_size.d.ts +16 -0
- package/dist/paraglide/messages/help_map_size.js +29 -0
- package/dist/paraglide/messages/help_match_duration.d.ts +16 -0
- package/dist/paraglide/messages/help_match_duration.js +29 -0
- package/dist/paraglide/messages/help_participation_time.d.ts +16 -0
- package/dist/paraglide/messages/help_participation_time.js +29 -0
- package/dist/paraglide/messages/help_play_mode.d.ts +16 -0
- package/dist/paraglide/messages/help_play_mode.js +29 -0
- package/dist/paraglide/messages/help_player_name.d.ts +16 -0
- package/dist/paraglide/messages/help_player_name.js +29 -0
- package/dist/paraglide/messages/help_seed.d.ts +16 -0
- package/dist/paraglide/messages/help_seed.js +29 -0
- package/dist/paraglide/messages/help_size.d.ts +16 -0
- package/dist/paraglide/messages/help_size.js +29 -0
- package/dist/paraglide/messages/help_spikiness.d.ts +16 -0
- package/dist/paraglide/messages/help_spikiness.js +29 -0
- package/dist/paraglide/messages/help_turn_based.d.ts +16 -0
- package/dist/paraglide/messages/help_turn_based.js +29 -0
- package/dist/paraglide/messages/help_turn_duration.d.ts +16 -0
- package/dist/paraglide/messages/help_turn_duration.js +29 -0
- package/dist/paraglide/messages/help_turn_time.d.ts +16 -0
- package/dist/paraglide/messages/help_turn_time.js +29 -0
- package/dist/paraglide/messages/help_turn_timer.d.ts +16 -0
- package/dist/paraglide/messages/help_turn_timer.js +29 -0
- package/dist/paraglide/messages/help_tutorial_mode.d.ts +16 -0
- package/dist/paraglide/messages/help_tutorial_mode.js +29 -0
- package/dist/paraglide/messages/help_void_fraction.d.ts +16 -0
- package/dist/paraglide/messages/help_void_fraction.js +29 -0
- package/dist/paraglide/messages/history_empty.d.ts +16 -0
- package/dist/paraglide/messages/history_empty.js +29 -0
- package/dist/paraglide/messages/label_advanced_settings.js +2 -2
- package/dist/paraglide/messages/label_claims.d.ts +18 -0
- package/dist/paraglide/messages/label_claims.js +29 -0
- package/dist/paraglide/messages/label_cumulative_time.d.ts +16 -0
- package/dist/paraglide/messages/label_cumulative_time.js +29 -0
- package/dist/paraglide/messages/label_custom_map_options.d.ts +16 -0
- package/dist/paraglide/messages/label_custom_map_options.js +29 -0
- package/dist/paraglide/messages/label_gameplay_options.d.ts +16 -0
- package/dist/paraglide/messages/label_gameplay_options.js +29 -0
- package/dist/paraglide/messages/label_map_options.d.ts +16 -0
- package/dist/paraglide/messages/label_map_options.js +29 -0
- package/dist/paraglide/messages/label_match_ends.d.ts +18 -0
- package/dist/paraglide/messages/label_match_ends.js +29 -0
- package/dist/paraglide/messages/label_match_id.d.ts +18 -0
- package/dist/paraglide/messages/label_match_id.js +29 -0
- package/dist/paraglide/messages/label_player_number.d.ts +18 -0
- package/dist/paraglide/messages/label_player_number.js +29 -0
- package/dist/paraglide/messages/label_players.js +2 -2
- package/dist/paraglide/messages/label_points.d.ts +18 -0
- package/dist/paraglide/messages/label_points.js +29 -0
- package/dist/paraglide/messages/label_revealed_count.d.ts +18 -0
- package/dist/paraglide/messages/label_revealed_count.js +29 -0
- package/dist/paraglide/messages/label_safe_cells_explored.js +2 -2
- package/dist/paraglide/messages/label_safe_cells_remaining.js +2 -2
- package/dist/paraglide/messages/label_score.js +2 -2
- package/dist/paraglide/messages/label_streak.js +2 -2
- package/dist/paraglide/messages/label_team_score.d.ts +18 -0
- package/dist/paraglide/messages/label_team_score.js +29 -0
- package/dist/paraglide/messages/label_turn_remaining.d.ts +18 -0
- package/dist/paraglide/messages/label_turn_remaining.js +29 -0
- package/dist/paraglide/messages/label_voids_discovered.js +2 -2
- package/dist/paraglide/messages/label_you.d.ts +16 -0
- package/dist/paraglide/messages/label_you.js +29 -0
- package/dist/paraglide/messages/mode_collaborative.d.ts +16 -0
- package/dist/paraglide/messages/mode_collaborative.js +29 -0
- package/dist/paraglide/messages/mode_collaborative_hint.d.ts +16 -0
- package/dist/paraglide/messages/mode_collaborative_hint.js +29 -0
- package/dist/paraglide/messages/mode_solo.d.ts +16 -0
- package/dist/paraglide/messages/mode_solo.js +29 -0
- package/dist/paraglide/messages/mode_solo_hint.d.ts +16 -0
- package/dist/paraglide/messages/mode_solo_hint.js +29 -0
- package/dist/paraglide/messages/mode_territory.d.ts +16 -0
- package/dist/paraglide/messages/mode_territory.js +29 -0
- package/dist/paraglide/messages/mode_territory_hint.d.ts +16 -0
- package/dist/paraglide/messages/mode_territory_hint.js +29 -0
- package/dist/paraglide/messages/multiplayer_title.d.ts +16 -0
- package/dist/paraglide/messages/multiplayer_title.js +29 -0
- package/dist/paraglide/messages/option_help.d.ts +18 -0
- package/dist/paraglide/messages/option_help.js +29 -0
- package/dist/paraglide/messages/package.json +4 -0
- package/dist/paraglide/messages/preset_custom.js +2 -2
- package/dist/paraglide/messages/preset_large.js +2 -2
- package/dist/paraglide/messages/preset_medium.js +2 -2
- package/dist/paraglide/messages/preset_small.js +2 -2
- package/dist/paraglide/messages/shape_label.d.ts +5 -5
- package/dist/paraglide/messages/shape_label.js +17 -17
- package/dist/paraglide/messages/status_connecting.d.ts +16 -0
- package/dist/paraglide/messages/status_connecting.js +29 -0
- package/dist/paraglide/messages/status_draw.d.ts +16 -0
- package/dist/paraglide/messages/status_draw.js +29 -0
- package/dist/paraglide/messages/status_generating_map.js +2 -2
- package/dist/paraglide/messages/status_initialization_failed.js +2 -2
- package/dist/paraglide/messages/status_joining_game.js +2 -2
- package/dist/paraglide/messages/status_loading.js +2 -2
- package/dist/paraglide/messages/status_match_complete.d.ts +16 -0
- package/dist/paraglide/messages/status_match_complete.js +29 -0
- package/dist/paraglide/messages/status_match_expired.d.ts +16 -0
- package/dist/paraglide/messages/status_match_expired.js +29 -0
- package/dist/paraglide/messages/status_name_saved.d.ts +16 -0
- package/dist/paraglide/messages/status_name_saved.js +29 -0
- package/dist/paraglide/messages/status_named_turn.d.ts +18 -0
- package/dist/paraglide/messages/status_named_turn.js +29 -0
- package/dist/paraglide/messages/status_named_winner.d.ts +18 -0
- package/dist/paraglide/messages/status_named_winner.js +29 -0
- package/dist/paraglide/messages/status_player_turn.d.ts +18 -0
- package/dist/paraglide/messages/status_player_turn.js +29 -0
- package/dist/paraglide/messages/status_preparing.js +2 -2
- package/dist/paraglide/messages/status_realtime_claims.d.ts +16 -0
- package/dist/paraglide/messages/status_realtime_claims.js +29 -0
- package/dist/paraglide/messages/status_reconnecting.d.ts +16 -0
- package/dist/paraglide/messages/status_reconnecting.js +29 -0
- package/dist/paraglide/messages/status_session_complete.d.ts +16 -0
- package/dist/paraglide/messages/status_session_complete.js +29 -0
- package/dist/paraglide/messages/status_winner.d.ts +18 -0
- package/dist/paraglide/messages/status_winner.js +29 -0
- package/dist/paraglide/messages/text_account_multiplayer.d.ts +16 -0
- package/dist/paraglide/messages/text_account_multiplayer.js +29 -0
- package/dist/paraglide/messages/text_avoided.js +2 -2
- package/dist/paraglide/messages/text_density_summary.js +2 -2
- package/dist/paraglide/messages/text_invite_after_opening.js +2 -2
- package/dist/paraglide/messages/text_multiplayer_login.d.ts +16 -0
- package/dist/paraglide/messages/text_multiplayer_login.js +29 -0
- package/dist/paraglide/messages/text_relay_servers_hint.js +2 -2
- package/dist/paraglide/messages/text_waiting_lobby.d.ts +16 -0
- package/dist/paraglide/messages/text_waiting_lobby.js +29 -0
- package/dist/paraglide/messages/tutorial_action_dismiss.js +2 -2
- package/dist/paraglide/messages/tutorial_action_next.js +2 -2
- package/dist/paraglide/messages/tutorial_after_safe_deducible.js +2 -2
- package/dist/paraglide/messages/tutorial_after_safe_guess.js +2 -2
- package/dist/paraglide/messages/tutorial_after_void.js +2 -2
- package/dist/paraglide/messages/tutorial_awaiting_first_click.js +2 -2
- package/dist/paraglide/messages/tutorial_intro.d.ts +1 -1
- package/dist/paraglide/messages/tutorial_intro.js +5 -5
- package/dist/paraglide/messages/tutorial_won.js +2 -2
- package/dist/paraglide/messages/unit_hours.d.ts +16 -0
- package/dist/paraglide/messages/unit_hours.js +29 -0
- package/dist/paraglide/messages/unit_hours_selected.d.ts +19 -0
- package/dist/paraglide/messages/unit_hours_selected.js +35 -0
- package/dist/paraglide/messages/unit_minutes.d.ts +16 -0
- package/dist/paraglide/messages/unit_minutes.js +29 -0
- package/dist/paraglide/messages/unit_minutes_selected.d.ts +19 -0
- package/dist/paraglide/messages/unit_minutes_selected.js +35 -0
- package/dist/paraglide/messages/unit_seconds.d.ts +16 -0
- package/dist/paraglide/messages/unit_seconds.js +29 -0
- package/dist/paraglide/messages/unit_seconds_selected.d.ts +19 -0
- package/dist/paraglide/messages/unit_seconds_selected.js +35 -0
- package/dist/paraglide/registry.d.ts +13 -0
- package/dist/paraglide/registry.js +15 -0
- package/dist/paraglide/runtime.d.ts +90 -26
- package/dist/paraglide/runtime.js +597 -109
- package/dist/paraglide/server.d.ts +1 -1
- package/dist/paraglide/server.js +27 -10
- package/dist/styles/global.css +12 -51
- package/dist/wasm/avoidant_wasm.d.ts +56 -11
- package/dist/wasm/avoidant_wasm.js +188 -52
- package/dist/wasm/avoidant_wasm_bg.wasm +0 -0
- package/dist/wasm/avoidant_wasm_bg.wasm.d.ts +25 -11
- package/package.json +34 -32
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* | output |
|
|
3
|
+
* | --- |
|
|
4
|
+
* | "{name} wins" |
|
|
5
|
+
*
|
|
6
|
+
* @param {Status_Named_WinnerInputs} inputs
|
|
7
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
8
|
+
* @returns {LocalizedString}
|
|
9
|
+
*/
|
|
10
|
+
export const status_named_winner: ((inputs: Status_Named_WinnerInputs, options?: {
|
|
11
|
+
locale?: "en" | "bn";
|
|
12
|
+
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Status_Named_WinnerInputs, {
|
|
13
|
+
locale?: "en" | "bn";
|
|
14
|
+
}, {}>;
|
|
15
|
+
export type LocalizedString = import("../runtime.js").LocalizedString;
|
|
16
|
+
export type Status_Named_WinnerInputs = {
|
|
17
|
+
name: NonNullable<unknown>;
|
|
18
|
+
};
|
|
@@ -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 {{ name: NonNullable<unknown> }} Status_Named_WinnerInputs */
|
|
7
|
+
|
|
8
|
+
const en_status_named_winner = /** @type {(inputs: Status_Named_WinnerInputs) => LocalizedString} */ (i) => {
|
|
9
|
+
return /** @type {LocalizedString} */ (`${i?.name} wins`)
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const bn_status_named_winner = /** @type {(inputs: Status_Named_WinnerInputs) => LocalizedString} */ (i) => {
|
|
13
|
+
return /** @type {LocalizedString} */ (`${i?.name} জিতেছেন`)
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* | output |
|
|
18
|
+
* | --- |
|
|
19
|
+
* | "{name} wins" |
|
|
20
|
+
*
|
|
21
|
+
* @param {Status_Named_WinnerInputs} inputs
|
|
22
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
23
|
+
* @returns {LocalizedString}
|
|
24
|
+
*/
|
|
25
|
+
export const status_named_winner = /** @type {((inputs: Status_Named_WinnerInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Status_Named_WinnerInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs, options = {}) => {
|
|
26
|
+
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
+
if (locale === "bn") return bn_status_named_winner(inputs)
|
|
28
|
+
return en_status_named_winner(inputs)
|
|
29
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* | output |
|
|
3
|
+
* | --- |
|
|
4
|
+
* | "P{number}'s turn" |
|
|
5
|
+
*
|
|
6
|
+
* @param {Status_Player_TurnInputs} inputs
|
|
7
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
8
|
+
* @returns {LocalizedString}
|
|
9
|
+
*/
|
|
10
|
+
export const status_player_turn: ((inputs: Status_Player_TurnInputs, options?: {
|
|
11
|
+
locale?: "en" | "bn";
|
|
12
|
+
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Status_Player_TurnInputs, {
|
|
13
|
+
locale?: "en" | "bn";
|
|
14
|
+
}, {}>;
|
|
15
|
+
export type LocalizedString = import("../runtime.js").LocalizedString;
|
|
16
|
+
export type Status_Player_TurnInputs = {
|
|
17
|
+
number: NonNullable<unknown>;
|
|
18
|
+
};
|
|
@@ -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 {{ number: NonNullable<unknown> }} Status_Player_TurnInputs */
|
|
7
|
+
|
|
8
|
+
const en_status_player_turn = /** @type {(inputs: Status_Player_TurnInputs) => LocalizedString} */ (i) => {
|
|
9
|
+
return /** @type {LocalizedString} */ (`P${i?.number}'s turn`)
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const bn_status_player_turn = /** @type {(inputs: Status_Player_TurnInputs) => LocalizedString} */ (i) => {
|
|
13
|
+
return /** @type {LocalizedString} */ (`খেলোয়াড় ${i?.number}-এর পালা`)
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* | output |
|
|
18
|
+
* | --- |
|
|
19
|
+
* | "P{number}'s turn" |
|
|
20
|
+
*
|
|
21
|
+
* @param {Status_Player_TurnInputs} inputs
|
|
22
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
23
|
+
* @returns {LocalizedString}
|
|
24
|
+
*/
|
|
25
|
+
export const status_player_turn = /** @type {((inputs: Status_Player_TurnInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Status_Player_TurnInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs, options = {}) => {
|
|
26
|
+
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
+
if (locale === "bn") return bn_status_player_turn(inputs)
|
|
28
|
+
return en_status_player_turn(inputs)
|
|
29
|
+
});
|
|
@@ -24,6 +24,6 @@ const bn_status_preparing = /** @type {(inputs: Status_PreparingInputs) => Local
|
|
|
24
24
|
*/
|
|
25
25
|
export const status_preparing = /** @type {((inputs?: Status_PreparingInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Status_PreparingInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
26
26
|
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
-
if (locale === "
|
|
28
|
-
return
|
|
27
|
+
if (locale === "bn") return bn_status_preparing(inputs)
|
|
28
|
+
return en_status_preparing(inputs)
|
|
29
29
|
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* | output |
|
|
3
|
+
* | --- |
|
|
4
|
+
* | "Real-time claims" |
|
|
5
|
+
*
|
|
6
|
+
* @param {Status_Realtime_ClaimsInputs} inputs
|
|
7
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
8
|
+
* @returns {LocalizedString}
|
|
9
|
+
*/
|
|
10
|
+
export const status_realtime_claims: ((inputs?: Status_Realtime_ClaimsInputs, options?: {
|
|
11
|
+
locale?: "en" | "bn";
|
|
12
|
+
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Status_Realtime_ClaimsInputs, {
|
|
13
|
+
locale?: "en" | "bn";
|
|
14
|
+
}, {}>;
|
|
15
|
+
export type LocalizedString = import("../runtime.js").LocalizedString;
|
|
16
|
+
export type Status_Realtime_ClaimsInputs = {};
|
|
@@ -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_Realtime_ClaimsInputs */
|
|
7
|
+
|
|
8
|
+
const en_status_realtime_claims = /** @type {(inputs: Status_Realtime_ClaimsInputs) => LocalizedString} */ () => {
|
|
9
|
+
return /** @type {LocalizedString} */ (`Real-time claims`)
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const bn_status_realtime_claims = /** @type {(inputs: Status_Realtime_ClaimsInputs) => LocalizedString} */ () => {
|
|
13
|
+
return /** @type {LocalizedString} */ (`একসঙ্গে এলাকা দখল`)
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* | output |
|
|
18
|
+
* | --- |
|
|
19
|
+
* | "Real-time claims" |
|
|
20
|
+
*
|
|
21
|
+
* @param {Status_Realtime_ClaimsInputs} inputs
|
|
22
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
23
|
+
* @returns {LocalizedString}
|
|
24
|
+
*/
|
|
25
|
+
export const status_realtime_claims = /** @type {((inputs?: Status_Realtime_ClaimsInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Status_Realtime_ClaimsInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
26
|
+
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
+
if (locale === "bn") return bn_status_realtime_claims(inputs)
|
|
28
|
+
return en_status_realtime_claims(inputs)
|
|
29
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* | output |
|
|
3
|
+
* | --- |
|
|
4
|
+
* | "Disconnected; reconnecting…" |
|
|
5
|
+
*
|
|
6
|
+
* @param {Status_ReconnectingInputs} inputs
|
|
7
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
8
|
+
* @returns {LocalizedString}
|
|
9
|
+
*/
|
|
10
|
+
export const status_reconnecting: ((inputs?: Status_ReconnectingInputs, options?: {
|
|
11
|
+
locale?: "en" | "bn";
|
|
12
|
+
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Status_ReconnectingInputs, {
|
|
13
|
+
locale?: "en" | "bn";
|
|
14
|
+
}, {}>;
|
|
15
|
+
export type LocalizedString = import("../runtime.js").LocalizedString;
|
|
16
|
+
export type Status_ReconnectingInputs = {};
|
|
@@ -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_ReconnectingInputs */
|
|
7
|
+
|
|
8
|
+
const en_status_reconnecting = /** @type {(inputs: Status_ReconnectingInputs) => LocalizedString} */ () => {
|
|
9
|
+
return /** @type {LocalizedString} */ (`Disconnected; reconnecting…`)
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const bn_status_reconnecting = /** @type {(inputs: Status_ReconnectingInputs) => LocalizedString} */ () => {
|
|
13
|
+
return /** @type {LocalizedString} */ (`সংযোগ বিচ্ছিন্ন হয়েছে; আবার সংযোগ হচ্ছে…`)
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* | output |
|
|
18
|
+
* | --- |
|
|
19
|
+
* | "Disconnected; reconnecting…" |
|
|
20
|
+
*
|
|
21
|
+
* @param {Status_ReconnectingInputs} inputs
|
|
22
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
23
|
+
* @returns {LocalizedString}
|
|
24
|
+
*/
|
|
25
|
+
export const status_reconnecting = /** @type {((inputs?: Status_ReconnectingInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Status_ReconnectingInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
26
|
+
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
+
if (locale === "bn") return bn_status_reconnecting(inputs)
|
|
28
|
+
return en_status_reconnecting(inputs)
|
|
29
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* | output |
|
|
3
|
+
* | --- |
|
|
4
|
+
* | "Session complete" |
|
|
5
|
+
*
|
|
6
|
+
* @param {Status_Session_CompleteInputs} inputs
|
|
7
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
8
|
+
* @returns {LocalizedString}
|
|
9
|
+
*/
|
|
10
|
+
export const status_session_complete: ((inputs?: Status_Session_CompleteInputs, options?: {
|
|
11
|
+
locale?: "en" | "bn";
|
|
12
|
+
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Status_Session_CompleteInputs, {
|
|
13
|
+
locale?: "en" | "bn";
|
|
14
|
+
}, {}>;
|
|
15
|
+
export type LocalizedString = import("../runtime.js").LocalizedString;
|
|
16
|
+
export type Status_Session_CompleteInputs = {};
|
|
@@ -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_Session_CompleteInputs */
|
|
7
|
+
|
|
8
|
+
const en_status_session_complete = /** @type {(inputs: Status_Session_CompleteInputs) => LocalizedString} */ () => {
|
|
9
|
+
return /** @type {LocalizedString} */ (`Session complete`)
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const bn_status_session_complete = /** @type {(inputs: Status_Session_CompleteInputs) => LocalizedString} */ () => {
|
|
13
|
+
return /** @type {LocalizedString} */ (`খেলা শেষ`)
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* | output |
|
|
18
|
+
* | --- |
|
|
19
|
+
* | "Session complete" |
|
|
20
|
+
*
|
|
21
|
+
* @param {Status_Session_CompleteInputs} inputs
|
|
22
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
23
|
+
* @returns {LocalizedString}
|
|
24
|
+
*/
|
|
25
|
+
export const status_session_complete = /** @type {((inputs?: Status_Session_CompleteInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Status_Session_CompleteInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
26
|
+
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
+
if (locale === "bn") return bn_status_session_complete(inputs)
|
|
28
|
+
return en_status_session_complete(inputs)
|
|
29
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* | output |
|
|
3
|
+
* | --- |
|
|
4
|
+
* | "P{number} wins" |
|
|
5
|
+
*
|
|
6
|
+
* @param {Status_WinnerInputs} inputs
|
|
7
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
8
|
+
* @returns {LocalizedString}
|
|
9
|
+
*/
|
|
10
|
+
export const status_winner: ((inputs: Status_WinnerInputs, options?: {
|
|
11
|
+
locale?: "en" | "bn";
|
|
12
|
+
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Status_WinnerInputs, {
|
|
13
|
+
locale?: "en" | "bn";
|
|
14
|
+
}, {}>;
|
|
15
|
+
export type LocalizedString = import("../runtime.js").LocalizedString;
|
|
16
|
+
export type Status_WinnerInputs = {
|
|
17
|
+
number: NonNullable<unknown>;
|
|
18
|
+
};
|
|
@@ -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 {{ number: NonNullable<unknown> }} Status_WinnerInputs */
|
|
7
|
+
|
|
8
|
+
const en_status_winner = /** @type {(inputs: Status_WinnerInputs) => LocalizedString} */ (i) => {
|
|
9
|
+
return /** @type {LocalizedString} */ (`P${i?.number} wins`)
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const bn_status_winner = /** @type {(inputs: Status_WinnerInputs) => LocalizedString} */ (i) => {
|
|
13
|
+
return /** @type {LocalizedString} */ (`খেলোয়াড় ${i?.number} জিতেছেন`)
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* | output |
|
|
18
|
+
* | --- |
|
|
19
|
+
* | "P{number} wins" |
|
|
20
|
+
*
|
|
21
|
+
* @param {Status_WinnerInputs} inputs
|
|
22
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
23
|
+
* @returns {LocalizedString}
|
|
24
|
+
*/
|
|
25
|
+
export const status_winner = /** @type {((inputs: Status_WinnerInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Status_WinnerInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs, options = {}) => {
|
|
26
|
+
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
+
if (locale === "bn") return bn_status_winner(inputs)
|
|
28
|
+
return en_status_winner(inputs)
|
|
29
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* | output |
|
|
3
|
+
* | --- |
|
|
4
|
+
* | "Use your Kuncat account for multiplayer." |
|
|
5
|
+
*
|
|
6
|
+
* @param {Text_Account_MultiplayerInputs} inputs
|
|
7
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
8
|
+
* @returns {LocalizedString}
|
|
9
|
+
*/
|
|
10
|
+
export const text_account_multiplayer: ((inputs?: Text_Account_MultiplayerInputs, options?: {
|
|
11
|
+
locale?: "en" | "bn";
|
|
12
|
+
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Text_Account_MultiplayerInputs, {
|
|
13
|
+
locale?: "en" | "bn";
|
|
14
|
+
}, {}>;
|
|
15
|
+
export type LocalizedString = import("../runtime.js").LocalizedString;
|
|
16
|
+
export type Text_Account_MultiplayerInputs = {};
|
|
@@ -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_Account_MultiplayerInputs */
|
|
7
|
+
|
|
8
|
+
const en_text_account_multiplayer = /** @type {(inputs: Text_Account_MultiplayerInputs) => LocalizedString} */ () => {
|
|
9
|
+
return /** @type {LocalizedString} */ (`Use your Kuncat account for multiplayer.`)
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const bn_text_account_multiplayer = /** @type {(inputs: Text_Account_MultiplayerInputs) => LocalizedString} */ () => {
|
|
13
|
+
return /** @type {LocalizedString} */ (`বহুজন খেলতে আপনার Kuncat অ্যাকাউন্ট ব্যবহার করুন।`)
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* | output |
|
|
18
|
+
* | --- |
|
|
19
|
+
* | "Use your Kuncat account for multiplayer." |
|
|
20
|
+
*
|
|
21
|
+
* @param {Text_Account_MultiplayerInputs} inputs
|
|
22
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
23
|
+
* @returns {LocalizedString}
|
|
24
|
+
*/
|
|
25
|
+
export const text_account_multiplayer = /** @type {((inputs?: Text_Account_MultiplayerInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Text_Account_MultiplayerInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
26
|
+
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
+
if (locale === "bn") return bn_text_account_multiplayer(inputs)
|
|
28
|
+
return en_text_account_multiplayer(inputs)
|
|
29
|
+
});
|
|
@@ -24,6 +24,6 @@ const bn_text_avoided = /** @type {(inputs: Text_AvoidedInputs) => LocalizedStri
|
|
|
24
24
|
*/
|
|
25
25
|
export const text_avoided = /** @type {((inputs?: Text_AvoidedInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Text_AvoidedInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
26
26
|
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
-
if (locale === "
|
|
28
|
-
return
|
|
27
|
+
if (locale === "bn") return bn_text_avoided(inputs)
|
|
28
|
+
return en_text_avoided(inputs)
|
|
29
29
|
});
|
|
@@ -24,6 +24,6 @@ const bn_text_density_summary = /** @type {(inputs: Text_Density_SummaryInputs)
|
|
|
24
24
|
*/
|
|
25
25
|
export const text_density_summary = /** @type {((inputs: Text_Density_SummaryInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Text_Density_SummaryInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs, options = {}) => {
|
|
26
26
|
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
-
if (locale === "
|
|
28
|
-
return
|
|
27
|
+
if (locale === "bn") return bn_text_density_summary(inputs)
|
|
28
|
+
return en_text_density_summary(inputs)
|
|
29
29
|
});
|
|
@@ -24,6 +24,6 @@ const bn_text_invite_after_opening = /** @type {(inputs: Text_Invite_After_Openi
|
|
|
24
24
|
*/
|
|
25
25
|
export const text_invite_after_opening = /** @type {((inputs?: Text_Invite_After_OpeningInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Text_Invite_After_OpeningInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
26
26
|
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
-
if (locale === "
|
|
28
|
-
return
|
|
27
|
+
if (locale === "bn") return bn_text_invite_after_opening(inputs)
|
|
28
|
+
return en_text_invite_after_opening(inputs)
|
|
29
29
|
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* | output |
|
|
3
|
+
* | --- |
|
|
4
|
+
* | "Log in to enable multiplayer modes." |
|
|
5
|
+
*
|
|
6
|
+
* @param {Text_Multiplayer_LoginInputs} inputs
|
|
7
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
8
|
+
* @returns {LocalizedString}
|
|
9
|
+
*/
|
|
10
|
+
export const text_multiplayer_login: ((inputs?: Text_Multiplayer_LoginInputs, options?: {
|
|
11
|
+
locale?: "en" | "bn";
|
|
12
|
+
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Text_Multiplayer_LoginInputs, {
|
|
13
|
+
locale?: "en" | "bn";
|
|
14
|
+
}, {}>;
|
|
15
|
+
export type LocalizedString = import("../runtime.js").LocalizedString;
|
|
16
|
+
export type Text_Multiplayer_LoginInputs = {};
|
|
@@ -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_LoginInputs */
|
|
7
|
+
|
|
8
|
+
const en_text_multiplayer_login = /** @type {(inputs: Text_Multiplayer_LoginInputs) => LocalizedString} */ () => {
|
|
9
|
+
return /** @type {LocalizedString} */ (`Log in to enable multiplayer modes.`)
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const bn_text_multiplayer_login = /** @type {(inputs: Text_Multiplayer_LoginInputs) => LocalizedString} */ () => {
|
|
13
|
+
return /** @type {LocalizedString} */ (`বহুজন খেলার ধরন চালু করতে লগ ইন করুন।`)
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* | output |
|
|
18
|
+
* | --- |
|
|
19
|
+
* | "Log in to enable multiplayer modes." |
|
|
20
|
+
*
|
|
21
|
+
* @param {Text_Multiplayer_LoginInputs} inputs
|
|
22
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
23
|
+
* @returns {LocalizedString}
|
|
24
|
+
*/
|
|
25
|
+
export const text_multiplayer_login = /** @type {((inputs?: Text_Multiplayer_LoginInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Text_Multiplayer_LoginInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
26
|
+
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
+
if (locale === "bn") return bn_text_multiplayer_login(inputs)
|
|
28
|
+
return en_text_multiplayer_login(inputs)
|
|
29
|
+
});
|
|
@@ -24,6 +24,6 @@ const bn_text_relay_servers_hint = /** @type {(inputs: Text_Relay_Servers_HintIn
|
|
|
24
24
|
*/
|
|
25
25
|
export const text_relay_servers_hint = /** @type {((inputs?: Text_Relay_Servers_HintInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Text_Relay_Servers_HintInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
26
26
|
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
-
if (locale === "
|
|
28
|
-
return
|
|
27
|
+
if (locale === "bn") return bn_text_relay_servers_hint(inputs)
|
|
28
|
+
return en_text_relay_servers_hint(inputs)
|
|
29
29
|
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* | output |
|
|
3
|
+
* | --- |
|
|
4
|
+
* | "Waiting in lobby. Share the invitation link; the creator starts once everyone has joined." |
|
|
5
|
+
*
|
|
6
|
+
* @param {Text_Waiting_LobbyInputs} inputs
|
|
7
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
8
|
+
* @returns {LocalizedString}
|
|
9
|
+
*/
|
|
10
|
+
export const text_waiting_lobby: ((inputs?: Text_Waiting_LobbyInputs, options?: {
|
|
11
|
+
locale?: "en" | "bn";
|
|
12
|
+
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Text_Waiting_LobbyInputs, {
|
|
13
|
+
locale?: "en" | "bn";
|
|
14
|
+
}, {}>;
|
|
15
|
+
export type LocalizedString = import("../runtime.js").LocalizedString;
|
|
16
|
+
export type Text_Waiting_LobbyInputs = {};
|
|
@@ -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_Waiting_LobbyInputs */
|
|
7
|
+
|
|
8
|
+
const en_text_waiting_lobby = /** @type {(inputs: Text_Waiting_LobbyInputs) => LocalizedString} */ () => {
|
|
9
|
+
return /** @type {LocalizedString} */ (`Waiting in lobby. Share the invitation link; the creator starts once everyone has joined.`)
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const bn_text_waiting_lobby = /** @type {(inputs: Text_Waiting_LobbyInputs) => LocalizedString} */ () => {
|
|
13
|
+
return /** @type {LocalizedString} */ (`খেলা শুরুর অপেক্ষায়। আমন্ত্রণ লিঙ্কটি পাঠান; সবাই যোগ দিলে যিনি খেলা তৈরি করেছেন তিনি শুরু করবেন।`)
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* | output |
|
|
18
|
+
* | --- |
|
|
19
|
+
* | "Waiting in lobby. Share the invitation link; the creator starts once everyone has joined." |
|
|
20
|
+
*
|
|
21
|
+
* @param {Text_Waiting_LobbyInputs} inputs
|
|
22
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
23
|
+
* @returns {LocalizedString}
|
|
24
|
+
*/
|
|
25
|
+
export const text_waiting_lobby = /** @type {((inputs?: Text_Waiting_LobbyInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Text_Waiting_LobbyInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
26
|
+
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
+
if (locale === "bn") return bn_text_waiting_lobby(inputs)
|
|
28
|
+
return en_text_waiting_lobby(inputs)
|
|
29
|
+
});
|
|
@@ -24,6 +24,6 @@ const bn_tutorial_action_dismiss = /** @type {(inputs: Tutorial_Action_DismissIn
|
|
|
24
24
|
*/
|
|
25
25
|
export const tutorial_action_dismiss = /** @type {((inputs?: Tutorial_Action_DismissInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Tutorial_Action_DismissInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
26
26
|
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
-
if (locale === "
|
|
28
|
-
return
|
|
27
|
+
if (locale === "bn") return bn_tutorial_action_dismiss(inputs)
|
|
28
|
+
return en_tutorial_action_dismiss(inputs)
|
|
29
29
|
});
|
|
@@ -24,6 +24,6 @@ const bn_tutorial_action_next = /** @type {(inputs: Tutorial_Action_NextInputs)
|
|
|
24
24
|
*/
|
|
25
25
|
export const tutorial_action_next = /** @type {((inputs?: Tutorial_Action_NextInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Tutorial_Action_NextInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
26
26
|
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
-
if (locale === "
|
|
28
|
-
return
|
|
27
|
+
if (locale === "bn") return bn_tutorial_action_next(inputs)
|
|
28
|
+
return en_tutorial_action_next(inputs)
|
|
29
29
|
});
|
|
@@ -24,6 +24,6 @@ const bn_tutorial_after_safe_deducible = /** @type {(inputs: Tutorial_After_Safe
|
|
|
24
24
|
*/
|
|
25
25
|
export const tutorial_after_safe_deducible = /** @type {((inputs?: Tutorial_After_Safe_DeducibleInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Tutorial_After_Safe_DeducibleInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
26
26
|
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
-
if (locale === "
|
|
28
|
-
return
|
|
27
|
+
if (locale === "bn") return bn_tutorial_after_safe_deducible(inputs)
|
|
28
|
+
return en_tutorial_after_safe_deducible(inputs)
|
|
29
29
|
});
|
|
@@ -24,6 +24,6 @@ const bn_tutorial_after_safe_guess = /** @type {(inputs: Tutorial_After_Safe_Gue
|
|
|
24
24
|
*/
|
|
25
25
|
export const tutorial_after_safe_guess = /** @type {((inputs?: Tutorial_After_Safe_GuessInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Tutorial_After_Safe_GuessInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
26
26
|
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
-
if (locale === "
|
|
28
|
-
return
|
|
27
|
+
if (locale === "bn") return bn_tutorial_after_safe_guess(inputs)
|
|
28
|
+
return en_tutorial_after_safe_guess(inputs)
|
|
29
29
|
});
|
|
@@ -24,6 +24,6 @@ const bn_tutorial_after_void = /** @type {(inputs: Tutorial_After_VoidInputs) =>
|
|
|
24
24
|
*/
|
|
25
25
|
export const tutorial_after_void = /** @type {((inputs?: Tutorial_After_VoidInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Tutorial_After_VoidInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
26
26
|
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
-
if (locale === "
|
|
28
|
-
return
|
|
27
|
+
if (locale === "bn") return bn_tutorial_after_void(inputs)
|
|
28
|
+
return en_tutorial_after_void(inputs)
|
|
29
29
|
});
|
|
@@ -24,6 +24,6 @@ const bn_tutorial_awaiting_first_click = /** @type {(inputs: Tutorial_Awaiting_F
|
|
|
24
24
|
*/
|
|
25
25
|
export const tutorial_awaiting_first_click = /** @type {((inputs?: Tutorial_Awaiting_First_ClickInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Tutorial_Awaiting_First_ClickInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
26
26
|
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
-
if (locale === "
|
|
28
|
-
return
|
|
27
|
+
if (locale === "bn") return bn_tutorial_awaiting_first_click(inputs)
|
|
28
|
+
return en_tutorial_awaiting_first_click(inputs)
|
|
29
29
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* | output |
|
|
3
3
|
* | --- |
|
|
4
|
-
* | "Welcome to Avoidant. On any map, drag with one finger or
|
|
4
|
+
* | "Welcome to Avoidant. On any map, drag with one finger or the left mouse button to pan. Drag with the right mouse button, hold Shift while dragging with the l..." |
|
|
5
5
|
*
|
|
6
6
|
* @param {Tutorial_IntroInputs} inputs
|
|
7
7
|
* @param {{ locale?: "en" | "bn" }} options
|
|
@@ -6,17 +6,17 @@ import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
|
|
6
6
|
/** @typedef {{}} Tutorial_IntroInputs */
|
|
7
7
|
|
|
8
8
|
const en_tutorial_intro = /** @type {(inputs: Tutorial_IntroInputs) => LocalizedString} */ () => {
|
|
9
|
-
return /** @type {LocalizedString} */ (`Welcome to Avoidant. On any map, drag with one finger or
|
|
9
|
+
return /** @type {LocalizedString} */ (`Welcome to Avoidant. On any map, drag with one finger or the left mouse button to pan. Drag with the right mouse button, hold Shift while dragging with the left mouse button, or drag with two fingers on a touchscreen to rotate around the map's center. Scroll to zoom toward the cursor, or pinch to zoom around the midpoint between your fingers. Rotation slows down as you zoom in. When you're comfortable with the controls, press Next to start exploring cells.`)
|
|
10
10
|
};
|
|
11
11
|
|
|
12
12
|
const bn_tutorial_intro = /** @type {(inputs: Tutorial_IntroInputs) => LocalizedString} */ () => {
|
|
13
|
-
return /** @type {LocalizedString} */ (`Avoidant-এ স্বাগতম। সব ধরনের ম্যাপে এক আঙুল দিয়ে বা মাউসের বাম
|
|
13
|
+
return /** @type {LocalizedString} */ (`Avoidant-এ স্বাগতম। সব ধরনের ম্যাপে এক আঙুল দিয়ে বা মাউসের বাম বোতাম চেপে টানলে ম্যাপ সরানো যায়। মাউসের ডান বোতাম চেপে টানলে, Shift চেপে ধরে মাউসের বাম বোতাম দিয়ে টানলে, অথবা টাচস্ক্রিনে দুই আঙুল দিয়ে টানলে, ম্যাপের কেন্দ্র ঘিরে ঘোরানো যায়। কার্সরের অবস্থানের দিকে জুম করতে স্ক্রল করুন। দুই আঙুল কাছাকাছি বা দূরে সরালে আঙুল দুটির মাঝের বিন্দুকে কেন্দ্র করে জুম হবে। জুম করে কাছে গেলে ঘোরানোর গতি কমে। নিয়ন্ত্রণে সাবলীল হলে পরবর্তী চাপুন এবং সেল অনুসন্ধান শুরু করুন।`)
|
|
14
14
|
};
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* | output |
|
|
18
18
|
* | --- |
|
|
19
|
-
* | "Welcome to Avoidant. On any map, drag with one finger or
|
|
19
|
+
* | "Welcome to Avoidant. On any map, drag with one finger or the left mouse button to pan. Drag with the right mouse button, hold Shift while dragging with the l..." |
|
|
20
20
|
*
|
|
21
21
|
* @param {Tutorial_IntroInputs} inputs
|
|
22
22
|
* @param {{ locale?: "en" | "bn" }} options
|
|
@@ -24,6 +24,6 @@ const bn_tutorial_intro = /** @type {(inputs: Tutorial_IntroInputs) => Localized
|
|
|
24
24
|
*/
|
|
25
25
|
export const tutorial_intro = /** @type {((inputs?: Tutorial_IntroInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Tutorial_IntroInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
26
26
|
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
-
if (locale === "
|
|
28
|
-
return
|
|
27
|
+
if (locale === "bn") return bn_tutorial_intro(inputs)
|
|
28
|
+
return en_tutorial_intro(inputs)
|
|
29
29
|
});
|
|
@@ -24,6 +24,6 @@ const bn_tutorial_won = /** @type {(inputs: Tutorial_WonInputs) => LocalizedStri
|
|
|
24
24
|
*/
|
|
25
25
|
export const tutorial_won = /** @type {((inputs: Tutorial_WonInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Tutorial_WonInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs, options = {}) => {
|
|
26
26
|
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
-
if (locale === "
|
|
28
|
-
return
|
|
27
|
+
if (locale === "bn") return bn_tutorial_won(inputs)
|
|
28
|
+
return en_tutorial_won(inputs)
|
|
29
29
|
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* | output |
|
|
3
|
+
* | --- |
|
|
4
|
+
* | "Hours" |
|
|
5
|
+
*
|
|
6
|
+
* @param {Unit_HoursInputs} inputs
|
|
7
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
8
|
+
* @returns {LocalizedString}
|
|
9
|
+
*/
|
|
10
|
+
export const unit_hours: ((inputs?: Unit_HoursInputs, options?: {
|
|
11
|
+
locale?: "en" | "bn";
|
|
12
|
+
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Unit_HoursInputs, {
|
|
13
|
+
locale?: "en" | "bn";
|
|
14
|
+
}, {}>;
|
|
15
|
+
export type LocalizedString = import("../runtime.js").LocalizedString;
|
|
16
|
+
export type Unit_HoursInputs = {};
|