diff --git a/ui/src/lib/paraglide/.prettierignore b/ui/src/lib/paraglide/.prettierignore new file mode 100644 index 0000000..d513411 --- /dev/null +++ b/ui/src/lib/paraglide/.prettierignore @@ -0,0 +1,3 @@ +# ignore everything because the directory is auto-generated by inlang paraglide-js +# for more info visit https://inlang.com/m/gerre34r/paraglide-js +* diff --git a/ui/src/lib/paraglide/README.md b/ui/src/lib/paraglide/README.md new file mode 100644 index 0000000..a7c010e --- /dev/null +++ b/ui/src/lib/paraglide/README.md @@ -0,0 +1,147 @@ +# Paraglide JS Compiled Output + +> Auto-generated i18n message functions. Import `messages.js` to use translated strings. + +Compiled from: `/Users/kalekber/code/libnovel-v2/ui/project.inlang` + + +## What is this folder? + +This folder contains compiled [Paraglide JS](https://github.com/opral/paraglide-js) output. Paraglide JS compiles your translation messages into tree-shakeable JavaScript functions. + +## At a glance + +Purpose: +- This folder stores compiled i18n message functions. +- Source translations live outside this folder in your inlang project. + +Safe to import: +- `messages.js` — all message functions +- `runtime.js` — locale utilities +- `server.js` — server-side middleware + +Do not edit: +- All files in this folder are auto-generated. +- Changes will be overwritten on next compilation. + +``` +paraglide/ +├── messages.js # Message exports (import this) +├── messages/ # Individual message functions +├── runtime.js # Locale detection & configuration +├── registry.js # Formatting utilities (plural, number, datetime) +├── server.js # Server-side middleware +└── .gitignore # Marks folder as generated +``` + +## Usage + +```js +import * as m from "./paraglide/messages.js"; + +// Messages are functions that return localized strings +m.hello_world(); // "Hello, World!" (in current locale) +m.greeting({ name: "Sam" }); // "Hello, Sam!" + +// Override locale per-call +m.hello_world({}, { locale: "de" }); // "Hallo, Welt!" +m.greeting({ name: "Sam" }, { locale: "de" }); // "Hallo, Sam!" +``` + +## Runtime API + +```js +import { getLocale, getTextDirection, setLocale, locales, baseLocale } from "./paraglide/runtime.js"; + +getLocale(); // Current locale, e.g., "en" +getTextDirection(); // "ltr" | "rtl" for current locale +setLocale("de"); // Set locale +locales; // Available locales, e.g., ["en", "de", "fr"] +baseLocale; // Default locale, e.g., "en" +``` + +## Strategy + +The strategy determines how the current locale is detected and persisted: + +- **Cookie**: Stores locale preference in a cookie. +- **URL**: Derives locale from URL patterns (e.g., `/en/about`, `en.example.com`). +- **GlobalVariable**: Uses a global variable (client-side only). +- **BaseLocale**: Always returns the base locale. + +Strategies can be combined. The order defines precedence: + +```js +await compile({ + project: "./project.inlang", + outdir: "./src/paraglide", + strategy: ["url", "cookie", "baseLocale"], +}); +``` + +See the [strategy documentation](https://inlang.com/m/gerre34r/library-inlang-paraglideJs/strategy) for details. + +## Markup (Rich Text) + +Messages can contain markup tags for bold, links, and other inline elements. Translators control where tags appear; developers control how they render. + +### Message syntax + +```json +{ + "cta": "{#link to=|/docs|}Read the docs{/link}", + "bold_text": "This is {#bold}important{/bold}" +} +``` + +- `{#tagName}` opens a tag, `{/tagName}` closes it. +- Options: `to=|/docs|` (accessed via `options.to`). +- Attributes: `@track` (boolean, accessed via `attributes.track`). + +This is the default inlang message syntax. Paraglide's message format is plugin-based — you can use [ICU MessageFormat 1](https://inlang.com/m/p7c8m1d2/plugin-inlang-icu-messageformat-1), [i18next](https://inlang.com/m/3i8bor92/plugin-inlang-i18next), or other [plugins](https://inlang.com/c/plugins) instead. + +### Rendering markup + +Calling `m.cta()` returns **plain text** (markup stripped). To render markup, use the framework adapter or the low-level `parts()` API: + +```js +const parts = m.cta.parts({}); +// [ +// { type: "markup-start", name: "link", options: { to: "/docs" }, attributes: {} }, +// { type: "text", value: "Read the docs" }, +// { type: "markup-end", name: "link" } +// ] +``` + +Framework adapters provide a `` component that accepts markup renderers: + +- `@inlang/paraglide-js-react` +- `@inlang/paraglide-js-vue` +- `@inlang/paraglide-js-svelte` +- `@inlang/paraglide-js-solid` + +```jsx +import { ParaglideMessage } from "@inlang/paraglide-js-react"; // or -vue, -svelte, -solid + + {children}, + }} +/> +``` + +See the [markup documentation](https://inlang.com/m/gerre34r/library-inlang-paraglideJs/markup) for details. + +## Key concepts + +- **Tree-shakeable**: Each message is a function, enabling [up to 70% smaller i18n bundle sizes](https://inlang.com/m/gerre34r/library-inlang-paraglideJs/benchmark) than traditional i18n libraries. +- **Typesafe**: Full TypeScript/JSDoc support with autocomplete. +- **Variants**: Messages can have variants for pluralization, gender, etc. +- **Fallbacks**: Missing translations fall back to the base locale. + +## Links + +- [Paraglide JS Documentation](https://inlang.com/m/gerre34r/library-inlang-paraglideJs) +- [Source Repository](https://github.com/opral/paraglide-js) diff --git a/ui/src/lib/paraglide/messages.js b/ui/src/lib/paraglide/messages.js new file mode 100644 index 0000000..83a0d9d --- /dev/null +++ b/ui/src/lib/paraglide/messages.js @@ -0,0 +1,2 @@ +/* eslint-disable */ +export * from './messages/_index.js' \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/_index.js b/ui/src/lib/paraglide/messages/_index.js new file mode 100644 index 0000000..669d958 --- /dev/null +++ b/ui/src/lib/paraglide/messages/_index.js @@ -0,0 +1,376 @@ +/* eslint-disable */ +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ +export * from './nav_library.js' +export * from './nav_catalogue.js' +export * from './nav_feedback.js' +export * from './nav_admin.js' +export * from './nav_profile.js' +export * from './nav_sign_in.js' +export * from './nav_sign_out.js' +export * from './nav_toggle_menu.js' +export * from './nav_admin_panel.js' +export * from './footer_library.js' +export * from './footer_catalogue.js' +export * from './footer_feedback.js' +export * from './footer_disclaimer.js' +export * from './footer_privacy.js' +export * from './footer_dmca.js' +export * from './footer_copyright.js' +export * from './footer_dev.js' +export * from './home_title.js' +export * from './home_stat_books.js' +export * from './home_stat_chapters.js' +export * from './home_stat_in_progress.js' +export * from './home_continue_reading.js' +export * from './home_view_all.js' +export * from './home_recently_updated.js' +export * from './home_from_following.js' +export * from './home_empty_title.js' +export * from './home_empty_body.js' +export * from './home_discover_novels.js' +export * from './home_via_reader.js' +export * from './home_chapter_badge.js' +export * from './player_generating.js' +export * from './player_loading.js' +export * from './player_chapters.js' +export * from './player_chapter_n.js' +export * from './player_toggle_chapter_list.js' +export * from './player_chapter_list_label.js' +export * from './player_close_chapter_list.js' +export * from './player_rewind_15.js' +export * from './player_skip_30.js' +export * from './player_back_15.js' +export * from './player_forward_30.js' +export * from './player_play.js' +export * from './player_pause.js' +export * from './player_speed_label.js' +export * from './player_seek_label.js' +export * from './player_change_speed.js' +export * from './player_auto_next_on.js' +export * from './player_auto_next_off.js' +export * from './player_auto_next_ready.js' +export * from './player_auto_next_preparing.js' +export * from './player_auto_next_aria.js' +export * from './player_go_to_chapter.js' +export * from './player_close.js' +export * from './login_page_title.js' +export * from './login_heading.js' +export * from './login_subheading.js' +export * from './login_continue_google.js' +export * from './login_continue_github.js' +export * from './login_terms_notice.js' +export * from './login_error_oauth_state.js' +export * from './login_error_oauth_failed.js' +export * from './login_error_oauth_no_email.js' +export * from './books_page_title.js' +export * from './books_heading.js' +export * from './books_empty_title.js' +export * from './books_empty_body.js' +export * from './books_browse_catalogue.js' +export * from './books_chapter_count.js' +export * from './books_last_read.js' +export * from './books_reading_progress.js' +export * from './books_remove.js' +export * from './catalogue_page_title.js' +export * from './catalogue_heading.js' +export * from './catalogue_search_placeholder.js' +export * from './catalogue_filter_genre.js' +export * from './catalogue_filter_status.js' +export * from './catalogue_filter_sort.js' +export * from './catalogue_sort_popular.js' +export * from './catalogue_sort_new.js' +export * from './catalogue_sort_top_rated.js' +export * from './catalogue_sort_rank.js' +export * from './catalogue_status_all.js' +export * from './catalogue_status_ongoing.js' +export * from './catalogue_status_completed.js' +export * from './catalogue_genre_all.js' +export * from './catalogue_clear_filters.js' +export * from './catalogue_reset.js' +export * from './catalogue_no_results.js' +export * from './catalogue_loading.js' +export * from './catalogue_load_more.js' +export * from './catalogue_results_count.js' +export * from './book_detail_page_title.js' +export * from './book_detail_signin_to_save.js' +export * from './book_detail_add_to_library.js' +export * from './book_detail_remove_from_library.js' +export * from './book_detail_read_now.js' +export * from './book_detail_continue_reading.js' +export * from './book_detail_start_reading.js' +export * from './book_detail_chapters.js' +export * from './book_detail_status.js' +export * from './book_detail_author.js' +export * from './book_detail_genres.js' +export * from './book_detail_description.js' +export * from './book_detail_source.js' +export * from './book_detail_rescrape.js' +export * from './book_detail_scraping.js' +export * from './book_detail_in_library.js' +export * from './chapters_page_title.js' +export * from './chapters_heading.js' +export * from './chapters_back_to_book.js' +export * from './chapters_reading_now.js' +export * from './chapters_empty.js' +export * from './reader_page_title.js' +export * from './reader_play_narration.js' +export * from './reader_generating_audio.js' +export * from './reader_signin_for_audio.js' +export * from './reader_signin_audio_desc.js' +export * from './reader_audio_error.js' +export * from './reader_prev_chapter.js' +export * from './reader_next_chapter.js' +export * from './reader_back_to_chapters.js' +export * from './reader_chapter_n.js' +export * from './reader_change_voice.js' +export * from './reader_voice_panel_title.js' +export * from './reader_voice_kokoro.js' +export * from './reader_voice_pocket.js' +export * from './reader_voice_play_sample.js' +export * from './reader_voice_stop_sample.js' +export * from './reader_voice_selected.js' +export * from './reader_close_voice_panel.js' +export * from './reader_auto_next.js' +export * from './reader_speed.js' +export * from './reader_preview_notice.js' +export * from './profile_page_title.js' +export * from './profile_heading.js' +export * from './profile_avatar_label.js' +export * from './profile_change_avatar.js' +export * from './profile_username.js' +export * from './profile_email.js' +export * from './profile_change_password.js' +export * from './profile_current_password.js' +export * from './profile_new_password.js' +export * from './profile_confirm_password.js' +export * from './profile_save_password.js' +export * from './profile_appearance_heading.js' +export * from './profile_theme_label.js' +export * from './profile_theme_amber.js' +export * from './profile_theme_slate.js' +export * from './profile_theme_rose.js' +export * from './profile_theme_light.js' +export * from './profile_theme_light_slate.js' +export * from './profile_theme_light_rose.js' +export * from './profile_reading_heading.js' +export * from './profile_voice_label.js' +export * from './profile_speed_label.js' +export * from './profile_auto_next_label.js' +export * from './profile_save_settings.js' +export * from './profile_settings_saved.js' +export * from './profile_settings_error.js' +export * from './profile_password_saved.js' +export * from './profile_password_error.js' +export * from './profile_sessions_heading.js' +export * from './profile_sign_out_all.js' +export * from './profile_joined.js' +export * from './user_page_title.js' +export * from './user_library_heading.js' +export * from './user_follow.js' +export * from './user_unfollow.js' +export * from './user_followers.js' +export * from './user_following.js' +export * from './user_library_empty.js' +export * from './error_not_found_title.js' +export * from './error_not_found_body.js' +export * from './error_generic_title.js' +export * from './error_go_home.js' +export * from './error_status.js' +export * from './admin_scrape_page_title.js' +export * from './admin_scrape_heading.js' +export * from './admin_scrape_catalogue.js' +export * from './admin_scrape_book.js' +export * from './admin_scrape_url_placeholder.js' +export * from './admin_scrape_range.js' +export * from './admin_scrape_from.js' +export * from './admin_scrape_to.js' +export * from './admin_scrape_submit.js' +export * from './admin_scrape_cancel.js' +export * from './admin_scrape_status_pending.js' +export * from './admin_scrape_status_running.js' +export * from './admin_scrape_status_done.js' +export * from './admin_scrape_status_failed.js' +export * from './admin_scrape_status_cancelled.js' +export * from './admin_tasks_heading.js' +export * from './admin_tasks_empty.js' +export * from './admin_audio_page_title.js' +export * from './admin_audio_heading.js' +export * from './admin_audio_empty.js' +export * from './admin_changelog_page_title.js' +export * from './admin_changelog_heading.js' +export * from './comments_heading.js' +export * from './comments_empty.js' +export * from './comments_placeholder.js' +export * from './comments_submit.js' +export * from './comments_login_prompt.js' +export * from './comments_vote_up.js' +export * from './comments_vote_down.js' +export * from './comments_delete.js' +export * from './comments_reply.js' +export * from './comments_show_replies.js' +export * from './comments_hide_replies.js' +export * from './comments_edited.js' +export * from './comments_deleted.js' +export * from './disclaimer_page_title.js' +export * from './privacy_page_title.js' +export * from './dmca_page_title.js' +export * from './terms_page_title.js' +export * from './common_loading.js' +export * from './common_error.js' +export * from './common_save.js' +export * from './common_cancel.js' +export * from './common_close.js' +export * from './common_search.js' +export * from './common_back.js' +export * from './common_next.js' +export * from './common_previous.js' +export * from './common_yes.js' +export * from './common_no.js' +export * from './common_on.js' +export * from './common_off.js' +export * from './locale_switcher_label.js' +export * from './books_empty_library.js' +export * from './books_empty_discover.js' +export * from './books_empty_discover_link.js' +export * from './books_empty_discover_suffix.js' +export * from './books_count.js' +export * from './catalogue_sort_updated.js' +export * from './catalogue_search_button.js' +export * from './catalogue_refresh.js' +export * from './catalogue_refreshing.js' +export * from './catalogue_refresh_mobile.js' +export * from './catalogue_all_loaded.js' +export * from './catalogue_scroll_top.js' +export * from './catalogue_view_grid.js' +export * from './catalogue_view_list.js' +export * from './catalogue_browse_source.js' +export * from './catalogue_search_results.js' +export * from './catalogue_search_local_count.js' +export * from './catalogue_rank_ranked.js' +export * from './catalogue_rank_no_data.js' +export * from './catalogue_rank_no_data_body.js' +export * from './catalogue_rank_run_scrape_admin.js' +export * from './catalogue_rank_run_scrape_user.js' +export * from './catalogue_scrape_queued_flash.js' +export * from './catalogue_scrape_busy_flash.js' +export * from './catalogue_scrape_error_flash.js' +export * from './catalogue_filters_label.js' +export * from './catalogue_apply.js' +export * from './catalogue_filter_rank_note.js' +export * from './catalogue_no_results_search.js' +export * from './catalogue_no_results_try.js' +export * from './catalogue_no_results_filters.js' +export * from './catalogue_scrape_queued_badge.js' +export * from './catalogue_scrape_busy_badge.js' +export * from './catalogue_scrape_busy_list.js' +export * from './catalogue_scrape_forbidden_badge.js' +export * from './catalogue_scrape_novel_button.js' +export * from './catalogue_scraping_novel.js' +export * from './book_detail_not_in_library.js' +export * from './book_detail_continue_ch.js' +export * from './book_detail_start_ch1.js' +export * from './book_detail_preview_ch1.js' +export * from './book_detail_reading_ch.js' +export * from './book_detail_n_chapters.js' +export * from './book_detail_rescraping.js' +export * from './book_detail_from_chapter.js' +export * from './book_detail_to_chapter.js' +export * from './book_detail_range_queuing.js' +export * from './book_detail_scrape_range.js' +export * from './book_detail_admin.js' +export * from './book_detail_scraping_progress.js' +export * from './book_detail_scraping_home.js' +export * from './book_detail_rescrape_book.js' +export * from './book_detail_less.js' +export * from './book_detail_more.js' +export * from './chapters_search_placeholder.js' +export * from './chapters_jump_to.js' +export * from './chapters_no_match.js' +export * from './chapters_none_available.js' +export * from './chapters_reading_indicator.js' +export * from './chapters_result_count.js' +export * from './reader_fetching_chapter.js' +export * from './reader_words.js' +export * from './reader_preview_audio_notice.js' +export * from './profile_click_to_change.js' +export * from './profile_tts_voice.js' +export * from './profile_auto_advance.js' +export * from './profile_saving.js' +export * from './profile_saved.js' +export * from './profile_session_this.js' +export * from './profile_session_signed_in.js' +export * from './profile_session_last_seen.js' +export * from './profile_session_sign_out.js' +export * from './profile_session_end.js' +export * from './profile_session_unrecognised.js' +export * from './profile_no_sessions.js' +export * from './profile_change_password_heading.js' +export * from './profile_update_password.js' +export * from './profile_updating.js' +export * from './profile_password_changed_ok.js' +export * from './profile_playback_speed.js' +export * from './profile_subscription_heading.js' +export * from './profile_plan_pro.js' +export * from './profile_plan_free.js' +export * from './profile_pro_active.js' +export * from './profile_pro_perks.js' +export * from './profile_manage_subscription.js' +export * from './profile_upgrade_heading.js' +export * from './profile_upgrade_desc.js' +export * from './profile_upgrade_monthly.js' +export * from './profile_upgrade_annual.js' +export * from './profile_free_limits.js' +export * from './user_currently_reading.js' +export * from './user_library_count.js' +export * from './user_joined.js' +export * from './user_followers_label.js' +export * from './user_following_label.js' +export * from './user_no_books.js' +export * from './admin_pages_label.js' +export * from './admin_tools_label.js' +export * from './admin_scrape_status_idle.js' +export * from './admin_scrape_full_catalogue.js' +export * from './admin_scrape_single_book.js' +export * from './admin_scrape_quick_genres.js' +export * from './admin_scrape_task_history.js' +export * from './admin_scrape_filter_placeholder.js' +export * from './admin_scrape_no_matching.js' +export * from './admin_scrape_start.js' +export * from './admin_scrape_queuing.js' +export * from './admin_scrape_running.js' +export * from './admin_audio_filter_jobs.js' +export * from './admin_audio_filter_cache.js' +export * from './admin_audio_no_matching_jobs.js' +export * from './admin_audio_no_jobs.js' +export * from './admin_audio_cache_empty.js' +export * from './admin_audio_no_cache_results.js' +export * from './admin_changelog_gitea.js' +export * from './admin_changelog_no_releases.js' +export * from './admin_changelog_load_error.js' +export * from './comments_top.js' +export * from './comments_new.js' +export * from './comments_posting.js' +export * from './comments_login_link.js' +export * from './comments_login_suffix.js' +export * from './comments_anonymous.js' +export * from './reader_audio_narration.js' +export * from './reader_playing.js' +export * from './reader_paused.js' +export * from './reader_ch_ready.js' +export * from './reader_ch_preparing.js' +export * from './reader_ch_generate_on_nav.js' +export * from './reader_now_playing.js' +export * from './reader_load_this_chapter.js' +export * from './reader_generate_samples.js' +export * from './reader_voice_applies_next.js' +export * from './reader_choose_voice.js' +export * from './reader_generating_narration.js' +export * from './profile_font_family.js' +export * from './profile_font_system.js' +export * from './profile_font_serif.js' +export * from './profile_font_mono.js' +export * from './profile_text_size.js' +export * from './profile_text_size_sm.js' +export * from './profile_text_size_md.js' +export * from './profile_text_size_lg.js' +export * from './profile_text_size_xl.js' \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/admin_audio_cache_empty.js b/ui/src/lib/paraglide/messages/admin_audio_cache_empty.js new file mode 100644 index 0000000..9cf128e --- /dev/null +++ b/ui/src/lib/paraglide/messages/admin_audio_cache_empty.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Admin_Audio_Cache_EmptyInputs */ + +const en_admin_audio_cache_empty = /** @type {(inputs: Admin_Audio_Cache_EmptyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Audio cache is empty.`) +}; + +const ru_admin_audio_cache_empty = /** @type {(inputs: Admin_Audio_Cache_EmptyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Аудиокэш пуст.`) +}; + +const id_admin_audio_cache_empty = /** @type {(inputs: Admin_Audio_Cache_EmptyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Cache audio kosong.`) +}; + +const pt_admin_audio_cache_empty = /** @type {(inputs: Admin_Audio_Cache_EmptyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Cache de áudio vazio.`) +}; + +const fr_admin_audio_cache_empty = /** @type {(inputs: Admin_Audio_Cache_EmptyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Cache audio vide.`) +}; + +/** +* | output | +* | --- | +* | "Audio cache is empty." | +* +* @param {Admin_Audio_Cache_EmptyInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const admin_audio_cache_empty = /** @type {((inputs?: Admin_Audio_Cache_EmptyInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_admin_audio_cache_empty(inputs) + if (locale === "ru") return ru_admin_audio_cache_empty(inputs) + if (locale === "id") return id_admin_audio_cache_empty(inputs) + if (locale === "pt") return pt_admin_audio_cache_empty(inputs) + return fr_admin_audio_cache_empty(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/admin_audio_empty.js b/ui/src/lib/paraglide/messages/admin_audio_empty.js new file mode 100644 index 0000000..1573027 --- /dev/null +++ b/ui/src/lib/paraglide/messages/admin_audio_empty.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Admin_Audio_EmptyInputs */ + +const en_admin_audio_empty = /** @type {(inputs: Admin_Audio_EmptyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`No audio jobs.`) +}; + +const ru_admin_audio_empty = /** @type {(inputs: Admin_Audio_EmptyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Аудио задач нет.`) +}; + +const id_admin_audio_empty = /** @type {(inputs: Admin_Audio_EmptyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Tidak ada tugas audio.`) +}; + +const pt_admin_audio_empty = /** @type {(inputs: Admin_Audio_EmptyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Nenhuma tarefa de áudio.`) +}; + +const fr_admin_audio_empty = /** @type {(inputs: Admin_Audio_EmptyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Aucune tâche audio.`) +}; + +/** +* | output | +* | --- | +* | "No audio jobs." | +* +* @param {Admin_Audio_EmptyInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const admin_audio_empty = /** @type {((inputs?: Admin_Audio_EmptyInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_admin_audio_empty(inputs) + if (locale === "ru") return ru_admin_audio_empty(inputs) + if (locale === "id") return id_admin_audio_empty(inputs) + if (locale === "pt") return pt_admin_audio_empty(inputs) + return fr_admin_audio_empty(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/admin_audio_filter_cache.js b/ui/src/lib/paraglide/messages/admin_audio_filter_cache.js new file mode 100644 index 0000000..ddbf11f --- /dev/null +++ b/ui/src/lib/paraglide/messages/admin_audio_filter_cache.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Admin_Audio_Filter_CacheInputs */ + +const en_admin_audio_filter_cache = /** @type {(inputs: Admin_Audio_Filter_CacheInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Filter by slug, chapter or voice…`) +}; + +const ru_admin_audio_filter_cache = /** @type {(inputs: Admin_Audio_Filter_CacheInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Фильтр по slug, главе или голосу…`) +}; + +const id_admin_audio_filter_cache = /** @type {(inputs: Admin_Audio_Filter_CacheInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Filter berdasarkan slug, bab, atau suara…`) +}; + +const pt_admin_audio_filter_cache = /** @type {(inputs: Admin_Audio_Filter_CacheInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Filtrar por slug, capítulo ou voz…`) +}; + +const fr_admin_audio_filter_cache = /** @type {(inputs: Admin_Audio_Filter_CacheInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Filtrer par slug, chapitre ou voix…`) +}; + +/** +* | output | +* | --- | +* | "Filter by slug, chapter or voice…" | +* +* @param {Admin_Audio_Filter_CacheInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const admin_audio_filter_cache = /** @type {((inputs?: Admin_Audio_Filter_CacheInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_admin_audio_filter_cache(inputs) + if (locale === "ru") return ru_admin_audio_filter_cache(inputs) + if (locale === "id") return id_admin_audio_filter_cache(inputs) + if (locale === "pt") return pt_admin_audio_filter_cache(inputs) + return fr_admin_audio_filter_cache(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/admin_audio_filter_jobs.js b/ui/src/lib/paraglide/messages/admin_audio_filter_jobs.js new file mode 100644 index 0000000..c24e416 --- /dev/null +++ b/ui/src/lib/paraglide/messages/admin_audio_filter_jobs.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Admin_Audio_Filter_JobsInputs */ + +const en_admin_audio_filter_jobs = /** @type {(inputs: Admin_Audio_Filter_JobsInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Filter by slug, voice or status…`) +}; + +const ru_admin_audio_filter_jobs = /** @type {(inputs: Admin_Audio_Filter_JobsInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Фильтр по slug, голосу или статусу…`) +}; + +const id_admin_audio_filter_jobs = /** @type {(inputs: Admin_Audio_Filter_JobsInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Filter berdasarkan slug, suara, atau status…`) +}; + +const pt_admin_audio_filter_jobs = /** @type {(inputs: Admin_Audio_Filter_JobsInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Filtrar por slug, voz ou status…`) +}; + +const fr_admin_audio_filter_jobs = /** @type {(inputs: Admin_Audio_Filter_JobsInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Filtrer par slug, voix ou statut…`) +}; + +/** +* | output | +* | --- | +* | "Filter by slug, voice or status…" | +* +* @param {Admin_Audio_Filter_JobsInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const admin_audio_filter_jobs = /** @type {((inputs?: Admin_Audio_Filter_JobsInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_admin_audio_filter_jobs(inputs) + if (locale === "ru") return ru_admin_audio_filter_jobs(inputs) + if (locale === "id") return id_admin_audio_filter_jobs(inputs) + if (locale === "pt") return pt_admin_audio_filter_jobs(inputs) + return fr_admin_audio_filter_jobs(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/admin_audio_heading.js b/ui/src/lib/paraglide/messages/admin_audio_heading.js new file mode 100644 index 0000000..46f7019 --- /dev/null +++ b/ui/src/lib/paraglide/messages/admin_audio_heading.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Admin_Audio_HeadingInputs */ + +const en_admin_audio_heading = /** @type {(inputs: Admin_Audio_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Audio Jobs`) +}; + +const ru_admin_audio_heading = /** @type {(inputs: Admin_Audio_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Аудио задачи`) +}; + +const id_admin_audio_heading = /** @type {(inputs: Admin_Audio_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Tugas Audio`) +}; + +const pt_admin_audio_heading = /** @type {(inputs: Admin_Audio_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Tarefas de Áudio`) +}; + +const fr_admin_audio_heading = /** @type {(inputs: Admin_Audio_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Tâches audio`) +}; + +/** +* | output | +* | --- | +* | "Audio Jobs" | +* +* @param {Admin_Audio_HeadingInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const admin_audio_heading = /** @type {((inputs?: Admin_Audio_HeadingInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_admin_audio_heading(inputs) + if (locale === "ru") return ru_admin_audio_heading(inputs) + if (locale === "id") return id_admin_audio_heading(inputs) + if (locale === "pt") return pt_admin_audio_heading(inputs) + return fr_admin_audio_heading(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/admin_audio_no_cache_results.js b/ui/src/lib/paraglide/messages/admin_audio_no_cache_results.js new file mode 100644 index 0000000..11daafd --- /dev/null +++ b/ui/src/lib/paraglide/messages/admin_audio_no_cache_results.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Admin_Audio_No_Cache_ResultsInputs */ + +const en_admin_audio_no_cache_results = /** @type {(inputs: Admin_Audio_No_Cache_ResultsInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`No results.`) +}; + +const ru_admin_audio_no_cache_results = /** @type {(inputs: Admin_Audio_No_Cache_ResultsInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Результатов нет.`) +}; + +const id_admin_audio_no_cache_results = /** @type {(inputs: Admin_Audio_No_Cache_ResultsInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Tidak ada hasil.`) +}; + +const pt_admin_audio_no_cache_results = /** @type {(inputs: Admin_Audio_No_Cache_ResultsInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Sem resultados.`) +}; + +const fr_admin_audio_no_cache_results = /** @type {(inputs: Admin_Audio_No_Cache_ResultsInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Aucun résultat.`) +}; + +/** +* | output | +* | --- | +* | "No results." | +* +* @param {Admin_Audio_No_Cache_ResultsInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const admin_audio_no_cache_results = /** @type {((inputs?: Admin_Audio_No_Cache_ResultsInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_admin_audio_no_cache_results(inputs) + if (locale === "ru") return ru_admin_audio_no_cache_results(inputs) + if (locale === "id") return id_admin_audio_no_cache_results(inputs) + if (locale === "pt") return pt_admin_audio_no_cache_results(inputs) + return fr_admin_audio_no_cache_results(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/admin_audio_no_jobs.js b/ui/src/lib/paraglide/messages/admin_audio_no_jobs.js new file mode 100644 index 0000000..026680d --- /dev/null +++ b/ui/src/lib/paraglide/messages/admin_audio_no_jobs.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Admin_Audio_No_JobsInputs */ + +const en_admin_audio_no_jobs = /** @type {(inputs: Admin_Audio_No_JobsInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`No audio jobs yet.`) +}; + +const ru_admin_audio_no_jobs = /** @type {(inputs: Admin_Audio_No_JobsInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Аудиозаданий пока нет.`) +}; + +const id_admin_audio_no_jobs = /** @type {(inputs: Admin_Audio_No_JobsInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Belum ada pekerjaan audio.`) +}; + +const pt_admin_audio_no_jobs = /** @type {(inputs: Admin_Audio_No_JobsInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Nenhum job de áudio ainda.`) +}; + +const fr_admin_audio_no_jobs = /** @type {(inputs: Admin_Audio_No_JobsInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Aucun job audio pour l'instant.`) +}; + +/** +* | output | +* | --- | +* | "No audio jobs yet." | +* +* @param {Admin_Audio_No_JobsInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const admin_audio_no_jobs = /** @type {((inputs?: Admin_Audio_No_JobsInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_admin_audio_no_jobs(inputs) + if (locale === "ru") return ru_admin_audio_no_jobs(inputs) + if (locale === "id") return id_admin_audio_no_jobs(inputs) + if (locale === "pt") return pt_admin_audio_no_jobs(inputs) + return fr_admin_audio_no_jobs(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/admin_audio_no_matching_jobs.js b/ui/src/lib/paraglide/messages/admin_audio_no_matching_jobs.js new file mode 100644 index 0000000..eb9aee6 --- /dev/null +++ b/ui/src/lib/paraglide/messages/admin_audio_no_matching_jobs.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Admin_Audio_No_Matching_JobsInputs */ + +const en_admin_audio_no_matching_jobs = /** @type {(inputs: Admin_Audio_No_Matching_JobsInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`No matching jobs.`) +}; + +const ru_admin_audio_no_matching_jobs = /** @type {(inputs: Admin_Audio_No_Matching_JobsInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Заданий не найдено.`) +}; + +const id_admin_audio_no_matching_jobs = /** @type {(inputs: Admin_Audio_No_Matching_JobsInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Tidak ada pekerjaan yang cocok.`) +}; + +const pt_admin_audio_no_matching_jobs = /** @type {(inputs: Admin_Audio_No_Matching_JobsInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Nenhum job correspondente.`) +}; + +const fr_admin_audio_no_matching_jobs = /** @type {(inputs: Admin_Audio_No_Matching_JobsInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Aucun job correspondant.`) +}; + +/** +* | output | +* | --- | +* | "No matching jobs." | +* +* @param {Admin_Audio_No_Matching_JobsInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const admin_audio_no_matching_jobs = /** @type {((inputs?: Admin_Audio_No_Matching_JobsInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_admin_audio_no_matching_jobs(inputs) + if (locale === "ru") return ru_admin_audio_no_matching_jobs(inputs) + if (locale === "id") return id_admin_audio_no_matching_jobs(inputs) + if (locale === "pt") return pt_admin_audio_no_matching_jobs(inputs) + return fr_admin_audio_no_matching_jobs(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/admin_audio_page_title.js b/ui/src/lib/paraglide/messages/admin_audio_page_title.js new file mode 100644 index 0000000..230e7d5 --- /dev/null +++ b/ui/src/lib/paraglide/messages/admin_audio_page_title.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Admin_Audio_Page_TitleInputs */ + +const en_admin_audio_page_title = /** @type {(inputs: Admin_Audio_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Audio — Admin`) +}; + +const ru_admin_audio_page_title = /** @type {(inputs: Admin_Audio_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Аудио — Админ`) +}; + +const id_admin_audio_page_title = /** @type {(inputs: Admin_Audio_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Audio — Admin`) +}; + +const pt_admin_audio_page_title = /** @type {(inputs: Admin_Audio_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Áudio — Admin`) +}; + +const fr_admin_audio_page_title = /** @type {(inputs: Admin_Audio_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Audio — Admin`) +}; + +/** +* | output | +* | --- | +* | "Audio — Admin" | +* +* @param {Admin_Audio_Page_TitleInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const admin_audio_page_title = /** @type {((inputs?: Admin_Audio_Page_TitleInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_admin_audio_page_title(inputs) + if (locale === "ru") return ru_admin_audio_page_title(inputs) + if (locale === "id") return id_admin_audio_page_title(inputs) + if (locale === "pt") return pt_admin_audio_page_title(inputs) + return fr_admin_audio_page_title(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/admin_changelog_gitea.js b/ui/src/lib/paraglide/messages/admin_changelog_gitea.js new file mode 100644 index 0000000..400a7a8 --- /dev/null +++ b/ui/src/lib/paraglide/messages/admin_changelog_gitea.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Admin_Changelog_GiteaInputs */ + +const en_admin_changelog_gitea = /** @type {(inputs: Admin_Changelog_GiteaInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Gitea releases`) +}; + +const ru_admin_changelog_gitea = /** @type {(inputs: Admin_Changelog_GiteaInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Релизы Gitea`) +}; + +const id_admin_changelog_gitea = /** @type {(inputs: Admin_Changelog_GiteaInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Rilis Gitea`) +}; + +const pt_admin_changelog_gitea = /** @type {(inputs: Admin_Changelog_GiteaInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Releases do Gitea`) +}; + +const fr_admin_changelog_gitea = /** @type {(inputs: Admin_Changelog_GiteaInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Releases Gitea`) +}; + +/** +* | output | +* | --- | +* | "Gitea releases" | +* +* @param {Admin_Changelog_GiteaInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const admin_changelog_gitea = /** @type {((inputs?: Admin_Changelog_GiteaInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_admin_changelog_gitea(inputs) + if (locale === "ru") return ru_admin_changelog_gitea(inputs) + if (locale === "id") return id_admin_changelog_gitea(inputs) + if (locale === "pt") return pt_admin_changelog_gitea(inputs) + return fr_admin_changelog_gitea(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/admin_changelog_heading.js b/ui/src/lib/paraglide/messages/admin_changelog_heading.js new file mode 100644 index 0000000..b656d2b --- /dev/null +++ b/ui/src/lib/paraglide/messages/admin_changelog_heading.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Admin_Changelog_HeadingInputs */ + +const en_admin_changelog_heading = /** @type {(inputs: Admin_Changelog_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Changelog`) +}; + +const ru_admin_changelog_heading = /** @type {(inputs: Admin_Changelog_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Changelog`) +}; + +const id_admin_changelog_heading = /** @type {(inputs: Admin_Changelog_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Changelog`) +}; + +const pt_admin_changelog_heading = /** @type {(inputs: Admin_Changelog_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Changelog`) +}; + +const fr_admin_changelog_heading = /** @type {(inputs: Admin_Changelog_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Changelog`) +}; + +/** +* | output | +* | --- | +* | "Changelog" | +* +* @param {Admin_Changelog_HeadingInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const admin_changelog_heading = /** @type {((inputs?: Admin_Changelog_HeadingInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_admin_changelog_heading(inputs) + if (locale === "ru") return ru_admin_changelog_heading(inputs) + if (locale === "id") return id_admin_changelog_heading(inputs) + if (locale === "pt") return pt_admin_changelog_heading(inputs) + return fr_admin_changelog_heading(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/admin_changelog_load_error.js b/ui/src/lib/paraglide/messages/admin_changelog_load_error.js new file mode 100644 index 0000000..62d1077 --- /dev/null +++ b/ui/src/lib/paraglide/messages/admin_changelog_load_error.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{ error: NonNullable }} Admin_Changelog_Load_ErrorInputs */ + +const en_admin_changelog_load_error = /** @type {(inputs: Admin_Changelog_Load_ErrorInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Could not load releases: ${i?.error}`) +}; + +const ru_admin_changelog_load_error = /** @type {(inputs: Admin_Changelog_Load_ErrorInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Не удалось загрузить релизы: ${i?.error}`) +}; + +const id_admin_changelog_load_error = /** @type {(inputs: Admin_Changelog_Load_ErrorInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Gagal memuat rilis: ${i?.error}`) +}; + +const pt_admin_changelog_load_error = /** @type {(inputs: Admin_Changelog_Load_ErrorInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Não foi possível carregar os releases: ${i?.error}`) +}; + +const fr_admin_changelog_load_error = /** @type {(inputs: Admin_Changelog_Load_ErrorInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Impossible de charger les releases : ${i?.error}`) +}; + +/** +* | output | +* | --- | +* | "Could not load releases: {error}" | +* +* @param {Admin_Changelog_Load_ErrorInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const admin_changelog_load_error = /** @type {((inputs: Admin_Changelog_Load_ErrorInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_admin_changelog_load_error(inputs) + if (locale === "ru") return ru_admin_changelog_load_error(inputs) + if (locale === "id") return id_admin_changelog_load_error(inputs) + if (locale === "pt") return pt_admin_changelog_load_error(inputs) + return fr_admin_changelog_load_error(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/admin_changelog_no_releases.js b/ui/src/lib/paraglide/messages/admin_changelog_no_releases.js new file mode 100644 index 0000000..d3a9d04 --- /dev/null +++ b/ui/src/lib/paraglide/messages/admin_changelog_no_releases.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Admin_Changelog_No_ReleasesInputs */ + +const en_admin_changelog_no_releases = /** @type {(inputs: Admin_Changelog_No_ReleasesInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`No releases found.`) +}; + +const ru_admin_changelog_no_releases = /** @type {(inputs: Admin_Changelog_No_ReleasesInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Релизов не найдено.`) +}; + +const id_admin_changelog_no_releases = /** @type {(inputs: Admin_Changelog_No_ReleasesInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Tidak ada rilis.`) +}; + +const pt_admin_changelog_no_releases = /** @type {(inputs: Admin_Changelog_No_ReleasesInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Nenhum release encontrado.`) +}; + +const fr_admin_changelog_no_releases = /** @type {(inputs: Admin_Changelog_No_ReleasesInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Aucune release trouvée.`) +}; + +/** +* | output | +* | --- | +* | "No releases found." | +* +* @param {Admin_Changelog_No_ReleasesInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const admin_changelog_no_releases = /** @type {((inputs?: Admin_Changelog_No_ReleasesInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_admin_changelog_no_releases(inputs) + if (locale === "ru") return ru_admin_changelog_no_releases(inputs) + if (locale === "id") return id_admin_changelog_no_releases(inputs) + if (locale === "pt") return pt_admin_changelog_no_releases(inputs) + return fr_admin_changelog_no_releases(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/admin_changelog_page_title.js b/ui/src/lib/paraglide/messages/admin_changelog_page_title.js new file mode 100644 index 0000000..13e1b43 --- /dev/null +++ b/ui/src/lib/paraglide/messages/admin_changelog_page_title.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Admin_Changelog_Page_TitleInputs */ + +const en_admin_changelog_page_title = /** @type {(inputs: Admin_Changelog_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Changelog — Admin`) +}; + +const ru_admin_changelog_page_title = /** @type {(inputs: Admin_Changelog_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Changelog — Админ`) +}; + +const id_admin_changelog_page_title = /** @type {(inputs: Admin_Changelog_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Changelog — Admin`) +}; + +const pt_admin_changelog_page_title = /** @type {(inputs: Admin_Changelog_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Changelog — Admin`) +}; + +const fr_admin_changelog_page_title = /** @type {(inputs: Admin_Changelog_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Changelog — Admin`) +}; + +/** +* | output | +* | --- | +* | "Changelog — Admin" | +* +* @param {Admin_Changelog_Page_TitleInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const admin_changelog_page_title = /** @type {((inputs?: Admin_Changelog_Page_TitleInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_admin_changelog_page_title(inputs) + if (locale === "ru") return ru_admin_changelog_page_title(inputs) + if (locale === "id") return id_admin_changelog_page_title(inputs) + if (locale === "pt") return pt_admin_changelog_page_title(inputs) + return fr_admin_changelog_page_title(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/admin_pages_label.js b/ui/src/lib/paraglide/messages/admin_pages_label.js new file mode 100644 index 0000000..54749a9 --- /dev/null +++ b/ui/src/lib/paraglide/messages/admin_pages_label.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Admin_Pages_LabelInputs */ + +const en_admin_pages_label = /** @type {(inputs: Admin_Pages_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Pages`) +}; + +const ru_admin_pages_label = /** @type {(inputs: Admin_Pages_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Страницы`) +}; + +const id_admin_pages_label = /** @type {(inputs: Admin_Pages_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Halaman`) +}; + +const pt_admin_pages_label = /** @type {(inputs: Admin_Pages_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Páginas`) +}; + +const fr_admin_pages_label = /** @type {(inputs: Admin_Pages_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Pages`) +}; + +/** +* | output | +* | --- | +* | "Pages" | +* +* @param {Admin_Pages_LabelInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const admin_pages_label = /** @type {((inputs?: Admin_Pages_LabelInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_admin_pages_label(inputs) + if (locale === "ru") return ru_admin_pages_label(inputs) + if (locale === "id") return id_admin_pages_label(inputs) + if (locale === "pt") return pt_admin_pages_label(inputs) + return fr_admin_pages_label(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/admin_scrape_book.js b/ui/src/lib/paraglide/messages/admin_scrape_book.js new file mode 100644 index 0000000..9560bea --- /dev/null +++ b/ui/src/lib/paraglide/messages/admin_scrape_book.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Admin_Scrape_BookInputs */ + +const en_admin_scrape_book = /** @type {(inputs: Admin_Scrape_BookInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Scrape Book`) +}; + +const ru_admin_scrape_book = /** @type {(inputs: Admin_Scrape_BookInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Парсинг книги`) +}; + +const id_admin_scrape_book = /** @type {(inputs: Admin_Scrape_BookInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Scrape Buku`) +}; + +const pt_admin_scrape_book = /** @type {(inputs: Admin_Scrape_BookInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Extrair Livro`) +}; + +const fr_admin_scrape_book = /** @type {(inputs: Admin_Scrape_BookInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Extraire un livre`) +}; + +/** +* | output | +* | --- | +* | "Scrape Book" | +* +* @param {Admin_Scrape_BookInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const admin_scrape_book = /** @type {((inputs?: Admin_Scrape_BookInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_admin_scrape_book(inputs) + if (locale === "ru") return ru_admin_scrape_book(inputs) + if (locale === "id") return id_admin_scrape_book(inputs) + if (locale === "pt") return pt_admin_scrape_book(inputs) + return fr_admin_scrape_book(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/admin_scrape_cancel.js b/ui/src/lib/paraglide/messages/admin_scrape_cancel.js new file mode 100644 index 0000000..f284a5c --- /dev/null +++ b/ui/src/lib/paraglide/messages/admin_scrape_cancel.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Admin_Scrape_CancelInputs */ + +const en_admin_scrape_cancel = /** @type {(inputs: Admin_Scrape_CancelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Cancel`) +}; + +const ru_admin_scrape_cancel = /** @type {(inputs: Admin_Scrape_CancelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Отмена`) +}; + +const id_admin_scrape_cancel = /** @type {(inputs: Admin_Scrape_CancelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Batal`) +}; + +const pt_admin_scrape_cancel = /** @type {(inputs: Admin_Scrape_CancelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Cancelar`) +}; + +const fr_admin_scrape_cancel = /** @type {(inputs: Admin_Scrape_CancelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Annuler`) +}; + +/** +* | output | +* | --- | +* | "Cancel" | +* +* @param {Admin_Scrape_CancelInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const admin_scrape_cancel = /** @type {((inputs?: Admin_Scrape_CancelInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_admin_scrape_cancel(inputs) + if (locale === "ru") return ru_admin_scrape_cancel(inputs) + if (locale === "id") return id_admin_scrape_cancel(inputs) + if (locale === "pt") return pt_admin_scrape_cancel(inputs) + return fr_admin_scrape_cancel(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/admin_scrape_catalogue.js b/ui/src/lib/paraglide/messages/admin_scrape_catalogue.js new file mode 100644 index 0000000..78689fd --- /dev/null +++ b/ui/src/lib/paraglide/messages/admin_scrape_catalogue.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Admin_Scrape_CatalogueInputs */ + +const en_admin_scrape_catalogue = /** @type {(inputs: Admin_Scrape_CatalogueInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Scrape Catalogue`) +}; + +const ru_admin_scrape_catalogue = /** @type {(inputs: Admin_Scrape_CatalogueInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Парсинг каталога`) +}; + +const id_admin_scrape_catalogue = /** @type {(inputs: Admin_Scrape_CatalogueInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Scrape Katalog`) +}; + +const pt_admin_scrape_catalogue = /** @type {(inputs: Admin_Scrape_CatalogueInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Extrair Catálogo`) +}; + +const fr_admin_scrape_catalogue = /** @type {(inputs: Admin_Scrape_CatalogueInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Extraire le catalogue`) +}; + +/** +* | output | +* | --- | +* | "Scrape Catalogue" | +* +* @param {Admin_Scrape_CatalogueInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const admin_scrape_catalogue = /** @type {((inputs?: Admin_Scrape_CatalogueInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_admin_scrape_catalogue(inputs) + if (locale === "ru") return ru_admin_scrape_catalogue(inputs) + if (locale === "id") return id_admin_scrape_catalogue(inputs) + if (locale === "pt") return pt_admin_scrape_catalogue(inputs) + return fr_admin_scrape_catalogue(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/admin_scrape_filter_placeholder.js b/ui/src/lib/paraglide/messages/admin_scrape_filter_placeholder.js new file mode 100644 index 0000000..b40716a --- /dev/null +++ b/ui/src/lib/paraglide/messages/admin_scrape_filter_placeholder.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Admin_Scrape_Filter_PlaceholderInputs */ + +const en_admin_scrape_filter_placeholder = /** @type {(inputs: Admin_Scrape_Filter_PlaceholderInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Filter by kind, status or URL…`) +}; + +const ru_admin_scrape_filter_placeholder = /** @type {(inputs: Admin_Scrape_Filter_PlaceholderInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Фильтр по типу, статусу или URL…`) +}; + +const id_admin_scrape_filter_placeholder = /** @type {(inputs: Admin_Scrape_Filter_PlaceholderInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Filter berdasarkan jenis, status, atau URL…`) +}; + +const pt_admin_scrape_filter_placeholder = /** @type {(inputs: Admin_Scrape_Filter_PlaceholderInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Filtrar por tipo, status ou URL…`) +}; + +const fr_admin_scrape_filter_placeholder = /** @type {(inputs: Admin_Scrape_Filter_PlaceholderInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Filtrer par type, statut ou URL…`) +}; + +/** +* | output | +* | --- | +* | "Filter by kind, status or URL…" | +* +* @param {Admin_Scrape_Filter_PlaceholderInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const admin_scrape_filter_placeholder = /** @type {((inputs?: Admin_Scrape_Filter_PlaceholderInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_admin_scrape_filter_placeholder(inputs) + if (locale === "ru") return ru_admin_scrape_filter_placeholder(inputs) + if (locale === "id") return id_admin_scrape_filter_placeholder(inputs) + if (locale === "pt") return pt_admin_scrape_filter_placeholder(inputs) + return fr_admin_scrape_filter_placeholder(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/admin_scrape_from.js b/ui/src/lib/paraglide/messages/admin_scrape_from.js new file mode 100644 index 0000000..bafa8a0 --- /dev/null +++ b/ui/src/lib/paraglide/messages/admin_scrape_from.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Admin_Scrape_FromInputs */ + +const en_admin_scrape_from = /** @type {(inputs: Admin_Scrape_FromInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`From`) +}; + +const ru_admin_scrape_from = /** @type {(inputs: Admin_Scrape_FromInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`От`) +}; + +const id_admin_scrape_from = /** @type {(inputs: Admin_Scrape_FromInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Dari`) +}; + +const pt_admin_scrape_from = /** @type {(inputs: Admin_Scrape_FromInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`De`) +}; + +const fr_admin_scrape_from = /** @type {(inputs: Admin_Scrape_FromInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`De`) +}; + +/** +* | output | +* | --- | +* | "From" | +* +* @param {Admin_Scrape_FromInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const admin_scrape_from = /** @type {((inputs?: Admin_Scrape_FromInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_admin_scrape_from(inputs) + if (locale === "ru") return ru_admin_scrape_from(inputs) + if (locale === "id") return id_admin_scrape_from(inputs) + if (locale === "pt") return pt_admin_scrape_from(inputs) + return fr_admin_scrape_from(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/admin_scrape_full_catalogue.js b/ui/src/lib/paraglide/messages/admin_scrape_full_catalogue.js new file mode 100644 index 0000000..7c6fa68 --- /dev/null +++ b/ui/src/lib/paraglide/messages/admin_scrape_full_catalogue.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Admin_Scrape_Full_CatalogueInputs */ + +const en_admin_scrape_full_catalogue = /** @type {(inputs: Admin_Scrape_Full_CatalogueInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Full catalogue`) +}; + +const ru_admin_scrape_full_catalogue = /** @type {(inputs: Admin_Scrape_Full_CatalogueInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Полный каталог`) +}; + +const id_admin_scrape_full_catalogue = /** @type {(inputs: Admin_Scrape_Full_CatalogueInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Katalog penuh`) +}; + +const pt_admin_scrape_full_catalogue = /** @type {(inputs: Admin_Scrape_Full_CatalogueInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Catálogo completo`) +}; + +const fr_admin_scrape_full_catalogue = /** @type {(inputs: Admin_Scrape_Full_CatalogueInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Catalogue complet`) +}; + +/** +* | output | +* | --- | +* | "Full catalogue" | +* +* @param {Admin_Scrape_Full_CatalogueInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const admin_scrape_full_catalogue = /** @type {((inputs?: Admin_Scrape_Full_CatalogueInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_admin_scrape_full_catalogue(inputs) + if (locale === "ru") return ru_admin_scrape_full_catalogue(inputs) + if (locale === "id") return id_admin_scrape_full_catalogue(inputs) + if (locale === "pt") return pt_admin_scrape_full_catalogue(inputs) + return fr_admin_scrape_full_catalogue(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/admin_scrape_heading.js b/ui/src/lib/paraglide/messages/admin_scrape_heading.js new file mode 100644 index 0000000..455842c --- /dev/null +++ b/ui/src/lib/paraglide/messages/admin_scrape_heading.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Admin_Scrape_HeadingInputs */ + +const en_admin_scrape_heading = /** @type {(inputs: Admin_Scrape_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Scrape`) +}; + +const ru_admin_scrape_heading = /** @type {(inputs: Admin_Scrape_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Парсинг`) +}; + +const id_admin_scrape_heading = /** @type {(inputs: Admin_Scrape_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Scrape`) +}; + +const pt_admin_scrape_heading = /** @type {(inputs: Admin_Scrape_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Extração`) +}; + +const fr_admin_scrape_heading = /** @type {(inputs: Admin_Scrape_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Extraction`) +}; + +/** +* | output | +* | --- | +* | "Scrape" | +* +* @param {Admin_Scrape_HeadingInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const admin_scrape_heading = /** @type {((inputs?: Admin_Scrape_HeadingInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_admin_scrape_heading(inputs) + if (locale === "ru") return ru_admin_scrape_heading(inputs) + if (locale === "id") return id_admin_scrape_heading(inputs) + if (locale === "pt") return pt_admin_scrape_heading(inputs) + return fr_admin_scrape_heading(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/admin_scrape_no_matching.js b/ui/src/lib/paraglide/messages/admin_scrape_no_matching.js new file mode 100644 index 0000000..84a2f64 --- /dev/null +++ b/ui/src/lib/paraglide/messages/admin_scrape_no_matching.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Admin_Scrape_No_MatchingInputs */ + +const en_admin_scrape_no_matching = /** @type {(inputs: Admin_Scrape_No_MatchingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`No matching tasks.`) +}; + +const ru_admin_scrape_no_matching = /** @type {(inputs: Admin_Scrape_No_MatchingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Задач не найдено.`) +}; + +const id_admin_scrape_no_matching = /** @type {(inputs: Admin_Scrape_No_MatchingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Tidak ada tugas yang cocok.`) +}; + +const pt_admin_scrape_no_matching = /** @type {(inputs: Admin_Scrape_No_MatchingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Nenhuma tarefa correspondente.`) +}; + +const fr_admin_scrape_no_matching = /** @type {(inputs: Admin_Scrape_No_MatchingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Aucune tâche correspondante.`) +}; + +/** +* | output | +* | --- | +* | "No matching tasks." | +* +* @param {Admin_Scrape_No_MatchingInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const admin_scrape_no_matching = /** @type {((inputs?: Admin_Scrape_No_MatchingInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_admin_scrape_no_matching(inputs) + if (locale === "ru") return ru_admin_scrape_no_matching(inputs) + if (locale === "id") return id_admin_scrape_no_matching(inputs) + if (locale === "pt") return pt_admin_scrape_no_matching(inputs) + return fr_admin_scrape_no_matching(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/admin_scrape_page_title.js b/ui/src/lib/paraglide/messages/admin_scrape_page_title.js new file mode 100644 index 0000000..fbe5bba --- /dev/null +++ b/ui/src/lib/paraglide/messages/admin_scrape_page_title.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Admin_Scrape_Page_TitleInputs */ + +const en_admin_scrape_page_title = /** @type {(inputs: Admin_Scrape_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Scrape — Admin`) +}; + +const ru_admin_scrape_page_title = /** @type {(inputs: Admin_Scrape_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Парсинг — Админ`) +}; + +const id_admin_scrape_page_title = /** @type {(inputs: Admin_Scrape_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Scrape — Admin`) +}; + +const pt_admin_scrape_page_title = /** @type {(inputs: Admin_Scrape_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Extração — Admin`) +}; + +const fr_admin_scrape_page_title = /** @type {(inputs: Admin_Scrape_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Extraction — Admin`) +}; + +/** +* | output | +* | --- | +* | "Scrape — Admin" | +* +* @param {Admin_Scrape_Page_TitleInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const admin_scrape_page_title = /** @type {((inputs?: Admin_Scrape_Page_TitleInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_admin_scrape_page_title(inputs) + if (locale === "ru") return ru_admin_scrape_page_title(inputs) + if (locale === "id") return id_admin_scrape_page_title(inputs) + if (locale === "pt") return pt_admin_scrape_page_title(inputs) + return fr_admin_scrape_page_title(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/admin_scrape_queuing.js b/ui/src/lib/paraglide/messages/admin_scrape_queuing.js new file mode 100644 index 0000000..4b60a84 --- /dev/null +++ b/ui/src/lib/paraglide/messages/admin_scrape_queuing.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Admin_Scrape_QueuingInputs */ + +const en_admin_scrape_queuing = /** @type {(inputs: Admin_Scrape_QueuingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Queuing…`) +}; + +const ru_admin_scrape_queuing = /** @type {(inputs: Admin_Scrape_QueuingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`В очереди…`) +}; + +const id_admin_scrape_queuing = /** @type {(inputs: Admin_Scrape_QueuingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Mengantri…`) +}; + +const pt_admin_scrape_queuing = /** @type {(inputs: Admin_Scrape_QueuingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Na fila…`) +}; + +const fr_admin_scrape_queuing = /** @type {(inputs: Admin_Scrape_QueuingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`En file d'attente…`) +}; + +/** +* | output | +* | --- | +* | "Queuing…" | +* +* @param {Admin_Scrape_QueuingInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const admin_scrape_queuing = /** @type {((inputs?: Admin_Scrape_QueuingInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_admin_scrape_queuing(inputs) + if (locale === "ru") return ru_admin_scrape_queuing(inputs) + if (locale === "id") return id_admin_scrape_queuing(inputs) + if (locale === "pt") return pt_admin_scrape_queuing(inputs) + return fr_admin_scrape_queuing(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/admin_scrape_quick_genres.js b/ui/src/lib/paraglide/messages/admin_scrape_quick_genres.js new file mode 100644 index 0000000..223fb12 --- /dev/null +++ b/ui/src/lib/paraglide/messages/admin_scrape_quick_genres.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Admin_Scrape_Quick_GenresInputs */ + +const en_admin_scrape_quick_genres = /** @type {(inputs: Admin_Scrape_Quick_GenresInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Quick genres`) +}; + +const ru_admin_scrape_quick_genres = /** @type {(inputs: Admin_Scrape_Quick_GenresInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Быстрые жанры`) +}; + +const id_admin_scrape_quick_genres = /** @type {(inputs: Admin_Scrape_Quick_GenresInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Genre cepat`) +}; + +const pt_admin_scrape_quick_genres = /** @type {(inputs: Admin_Scrape_Quick_GenresInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Gêneros rápidos`) +}; + +const fr_admin_scrape_quick_genres = /** @type {(inputs: Admin_Scrape_Quick_GenresInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Genres rapides`) +}; + +/** +* | output | +* | --- | +* | "Quick genres" | +* +* @param {Admin_Scrape_Quick_GenresInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const admin_scrape_quick_genres = /** @type {((inputs?: Admin_Scrape_Quick_GenresInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_admin_scrape_quick_genres(inputs) + if (locale === "ru") return ru_admin_scrape_quick_genres(inputs) + if (locale === "id") return id_admin_scrape_quick_genres(inputs) + if (locale === "pt") return pt_admin_scrape_quick_genres(inputs) + return fr_admin_scrape_quick_genres(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/admin_scrape_range.js b/ui/src/lib/paraglide/messages/admin_scrape_range.js new file mode 100644 index 0000000..b00a60a --- /dev/null +++ b/ui/src/lib/paraglide/messages/admin_scrape_range.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Admin_Scrape_RangeInputs */ + +const en_admin_scrape_range = /** @type {(inputs: Admin_Scrape_RangeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Chapter range`) +}; + +const ru_admin_scrape_range = /** @type {(inputs: Admin_Scrape_RangeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Диапазон глав`) +}; + +const id_admin_scrape_range = /** @type {(inputs: Admin_Scrape_RangeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Rentang bab`) +}; + +const pt_admin_scrape_range = /** @type {(inputs: Admin_Scrape_RangeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Intervalo de capítulos`) +}; + +const fr_admin_scrape_range = /** @type {(inputs: Admin_Scrape_RangeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Plage de chapitres`) +}; + +/** +* | output | +* | --- | +* | "Chapter range" | +* +* @param {Admin_Scrape_RangeInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const admin_scrape_range = /** @type {((inputs?: Admin_Scrape_RangeInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_admin_scrape_range(inputs) + if (locale === "ru") return ru_admin_scrape_range(inputs) + if (locale === "id") return id_admin_scrape_range(inputs) + if (locale === "pt") return pt_admin_scrape_range(inputs) + return fr_admin_scrape_range(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/admin_scrape_running.js b/ui/src/lib/paraglide/messages/admin_scrape_running.js new file mode 100644 index 0000000..e003ba1 --- /dev/null +++ b/ui/src/lib/paraglide/messages/admin_scrape_running.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Admin_Scrape_RunningInputs */ + +const en_admin_scrape_running = /** @type {(inputs: Admin_Scrape_RunningInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Running…`) +}; + +const ru_admin_scrape_running = /** @type {(inputs: Admin_Scrape_RunningInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Выполняется…`) +}; + +const id_admin_scrape_running = /** @type {(inputs: Admin_Scrape_RunningInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Berjalan…`) +}; + +const pt_admin_scrape_running = /** @type {(inputs: Admin_Scrape_RunningInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Executando…`) +}; + +const fr_admin_scrape_running = /** @type {(inputs: Admin_Scrape_RunningInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`En cours…`) +}; + +/** +* | output | +* | --- | +* | "Running…" | +* +* @param {Admin_Scrape_RunningInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const admin_scrape_running = /** @type {((inputs?: Admin_Scrape_RunningInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_admin_scrape_running(inputs) + if (locale === "ru") return ru_admin_scrape_running(inputs) + if (locale === "id") return id_admin_scrape_running(inputs) + if (locale === "pt") return pt_admin_scrape_running(inputs) + return fr_admin_scrape_running(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/admin_scrape_single_book.js b/ui/src/lib/paraglide/messages/admin_scrape_single_book.js new file mode 100644 index 0000000..eb7afb7 --- /dev/null +++ b/ui/src/lib/paraglide/messages/admin_scrape_single_book.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Admin_Scrape_Single_BookInputs */ + +const en_admin_scrape_single_book = /** @type {(inputs: Admin_Scrape_Single_BookInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Single book`) +}; + +const ru_admin_scrape_single_book = /** @type {(inputs: Admin_Scrape_Single_BookInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Одна книга`) +}; + +const id_admin_scrape_single_book = /** @type {(inputs: Admin_Scrape_Single_BookInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Satu buku`) +}; + +const pt_admin_scrape_single_book = /** @type {(inputs: Admin_Scrape_Single_BookInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Livro único`) +}; + +const fr_admin_scrape_single_book = /** @type {(inputs: Admin_Scrape_Single_BookInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Livre unique`) +}; + +/** +* | output | +* | --- | +* | "Single book" | +* +* @param {Admin_Scrape_Single_BookInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const admin_scrape_single_book = /** @type {((inputs?: Admin_Scrape_Single_BookInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_admin_scrape_single_book(inputs) + if (locale === "ru") return ru_admin_scrape_single_book(inputs) + if (locale === "id") return id_admin_scrape_single_book(inputs) + if (locale === "pt") return pt_admin_scrape_single_book(inputs) + return fr_admin_scrape_single_book(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/admin_scrape_start.js b/ui/src/lib/paraglide/messages/admin_scrape_start.js new file mode 100644 index 0000000..67516b4 --- /dev/null +++ b/ui/src/lib/paraglide/messages/admin_scrape_start.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Admin_Scrape_StartInputs */ + +const en_admin_scrape_start = /** @type {(inputs: Admin_Scrape_StartInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Start scrape`) +}; + +const ru_admin_scrape_start = /** @type {(inputs: Admin_Scrape_StartInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Начать парсинг`) +}; + +const id_admin_scrape_start = /** @type {(inputs: Admin_Scrape_StartInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Mulai scrape`) +}; + +const pt_admin_scrape_start = /** @type {(inputs: Admin_Scrape_StartInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Iniciar extração`) +}; + +const fr_admin_scrape_start = /** @type {(inputs: Admin_Scrape_StartInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Démarrer l'extraction`) +}; + +/** +* | output | +* | --- | +* | "Start scrape" | +* +* @param {Admin_Scrape_StartInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const admin_scrape_start = /** @type {((inputs?: Admin_Scrape_StartInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_admin_scrape_start(inputs) + if (locale === "ru") return ru_admin_scrape_start(inputs) + if (locale === "id") return id_admin_scrape_start(inputs) + if (locale === "pt") return pt_admin_scrape_start(inputs) + return fr_admin_scrape_start(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/admin_scrape_status_cancelled.js b/ui/src/lib/paraglide/messages/admin_scrape_status_cancelled.js new file mode 100644 index 0000000..44fe5dd --- /dev/null +++ b/ui/src/lib/paraglide/messages/admin_scrape_status_cancelled.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Admin_Scrape_Status_CancelledInputs */ + +const en_admin_scrape_status_cancelled = /** @type {(inputs: Admin_Scrape_Status_CancelledInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Cancelled`) +}; + +const ru_admin_scrape_status_cancelled = /** @type {(inputs: Admin_Scrape_Status_CancelledInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Отменено`) +}; + +const id_admin_scrape_status_cancelled = /** @type {(inputs: Admin_Scrape_Status_CancelledInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Dibatalkan`) +}; + +const pt_admin_scrape_status_cancelled = /** @type {(inputs: Admin_Scrape_Status_CancelledInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Cancelado`) +}; + +const fr_admin_scrape_status_cancelled = /** @type {(inputs: Admin_Scrape_Status_CancelledInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Annulé`) +}; + +/** +* | output | +* | --- | +* | "Cancelled" | +* +* @param {Admin_Scrape_Status_CancelledInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const admin_scrape_status_cancelled = /** @type {((inputs?: Admin_Scrape_Status_CancelledInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_admin_scrape_status_cancelled(inputs) + if (locale === "ru") return ru_admin_scrape_status_cancelled(inputs) + if (locale === "id") return id_admin_scrape_status_cancelled(inputs) + if (locale === "pt") return pt_admin_scrape_status_cancelled(inputs) + return fr_admin_scrape_status_cancelled(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/admin_scrape_status_done.js b/ui/src/lib/paraglide/messages/admin_scrape_status_done.js new file mode 100644 index 0000000..eef4cd6 --- /dev/null +++ b/ui/src/lib/paraglide/messages/admin_scrape_status_done.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Admin_Scrape_Status_DoneInputs */ + +const en_admin_scrape_status_done = /** @type {(inputs: Admin_Scrape_Status_DoneInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Done`) +}; + +const ru_admin_scrape_status_done = /** @type {(inputs: Admin_Scrape_Status_DoneInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Готово`) +}; + +const id_admin_scrape_status_done = /** @type {(inputs: Admin_Scrape_Status_DoneInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Selesai`) +}; + +const pt_admin_scrape_status_done = /** @type {(inputs: Admin_Scrape_Status_DoneInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Concluído`) +}; + +const fr_admin_scrape_status_done = /** @type {(inputs: Admin_Scrape_Status_DoneInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Terminé`) +}; + +/** +* | output | +* | --- | +* | "Done" | +* +* @param {Admin_Scrape_Status_DoneInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const admin_scrape_status_done = /** @type {((inputs?: Admin_Scrape_Status_DoneInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_admin_scrape_status_done(inputs) + if (locale === "ru") return ru_admin_scrape_status_done(inputs) + if (locale === "id") return id_admin_scrape_status_done(inputs) + if (locale === "pt") return pt_admin_scrape_status_done(inputs) + return fr_admin_scrape_status_done(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/admin_scrape_status_failed.js b/ui/src/lib/paraglide/messages/admin_scrape_status_failed.js new file mode 100644 index 0000000..9a2a63c --- /dev/null +++ b/ui/src/lib/paraglide/messages/admin_scrape_status_failed.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Admin_Scrape_Status_FailedInputs */ + +const en_admin_scrape_status_failed = /** @type {(inputs: Admin_Scrape_Status_FailedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Failed`) +}; + +const ru_admin_scrape_status_failed = /** @type {(inputs: Admin_Scrape_Status_FailedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Ошибка`) +}; + +const id_admin_scrape_status_failed = /** @type {(inputs: Admin_Scrape_Status_FailedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Gagal`) +}; + +const pt_admin_scrape_status_failed = /** @type {(inputs: Admin_Scrape_Status_FailedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Falhou`) +}; + +const fr_admin_scrape_status_failed = /** @type {(inputs: Admin_Scrape_Status_FailedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Échoué`) +}; + +/** +* | output | +* | --- | +* | "Failed" | +* +* @param {Admin_Scrape_Status_FailedInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const admin_scrape_status_failed = /** @type {((inputs?: Admin_Scrape_Status_FailedInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_admin_scrape_status_failed(inputs) + if (locale === "ru") return ru_admin_scrape_status_failed(inputs) + if (locale === "id") return id_admin_scrape_status_failed(inputs) + if (locale === "pt") return pt_admin_scrape_status_failed(inputs) + return fr_admin_scrape_status_failed(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/admin_scrape_status_idle.js b/ui/src/lib/paraglide/messages/admin_scrape_status_idle.js new file mode 100644 index 0000000..896cc60 --- /dev/null +++ b/ui/src/lib/paraglide/messages/admin_scrape_status_idle.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Admin_Scrape_Status_IdleInputs */ + +const en_admin_scrape_status_idle = /** @type {(inputs: Admin_Scrape_Status_IdleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Idle`) +}; + +const ru_admin_scrape_status_idle = /** @type {(inputs: Admin_Scrape_Status_IdleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Ожидание`) +}; + +const id_admin_scrape_status_idle = /** @type {(inputs: Admin_Scrape_Status_IdleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Menunggu`) +}; + +const pt_admin_scrape_status_idle = /** @type {(inputs: Admin_Scrape_Status_IdleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Ocioso`) +}; + +const fr_admin_scrape_status_idle = /** @type {(inputs: Admin_Scrape_Status_IdleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Inactif`) +}; + +/** +* | output | +* | --- | +* | "Idle" | +* +* @param {Admin_Scrape_Status_IdleInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const admin_scrape_status_idle = /** @type {((inputs?: Admin_Scrape_Status_IdleInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_admin_scrape_status_idle(inputs) + if (locale === "ru") return ru_admin_scrape_status_idle(inputs) + if (locale === "id") return id_admin_scrape_status_idle(inputs) + if (locale === "pt") return pt_admin_scrape_status_idle(inputs) + return fr_admin_scrape_status_idle(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/admin_scrape_status_pending.js b/ui/src/lib/paraglide/messages/admin_scrape_status_pending.js new file mode 100644 index 0000000..faab668 --- /dev/null +++ b/ui/src/lib/paraglide/messages/admin_scrape_status_pending.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Admin_Scrape_Status_PendingInputs */ + +const en_admin_scrape_status_pending = /** @type {(inputs: Admin_Scrape_Status_PendingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Pending`) +}; + +const ru_admin_scrape_status_pending = /** @type {(inputs: Admin_Scrape_Status_PendingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Ожидание`) +}; + +const id_admin_scrape_status_pending = /** @type {(inputs: Admin_Scrape_Status_PendingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Menunggu`) +}; + +const pt_admin_scrape_status_pending = /** @type {(inputs: Admin_Scrape_Status_PendingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Pendente`) +}; + +const fr_admin_scrape_status_pending = /** @type {(inputs: Admin_Scrape_Status_PendingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`En attente`) +}; + +/** +* | output | +* | --- | +* | "Pending" | +* +* @param {Admin_Scrape_Status_PendingInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const admin_scrape_status_pending = /** @type {((inputs?: Admin_Scrape_Status_PendingInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_admin_scrape_status_pending(inputs) + if (locale === "ru") return ru_admin_scrape_status_pending(inputs) + if (locale === "id") return id_admin_scrape_status_pending(inputs) + if (locale === "pt") return pt_admin_scrape_status_pending(inputs) + return fr_admin_scrape_status_pending(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/admin_scrape_status_running.js b/ui/src/lib/paraglide/messages/admin_scrape_status_running.js new file mode 100644 index 0000000..e085c9f --- /dev/null +++ b/ui/src/lib/paraglide/messages/admin_scrape_status_running.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Admin_Scrape_Status_RunningInputs */ + +const en_admin_scrape_status_running = /** @type {(inputs: Admin_Scrape_Status_RunningInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Running`) +}; + +const ru_admin_scrape_status_running = /** @type {(inputs: Admin_Scrape_Status_RunningInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Выполняется`) +}; + +const id_admin_scrape_status_running = /** @type {(inputs: Admin_Scrape_Status_RunningInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Berjalan`) +}; + +const pt_admin_scrape_status_running = /** @type {(inputs: Admin_Scrape_Status_RunningInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Em execução`) +}; + +const fr_admin_scrape_status_running = /** @type {(inputs: Admin_Scrape_Status_RunningInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`En cours`) +}; + +/** +* | output | +* | --- | +* | "Running" | +* +* @param {Admin_Scrape_Status_RunningInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const admin_scrape_status_running = /** @type {((inputs?: Admin_Scrape_Status_RunningInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_admin_scrape_status_running(inputs) + if (locale === "ru") return ru_admin_scrape_status_running(inputs) + if (locale === "id") return id_admin_scrape_status_running(inputs) + if (locale === "pt") return pt_admin_scrape_status_running(inputs) + return fr_admin_scrape_status_running(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/admin_scrape_submit.js b/ui/src/lib/paraglide/messages/admin_scrape_submit.js new file mode 100644 index 0000000..15f821e --- /dev/null +++ b/ui/src/lib/paraglide/messages/admin_scrape_submit.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Admin_Scrape_SubmitInputs */ + +const en_admin_scrape_submit = /** @type {(inputs: Admin_Scrape_SubmitInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Scrape`) +}; + +const ru_admin_scrape_submit = /** @type {(inputs: Admin_Scrape_SubmitInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Парсить`) +}; + +const id_admin_scrape_submit = /** @type {(inputs: Admin_Scrape_SubmitInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Scrape`) +}; + +const pt_admin_scrape_submit = /** @type {(inputs: Admin_Scrape_SubmitInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Extrair`) +}; + +const fr_admin_scrape_submit = /** @type {(inputs: Admin_Scrape_SubmitInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Extraire`) +}; + +/** +* | output | +* | --- | +* | "Scrape" | +* +* @param {Admin_Scrape_SubmitInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const admin_scrape_submit = /** @type {((inputs?: Admin_Scrape_SubmitInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_admin_scrape_submit(inputs) + if (locale === "ru") return ru_admin_scrape_submit(inputs) + if (locale === "id") return id_admin_scrape_submit(inputs) + if (locale === "pt") return pt_admin_scrape_submit(inputs) + return fr_admin_scrape_submit(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/admin_scrape_task_history.js b/ui/src/lib/paraglide/messages/admin_scrape_task_history.js new file mode 100644 index 0000000..9ac1cc4 --- /dev/null +++ b/ui/src/lib/paraglide/messages/admin_scrape_task_history.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Admin_Scrape_Task_HistoryInputs */ + +const en_admin_scrape_task_history = /** @type {(inputs: Admin_Scrape_Task_HistoryInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Task history`) +}; + +const ru_admin_scrape_task_history = /** @type {(inputs: Admin_Scrape_Task_HistoryInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`История задач`) +}; + +const id_admin_scrape_task_history = /** @type {(inputs: Admin_Scrape_Task_HistoryInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Riwayat tugas`) +}; + +const pt_admin_scrape_task_history = /** @type {(inputs: Admin_Scrape_Task_HistoryInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Histórico de tarefas`) +}; + +const fr_admin_scrape_task_history = /** @type {(inputs: Admin_Scrape_Task_HistoryInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Historique des tâches`) +}; + +/** +* | output | +* | --- | +* | "Task history" | +* +* @param {Admin_Scrape_Task_HistoryInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const admin_scrape_task_history = /** @type {((inputs?: Admin_Scrape_Task_HistoryInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_admin_scrape_task_history(inputs) + if (locale === "ru") return ru_admin_scrape_task_history(inputs) + if (locale === "id") return id_admin_scrape_task_history(inputs) + if (locale === "pt") return pt_admin_scrape_task_history(inputs) + return fr_admin_scrape_task_history(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/admin_scrape_to.js b/ui/src/lib/paraglide/messages/admin_scrape_to.js new file mode 100644 index 0000000..ff9bfef --- /dev/null +++ b/ui/src/lib/paraglide/messages/admin_scrape_to.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Admin_Scrape_ToInputs */ + +const en_admin_scrape_to = /** @type {(inputs: Admin_Scrape_ToInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`To`) +}; + +const ru_admin_scrape_to = /** @type {(inputs: Admin_Scrape_ToInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`До`) +}; + +const id_admin_scrape_to = /** @type {(inputs: Admin_Scrape_ToInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Sampai`) +}; + +const pt_admin_scrape_to = /** @type {(inputs: Admin_Scrape_ToInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Até`) +}; + +const fr_admin_scrape_to = /** @type {(inputs: Admin_Scrape_ToInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`À`) +}; + +/** +* | output | +* | --- | +* | "To" | +* +* @param {Admin_Scrape_ToInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const admin_scrape_to = /** @type {((inputs?: Admin_Scrape_ToInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_admin_scrape_to(inputs) + if (locale === "ru") return ru_admin_scrape_to(inputs) + if (locale === "id") return id_admin_scrape_to(inputs) + if (locale === "pt") return pt_admin_scrape_to(inputs) + return fr_admin_scrape_to(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/admin_scrape_url_placeholder.js b/ui/src/lib/paraglide/messages/admin_scrape_url_placeholder.js new file mode 100644 index 0000000..d6b5332 --- /dev/null +++ b/ui/src/lib/paraglide/messages/admin_scrape_url_placeholder.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Admin_Scrape_Url_PlaceholderInputs */ + +const en_admin_scrape_url_placeholder = /** @type {(inputs: Admin_Scrape_Url_PlaceholderInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`novelfire.net book URL`) +}; + +const ru_admin_scrape_url_placeholder = /** @type {(inputs: Admin_Scrape_Url_PlaceholderInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`URL книги на novelfire.net`) +}; + +const id_admin_scrape_url_placeholder = /** @type {(inputs: Admin_Scrape_Url_PlaceholderInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`URL buku di novelfire.net`) +}; + +const pt_admin_scrape_url_placeholder = /** @type {(inputs: Admin_Scrape_Url_PlaceholderInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`URL do livro em novelfire.net`) +}; + +const fr_admin_scrape_url_placeholder = /** @type {(inputs: Admin_Scrape_Url_PlaceholderInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`URL du livre sur novelfire.net`) +}; + +/** +* | output | +* | --- | +* | "novelfire.net book URL" | +* +* @param {Admin_Scrape_Url_PlaceholderInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const admin_scrape_url_placeholder = /** @type {((inputs?: Admin_Scrape_Url_PlaceholderInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_admin_scrape_url_placeholder(inputs) + if (locale === "ru") return ru_admin_scrape_url_placeholder(inputs) + if (locale === "id") return id_admin_scrape_url_placeholder(inputs) + if (locale === "pt") return pt_admin_scrape_url_placeholder(inputs) + return fr_admin_scrape_url_placeholder(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/admin_tasks_empty.js b/ui/src/lib/paraglide/messages/admin_tasks_empty.js new file mode 100644 index 0000000..3015e9b --- /dev/null +++ b/ui/src/lib/paraglide/messages/admin_tasks_empty.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Admin_Tasks_EmptyInputs */ + +const en_admin_tasks_empty = /** @type {(inputs: Admin_Tasks_EmptyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`No tasks yet.`) +}; + +const ru_admin_tasks_empty = /** @type {(inputs: Admin_Tasks_EmptyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Задач пока нет.`) +}; + +const id_admin_tasks_empty = /** @type {(inputs: Admin_Tasks_EmptyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Belum ada tugas.`) +}; + +const pt_admin_tasks_empty = /** @type {(inputs: Admin_Tasks_EmptyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Nenhuma tarefa ainda.`) +}; + +const fr_admin_tasks_empty = /** @type {(inputs: Admin_Tasks_EmptyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Aucune tâche pour l'instant.`) +}; + +/** +* | output | +* | --- | +* | "No tasks yet." | +* +* @param {Admin_Tasks_EmptyInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const admin_tasks_empty = /** @type {((inputs?: Admin_Tasks_EmptyInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_admin_tasks_empty(inputs) + if (locale === "ru") return ru_admin_tasks_empty(inputs) + if (locale === "id") return id_admin_tasks_empty(inputs) + if (locale === "pt") return pt_admin_tasks_empty(inputs) + return fr_admin_tasks_empty(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/admin_tasks_heading.js b/ui/src/lib/paraglide/messages/admin_tasks_heading.js new file mode 100644 index 0000000..6020c38 --- /dev/null +++ b/ui/src/lib/paraglide/messages/admin_tasks_heading.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Admin_Tasks_HeadingInputs */ + +const en_admin_tasks_heading = /** @type {(inputs: Admin_Tasks_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Recent tasks`) +}; + +const ru_admin_tasks_heading = /** @type {(inputs: Admin_Tasks_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Последние задачи`) +}; + +const id_admin_tasks_heading = /** @type {(inputs: Admin_Tasks_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Tugas terbaru`) +}; + +const pt_admin_tasks_heading = /** @type {(inputs: Admin_Tasks_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Tarefas recentes`) +}; + +const fr_admin_tasks_heading = /** @type {(inputs: Admin_Tasks_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Tâches récentes`) +}; + +/** +* | output | +* | --- | +* | "Recent tasks" | +* +* @param {Admin_Tasks_HeadingInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const admin_tasks_heading = /** @type {((inputs?: Admin_Tasks_HeadingInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_admin_tasks_heading(inputs) + if (locale === "ru") return ru_admin_tasks_heading(inputs) + if (locale === "id") return id_admin_tasks_heading(inputs) + if (locale === "pt") return pt_admin_tasks_heading(inputs) + return fr_admin_tasks_heading(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/admin_tools_label.js b/ui/src/lib/paraglide/messages/admin_tools_label.js new file mode 100644 index 0000000..0e521f4 --- /dev/null +++ b/ui/src/lib/paraglide/messages/admin_tools_label.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Admin_Tools_LabelInputs */ + +const en_admin_tools_label = /** @type {(inputs: Admin_Tools_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Tools`) +}; + +const ru_admin_tools_label = /** @type {(inputs: Admin_Tools_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Инструменты`) +}; + +const id_admin_tools_label = /** @type {(inputs: Admin_Tools_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Alat`) +}; + +const pt_admin_tools_label = /** @type {(inputs: Admin_Tools_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Ferramentas`) +}; + +const fr_admin_tools_label = /** @type {(inputs: Admin_Tools_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Outils`) +}; + +/** +* | output | +* | --- | +* | "Tools" | +* +* @param {Admin_Tools_LabelInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const admin_tools_label = /** @type {((inputs?: Admin_Tools_LabelInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_admin_tools_label(inputs) + if (locale === "ru") return ru_admin_tools_label(inputs) + if (locale === "id") return id_admin_tools_label(inputs) + if (locale === "pt") return pt_admin_tools_label(inputs) + return fr_admin_tools_label(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/book_detail_add_to_library.js b/ui/src/lib/paraglide/messages/book_detail_add_to_library.js new file mode 100644 index 0000000..8e056b3 --- /dev/null +++ b/ui/src/lib/paraglide/messages/book_detail_add_to_library.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Book_Detail_Add_To_LibraryInputs */ + +const en_book_detail_add_to_library = /** @type {(inputs: Book_Detail_Add_To_LibraryInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Add to Library`) +}; + +const ru_book_detail_add_to_library = /** @type {(inputs: Book_Detail_Add_To_LibraryInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`В библиотеку`) +}; + +const id_book_detail_add_to_library = /** @type {(inputs: Book_Detail_Add_To_LibraryInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Tambah ke Perpustakaan`) +}; + +const pt_book_detail_add_to_library = /** @type {(inputs: Book_Detail_Add_To_LibraryInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Adicionar à Biblioteca`) +}; + +const fr_book_detail_add_to_library = /** @type {(inputs: Book_Detail_Add_To_LibraryInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Ajouter à la bibliothèque`) +}; + +/** +* | output | +* | --- | +* | "Add to Library" | +* +* @param {Book_Detail_Add_To_LibraryInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const book_detail_add_to_library = /** @type {((inputs?: Book_Detail_Add_To_LibraryInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_book_detail_add_to_library(inputs) + if (locale === "ru") return ru_book_detail_add_to_library(inputs) + if (locale === "id") return id_book_detail_add_to_library(inputs) + if (locale === "pt") return pt_book_detail_add_to_library(inputs) + return fr_book_detail_add_to_library(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/book_detail_admin.js b/ui/src/lib/paraglide/messages/book_detail_admin.js new file mode 100644 index 0000000..411c87c --- /dev/null +++ b/ui/src/lib/paraglide/messages/book_detail_admin.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Book_Detail_AdminInputs */ + +const en_book_detail_admin = /** @type {(inputs: Book_Detail_AdminInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Admin`) +}; + +const ru_book_detail_admin = /** @type {(inputs: Book_Detail_AdminInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Администрирование`) +}; + +const id_book_detail_admin = /** @type {(inputs: Book_Detail_AdminInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Admin`) +}; + +const pt_book_detail_admin = /** @type {(inputs: Book_Detail_AdminInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Admin`) +}; + +const fr_book_detail_admin = /** @type {(inputs: Book_Detail_AdminInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Admin`) +}; + +/** +* | output | +* | --- | +* | "Admin" | +* +* @param {Book_Detail_AdminInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const book_detail_admin = /** @type {((inputs?: Book_Detail_AdminInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_book_detail_admin(inputs) + if (locale === "ru") return ru_book_detail_admin(inputs) + if (locale === "id") return id_book_detail_admin(inputs) + if (locale === "pt") return pt_book_detail_admin(inputs) + return fr_book_detail_admin(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/book_detail_author.js b/ui/src/lib/paraglide/messages/book_detail_author.js new file mode 100644 index 0000000..999731f --- /dev/null +++ b/ui/src/lib/paraglide/messages/book_detail_author.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Book_Detail_AuthorInputs */ + +const en_book_detail_author = /** @type {(inputs: Book_Detail_AuthorInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Author`) +}; + +const ru_book_detail_author = /** @type {(inputs: Book_Detail_AuthorInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Автор`) +}; + +const id_book_detail_author = /** @type {(inputs: Book_Detail_AuthorInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Penulis`) +}; + +const pt_book_detail_author = /** @type {(inputs: Book_Detail_AuthorInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Autor`) +}; + +const fr_book_detail_author = /** @type {(inputs: Book_Detail_AuthorInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Auteur`) +}; + +/** +* | output | +* | --- | +* | "Author" | +* +* @param {Book_Detail_AuthorInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const book_detail_author = /** @type {((inputs?: Book_Detail_AuthorInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_book_detail_author(inputs) + if (locale === "ru") return ru_book_detail_author(inputs) + if (locale === "id") return id_book_detail_author(inputs) + if (locale === "pt") return pt_book_detail_author(inputs) + return fr_book_detail_author(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/book_detail_chapters.js b/ui/src/lib/paraglide/messages/book_detail_chapters.js new file mode 100644 index 0000000..02ca3ea --- /dev/null +++ b/ui/src/lib/paraglide/messages/book_detail_chapters.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{ n: NonNullable }} Book_Detail_ChaptersInputs */ + +const en_book_detail_chapters = /** @type {(inputs: Book_Detail_ChaptersInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} Chapters`) +}; + +const ru_book_detail_chapters = /** @type {(inputs: Book_Detail_ChaptersInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} глав`) +}; + +const id_book_detail_chapters = /** @type {(inputs: Book_Detail_ChaptersInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} Bab`) +}; + +const pt_book_detail_chapters = /** @type {(inputs: Book_Detail_ChaptersInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} Capítulos`) +}; + +const fr_book_detail_chapters = /** @type {(inputs: Book_Detail_ChaptersInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} chapitres`) +}; + +/** +* | output | +* | --- | +* | "{n} Chapters" | +* +* @param {Book_Detail_ChaptersInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const book_detail_chapters = /** @type {((inputs: Book_Detail_ChaptersInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_book_detail_chapters(inputs) + if (locale === "ru") return ru_book_detail_chapters(inputs) + if (locale === "id") return id_book_detail_chapters(inputs) + if (locale === "pt") return pt_book_detail_chapters(inputs) + return fr_book_detail_chapters(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/book_detail_continue_ch.js b/ui/src/lib/paraglide/messages/book_detail_continue_ch.js new file mode 100644 index 0000000..8f077f3 --- /dev/null +++ b/ui/src/lib/paraglide/messages/book_detail_continue_ch.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{ n: NonNullable }} Book_Detail_Continue_ChInputs */ + +const en_book_detail_continue_ch = /** @type {(inputs: Book_Detail_Continue_ChInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Continue ch.${i?.n}`) +}; + +const ru_book_detail_continue_ch = /** @type {(inputs: Book_Detail_Continue_ChInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Продолжить гл.${i?.n}`) +}; + +const id_book_detail_continue_ch = /** @type {(inputs: Book_Detail_Continue_ChInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Lanjutkan bab.${i?.n}`) +}; + +const pt_book_detail_continue_ch = /** @type {(inputs: Book_Detail_Continue_ChInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Continuar cap.${i?.n}`) +}; + +const fr_book_detail_continue_ch = /** @type {(inputs: Book_Detail_Continue_ChInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Continuer ch.${i?.n}`) +}; + +/** +* | output | +* | --- | +* | "Continue ch.{n}" | +* +* @param {Book_Detail_Continue_ChInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const book_detail_continue_ch = /** @type {((inputs: Book_Detail_Continue_ChInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_book_detail_continue_ch(inputs) + if (locale === "ru") return ru_book_detail_continue_ch(inputs) + if (locale === "id") return id_book_detail_continue_ch(inputs) + if (locale === "pt") return pt_book_detail_continue_ch(inputs) + return fr_book_detail_continue_ch(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/book_detail_continue_reading.js b/ui/src/lib/paraglide/messages/book_detail_continue_reading.js new file mode 100644 index 0000000..54153c7 --- /dev/null +++ b/ui/src/lib/paraglide/messages/book_detail_continue_reading.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Book_Detail_Continue_ReadingInputs */ + +const en_book_detail_continue_reading = /** @type {(inputs: Book_Detail_Continue_ReadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Continue Reading`) +}; + +const ru_book_detail_continue_reading = /** @type {(inputs: Book_Detail_Continue_ReadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Продолжить чтение`) +}; + +const id_book_detail_continue_reading = /** @type {(inputs: Book_Detail_Continue_ReadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Lanjutkan Membaca`) +}; + +const pt_book_detail_continue_reading = /** @type {(inputs: Book_Detail_Continue_ReadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Continuar Lendo`) +}; + +const fr_book_detail_continue_reading = /** @type {(inputs: Book_Detail_Continue_ReadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Continuer la lecture`) +}; + +/** +* | output | +* | --- | +* | "Continue Reading" | +* +* @param {Book_Detail_Continue_ReadingInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const book_detail_continue_reading = /** @type {((inputs?: Book_Detail_Continue_ReadingInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_book_detail_continue_reading(inputs) + if (locale === "ru") return ru_book_detail_continue_reading(inputs) + if (locale === "id") return id_book_detail_continue_reading(inputs) + if (locale === "pt") return pt_book_detail_continue_reading(inputs) + return fr_book_detail_continue_reading(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/book_detail_description.js b/ui/src/lib/paraglide/messages/book_detail_description.js new file mode 100644 index 0000000..2840321 --- /dev/null +++ b/ui/src/lib/paraglide/messages/book_detail_description.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Book_Detail_DescriptionInputs */ + +const en_book_detail_description = /** @type {(inputs: Book_Detail_DescriptionInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Description`) +}; + +const ru_book_detail_description = /** @type {(inputs: Book_Detail_DescriptionInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Описание`) +}; + +const id_book_detail_description = /** @type {(inputs: Book_Detail_DescriptionInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Deskripsi`) +}; + +const pt_book_detail_description = /** @type {(inputs: Book_Detail_DescriptionInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Descrição`) +}; + +const fr_book_detail_description = /** @type {(inputs: Book_Detail_DescriptionInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Description`) +}; + +/** +* | output | +* | --- | +* | "Description" | +* +* @param {Book_Detail_DescriptionInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const book_detail_description = /** @type {((inputs?: Book_Detail_DescriptionInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_book_detail_description(inputs) + if (locale === "ru") return ru_book_detail_description(inputs) + if (locale === "id") return id_book_detail_description(inputs) + if (locale === "pt") return pt_book_detail_description(inputs) + return fr_book_detail_description(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/book_detail_from_chapter.js b/ui/src/lib/paraglide/messages/book_detail_from_chapter.js new file mode 100644 index 0000000..789978c --- /dev/null +++ b/ui/src/lib/paraglide/messages/book_detail_from_chapter.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Book_Detail_From_ChapterInputs */ + +const en_book_detail_from_chapter = /** @type {(inputs: Book_Detail_From_ChapterInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`From chapter`) +}; + +const ru_book_detail_from_chapter = /** @type {(inputs: Book_Detail_From_ChapterInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`С главы`) +}; + +const id_book_detail_from_chapter = /** @type {(inputs: Book_Detail_From_ChapterInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Dari bab`) +}; + +const pt_book_detail_from_chapter = /** @type {(inputs: Book_Detail_From_ChapterInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`A partir do capítulo`) +}; + +const fr_book_detail_from_chapter = /** @type {(inputs: Book_Detail_From_ChapterInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`À partir du chapitre`) +}; + +/** +* | output | +* | --- | +* | "From chapter" | +* +* @param {Book_Detail_From_ChapterInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const book_detail_from_chapter = /** @type {((inputs?: Book_Detail_From_ChapterInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_book_detail_from_chapter(inputs) + if (locale === "ru") return ru_book_detail_from_chapter(inputs) + if (locale === "id") return id_book_detail_from_chapter(inputs) + if (locale === "pt") return pt_book_detail_from_chapter(inputs) + return fr_book_detail_from_chapter(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/book_detail_genres.js b/ui/src/lib/paraglide/messages/book_detail_genres.js new file mode 100644 index 0000000..721905b --- /dev/null +++ b/ui/src/lib/paraglide/messages/book_detail_genres.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Book_Detail_GenresInputs */ + +const en_book_detail_genres = /** @type {(inputs: Book_Detail_GenresInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Genres`) +}; + +const ru_book_detail_genres = /** @type {(inputs: Book_Detail_GenresInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Жанры`) +}; + +const id_book_detail_genres = /** @type {(inputs: Book_Detail_GenresInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Genre`) +}; + +const pt_book_detail_genres = /** @type {(inputs: Book_Detail_GenresInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Gêneros`) +}; + +const fr_book_detail_genres = /** @type {(inputs: Book_Detail_GenresInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Genres`) +}; + +/** +* | output | +* | --- | +* | "Genres" | +* +* @param {Book_Detail_GenresInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const book_detail_genres = /** @type {((inputs?: Book_Detail_GenresInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_book_detail_genres(inputs) + if (locale === "ru") return ru_book_detail_genres(inputs) + if (locale === "id") return id_book_detail_genres(inputs) + if (locale === "pt") return pt_book_detail_genres(inputs) + return fr_book_detail_genres(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/book_detail_in_library.js b/ui/src/lib/paraglide/messages/book_detail_in_library.js new file mode 100644 index 0000000..4d72b0e --- /dev/null +++ b/ui/src/lib/paraglide/messages/book_detail_in_library.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Book_Detail_In_LibraryInputs */ + +const en_book_detail_in_library = /** @type {(inputs: Book_Detail_In_LibraryInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`In Library`) +}; + +const ru_book_detail_in_library = /** @type {(inputs: Book_Detail_In_LibraryInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`В библиотеке`) +}; + +const id_book_detail_in_library = /** @type {(inputs: Book_Detail_In_LibraryInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Ada di Perpustakaan`) +}; + +const pt_book_detail_in_library = /** @type {(inputs: Book_Detail_In_LibraryInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Na Biblioteca`) +}; + +const fr_book_detail_in_library = /** @type {(inputs: Book_Detail_In_LibraryInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Dans la bibliothèque`) +}; + +/** +* | output | +* | --- | +* | "In Library" | +* +* @param {Book_Detail_In_LibraryInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const book_detail_in_library = /** @type {((inputs?: Book_Detail_In_LibraryInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_book_detail_in_library(inputs) + if (locale === "ru") return ru_book_detail_in_library(inputs) + if (locale === "id") return id_book_detail_in_library(inputs) + if (locale === "pt") return pt_book_detail_in_library(inputs) + return fr_book_detail_in_library(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/book_detail_less.js b/ui/src/lib/paraglide/messages/book_detail_less.js new file mode 100644 index 0000000..ef5c581 --- /dev/null +++ b/ui/src/lib/paraglide/messages/book_detail_less.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Book_Detail_LessInputs */ + +const en_book_detail_less = /** @type {(inputs: Book_Detail_LessInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Less`) +}; + +const ru_book_detail_less = /** @type {(inputs: Book_Detail_LessInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Скрыть`) +}; + +const id_book_detail_less = /** @type {(inputs: Book_Detail_LessInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Lebih sedikit`) +}; + +const pt_book_detail_less = /** @type {(inputs: Book_Detail_LessInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Menos`) +}; + +const fr_book_detail_less = /** @type {(inputs: Book_Detail_LessInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Moins`) +}; + +/** +* | output | +* | --- | +* | "Less" | +* +* @param {Book_Detail_LessInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const book_detail_less = /** @type {((inputs?: Book_Detail_LessInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_book_detail_less(inputs) + if (locale === "ru") return ru_book_detail_less(inputs) + if (locale === "id") return id_book_detail_less(inputs) + if (locale === "pt") return pt_book_detail_less(inputs) + return fr_book_detail_less(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/book_detail_more.js b/ui/src/lib/paraglide/messages/book_detail_more.js new file mode 100644 index 0000000..8ea5382 --- /dev/null +++ b/ui/src/lib/paraglide/messages/book_detail_more.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Book_Detail_MoreInputs */ + +const en_book_detail_more = /** @type {(inputs: Book_Detail_MoreInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`More`) +}; + +const ru_book_detail_more = /** @type {(inputs: Book_Detail_MoreInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Ещё`) +}; + +const id_book_detail_more = /** @type {(inputs: Book_Detail_MoreInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Selengkapnya`) +}; + +const pt_book_detail_more = /** @type {(inputs: Book_Detail_MoreInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Mais`) +}; + +const fr_book_detail_more = /** @type {(inputs: Book_Detail_MoreInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Plus`) +}; + +/** +* | output | +* | --- | +* | "More" | +* +* @param {Book_Detail_MoreInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const book_detail_more = /** @type {((inputs?: Book_Detail_MoreInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_book_detail_more(inputs) + if (locale === "ru") return ru_book_detail_more(inputs) + if (locale === "id") return id_book_detail_more(inputs) + if (locale === "pt") return pt_book_detail_more(inputs) + return fr_book_detail_more(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/book_detail_n_chapters.js b/ui/src/lib/paraglide/messages/book_detail_n_chapters.js new file mode 100644 index 0000000..fb85444 --- /dev/null +++ b/ui/src/lib/paraglide/messages/book_detail_n_chapters.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{ n: NonNullable }} Book_Detail_N_ChaptersInputs */ + +const en_book_detail_n_chapters = /** @type {(inputs: Book_Detail_N_ChaptersInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} chapters`) +}; + +const ru_book_detail_n_chapters = /** @type {(inputs: Book_Detail_N_ChaptersInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} глав`) +}; + +const id_book_detail_n_chapters = /** @type {(inputs: Book_Detail_N_ChaptersInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} bab`) +}; + +const pt_book_detail_n_chapters = /** @type {(inputs: Book_Detail_N_ChaptersInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} capítulos`) +}; + +const fr_book_detail_n_chapters = /** @type {(inputs: Book_Detail_N_ChaptersInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} chapitres`) +}; + +/** +* | output | +* | --- | +* | "{n} chapters" | +* +* @param {Book_Detail_N_ChaptersInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const book_detail_n_chapters = /** @type {((inputs: Book_Detail_N_ChaptersInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_book_detail_n_chapters(inputs) + if (locale === "ru") return ru_book_detail_n_chapters(inputs) + if (locale === "id") return id_book_detail_n_chapters(inputs) + if (locale === "pt") return pt_book_detail_n_chapters(inputs) + return fr_book_detail_n_chapters(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/book_detail_not_in_library.js b/ui/src/lib/paraglide/messages/book_detail_not_in_library.js new file mode 100644 index 0000000..a8538bd --- /dev/null +++ b/ui/src/lib/paraglide/messages/book_detail_not_in_library.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Book_Detail_Not_In_LibraryInputs */ + +const en_book_detail_not_in_library = /** @type {(inputs: Book_Detail_Not_In_LibraryInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`not in library`) +}; + +const ru_book_detail_not_in_library = /** @type {(inputs: Book_Detail_Not_In_LibraryInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`не в библиотеке`) +}; + +const id_book_detail_not_in_library = /** @type {(inputs: Book_Detail_Not_In_LibraryInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`tidak di perpustakaan`) +}; + +const pt_book_detail_not_in_library = /** @type {(inputs: Book_Detail_Not_In_LibraryInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`não está na biblioteca`) +}; + +const fr_book_detail_not_in_library = /** @type {(inputs: Book_Detail_Not_In_LibraryInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`pas dans la bibliothèque`) +}; + +/** +* | output | +* | --- | +* | "not in library" | +* +* @param {Book_Detail_Not_In_LibraryInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const book_detail_not_in_library = /** @type {((inputs?: Book_Detail_Not_In_LibraryInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_book_detail_not_in_library(inputs) + if (locale === "ru") return ru_book_detail_not_in_library(inputs) + if (locale === "id") return id_book_detail_not_in_library(inputs) + if (locale === "pt") return pt_book_detail_not_in_library(inputs) + return fr_book_detail_not_in_library(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/book_detail_page_title.js b/ui/src/lib/paraglide/messages/book_detail_page_title.js new file mode 100644 index 0000000..25895f7 --- /dev/null +++ b/ui/src/lib/paraglide/messages/book_detail_page_title.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{ title: NonNullable }} Book_Detail_Page_TitleInputs */ + +const en_book_detail_page_title = /** @type {(inputs: Book_Detail_Page_TitleInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.title} — libnovel`) +}; + +const ru_book_detail_page_title = /** @type {(inputs: Book_Detail_Page_TitleInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.title} — libnovel`) +}; + +const id_book_detail_page_title = /** @type {(inputs: Book_Detail_Page_TitleInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.title} — libnovel`) +}; + +const pt_book_detail_page_title = /** @type {(inputs: Book_Detail_Page_TitleInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.title} — libnovel`) +}; + +const fr_book_detail_page_title = /** @type {(inputs: Book_Detail_Page_TitleInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.title} — libnovel`) +}; + +/** +* | output | +* | --- | +* | "{title} — libnovel" | +* +* @param {Book_Detail_Page_TitleInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const book_detail_page_title = /** @type {((inputs: Book_Detail_Page_TitleInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_book_detail_page_title(inputs) + if (locale === "ru") return ru_book_detail_page_title(inputs) + if (locale === "id") return id_book_detail_page_title(inputs) + if (locale === "pt") return pt_book_detail_page_title(inputs) + return fr_book_detail_page_title(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/book_detail_preview_ch1.js b/ui/src/lib/paraglide/messages/book_detail_preview_ch1.js new file mode 100644 index 0000000..fd584c9 --- /dev/null +++ b/ui/src/lib/paraglide/messages/book_detail_preview_ch1.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Book_Detail_Preview_Ch1Inputs */ + +const en_book_detail_preview_ch1 = /** @type {(inputs: Book_Detail_Preview_Ch1Inputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Preview ch.1`) +}; + +const ru_book_detail_preview_ch1 = /** @type {(inputs: Book_Detail_Preview_Ch1Inputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Предпросмотр гл.1`) +}; + +const id_book_detail_preview_ch1 = /** @type {(inputs: Book_Detail_Preview_Ch1Inputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Pratinjau bab.1`) +}; + +const pt_book_detail_preview_ch1 = /** @type {(inputs: Book_Detail_Preview_Ch1Inputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Prévia do cap.1`) +}; + +const fr_book_detail_preview_ch1 = /** @type {(inputs: Book_Detail_Preview_Ch1Inputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Aperçu ch.1`) +}; + +/** +* | output | +* | --- | +* | "Preview ch.1" | +* +* @param {Book_Detail_Preview_Ch1Inputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const book_detail_preview_ch1 = /** @type {((inputs?: Book_Detail_Preview_Ch1Inputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_book_detail_preview_ch1(inputs) + if (locale === "ru") return ru_book_detail_preview_ch1(inputs) + if (locale === "id") return id_book_detail_preview_ch1(inputs) + if (locale === "pt") return pt_book_detail_preview_ch1(inputs) + return fr_book_detail_preview_ch1(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/book_detail_range_queuing.js b/ui/src/lib/paraglide/messages/book_detail_range_queuing.js new file mode 100644 index 0000000..42be4ea --- /dev/null +++ b/ui/src/lib/paraglide/messages/book_detail_range_queuing.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Book_Detail_Range_QueuingInputs */ + +const en_book_detail_range_queuing = /** @type {(inputs: Book_Detail_Range_QueuingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Queuing…`) +}; + +const ru_book_detail_range_queuing = /** @type {(inputs: Book_Detail_Range_QueuingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`В очереди…`) +}; + +const id_book_detail_range_queuing = /** @type {(inputs: Book_Detail_Range_QueuingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Mengantri…`) +}; + +const pt_book_detail_range_queuing = /** @type {(inputs: Book_Detail_Range_QueuingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Na fila…`) +}; + +const fr_book_detail_range_queuing = /** @type {(inputs: Book_Detail_Range_QueuingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`En file d'attente…`) +}; + +/** +* | output | +* | --- | +* | "Queuing…" | +* +* @param {Book_Detail_Range_QueuingInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const book_detail_range_queuing = /** @type {((inputs?: Book_Detail_Range_QueuingInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_book_detail_range_queuing(inputs) + if (locale === "ru") return ru_book_detail_range_queuing(inputs) + if (locale === "id") return id_book_detail_range_queuing(inputs) + if (locale === "pt") return pt_book_detail_range_queuing(inputs) + return fr_book_detail_range_queuing(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/book_detail_read_now.js b/ui/src/lib/paraglide/messages/book_detail_read_now.js new file mode 100644 index 0000000..f778f97 --- /dev/null +++ b/ui/src/lib/paraglide/messages/book_detail_read_now.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Book_Detail_Read_NowInputs */ + +const en_book_detail_read_now = /** @type {(inputs: Book_Detail_Read_NowInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Read Now`) +}; + +const ru_book_detail_read_now = /** @type {(inputs: Book_Detail_Read_NowInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Читать`) +}; + +const id_book_detail_read_now = /** @type {(inputs: Book_Detail_Read_NowInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Baca Sekarang`) +}; + +const pt_book_detail_read_now = /** @type {(inputs: Book_Detail_Read_NowInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Ler Agora`) +}; + +const fr_book_detail_read_now = /** @type {(inputs: Book_Detail_Read_NowInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Lire maintenant`) +}; + +/** +* | output | +* | --- | +* | "Read Now" | +* +* @param {Book_Detail_Read_NowInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const book_detail_read_now = /** @type {((inputs?: Book_Detail_Read_NowInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_book_detail_read_now(inputs) + if (locale === "ru") return ru_book_detail_read_now(inputs) + if (locale === "id") return id_book_detail_read_now(inputs) + if (locale === "pt") return pt_book_detail_read_now(inputs) + return fr_book_detail_read_now(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/book_detail_reading_ch.js b/ui/src/lib/paraglide/messages/book_detail_reading_ch.js new file mode 100644 index 0000000..c93f65d --- /dev/null +++ b/ui/src/lib/paraglide/messages/book_detail_reading_ch.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{ n: NonNullable, total: NonNullable }} Book_Detail_Reading_ChInputs */ + +const en_book_detail_reading_ch = /** @type {(inputs: Book_Detail_Reading_ChInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Reading ch.${i?.n} of ${i?.total}`) +}; + +const ru_book_detail_reading_ch = /** @type {(inputs: Book_Detail_Reading_ChInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Читается гл.${i?.n} из ${i?.total}`) +}; + +const id_book_detail_reading_ch = /** @type {(inputs: Book_Detail_Reading_ChInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Membaca bab.${i?.n} dari ${i?.total}`) +}; + +const pt_book_detail_reading_ch = /** @type {(inputs: Book_Detail_Reading_ChInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Lendo cap.${i?.n} de ${i?.total}`) +}; + +const fr_book_detail_reading_ch = /** @type {(inputs: Book_Detail_Reading_ChInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Lecture ch.${i?.n} sur ${i?.total}`) +}; + +/** +* | output | +* | --- | +* | "Reading ch.{n} of {total}" | +* +* @param {Book_Detail_Reading_ChInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const book_detail_reading_ch = /** @type {((inputs: Book_Detail_Reading_ChInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_book_detail_reading_ch(inputs) + if (locale === "ru") return ru_book_detail_reading_ch(inputs) + if (locale === "id") return id_book_detail_reading_ch(inputs) + if (locale === "pt") return pt_book_detail_reading_ch(inputs) + return fr_book_detail_reading_ch(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/book_detail_remove_from_library.js b/ui/src/lib/paraglide/messages/book_detail_remove_from_library.js new file mode 100644 index 0000000..ba494e8 --- /dev/null +++ b/ui/src/lib/paraglide/messages/book_detail_remove_from_library.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Book_Detail_Remove_From_LibraryInputs */ + +const en_book_detail_remove_from_library = /** @type {(inputs: Book_Detail_Remove_From_LibraryInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Remove from Library`) +}; + +const ru_book_detail_remove_from_library = /** @type {(inputs: Book_Detail_Remove_From_LibraryInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Удалить из библиотеки`) +}; + +const id_book_detail_remove_from_library = /** @type {(inputs: Book_Detail_Remove_From_LibraryInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Hapus dari Perpustakaan`) +}; + +const pt_book_detail_remove_from_library = /** @type {(inputs: Book_Detail_Remove_From_LibraryInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Remover da Biblioteca`) +}; + +const fr_book_detail_remove_from_library = /** @type {(inputs: Book_Detail_Remove_From_LibraryInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Retirer de la bibliothèque`) +}; + +/** +* | output | +* | --- | +* | "Remove from Library" | +* +* @param {Book_Detail_Remove_From_LibraryInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const book_detail_remove_from_library = /** @type {((inputs?: Book_Detail_Remove_From_LibraryInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_book_detail_remove_from_library(inputs) + if (locale === "ru") return ru_book_detail_remove_from_library(inputs) + if (locale === "id") return id_book_detail_remove_from_library(inputs) + if (locale === "pt") return pt_book_detail_remove_from_library(inputs) + return fr_book_detail_remove_from_library(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/book_detail_rescrape.js b/ui/src/lib/paraglide/messages/book_detail_rescrape.js new file mode 100644 index 0000000..cf15055 --- /dev/null +++ b/ui/src/lib/paraglide/messages/book_detail_rescrape.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Book_Detail_RescrapeInputs */ + +const en_book_detail_rescrape = /** @type {(inputs: Book_Detail_RescrapeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Re-scrape`) +}; + +const ru_book_detail_rescrape = /** @type {(inputs: Book_Detail_RescrapeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Обновить`) +}; + +const id_book_detail_rescrape = /** @type {(inputs: Book_Detail_RescrapeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Perbarui`) +}; + +const pt_book_detail_rescrape = /** @type {(inputs: Book_Detail_RescrapeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Atualizar`) +}; + +const fr_book_detail_rescrape = /** @type {(inputs: Book_Detail_RescrapeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Réextraire`) +}; + +/** +* | output | +* | --- | +* | "Re-scrape" | +* +* @param {Book_Detail_RescrapeInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const book_detail_rescrape = /** @type {((inputs?: Book_Detail_RescrapeInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_book_detail_rescrape(inputs) + if (locale === "ru") return ru_book_detail_rescrape(inputs) + if (locale === "id") return id_book_detail_rescrape(inputs) + if (locale === "pt") return pt_book_detail_rescrape(inputs) + return fr_book_detail_rescrape(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/book_detail_rescrape_book.js b/ui/src/lib/paraglide/messages/book_detail_rescrape_book.js new file mode 100644 index 0000000..fbba108 --- /dev/null +++ b/ui/src/lib/paraglide/messages/book_detail_rescrape_book.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Book_Detail_Rescrape_BookInputs */ + +const en_book_detail_rescrape_book = /** @type {(inputs: Book_Detail_Rescrape_BookInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Rescrape book`) +}; + +const ru_book_detail_rescrape_book = /** @type {(inputs: Book_Detail_Rescrape_BookInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Перепарсить книгу`) +}; + +const id_book_detail_rescrape_book = /** @type {(inputs: Book_Detail_Rescrape_BookInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Scrape ulang buku`) +}; + +const pt_book_detail_rescrape_book = /** @type {(inputs: Book_Detail_Rescrape_BookInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Reextrair livro`) +}; + +const fr_book_detail_rescrape_book = /** @type {(inputs: Book_Detail_Rescrape_BookInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Réextraire le livre`) +}; + +/** +* | output | +* | --- | +* | "Rescrape book" | +* +* @param {Book_Detail_Rescrape_BookInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const book_detail_rescrape_book = /** @type {((inputs?: Book_Detail_Rescrape_BookInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_book_detail_rescrape_book(inputs) + if (locale === "ru") return ru_book_detail_rescrape_book(inputs) + if (locale === "id") return id_book_detail_rescrape_book(inputs) + if (locale === "pt") return pt_book_detail_rescrape_book(inputs) + return fr_book_detail_rescrape_book(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/book_detail_rescraping.js b/ui/src/lib/paraglide/messages/book_detail_rescraping.js new file mode 100644 index 0000000..6a24d45 --- /dev/null +++ b/ui/src/lib/paraglide/messages/book_detail_rescraping.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Book_Detail_RescrapingInputs */ + +const en_book_detail_rescraping = /** @type {(inputs: Book_Detail_RescrapingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Queuing…`) +}; + +const ru_book_detail_rescraping = /** @type {(inputs: Book_Detail_RescrapingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`В очереди…`) +}; + +const id_book_detail_rescraping = /** @type {(inputs: Book_Detail_RescrapingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Mengantri…`) +}; + +const pt_book_detail_rescraping = /** @type {(inputs: Book_Detail_RescrapingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Na fila…`) +}; + +const fr_book_detail_rescraping = /** @type {(inputs: Book_Detail_RescrapingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`En file d'attente…`) +}; + +/** +* | output | +* | --- | +* | "Queuing…" | +* +* @param {Book_Detail_RescrapingInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const book_detail_rescraping = /** @type {((inputs?: Book_Detail_RescrapingInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_book_detail_rescraping(inputs) + if (locale === "ru") return ru_book_detail_rescraping(inputs) + if (locale === "id") return id_book_detail_rescraping(inputs) + if (locale === "pt") return pt_book_detail_rescraping(inputs) + return fr_book_detail_rescraping(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/book_detail_scrape_range.js b/ui/src/lib/paraglide/messages/book_detail_scrape_range.js new file mode 100644 index 0000000..797f123 --- /dev/null +++ b/ui/src/lib/paraglide/messages/book_detail_scrape_range.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Book_Detail_Scrape_RangeInputs */ + +const en_book_detail_scrape_range = /** @type {(inputs: Book_Detail_Scrape_RangeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Scrape range`) +}; + +const ru_book_detail_scrape_range = /** @type {(inputs: Book_Detail_Scrape_RangeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Диапазон глав`) +}; + +const id_book_detail_scrape_range = /** @type {(inputs: Book_Detail_Scrape_RangeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Rentang scrape`) +}; + +const pt_book_detail_scrape_range = /** @type {(inputs: Book_Detail_Scrape_RangeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Intervalo de extração`) +}; + +const fr_book_detail_scrape_range = /** @type {(inputs: Book_Detail_Scrape_RangeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Plage d'extraction`) +}; + +/** +* | output | +* | --- | +* | "Scrape range" | +* +* @param {Book_Detail_Scrape_RangeInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const book_detail_scrape_range = /** @type {((inputs?: Book_Detail_Scrape_RangeInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_book_detail_scrape_range(inputs) + if (locale === "ru") return ru_book_detail_scrape_range(inputs) + if (locale === "id") return id_book_detail_scrape_range(inputs) + if (locale === "pt") return pt_book_detail_scrape_range(inputs) + return fr_book_detail_scrape_range(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/book_detail_scraping.js b/ui/src/lib/paraglide/messages/book_detail_scraping.js new file mode 100644 index 0000000..de871e7 --- /dev/null +++ b/ui/src/lib/paraglide/messages/book_detail_scraping.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Book_Detail_ScrapingInputs */ + +const en_book_detail_scraping = /** @type {(inputs: Book_Detail_ScrapingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Scraping…`) +}; + +const ru_book_detail_scraping = /** @type {(inputs: Book_Detail_ScrapingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Обновление…`) +}; + +const id_book_detail_scraping = /** @type {(inputs: Book_Detail_ScrapingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Memperbarui…`) +}; + +const pt_book_detail_scraping = /** @type {(inputs: Book_Detail_ScrapingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Atualizando…`) +}; + +const fr_book_detail_scraping = /** @type {(inputs: Book_Detail_ScrapingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Extraction en cours…`) +}; + +/** +* | output | +* | --- | +* | "Scraping…" | +* +* @param {Book_Detail_ScrapingInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const book_detail_scraping = /** @type {((inputs?: Book_Detail_ScrapingInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_book_detail_scraping(inputs) + if (locale === "ru") return ru_book_detail_scraping(inputs) + if (locale === "id") return id_book_detail_scraping(inputs) + if (locale === "pt") return pt_book_detail_scraping(inputs) + return fr_book_detail_scraping(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/book_detail_scraping_home.js b/ui/src/lib/paraglide/messages/book_detail_scraping_home.js new file mode 100644 index 0000000..62f74a2 --- /dev/null +++ b/ui/src/lib/paraglide/messages/book_detail_scraping_home.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Book_Detail_Scraping_HomeInputs */ + +const en_book_detail_scraping_home = /** @type {(inputs: Book_Detail_Scraping_HomeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`← Home`) +}; + +const ru_book_detail_scraping_home = /** @type {(inputs: Book_Detail_Scraping_HomeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`← На главную`) +}; + +const id_book_detail_scraping_home = /** @type {(inputs: Book_Detail_Scraping_HomeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`← Beranda`) +}; + +const pt_book_detail_scraping_home = /** @type {(inputs: Book_Detail_Scraping_HomeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`← Início`) +}; + +const fr_book_detail_scraping_home = /** @type {(inputs: Book_Detail_Scraping_HomeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`← Accueil`) +}; + +/** +* | output | +* | --- | +* | "← Home" | +* +* @param {Book_Detail_Scraping_HomeInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const book_detail_scraping_home = /** @type {((inputs?: Book_Detail_Scraping_HomeInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_book_detail_scraping_home(inputs) + if (locale === "ru") return ru_book_detail_scraping_home(inputs) + if (locale === "id") return id_book_detail_scraping_home(inputs) + if (locale === "pt") return pt_book_detail_scraping_home(inputs) + return fr_book_detail_scraping_home(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/book_detail_scraping_progress.js b/ui/src/lib/paraglide/messages/book_detail_scraping_progress.js new file mode 100644 index 0000000..1e34dc3 --- /dev/null +++ b/ui/src/lib/paraglide/messages/book_detail_scraping_progress.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Book_Detail_Scraping_ProgressInputs */ + +const en_book_detail_scraping_progress = /** @type {(inputs: Book_Detail_Scraping_ProgressInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Fetching the first 20 chapters. This page will refresh automatically.`) +}; + +const ru_book_detail_scraping_progress = /** @type {(inputs: Book_Detail_Scraping_ProgressInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Загружаются первые 20 глав. Страница обновится автоматически.`) +}; + +const id_book_detail_scraping_progress = /** @type {(inputs: Book_Detail_Scraping_ProgressInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Mengambil 20 bab pertama. Halaman ini akan dimuat ulang otomatis.`) +}; + +const pt_book_detail_scraping_progress = /** @type {(inputs: Book_Detail_Scraping_ProgressInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Buscando os primeiros 20 capítulos. Esta página será atualizada automaticamente.`) +}; + +const fr_book_detail_scraping_progress = /** @type {(inputs: Book_Detail_Scraping_ProgressInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Récupération des 20 premiers chapitres. Cette page sera actualisée automatiquement.`) +}; + +/** +* | output | +* | --- | +* | "Fetching the first 20 chapters. This page will refresh automatically." | +* +* @param {Book_Detail_Scraping_ProgressInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const book_detail_scraping_progress = /** @type {((inputs?: Book_Detail_Scraping_ProgressInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_book_detail_scraping_progress(inputs) + if (locale === "ru") return ru_book_detail_scraping_progress(inputs) + if (locale === "id") return id_book_detail_scraping_progress(inputs) + if (locale === "pt") return pt_book_detail_scraping_progress(inputs) + return fr_book_detail_scraping_progress(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/book_detail_signin_to_save.js b/ui/src/lib/paraglide/messages/book_detail_signin_to_save.js new file mode 100644 index 0000000..df0101d --- /dev/null +++ b/ui/src/lib/paraglide/messages/book_detail_signin_to_save.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Book_Detail_Signin_To_SaveInputs */ + +const en_book_detail_signin_to_save = /** @type {(inputs: Book_Detail_Signin_To_SaveInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Sign in to save`) +}; + +const ru_book_detail_signin_to_save = /** @type {(inputs: Book_Detail_Signin_To_SaveInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Войдите, чтобы сохранить`) +}; + +const id_book_detail_signin_to_save = /** @type {(inputs: Book_Detail_Signin_To_SaveInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Masuk untuk menyimpan`) +}; + +const pt_book_detail_signin_to_save = /** @type {(inputs: Book_Detail_Signin_To_SaveInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Entre para salvar`) +}; + +const fr_book_detail_signin_to_save = /** @type {(inputs: Book_Detail_Signin_To_SaveInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Connectez-vous pour sauvegarder`) +}; + +/** +* | output | +* | --- | +* | "Sign in to save" | +* +* @param {Book_Detail_Signin_To_SaveInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const book_detail_signin_to_save = /** @type {((inputs?: Book_Detail_Signin_To_SaveInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_book_detail_signin_to_save(inputs) + if (locale === "ru") return ru_book_detail_signin_to_save(inputs) + if (locale === "id") return id_book_detail_signin_to_save(inputs) + if (locale === "pt") return pt_book_detail_signin_to_save(inputs) + return fr_book_detail_signin_to_save(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/book_detail_source.js b/ui/src/lib/paraglide/messages/book_detail_source.js new file mode 100644 index 0000000..197e4d2 --- /dev/null +++ b/ui/src/lib/paraglide/messages/book_detail_source.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Book_Detail_SourceInputs */ + +const en_book_detail_source = /** @type {(inputs: Book_Detail_SourceInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Source`) +}; + +const ru_book_detail_source = /** @type {(inputs: Book_Detail_SourceInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Источник`) +}; + +const id_book_detail_source = /** @type {(inputs: Book_Detail_SourceInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Sumber`) +}; + +const pt_book_detail_source = /** @type {(inputs: Book_Detail_SourceInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Fonte`) +}; + +const fr_book_detail_source = /** @type {(inputs: Book_Detail_SourceInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Source`) +}; + +/** +* | output | +* | --- | +* | "Source" | +* +* @param {Book_Detail_SourceInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const book_detail_source = /** @type {((inputs?: Book_Detail_SourceInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_book_detail_source(inputs) + if (locale === "ru") return ru_book_detail_source(inputs) + if (locale === "id") return id_book_detail_source(inputs) + if (locale === "pt") return pt_book_detail_source(inputs) + return fr_book_detail_source(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/book_detail_start_ch1.js b/ui/src/lib/paraglide/messages/book_detail_start_ch1.js new file mode 100644 index 0000000..023e260 --- /dev/null +++ b/ui/src/lib/paraglide/messages/book_detail_start_ch1.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Book_Detail_Start_Ch1Inputs */ + +const en_book_detail_start_ch1 = /** @type {(inputs: Book_Detail_Start_Ch1Inputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Start from ch.1`) +}; + +const ru_book_detail_start_ch1 = /** @type {(inputs: Book_Detail_Start_Ch1Inputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Начать с гл.1`) +}; + +const id_book_detail_start_ch1 = /** @type {(inputs: Book_Detail_Start_Ch1Inputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Mulai dari bab.1`) +}; + +const pt_book_detail_start_ch1 = /** @type {(inputs: Book_Detail_Start_Ch1Inputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Começar pelo cap.1`) +}; + +const fr_book_detail_start_ch1 = /** @type {(inputs: Book_Detail_Start_Ch1Inputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Commencer au ch.1`) +}; + +/** +* | output | +* | --- | +* | "Start from ch.1" | +* +* @param {Book_Detail_Start_Ch1Inputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const book_detail_start_ch1 = /** @type {((inputs?: Book_Detail_Start_Ch1Inputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_book_detail_start_ch1(inputs) + if (locale === "ru") return ru_book_detail_start_ch1(inputs) + if (locale === "id") return id_book_detail_start_ch1(inputs) + if (locale === "pt") return pt_book_detail_start_ch1(inputs) + return fr_book_detail_start_ch1(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/book_detail_start_reading.js b/ui/src/lib/paraglide/messages/book_detail_start_reading.js new file mode 100644 index 0000000..75e4065 --- /dev/null +++ b/ui/src/lib/paraglide/messages/book_detail_start_reading.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Book_Detail_Start_ReadingInputs */ + +const en_book_detail_start_reading = /** @type {(inputs: Book_Detail_Start_ReadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Start Reading`) +}; + +const ru_book_detail_start_reading = /** @type {(inputs: Book_Detail_Start_ReadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Начать чтение`) +}; + +const id_book_detail_start_reading = /** @type {(inputs: Book_Detail_Start_ReadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Mulai Membaca`) +}; + +const pt_book_detail_start_reading = /** @type {(inputs: Book_Detail_Start_ReadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Começar a Ler`) +}; + +const fr_book_detail_start_reading = /** @type {(inputs: Book_Detail_Start_ReadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Commencer la lecture`) +}; + +/** +* | output | +* | --- | +* | "Start Reading" | +* +* @param {Book_Detail_Start_ReadingInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const book_detail_start_reading = /** @type {((inputs?: Book_Detail_Start_ReadingInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_book_detail_start_reading(inputs) + if (locale === "ru") return ru_book_detail_start_reading(inputs) + if (locale === "id") return id_book_detail_start_reading(inputs) + if (locale === "pt") return pt_book_detail_start_reading(inputs) + return fr_book_detail_start_reading(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/book_detail_status.js b/ui/src/lib/paraglide/messages/book_detail_status.js new file mode 100644 index 0000000..0bc013b --- /dev/null +++ b/ui/src/lib/paraglide/messages/book_detail_status.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Book_Detail_StatusInputs */ + +const en_book_detail_status = /** @type {(inputs: Book_Detail_StatusInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Status`) +}; + +const ru_book_detail_status = /** @type {(inputs: Book_Detail_StatusInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Статус`) +}; + +const id_book_detail_status = /** @type {(inputs: Book_Detail_StatusInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Status`) +}; + +const pt_book_detail_status = /** @type {(inputs: Book_Detail_StatusInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Status`) +}; + +const fr_book_detail_status = /** @type {(inputs: Book_Detail_StatusInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Statut`) +}; + +/** +* | output | +* | --- | +* | "Status" | +* +* @param {Book_Detail_StatusInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const book_detail_status = /** @type {((inputs?: Book_Detail_StatusInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_book_detail_status(inputs) + if (locale === "ru") return ru_book_detail_status(inputs) + if (locale === "id") return id_book_detail_status(inputs) + if (locale === "pt") return pt_book_detail_status(inputs) + return fr_book_detail_status(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/book_detail_to_chapter.js b/ui/src/lib/paraglide/messages/book_detail_to_chapter.js new file mode 100644 index 0000000..46238d4 --- /dev/null +++ b/ui/src/lib/paraglide/messages/book_detail_to_chapter.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Book_Detail_To_ChapterInputs */ + +const en_book_detail_to_chapter = /** @type {(inputs: Book_Detail_To_ChapterInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`To chapter (optional)`) +}; + +const ru_book_detail_to_chapter = /** @type {(inputs: Book_Detail_To_ChapterInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`До главы (необязательно)`) +}; + +const id_book_detail_to_chapter = /** @type {(inputs: Book_Detail_To_ChapterInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Sampai bab (opsional)`) +}; + +const pt_book_detail_to_chapter = /** @type {(inputs: Book_Detail_To_ChapterInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Até o capítulo (opcional)`) +}; + +const fr_book_detail_to_chapter = /** @type {(inputs: Book_Detail_To_ChapterInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Jusqu'au chapitre (optionnel)`) +}; + +/** +* | output | +* | --- | +* | "To chapter (optional)" | +* +* @param {Book_Detail_To_ChapterInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const book_detail_to_chapter = /** @type {((inputs?: Book_Detail_To_ChapterInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_book_detail_to_chapter(inputs) + if (locale === "ru") return ru_book_detail_to_chapter(inputs) + if (locale === "id") return id_book_detail_to_chapter(inputs) + if (locale === "pt") return pt_book_detail_to_chapter(inputs) + return fr_book_detail_to_chapter(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/books_browse_catalogue.js b/ui/src/lib/paraglide/messages/books_browse_catalogue.js new file mode 100644 index 0000000..e2f9d91 --- /dev/null +++ b/ui/src/lib/paraglide/messages/books_browse_catalogue.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Books_Browse_CatalogueInputs */ + +const en_books_browse_catalogue = /** @type {(inputs: Books_Browse_CatalogueInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Browse Catalogue`) +}; + +const ru_books_browse_catalogue = /** @type {(inputs: Books_Browse_CatalogueInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Обзор каталога`) +}; + +const id_books_browse_catalogue = /** @type {(inputs: Books_Browse_CatalogueInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Jelajahi Katalog`) +}; + +const pt_books_browse_catalogue = /** @type {(inputs: Books_Browse_CatalogueInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Explorar Catálogo`) +}; + +const fr_books_browse_catalogue = /** @type {(inputs: Books_Browse_CatalogueInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Parcourir le catalogue`) +}; + +/** +* | output | +* | --- | +* | "Browse Catalogue" | +* +* @param {Books_Browse_CatalogueInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const books_browse_catalogue = /** @type {((inputs?: Books_Browse_CatalogueInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_books_browse_catalogue(inputs) + if (locale === "ru") return ru_books_browse_catalogue(inputs) + if (locale === "id") return id_books_browse_catalogue(inputs) + if (locale === "pt") return pt_books_browse_catalogue(inputs) + return fr_books_browse_catalogue(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/books_chapter_count.js b/ui/src/lib/paraglide/messages/books_chapter_count.js new file mode 100644 index 0000000..0d534f4 --- /dev/null +++ b/ui/src/lib/paraglide/messages/books_chapter_count.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{ n: NonNullable }} Books_Chapter_CountInputs */ + +const en_books_chapter_count = /** @type {(inputs: Books_Chapter_CountInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} chapters`) +}; + +const ru_books_chapter_count = /** @type {(inputs: Books_Chapter_CountInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} глав`) +}; + +const id_books_chapter_count = /** @type {(inputs: Books_Chapter_CountInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} bab`) +}; + +const pt_books_chapter_count = /** @type {(inputs: Books_Chapter_CountInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} capítulos`) +}; + +const fr_books_chapter_count = /** @type {(inputs: Books_Chapter_CountInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} chapitres`) +}; + +/** +* | output | +* | --- | +* | "{n} chapters" | +* +* @param {Books_Chapter_CountInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const books_chapter_count = /** @type {((inputs: Books_Chapter_CountInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_books_chapter_count(inputs) + if (locale === "ru") return ru_books_chapter_count(inputs) + if (locale === "id") return id_books_chapter_count(inputs) + if (locale === "pt") return pt_books_chapter_count(inputs) + return fr_books_chapter_count(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/books_count.js b/ui/src/lib/paraglide/messages/books_count.js new file mode 100644 index 0000000..f1ba262 --- /dev/null +++ b/ui/src/lib/paraglide/messages/books_count.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{ n: NonNullable, s: NonNullable }} Books_CountInputs */ + +const en_books_count = /** @type {(inputs: Books_CountInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} book${i?.s}`) +}; + +const ru_books_count = /** @type {(inputs: Books_CountInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} книг${i?.s}`) +}; + +const id_books_count = /** @type {(inputs: Books_CountInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} buku`) +}; + +const pt_books_count = /** @type {(inputs: Books_CountInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} livro${i?.s}`) +}; + +const fr_books_count = /** @type {(inputs: Books_CountInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} livre${i?.s}`) +}; + +/** +* | output | +* | --- | +* | "{n} book{s}" | +* +* @param {Books_CountInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const books_count = /** @type {((inputs: Books_CountInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_books_count(inputs) + if (locale === "ru") return ru_books_count(inputs) + if (locale === "id") return id_books_count(inputs) + if (locale === "pt") return pt_books_count(inputs) + return fr_books_count(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/books_empty_body.js b/ui/src/lib/paraglide/messages/books_empty_body.js new file mode 100644 index 0000000..e476200 --- /dev/null +++ b/ui/src/lib/paraglide/messages/books_empty_body.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Books_Empty_BodyInputs */ + +const en_books_empty_body = /** @type {(inputs: Books_Empty_BodyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Add books to your library by visiting a book page.`) +}; + +const ru_books_empty_body = /** @type {(inputs: Books_Empty_BodyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Добавляйте книги в библиотеку, посещая страницы книг.`) +}; + +const id_books_empty_body = /** @type {(inputs: Books_Empty_BodyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Tambahkan buku ke perpustakaanmu dengan mengunjungi halaman buku.`) +}; + +const pt_books_empty_body = /** @type {(inputs: Books_Empty_BodyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Adicione livros à sua biblioteca visitando a página de um livro.`) +}; + +const fr_books_empty_body = /** @type {(inputs: Books_Empty_BodyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Ajoutez des livres à votre bibliothèque en visitant une page de livre.`) +}; + +/** +* | output | +* | --- | +* | "Add books to your library by visiting a book page." | +* +* @param {Books_Empty_BodyInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const books_empty_body = /** @type {((inputs?: Books_Empty_BodyInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_books_empty_body(inputs) + if (locale === "ru") return ru_books_empty_body(inputs) + if (locale === "id") return id_books_empty_body(inputs) + if (locale === "pt") return pt_books_empty_body(inputs) + return fr_books_empty_body(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/books_empty_discover.js b/ui/src/lib/paraglide/messages/books_empty_discover.js new file mode 100644 index 0000000..54ee503 --- /dev/null +++ b/ui/src/lib/paraglide/messages/books_empty_discover.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Books_Empty_DiscoverInputs */ + +const en_books_empty_discover = /** @type {(inputs: Books_Empty_DiscoverInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Books you start reading or save from`) +}; + +const ru_books_empty_discover = /** @type {(inputs: Books_Empty_DiscoverInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Книги, которые вы начнёте читать или сохраните из`) +}; + +const id_books_empty_discover = /** @type {(inputs: Books_Empty_DiscoverInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Buku yang mulai kamu baca atau simpan dari`) +}; + +const pt_books_empty_discover = /** @type {(inputs: Books_Empty_DiscoverInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Livros que você começar a ler ou salvar de`) +}; + +const fr_books_empty_discover = /** @type {(inputs: Books_Empty_DiscoverInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Les livres que vous commencez à lire ou enregistrez depuis`) +}; + +/** +* | output | +* | --- | +* | "Books you start reading or save from" | +* +* @param {Books_Empty_DiscoverInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const books_empty_discover = /** @type {((inputs?: Books_Empty_DiscoverInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_books_empty_discover(inputs) + if (locale === "ru") return ru_books_empty_discover(inputs) + if (locale === "id") return id_books_empty_discover(inputs) + if (locale === "pt") return pt_books_empty_discover(inputs) + return fr_books_empty_discover(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/books_empty_discover_link.js b/ui/src/lib/paraglide/messages/books_empty_discover_link.js new file mode 100644 index 0000000..3eed694 --- /dev/null +++ b/ui/src/lib/paraglide/messages/books_empty_discover_link.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Books_Empty_Discover_LinkInputs */ + +const en_books_empty_discover_link = /** @type {(inputs: Books_Empty_Discover_LinkInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Discover`) +}; + +const ru_books_empty_discover_link = /** @type {(inputs: Books_Empty_Discover_LinkInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Каталога`) +}; + +const id_books_empty_discover_link = /** @type {(inputs: Books_Empty_Discover_LinkInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Temukan`) +}; + +const pt_books_empty_discover_link = /** @type {(inputs: Books_Empty_Discover_LinkInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Descobrir`) +}; + +const fr_books_empty_discover_link = /** @type {(inputs: Books_Empty_Discover_LinkInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Découvrir`) +}; + +/** +* | output | +* | --- | +* | "Discover" | +* +* @param {Books_Empty_Discover_LinkInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const books_empty_discover_link = /** @type {((inputs?: Books_Empty_Discover_LinkInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_books_empty_discover_link(inputs) + if (locale === "ru") return ru_books_empty_discover_link(inputs) + if (locale === "id") return id_books_empty_discover_link(inputs) + if (locale === "pt") return pt_books_empty_discover_link(inputs) + return fr_books_empty_discover_link(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/books_empty_discover_suffix.js b/ui/src/lib/paraglide/messages/books_empty_discover_suffix.js new file mode 100644 index 0000000..bd84008 --- /dev/null +++ b/ui/src/lib/paraglide/messages/books_empty_discover_suffix.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Books_Empty_Discover_SuffixInputs */ + +const en_books_empty_discover_suffix = /** @type {(inputs: Books_Empty_Discover_SuffixInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`will appear here.`) +}; + +const ru_books_empty_discover_suffix = /** @type {(inputs: Books_Empty_Discover_SuffixInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`появятся здесь.`) +}; + +const id_books_empty_discover_suffix = /** @type {(inputs: Books_Empty_Discover_SuffixInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`akan muncul di sini.`) +}; + +const pt_books_empty_discover_suffix = /** @type {(inputs: Books_Empty_Discover_SuffixInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`aparecerão aqui.`) +}; + +const fr_books_empty_discover_suffix = /** @type {(inputs: Books_Empty_Discover_SuffixInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`apparaîtront ici.`) +}; + +/** +* | output | +* | --- | +* | "will appear here." | +* +* @param {Books_Empty_Discover_SuffixInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const books_empty_discover_suffix = /** @type {((inputs?: Books_Empty_Discover_SuffixInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_books_empty_discover_suffix(inputs) + if (locale === "ru") return ru_books_empty_discover_suffix(inputs) + if (locale === "id") return id_books_empty_discover_suffix(inputs) + if (locale === "pt") return pt_books_empty_discover_suffix(inputs) + return fr_books_empty_discover_suffix(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/books_empty_library.js b/ui/src/lib/paraglide/messages/books_empty_library.js new file mode 100644 index 0000000..ee2e927 --- /dev/null +++ b/ui/src/lib/paraglide/messages/books_empty_library.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Books_Empty_LibraryInputs */ + +const en_books_empty_library = /** @type {(inputs: Books_Empty_LibraryInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Your library is empty.`) +}; + +const ru_books_empty_library = /** @type {(inputs: Books_Empty_LibraryInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Ваша библиотека пуста.`) +}; + +const id_books_empty_library = /** @type {(inputs: Books_Empty_LibraryInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Perpustakaanmu kosong.`) +}; + +const pt_books_empty_library = /** @type {(inputs: Books_Empty_LibraryInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Sua biblioteca está vazia.`) +}; + +const fr_books_empty_library = /** @type {(inputs: Books_Empty_LibraryInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Votre bibliothèque est vide.`) +}; + +/** +* | output | +* | --- | +* | "Your library is empty." | +* +* @param {Books_Empty_LibraryInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const books_empty_library = /** @type {((inputs?: Books_Empty_LibraryInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_books_empty_library(inputs) + if (locale === "ru") return ru_books_empty_library(inputs) + if (locale === "id") return id_books_empty_library(inputs) + if (locale === "pt") return pt_books_empty_library(inputs) + return fr_books_empty_library(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/books_empty_title.js b/ui/src/lib/paraglide/messages/books_empty_title.js new file mode 100644 index 0000000..55f405a --- /dev/null +++ b/ui/src/lib/paraglide/messages/books_empty_title.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Books_Empty_TitleInputs */ + +const en_books_empty_title = /** @type {(inputs: Books_Empty_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`No books yet`) +}; + +const ru_books_empty_title = /** @type {(inputs: Books_Empty_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Книг пока нет`) +}; + +const id_books_empty_title = /** @type {(inputs: Books_Empty_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Belum ada buku`) +}; + +const pt_books_empty_title = /** @type {(inputs: Books_Empty_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Nenhum livro ainda`) +}; + +const fr_books_empty_title = /** @type {(inputs: Books_Empty_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Aucun livre pour l'instant`) +}; + +/** +* | output | +* | --- | +* | "No books yet" | +* +* @param {Books_Empty_TitleInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const books_empty_title = /** @type {((inputs?: Books_Empty_TitleInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_books_empty_title(inputs) + if (locale === "ru") return ru_books_empty_title(inputs) + if (locale === "id") return id_books_empty_title(inputs) + if (locale === "pt") return pt_books_empty_title(inputs) + return fr_books_empty_title(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/books_heading.js b/ui/src/lib/paraglide/messages/books_heading.js new file mode 100644 index 0000000..e118f81 --- /dev/null +++ b/ui/src/lib/paraglide/messages/books_heading.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Books_HeadingInputs */ + +const en_books_heading = /** @type {(inputs: Books_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Your Library`) +}; + +const ru_books_heading = /** @type {(inputs: Books_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Ваша библиотека`) +}; + +const id_books_heading = /** @type {(inputs: Books_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Perpustakaanmu`) +}; + +const pt_books_heading = /** @type {(inputs: Books_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Sua Biblioteca`) +}; + +const fr_books_heading = /** @type {(inputs: Books_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Votre bibliothèque`) +}; + +/** +* | output | +* | --- | +* | "Your Library" | +* +* @param {Books_HeadingInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const books_heading = /** @type {((inputs?: Books_HeadingInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_books_heading(inputs) + if (locale === "ru") return ru_books_heading(inputs) + if (locale === "id") return id_books_heading(inputs) + if (locale === "pt") return pt_books_heading(inputs) + return fr_books_heading(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/books_last_read.js b/ui/src/lib/paraglide/messages/books_last_read.js new file mode 100644 index 0000000..a83bf8b --- /dev/null +++ b/ui/src/lib/paraglide/messages/books_last_read.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{ n: NonNullable }} Books_Last_ReadInputs */ + +const en_books_last_read = /** @type {(inputs: Books_Last_ReadInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Last read: Ch.${i?.n}`) +}; + +const ru_books_last_read = /** @type {(inputs: Books_Last_ReadInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Последнее: гл.${i?.n}`) +}; + +const id_books_last_read = /** @type {(inputs: Books_Last_ReadInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Terakhir: Bab.${i?.n}`) +}; + +const pt_books_last_read = /** @type {(inputs: Books_Last_ReadInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Último: Cap.${i?.n}`) +}; + +const fr_books_last_read = /** @type {(inputs: Books_Last_ReadInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Dernier lu : Ch.${i?.n}`) +}; + +/** +* | output | +* | --- | +* | "Last read: Ch.{n}" | +* +* @param {Books_Last_ReadInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const books_last_read = /** @type {((inputs: Books_Last_ReadInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_books_last_read(inputs) + if (locale === "ru") return ru_books_last_read(inputs) + if (locale === "id") return id_books_last_read(inputs) + if (locale === "pt") return pt_books_last_read(inputs) + return fr_books_last_read(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/books_page_title.js b/ui/src/lib/paraglide/messages/books_page_title.js new file mode 100644 index 0000000..763d5f0 --- /dev/null +++ b/ui/src/lib/paraglide/messages/books_page_title.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Books_Page_TitleInputs */ + +const en_books_page_title = /** @type {(inputs: Books_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Library — libnovel`) +}; + +const ru_books_page_title = /** @type {(inputs: Books_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Библиотека — libnovel`) +}; + +const id_books_page_title = /** @type {(inputs: Books_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Perpustakaan — libnovel`) +}; + +const pt_books_page_title = /** @type {(inputs: Books_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Biblioteca — libnovel`) +}; + +const fr_books_page_title = /** @type {(inputs: Books_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Bibliothèque — libnovel`) +}; + +/** +* | output | +* | --- | +* | "Library — libnovel" | +* +* @param {Books_Page_TitleInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const books_page_title = /** @type {((inputs?: Books_Page_TitleInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_books_page_title(inputs) + if (locale === "ru") return ru_books_page_title(inputs) + if (locale === "id") return id_books_page_title(inputs) + if (locale === "pt") return pt_books_page_title(inputs) + return fr_books_page_title(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/books_reading_progress.js b/ui/src/lib/paraglide/messages/books_reading_progress.js new file mode 100644 index 0000000..381cb20 --- /dev/null +++ b/ui/src/lib/paraglide/messages/books_reading_progress.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{ current: NonNullable, total: NonNullable }} Books_Reading_ProgressInputs */ + +const en_books_reading_progress = /** @type {(inputs: Books_Reading_ProgressInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Ch.${i?.current} / ${i?.total}`) +}; + +const ru_books_reading_progress = /** @type {(inputs: Books_Reading_ProgressInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Гл.${i?.current} / ${i?.total}`) +}; + +const id_books_reading_progress = /** @type {(inputs: Books_Reading_ProgressInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Bab.${i?.current} / ${i?.total}`) +}; + +const pt_books_reading_progress = /** @type {(inputs: Books_Reading_ProgressInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Cap.${i?.current} / ${i?.total}`) +}; + +const fr_books_reading_progress = /** @type {(inputs: Books_Reading_ProgressInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Ch.${i?.current} / ${i?.total}`) +}; + +/** +* | output | +* | --- | +* | "Ch.{current} / {total}" | +* +* @param {Books_Reading_ProgressInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const books_reading_progress = /** @type {((inputs: Books_Reading_ProgressInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_books_reading_progress(inputs) + if (locale === "ru") return ru_books_reading_progress(inputs) + if (locale === "id") return id_books_reading_progress(inputs) + if (locale === "pt") return pt_books_reading_progress(inputs) + return fr_books_reading_progress(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/books_remove.js b/ui/src/lib/paraglide/messages/books_remove.js new file mode 100644 index 0000000..ff324c7 --- /dev/null +++ b/ui/src/lib/paraglide/messages/books_remove.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Books_RemoveInputs */ + +const en_books_remove = /** @type {(inputs: Books_RemoveInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Remove`) +}; + +const ru_books_remove = /** @type {(inputs: Books_RemoveInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Удалить`) +}; + +const id_books_remove = /** @type {(inputs: Books_RemoveInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Hapus`) +}; + +const pt_books_remove = /** @type {(inputs: Books_RemoveInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Remover`) +}; + +const fr_books_remove = /** @type {(inputs: Books_RemoveInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Supprimer`) +}; + +/** +* | output | +* | --- | +* | "Remove" | +* +* @param {Books_RemoveInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const books_remove = /** @type {((inputs?: Books_RemoveInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_books_remove(inputs) + if (locale === "ru") return ru_books_remove(inputs) + if (locale === "id") return id_books_remove(inputs) + if (locale === "pt") return pt_books_remove(inputs) + return fr_books_remove(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_all_loaded.js b/ui/src/lib/paraglide/messages/catalogue_all_loaded.js new file mode 100644 index 0000000..f0e23dd --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_all_loaded.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Catalogue_All_LoadedInputs */ + +const en_catalogue_all_loaded = /** @type {(inputs: Catalogue_All_LoadedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`All novels loaded`) +}; + +const ru_catalogue_all_loaded = /** @type {(inputs: Catalogue_All_LoadedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Все новеллы загружены`) +}; + +const id_catalogue_all_loaded = /** @type {(inputs: Catalogue_All_LoadedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Semua novel telah dimuat`) +}; + +const pt_catalogue_all_loaded = /** @type {(inputs: Catalogue_All_LoadedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Todos os romances carregados`) +}; + +const fr_catalogue_all_loaded = /** @type {(inputs: Catalogue_All_LoadedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Tous les romans chargés`) +}; + +/** +* | output | +* | --- | +* | "All novels loaded" | +* +* @param {Catalogue_All_LoadedInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_all_loaded = /** @type {((inputs?: Catalogue_All_LoadedInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_all_loaded(inputs) + if (locale === "ru") return ru_catalogue_all_loaded(inputs) + if (locale === "id") return id_catalogue_all_loaded(inputs) + if (locale === "pt") return pt_catalogue_all_loaded(inputs) + return fr_catalogue_all_loaded(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_apply.js b/ui/src/lib/paraglide/messages/catalogue_apply.js new file mode 100644 index 0000000..ffc2380 --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_apply.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Catalogue_ApplyInputs */ + +const en_catalogue_apply = /** @type {(inputs: Catalogue_ApplyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Apply`) +}; + +const ru_catalogue_apply = /** @type {(inputs: Catalogue_ApplyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Применить`) +}; + +const id_catalogue_apply = /** @type {(inputs: Catalogue_ApplyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Terapkan`) +}; + +const pt_catalogue_apply = /** @type {(inputs: Catalogue_ApplyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Aplicar`) +}; + +const fr_catalogue_apply = /** @type {(inputs: Catalogue_ApplyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Appliquer`) +}; + +/** +* | output | +* | --- | +* | "Apply" | +* +* @param {Catalogue_ApplyInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_apply = /** @type {((inputs?: Catalogue_ApplyInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_apply(inputs) + if (locale === "ru") return ru_catalogue_apply(inputs) + if (locale === "id") return id_catalogue_apply(inputs) + if (locale === "pt") return pt_catalogue_apply(inputs) + return fr_catalogue_apply(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_browse_source.js b/ui/src/lib/paraglide/messages/catalogue_browse_source.js new file mode 100644 index 0000000..acffa20 --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_browse_source.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Catalogue_Browse_SourceInputs */ + +const en_catalogue_browse_source = /** @type {(inputs: Catalogue_Browse_SourceInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Browse novels from novelfire.net`) +}; + +const ru_catalogue_browse_source = /** @type {(inputs: Catalogue_Browse_SourceInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Смотреть новеллы с novelfire.net`) +}; + +const id_catalogue_browse_source = /** @type {(inputs: Catalogue_Browse_SourceInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Jelajahi novel dari novelfire.net`) +}; + +const pt_catalogue_browse_source = /** @type {(inputs: Catalogue_Browse_SourceInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Explorar romances do novelfire.net`) +}; + +const fr_catalogue_browse_source = /** @type {(inputs: Catalogue_Browse_SourceInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Parcourir les romans de novelfire.net`) +}; + +/** +* | output | +* | --- | +* | "Browse novels from novelfire.net" | +* +* @param {Catalogue_Browse_SourceInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_browse_source = /** @type {((inputs?: Catalogue_Browse_SourceInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_browse_source(inputs) + if (locale === "ru") return ru_catalogue_browse_source(inputs) + if (locale === "id") return id_catalogue_browse_source(inputs) + if (locale === "pt") return pt_catalogue_browse_source(inputs) + return fr_catalogue_browse_source(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_clear_filters.js b/ui/src/lib/paraglide/messages/catalogue_clear_filters.js new file mode 100644 index 0000000..8959c3a --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_clear_filters.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Catalogue_Clear_FiltersInputs */ + +const en_catalogue_clear_filters = /** @type {(inputs: Catalogue_Clear_FiltersInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Clear`) +}; + +const ru_catalogue_clear_filters = /** @type {(inputs: Catalogue_Clear_FiltersInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Сбросить`) +}; + +const id_catalogue_clear_filters = /** @type {(inputs: Catalogue_Clear_FiltersInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Hapus`) +}; + +const pt_catalogue_clear_filters = /** @type {(inputs: Catalogue_Clear_FiltersInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Limpar`) +}; + +const fr_catalogue_clear_filters = /** @type {(inputs: Catalogue_Clear_FiltersInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Effacer`) +}; + +/** +* | output | +* | --- | +* | "Clear" | +* +* @param {Catalogue_Clear_FiltersInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_clear_filters = /** @type {((inputs?: Catalogue_Clear_FiltersInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_clear_filters(inputs) + if (locale === "ru") return ru_catalogue_clear_filters(inputs) + if (locale === "id") return id_catalogue_clear_filters(inputs) + if (locale === "pt") return pt_catalogue_clear_filters(inputs) + return fr_catalogue_clear_filters(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_filter_genre.js b/ui/src/lib/paraglide/messages/catalogue_filter_genre.js new file mode 100644 index 0000000..580d3d5 --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_filter_genre.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Catalogue_Filter_GenreInputs */ + +const en_catalogue_filter_genre = /** @type {(inputs: Catalogue_Filter_GenreInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Genre`) +}; + +const ru_catalogue_filter_genre = /** @type {(inputs: Catalogue_Filter_GenreInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Жанр`) +}; + +const id_catalogue_filter_genre = /** @type {(inputs: Catalogue_Filter_GenreInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Genre`) +}; + +const pt_catalogue_filter_genre = /** @type {(inputs: Catalogue_Filter_GenreInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Gênero`) +}; + +const fr_catalogue_filter_genre = /** @type {(inputs: Catalogue_Filter_GenreInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Genre`) +}; + +/** +* | output | +* | --- | +* | "Genre" | +* +* @param {Catalogue_Filter_GenreInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_filter_genre = /** @type {((inputs?: Catalogue_Filter_GenreInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_filter_genre(inputs) + if (locale === "ru") return ru_catalogue_filter_genre(inputs) + if (locale === "id") return id_catalogue_filter_genre(inputs) + if (locale === "pt") return pt_catalogue_filter_genre(inputs) + return fr_catalogue_filter_genre(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_filter_rank_note.js b/ui/src/lib/paraglide/messages/catalogue_filter_rank_note.js new file mode 100644 index 0000000..39df0c2 --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_filter_rank_note.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Catalogue_Filter_Rank_NoteInputs */ + +const en_catalogue_filter_rank_note = /** @type {(inputs: Catalogue_Filter_Rank_NoteInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Genre & status filters apply to Browse only`) +}; + +const ru_catalogue_filter_rank_note = /** @type {(inputs: Catalogue_Filter_Rank_NoteInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Фильтры по жанру и статусу применяются только к разделу «Обзор»`) +}; + +const id_catalogue_filter_rank_note = /** @type {(inputs: Catalogue_Filter_Rank_NoteInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Filter genre & status hanya berlaku untuk Jelajahi`) +}; + +const pt_catalogue_filter_rank_note = /** @type {(inputs: Catalogue_Filter_Rank_NoteInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Filtros de gênero e status se aplicam apenas a Explorar`) +}; + +const fr_catalogue_filter_rank_note = /** @type {(inputs: Catalogue_Filter_Rank_NoteInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Les filtres genre et statut s'appliquent uniquement à Parcourir`) +}; + +/** +* | output | +* | --- | +* | "Genre & status filters apply to Browse only" | +* +* @param {Catalogue_Filter_Rank_NoteInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_filter_rank_note = /** @type {((inputs?: Catalogue_Filter_Rank_NoteInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_filter_rank_note(inputs) + if (locale === "ru") return ru_catalogue_filter_rank_note(inputs) + if (locale === "id") return id_catalogue_filter_rank_note(inputs) + if (locale === "pt") return pt_catalogue_filter_rank_note(inputs) + return fr_catalogue_filter_rank_note(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_filter_sort.js b/ui/src/lib/paraglide/messages/catalogue_filter_sort.js new file mode 100644 index 0000000..d41c44e --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_filter_sort.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Catalogue_Filter_SortInputs */ + +const en_catalogue_filter_sort = /** @type {(inputs: Catalogue_Filter_SortInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Sort`) +}; + +const ru_catalogue_filter_sort = /** @type {(inputs: Catalogue_Filter_SortInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Сортировка`) +}; + +const id_catalogue_filter_sort = /** @type {(inputs: Catalogue_Filter_SortInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Urutkan`) +}; + +const pt_catalogue_filter_sort = /** @type {(inputs: Catalogue_Filter_SortInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Ordenar`) +}; + +const fr_catalogue_filter_sort = /** @type {(inputs: Catalogue_Filter_SortInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Trier`) +}; + +/** +* | output | +* | --- | +* | "Sort" | +* +* @param {Catalogue_Filter_SortInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_filter_sort = /** @type {((inputs?: Catalogue_Filter_SortInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_filter_sort(inputs) + if (locale === "ru") return ru_catalogue_filter_sort(inputs) + if (locale === "id") return id_catalogue_filter_sort(inputs) + if (locale === "pt") return pt_catalogue_filter_sort(inputs) + return fr_catalogue_filter_sort(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_filter_status.js b/ui/src/lib/paraglide/messages/catalogue_filter_status.js new file mode 100644 index 0000000..3fd26d4 --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_filter_status.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Catalogue_Filter_StatusInputs */ + +const en_catalogue_filter_status = /** @type {(inputs: Catalogue_Filter_StatusInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Status`) +}; + +const ru_catalogue_filter_status = /** @type {(inputs: Catalogue_Filter_StatusInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Статус`) +}; + +const id_catalogue_filter_status = /** @type {(inputs: Catalogue_Filter_StatusInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Status`) +}; + +const pt_catalogue_filter_status = /** @type {(inputs: Catalogue_Filter_StatusInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Status`) +}; + +const fr_catalogue_filter_status = /** @type {(inputs: Catalogue_Filter_StatusInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Statut`) +}; + +/** +* | output | +* | --- | +* | "Status" | +* +* @param {Catalogue_Filter_StatusInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_filter_status = /** @type {((inputs?: Catalogue_Filter_StatusInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_filter_status(inputs) + if (locale === "ru") return ru_catalogue_filter_status(inputs) + if (locale === "id") return id_catalogue_filter_status(inputs) + if (locale === "pt") return pt_catalogue_filter_status(inputs) + return fr_catalogue_filter_status(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_filters_label.js b/ui/src/lib/paraglide/messages/catalogue_filters_label.js new file mode 100644 index 0000000..b2b6a6c --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_filters_label.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Catalogue_Filters_LabelInputs */ + +const en_catalogue_filters_label = /** @type {(inputs: Catalogue_Filters_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Filters`) +}; + +const ru_catalogue_filters_label = /** @type {(inputs: Catalogue_Filters_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Фильтры`) +}; + +const id_catalogue_filters_label = /** @type {(inputs: Catalogue_Filters_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Filter`) +}; + +const pt_catalogue_filters_label = /** @type {(inputs: Catalogue_Filters_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Filtros`) +}; + +const fr_catalogue_filters_label = /** @type {(inputs: Catalogue_Filters_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Filtres`) +}; + +/** +* | output | +* | --- | +* | "Filters" | +* +* @param {Catalogue_Filters_LabelInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_filters_label = /** @type {((inputs?: Catalogue_Filters_LabelInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_filters_label(inputs) + if (locale === "ru") return ru_catalogue_filters_label(inputs) + if (locale === "id") return id_catalogue_filters_label(inputs) + if (locale === "pt") return pt_catalogue_filters_label(inputs) + return fr_catalogue_filters_label(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_genre_all.js b/ui/src/lib/paraglide/messages/catalogue_genre_all.js new file mode 100644 index 0000000..760110b --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_genre_all.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Catalogue_Genre_AllInputs */ + +const en_catalogue_genre_all = /** @type {(inputs: Catalogue_Genre_AllInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`All genres`) +}; + +const ru_catalogue_genre_all = /** @type {(inputs: Catalogue_Genre_AllInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Все жанры`) +}; + +const id_catalogue_genre_all = /** @type {(inputs: Catalogue_Genre_AllInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Semua genre`) +}; + +const pt_catalogue_genre_all = /** @type {(inputs: Catalogue_Genre_AllInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Todos os gêneros`) +}; + +const fr_catalogue_genre_all = /** @type {(inputs: Catalogue_Genre_AllInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Tous les genres`) +}; + +/** +* | output | +* | --- | +* | "All genres" | +* +* @param {Catalogue_Genre_AllInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_genre_all = /** @type {((inputs?: Catalogue_Genre_AllInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_genre_all(inputs) + if (locale === "ru") return ru_catalogue_genre_all(inputs) + if (locale === "id") return id_catalogue_genre_all(inputs) + if (locale === "pt") return pt_catalogue_genre_all(inputs) + return fr_catalogue_genre_all(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_heading.js b/ui/src/lib/paraglide/messages/catalogue_heading.js new file mode 100644 index 0000000..0f59c9d --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_heading.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Catalogue_HeadingInputs */ + +const en_catalogue_heading = /** @type {(inputs: Catalogue_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Catalogue`) +}; + +const ru_catalogue_heading = /** @type {(inputs: Catalogue_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Каталог`) +}; + +const id_catalogue_heading = /** @type {(inputs: Catalogue_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Katalog`) +}; + +const pt_catalogue_heading = /** @type {(inputs: Catalogue_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Catálogo`) +}; + +const fr_catalogue_heading = /** @type {(inputs: Catalogue_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Catalogue`) +}; + +/** +* | output | +* | --- | +* | "Catalogue" | +* +* @param {Catalogue_HeadingInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_heading = /** @type {((inputs?: Catalogue_HeadingInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_heading(inputs) + if (locale === "ru") return ru_catalogue_heading(inputs) + if (locale === "id") return id_catalogue_heading(inputs) + if (locale === "pt") return pt_catalogue_heading(inputs) + return fr_catalogue_heading(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_load_more.js b/ui/src/lib/paraglide/messages/catalogue_load_more.js new file mode 100644 index 0000000..69b50f0 --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_load_more.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Catalogue_Load_MoreInputs */ + +const en_catalogue_load_more = /** @type {(inputs: Catalogue_Load_MoreInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Load more`) +}; + +const ru_catalogue_load_more = /** @type {(inputs: Catalogue_Load_MoreInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Загрузить ещё`) +}; + +const id_catalogue_load_more = /** @type {(inputs: Catalogue_Load_MoreInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Muat lebih banyak`) +}; + +const pt_catalogue_load_more = /** @type {(inputs: Catalogue_Load_MoreInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Carregar mais`) +}; + +const fr_catalogue_load_more = /** @type {(inputs: Catalogue_Load_MoreInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Charger plus`) +}; + +/** +* | output | +* | --- | +* | "Load more" | +* +* @param {Catalogue_Load_MoreInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_load_more = /** @type {((inputs?: Catalogue_Load_MoreInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_load_more(inputs) + if (locale === "ru") return ru_catalogue_load_more(inputs) + if (locale === "id") return id_catalogue_load_more(inputs) + if (locale === "pt") return pt_catalogue_load_more(inputs) + return fr_catalogue_load_more(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_loading.js b/ui/src/lib/paraglide/messages/catalogue_loading.js new file mode 100644 index 0000000..ca28840 --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_loading.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Catalogue_LoadingInputs */ + +const en_catalogue_loading = /** @type {(inputs: Catalogue_LoadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Loading…`) +}; + +const ru_catalogue_loading = /** @type {(inputs: Catalogue_LoadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Загрузка…`) +}; + +const id_catalogue_loading = /** @type {(inputs: Catalogue_LoadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Memuat…`) +}; + +const pt_catalogue_loading = /** @type {(inputs: Catalogue_LoadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Carregando…`) +}; + +const fr_catalogue_loading = /** @type {(inputs: Catalogue_LoadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Chargement…`) +}; + +/** +* | output | +* | --- | +* | "Loading…" | +* +* @param {Catalogue_LoadingInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_loading = /** @type {((inputs?: Catalogue_LoadingInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_loading(inputs) + if (locale === "ru") return ru_catalogue_loading(inputs) + if (locale === "id") return id_catalogue_loading(inputs) + if (locale === "pt") return pt_catalogue_loading(inputs) + return fr_catalogue_loading(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_no_results.js b/ui/src/lib/paraglide/messages/catalogue_no_results.js new file mode 100644 index 0000000..27d52db --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_no_results.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Catalogue_No_ResultsInputs */ + +const en_catalogue_no_results = /** @type {(inputs: Catalogue_No_ResultsInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`No novels found.`) +}; + +const ru_catalogue_no_results = /** @type {(inputs: Catalogue_No_ResultsInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Новеллы не найдены.`) +}; + +const id_catalogue_no_results = /** @type {(inputs: Catalogue_No_ResultsInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Novel tidak ditemukan.`) +}; + +const pt_catalogue_no_results = /** @type {(inputs: Catalogue_No_ResultsInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Nenhum romance encontrado.`) +}; + +const fr_catalogue_no_results = /** @type {(inputs: Catalogue_No_ResultsInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Aucun roman trouvé.`) +}; + +/** +* | output | +* | --- | +* | "No novels found." | +* +* @param {Catalogue_No_ResultsInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_no_results = /** @type {((inputs?: Catalogue_No_ResultsInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_no_results(inputs) + if (locale === "ru") return ru_catalogue_no_results(inputs) + if (locale === "id") return id_catalogue_no_results(inputs) + if (locale === "pt") return pt_catalogue_no_results(inputs) + return fr_catalogue_no_results(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_no_results_filters.js b/ui/src/lib/paraglide/messages/catalogue_no_results_filters.js new file mode 100644 index 0000000..74d2736 --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_no_results_filters.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Catalogue_No_Results_FiltersInputs */ + +const en_catalogue_no_results_filters = /** @type {(inputs: Catalogue_No_Results_FiltersInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Try different filters or check back later.`) +}; + +const ru_catalogue_no_results_filters = /** @type {(inputs: Catalogue_No_Results_FiltersInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Попробуйте другие фильтры или проверьте позже.`) +}; + +const id_catalogue_no_results_filters = /** @type {(inputs: Catalogue_No_Results_FiltersInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Coba filter lain atau periksa kembali nanti.`) +}; + +const pt_catalogue_no_results_filters = /** @type {(inputs: Catalogue_No_Results_FiltersInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Tente filtros diferentes ou volte mais tarde.`) +}; + +const fr_catalogue_no_results_filters = /** @type {(inputs: Catalogue_No_Results_FiltersInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Essayez d'autres filtres ou revenez plus tard.`) +}; + +/** +* | output | +* | --- | +* | "Try different filters or check back later." | +* +* @param {Catalogue_No_Results_FiltersInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_no_results_filters = /** @type {((inputs?: Catalogue_No_Results_FiltersInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_no_results_filters(inputs) + if (locale === "ru") return ru_catalogue_no_results_filters(inputs) + if (locale === "id") return id_catalogue_no_results_filters(inputs) + if (locale === "pt") return pt_catalogue_no_results_filters(inputs) + return fr_catalogue_no_results_filters(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_no_results_search.js b/ui/src/lib/paraglide/messages/catalogue_no_results_search.js new file mode 100644 index 0000000..cd74738 --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_no_results_search.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Catalogue_No_Results_SearchInputs */ + +const en_catalogue_no_results_search = /** @type {(inputs: Catalogue_No_Results_SearchInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`No results found.`) +}; + +const ru_catalogue_no_results_search = /** @type {(inputs: Catalogue_No_Results_SearchInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Ничего не найдено.`) +}; + +const id_catalogue_no_results_search = /** @type {(inputs: Catalogue_No_Results_SearchInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Tidak ada hasil.`) +}; + +const pt_catalogue_no_results_search = /** @type {(inputs: Catalogue_No_Results_SearchInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Nenhum resultado encontrado.`) +}; + +const fr_catalogue_no_results_search = /** @type {(inputs: Catalogue_No_Results_SearchInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Aucun résultat trouvé.`) +}; + +/** +* | output | +* | --- | +* | "No results found." | +* +* @param {Catalogue_No_Results_SearchInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_no_results_search = /** @type {((inputs?: Catalogue_No_Results_SearchInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_no_results_search(inputs) + if (locale === "ru") return ru_catalogue_no_results_search(inputs) + if (locale === "id") return id_catalogue_no_results_search(inputs) + if (locale === "pt") return pt_catalogue_no_results_search(inputs) + return fr_catalogue_no_results_search(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_no_results_try.js b/ui/src/lib/paraglide/messages/catalogue_no_results_try.js new file mode 100644 index 0000000..3b74da8 --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_no_results_try.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Catalogue_No_Results_TryInputs */ + +const en_catalogue_no_results_try = /** @type {(inputs: Catalogue_No_Results_TryInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Try a different search term.`) +}; + +const ru_catalogue_no_results_try = /** @type {(inputs: Catalogue_No_Results_TryInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Попробуйте другой запрос.`) +}; + +const id_catalogue_no_results_try = /** @type {(inputs: Catalogue_No_Results_TryInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Coba kata kunci lain.`) +}; + +const pt_catalogue_no_results_try = /** @type {(inputs: Catalogue_No_Results_TryInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Tente um termo de pesquisa diferente.`) +}; + +const fr_catalogue_no_results_try = /** @type {(inputs: Catalogue_No_Results_TryInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Essayez un autre terme de recherche.`) +}; + +/** +* | output | +* | --- | +* | "Try a different search term." | +* +* @param {Catalogue_No_Results_TryInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_no_results_try = /** @type {((inputs?: Catalogue_No_Results_TryInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_no_results_try(inputs) + if (locale === "ru") return ru_catalogue_no_results_try(inputs) + if (locale === "id") return id_catalogue_no_results_try(inputs) + if (locale === "pt") return pt_catalogue_no_results_try(inputs) + return fr_catalogue_no_results_try(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_page_title.js b/ui/src/lib/paraglide/messages/catalogue_page_title.js new file mode 100644 index 0000000..8496e95 --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_page_title.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Catalogue_Page_TitleInputs */ + +const en_catalogue_page_title = /** @type {(inputs: Catalogue_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Catalogue — libnovel`) +}; + +const ru_catalogue_page_title = /** @type {(inputs: Catalogue_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Каталог — libnovel`) +}; + +const id_catalogue_page_title = /** @type {(inputs: Catalogue_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Katalog — libnovel`) +}; + +const pt_catalogue_page_title = /** @type {(inputs: Catalogue_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Catálogo — libnovel`) +}; + +const fr_catalogue_page_title = /** @type {(inputs: Catalogue_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Catalogue — libnovel`) +}; + +/** +* | output | +* | --- | +* | "Catalogue — libnovel" | +* +* @param {Catalogue_Page_TitleInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_page_title = /** @type {((inputs?: Catalogue_Page_TitleInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_page_title(inputs) + if (locale === "ru") return ru_catalogue_page_title(inputs) + if (locale === "id") return id_catalogue_page_title(inputs) + if (locale === "pt") return pt_catalogue_page_title(inputs) + return fr_catalogue_page_title(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_rank_no_data.js b/ui/src/lib/paraglide/messages/catalogue_rank_no_data.js new file mode 100644 index 0000000..dd94639 --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_rank_no_data.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Catalogue_Rank_No_DataInputs */ + +const en_catalogue_rank_no_data = /** @type {(inputs: Catalogue_Rank_No_DataInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`No ranking data.`) +}; + +const ru_catalogue_rank_no_data = /** @type {(inputs: Catalogue_Rank_No_DataInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Нет данных рейтинга.`) +}; + +const id_catalogue_rank_no_data = /** @type {(inputs: Catalogue_Rank_No_DataInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Tidak ada data peringkat.`) +}; + +const pt_catalogue_rank_no_data = /** @type {(inputs: Catalogue_Rank_No_DataInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Sem dados de classificação.`) +}; + +const fr_catalogue_rank_no_data = /** @type {(inputs: Catalogue_Rank_No_DataInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Aucune donnée de classement.`) +}; + +/** +* | output | +* | --- | +* | "No ranking data." | +* +* @param {Catalogue_Rank_No_DataInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_rank_no_data = /** @type {((inputs?: Catalogue_Rank_No_DataInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_rank_no_data(inputs) + if (locale === "ru") return ru_catalogue_rank_no_data(inputs) + if (locale === "id") return id_catalogue_rank_no_data(inputs) + if (locale === "pt") return pt_catalogue_rank_no_data(inputs) + return fr_catalogue_rank_no_data(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_rank_no_data_body.js b/ui/src/lib/paraglide/messages/catalogue_rank_no_data_body.js new file mode 100644 index 0000000..9418851 --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_rank_no_data_body.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Catalogue_Rank_No_Data_BodyInputs */ + +const en_catalogue_rank_no_data_body = /** @type {(inputs: Catalogue_Rank_No_Data_BodyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`No ranking data — run a full catalogue scrape to populate`) +}; + +const ru_catalogue_rank_no_data_body = /** @type {(inputs: Catalogue_Rank_No_Data_BodyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Нет данных рейтинга — запустите полный парсинг каталога для заполнения`) +}; + +const id_catalogue_rank_no_data_body = /** @type {(inputs: Catalogue_Rank_No_Data_BodyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Tidak ada data peringkat — jalankan scrape katalog penuh untuk mengisi`) +}; + +const pt_catalogue_rank_no_data_body = /** @type {(inputs: Catalogue_Rank_No_Data_BodyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Sem dados de classificação — execute um scrape completo do catálogo para preencher`) +}; + +const fr_catalogue_rank_no_data_body = /** @type {(inputs: Catalogue_Rank_No_Data_BodyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Aucune donnée de classement — lancez un scrape complet du catalogue pour remplir`) +}; + +/** +* | output | +* | --- | +* | "No ranking data — run a full catalogue scrape to populate" | +* +* @param {Catalogue_Rank_No_Data_BodyInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_rank_no_data_body = /** @type {((inputs?: Catalogue_Rank_No_Data_BodyInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_rank_no_data_body(inputs) + if (locale === "ru") return ru_catalogue_rank_no_data_body(inputs) + if (locale === "id") return id_catalogue_rank_no_data_body(inputs) + if (locale === "pt") return pt_catalogue_rank_no_data_body(inputs) + return fr_catalogue_rank_no_data_body(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_rank_ranked.js b/ui/src/lib/paraglide/messages/catalogue_rank_ranked.js new file mode 100644 index 0000000..6c8a8e8 --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_rank_ranked.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{ n: NonNullable }} Catalogue_Rank_RankedInputs */ + +const en_catalogue_rank_ranked = /** @type {(inputs: Catalogue_Rank_RankedInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} novels ranked from last catalogue scrape`) +}; + +const ru_catalogue_rank_ranked = /** @type {(inputs: Catalogue_Rank_RankedInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} новелл отсортированы по последнему парсингу каталога`) +}; + +const id_catalogue_rank_ranked = /** @type {(inputs: Catalogue_Rank_RankedInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} novel diurutkan dari scrape katalog terakhir`) +}; + +const pt_catalogue_rank_ranked = /** @type {(inputs: Catalogue_Rank_RankedInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} romances classificados do último scrape do catálogo`) +}; + +const fr_catalogue_rank_ranked = /** @type {(inputs: Catalogue_Rank_RankedInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} romans classés depuis le dernier scrape du catalogue`) +}; + +/** +* | output | +* | --- | +* | "{n} novels ranked from last catalogue scrape" | +* +* @param {Catalogue_Rank_RankedInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_rank_ranked = /** @type {((inputs: Catalogue_Rank_RankedInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_rank_ranked(inputs) + if (locale === "ru") return ru_catalogue_rank_ranked(inputs) + if (locale === "id") return id_catalogue_rank_ranked(inputs) + if (locale === "pt") return pt_catalogue_rank_ranked(inputs) + return fr_catalogue_rank_ranked(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_rank_run_scrape_admin.js b/ui/src/lib/paraglide/messages/catalogue_rank_run_scrape_admin.js new file mode 100644 index 0000000..3cbbbe8 --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_rank_run_scrape_admin.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Catalogue_Rank_Run_Scrape_AdminInputs */ + +const en_catalogue_rank_run_scrape_admin = /** @type {(inputs: Catalogue_Rank_Run_Scrape_AdminInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Click Refresh catalogue above to trigger a full catalogue scrape.`) +}; + +const ru_catalogue_rank_run_scrape_admin = /** @type {(inputs: Catalogue_Rank_Run_Scrape_AdminInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Нажмите «Обновить каталог» выше, чтобы запустить полный парсинг.`) +}; + +const id_catalogue_rank_run_scrape_admin = /** @type {(inputs: Catalogue_Rank_Run_Scrape_AdminInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Klik Segarkan katalog di atas untuk memicu scrape katalog penuh.`) +}; + +const pt_catalogue_rank_run_scrape_admin = /** @type {(inputs: Catalogue_Rank_Run_Scrape_AdminInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Clique em Atualizar catálogo acima para acionar um scrape completo.`) +}; + +const fr_catalogue_rank_run_scrape_admin = /** @type {(inputs: Catalogue_Rank_Run_Scrape_AdminInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Cliquez sur Actualiser le catalogue ci-dessus pour déclencher un scrape complet.`) +}; + +/** +* | output | +* | --- | +* | "Click Refresh catalogue above to trigger a full catalogue scrape." | +* +* @param {Catalogue_Rank_Run_Scrape_AdminInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_rank_run_scrape_admin = /** @type {((inputs?: Catalogue_Rank_Run_Scrape_AdminInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_rank_run_scrape_admin(inputs) + if (locale === "ru") return ru_catalogue_rank_run_scrape_admin(inputs) + if (locale === "id") return id_catalogue_rank_run_scrape_admin(inputs) + if (locale === "pt") return pt_catalogue_rank_run_scrape_admin(inputs) + return fr_catalogue_rank_run_scrape_admin(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_rank_run_scrape_user.js b/ui/src/lib/paraglide/messages/catalogue_rank_run_scrape_user.js new file mode 100644 index 0000000..27840da --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_rank_run_scrape_user.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Catalogue_Rank_Run_Scrape_UserInputs */ + +const en_catalogue_rank_run_scrape_user = /** @type {(inputs: Catalogue_Rank_Run_Scrape_UserInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Ask an admin to run a catalogue scrape.`) +}; + +const ru_catalogue_rank_run_scrape_user = /** @type {(inputs: Catalogue_Rank_Run_Scrape_UserInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Попросите администратора запустить парсинг каталога.`) +}; + +const id_catalogue_rank_run_scrape_user = /** @type {(inputs: Catalogue_Rank_Run_Scrape_UserInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Minta admin untuk menjalankan scrape katalog.`) +}; + +const pt_catalogue_rank_run_scrape_user = /** @type {(inputs: Catalogue_Rank_Run_Scrape_UserInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Peça a um administrador para executar um scrape do catálogo.`) +}; + +const fr_catalogue_rank_run_scrape_user = /** @type {(inputs: Catalogue_Rank_Run_Scrape_UserInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Demandez à un administrateur d'effectuer un scrape du catalogue.`) +}; + +/** +* | output | +* | --- | +* | "Ask an admin to run a catalogue scrape." | +* +* @param {Catalogue_Rank_Run_Scrape_UserInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_rank_run_scrape_user = /** @type {((inputs?: Catalogue_Rank_Run_Scrape_UserInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_rank_run_scrape_user(inputs) + if (locale === "ru") return ru_catalogue_rank_run_scrape_user(inputs) + if (locale === "id") return id_catalogue_rank_run_scrape_user(inputs) + if (locale === "pt") return pt_catalogue_rank_run_scrape_user(inputs) + return fr_catalogue_rank_run_scrape_user(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_refresh.js b/ui/src/lib/paraglide/messages/catalogue_refresh.js new file mode 100644 index 0000000..5a94c7d --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_refresh.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Catalogue_RefreshInputs */ + +const en_catalogue_refresh = /** @type {(inputs: Catalogue_RefreshInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Refresh`) +}; + +const ru_catalogue_refresh = /** @type {(inputs: Catalogue_RefreshInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Обновить`) +}; + +const id_catalogue_refresh = /** @type {(inputs: Catalogue_RefreshInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Segarkan`) +}; + +const pt_catalogue_refresh = /** @type {(inputs: Catalogue_RefreshInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Atualizar`) +}; + +const fr_catalogue_refresh = /** @type {(inputs: Catalogue_RefreshInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Actualiser`) +}; + +/** +* | output | +* | --- | +* | "Refresh" | +* +* @param {Catalogue_RefreshInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_refresh = /** @type {((inputs?: Catalogue_RefreshInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_refresh(inputs) + if (locale === "ru") return ru_catalogue_refresh(inputs) + if (locale === "id") return id_catalogue_refresh(inputs) + if (locale === "pt") return pt_catalogue_refresh(inputs) + return fr_catalogue_refresh(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_refresh_mobile.js b/ui/src/lib/paraglide/messages/catalogue_refresh_mobile.js new file mode 100644 index 0000000..cbb40b4 --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_refresh_mobile.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Catalogue_Refresh_MobileInputs */ + +const en_catalogue_refresh_mobile = /** @type {(inputs: Catalogue_Refresh_MobileInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Refresh catalogue`) +}; + +const ru_catalogue_refresh_mobile = /** @type {(inputs: Catalogue_Refresh_MobileInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Обновить каталог`) +}; + +const id_catalogue_refresh_mobile = /** @type {(inputs: Catalogue_Refresh_MobileInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Segarkan katalog`) +}; + +const pt_catalogue_refresh_mobile = /** @type {(inputs: Catalogue_Refresh_MobileInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Atualizar catálogo`) +}; + +const fr_catalogue_refresh_mobile = /** @type {(inputs: Catalogue_Refresh_MobileInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Actualiser le catalogue`) +}; + +/** +* | output | +* | --- | +* | "Refresh catalogue" | +* +* @param {Catalogue_Refresh_MobileInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_refresh_mobile = /** @type {((inputs?: Catalogue_Refresh_MobileInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_refresh_mobile(inputs) + if (locale === "ru") return ru_catalogue_refresh_mobile(inputs) + if (locale === "id") return id_catalogue_refresh_mobile(inputs) + if (locale === "pt") return pt_catalogue_refresh_mobile(inputs) + return fr_catalogue_refresh_mobile(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_refreshing.js b/ui/src/lib/paraglide/messages/catalogue_refreshing.js new file mode 100644 index 0000000..791e541 --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_refreshing.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Catalogue_RefreshingInputs */ + +const en_catalogue_refreshing = /** @type {(inputs: Catalogue_RefreshingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Queuing…`) +}; + +const ru_catalogue_refreshing = /** @type {(inputs: Catalogue_RefreshingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`В очереди…`) +}; + +const id_catalogue_refreshing = /** @type {(inputs: Catalogue_RefreshingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Mengantri…`) +}; + +const pt_catalogue_refreshing = /** @type {(inputs: Catalogue_RefreshingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Na fila…`) +}; + +const fr_catalogue_refreshing = /** @type {(inputs: Catalogue_RefreshingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`En file d'attente…`) +}; + +/** +* | output | +* | --- | +* | "Queuing…" | +* +* @param {Catalogue_RefreshingInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_refreshing = /** @type {((inputs?: Catalogue_RefreshingInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_refreshing(inputs) + if (locale === "ru") return ru_catalogue_refreshing(inputs) + if (locale === "id") return id_catalogue_refreshing(inputs) + if (locale === "pt") return pt_catalogue_refreshing(inputs) + return fr_catalogue_refreshing(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_reset.js b/ui/src/lib/paraglide/messages/catalogue_reset.js new file mode 100644 index 0000000..bcba783 --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_reset.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Catalogue_ResetInputs */ + +const en_catalogue_reset = /** @type {(inputs: Catalogue_ResetInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Reset`) +}; + +const ru_catalogue_reset = /** @type {(inputs: Catalogue_ResetInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Сброс`) +}; + +const id_catalogue_reset = /** @type {(inputs: Catalogue_ResetInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Atur ulang`) +}; + +const pt_catalogue_reset = /** @type {(inputs: Catalogue_ResetInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Redefinir`) +}; + +const fr_catalogue_reset = /** @type {(inputs: Catalogue_ResetInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Réinitialiser`) +}; + +/** +* | output | +* | --- | +* | "Reset" | +* +* @param {Catalogue_ResetInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_reset = /** @type {((inputs?: Catalogue_ResetInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_reset(inputs) + if (locale === "ru") return ru_catalogue_reset(inputs) + if (locale === "id") return id_catalogue_reset(inputs) + if (locale === "pt") return pt_catalogue_reset(inputs) + return fr_catalogue_reset(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_results_count.js b/ui/src/lib/paraglide/messages/catalogue_results_count.js new file mode 100644 index 0000000..ba07d1f --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_results_count.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{ n: NonNullable }} Catalogue_Results_CountInputs */ + +const en_catalogue_results_count = /** @type {(inputs: Catalogue_Results_CountInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} results`) +}; + +const ru_catalogue_results_count = /** @type {(inputs: Catalogue_Results_CountInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} результатов`) +}; + +const id_catalogue_results_count = /** @type {(inputs: Catalogue_Results_CountInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} hasil`) +}; + +const pt_catalogue_results_count = /** @type {(inputs: Catalogue_Results_CountInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} resultados`) +}; + +const fr_catalogue_results_count = /** @type {(inputs: Catalogue_Results_CountInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} résultats`) +}; + +/** +* | output | +* | --- | +* | "{n} results" | +* +* @param {Catalogue_Results_CountInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_results_count = /** @type {((inputs: Catalogue_Results_CountInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_results_count(inputs) + if (locale === "ru") return ru_catalogue_results_count(inputs) + if (locale === "id") return id_catalogue_results_count(inputs) + if (locale === "pt") return pt_catalogue_results_count(inputs) + return fr_catalogue_results_count(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_scrape_busy_badge.js b/ui/src/lib/paraglide/messages/catalogue_scrape_busy_badge.js new file mode 100644 index 0000000..01f07be --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_scrape_busy_badge.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Catalogue_Scrape_Busy_BadgeInputs */ + +const en_catalogue_scrape_busy_badge = /** @type {(inputs: Catalogue_Scrape_Busy_BadgeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Scraper busy`) +}; + +const ru_catalogue_scrape_busy_badge = /** @type {(inputs: Catalogue_Scrape_Busy_BadgeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Парсер занят`) +}; + +const id_catalogue_scrape_busy_badge = /** @type {(inputs: Catalogue_Scrape_Busy_BadgeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Scraper sibuk`) +}; + +const pt_catalogue_scrape_busy_badge = /** @type {(inputs: Catalogue_Scrape_Busy_BadgeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Scraper ocupado`) +}; + +const fr_catalogue_scrape_busy_badge = /** @type {(inputs: Catalogue_Scrape_Busy_BadgeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Scraper occupé`) +}; + +/** +* | output | +* | --- | +* | "Scraper busy" | +* +* @param {Catalogue_Scrape_Busy_BadgeInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_scrape_busy_badge = /** @type {((inputs?: Catalogue_Scrape_Busy_BadgeInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_scrape_busy_badge(inputs) + if (locale === "ru") return ru_catalogue_scrape_busy_badge(inputs) + if (locale === "id") return id_catalogue_scrape_busy_badge(inputs) + if (locale === "pt") return pt_catalogue_scrape_busy_badge(inputs) + return fr_catalogue_scrape_busy_badge(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_scrape_busy_flash.js b/ui/src/lib/paraglide/messages/catalogue_scrape_busy_flash.js new file mode 100644 index 0000000..4a87713 --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_scrape_busy_flash.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Catalogue_Scrape_Busy_FlashInputs */ + +const en_catalogue_scrape_busy_flash = /** @type {(inputs: Catalogue_Scrape_Busy_FlashInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`A scrape job is already running. Check back once it finishes.`) +}; + +const ru_catalogue_scrape_busy_flash = /** @type {(inputs: Catalogue_Scrape_Busy_FlashInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Парсинг уже запущен. Проверьте позже.`) +}; + +const id_catalogue_scrape_busy_flash = /** @type {(inputs: Catalogue_Scrape_Busy_FlashInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Pekerjaan scrape sedang berjalan. Periksa kembali setelah selesai.`) +}; + +const pt_catalogue_scrape_busy_flash = /** @type {(inputs: Catalogue_Scrape_Busy_FlashInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Um job de scrape já está em execução. Volte quando terminar.`) +}; + +const fr_catalogue_scrape_busy_flash = /** @type {(inputs: Catalogue_Scrape_Busy_FlashInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Un job de scrape est déjà en cours. Revenez une fois terminé.`) +}; + +/** +* | output | +* | --- | +* | "A scrape job is already running. Check back once it finishes." | +* +* @param {Catalogue_Scrape_Busy_FlashInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_scrape_busy_flash = /** @type {((inputs?: Catalogue_Scrape_Busy_FlashInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_scrape_busy_flash(inputs) + if (locale === "ru") return ru_catalogue_scrape_busy_flash(inputs) + if (locale === "id") return id_catalogue_scrape_busy_flash(inputs) + if (locale === "pt") return pt_catalogue_scrape_busy_flash(inputs) + return fr_catalogue_scrape_busy_flash(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_scrape_busy_list.js b/ui/src/lib/paraglide/messages/catalogue_scrape_busy_list.js new file mode 100644 index 0000000..26ddbd2 --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_scrape_busy_list.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Catalogue_Scrape_Busy_ListInputs */ + +const en_catalogue_scrape_busy_list = /** @type {(inputs: Catalogue_Scrape_Busy_ListInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Busy`) +}; + +const ru_catalogue_scrape_busy_list = /** @type {(inputs: Catalogue_Scrape_Busy_ListInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Занят`) +}; + +const id_catalogue_scrape_busy_list = /** @type {(inputs: Catalogue_Scrape_Busy_ListInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Sibuk`) +}; + +const pt_catalogue_scrape_busy_list = /** @type {(inputs: Catalogue_Scrape_Busy_ListInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Ocupado`) +}; + +const fr_catalogue_scrape_busy_list = /** @type {(inputs: Catalogue_Scrape_Busy_ListInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Occupé`) +}; + +/** +* | output | +* | --- | +* | "Busy" | +* +* @param {Catalogue_Scrape_Busy_ListInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_scrape_busy_list = /** @type {((inputs?: Catalogue_Scrape_Busy_ListInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_scrape_busy_list(inputs) + if (locale === "ru") return ru_catalogue_scrape_busy_list(inputs) + if (locale === "id") return id_catalogue_scrape_busy_list(inputs) + if (locale === "pt") return pt_catalogue_scrape_busy_list(inputs) + return fr_catalogue_scrape_busy_list(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_scrape_error_flash.js b/ui/src/lib/paraglide/messages/catalogue_scrape_error_flash.js new file mode 100644 index 0000000..80d3a53 --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_scrape_error_flash.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Catalogue_Scrape_Error_FlashInputs */ + +const en_catalogue_scrape_error_flash = /** @type {(inputs: Catalogue_Scrape_Error_FlashInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Failed to queue scrape. Check that the scraper service is reachable.`) +}; + +const ru_catalogue_scrape_error_flash = /** @type {(inputs: Catalogue_Scrape_Error_FlashInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Не удалось поставить парсинг в очередь. Проверьте доступность сервиса.`) +}; + +const id_catalogue_scrape_error_flash = /** @type {(inputs: Catalogue_Scrape_Error_FlashInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Gagal mengantrekan scrape. Pastikan layanan scraper dapat dijangkau.`) +}; + +const pt_catalogue_scrape_error_flash = /** @type {(inputs: Catalogue_Scrape_Error_FlashInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Falha ao enfileirar o scrape. Verifique se o serviço de scraper está acessível.`) +}; + +const fr_catalogue_scrape_error_flash = /** @type {(inputs: Catalogue_Scrape_Error_FlashInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Échec de la mise en file d'attente du scrape. Vérifiez que le service de scraper est accessible.`) +}; + +/** +* | output | +* | --- | +* | "Failed to queue scrape. Check that the scraper service is reachable." | +* +* @param {Catalogue_Scrape_Error_FlashInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_scrape_error_flash = /** @type {((inputs?: Catalogue_Scrape_Error_FlashInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_scrape_error_flash(inputs) + if (locale === "ru") return ru_catalogue_scrape_error_flash(inputs) + if (locale === "id") return id_catalogue_scrape_error_flash(inputs) + if (locale === "pt") return pt_catalogue_scrape_error_flash(inputs) + return fr_catalogue_scrape_error_flash(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_scrape_forbidden_badge.js b/ui/src/lib/paraglide/messages/catalogue_scrape_forbidden_badge.js new file mode 100644 index 0000000..1b11fe6 --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_scrape_forbidden_badge.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Catalogue_Scrape_Forbidden_BadgeInputs */ + +const en_catalogue_scrape_forbidden_badge = /** @type {(inputs: Catalogue_Scrape_Forbidden_BadgeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Forbidden`) +}; + +const ru_catalogue_scrape_forbidden_badge = /** @type {(inputs: Catalogue_Scrape_Forbidden_BadgeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Запрещено`) +}; + +const id_catalogue_scrape_forbidden_badge = /** @type {(inputs: Catalogue_Scrape_Forbidden_BadgeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Terlarang`) +}; + +const pt_catalogue_scrape_forbidden_badge = /** @type {(inputs: Catalogue_Scrape_Forbidden_BadgeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Proibido`) +}; + +const fr_catalogue_scrape_forbidden_badge = /** @type {(inputs: Catalogue_Scrape_Forbidden_BadgeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Interdit`) +}; + +/** +* | output | +* | --- | +* | "Forbidden" | +* +* @param {Catalogue_Scrape_Forbidden_BadgeInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_scrape_forbidden_badge = /** @type {((inputs?: Catalogue_Scrape_Forbidden_BadgeInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_scrape_forbidden_badge(inputs) + if (locale === "ru") return ru_catalogue_scrape_forbidden_badge(inputs) + if (locale === "id") return id_catalogue_scrape_forbidden_badge(inputs) + if (locale === "pt") return pt_catalogue_scrape_forbidden_badge(inputs) + return fr_catalogue_scrape_forbidden_badge(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_scrape_novel_button.js b/ui/src/lib/paraglide/messages/catalogue_scrape_novel_button.js new file mode 100644 index 0000000..74c08c2 --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_scrape_novel_button.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Catalogue_Scrape_Novel_ButtonInputs */ + +const en_catalogue_scrape_novel_button = /** @type {(inputs: Catalogue_Scrape_Novel_ButtonInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Scrape`) +}; + +const ru_catalogue_scrape_novel_button = /** @type {(inputs: Catalogue_Scrape_Novel_ButtonInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Парсить`) +}; + +const id_catalogue_scrape_novel_button = /** @type {(inputs: Catalogue_Scrape_Novel_ButtonInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Scrape`) +}; + +const pt_catalogue_scrape_novel_button = /** @type {(inputs: Catalogue_Scrape_Novel_ButtonInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Extrair`) +}; + +const fr_catalogue_scrape_novel_button = /** @type {(inputs: Catalogue_Scrape_Novel_ButtonInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Extraire`) +}; + +/** +* | output | +* | --- | +* | "Scrape" | +* +* @param {Catalogue_Scrape_Novel_ButtonInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_scrape_novel_button = /** @type {((inputs?: Catalogue_Scrape_Novel_ButtonInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_scrape_novel_button(inputs) + if (locale === "ru") return ru_catalogue_scrape_novel_button(inputs) + if (locale === "id") return id_catalogue_scrape_novel_button(inputs) + if (locale === "pt") return pt_catalogue_scrape_novel_button(inputs) + return fr_catalogue_scrape_novel_button(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_scrape_queued_badge.js b/ui/src/lib/paraglide/messages/catalogue_scrape_queued_badge.js new file mode 100644 index 0000000..742e099 --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_scrape_queued_badge.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Catalogue_Scrape_Queued_BadgeInputs */ + +const en_catalogue_scrape_queued_badge = /** @type {(inputs: Catalogue_Scrape_Queued_BadgeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Queued`) +}; + +const ru_catalogue_scrape_queued_badge = /** @type {(inputs: Catalogue_Scrape_Queued_BadgeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`В очереди`) +}; + +const id_catalogue_scrape_queued_badge = /** @type {(inputs: Catalogue_Scrape_Queued_BadgeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Diantrekan`) +}; + +const pt_catalogue_scrape_queued_badge = /** @type {(inputs: Catalogue_Scrape_Queued_BadgeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Na fila`) +}; + +const fr_catalogue_scrape_queued_badge = /** @type {(inputs: Catalogue_Scrape_Queued_BadgeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`En file`) +}; + +/** +* | output | +* | --- | +* | "Queued" | +* +* @param {Catalogue_Scrape_Queued_BadgeInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_scrape_queued_badge = /** @type {((inputs?: Catalogue_Scrape_Queued_BadgeInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_scrape_queued_badge(inputs) + if (locale === "ru") return ru_catalogue_scrape_queued_badge(inputs) + if (locale === "id") return id_catalogue_scrape_queued_badge(inputs) + if (locale === "pt") return pt_catalogue_scrape_queued_badge(inputs) + return fr_catalogue_scrape_queued_badge(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_scrape_queued_flash.js b/ui/src/lib/paraglide/messages/catalogue_scrape_queued_flash.js new file mode 100644 index 0000000..81de91f --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_scrape_queued_flash.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Catalogue_Scrape_Queued_FlashInputs */ + +const en_catalogue_scrape_queued_flash = /** @type {(inputs: Catalogue_Scrape_Queued_FlashInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Full catalogue scrape queued. Library and ranking will update as books are processed.`) +}; + +const ru_catalogue_scrape_queued_flash = /** @type {(inputs: Catalogue_Scrape_Queued_FlashInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Полный парсинг каталога поставлен в очередь. Библиотека и рейтинг обновятся по мере обработки.`) +}; + +const id_catalogue_scrape_queued_flash = /** @type {(inputs: Catalogue_Scrape_Queued_FlashInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Scrape katalog penuh diantrekan. Perpustakaan dan peringkat akan diperbarui saat buku diproses.`) +}; + +const pt_catalogue_scrape_queued_flash = /** @type {(inputs: Catalogue_Scrape_Queued_FlashInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Scrape completo do catálogo na fila. A biblioteca e a classificação serão atualizadas conforme os livros forem processados.`) +}; + +const fr_catalogue_scrape_queued_flash = /** @type {(inputs: Catalogue_Scrape_Queued_FlashInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Scrape complet du catalogue en file d'attente. La bibliothèque et le classement seront mis à jour au fur et à mesure du traitement des livres.`) +}; + +/** +* | output | +* | --- | +* | "Full catalogue scrape queued. Library and ranking will update as books are processed." | +* +* @param {Catalogue_Scrape_Queued_FlashInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_scrape_queued_flash = /** @type {((inputs?: Catalogue_Scrape_Queued_FlashInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_scrape_queued_flash(inputs) + if (locale === "ru") return ru_catalogue_scrape_queued_flash(inputs) + if (locale === "id") return id_catalogue_scrape_queued_flash(inputs) + if (locale === "pt") return pt_catalogue_scrape_queued_flash(inputs) + return fr_catalogue_scrape_queued_flash(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_scraping_novel.js b/ui/src/lib/paraglide/messages/catalogue_scraping_novel.js new file mode 100644 index 0000000..833f2e2 --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_scraping_novel.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Catalogue_Scraping_NovelInputs */ + +const en_catalogue_scraping_novel = /** @type {(inputs: Catalogue_Scraping_NovelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Scraping…`) +}; + +const ru_catalogue_scraping_novel = /** @type {(inputs: Catalogue_Scraping_NovelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Парсинг…`) +}; + +const id_catalogue_scraping_novel = /** @type {(inputs: Catalogue_Scraping_NovelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Scraping…`) +}; + +const pt_catalogue_scraping_novel = /** @type {(inputs: Catalogue_Scraping_NovelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Extraindo…`) +}; + +const fr_catalogue_scraping_novel = /** @type {(inputs: Catalogue_Scraping_NovelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Extraction…`) +}; + +/** +* | output | +* | --- | +* | "Scraping…" | +* +* @param {Catalogue_Scraping_NovelInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_scraping_novel = /** @type {((inputs?: Catalogue_Scraping_NovelInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_scraping_novel(inputs) + if (locale === "ru") return ru_catalogue_scraping_novel(inputs) + if (locale === "id") return id_catalogue_scraping_novel(inputs) + if (locale === "pt") return pt_catalogue_scraping_novel(inputs) + return fr_catalogue_scraping_novel(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_scroll_top.js b/ui/src/lib/paraglide/messages/catalogue_scroll_top.js new file mode 100644 index 0000000..4d3af71 --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_scroll_top.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Catalogue_Scroll_TopInputs */ + +const en_catalogue_scroll_top = /** @type {(inputs: Catalogue_Scroll_TopInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Back to top`) +}; + +const ru_catalogue_scroll_top = /** @type {(inputs: Catalogue_Scroll_TopInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Вверх`) +}; + +const id_catalogue_scroll_top = /** @type {(inputs: Catalogue_Scroll_TopInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Kembali ke atas`) +}; + +const pt_catalogue_scroll_top = /** @type {(inputs: Catalogue_Scroll_TopInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Voltar ao topo`) +}; + +const fr_catalogue_scroll_top = /** @type {(inputs: Catalogue_Scroll_TopInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Retour en haut`) +}; + +/** +* | output | +* | --- | +* | "Back to top" | +* +* @param {Catalogue_Scroll_TopInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_scroll_top = /** @type {((inputs?: Catalogue_Scroll_TopInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_scroll_top(inputs) + if (locale === "ru") return ru_catalogue_scroll_top(inputs) + if (locale === "id") return id_catalogue_scroll_top(inputs) + if (locale === "pt") return pt_catalogue_scroll_top(inputs) + return fr_catalogue_scroll_top(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_search_button.js b/ui/src/lib/paraglide/messages/catalogue_search_button.js new file mode 100644 index 0000000..c0228e7 --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_search_button.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Catalogue_Search_ButtonInputs */ + +const en_catalogue_search_button = /** @type {(inputs: Catalogue_Search_ButtonInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Search`) +}; + +const ru_catalogue_search_button = /** @type {(inputs: Catalogue_Search_ButtonInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Поиск`) +}; + +const id_catalogue_search_button = /** @type {(inputs: Catalogue_Search_ButtonInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Cari`) +}; + +const pt_catalogue_search_button = /** @type {(inputs: Catalogue_Search_ButtonInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Pesquisar`) +}; + +const fr_catalogue_search_button = /** @type {(inputs: Catalogue_Search_ButtonInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Rechercher`) +}; + +/** +* | output | +* | --- | +* | "Search" | +* +* @param {Catalogue_Search_ButtonInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_search_button = /** @type {((inputs?: Catalogue_Search_ButtonInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_search_button(inputs) + if (locale === "ru") return ru_catalogue_search_button(inputs) + if (locale === "id") return id_catalogue_search_button(inputs) + if (locale === "pt") return pt_catalogue_search_button(inputs) + return fr_catalogue_search_button(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_search_local_count.js b/ui/src/lib/paraglide/messages/catalogue_search_local_count.js new file mode 100644 index 0000000..f3c25a0 --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_search_local_count.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{ local: NonNullable, remote: NonNullable }} Catalogue_Search_Local_CountInputs */ + +const en_catalogue_search_local_count = /** @type {(inputs: Catalogue_Search_Local_CountInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`(${i?.local} local, ${i?.remote} from novelfire)`) +}; + +const ru_catalogue_search_local_count = /** @type {(inputs: Catalogue_Search_Local_CountInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`(${i?.local} локальных, ${i?.remote} с novelfire)`) +}; + +const id_catalogue_search_local_count = /** @type {(inputs: Catalogue_Search_Local_CountInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`(${i?.local} lokal, ${i?.remote} dari novelfire)`) +}; + +const pt_catalogue_search_local_count = /** @type {(inputs: Catalogue_Search_Local_CountInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`(${i?.local} local, ${i?.remote} do novelfire)`) +}; + +const fr_catalogue_search_local_count = /** @type {(inputs: Catalogue_Search_Local_CountInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`(${i?.local} local, ${i?.remote} depuis novelfire)`) +}; + +/** +* | output | +* | --- | +* | "({local} local, {remote} from novelfire)" | +* +* @param {Catalogue_Search_Local_CountInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_search_local_count = /** @type {((inputs: Catalogue_Search_Local_CountInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_search_local_count(inputs) + if (locale === "ru") return ru_catalogue_search_local_count(inputs) + if (locale === "id") return id_catalogue_search_local_count(inputs) + if (locale === "pt") return pt_catalogue_search_local_count(inputs) + return fr_catalogue_search_local_count(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_search_placeholder.js b/ui/src/lib/paraglide/messages/catalogue_search_placeholder.js new file mode 100644 index 0000000..8557b9d --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_search_placeholder.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Catalogue_Search_PlaceholderInputs */ + +const en_catalogue_search_placeholder = /** @type {(inputs: Catalogue_Search_PlaceholderInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Search novels…`) +}; + +const ru_catalogue_search_placeholder = /** @type {(inputs: Catalogue_Search_PlaceholderInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Поиск новелл…`) +}; + +const id_catalogue_search_placeholder = /** @type {(inputs: Catalogue_Search_PlaceholderInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Cari novel…`) +}; + +const pt_catalogue_search_placeholder = /** @type {(inputs: Catalogue_Search_PlaceholderInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Pesquisar romances…`) +}; + +const fr_catalogue_search_placeholder = /** @type {(inputs: Catalogue_Search_PlaceholderInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Rechercher des romans…`) +}; + +/** +* | output | +* | --- | +* | "Search novels…" | +* +* @param {Catalogue_Search_PlaceholderInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_search_placeholder = /** @type {((inputs?: Catalogue_Search_PlaceholderInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_search_placeholder(inputs) + if (locale === "ru") return ru_catalogue_search_placeholder(inputs) + if (locale === "id") return id_catalogue_search_placeholder(inputs) + if (locale === "pt") return pt_catalogue_search_placeholder(inputs) + return fr_catalogue_search_placeholder(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_search_results.js b/ui/src/lib/paraglide/messages/catalogue_search_results.js new file mode 100644 index 0000000..b4d0c45 --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_search_results.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{ n: NonNullable, s: NonNullable, q: NonNullable }} Catalogue_Search_ResultsInputs */ + +const en_catalogue_search_results = /** @type {(inputs: Catalogue_Search_ResultsInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} result${i?.s} for "${i?.q}"`) +}; + +const ru_catalogue_search_results = /** @type {(inputs: Catalogue_Search_ResultsInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} результат${i?.s} по запросу «${i?.q}»`) +}; + +const id_catalogue_search_results = /** @type {(inputs: Catalogue_Search_ResultsInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} hasil untuk "${i?.q}"`) +}; + +const pt_catalogue_search_results = /** @type {(inputs: Catalogue_Search_ResultsInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} resultado${i?.s} para "${i?.q}"`) +}; + +const fr_catalogue_search_results = /** @type {(inputs: Catalogue_Search_ResultsInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} résultat${i?.s} pour « ${i?.q} »`) +}; + +/** +* | output | +* | --- | +* | "{n} result{s} for \"{q}\"" | +* +* @param {Catalogue_Search_ResultsInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_search_results = /** @type {((inputs: Catalogue_Search_ResultsInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_search_results(inputs) + if (locale === "ru") return ru_catalogue_search_results(inputs) + if (locale === "id") return id_catalogue_search_results(inputs) + if (locale === "pt") return pt_catalogue_search_results(inputs) + return fr_catalogue_search_results(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_sort_new.js b/ui/src/lib/paraglide/messages/catalogue_sort_new.js new file mode 100644 index 0000000..53e1354 --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_sort_new.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Catalogue_Sort_NewInputs */ + +const en_catalogue_sort_new = /** @type {(inputs: Catalogue_Sort_NewInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`New`) +}; + +const ru_catalogue_sort_new = /** @type {(inputs: Catalogue_Sort_NewInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Новые`) +}; + +const id_catalogue_sort_new = /** @type {(inputs: Catalogue_Sort_NewInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Terbaru`) +}; + +const pt_catalogue_sort_new = /** @type {(inputs: Catalogue_Sort_NewInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Novo`) +}; + +const fr_catalogue_sort_new = /** @type {(inputs: Catalogue_Sort_NewInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Nouveau`) +}; + +/** +* | output | +* | --- | +* | "New" | +* +* @param {Catalogue_Sort_NewInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_sort_new = /** @type {((inputs?: Catalogue_Sort_NewInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_sort_new(inputs) + if (locale === "ru") return ru_catalogue_sort_new(inputs) + if (locale === "id") return id_catalogue_sort_new(inputs) + if (locale === "pt") return pt_catalogue_sort_new(inputs) + return fr_catalogue_sort_new(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_sort_popular.js b/ui/src/lib/paraglide/messages/catalogue_sort_popular.js new file mode 100644 index 0000000..e5931dc --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_sort_popular.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Catalogue_Sort_PopularInputs */ + +const en_catalogue_sort_popular = /** @type {(inputs: Catalogue_Sort_PopularInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Popular`) +}; + +const ru_catalogue_sort_popular = /** @type {(inputs: Catalogue_Sort_PopularInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Популярные`) +}; + +const id_catalogue_sort_popular = /** @type {(inputs: Catalogue_Sort_PopularInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Populer`) +}; + +const pt_catalogue_sort_popular = /** @type {(inputs: Catalogue_Sort_PopularInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Popular`) +}; + +const fr_catalogue_sort_popular = /** @type {(inputs: Catalogue_Sort_PopularInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Populaire`) +}; + +/** +* | output | +* | --- | +* | "Popular" | +* +* @param {Catalogue_Sort_PopularInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_sort_popular = /** @type {((inputs?: Catalogue_Sort_PopularInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_sort_popular(inputs) + if (locale === "ru") return ru_catalogue_sort_popular(inputs) + if (locale === "id") return id_catalogue_sort_popular(inputs) + if (locale === "pt") return pt_catalogue_sort_popular(inputs) + return fr_catalogue_sort_popular(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_sort_rank.js b/ui/src/lib/paraglide/messages/catalogue_sort_rank.js new file mode 100644 index 0000000..60ca0ff --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_sort_rank.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Catalogue_Sort_RankInputs */ + +const en_catalogue_sort_rank = /** @type {(inputs: Catalogue_Sort_RankInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Rank`) +}; + +const ru_catalogue_sort_rank = /** @type {(inputs: Catalogue_Sort_RankInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`По рангу`) +}; + +const id_catalogue_sort_rank = /** @type {(inputs: Catalogue_Sort_RankInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Peringkat`) +}; + +const pt_catalogue_sort_rank = /** @type {(inputs: Catalogue_Sort_RankInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Ranking`) +}; + +const fr_catalogue_sort_rank = /** @type {(inputs: Catalogue_Sort_RankInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Rang`) +}; + +/** +* | output | +* | --- | +* | "Rank" | +* +* @param {Catalogue_Sort_RankInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_sort_rank = /** @type {((inputs?: Catalogue_Sort_RankInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_sort_rank(inputs) + if (locale === "ru") return ru_catalogue_sort_rank(inputs) + if (locale === "id") return id_catalogue_sort_rank(inputs) + if (locale === "pt") return pt_catalogue_sort_rank(inputs) + return fr_catalogue_sort_rank(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_sort_top_rated.js b/ui/src/lib/paraglide/messages/catalogue_sort_top_rated.js new file mode 100644 index 0000000..f18a9a4 --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_sort_top_rated.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Catalogue_Sort_Top_RatedInputs */ + +const en_catalogue_sort_top_rated = /** @type {(inputs: Catalogue_Sort_Top_RatedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Top Rated`) +}; + +const ru_catalogue_sort_top_rated = /** @type {(inputs: Catalogue_Sort_Top_RatedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Топ по рейтингу`) +}; + +const id_catalogue_sort_top_rated = /** @type {(inputs: Catalogue_Sort_Top_RatedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Nilai Tertinggi`) +}; + +const pt_catalogue_sort_top_rated = /** @type {(inputs: Catalogue_Sort_Top_RatedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Mais Bem Avaliados`) +}; + +const fr_catalogue_sort_top_rated = /** @type {(inputs: Catalogue_Sort_Top_RatedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Mieux notés`) +}; + +/** +* | output | +* | --- | +* | "Top Rated" | +* +* @param {Catalogue_Sort_Top_RatedInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_sort_top_rated = /** @type {((inputs?: Catalogue_Sort_Top_RatedInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_sort_top_rated(inputs) + if (locale === "ru") return ru_catalogue_sort_top_rated(inputs) + if (locale === "id") return id_catalogue_sort_top_rated(inputs) + if (locale === "pt") return pt_catalogue_sort_top_rated(inputs) + return fr_catalogue_sort_top_rated(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_sort_updated.js b/ui/src/lib/paraglide/messages/catalogue_sort_updated.js new file mode 100644 index 0000000..74e05d6 --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_sort_updated.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Catalogue_Sort_UpdatedInputs */ + +const en_catalogue_sort_updated = /** @type {(inputs: Catalogue_Sort_UpdatedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Updated`) +}; + +const ru_catalogue_sort_updated = /** @type {(inputs: Catalogue_Sort_UpdatedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`По дате обновления`) +}; + +const id_catalogue_sort_updated = /** @type {(inputs: Catalogue_Sort_UpdatedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Diperbarui`) +}; + +const pt_catalogue_sort_updated = /** @type {(inputs: Catalogue_Sort_UpdatedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Atualizado`) +}; + +const fr_catalogue_sort_updated = /** @type {(inputs: Catalogue_Sort_UpdatedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Mis à jour`) +}; + +/** +* | output | +* | --- | +* | "Updated" | +* +* @param {Catalogue_Sort_UpdatedInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_sort_updated = /** @type {((inputs?: Catalogue_Sort_UpdatedInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_sort_updated(inputs) + if (locale === "ru") return ru_catalogue_sort_updated(inputs) + if (locale === "id") return id_catalogue_sort_updated(inputs) + if (locale === "pt") return pt_catalogue_sort_updated(inputs) + return fr_catalogue_sort_updated(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_status_all.js b/ui/src/lib/paraglide/messages/catalogue_status_all.js new file mode 100644 index 0000000..ef73e12 --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_status_all.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Catalogue_Status_AllInputs */ + +const en_catalogue_status_all = /** @type {(inputs: Catalogue_Status_AllInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`All`) +}; + +const ru_catalogue_status_all = /** @type {(inputs: Catalogue_Status_AllInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Все`) +}; + +const id_catalogue_status_all = /** @type {(inputs: Catalogue_Status_AllInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Semua`) +}; + +const pt_catalogue_status_all = /** @type {(inputs: Catalogue_Status_AllInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Todos`) +}; + +const fr_catalogue_status_all = /** @type {(inputs: Catalogue_Status_AllInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Tous`) +}; + +/** +* | output | +* | --- | +* | "All" | +* +* @param {Catalogue_Status_AllInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_status_all = /** @type {((inputs?: Catalogue_Status_AllInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_status_all(inputs) + if (locale === "ru") return ru_catalogue_status_all(inputs) + if (locale === "id") return id_catalogue_status_all(inputs) + if (locale === "pt") return pt_catalogue_status_all(inputs) + return fr_catalogue_status_all(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_status_completed.js b/ui/src/lib/paraglide/messages/catalogue_status_completed.js new file mode 100644 index 0000000..363cbc2 --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_status_completed.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Catalogue_Status_CompletedInputs */ + +const en_catalogue_status_completed = /** @type {(inputs: Catalogue_Status_CompletedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Completed`) +}; + +const ru_catalogue_status_completed = /** @type {(inputs: Catalogue_Status_CompletedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Завершены`) +}; + +const id_catalogue_status_completed = /** @type {(inputs: Catalogue_Status_CompletedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Selesai`) +}; + +const pt_catalogue_status_completed = /** @type {(inputs: Catalogue_Status_CompletedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Concluído`) +}; + +const fr_catalogue_status_completed = /** @type {(inputs: Catalogue_Status_CompletedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Terminé`) +}; + +/** +* | output | +* | --- | +* | "Completed" | +* +* @param {Catalogue_Status_CompletedInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_status_completed = /** @type {((inputs?: Catalogue_Status_CompletedInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_status_completed(inputs) + if (locale === "ru") return ru_catalogue_status_completed(inputs) + if (locale === "id") return id_catalogue_status_completed(inputs) + if (locale === "pt") return pt_catalogue_status_completed(inputs) + return fr_catalogue_status_completed(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_status_ongoing.js b/ui/src/lib/paraglide/messages/catalogue_status_ongoing.js new file mode 100644 index 0000000..4a7cb95 --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_status_ongoing.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Catalogue_Status_OngoingInputs */ + +const en_catalogue_status_ongoing = /** @type {(inputs: Catalogue_Status_OngoingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Ongoing`) +}; + +const ru_catalogue_status_ongoing = /** @type {(inputs: Catalogue_Status_OngoingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Продолжаются`) +}; + +const id_catalogue_status_ongoing = /** @type {(inputs: Catalogue_Status_OngoingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Berlangsung`) +}; + +const pt_catalogue_status_ongoing = /** @type {(inputs: Catalogue_Status_OngoingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Em andamento`) +}; + +const fr_catalogue_status_ongoing = /** @type {(inputs: Catalogue_Status_OngoingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`En cours`) +}; + +/** +* | output | +* | --- | +* | "Ongoing" | +* +* @param {Catalogue_Status_OngoingInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_status_ongoing = /** @type {((inputs?: Catalogue_Status_OngoingInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_status_ongoing(inputs) + if (locale === "ru") return ru_catalogue_status_ongoing(inputs) + if (locale === "id") return id_catalogue_status_ongoing(inputs) + if (locale === "pt") return pt_catalogue_status_ongoing(inputs) + return fr_catalogue_status_ongoing(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_view_grid.js b/ui/src/lib/paraglide/messages/catalogue_view_grid.js new file mode 100644 index 0000000..a0d74b4 --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_view_grid.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Catalogue_View_GridInputs */ + +const en_catalogue_view_grid = /** @type {(inputs: Catalogue_View_GridInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Grid view`) +}; + +const ru_catalogue_view_grid = /** @type {(inputs: Catalogue_View_GridInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Сетка`) +}; + +const id_catalogue_view_grid = /** @type {(inputs: Catalogue_View_GridInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Tampilan kisi`) +}; + +const pt_catalogue_view_grid = /** @type {(inputs: Catalogue_View_GridInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Visualização em grade`) +}; + +const fr_catalogue_view_grid = /** @type {(inputs: Catalogue_View_GridInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Vue grille`) +}; + +/** +* | output | +* | --- | +* | "Grid view" | +* +* @param {Catalogue_View_GridInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_view_grid = /** @type {((inputs?: Catalogue_View_GridInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_view_grid(inputs) + if (locale === "ru") return ru_catalogue_view_grid(inputs) + if (locale === "id") return id_catalogue_view_grid(inputs) + if (locale === "pt") return pt_catalogue_view_grid(inputs) + return fr_catalogue_view_grid(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/catalogue_view_list.js b/ui/src/lib/paraglide/messages/catalogue_view_list.js new file mode 100644 index 0000000..a7323d1 --- /dev/null +++ b/ui/src/lib/paraglide/messages/catalogue_view_list.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Catalogue_View_ListInputs */ + +const en_catalogue_view_list = /** @type {(inputs: Catalogue_View_ListInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`List view`) +}; + +const ru_catalogue_view_list = /** @type {(inputs: Catalogue_View_ListInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Список`) +}; + +const id_catalogue_view_list = /** @type {(inputs: Catalogue_View_ListInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Tampilan daftar`) +}; + +const pt_catalogue_view_list = /** @type {(inputs: Catalogue_View_ListInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Visualização em lista`) +}; + +const fr_catalogue_view_list = /** @type {(inputs: Catalogue_View_ListInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Vue liste`) +}; + +/** +* | output | +* | --- | +* | "List view" | +* +* @param {Catalogue_View_ListInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const catalogue_view_list = /** @type {((inputs?: Catalogue_View_ListInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_catalogue_view_list(inputs) + if (locale === "ru") return ru_catalogue_view_list(inputs) + if (locale === "id") return id_catalogue_view_list(inputs) + if (locale === "pt") return pt_catalogue_view_list(inputs) + return fr_catalogue_view_list(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/chapters_back_to_book.js b/ui/src/lib/paraglide/messages/chapters_back_to_book.js new file mode 100644 index 0000000..7fd6726 --- /dev/null +++ b/ui/src/lib/paraglide/messages/chapters_back_to_book.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Chapters_Back_To_BookInputs */ + +const en_chapters_back_to_book = /** @type {(inputs: Chapters_Back_To_BookInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Back to book`) +}; + +const ru_chapters_back_to_book = /** @type {(inputs: Chapters_Back_To_BookInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`К книге`) +}; + +const id_chapters_back_to_book = /** @type {(inputs: Chapters_Back_To_BookInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Kembali ke buku`) +}; + +const pt_chapters_back_to_book = /** @type {(inputs: Chapters_Back_To_BookInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Voltar ao livro`) +}; + +const fr_chapters_back_to_book = /** @type {(inputs: Chapters_Back_To_BookInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Retour au livre`) +}; + +/** +* | output | +* | --- | +* | "Back to book" | +* +* @param {Chapters_Back_To_BookInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const chapters_back_to_book = /** @type {((inputs?: Chapters_Back_To_BookInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_chapters_back_to_book(inputs) + if (locale === "ru") return ru_chapters_back_to_book(inputs) + if (locale === "id") return id_chapters_back_to_book(inputs) + if (locale === "pt") return pt_chapters_back_to_book(inputs) + return fr_chapters_back_to_book(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/chapters_empty.js b/ui/src/lib/paraglide/messages/chapters_empty.js new file mode 100644 index 0000000..dd89906 --- /dev/null +++ b/ui/src/lib/paraglide/messages/chapters_empty.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Chapters_EmptyInputs */ + +const en_chapters_empty = /** @type {(inputs: Chapters_EmptyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`No chapters scraped yet.`) +}; + +const ru_chapters_empty = /** @type {(inputs: Chapters_EmptyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Главы ещё не загружены.`) +}; + +const id_chapters_empty = /** @type {(inputs: Chapters_EmptyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Belum ada bab yang diambil.`) +}; + +const pt_chapters_empty = /** @type {(inputs: Chapters_EmptyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Nenhum capítulo extraído ainda.`) +}; + +const fr_chapters_empty = /** @type {(inputs: Chapters_EmptyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Aucun chapitre extrait pour l'instant.`) +}; + +/** +* | output | +* | --- | +* | "No chapters scraped yet." | +* +* @param {Chapters_EmptyInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const chapters_empty = /** @type {((inputs?: Chapters_EmptyInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_chapters_empty(inputs) + if (locale === "ru") return ru_chapters_empty(inputs) + if (locale === "id") return id_chapters_empty(inputs) + if (locale === "pt") return pt_chapters_empty(inputs) + return fr_chapters_empty(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/chapters_heading.js b/ui/src/lib/paraglide/messages/chapters_heading.js new file mode 100644 index 0000000..01435ba --- /dev/null +++ b/ui/src/lib/paraglide/messages/chapters_heading.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Chapters_HeadingInputs */ + +const en_chapters_heading = /** @type {(inputs: Chapters_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Chapters`) +}; + +const ru_chapters_heading = /** @type {(inputs: Chapters_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Главы`) +}; + +const id_chapters_heading = /** @type {(inputs: Chapters_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Bab`) +}; + +const pt_chapters_heading = /** @type {(inputs: Chapters_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Capítulos`) +}; + +const fr_chapters_heading = /** @type {(inputs: Chapters_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Chapitres`) +}; + +/** +* | output | +* | --- | +* | "Chapters" | +* +* @param {Chapters_HeadingInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const chapters_heading = /** @type {((inputs?: Chapters_HeadingInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_chapters_heading(inputs) + if (locale === "ru") return ru_chapters_heading(inputs) + if (locale === "id") return id_chapters_heading(inputs) + if (locale === "pt") return pt_chapters_heading(inputs) + return fr_chapters_heading(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/chapters_jump_to.js b/ui/src/lib/paraglide/messages/chapters_jump_to.js new file mode 100644 index 0000000..f35dab0 --- /dev/null +++ b/ui/src/lib/paraglide/messages/chapters_jump_to.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{ n: NonNullable }} Chapters_Jump_ToInputs */ + +const en_chapters_jump_to = /** @type {(inputs: Chapters_Jump_ToInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Jump to Ch.${i?.n}`) +}; + +const ru_chapters_jump_to = /** @type {(inputs: Chapters_Jump_ToInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Перейти к гл.${i?.n}`) +}; + +const id_chapters_jump_to = /** @type {(inputs: Chapters_Jump_ToInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Loncat ke Bab.${i?.n}`) +}; + +const pt_chapters_jump_to = /** @type {(inputs: Chapters_Jump_ToInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Ir para Cap.${i?.n}`) +}; + +const fr_chapters_jump_to = /** @type {(inputs: Chapters_Jump_ToInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Aller au Ch.${i?.n}`) +}; + +/** +* | output | +* | --- | +* | "Jump to Ch.{n}" | +* +* @param {Chapters_Jump_ToInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const chapters_jump_to = /** @type {((inputs: Chapters_Jump_ToInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_chapters_jump_to(inputs) + if (locale === "ru") return ru_chapters_jump_to(inputs) + if (locale === "id") return id_chapters_jump_to(inputs) + if (locale === "pt") return pt_chapters_jump_to(inputs) + return fr_chapters_jump_to(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/chapters_no_match.js b/ui/src/lib/paraglide/messages/chapters_no_match.js new file mode 100644 index 0000000..184d254 --- /dev/null +++ b/ui/src/lib/paraglide/messages/chapters_no_match.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{ q: NonNullable }} Chapters_No_MatchInputs */ + +const en_chapters_no_match = /** @type {(inputs: Chapters_No_MatchInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`No chapters match "${i?.q}"`) +}; + +const ru_chapters_no_match = /** @type {(inputs: Chapters_No_MatchInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Главы по запросу «${i?.q}» не найдены`) +}; + +const id_chapters_no_match = /** @type {(inputs: Chapters_No_MatchInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Tidak ada bab yang cocok dengan "${i?.q}"`) +}; + +const pt_chapters_no_match = /** @type {(inputs: Chapters_No_MatchInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Nenhum capítulo encontrado para "${i?.q}"`) +}; + +const fr_chapters_no_match = /** @type {(inputs: Chapters_No_MatchInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Aucun chapitre ne correspond à « ${i?.q} »`) +}; + +/** +* | output | +* | --- | +* | "No chapters match \"{q}\"" | +* +* @param {Chapters_No_MatchInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const chapters_no_match = /** @type {((inputs: Chapters_No_MatchInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_chapters_no_match(inputs) + if (locale === "ru") return ru_chapters_no_match(inputs) + if (locale === "id") return id_chapters_no_match(inputs) + if (locale === "pt") return pt_chapters_no_match(inputs) + return fr_chapters_no_match(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/chapters_none_available.js b/ui/src/lib/paraglide/messages/chapters_none_available.js new file mode 100644 index 0000000..c910b8c --- /dev/null +++ b/ui/src/lib/paraglide/messages/chapters_none_available.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Chapters_None_AvailableInputs */ + +const en_chapters_none_available = /** @type {(inputs: Chapters_None_AvailableInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`No chapters available yet.`) +}; + +const ru_chapters_none_available = /** @type {(inputs: Chapters_None_AvailableInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Глав пока нет.`) +}; + +const id_chapters_none_available = /** @type {(inputs: Chapters_None_AvailableInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Belum ada bab tersedia.`) +}; + +const pt_chapters_none_available = /** @type {(inputs: Chapters_None_AvailableInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Nenhum capítulo disponível ainda.`) +}; + +const fr_chapters_none_available = /** @type {(inputs: Chapters_None_AvailableInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Aucun chapitre disponible pour l'instant.`) +}; + +/** +* | output | +* | --- | +* | "No chapters available yet." | +* +* @param {Chapters_None_AvailableInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const chapters_none_available = /** @type {((inputs?: Chapters_None_AvailableInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_chapters_none_available(inputs) + if (locale === "ru") return ru_chapters_none_available(inputs) + if (locale === "id") return id_chapters_none_available(inputs) + if (locale === "pt") return pt_chapters_none_available(inputs) + return fr_chapters_none_available(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/chapters_page_title.js b/ui/src/lib/paraglide/messages/chapters_page_title.js new file mode 100644 index 0000000..7a9def5 --- /dev/null +++ b/ui/src/lib/paraglide/messages/chapters_page_title.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{ title: NonNullable }} Chapters_Page_TitleInputs */ + +const en_chapters_page_title = /** @type {(inputs: Chapters_Page_TitleInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Chapters — ${i?.title}`) +}; + +const ru_chapters_page_title = /** @type {(inputs: Chapters_Page_TitleInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Главы — ${i?.title}`) +}; + +const id_chapters_page_title = /** @type {(inputs: Chapters_Page_TitleInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Bab — ${i?.title}`) +}; + +const pt_chapters_page_title = /** @type {(inputs: Chapters_Page_TitleInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Capítulos — ${i?.title}`) +}; + +const fr_chapters_page_title = /** @type {(inputs: Chapters_Page_TitleInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Chapitres — ${i?.title}`) +}; + +/** +* | output | +* | --- | +* | "Chapters — {title}" | +* +* @param {Chapters_Page_TitleInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const chapters_page_title = /** @type {((inputs: Chapters_Page_TitleInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_chapters_page_title(inputs) + if (locale === "ru") return ru_chapters_page_title(inputs) + if (locale === "id") return id_chapters_page_title(inputs) + if (locale === "pt") return pt_chapters_page_title(inputs) + return fr_chapters_page_title(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/chapters_reading_indicator.js b/ui/src/lib/paraglide/messages/chapters_reading_indicator.js new file mode 100644 index 0000000..7f63d28 --- /dev/null +++ b/ui/src/lib/paraglide/messages/chapters_reading_indicator.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Chapters_Reading_IndicatorInputs */ + +const en_chapters_reading_indicator = /** @type {(inputs: Chapters_Reading_IndicatorInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`reading`) +}; + +const ru_chapters_reading_indicator = /** @type {(inputs: Chapters_Reading_IndicatorInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`читается`) +}; + +const id_chapters_reading_indicator = /** @type {(inputs: Chapters_Reading_IndicatorInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`sedang dibaca`) +}; + +const pt_chapters_reading_indicator = /** @type {(inputs: Chapters_Reading_IndicatorInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`lendo`) +}; + +const fr_chapters_reading_indicator = /** @type {(inputs: Chapters_Reading_IndicatorInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`en cours`) +}; + +/** +* | output | +* | --- | +* | "reading" | +* +* @param {Chapters_Reading_IndicatorInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const chapters_reading_indicator = /** @type {((inputs?: Chapters_Reading_IndicatorInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_chapters_reading_indicator(inputs) + if (locale === "ru") return ru_chapters_reading_indicator(inputs) + if (locale === "id") return id_chapters_reading_indicator(inputs) + if (locale === "pt") return pt_chapters_reading_indicator(inputs) + return fr_chapters_reading_indicator(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/chapters_reading_now.js b/ui/src/lib/paraglide/messages/chapters_reading_now.js new file mode 100644 index 0000000..9d0aa71 --- /dev/null +++ b/ui/src/lib/paraglide/messages/chapters_reading_now.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Chapters_Reading_NowInputs */ + +const en_chapters_reading_now = /** @type {(inputs: Chapters_Reading_NowInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Reading`) +}; + +const ru_chapters_reading_now = /** @type {(inputs: Chapters_Reading_NowInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Читается`) +}; + +const id_chapters_reading_now = /** @type {(inputs: Chapters_Reading_NowInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Sedang dibaca`) +}; + +const pt_chapters_reading_now = /** @type {(inputs: Chapters_Reading_NowInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Lendo`) +}; + +const fr_chapters_reading_now = /** @type {(inputs: Chapters_Reading_NowInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`En cours de lecture`) +}; + +/** +* | output | +* | --- | +* | "Reading" | +* +* @param {Chapters_Reading_NowInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const chapters_reading_now = /** @type {((inputs?: Chapters_Reading_NowInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_chapters_reading_now(inputs) + if (locale === "ru") return ru_chapters_reading_now(inputs) + if (locale === "id") return id_chapters_reading_now(inputs) + if (locale === "pt") return pt_chapters_reading_now(inputs) + return fr_chapters_reading_now(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/chapters_result_count.js b/ui/src/lib/paraglide/messages/chapters_result_count.js new file mode 100644 index 0000000..96b919d --- /dev/null +++ b/ui/src/lib/paraglide/messages/chapters_result_count.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{ n: NonNullable }} Chapters_Result_CountInputs */ + +const en_chapters_result_count = /** @type {(inputs: Chapters_Result_CountInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} results`) +}; + +const ru_chapters_result_count = /** @type {(inputs: Chapters_Result_CountInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} результатов`) +}; + +const id_chapters_result_count = /** @type {(inputs: Chapters_Result_CountInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} hasil`) +}; + +const pt_chapters_result_count = /** @type {(inputs: Chapters_Result_CountInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} resultados`) +}; + +const fr_chapters_result_count = /** @type {(inputs: Chapters_Result_CountInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} résultats`) +}; + +/** +* | output | +* | --- | +* | "{n} results" | +* +* @param {Chapters_Result_CountInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const chapters_result_count = /** @type {((inputs: Chapters_Result_CountInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_chapters_result_count(inputs) + if (locale === "ru") return ru_chapters_result_count(inputs) + if (locale === "id") return id_chapters_result_count(inputs) + if (locale === "pt") return pt_chapters_result_count(inputs) + return fr_chapters_result_count(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/chapters_search_placeholder.js b/ui/src/lib/paraglide/messages/chapters_search_placeholder.js new file mode 100644 index 0000000..6327c17 --- /dev/null +++ b/ui/src/lib/paraglide/messages/chapters_search_placeholder.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Chapters_Search_PlaceholderInputs */ + +const en_chapters_search_placeholder = /** @type {(inputs: Chapters_Search_PlaceholderInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Search chapters…`) +}; + +const ru_chapters_search_placeholder = /** @type {(inputs: Chapters_Search_PlaceholderInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Поиск глав…`) +}; + +const id_chapters_search_placeholder = /** @type {(inputs: Chapters_Search_PlaceholderInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Cari bab…`) +}; + +const pt_chapters_search_placeholder = /** @type {(inputs: Chapters_Search_PlaceholderInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Pesquisar capítulos…`) +}; + +const fr_chapters_search_placeholder = /** @type {(inputs: Chapters_Search_PlaceholderInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Rechercher des chapitres…`) +}; + +/** +* | output | +* | --- | +* | "Search chapters…" | +* +* @param {Chapters_Search_PlaceholderInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const chapters_search_placeholder = /** @type {((inputs?: Chapters_Search_PlaceholderInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_chapters_search_placeholder(inputs) + if (locale === "ru") return ru_chapters_search_placeholder(inputs) + if (locale === "id") return id_chapters_search_placeholder(inputs) + if (locale === "pt") return pt_chapters_search_placeholder(inputs) + return fr_chapters_search_placeholder(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/comments_anonymous.js b/ui/src/lib/paraglide/messages/comments_anonymous.js new file mode 100644 index 0000000..32948ab --- /dev/null +++ b/ui/src/lib/paraglide/messages/comments_anonymous.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Comments_AnonymousInputs */ + +const en_comments_anonymous = /** @type {(inputs: Comments_AnonymousInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Anonymous`) +}; + +const ru_comments_anonymous = /** @type {(inputs: Comments_AnonymousInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Аноним`) +}; + +const id_comments_anonymous = /** @type {(inputs: Comments_AnonymousInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Anonim`) +}; + +const pt_comments_anonymous = /** @type {(inputs: Comments_AnonymousInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Anônimo`) +}; + +const fr_comments_anonymous = /** @type {(inputs: Comments_AnonymousInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Anonyme`) +}; + +/** +* | output | +* | --- | +* | "Anonymous" | +* +* @param {Comments_AnonymousInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const comments_anonymous = /** @type {((inputs?: Comments_AnonymousInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_comments_anonymous(inputs) + if (locale === "ru") return ru_comments_anonymous(inputs) + if (locale === "id") return id_comments_anonymous(inputs) + if (locale === "pt") return pt_comments_anonymous(inputs) + return fr_comments_anonymous(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/comments_delete.js b/ui/src/lib/paraglide/messages/comments_delete.js new file mode 100644 index 0000000..2f9a2b1 --- /dev/null +++ b/ui/src/lib/paraglide/messages/comments_delete.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Comments_DeleteInputs */ + +const en_comments_delete = /** @type {(inputs: Comments_DeleteInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Delete`) +}; + +const ru_comments_delete = /** @type {(inputs: Comments_DeleteInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Удалить`) +}; + +const id_comments_delete = /** @type {(inputs: Comments_DeleteInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Hapus`) +}; + +const pt_comments_delete = /** @type {(inputs: Comments_DeleteInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Excluir`) +}; + +const fr_comments_delete = /** @type {(inputs: Comments_DeleteInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Supprimer`) +}; + +/** +* | output | +* | --- | +* | "Delete" | +* +* @param {Comments_DeleteInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const comments_delete = /** @type {((inputs?: Comments_DeleteInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_comments_delete(inputs) + if (locale === "ru") return ru_comments_delete(inputs) + if (locale === "id") return id_comments_delete(inputs) + if (locale === "pt") return pt_comments_delete(inputs) + return fr_comments_delete(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/comments_deleted.js b/ui/src/lib/paraglide/messages/comments_deleted.js new file mode 100644 index 0000000..d548cd2 --- /dev/null +++ b/ui/src/lib/paraglide/messages/comments_deleted.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Comments_DeletedInputs */ + +const en_comments_deleted = /** @type {(inputs: Comments_DeletedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`[deleted]`) +}; + +const ru_comments_deleted = /** @type {(inputs: Comments_DeletedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`[удалено]`) +}; + +const id_comments_deleted = /** @type {(inputs: Comments_DeletedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`[dihapus]`) +}; + +const pt_comments_deleted = /** @type {(inputs: Comments_DeletedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`[excluído]`) +}; + +const fr_comments_deleted = /** @type {(inputs: Comments_DeletedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`[supprimé]`) +}; + +/** +* | output | +* | --- | +* | "[deleted]" | +* +* @param {Comments_DeletedInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const comments_deleted = /** @type {((inputs?: Comments_DeletedInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_comments_deleted(inputs) + if (locale === "ru") return ru_comments_deleted(inputs) + if (locale === "id") return id_comments_deleted(inputs) + if (locale === "pt") return pt_comments_deleted(inputs) + return fr_comments_deleted(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/comments_edited.js b/ui/src/lib/paraglide/messages/comments_edited.js new file mode 100644 index 0000000..3280391 --- /dev/null +++ b/ui/src/lib/paraglide/messages/comments_edited.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Comments_EditedInputs */ + +const en_comments_edited = /** @type {(inputs: Comments_EditedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`edited`) +}; + +const ru_comments_edited = /** @type {(inputs: Comments_EditedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`изменено`) +}; + +const id_comments_edited = /** @type {(inputs: Comments_EditedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`diedit`) +}; + +const pt_comments_edited = /** @type {(inputs: Comments_EditedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`editado`) +}; + +const fr_comments_edited = /** @type {(inputs: Comments_EditedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`modifié`) +}; + +/** +* | output | +* | --- | +* | "edited" | +* +* @param {Comments_EditedInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const comments_edited = /** @type {((inputs?: Comments_EditedInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_comments_edited(inputs) + if (locale === "ru") return ru_comments_edited(inputs) + if (locale === "id") return id_comments_edited(inputs) + if (locale === "pt") return pt_comments_edited(inputs) + return fr_comments_edited(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/comments_empty.js b/ui/src/lib/paraglide/messages/comments_empty.js new file mode 100644 index 0000000..a2280d9 --- /dev/null +++ b/ui/src/lib/paraglide/messages/comments_empty.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Comments_EmptyInputs */ + +const en_comments_empty = /** @type {(inputs: Comments_EmptyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`No comments yet. Be the first!`) +}; + +const ru_comments_empty = /** @type {(inputs: Comments_EmptyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Комментариев пока нет. Будьте первым!`) +}; + +const id_comments_empty = /** @type {(inputs: Comments_EmptyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Belum ada komentar. Jadilah yang pertama!`) +}; + +const pt_comments_empty = /** @type {(inputs: Comments_EmptyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Nenhum comentário ainda. Seja o primeiro!`) +}; + +const fr_comments_empty = /** @type {(inputs: Comments_EmptyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Aucun commentaire pour l'instant. Soyez le premier !`) +}; + +/** +* | output | +* | --- | +* | "No comments yet. Be the first!" | +* +* @param {Comments_EmptyInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const comments_empty = /** @type {((inputs?: Comments_EmptyInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_comments_empty(inputs) + if (locale === "ru") return ru_comments_empty(inputs) + if (locale === "id") return id_comments_empty(inputs) + if (locale === "pt") return pt_comments_empty(inputs) + return fr_comments_empty(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/comments_heading.js b/ui/src/lib/paraglide/messages/comments_heading.js new file mode 100644 index 0000000..31b8d97 --- /dev/null +++ b/ui/src/lib/paraglide/messages/comments_heading.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Comments_HeadingInputs */ + +const en_comments_heading = /** @type {(inputs: Comments_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Comments`) +}; + +const ru_comments_heading = /** @type {(inputs: Comments_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Комментарии`) +}; + +const id_comments_heading = /** @type {(inputs: Comments_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Komentar`) +}; + +const pt_comments_heading = /** @type {(inputs: Comments_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Comentários`) +}; + +const fr_comments_heading = /** @type {(inputs: Comments_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Commentaires`) +}; + +/** +* | output | +* | --- | +* | "Comments" | +* +* @param {Comments_HeadingInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const comments_heading = /** @type {((inputs?: Comments_HeadingInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_comments_heading(inputs) + if (locale === "ru") return ru_comments_heading(inputs) + if (locale === "id") return id_comments_heading(inputs) + if (locale === "pt") return pt_comments_heading(inputs) + return fr_comments_heading(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/comments_hide_replies.js b/ui/src/lib/paraglide/messages/comments_hide_replies.js new file mode 100644 index 0000000..c821626 --- /dev/null +++ b/ui/src/lib/paraglide/messages/comments_hide_replies.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Comments_Hide_RepliesInputs */ + +const en_comments_hide_replies = /** @type {(inputs: Comments_Hide_RepliesInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Hide replies`) +}; + +const ru_comments_hide_replies = /** @type {(inputs: Comments_Hide_RepliesInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Скрыть ответы`) +}; + +const id_comments_hide_replies = /** @type {(inputs: Comments_Hide_RepliesInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Sembunyikan balasan`) +}; + +const pt_comments_hide_replies = /** @type {(inputs: Comments_Hide_RepliesInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Ocultar respostas`) +}; + +const fr_comments_hide_replies = /** @type {(inputs: Comments_Hide_RepliesInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Masquer les réponses`) +}; + +/** +* | output | +* | --- | +* | "Hide replies" | +* +* @param {Comments_Hide_RepliesInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const comments_hide_replies = /** @type {((inputs?: Comments_Hide_RepliesInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_comments_hide_replies(inputs) + if (locale === "ru") return ru_comments_hide_replies(inputs) + if (locale === "id") return id_comments_hide_replies(inputs) + if (locale === "pt") return pt_comments_hide_replies(inputs) + return fr_comments_hide_replies(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/comments_login_link.js b/ui/src/lib/paraglide/messages/comments_login_link.js new file mode 100644 index 0000000..fd50f89 --- /dev/null +++ b/ui/src/lib/paraglide/messages/comments_login_link.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Comments_Login_LinkInputs */ + +const en_comments_login_link = /** @type {(inputs: Comments_Login_LinkInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Log in`) +}; + +const ru_comments_login_link = /** @type {(inputs: Comments_Login_LinkInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Войдите`) +}; + +const id_comments_login_link = /** @type {(inputs: Comments_Login_LinkInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Masuk`) +}; + +const pt_comments_login_link = /** @type {(inputs: Comments_Login_LinkInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Entre`) +}; + +const fr_comments_login_link = /** @type {(inputs: Comments_Login_LinkInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Connectez-vous`) +}; + +/** +* | output | +* | --- | +* | "Log in" | +* +* @param {Comments_Login_LinkInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const comments_login_link = /** @type {((inputs?: Comments_Login_LinkInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_comments_login_link(inputs) + if (locale === "ru") return ru_comments_login_link(inputs) + if (locale === "id") return id_comments_login_link(inputs) + if (locale === "pt") return pt_comments_login_link(inputs) + return fr_comments_login_link(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/comments_login_prompt.js b/ui/src/lib/paraglide/messages/comments_login_prompt.js new file mode 100644 index 0000000..3e68746 --- /dev/null +++ b/ui/src/lib/paraglide/messages/comments_login_prompt.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Comments_Login_PromptInputs */ + +const en_comments_login_prompt = /** @type {(inputs: Comments_Login_PromptInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Sign in to comment.`) +}; + +const ru_comments_login_prompt = /** @type {(inputs: Comments_Login_PromptInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Войдите, чтобы комментировать.`) +}; + +const id_comments_login_prompt = /** @type {(inputs: Comments_Login_PromptInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Masuk untuk berkomentar.`) +}; + +const pt_comments_login_prompt = /** @type {(inputs: Comments_Login_PromptInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Entre para comentar.`) +}; + +const fr_comments_login_prompt = /** @type {(inputs: Comments_Login_PromptInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Connectez-vous pour commenter.`) +}; + +/** +* | output | +* | --- | +* | "Sign in to comment." | +* +* @param {Comments_Login_PromptInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const comments_login_prompt = /** @type {((inputs?: Comments_Login_PromptInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_comments_login_prompt(inputs) + if (locale === "ru") return ru_comments_login_prompt(inputs) + if (locale === "id") return id_comments_login_prompt(inputs) + if (locale === "pt") return pt_comments_login_prompt(inputs) + return fr_comments_login_prompt(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/comments_login_suffix.js b/ui/src/lib/paraglide/messages/comments_login_suffix.js new file mode 100644 index 0000000..d676f0e --- /dev/null +++ b/ui/src/lib/paraglide/messages/comments_login_suffix.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Comments_Login_SuffixInputs */ + +const en_comments_login_suffix = /** @type {(inputs: Comments_Login_SuffixInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`to leave a comment.`) +}; + +const ru_comments_login_suffix = /** @type {(inputs: Comments_Login_SuffixInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`чтобы оставить комментарий.`) +}; + +const id_comments_login_suffix = /** @type {(inputs: Comments_Login_SuffixInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`untuk meninggalkan komentar.`) +}; + +const pt_comments_login_suffix = /** @type {(inputs: Comments_Login_SuffixInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`para deixar um comentário.`) +}; + +const fr_comments_login_suffix = /** @type {(inputs: Comments_Login_SuffixInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`pour laisser un commentaire.`) +}; + +/** +* | output | +* | --- | +* | "to leave a comment." | +* +* @param {Comments_Login_SuffixInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const comments_login_suffix = /** @type {((inputs?: Comments_Login_SuffixInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_comments_login_suffix(inputs) + if (locale === "ru") return ru_comments_login_suffix(inputs) + if (locale === "id") return id_comments_login_suffix(inputs) + if (locale === "pt") return pt_comments_login_suffix(inputs) + return fr_comments_login_suffix(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/comments_new.js b/ui/src/lib/paraglide/messages/comments_new.js new file mode 100644 index 0000000..adddb44 --- /dev/null +++ b/ui/src/lib/paraglide/messages/comments_new.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Comments_NewInputs */ + +const en_comments_new = /** @type {(inputs: Comments_NewInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`New`) +}; + +const ru_comments_new = /** @type {(inputs: Comments_NewInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Новые`) +}; + +const id_comments_new = /** @type {(inputs: Comments_NewInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Terbaru`) +}; + +const pt_comments_new = /** @type {(inputs: Comments_NewInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Novos`) +}; + +const fr_comments_new = /** @type {(inputs: Comments_NewInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Nouvelles`) +}; + +/** +* | output | +* | --- | +* | "New" | +* +* @param {Comments_NewInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const comments_new = /** @type {((inputs?: Comments_NewInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_comments_new(inputs) + if (locale === "ru") return ru_comments_new(inputs) + if (locale === "id") return id_comments_new(inputs) + if (locale === "pt") return pt_comments_new(inputs) + return fr_comments_new(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/comments_placeholder.js b/ui/src/lib/paraglide/messages/comments_placeholder.js new file mode 100644 index 0000000..d9d6516 --- /dev/null +++ b/ui/src/lib/paraglide/messages/comments_placeholder.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Comments_PlaceholderInputs */ + +const en_comments_placeholder = /** @type {(inputs: Comments_PlaceholderInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Write a comment…`) +}; + +const ru_comments_placeholder = /** @type {(inputs: Comments_PlaceholderInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Написать комментарий…`) +}; + +const id_comments_placeholder = /** @type {(inputs: Comments_PlaceholderInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Tulis komentar…`) +}; + +const pt_comments_placeholder = /** @type {(inputs: Comments_PlaceholderInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Escreva um comentário…`) +}; + +const fr_comments_placeholder = /** @type {(inputs: Comments_PlaceholderInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Écrire un commentaire…`) +}; + +/** +* | output | +* | --- | +* | "Write a comment…" | +* +* @param {Comments_PlaceholderInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const comments_placeholder = /** @type {((inputs?: Comments_PlaceholderInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_comments_placeholder(inputs) + if (locale === "ru") return ru_comments_placeholder(inputs) + if (locale === "id") return id_comments_placeholder(inputs) + if (locale === "pt") return pt_comments_placeholder(inputs) + return fr_comments_placeholder(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/comments_posting.js b/ui/src/lib/paraglide/messages/comments_posting.js new file mode 100644 index 0000000..6afd283 --- /dev/null +++ b/ui/src/lib/paraglide/messages/comments_posting.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Comments_PostingInputs */ + +const en_comments_posting = /** @type {(inputs: Comments_PostingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Posting…`) +}; + +const ru_comments_posting = /** @type {(inputs: Comments_PostingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Отправка…`) +}; + +const id_comments_posting = /** @type {(inputs: Comments_PostingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Mengirim…`) +}; + +const pt_comments_posting = /** @type {(inputs: Comments_PostingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Publicando…`) +}; + +const fr_comments_posting = /** @type {(inputs: Comments_PostingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Publication…`) +}; + +/** +* | output | +* | --- | +* | "Posting…" | +* +* @param {Comments_PostingInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const comments_posting = /** @type {((inputs?: Comments_PostingInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_comments_posting(inputs) + if (locale === "ru") return ru_comments_posting(inputs) + if (locale === "id") return id_comments_posting(inputs) + if (locale === "pt") return pt_comments_posting(inputs) + return fr_comments_posting(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/comments_reply.js b/ui/src/lib/paraglide/messages/comments_reply.js new file mode 100644 index 0000000..4ddc7c1 --- /dev/null +++ b/ui/src/lib/paraglide/messages/comments_reply.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Comments_ReplyInputs */ + +const en_comments_reply = /** @type {(inputs: Comments_ReplyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Reply`) +}; + +const ru_comments_reply = /** @type {(inputs: Comments_ReplyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Ответить`) +}; + +const id_comments_reply = /** @type {(inputs: Comments_ReplyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Balas`) +}; + +const pt_comments_reply = /** @type {(inputs: Comments_ReplyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Responder`) +}; + +const fr_comments_reply = /** @type {(inputs: Comments_ReplyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Répondre`) +}; + +/** +* | output | +* | --- | +* | "Reply" | +* +* @param {Comments_ReplyInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const comments_reply = /** @type {((inputs?: Comments_ReplyInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_comments_reply(inputs) + if (locale === "ru") return ru_comments_reply(inputs) + if (locale === "id") return id_comments_reply(inputs) + if (locale === "pt") return pt_comments_reply(inputs) + return fr_comments_reply(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/comments_show_replies.js b/ui/src/lib/paraglide/messages/comments_show_replies.js new file mode 100644 index 0000000..4786cdd --- /dev/null +++ b/ui/src/lib/paraglide/messages/comments_show_replies.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{ n: NonNullable }} Comments_Show_RepliesInputs */ + +const en_comments_show_replies = /** @type {(inputs: Comments_Show_RepliesInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Show ${i?.n} replies`) +}; + +const ru_comments_show_replies = /** @type {(inputs: Comments_Show_RepliesInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Показать ${i?.n} ответов`) +}; + +const id_comments_show_replies = /** @type {(inputs: Comments_Show_RepliesInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Tampilkan ${i?.n} balasan`) +}; + +const pt_comments_show_replies = /** @type {(inputs: Comments_Show_RepliesInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Mostrar ${i?.n} respostas`) +}; + +const fr_comments_show_replies = /** @type {(inputs: Comments_Show_RepliesInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Afficher ${i?.n} réponses`) +}; + +/** +* | output | +* | --- | +* | "Show {n} replies" | +* +* @param {Comments_Show_RepliesInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const comments_show_replies = /** @type {((inputs: Comments_Show_RepliesInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_comments_show_replies(inputs) + if (locale === "ru") return ru_comments_show_replies(inputs) + if (locale === "id") return id_comments_show_replies(inputs) + if (locale === "pt") return pt_comments_show_replies(inputs) + return fr_comments_show_replies(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/comments_submit.js b/ui/src/lib/paraglide/messages/comments_submit.js new file mode 100644 index 0000000..84e539f --- /dev/null +++ b/ui/src/lib/paraglide/messages/comments_submit.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Comments_SubmitInputs */ + +const en_comments_submit = /** @type {(inputs: Comments_SubmitInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Post`) +}; + +const ru_comments_submit = /** @type {(inputs: Comments_SubmitInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Отправить`) +}; + +const id_comments_submit = /** @type {(inputs: Comments_SubmitInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Kirim`) +}; + +const pt_comments_submit = /** @type {(inputs: Comments_SubmitInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Publicar`) +}; + +const fr_comments_submit = /** @type {(inputs: Comments_SubmitInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Publier`) +}; + +/** +* | output | +* | --- | +* | "Post" | +* +* @param {Comments_SubmitInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const comments_submit = /** @type {((inputs?: Comments_SubmitInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_comments_submit(inputs) + if (locale === "ru") return ru_comments_submit(inputs) + if (locale === "id") return id_comments_submit(inputs) + if (locale === "pt") return pt_comments_submit(inputs) + return fr_comments_submit(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/comments_top.js b/ui/src/lib/paraglide/messages/comments_top.js new file mode 100644 index 0000000..e9388f5 --- /dev/null +++ b/ui/src/lib/paraglide/messages/comments_top.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Comments_TopInputs */ + +const en_comments_top = /** @type {(inputs: Comments_TopInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Top`) +}; + +const ru_comments_top = /** @type {(inputs: Comments_TopInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Лучшие`) +}; + +const id_comments_top = /** @type {(inputs: Comments_TopInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Teratas`) +}; + +const pt_comments_top = /** @type {(inputs: Comments_TopInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Mais votados`) +}; + +const fr_comments_top = /** @type {(inputs: Comments_TopInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Les meilleures`) +}; + +/** +* | output | +* | --- | +* | "Top" | +* +* @param {Comments_TopInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const comments_top = /** @type {((inputs?: Comments_TopInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_comments_top(inputs) + if (locale === "ru") return ru_comments_top(inputs) + if (locale === "id") return id_comments_top(inputs) + if (locale === "pt") return pt_comments_top(inputs) + return fr_comments_top(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/comments_vote_down.js b/ui/src/lib/paraglide/messages/comments_vote_down.js new file mode 100644 index 0000000..5de98d6 --- /dev/null +++ b/ui/src/lib/paraglide/messages/comments_vote_down.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Comments_Vote_DownInputs */ + +const en_comments_vote_down = /** @type {(inputs: Comments_Vote_DownInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Downvote`) +}; + +const ru_comments_vote_down = /** @type {(inputs: Comments_Vote_DownInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Минус`) +}; + +const id_comments_vote_down = /** @type {(inputs: Comments_Vote_DownInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Tidak suka`) +}; + +const pt_comments_vote_down = /** @type {(inputs: Comments_Vote_DownInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Votar negativo`) +}; + +const fr_comments_vote_down = /** @type {(inputs: Comments_Vote_DownInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Vote négatif`) +}; + +/** +* | output | +* | --- | +* | "Downvote" | +* +* @param {Comments_Vote_DownInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const comments_vote_down = /** @type {((inputs?: Comments_Vote_DownInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_comments_vote_down(inputs) + if (locale === "ru") return ru_comments_vote_down(inputs) + if (locale === "id") return id_comments_vote_down(inputs) + if (locale === "pt") return pt_comments_vote_down(inputs) + return fr_comments_vote_down(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/comments_vote_up.js b/ui/src/lib/paraglide/messages/comments_vote_up.js new file mode 100644 index 0000000..27ebcd8 --- /dev/null +++ b/ui/src/lib/paraglide/messages/comments_vote_up.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Comments_Vote_UpInputs */ + +const en_comments_vote_up = /** @type {(inputs: Comments_Vote_UpInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Upvote`) +}; + +const ru_comments_vote_up = /** @type {(inputs: Comments_Vote_UpInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Плюс`) +}; + +const id_comments_vote_up = /** @type {(inputs: Comments_Vote_UpInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Suka`) +}; + +const pt_comments_vote_up = /** @type {(inputs: Comments_Vote_UpInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Votar positivo`) +}; + +const fr_comments_vote_up = /** @type {(inputs: Comments_Vote_UpInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Vote positif`) +}; + +/** +* | output | +* | --- | +* | "Upvote" | +* +* @param {Comments_Vote_UpInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const comments_vote_up = /** @type {((inputs?: Comments_Vote_UpInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_comments_vote_up(inputs) + if (locale === "ru") return ru_comments_vote_up(inputs) + if (locale === "id") return id_comments_vote_up(inputs) + if (locale === "pt") return pt_comments_vote_up(inputs) + return fr_comments_vote_up(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/common_back.js b/ui/src/lib/paraglide/messages/common_back.js new file mode 100644 index 0000000..2f6dd57 --- /dev/null +++ b/ui/src/lib/paraglide/messages/common_back.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Common_BackInputs */ + +const en_common_back = /** @type {(inputs: Common_BackInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Back`) +}; + +const ru_common_back = /** @type {(inputs: Common_BackInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Назад`) +}; + +const id_common_back = /** @type {(inputs: Common_BackInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Kembali`) +}; + +const pt_common_back = /** @type {(inputs: Common_BackInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Voltar`) +}; + +const fr_common_back = /** @type {(inputs: Common_BackInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Retour`) +}; + +/** +* | output | +* | --- | +* | "Back" | +* +* @param {Common_BackInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const common_back = /** @type {((inputs?: Common_BackInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_common_back(inputs) + if (locale === "ru") return ru_common_back(inputs) + if (locale === "id") return id_common_back(inputs) + if (locale === "pt") return pt_common_back(inputs) + return fr_common_back(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/common_cancel.js b/ui/src/lib/paraglide/messages/common_cancel.js new file mode 100644 index 0000000..cf1c0f4 --- /dev/null +++ b/ui/src/lib/paraglide/messages/common_cancel.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Common_CancelInputs */ + +const en_common_cancel = /** @type {(inputs: Common_CancelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Cancel`) +}; + +const ru_common_cancel = /** @type {(inputs: Common_CancelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Отмена`) +}; + +const id_common_cancel = /** @type {(inputs: Common_CancelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Batal`) +}; + +const pt_common_cancel = /** @type {(inputs: Common_CancelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Cancelar`) +}; + +const fr_common_cancel = /** @type {(inputs: Common_CancelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Annuler`) +}; + +/** +* | output | +* | --- | +* | "Cancel" | +* +* @param {Common_CancelInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const common_cancel = /** @type {((inputs?: Common_CancelInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_common_cancel(inputs) + if (locale === "ru") return ru_common_cancel(inputs) + if (locale === "id") return id_common_cancel(inputs) + if (locale === "pt") return pt_common_cancel(inputs) + return fr_common_cancel(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/common_close.js b/ui/src/lib/paraglide/messages/common_close.js new file mode 100644 index 0000000..dccabf3 --- /dev/null +++ b/ui/src/lib/paraglide/messages/common_close.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Common_CloseInputs */ + +const en_common_close = /** @type {(inputs: Common_CloseInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Close`) +}; + +const ru_common_close = /** @type {(inputs: Common_CloseInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Закрыть`) +}; + +const id_common_close = /** @type {(inputs: Common_CloseInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Tutup`) +}; + +const pt_common_close = /** @type {(inputs: Common_CloseInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Fechar`) +}; + +const fr_common_close = /** @type {(inputs: Common_CloseInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Fermer`) +}; + +/** +* | output | +* | --- | +* | "Close" | +* +* @param {Common_CloseInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const common_close = /** @type {((inputs?: Common_CloseInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_common_close(inputs) + if (locale === "ru") return ru_common_close(inputs) + if (locale === "id") return id_common_close(inputs) + if (locale === "pt") return pt_common_close(inputs) + return fr_common_close(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/common_error.js b/ui/src/lib/paraglide/messages/common_error.js new file mode 100644 index 0000000..b4629f0 --- /dev/null +++ b/ui/src/lib/paraglide/messages/common_error.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Common_ErrorInputs */ + +const en_common_error = /** @type {(inputs: Common_ErrorInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Error`) +}; + +const ru_common_error = /** @type {(inputs: Common_ErrorInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Ошибка`) +}; + +const id_common_error = /** @type {(inputs: Common_ErrorInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Error`) +}; + +const pt_common_error = /** @type {(inputs: Common_ErrorInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Erro`) +}; + +const fr_common_error = /** @type {(inputs: Common_ErrorInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Erreur`) +}; + +/** +* | output | +* | --- | +* | "Error" | +* +* @param {Common_ErrorInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const common_error = /** @type {((inputs?: Common_ErrorInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_common_error(inputs) + if (locale === "ru") return ru_common_error(inputs) + if (locale === "id") return id_common_error(inputs) + if (locale === "pt") return pt_common_error(inputs) + return fr_common_error(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/common_loading.js b/ui/src/lib/paraglide/messages/common_loading.js new file mode 100644 index 0000000..d8df901 --- /dev/null +++ b/ui/src/lib/paraglide/messages/common_loading.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Common_LoadingInputs */ + +const en_common_loading = /** @type {(inputs: Common_LoadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Loading…`) +}; + +const ru_common_loading = /** @type {(inputs: Common_LoadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Загрузка…`) +}; + +const id_common_loading = /** @type {(inputs: Common_LoadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Memuat…`) +}; + +const pt_common_loading = /** @type {(inputs: Common_LoadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Carregando…`) +}; + +const fr_common_loading = /** @type {(inputs: Common_LoadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Chargement…`) +}; + +/** +* | output | +* | --- | +* | "Loading…" | +* +* @param {Common_LoadingInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const common_loading = /** @type {((inputs?: Common_LoadingInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_common_loading(inputs) + if (locale === "ru") return ru_common_loading(inputs) + if (locale === "id") return id_common_loading(inputs) + if (locale === "pt") return pt_common_loading(inputs) + return fr_common_loading(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/common_next.js b/ui/src/lib/paraglide/messages/common_next.js new file mode 100644 index 0000000..3863e21 --- /dev/null +++ b/ui/src/lib/paraglide/messages/common_next.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Common_NextInputs */ + +const en_common_next = /** @type {(inputs: Common_NextInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Next`) +}; + +const ru_common_next = /** @type {(inputs: Common_NextInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Далее`) +}; + +const id_common_next = /** @type {(inputs: Common_NextInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Berikutnya`) +}; + +const pt_common_next = /** @type {(inputs: Common_NextInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Próximo`) +}; + +const fr_common_next = /** @type {(inputs: Common_NextInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Suivant`) +}; + +/** +* | output | +* | --- | +* | "Next" | +* +* @param {Common_NextInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const common_next = /** @type {((inputs?: Common_NextInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_common_next(inputs) + if (locale === "ru") return ru_common_next(inputs) + if (locale === "id") return id_common_next(inputs) + if (locale === "pt") return pt_common_next(inputs) + return fr_common_next(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/common_no.js b/ui/src/lib/paraglide/messages/common_no.js new file mode 100644 index 0000000..4774ef4 --- /dev/null +++ b/ui/src/lib/paraglide/messages/common_no.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Common_NoInputs */ + +const en_common_no = /** @type {(inputs: Common_NoInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`No`) +}; + +const ru_common_no = /** @type {(inputs: Common_NoInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Нет`) +}; + +const id_common_no = /** @type {(inputs: Common_NoInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Tidak`) +}; + +const pt_common_no = /** @type {(inputs: Common_NoInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Não`) +}; + +const fr_common_no = /** @type {(inputs: Common_NoInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Non`) +}; + +/** +* | output | +* | --- | +* | "No" | +* +* @param {Common_NoInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const common_no = /** @type {((inputs?: Common_NoInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_common_no(inputs) + if (locale === "ru") return ru_common_no(inputs) + if (locale === "id") return id_common_no(inputs) + if (locale === "pt") return pt_common_no(inputs) + return fr_common_no(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/common_off.js b/ui/src/lib/paraglide/messages/common_off.js new file mode 100644 index 0000000..181fcdb --- /dev/null +++ b/ui/src/lib/paraglide/messages/common_off.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Common_OffInputs */ + +const en_common_off = /** @type {(inputs: Common_OffInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`off`) +}; + +const ru_common_off = /** @type {(inputs: Common_OffInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`выкл.`) +}; + +const id_common_off = /** @type {(inputs: Common_OffInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`nonaktif`) +}; + +const pt_common_off = /** @type {(inputs: Common_OffInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`desativado`) +}; + +const fr_common_off = /** @type {(inputs: Common_OffInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`désactivé`) +}; + +/** +* | output | +* | --- | +* | "off" | +* +* @param {Common_OffInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const common_off = /** @type {((inputs?: Common_OffInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_common_off(inputs) + if (locale === "ru") return ru_common_off(inputs) + if (locale === "id") return id_common_off(inputs) + if (locale === "pt") return pt_common_off(inputs) + return fr_common_off(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/common_on.js b/ui/src/lib/paraglide/messages/common_on.js new file mode 100644 index 0000000..78e7054 --- /dev/null +++ b/ui/src/lib/paraglide/messages/common_on.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Common_OnInputs */ + +const en_common_on = /** @type {(inputs: Common_OnInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`on`) +}; + +const ru_common_on = /** @type {(inputs: Common_OnInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`вкл.`) +}; + +const id_common_on = /** @type {(inputs: Common_OnInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`aktif`) +}; + +const pt_common_on = /** @type {(inputs: Common_OnInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`ativado`) +}; + +const fr_common_on = /** @type {(inputs: Common_OnInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`activé`) +}; + +/** +* | output | +* | --- | +* | "on" | +* +* @param {Common_OnInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const common_on = /** @type {((inputs?: Common_OnInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_common_on(inputs) + if (locale === "ru") return ru_common_on(inputs) + if (locale === "id") return id_common_on(inputs) + if (locale === "pt") return pt_common_on(inputs) + return fr_common_on(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/common_previous.js b/ui/src/lib/paraglide/messages/common_previous.js new file mode 100644 index 0000000..9200a35 --- /dev/null +++ b/ui/src/lib/paraglide/messages/common_previous.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Common_PreviousInputs */ + +const en_common_previous = /** @type {(inputs: Common_PreviousInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Previous`) +}; + +const ru_common_previous = /** @type {(inputs: Common_PreviousInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Назад`) +}; + +const id_common_previous = /** @type {(inputs: Common_PreviousInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Sebelumnya`) +}; + +const pt_common_previous = /** @type {(inputs: Common_PreviousInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Anterior`) +}; + +const fr_common_previous = /** @type {(inputs: Common_PreviousInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Précédent`) +}; + +/** +* | output | +* | --- | +* | "Previous" | +* +* @param {Common_PreviousInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const common_previous = /** @type {((inputs?: Common_PreviousInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_common_previous(inputs) + if (locale === "ru") return ru_common_previous(inputs) + if (locale === "id") return id_common_previous(inputs) + if (locale === "pt") return pt_common_previous(inputs) + return fr_common_previous(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/common_save.js b/ui/src/lib/paraglide/messages/common_save.js new file mode 100644 index 0000000..be092f6 --- /dev/null +++ b/ui/src/lib/paraglide/messages/common_save.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Common_SaveInputs */ + +const en_common_save = /** @type {(inputs: Common_SaveInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Save`) +}; + +const ru_common_save = /** @type {(inputs: Common_SaveInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Сохранить`) +}; + +const id_common_save = /** @type {(inputs: Common_SaveInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Simpan`) +}; + +const pt_common_save = /** @type {(inputs: Common_SaveInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Salvar`) +}; + +const fr_common_save = /** @type {(inputs: Common_SaveInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Enregistrer`) +}; + +/** +* | output | +* | --- | +* | "Save" | +* +* @param {Common_SaveInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const common_save = /** @type {((inputs?: Common_SaveInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_common_save(inputs) + if (locale === "ru") return ru_common_save(inputs) + if (locale === "id") return id_common_save(inputs) + if (locale === "pt") return pt_common_save(inputs) + return fr_common_save(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/common_search.js b/ui/src/lib/paraglide/messages/common_search.js new file mode 100644 index 0000000..8336de1 --- /dev/null +++ b/ui/src/lib/paraglide/messages/common_search.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Common_SearchInputs */ + +const en_common_search = /** @type {(inputs: Common_SearchInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Search`) +}; + +const ru_common_search = /** @type {(inputs: Common_SearchInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Поиск`) +}; + +const id_common_search = /** @type {(inputs: Common_SearchInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Cari`) +}; + +const pt_common_search = /** @type {(inputs: Common_SearchInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Pesquisar`) +}; + +const fr_common_search = /** @type {(inputs: Common_SearchInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Rechercher`) +}; + +/** +* | output | +* | --- | +* | "Search" | +* +* @param {Common_SearchInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const common_search = /** @type {((inputs?: Common_SearchInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_common_search(inputs) + if (locale === "ru") return ru_common_search(inputs) + if (locale === "id") return id_common_search(inputs) + if (locale === "pt") return pt_common_search(inputs) + return fr_common_search(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/common_yes.js b/ui/src/lib/paraglide/messages/common_yes.js new file mode 100644 index 0000000..15023b9 --- /dev/null +++ b/ui/src/lib/paraglide/messages/common_yes.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Common_YesInputs */ + +const en_common_yes = /** @type {(inputs: Common_YesInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Yes`) +}; + +const ru_common_yes = /** @type {(inputs: Common_YesInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Да`) +}; + +const id_common_yes = /** @type {(inputs: Common_YesInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Ya`) +}; + +const pt_common_yes = /** @type {(inputs: Common_YesInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Sim`) +}; + +const fr_common_yes = /** @type {(inputs: Common_YesInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Oui`) +}; + +/** +* | output | +* | --- | +* | "Yes" | +* +* @param {Common_YesInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const common_yes = /** @type {((inputs?: Common_YesInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_common_yes(inputs) + if (locale === "ru") return ru_common_yes(inputs) + if (locale === "id") return id_common_yes(inputs) + if (locale === "pt") return pt_common_yes(inputs) + return fr_common_yes(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/disclaimer_page_title.js b/ui/src/lib/paraglide/messages/disclaimer_page_title.js new file mode 100644 index 0000000..010b210 --- /dev/null +++ b/ui/src/lib/paraglide/messages/disclaimer_page_title.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Disclaimer_Page_TitleInputs */ + +const en_disclaimer_page_title = /** @type {(inputs: Disclaimer_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Disclaimer — libnovel`) +}; + +const ru_disclaimer_page_title = /** @type {(inputs: Disclaimer_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Отказ от ответственности — libnovel`) +}; + +const id_disclaimer_page_title = /** @type {(inputs: Disclaimer_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Penyangkalan — libnovel`) +}; + +const pt_disclaimer_page_title = /** @type {(inputs: Disclaimer_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Aviso Legal — libnovel`) +}; + +const fr_disclaimer_page_title = /** @type {(inputs: Disclaimer_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Avertissement — libnovel`) +}; + +/** +* | output | +* | --- | +* | "Disclaimer — libnovel" | +* +* @param {Disclaimer_Page_TitleInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const disclaimer_page_title = /** @type {((inputs?: Disclaimer_Page_TitleInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_disclaimer_page_title(inputs) + if (locale === "ru") return ru_disclaimer_page_title(inputs) + if (locale === "id") return id_disclaimer_page_title(inputs) + if (locale === "pt") return pt_disclaimer_page_title(inputs) + return fr_disclaimer_page_title(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/dmca_page_title.js b/ui/src/lib/paraglide/messages/dmca_page_title.js new file mode 100644 index 0000000..897b64d --- /dev/null +++ b/ui/src/lib/paraglide/messages/dmca_page_title.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Dmca_Page_TitleInputs */ + +const en_dmca_page_title = /** @type {(inputs: Dmca_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`DMCA — libnovel`) +}; + +const ru_dmca_page_title = /** @type {(inputs: Dmca_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`DMCA — libnovel`) +}; + +const id_dmca_page_title = /** @type {(inputs: Dmca_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`DMCA — libnovel`) +}; + +const pt_dmca_page_title = /** @type {(inputs: Dmca_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`DMCA — libnovel`) +}; + +const fr_dmca_page_title = /** @type {(inputs: Dmca_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`DMCA — libnovel`) +}; + +/** +* | output | +* | --- | +* | "DMCA — libnovel" | +* +* @param {Dmca_Page_TitleInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const dmca_page_title = /** @type {((inputs?: Dmca_Page_TitleInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_dmca_page_title(inputs) + if (locale === "ru") return ru_dmca_page_title(inputs) + if (locale === "id") return id_dmca_page_title(inputs) + if (locale === "pt") return pt_dmca_page_title(inputs) + return fr_dmca_page_title(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/error_generic_title.js b/ui/src/lib/paraglide/messages/error_generic_title.js new file mode 100644 index 0000000..55103ed --- /dev/null +++ b/ui/src/lib/paraglide/messages/error_generic_title.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Error_Generic_TitleInputs */ + +const en_error_generic_title = /** @type {(inputs: Error_Generic_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Something went wrong`) +}; + +const ru_error_generic_title = /** @type {(inputs: Error_Generic_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Что-то пошло не так`) +}; + +const id_error_generic_title = /** @type {(inputs: Error_Generic_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Terjadi kesalahan`) +}; + +const pt_error_generic_title = /** @type {(inputs: Error_Generic_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Algo deu errado`) +}; + +const fr_error_generic_title = /** @type {(inputs: Error_Generic_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Une erreur s'est produite`) +}; + +/** +* | output | +* | --- | +* | "Something went wrong" | +* +* @param {Error_Generic_TitleInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const error_generic_title = /** @type {((inputs?: Error_Generic_TitleInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_error_generic_title(inputs) + if (locale === "ru") return ru_error_generic_title(inputs) + if (locale === "id") return id_error_generic_title(inputs) + if (locale === "pt") return pt_error_generic_title(inputs) + return fr_error_generic_title(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/error_go_home.js b/ui/src/lib/paraglide/messages/error_go_home.js new file mode 100644 index 0000000..4755334 --- /dev/null +++ b/ui/src/lib/paraglide/messages/error_go_home.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Error_Go_HomeInputs */ + +const en_error_go_home = /** @type {(inputs: Error_Go_HomeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Go home`) +}; + +const ru_error_go_home = /** @type {(inputs: Error_Go_HomeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`На главную`) +}; + +const id_error_go_home = /** @type {(inputs: Error_Go_HomeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Ke beranda`) +}; + +const pt_error_go_home = /** @type {(inputs: Error_Go_HomeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Ir para início`) +}; + +const fr_error_go_home = /** @type {(inputs: Error_Go_HomeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Accueil`) +}; + +/** +* | output | +* | --- | +* | "Go home" | +* +* @param {Error_Go_HomeInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const error_go_home = /** @type {((inputs?: Error_Go_HomeInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_error_go_home(inputs) + if (locale === "ru") return ru_error_go_home(inputs) + if (locale === "id") return id_error_go_home(inputs) + if (locale === "pt") return pt_error_go_home(inputs) + return fr_error_go_home(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/error_not_found_body.js b/ui/src/lib/paraglide/messages/error_not_found_body.js new file mode 100644 index 0000000..778c012 --- /dev/null +++ b/ui/src/lib/paraglide/messages/error_not_found_body.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Error_Not_Found_BodyInputs */ + +const en_error_not_found_body = /** @type {(inputs: Error_Not_Found_BodyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`The page you're looking for doesn't exist.`) +}; + +const ru_error_not_found_body = /** @type {(inputs: Error_Not_Found_BodyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Запрошенная страница не существует.`) +}; + +const id_error_not_found_body = /** @type {(inputs: Error_Not_Found_BodyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Halaman yang kamu cari tidak ada.`) +}; + +const pt_error_not_found_body = /** @type {(inputs: Error_Not_Found_BodyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`A página que você procura não existe.`) +}; + +const fr_error_not_found_body = /** @type {(inputs: Error_Not_Found_BodyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`La page que vous cherchez n'existe pas.`) +}; + +/** +* | output | +* | --- | +* | "The page you're looking for doesn't exist." | +* +* @param {Error_Not_Found_BodyInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const error_not_found_body = /** @type {((inputs?: Error_Not_Found_BodyInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_error_not_found_body(inputs) + if (locale === "ru") return ru_error_not_found_body(inputs) + if (locale === "id") return id_error_not_found_body(inputs) + if (locale === "pt") return pt_error_not_found_body(inputs) + return fr_error_not_found_body(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/error_not_found_title.js b/ui/src/lib/paraglide/messages/error_not_found_title.js new file mode 100644 index 0000000..8a3f8d5 --- /dev/null +++ b/ui/src/lib/paraglide/messages/error_not_found_title.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Error_Not_Found_TitleInputs */ + +const en_error_not_found_title = /** @type {(inputs: Error_Not_Found_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Page not found`) +}; + +const ru_error_not_found_title = /** @type {(inputs: Error_Not_Found_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Страница не найдена`) +}; + +const id_error_not_found_title = /** @type {(inputs: Error_Not_Found_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Halaman tidak ditemukan`) +}; + +const pt_error_not_found_title = /** @type {(inputs: Error_Not_Found_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Página não encontrada`) +}; + +const fr_error_not_found_title = /** @type {(inputs: Error_Not_Found_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Page introuvable`) +}; + +/** +* | output | +* | --- | +* | "Page not found" | +* +* @param {Error_Not_Found_TitleInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const error_not_found_title = /** @type {((inputs?: Error_Not_Found_TitleInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_error_not_found_title(inputs) + if (locale === "ru") return ru_error_not_found_title(inputs) + if (locale === "id") return id_error_not_found_title(inputs) + if (locale === "pt") return pt_error_not_found_title(inputs) + return fr_error_not_found_title(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/error_status.js b/ui/src/lib/paraglide/messages/error_status.js new file mode 100644 index 0000000..70b81c3 --- /dev/null +++ b/ui/src/lib/paraglide/messages/error_status.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{ status: NonNullable }} Error_StatusInputs */ + +const en_error_status = /** @type {(inputs: Error_StatusInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Error ${i?.status}`) +}; + +const ru_error_status = /** @type {(inputs: Error_StatusInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Ошибка ${i?.status}`) +}; + +const id_error_status = /** @type {(inputs: Error_StatusInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Error ${i?.status}`) +}; + +const pt_error_status = /** @type {(inputs: Error_StatusInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Erro ${i?.status}`) +}; + +const fr_error_status = /** @type {(inputs: Error_StatusInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Erreur ${i?.status}`) +}; + +/** +* | output | +* | --- | +* | "Error {status}" | +* +* @param {Error_StatusInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const error_status = /** @type {((inputs: Error_StatusInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_error_status(inputs) + if (locale === "ru") return ru_error_status(inputs) + if (locale === "id") return id_error_status(inputs) + if (locale === "pt") return pt_error_status(inputs) + return fr_error_status(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/footer_catalogue.js b/ui/src/lib/paraglide/messages/footer_catalogue.js new file mode 100644 index 0000000..08922cf --- /dev/null +++ b/ui/src/lib/paraglide/messages/footer_catalogue.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Footer_CatalogueInputs */ + +const en_footer_catalogue = /** @type {(inputs: Footer_CatalogueInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Catalogue`) +}; + +const ru_footer_catalogue = /** @type {(inputs: Footer_CatalogueInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Каталог`) +}; + +const id_footer_catalogue = /** @type {(inputs: Footer_CatalogueInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Katalog`) +}; + +const pt_footer_catalogue = /** @type {(inputs: Footer_CatalogueInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Catálogo`) +}; + +const fr_footer_catalogue = /** @type {(inputs: Footer_CatalogueInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Catalogue`) +}; + +/** +* | output | +* | --- | +* | "Catalogue" | +* +* @param {Footer_CatalogueInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const footer_catalogue = /** @type {((inputs?: Footer_CatalogueInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_footer_catalogue(inputs) + if (locale === "ru") return ru_footer_catalogue(inputs) + if (locale === "id") return id_footer_catalogue(inputs) + if (locale === "pt") return pt_footer_catalogue(inputs) + return fr_footer_catalogue(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/footer_copyright.js b/ui/src/lib/paraglide/messages/footer_copyright.js new file mode 100644 index 0000000..ad14812 --- /dev/null +++ b/ui/src/lib/paraglide/messages/footer_copyright.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{ year: NonNullable }} Footer_CopyrightInputs */ + +const en_footer_copyright = /** @type {(inputs: Footer_CopyrightInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`© ${i?.year} libnovel`) +}; + +const ru_footer_copyright = /** @type {(inputs: Footer_CopyrightInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`© ${i?.year} libnovel`) +}; + +const id_footer_copyright = /** @type {(inputs: Footer_CopyrightInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`© ${i?.year} libnovel`) +}; + +const pt_footer_copyright = /** @type {(inputs: Footer_CopyrightInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`© ${i?.year} libnovel`) +}; + +const fr_footer_copyright = /** @type {(inputs: Footer_CopyrightInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`© ${i?.year} libnovel`) +}; + +/** +* | output | +* | --- | +* | "© {year} libnovel" | +* +* @param {Footer_CopyrightInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const footer_copyright = /** @type {((inputs: Footer_CopyrightInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_footer_copyright(inputs) + if (locale === "ru") return ru_footer_copyright(inputs) + if (locale === "id") return id_footer_copyright(inputs) + if (locale === "pt") return pt_footer_copyright(inputs) + return fr_footer_copyright(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/footer_dev.js b/ui/src/lib/paraglide/messages/footer_dev.js new file mode 100644 index 0000000..ccfa52d --- /dev/null +++ b/ui/src/lib/paraglide/messages/footer_dev.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Footer_DevInputs */ + +const en_footer_dev = /** @type {(inputs: Footer_DevInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`dev`) +}; + +const ru_footer_dev = /** @type {(inputs: Footer_DevInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`dev`) +}; + +const id_footer_dev = /** @type {(inputs: Footer_DevInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`dev`) +}; + +const pt_footer_dev = /** @type {(inputs: Footer_DevInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`dev`) +}; + +const fr_footer_dev = /** @type {(inputs: Footer_DevInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`dev`) +}; + +/** +* | output | +* | --- | +* | "dev" | +* +* @param {Footer_DevInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const footer_dev = /** @type {((inputs?: Footer_DevInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_footer_dev(inputs) + if (locale === "ru") return ru_footer_dev(inputs) + if (locale === "id") return id_footer_dev(inputs) + if (locale === "pt") return pt_footer_dev(inputs) + return fr_footer_dev(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/footer_disclaimer.js b/ui/src/lib/paraglide/messages/footer_disclaimer.js new file mode 100644 index 0000000..0884adb --- /dev/null +++ b/ui/src/lib/paraglide/messages/footer_disclaimer.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Footer_DisclaimerInputs */ + +const en_footer_disclaimer = /** @type {(inputs: Footer_DisclaimerInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Disclaimer`) +}; + +const ru_footer_disclaimer = /** @type {(inputs: Footer_DisclaimerInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Отказ от ответственности`) +}; + +const id_footer_disclaimer = /** @type {(inputs: Footer_DisclaimerInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Penyangkalan`) +}; + +const pt_footer_disclaimer = /** @type {(inputs: Footer_DisclaimerInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Aviso legal`) +}; + +const fr_footer_disclaimer = /** @type {(inputs: Footer_DisclaimerInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Avertissement`) +}; + +/** +* | output | +* | --- | +* | "Disclaimer" | +* +* @param {Footer_DisclaimerInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const footer_disclaimer = /** @type {((inputs?: Footer_DisclaimerInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_footer_disclaimer(inputs) + if (locale === "ru") return ru_footer_disclaimer(inputs) + if (locale === "id") return id_footer_disclaimer(inputs) + if (locale === "pt") return pt_footer_disclaimer(inputs) + return fr_footer_disclaimer(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/footer_dmca.js b/ui/src/lib/paraglide/messages/footer_dmca.js new file mode 100644 index 0000000..c72cdc4 --- /dev/null +++ b/ui/src/lib/paraglide/messages/footer_dmca.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Footer_DmcaInputs */ + +const en_footer_dmca = /** @type {(inputs: Footer_DmcaInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`DMCA`) +}; + +const ru_footer_dmca = /** @type {(inputs: Footer_DmcaInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`DMCA`) +}; + +const id_footer_dmca = /** @type {(inputs: Footer_DmcaInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`DMCA`) +}; + +const pt_footer_dmca = /** @type {(inputs: Footer_DmcaInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`DMCA`) +}; + +const fr_footer_dmca = /** @type {(inputs: Footer_DmcaInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`DMCA`) +}; + +/** +* | output | +* | --- | +* | "DMCA" | +* +* @param {Footer_DmcaInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const footer_dmca = /** @type {((inputs?: Footer_DmcaInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_footer_dmca(inputs) + if (locale === "ru") return ru_footer_dmca(inputs) + if (locale === "id") return id_footer_dmca(inputs) + if (locale === "pt") return pt_footer_dmca(inputs) + return fr_footer_dmca(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/footer_feedback.js b/ui/src/lib/paraglide/messages/footer_feedback.js new file mode 100644 index 0000000..d8acf29 --- /dev/null +++ b/ui/src/lib/paraglide/messages/footer_feedback.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Footer_FeedbackInputs */ + +const en_footer_feedback = /** @type {(inputs: Footer_FeedbackInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Feedback`) +}; + +const ru_footer_feedback = /** @type {(inputs: Footer_FeedbackInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Обратная связь`) +}; + +const id_footer_feedback = /** @type {(inputs: Footer_FeedbackInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Masukan`) +}; + +const pt_footer_feedback = /** @type {(inputs: Footer_FeedbackInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Feedback`) +}; + +const fr_footer_feedback = /** @type {(inputs: Footer_FeedbackInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Retour`) +}; + +/** +* | output | +* | --- | +* | "Feedback" | +* +* @param {Footer_FeedbackInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const footer_feedback = /** @type {((inputs?: Footer_FeedbackInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_footer_feedback(inputs) + if (locale === "ru") return ru_footer_feedback(inputs) + if (locale === "id") return id_footer_feedback(inputs) + if (locale === "pt") return pt_footer_feedback(inputs) + return fr_footer_feedback(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/footer_library.js b/ui/src/lib/paraglide/messages/footer_library.js new file mode 100644 index 0000000..3e112f9 --- /dev/null +++ b/ui/src/lib/paraglide/messages/footer_library.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Footer_LibraryInputs */ + +const en_footer_library = /** @type {(inputs: Footer_LibraryInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Library`) +}; + +const ru_footer_library = /** @type {(inputs: Footer_LibraryInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Библиотека`) +}; + +const id_footer_library = /** @type {(inputs: Footer_LibraryInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Perpustakaan`) +}; + +const pt_footer_library = /** @type {(inputs: Footer_LibraryInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Biblioteca`) +}; + +const fr_footer_library = /** @type {(inputs: Footer_LibraryInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Bibliothèque`) +}; + +/** +* | output | +* | --- | +* | "Library" | +* +* @param {Footer_LibraryInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const footer_library = /** @type {((inputs?: Footer_LibraryInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_footer_library(inputs) + if (locale === "ru") return ru_footer_library(inputs) + if (locale === "id") return id_footer_library(inputs) + if (locale === "pt") return pt_footer_library(inputs) + return fr_footer_library(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/footer_privacy.js b/ui/src/lib/paraglide/messages/footer_privacy.js new file mode 100644 index 0000000..20e33ef --- /dev/null +++ b/ui/src/lib/paraglide/messages/footer_privacy.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Footer_PrivacyInputs */ + +const en_footer_privacy = /** @type {(inputs: Footer_PrivacyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Privacy`) +}; + +const ru_footer_privacy = /** @type {(inputs: Footer_PrivacyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Конфиденциальность`) +}; + +const id_footer_privacy = /** @type {(inputs: Footer_PrivacyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Privasi`) +}; + +const pt_footer_privacy = /** @type {(inputs: Footer_PrivacyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Privacidade`) +}; + +const fr_footer_privacy = /** @type {(inputs: Footer_PrivacyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Confidentialité`) +}; + +/** +* | output | +* | --- | +* | "Privacy" | +* +* @param {Footer_PrivacyInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const footer_privacy = /** @type {((inputs?: Footer_PrivacyInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_footer_privacy(inputs) + if (locale === "ru") return ru_footer_privacy(inputs) + if (locale === "id") return id_footer_privacy(inputs) + if (locale === "pt") return pt_footer_privacy(inputs) + return fr_footer_privacy(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/home_chapter_badge.js b/ui/src/lib/paraglide/messages/home_chapter_badge.js new file mode 100644 index 0000000..34e8f0c --- /dev/null +++ b/ui/src/lib/paraglide/messages/home_chapter_badge.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{ n: NonNullable }} Home_Chapter_BadgeInputs */ + +const en_home_chapter_badge = /** @type {(inputs: Home_Chapter_BadgeInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`ch.${i?.n}`) +}; + +const ru_home_chapter_badge = /** @type {(inputs: Home_Chapter_BadgeInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`гл.${i?.n}`) +}; + +const id_home_chapter_badge = /** @type {(inputs: Home_Chapter_BadgeInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`bab.${i?.n}`) +}; + +const pt_home_chapter_badge = /** @type {(inputs: Home_Chapter_BadgeInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`cap.${i?.n}`) +}; + +const fr_home_chapter_badge = /** @type {(inputs: Home_Chapter_BadgeInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`ch.${i?.n}`) +}; + +/** +* | output | +* | --- | +* | "ch.{n}" | +* +* @param {Home_Chapter_BadgeInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const home_chapter_badge = /** @type {((inputs: Home_Chapter_BadgeInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_home_chapter_badge(inputs) + if (locale === "ru") return ru_home_chapter_badge(inputs) + if (locale === "id") return id_home_chapter_badge(inputs) + if (locale === "pt") return pt_home_chapter_badge(inputs) + return fr_home_chapter_badge(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/home_continue_reading.js b/ui/src/lib/paraglide/messages/home_continue_reading.js new file mode 100644 index 0000000..aec66b0 --- /dev/null +++ b/ui/src/lib/paraglide/messages/home_continue_reading.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Home_Continue_ReadingInputs */ + +const en_home_continue_reading = /** @type {(inputs: Home_Continue_ReadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Continue Reading`) +}; + +const ru_home_continue_reading = /** @type {(inputs: Home_Continue_ReadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Продолжить чтение`) +}; + +const id_home_continue_reading = /** @type {(inputs: Home_Continue_ReadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Lanjutkan Membaca`) +}; + +const pt_home_continue_reading = /** @type {(inputs: Home_Continue_ReadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Continuar Lendo`) +}; + +const fr_home_continue_reading = /** @type {(inputs: Home_Continue_ReadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Continuer la lecture`) +}; + +/** +* | output | +* | --- | +* | "Continue Reading" | +* +* @param {Home_Continue_ReadingInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const home_continue_reading = /** @type {((inputs?: Home_Continue_ReadingInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_home_continue_reading(inputs) + if (locale === "ru") return ru_home_continue_reading(inputs) + if (locale === "id") return id_home_continue_reading(inputs) + if (locale === "pt") return pt_home_continue_reading(inputs) + return fr_home_continue_reading(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/home_discover_novels.js b/ui/src/lib/paraglide/messages/home_discover_novels.js new file mode 100644 index 0000000..6862bdf --- /dev/null +++ b/ui/src/lib/paraglide/messages/home_discover_novels.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Home_Discover_NovelsInputs */ + +const en_home_discover_novels = /** @type {(inputs: Home_Discover_NovelsInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Discover Novels`) +}; + +const ru_home_discover_novels = /** @type {(inputs: Home_Discover_NovelsInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Открыть новеллы`) +}; + +const id_home_discover_novels = /** @type {(inputs: Home_Discover_NovelsInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Temukan Novel`) +}; + +const pt_home_discover_novels = /** @type {(inputs: Home_Discover_NovelsInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Descobrir Romances`) +}; + +const fr_home_discover_novels = /** @type {(inputs: Home_Discover_NovelsInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Découvrir des romans`) +}; + +/** +* | output | +* | --- | +* | "Discover Novels" | +* +* @param {Home_Discover_NovelsInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const home_discover_novels = /** @type {((inputs?: Home_Discover_NovelsInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_home_discover_novels(inputs) + if (locale === "ru") return ru_home_discover_novels(inputs) + if (locale === "id") return id_home_discover_novels(inputs) + if (locale === "pt") return pt_home_discover_novels(inputs) + return fr_home_discover_novels(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/home_empty_body.js b/ui/src/lib/paraglide/messages/home_empty_body.js new file mode 100644 index 0000000..34d0328 --- /dev/null +++ b/ui/src/lib/paraglide/messages/home_empty_body.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Home_Empty_BodyInputs */ + +const en_home_empty_body = /** @type {(inputs: Home_Empty_BodyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Discover novels and scrape them into your library.`) +}; + +const ru_home_empty_body = /** @type {(inputs: Home_Empty_BodyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Откройте для себя новеллы и добавьте их в библиотеку.`) +}; + +const id_home_empty_body = /** @type {(inputs: Home_Empty_BodyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Temukan novel dan tambahkan ke perpustakaanmu.`) +}; + +const pt_home_empty_body = /** @type {(inputs: Home_Empty_BodyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Descubra romances e adicione à sua biblioteca.`) +}; + +const fr_home_empty_body = /** @type {(inputs: Home_Empty_BodyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Découvrez des romans et ajoutez-les à votre bibliothèque.`) +}; + +/** +* | output | +* | --- | +* | "Discover novels and scrape them into your library." | +* +* @param {Home_Empty_BodyInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const home_empty_body = /** @type {((inputs?: Home_Empty_BodyInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_home_empty_body(inputs) + if (locale === "ru") return ru_home_empty_body(inputs) + if (locale === "id") return id_home_empty_body(inputs) + if (locale === "pt") return pt_home_empty_body(inputs) + return fr_home_empty_body(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/home_empty_title.js b/ui/src/lib/paraglide/messages/home_empty_title.js new file mode 100644 index 0000000..c3f775d --- /dev/null +++ b/ui/src/lib/paraglide/messages/home_empty_title.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Home_Empty_TitleInputs */ + +const en_home_empty_title = /** @type {(inputs: Home_Empty_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Your library is empty`) +}; + +const ru_home_empty_title = /** @type {(inputs: Home_Empty_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Ваша библиотека пуста`) +}; + +const id_home_empty_title = /** @type {(inputs: Home_Empty_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Perpustakaanmu kosong`) +}; + +const pt_home_empty_title = /** @type {(inputs: Home_Empty_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Sua biblioteca está vazia`) +}; + +const fr_home_empty_title = /** @type {(inputs: Home_Empty_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Votre bibliothèque est vide`) +}; + +/** +* | output | +* | --- | +* | "Your library is empty" | +* +* @param {Home_Empty_TitleInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const home_empty_title = /** @type {((inputs?: Home_Empty_TitleInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_home_empty_title(inputs) + if (locale === "ru") return ru_home_empty_title(inputs) + if (locale === "id") return id_home_empty_title(inputs) + if (locale === "pt") return pt_home_empty_title(inputs) + return fr_home_empty_title(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/home_from_following.js b/ui/src/lib/paraglide/messages/home_from_following.js new file mode 100644 index 0000000..2d1339d --- /dev/null +++ b/ui/src/lib/paraglide/messages/home_from_following.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Home_From_FollowingInputs */ + +const en_home_from_following = /** @type {(inputs: Home_From_FollowingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`From People You Follow`) +}; + +const ru_home_from_following = /** @type {(inputs: Home_From_FollowingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`От авторов, на которых вы подписаны`) +}; + +const id_home_from_following = /** @type {(inputs: Home_From_FollowingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Dari Orang yang Kamu Ikuti`) +}; + +const pt_home_from_following = /** @type {(inputs: Home_From_FollowingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`De Quem Você Segue`) +}; + +const fr_home_from_following = /** @type {(inputs: Home_From_FollowingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Des personnes que vous suivez`) +}; + +/** +* | output | +* | --- | +* | "From People You Follow" | +* +* @param {Home_From_FollowingInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const home_from_following = /** @type {((inputs?: Home_From_FollowingInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_home_from_following(inputs) + if (locale === "ru") return ru_home_from_following(inputs) + if (locale === "id") return id_home_from_following(inputs) + if (locale === "pt") return pt_home_from_following(inputs) + return fr_home_from_following(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/home_recently_updated.js b/ui/src/lib/paraglide/messages/home_recently_updated.js new file mode 100644 index 0000000..07258e4 --- /dev/null +++ b/ui/src/lib/paraglide/messages/home_recently_updated.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Home_Recently_UpdatedInputs */ + +const en_home_recently_updated = /** @type {(inputs: Home_Recently_UpdatedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Recently Updated`) +}; + +const ru_home_recently_updated = /** @type {(inputs: Home_Recently_UpdatedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Недавно обновлённые`) +}; + +const id_home_recently_updated = /** @type {(inputs: Home_Recently_UpdatedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Baru Diperbarui`) +}; + +const pt_home_recently_updated = /** @type {(inputs: Home_Recently_UpdatedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Atualizados Recentemente`) +}; + +const fr_home_recently_updated = /** @type {(inputs: Home_Recently_UpdatedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Récemment mis à jour`) +}; + +/** +* | output | +* | --- | +* | "Recently Updated" | +* +* @param {Home_Recently_UpdatedInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const home_recently_updated = /** @type {((inputs?: Home_Recently_UpdatedInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_home_recently_updated(inputs) + if (locale === "ru") return ru_home_recently_updated(inputs) + if (locale === "id") return id_home_recently_updated(inputs) + if (locale === "pt") return pt_home_recently_updated(inputs) + return fr_home_recently_updated(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/home_stat_books.js b/ui/src/lib/paraglide/messages/home_stat_books.js new file mode 100644 index 0000000..c9ea056 --- /dev/null +++ b/ui/src/lib/paraglide/messages/home_stat_books.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Home_Stat_BooksInputs */ + +const en_home_stat_books = /** @type {(inputs: Home_Stat_BooksInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Books`) +}; + +const ru_home_stat_books = /** @type {(inputs: Home_Stat_BooksInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Книги`) +}; + +const id_home_stat_books = /** @type {(inputs: Home_Stat_BooksInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Buku`) +}; + +const pt_home_stat_books = /** @type {(inputs: Home_Stat_BooksInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Livros`) +}; + +const fr_home_stat_books = /** @type {(inputs: Home_Stat_BooksInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Livres`) +}; + +/** +* | output | +* | --- | +* | "Books" | +* +* @param {Home_Stat_BooksInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const home_stat_books = /** @type {((inputs?: Home_Stat_BooksInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_home_stat_books(inputs) + if (locale === "ru") return ru_home_stat_books(inputs) + if (locale === "id") return id_home_stat_books(inputs) + if (locale === "pt") return pt_home_stat_books(inputs) + return fr_home_stat_books(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/home_stat_chapters.js b/ui/src/lib/paraglide/messages/home_stat_chapters.js new file mode 100644 index 0000000..d698b50 --- /dev/null +++ b/ui/src/lib/paraglide/messages/home_stat_chapters.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Home_Stat_ChaptersInputs */ + +const en_home_stat_chapters = /** @type {(inputs: Home_Stat_ChaptersInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Chapters`) +}; + +const ru_home_stat_chapters = /** @type {(inputs: Home_Stat_ChaptersInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Главы`) +}; + +const id_home_stat_chapters = /** @type {(inputs: Home_Stat_ChaptersInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Bab`) +}; + +const pt_home_stat_chapters = /** @type {(inputs: Home_Stat_ChaptersInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Capítulos`) +}; + +const fr_home_stat_chapters = /** @type {(inputs: Home_Stat_ChaptersInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Chapitres`) +}; + +/** +* | output | +* | --- | +* | "Chapters" | +* +* @param {Home_Stat_ChaptersInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const home_stat_chapters = /** @type {((inputs?: Home_Stat_ChaptersInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_home_stat_chapters(inputs) + if (locale === "ru") return ru_home_stat_chapters(inputs) + if (locale === "id") return id_home_stat_chapters(inputs) + if (locale === "pt") return pt_home_stat_chapters(inputs) + return fr_home_stat_chapters(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/home_stat_in_progress.js b/ui/src/lib/paraglide/messages/home_stat_in_progress.js new file mode 100644 index 0000000..e00cf6f --- /dev/null +++ b/ui/src/lib/paraglide/messages/home_stat_in_progress.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Home_Stat_In_ProgressInputs */ + +const en_home_stat_in_progress = /** @type {(inputs: Home_Stat_In_ProgressInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`In progress`) +}; + +const ru_home_stat_in_progress = /** @type {(inputs: Home_Stat_In_ProgressInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`В процессе`) +}; + +const id_home_stat_in_progress = /** @type {(inputs: Home_Stat_In_ProgressInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Sedang dibaca`) +}; + +const pt_home_stat_in_progress = /** @type {(inputs: Home_Stat_In_ProgressInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Em andamento`) +}; + +const fr_home_stat_in_progress = /** @type {(inputs: Home_Stat_In_ProgressInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`En cours`) +}; + +/** +* | output | +* | --- | +* | "In progress" | +* +* @param {Home_Stat_In_ProgressInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const home_stat_in_progress = /** @type {((inputs?: Home_Stat_In_ProgressInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_home_stat_in_progress(inputs) + if (locale === "ru") return ru_home_stat_in_progress(inputs) + if (locale === "id") return id_home_stat_in_progress(inputs) + if (locale === "pt") return pt_home_stat_in_progress(inputs) + return fr_home_stat_in_progress(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/home_title.js b/ui/src/lib/paraglide/messages/home_title.js new file mode 100644 index 0000000..d7301ee --- /dev/null +++ b/ui/src/lib/paraglide/messages/home_title.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Home_TitleInputs */ + +const en_home_title = /** @type {(inputs: Home_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`libnovel`) +}; + +const ru_home_title = /** @type {(inputs: Home_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`libnovel`) +}; + +const id_home_title = /** @type {(inputs: Home_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`libnovel`) +}; + +const pt_home_title = /** @type {(inputs: Home_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`libnovel`) +}; + +const fr_home_title = /** @type {(inputs: Home_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`libnovel`) +}; + +/** +* | output | +* | --- | +* | "libnovel" | +* +* @param {Home_TitleInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const home_title = /** @type {((inputs?: Home_TitleInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_home_title(inputs) + if (locale === "ru") return ru_home_title(inputs) + if (locale === "id") return id_home_title(inputs) + if (locale === "pt") return pt_home_title(inputs) + return fr_home_title(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/home_via_reader.js b/ui/src/lib/paraglide/messages/home_via_reader.js new file mode 100644 index 0000000..d34d91e --- /dev/null +++ b/ui/src/lib/paraglide/messages/home_via_reader.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{ username: NonNullable }} Home_Via_ReaderInputs */ + +const en_home_via_reader = /** @type {(inputs: Home_Via_ReaderInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`via ${i?.username}`) +}; + +const ru_home_via_reader = /** @type {(inputs: Home_Via_ReaderInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`от ${i?.username}`) +}; + +const id_home_via_reader = /** @type {(inputs: Home_Via_ReaderInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`via ${i?.username}`) +}; + +const pt_home_via_reader = /** @type {(inputs: Home_Via_ReaderInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`via ${i?.username}`) +}; + +const fr_home_via_reader = /** @type {(inputs: Home_Via_ReaderInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`via ${i?.username}`) +}; + +/** +* | output | +* | --- | +* | "via {username}" | +* +* @param {Home_Via_ReaderInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const home_via_reader = /** @type {((inputs: Home_Via_ReaderInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_home_via_reader(inputs) + if (locale === "ru") return ru_home_via_reader(inputs) + if (locale === "id") return id_home_via_reader(inputs) + if (locale === "pt") return pt_home_via_reader(inputs) + return fr_home_via_reader(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/home_view_all.js b/ui/src/lib/paraglide/messages/home_view_all.js new file mode 100644 index 0000000..e239ae9 --- /dev/null +++ b/ui/src/lib/paraglide/messages/home_view_all.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Home_View_AllInputs */ + +const en_home_view_all = /** @type {(inputs: Home_View_AllInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`View all`) +}; + +const ru_home_view_all = /** @type {(inputs: Home_View_AllInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Смотреть все`) +}; + +const id_home_view_all = /** @type {(inputs: Home_View_AllInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Lihat semua`) +}; + +const pt_home_view_all = /** @type {(inputs: Home_View_AllInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Ver tudo`) +}; + +const fr_home_view_all = /** @type {(inputs: Home_View_AllInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Voir tout`) +}; + +/** +* | output | +* | --- | +* | "View all" | +* +* @param {Home_View_AllInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const home_view_all = /** @type {((inputs?: Home_View_AllInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_home_view_all(inputs) + if (locale === "ru") return ru_home_view_all(inputs) + if (locale === "id") return id_home_view_all(inputs) + if (locale === "pt") return pt_home_view_all(inputs) + return fr_home_view_all(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/locale_switcher_label.js b/ui/src/lib/paraglide/messages/locale_switcher_label.js new file mode 100644 index 0000000..f6284b8 --- /dev/null +++ b/ui/src/lib/paraglide/messages/locale_switcher_label.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Locale_Switcher_LabelInputs */ + +const en_locale_switcher_label = /** @type {(inputs: Locale_Switcher_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Language`) +}; + +const ru_locale_switcher_label = /** @type {(inputs: Locale_Switcher_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Язык`) +}; + +const id_locale_switcher_label = /** @type {(inputs: Locale_Switcher_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Bahasa`) +}; + +const pt_locale_switcher_label = /** @type {(inputs: Locale_Switcher_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Idioma`) +}; + +const fr_locale_switcher_label = /** @type {(inputs: Locale_Switcher_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Langue`) +}; + +/** +* | output | +* | --- | +* | "Language" | +* +* @param {Locale_Switcher_LabelInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const locale_switcher_label = /** @type {((inputs?: Locale_Switcher_LabelInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_locale_switcher_label(inputs) + if (locale === "ru") return ru_locale_switcher_label(inputs) + if (locale === "id") return id_locale_switcher_label(inputs) + if (locale === "pt") return pt_locale_switcher_label(inputs) + return fr_locale_switcher_label(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/login_continue_github.js b/ui/src/lib/paraglide/messages/login_continue_github.js new file mode 100644 index 0000000..8531113 --- /dev/null +++ b/ui/src/lib/paraglide/messages/login_continue_github.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Login_Continue_GithubInputs */ + +const en_login_continue_github = /** @type {(inputs: Login_Continue_GithubInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Continue with GitHub`) +}; + +const ru_login_continue_github = /** @type {(inputs: Login_Continue_GithubInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Продолжить с GitHub`) +}; + +const id_login_continue_github = /** @type {(inputs: Login_Continue_GithubInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Lanjutkan dengan GitHub`) +}; + +const pt_login_continue_github = /** @type {(inputs: Login_Continue_GithubInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Continuar com GitHub`) +}; + +const fr_login_continue_github = /** @type {(inputs: Login_Continue_GithubInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Continuer avec GitHub`) +}; + +/** +* | output | +* | --- | +* | "Continue with GitHub" | +* +* @param {Login_Continue_GithubInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const login_continue_github = /** @type {((inputs?: Login_Continue_GithubInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_login_continue_github(inputs) + if (locale === "ru") return ru_login_continue_github(inputs) + if (locale === "id") return id_login_continue_github(inputs) + if (locale === "pt") return pt_login_continue_github(inputs) + return fr_login_continue_github(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/login_continue_google.js b/ui/src/lib/paraglide/messages/login_continue_google.js new file mode 100644 index 0000000..d1c751e --- /dev/null +++ b/ui/src/lib/paraglide/messages/login_continue_google.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Login_Continue_GoogleInputs */ + +const en_login_continue_google = /** @type {(inputs: Login_Continue_GoogleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Continue with Google`) +}; + +const ru_login_continue_google = /** @type {(inputs: Login_Continue_GoogleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Продолжить с Google`) +}; + +const id_login_continue_google = /** @type {(inputs: Login_Continue_GoogleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Lanjutkan dengan Google`) +}; + +const pt_login_continue_google = /** @type {(inputs: Login_Continue_GoogleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Continuar com Google`) +}; + +const fr_login_continue_google = /** @type {(inputs: Login_Continue_GoogleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Continuer avec Google`) +}; + +/** +* | output | +* | --- | +* | "Continue with Google" | +* +* @param {Login_Continue_GoogleInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const login_continue_google = /** @type {((inputs?: Login_Continue_GoogleInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_login_continue_google(inputs) + if (locale === "ru") return ru_login_continue_google(inputs) + if (locale === "id") return id_login_continue_google(inputs) + if (locale === "pt") return pt_login_continue_google(inputs) + return fr_login_continue_google(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/login_error_oauth_failed.js b/ui/src/lib/paraglide/messages/login_error_oauth_failed.js new file mode 100644 index 0000000..5bf8b72 --- /dev/null +++ b/ui/src/lib/paraglide/messages/login_error_oauth_failed.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Login_Error_Oauth_FailedInputs */ + +const en_login_error_oauth_failed = /** @type {(inputs: Login_Error_Oauth_FailedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Could not connect to the provider. Please try again.`) +}; + +const ru_login_error_oauth_failed = /** @type {(inputs: Login_Error_Oauth_FailedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Не удалось подключиться к провайдеру. Попробуйте снова.`) +}; + +const id_login_error_oauth_failed = /** @type {(inputs: Login_Error_Oauth_FailedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Tidak dapat terhubung ke penyedia. Coba lagi.`) +}; + +const pt_login_error_oauth_failed = /** @type {(inputs: Login_Error_Oauth_FailedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Não foi possível conectar ao provedor. Tente novamente.`) +}; + +const fr_login_error_oauth_failed = /** @type {(inputs: Login_Error_Oauth_FailedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Impossible de se connecter au fournisseur. Veuillez réessayer.`) +}; + +/** +* | output | +* | --- | +* | "Could not connect to the provider. Please try again." | +* +* @param {Login_Error_Oauth_FailedInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const login_error_oauth_failed = /** @type {((inputs?: Login_Error_Oauth_FailedInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_login_error_oauth_failed(inputs) + if (locale === "ru") return ru_login_error_oauth_failed(inputs) + if (locale === "id") return id_login_error_oauth_failed(inputs) + if (locale === "pt") return pt_login_error_oauth_failed(inputs) + return fr_login_error_oauth_failed(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/login_error_oauth_no_email.js b/ui/src/lib/paraglide/messages/login_error_oauth_no_email.js new file mode 100644 index 0000000..4761016 --- /dev/null +++ b/ui/src/lib/paraglide/messages/login_error_oauth_no_email.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Login_Error_Oauth_No_EmailInputs */ + +const en_login_error_oauth_no_email = /** @type {(inputs: Login_Error_Oauth_No_EmailInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Your account has no verified email address. Please add one and retry.`) +}; + +const ru_login_error_oauth_no_email = /** @type {(inputs: Login_Error_Oauth_No_EmailInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`У вашего аккаунта нет подтверждённого email. Добавьте его и повторите попытку.`) +}; + +const id_login_error_oauth_no_email = /** @type {(inputs: Login_Error_Oauth_No_EmailInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Akunmu tidak memiliki alamat email terverifikasi. Tambahkan dan coba lagi.`) +}; + +const pt_login_error_oauth_no_email = /** @type {(inputs: Login_Error_Oauth_No_EmailInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Sua conta não tem endereço de email verificado. Adicione um e tente novamente.`) +}; + +const fr_login_error_oauth_no_email = /** @type {(inputs: Login_Error_Oauth_No_EmailInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Votre compte n'a pas d'adresse e-mail vérifiée. Ajoutez-en une et réessayez.`) +}; + +/** +* | output | +* | --- | +* | "Your account has no verified email address. Please add one and retry." | +* +* @param {Login_Error_Oauth_No_EmailInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const login_error_oauth_no_email = /** @type {((inputs?: Login_Error_Oauth_No_EmailInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_login_error_oauth_no_email(inputs) + if (locale === "ru") return ru_login_error_oauth_no_email(inputs) + if (locale === "id") return id_login_error_oauth_no_email(inputs) + if (locale === "pt") return pt_login_error_oauth_no_email(inputs) + return fr_login_error_oauth_no_email(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/login_error_oauth_state.js b/ui/src/lib/paraglide/messages/login_error_oauth_state.js new file mode 100644 index 0000000..ab40e21 --- /dev/null +++ b/ui/src/lib/paraglide/messages/login_error_oauth_state.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Login_Error_Oauth_StateInputs */ + +const en_login_error_oauth_state = /** @type {(inputs: Login_Error_Oauth_StateInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Sign-in was cancelled or expired. Please try again.`) +}; + +const ru_login_error_oauth_state = /** @type {(inputs: Login_Error_Oauth_StateInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Вход отменён или истёк срок действия. Попробуйте снова.`) +}; + +const id_login_error_oauth_state = /** @type {(inputs: Login_Error_Oauth_StateInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Masuk dibatalkan atau kedaluwarsa. Coba lagi.`) +}; + +const pt_login_error_oauth_state = /** @type {(inputs: Login_Error_Oauth_StateInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Login cancelado ou expirado. Tente novamente.`) +}; + +const fr_login_error_oauth_state = /** @type {(inputs: Login_Error_Oauth_StateInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Connexion annulée ou expirée. Veuillez réessayer.`) +}; + +/** +* | output | +* | --- | +* | "Sign-in was cancelled or expired. Please try again." | +* +* @param {Login_Error_Oauth_StateInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const login_error_oauth_state = /** @type {((inputs?: Login_Error_Oauth_StateInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_login_error_oauth_state(inputs) + if (locale === "ru") return ru_login_error_oauth_state(inputs) + if (locale === "id") return id_login_error_oauth_state(inputs) + if (locale === "pt") return pt_login_error_oauth_state(inputs) + return fr_login_error_oauth_state(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/login_heading.js b/ui/src/lib/paraglide/messages/login_heading.js new file mode 100644 index 0000000..4328fdd --- /dev/null +++ b/ui/src/lib/paraglide/messages/login_heading.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Login_HeadingInputs */ + +const en_login_heading = /** @type {(inputs: Login_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Sign in to libnovel`) +}; + +const ru_login_heading = /** @type {(inputs: Login_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Войти в libnovel`) +}; + +const id_login_heading = /** @type {(inputs: Login_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Masuk ke libnovel`) +}; + +const pt_login_heading = /** @type {(inputs: Login_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Entrar no libnovel`) +}; + +const fr_login_heading = /** @type {(inputs: Login_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Se connecter à libnovel`) +}; + +/** +* | output | +* | --- | +* | "Sign in to libnovel" | +* +* @param {Login_HeadingInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const login_heading = /** @type {((inputs?: Login_HeadingInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_login_heading(inputs) + if (locale === "ru") return ru_login_heading(inputs) + if (locale === "id") return id_login_heading(inputs) + if (locale === "pt") return pt_login_heading(inputs) + return fr_login_heading(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/login_page_title.js b/ui/src/lib/paraglide/messages/login_page_title.js new file mode 100644 index 0000000..70255dd --- /dev/null +++ b/ui/src/lib/paraglide/messages/login_page_title.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Login_Page_TitleInputs */ + +const en_login_page_title = /** @type {(inputs: Login_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Sign in — libnovel`) +}; + +const ru_login_page_title = /** @type {(inputs: Login_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Вход — libnovel`) +}; + +const id_login_page_title = /** @type {(inputs: Login_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Masuk — libnovel`) +}; + +const pt_login_page_title = /** @type {(inputs: Login_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Entrar — libnovel`) +}; + +const fr_login_page_title = /** @type {(inputs: Login_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Connexion — libnovel`) +}; + +/** +* | output | +* | --- | +* | "Sign in — libnovel" | +* +* @param {Login_Page_TitleInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const login_page_title = /** @type {((inputs?: Login_Page_TitleInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_login_page_title(inputs) + if (locale === "ru") return ru_login_page_title(inputs) + if (locale === "id") return id_login_page_title(inputs) + if (locale === "pt") return pt_login_page_title(inputs) + return fr_login_page_title(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/login_subheading.js b/ui/src/lib/paraglide/messages/login_subheading.js new file mode 100644 index 0000000..f1008d1 --- /dev/null +++ b/ui/src/lib/paraglide/messages/login_subheading.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Login_SubheadingInputs */ + +const en_login_subheading = /** @type {(inputs: Login_SubheadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Choose a provider to continue`) +}; + +const ru_login_subheading = /** @type {(inputs: Login_SubheadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Выберите провайдера для входа`) +}; + +const id_login_subheading = /** @type {(inputs: Login_SubheadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Pilih penyedia untuk melanjutkan`) +}; + +const pt_login_subheading = /** @type {(inputs: Login_SubheadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Escolha um provedor para continuar`) +}; + +const fr_login_subheading = /** @type {(inputs: Login_SubheadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Choisissez un fournisseur pour continuer`) +}; + +/** +* | output | +* | --- | +* | "Choose a provider to continue" | +* +* @param {Login_SubheadingInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const login_subheading = /** @type {((inputs?: Login_SubheadingInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_login_subheading(inputs) + if (locale === "ru") return ru_login_subheading(inputs) + if (locale === "id") return id_login_subheading(inputs) + if (locale === "pt") return pt_login_subheading(inputs) + return fr_login_subheading(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/login_terms_notice.js b/ui/src/lib/paraglide/messages/login_terms_notice.js new file mode 100644 index 0000000..412345b --- /dev/null +++ b/ui/src/lib/paraglide/messages/login_terms_notice.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Login_Terms_NoticeInputs */ + +const en_login_terms_notice = /** @type {(inputs: Login_Terms_NoticeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`By signing in you agree to our terms of service.`) +}; + +const ru_login_terms_notice = /** @type {(inputs: Login_Terms_NoticeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Входя, вы принимаете наши условия использования.`) +}; + +const id_login_terms_notice = /** @type {(inputs: Login_Terms_NoticeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Dengan masuk, kamu menyetujui syarat layanan kami.`) +}; + +const pt_login_terms_notice = /** @type {(inputs: Login_Terms_NoticeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Ao entrar, você concorda com nossos termos de serviço.`) +}; + +const fr_login_terms_notice = /** @type {(inputs: Login_Terms_NoticeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`En vous connectant, vous acceptez nos conditions d'utilisation.`) +}; + +/** +* | output | +* | --- | +* | "By signing in you agree to our terms of service." | +* +* @param {Login_Terms_NoticeInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const login_terms_notice = /** @type {((inputs?: Login_Terms_NoticeInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_login_terms_notice(inputs) + if (locale === "ru") return ru_login_terms_notice(inputs) + if (locale === "id") return id_login_terms_notice(inputs) + if (locale === "pt") return pt_login_terms_notice(inputs) + return fr_login_terms_notice(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/nav_admin.js b/ui/src/lib/paraglide/messages/nav_admin.js new file mode 100644 index 0000000..69179b1 --- /dev/null +++ b/ui/src/lib/paraglide/messages/nav_admin.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Nav_AdminInputs */ + +const en_nav_admin = /** @type {(inputs: Nav_AdminInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Admin`) +}; + +const ru_nav_admin = /** @type {(inputs: Nav_AdminInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Админ`) +}; + +const id_nav_admin = /** @type {(inputs: Nav_AdminInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Admin`) +}; + +const pt_nav_admin = /** @type {(inputs: Nav_AdminInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Admin`) +}; + +const fr_nav_admin = /** @type {(inputs: Nav_AdminInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Admin`) +}; + +/** +* | output | +* | --- | +* | "Admin" | +* +* @param {Nav_AdminInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const nav_admin = /** @type {((inputs?: Nav_AdminInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_nav_admin(inputs) + if (locale === "ru") return ru_nav_admin(inputs) + if (locale === "id") return id_nav_admin(inputs) + if (locale === "pt") return pt_nav_admin(inputs) + return fr_nav_admin(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/nav_admin_panel.js b/ui/src/lib/paraglide/messages/nav_admin_panel.js new file mode 100644 index 0000000..4434dd9 --- /dev/null +++ b/ui/src/lib/paraglide/messages/nav_admin_panel.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Nav_Admin_PanelInputs */ + +const en_nav_admin_panel = /** @type {(inputs: Nav_Admin_PanelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Admin panel`) +}; + +const ru_nav_admin_panel = /** @type {(inputs: Nav_Admin_PanelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Панель администратора`) +}; + +const id_nav_admin_panel = /** @type {(inputs: Nav_Admin_PanelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Panel admin`) +}; + +const pt_nav_admin_panel = /** @type {(inputs: Nav_Admin_PanelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Painel admin`) +}; + +const fr_nav_admin_panel = /** @type {(inputs: Nav_Admin_PanelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Panneau admin`) +}; + +/** +* | output | +* | --- | +* | "Admin panel" | +* +* @param {Nav_Admin_PanelInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const nav_admin_panel = /** @type {((inputs?: Nav_Admin_PanelInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_nav_admin_panel(inputs) + if (locale === "ru") return ru_nav_admin_panel(inputs) + if (locale === "id") return id_nav_admin_panel(inputs) + if (locale === "pt") return pt_nav_admin_panel(inputs) + return fr_nav_admin_panel(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/nav_catalogue.js b/ui/src/lib/paraglide/messages/nav_catalogue.js new file mode 100644 index 0000000..a456bfd --- /dev/null +++ b/ui/src/lib/paraglide/messages/nav_catalogue.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Nav_CatalogueInputs */ + +const en_nav_catalogue = /** @type {(inputs: Nav_CatalogueInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Catalogue`) +}; + +const ru_nav_catalogue = /** @type {(inputs: Nav_CatalogueInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Каталог`) +}; + +const id_nav_catalogue = /** @type {(inputs: Nav_CatalogueInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Katalog`) +}; + +const pt_nav_catalogue = /** @type {(inputs: Nav_CatalogueInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Catálogo`) +}; + +const fr_nav_catalogue = /** @type {(inputs: Nav_CatalogueInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Catalogue`) +}; + +/** +* | output | +* | --- | +* | "Catalogue" | +* +* @param {Nav_CatalogueInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const nav_catalogue = /** @type {((inputs?: Nav_CatalogueInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_nav_catalogue(inputs) + if (locale === "ru") return ru_nav_catalogue(inputs) + if (locale === "id") return id_nav_catalogue(inputs) + if (locale === "pt") return pt_nav_catalogue(inputs) + return fr_nav_catalogue(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/nav_feedback.js b/ui/src/lib/paraglide/messages/nav_feedback.js new file mode 100644 index 0000000..37fe80c --- /dev/null +++ b/ui/src/lib/paraglide/messages/nav_feedback.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Nav_FeedbackInputs */ + +const en_nav_feedback = /** @type {(inputs: Nav_FeedbackInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Feedback`) +}; + +const ru_nav_feedback = /** @type {(inputs: Nav_FeedbackInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Обратная связь`) +}; + +const id_nav_feedback = /** @type {(inputs: Nav_FeedbackInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Masukan`) +}; + +const pt_nav_feedback = /** @type {(inputs: Nav_FeedbackInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Feedback`) +}; + +const fr_nav_feedback = /** @type {(inputs: Nav_FeedbackInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Retour`) +}; + +/** +* | output | +* | --- | +* | "Feedback" | +* +* @param {Nav_FeedbackInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const nav_feedback = /** @type {((inputs?: Nav_FeedbackInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_nav_feedback(inputs) + if (locale === "ru") return ru_nav_feedback(inputs) + if (locale === "id") return id_nav_feedback(inputs) + if (locale === "pt") return pt_nav_feedback(inputs) + return fr_nav_feedback(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/nav_library.js b/ui/src/lib/paraglide/messages/nav_library.js new file mode 100644 index 0000000..1d2c18f --- /dev/null +++ b/ui/src/lib/paraglide/messages/nav_library.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Nav_LibraryInputs */ + +const en_nav_library = /** @type {(inputs: Nav_LibraryInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Library`) +}; + +const ru_nav_library = /** @type {(inputs: Nav_LibraryInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Библиотека`) +}; + +const id_nav_library = /** @type {(inputs: Nav_LibraryInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Perpustakaan`) +}; + +const pt_nav_library = /** @type {(inputs: Nav_LibraryInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Biblioteca`) +}; + +const fr_nav_library = /** @type {(inputs: Nav_LibraryInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Bibliothèque`) +}; + +/** +* | output | +* | --- | +* | "Library" | +* +* @param {Nav_LibraryInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const nav_library = /** @type {((inputs?: Nav_LibraryInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_nav_library(inputs) + if (locale === "ru") return ru_nav_library(inputs) + if (locale === "id") return id_nav_library(inputs) + if (locale === "pt") return pt_nav_library(inputs) + return fr_nav_library(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/nav_profile.js b/ui/src/lib/paraglide/messages/nav_profile.js new file mode 100644 index 0000000..c4b84b7 --- /dev/null +++ b/ui/src/lib/paraglide/messages/nav_profile.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Nav_ProfileInputs */ + +const en_nav_profile = /** @type {(inputs: Nav_ProfileInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Profile`) +}; + +const ru_nav_profile = /** @type {(inputs: Nav_ProfileInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Профиль`) +}; + +const id_nav_profile = /** @type {(inputs: Nav_ProfileInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Profil`) +}; + +const pt_nav_profile = /** @type {(inputs: Nav_ProfileInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Perfil`) +}; + +const fr_nav_profile = /** @type {(inputs: Nav_ProfileInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Profil`) +}; + +/** +* | output | +* | --- | +* | "Profile" | +* +* @param {Nav_ProfileInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const nav_profile = /** @type {((inputs?: Nav_ProfileInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_nav_profile(inputs) + if (locale === "ru") return ru_nav_profile(inputs) + if (locale === "id") return id_nav_profile(inputs) + if (locale === "pt") return pt_nav_profile(inputs) + return fr_nav_profile(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/nav_sign_in.js b/ui/src/lib/paraglide/messages/nav_sign_in.js new file mode 100644 index 0000000..b50ceb1 --- /dev/null +++ b/ui/src/lib/paraglide/messages/nav_sign_in.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Nav_Sign_InInputs */ + +const en_nav_sign_in = /** @type {(inputs: Nav_Sign_InInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Sign in`) +}; + +const ru_nav_sign_in = /** @type {(inputs: Nav_Sign_InInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Войти`) +}; + +const id_nav_sign_in = /** @type {(inputs: Nav_Sign_InInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Masuk`) +}; + +const pt_nav_sign_in = /** @type {(inputs: Nav_Sign_InInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Entrar`) +}; + +const fr_nav_sign_in = /** @type {(inputs: Nav_Sign_InInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Connexion`) +}; + +/** +* | output | +* | --- | +* | "Sign in" | +* +* @param {Nav_Sign_InInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const nav_sign_in = /** @type {((inputs?: Nav_Sign_InInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_nav_sign_in(inputs) + if (locale === "ru") return ru_nav_sign_in(inputs) + if (locale === "id") return id_nav_sign_in(inputs) + if (locale === "pt") return pt_nav_sign_in(inputs) + return fr_nav_sign_in(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/nav_sign_out.js b/ui/src/lib/paraglide/messages/nav_sign_out.js new file mode 100644 index 0000000..26e1e43 --- /dev/null +++ b/ui/src/lib/paraglide/messages/nav_sign_out.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Nav_Sign_OutInputs */ + +const en_nav_sign_out = /** @type {(inputs: Nav_Sign_OutInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Sign out`) +}; + +const ru_nav_sign_out = /** @type {(inputs: Nav_Sign_OutInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Выйти`) +}; + +const id_nav_sign_out = /** @type {(inputs: Nav_Sign_OutInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Keluar`) +}; + +const pt_nav_sign_out = /** @type {(inputs: Nav_Sign_OutInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Sair`) +}; + +const fr_nav_sign_out = /** @type {(inputs: Nav_Sign_OutInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Déconnexion`) +}; + +/** +* | output | +* | --- | +* | "Sign out" | +* +* @param {Nav_Sign_OutInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const nav_sign_out = /** @type {((inputs?: Nav_Sign_OutInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_nav_sign_out(inputs) + if (locale === "ru") return ru_nav_sign_out(inputs) + if (locale === "id") return id_nav_sign_out(inputs) + if (locale === "pt") return pt_nav_sign_out(inputs) + return fr_nav_sign_out(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/nav_toggle_menu.js b/ui/src/lib/paraglide/messages/nav_toggle_menu.js new file mode 100644 index 0000000..ad509d4 --- /dev/null +++ b/ui/src/lib/paraglide/messages/nav_toggle_menu.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Nav_Toggle_MenuInputs */ + +const en_nav_toggle_menu = /** @type {(inputs: Nav_Toggle_MenuInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Toggle menu`) +}; + +const ru_nav_toggle_menu = /** @type {(inputs: Nav_Toggle_MenuInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Меню`) +}; + +const id_nav_toggle_menu = /** @type {(inputs: Nav_Toggle_MenuInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Menu`) +}; + +const pt_nav_toggle_menu = /** @type {(inputs: Nav_Toggle_MenuInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Menu`) +}; + +const fr_nav_toggle_menu = /** @type {(inputs: Nav_Toggle_MenuInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Menu`) +}; + +/** +* | output | +* | --- | +* | "Toggle menu" | +* +* @param {Nav_Toggle_MenuInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const nav_toggle_menu = /** @type {((inputs?: Nav_Toggle_MenuInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_nav_toggle_menu(inputs) + if (locale === "ru") return ru_nav_toggle_menu(inputs) + if (locale === "id") return id_nav_toggle_menu(inputs) + if (locale === "pt") return pt_nav_toggle_menu(inputs) + return fr_nav_toggle_menu(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/player_auto_next_aria.js b/ui/src/lib/paraglide/messages/player_auto_next_aria.js new file mode 100644 index 0000000..de61c14 --- /dev/null +++ b/ui/src/lib/paraglide/messages/player_auto_next_aria.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{ state: NonNullable }} Player_Auto_Next_AriaInputs */ + +const en_player_auto_next_aria = /** @type {(inputs: Player_Auto_Next_AriaInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Auto-next ${i?.state}`) +}; + +const ru_player_auto_next_aria = /** @type {(inputs: Player_Auto_Next_AriaInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Автопереход ${i?.state}`) +}; + +const id_player_auto_next_aria = /** @type {(inputs: Player_Auto_Next_AriaInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Auto-lanjut ${i?.state}`) +}; + +const pt_player_auto_next_aria = /** @type {(inputs: Player_Auto_Next_AriaInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Próximo automático ${i?.state}`) +}; + +const fr_player_auto_next_aria = /** @type {(inputs: Player_Auto_Next_AriaInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Suivant auto ${i?.state}`) +}; + +/** +* | output | +* | --- | +* | "Auto-next {state}" | +* +* @param {Player_Auto_Next_AriaInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const player_auto_next_aria = /** @type {((inputs: Player_Auto_Next_AriaInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_player_auto_next_aria(inputs) + if (locale === "ru") return ru_player_auto_next_aria(inputs) + if (locale === "id") return id_player_auto_next_aria(inputs) + if (locale === "pt") return pt_player_auto_next_aria(inputs) + return fr_player_auto_next_aria(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/player_auto_next_off.js b/ui/src/lib/paraglide/messages/player_auto_next_off.js new file mode 100644 index 0000000..a1ffef3 --- /dev/null +++ b/ui/src/lib/paraglide/messages/player_auto_next_off.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Player_Auto_Next_OffInputs */ + +const en_player_auto_next_off = /** @type {(inputs: Player_Auto_Next_OffInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Auto-next off`) +}; + +const ru_player_auto_next_off = /** @type {(inputs: Player_Auto_Next_OffInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Автопереход выкл.`) +}; + +const id_player_auto_next_off = /** @type {(inputs: Player_Auto_Next_OffInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Auto-lanjut nonaktif`) +}; + +const pt_player_auto_next_off = /** @type {(inputs: Player_Auto_Next_OffInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Próximo automático desativado`) +}; + +const fr_player_auto_next_off = /** @type {(inputs: Player_Auto_Next_OffInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Suivant auto désactivé`) +}; + +/** +* | output | +* | --- | +* | "Auto-next off" | +* +* @param {Player_Auto_Next_OffInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const player_auto_next_off = /** @type {((inputs?: Player_Auto_Next_OffInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_player_auto_next_off(inputs) + if (locale === "ru") return ru_player_auto_next_off(inputs) + if (locale === "id") return id_player_auto_next_off(inputs) + if (locale === "pt") return pt_player_auto_next_off(inputs) + return fr_player_auto_next_off(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/player_auto_next_on.js b/ui/src/lib/paraglide/messages/player_auto_next_on.js new file mode 100644 index 0000000..67f3e60 --- /dev/null +++ b/ui/src/lib/paraglide/messages/player_auto_next_on.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Player_Auto_Next_OnInputs */ + +const en_player_auto_next_on = /** @type {(inputs: Player_Auto_Next_OnInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Auto-next on`) +}; + +const ru_player_auto_next_on = /** @type {(inputs: Player_Auto_Next_OnInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Автопереход вкл.`) +}; + +const id_player_auto_next_on = /** @type {(inputs: Player_Auto_Next_OnInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Auto-lanjut aktif`) +}; + +const pt_player_auto_next_on = /** @type {(inputs: Player_Auto_Next_OnInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Próximo automático ativado`) +}; + +const fr_player_auto_next_on = /** @type {(inputs: Player_Auto_Next_OnInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Suivant auto activé`) +}; + +/** +* | output | +* | --- | +* | "Auto-next on" | +* +* @param {Player_Auto_Next_OnInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const player_auto_next_on = /** @type {((inputs?: Player_Auto_Next_OnInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_player_auto_next_on(inputs) + if (locale === "ru") return ru_player_auto_next_on(inputs) + if (locale === "id") return id_player_auto_next_on(inputs) + if (locale === "pt") return pt_player_auto_next_on(inputs) + return fr_player_auto_next_on(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/player_auto_next_preparing.js b/ui/src/lib/paraglide/messages/player_auto_next_preparing.js new file mode 100644 index 0000000..ab13c01 --- /dev/null +++ b/ui/src/lib/paraglide/messages/player_auto_next_preparing.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{ n: NonNullable }} Player_Auto_Next_PreparingInputs */ + +const en_player_auto_next_preparing = /** @type {(inputs: Player_Auto_Next_PreparingInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Auto-next on — preparing Ch.${i?.n}…`) +}; + +const ru_player_auto_next_preparing = /** @type {(inputs: Player_Auto_Next_PreparingInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Автопереход — подготовка гл.${i?.n}…`) +}; + +const id_player_auto_next_preparing = /** @type {(inputs: Player_Auto_Next_PreparingInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Auto-lanjut — menyiapkan Bab.${i?.n}…`) +}; + +const pt_player_auto_next_preparing = /** @type {(inputs: Player_Auto_Next_PreparingInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Próximo automático — preparando Cap.${i?.n}…`) +}; + +const fr_player_auto_next_preparing = /** @type {(inputs: Player_Auto_Next_PreparingInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Suivant auto — préparation Ch.${i?.n}…`) +}; + +/** +* | output | +* | --- | +* | "Auto-next on — preparing Ch.{n}…" | +* +* @param {Player_Auto_Next_PreparingInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const player_auto_next_preparing = /** @type {((inputs: Player_Auto_Next_PreparingInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_player_auto_next_preparing(inputs) + if (locale === "ru") return ru_player_auto_next_preparing(inputs) + if (locale === "id") return id_player_auto_next_preparing(inputs) + if (locale === "pt") return pt_player_auto_next_preparing(inputs) + return fr_player_auto_next_preparing(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/player_auto_next_ready.js b/ui/src/lib/paraglide/messages/player_auto_next_ready.js new file mode 100644 index 0000000..a6ca74c --- /dev/null +++ b/ui/src/lib/paraglide/messages/player_auto_next_ready.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{ n: NonNullable }} Player_Auto_Next_ReadyInputs */ + +const en_player_auto_next_ready = /** @type {(inputs: Player_Auto_Next_ReadyInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Auto-next on — Ch.${i?.n} ready`) +}; + +const ru_player_auto_next_ready = /** @type {(inputs: Player_Auto_Next_ReadyInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Автопереход — гл.${i?.n} готова`) +}; + +const id_player_auto_next_ready = /** @type {(inputs: Player_Auto_Next_ReadyInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Auto-lanjut — Bab.${i?.n} siap`) +}; + +const pt_player_auto_next_ready = /** @type {(inputs: Player_Auto_Next_ReadyInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Próximo automático — Cap.${i?.n} pronto`) +}; + +const fr_player_auto_next_ready = /** @type {(inputs: Player_Auto_Next_ReadyInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Suivant auto — Ch.${i?.n} prêt`) +}; + +/** +* | output | +* | --- | +* | "Auto-next on — Ch.{n} ready" | +* +* @param {Player_Auto_Next_ReadyInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const player_auto_next_ready = /** @type {((inputs: Player_Auto_Next_ReadyInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_player_auto_next_ready(inputs) + if (locale === "ru") return ru_player_auto_next_ready(inputs) + if (locale === "id") return id_player_auto_next_ready(inputs) + if (locale === "pt") return pt_player_auto_next_ready(inputs) + return fr_player_auto_next_ready(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/player_back_15.js b/ui/src/lib/paraglide/messages/player_back_15.js new file mode 100644 index 0000000..8caf920 --- /dev/null +++ b/ui/src/lib/paraglide/messages/player_back_15.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Player_Back_15Inputs */ + +const en_player_back_15 = /** @type {(inputs: Player_Back_15Inputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Back 15s`) +}; + +const ru_player_back_15 = /** @type {(inputs: Player_Back_15Inputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`−15 сек`) +}; + +const id_player_back_15 = /** @type {(inputs: Player_Back_15Inputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`−15 dtk`) +}; + +const pt_player_back_15 = /** @type {(inputs: Player_Back_15Inputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`−15 s`) +}; + +const fr_player_back_15 = /** @type {(inputs: Player_Back_15Inputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`−15 s`) +}; + +/** +* | output | +* | --- | +* | "Back 15s" | +* +* @param {Player_Back_15Inputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const player_back_15 = /** @type {((inputs?: Player_Back_15Inputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_player_back_15(inputs) + if (locale === "ru") return ru_player_back_15(inputs) + if (locale === "id") return id_player_back_15(inputs) + if (locale === "pt") return pt_player_back_15(inputs) + return fr_player_back_15(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/player_change_speed.js b/ui/src/lib/paraglide/messages/player_change_speed.js new file mode 100644 index 0000000..9d9dc58 --- /dev/null +++ b/ui/src/lib/paraglide/messages/player_change_speed.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Player_Change_SpeedInputs */ + +const en_player_change_speed = /** @type {(inputs: Player_Change_SpeedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Change playback speed`) +}; + +const ru_player_change_speed = /** @type {(inputs: Player_Change_SpeedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Изменить скорость`) +}; + +const id_player_change_speed = /** @type {(inputs: Player_Change_SpeedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Ubah kecepatan`) +}; + +const pt_player_change_speed = /** @type {(inputs: Player_Change_SpeedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Mudar velocidade`) +}; + +const fr_player_change_speed = /** @type {(inputs: Player_Change_SpeedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Changer la vitesse`) +}; + +/** +* | output | +* | --- | +* | "Change playback speed" | +* +* @param {Player_Change_SpeedInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const player_change_speed = /** @type {((inputs?: Player_Change_SpeedInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_player_change_speed(inputs) + if (locale === "ru") return ru_player_change_speed(inputs) + if (locale === "id") return id_player_change_speed(inputs) + if (locale === "pt") return pt_player_change_speed(inputs) + return fr_player_change_speed(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/player_chapter_list_label.js b/ui/src/lib/paraglide/messages/player_chapter_list_label.js new file mode 100644 index 0000000..8cfbc31 --- /dev/null +++ b/ui/src/lib/paraglide/messages/player_chapter_list_label.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Player_Chapter_List_LabelInputs */ + +const en_player_chapter_list_label = /** @type {(inputs: Player_Chapter_List_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Chapter list`) +}; + +const ru_player_chapter_list_label = /** @type {(inputs: Player_Chapter_List_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Список глав`) +}; + +const id_player_chapter_list_label = /** @type {(inputs: Player_Chapter_List_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Daftar bab`) +}; + +const pt_player_chapter_list_label = /** @type {(inputs: Player_Chapter_List_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Lista de capítulos`) +}; + +const fr_player_chapter_list_label = /** @type {(inputs: Player_Chapter_List_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Liste des chapitres`) +}; + +/** +* | output | +* | --- | +* | "Chapter list" | +* +* @param {Player_Chapter_List_LabelInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const player_chapter_list_label = /** @type {((inputs?: Player_Chapter_List_LabelInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_player_chapter_list_label(inputs) + if (locale === "ru") return ru_player_chapter_list_label(inputs) + if (locale === "id") return id_player_chapter_list_label(inputs) + if (locale === "pt") return pt_player_chapter_list_label(inputs) + return fr_player_chapter_list_label(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/player_chapter_n.js b/ui/src/lib/paraglide/messages/player_chapter_n.js new file mode 100644 index 0000000..d27fd6a --- /dev/null +++ b/ui/src/lib/paraglide/messages/player_chapter_n.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{ n: NonNullable }} Player_Chapter_NInputs */ + +const en_player_chapter_n = /** @type {(inputs: Player_Chapter_NInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Chapter ${i?.n}`) +}; + +const ru_player_chapter_n = /** @type {(inputs: Player_Chapter_NInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Глава ${i?.n}`) +}; + +const id_player_chapter_n = /** @type {(inputs: Player_Chapter_NInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Bab ${i?.n}`) +}; + +const pt_player_chapter_n = /** @type {(inputs: Player_Chapter_NInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Capítulo ${i?.n}`) +}; + +const fr_player_chapter_n = /** @type {(inputs: Player_Chapter_NInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Chapitre ${i?.n}`) +}; + +/** +* | output | +* | --- | +* | "Chapter {n}" | +* +* @param {Player_Chapter_NInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const player_chapter_n = /** @type {((inputs: Player_Chapter_NInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_player_chapter_n(inputs) + if (locale === "ru") return ru_player_chapter_n(inputs) + if (locale === "id") return id_player_chapter_n(inputs) + if (locale === "pt") return pt_player_chapter_n(inputs) + return fr_player_chapter_n(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/player_chapters.js b/ui/src/lib/paraglide/messages/player_chapters.js new file mode 100644 index 0000000..312cbb5 --- /dev/null +++ b/ui/src/lib/paraglide/messages/player_chapters.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Player_ChaptersInputs */ + +const en_player_chapters = /** @type {(inputs: Player_ChaptersInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Chapters`) +}; + +const ru_player_chapters = /** @type {(inputs: Player_ChaptersInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Главы`) +}; + +const id_player_chapters = /** @type {(inputs: Player_ChaptersInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Bab`) +}; + +const pt_player_chapters = /** @type {(inputs: Player_ChaptersInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Capítulos`) +}; + +const fr_player_chapters = /** @type {(inputs: Player_ChaptersInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Chapitres`) +}; + +/** +* | output | +* | --- | +* | "Chapters" | +* +* @param {Player_ChaptersInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const player_chapters = /** @type {((inputs?: Player_ChaptersInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_player_chapters(inputs) + if (locale === "ru") return ru_player_chapters(inputs) + if (locale === "id") return id_player_chapters(inputs) + if (locale === "pt") return pt_player_chapters(inputs) + return fr_player_chapters(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/player_close.js b/ui/src/lib/paraglide/messages/player_close.js new file mode 100644 index 0000000..d71a391 --- /dev/null +++ b/ui/src/lib/paraglide/messages/player_close.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Player_CloseInputs */ + +const en_player_close = /** @type {(inputs: Player_CloseInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Close player`) +}; + +const ru_player_close = /** @type {(inputs: Player_CloseInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Закрыть плеер`) +}; + +const id_player_close = /** @type {(inputs: Player_CloseInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Tutup pemutar`) +}; + +const pt_player_close = /** @type {(inputs: Player_CloseInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Fechar player`) +}; + +const fr_player_close = /** @type {(inputs: Player_CloseInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Fermer le lecteur`) +}; + +/** +* | output | +* | --- | +* | "Close player" | +* +* @param {Player_CloseInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const player_close = /** @type {((inputs?: Player_CloseInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_player_close(inputs) + if (locale === "ru") return ru_player_close(inputs) + if (locale === "id") return id_player_close(inputs) + if (locale === "pt") return pt_player_close(inputs) + return fr_player_close(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/player_close_chapter_list.js b/ui/src/lib/paraglide/messages/player_close_chapter_list.js new file mode 100644 index 0000000..2e55ab0 --- /dev/null +++ b/ui/src/lib/paraglide/messages/player_close_chapter_list.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Player_Close_Chapter_ListInputs */ + +const en_player_close_chapter_list = /** @type {(inputs: Player_Close_Chapter_ListInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Close chapter list`) +}; + +const ru_player_close_chapter_list = /** @type {(inputs: Player_Close_Chapter_ListInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Закрыть список глав`) +}; + +const id_player_close_chapter_list = /** @type {(inputs: Player_Close_Chapter_ListInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Tutup daftar bab`) +}; + +const pt_player_close_chapter_list = /** @type {(inputs: Player_Close_Chapter_ListInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Fechar lista de capítulos`) +}; + +const fr_player_close_chapter_list = /** @type {(inputs: Player_Close_Chapter_ListInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Fermer la liste des chapitres`) +}; + +/** +* | output | +* | --- | +* | "Close chapter list" | +* +* @param {Player_Close_Chapter_ListInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const player_close_chapter_list = /** @type {((inputs?: Player_Close_Chapter_ListInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_player_close_chapter_list(inputs) + if (locale === "ru") return ru_player_close_chapter_list(inputs) + if (locale === "id") return id_player_close_chapter_list(inputs) + if (locale === "pt") return pt_player_close_chapter_list(inputs) + return fr_player_close_chapter_list(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/player_forward_30.js b/ui/src/lib/paraglide/messages/player_forward_30.js new file mode 100644 index 0000000..146ad85 --- /dev/null +++ b/ui/src/lib/paraglide/messages/player_forward_30.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Player_Forward_30Inputs */ + +const en_player_forward_30 = /** @type {(inputs: Player_Forward_30Inputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Forward 30s`) +}; + +const ru_player_forward_30 = /** @type {(inputs: Player_Forward_30Inputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`+30 сек`) +}; + +const id_player_forward_30 = /** @type {(inputs: Player_Forward_30Inputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`+30 dtk`) +}; + +const pt_player_forward_30 = /** @type {(inputs: Player_Forward_30Inputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`+30 s`) +}; + +const fr_player_forward_30 = /** @type {(inputs: Player_Forward_30Inputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`+30 s`) +}; + +/** +* | output | +* | --- | +* | "Forward 30s" | +* +* @param {Player_Forward_30Inputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const player_forward_30 = /** @type {((inputs?: Player_Forward_30Inputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_player_forward_30(inputs) + if (locale === "ru") return ru_player_forward_30(inputs) + if (locale === "id") return id_player_forward_30(inputs) + if (locale === "pt") return pt_player_forward_30(inputs) + return fr_player_forward_30(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/player_generating.js b/ui/src/lib/paraglide/messages/player_generating.js new file mode 100644 index 0000000..4650d9d --- /dev/null +++ b/ui/src/lib/paraglide/messages/player_generating.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{ percent: NonNullable }} Player_GeneratingInputs */ + +const en_player_generating = /** @type {(inputs: Player_GeneratingInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Generating… ${i?.percent}%`) +}; + +const ru_player_generating = /** @type {(inputs: Player_GeneratingInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Генерация… ${i?.percent}%`) +}; + +const id_player_generating = /** @type {(inputs: Player_GeneratingInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Membuat… ${i?.percent}%`) +}; + +const pt_player_generating = /** @type {(inputs: Player_GeneratingInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Gerando… ${i?.percent}%`) +}; + +const fr_player_generating = /** @type {(inputs: Player_GeneratingInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Génération… ${i?.percent}%`) +}; + +/** +* | output | +* | --- | +* | "Generating… {percent}%" | +* +* @param {Player_GeneratingInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const player_generating = /** @type {((inputs: Player_GeneratingInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_player_generating(inputs) + if (locale === "ru") return ru_player_generating(inputs) + if (locale === "id") return id_player_generating(inputs) + if (locale === "pt") return pt_player_generating(inputs) + return fr_player_generating(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/player_go_to_chapter.js b/ui/src/lib/paraglide/messages/player_go_to_chapter.js new file mode 100644 index 0000000..9ca3ddc --- /dev/null +++ b/ui/src/lib/paraglide/messages/player_go_to_chapter.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Player_Go_To_ChapterInputs */ + +const en_player_go_to_chapter = /** @type {(inputs: Player_Go_To_ChapterInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Go to chapter`) +}; + +const ru_player_go_to_chapter = /** @type {(inputs: Player_Go_To_ChapterInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Перейти к главе`) +}; + +const id_player_go_to_chapter = /** @type {(inputs: Player_Go_To_ChapterInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Pergi ke bab`) +}; + +const pt_player_go_to_chapter = /** @type {(inputs: Player_Go_To_ChapterInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Ir para capítulo`) +}; + +const fr_player_go_to_chapter = /** @type {(inputs: Player_Go_To_ChapterInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Aller au chapitre`) +}; + +/** +* | output | +* | --- | +* | "Go to chapter" | +* +* @param {Player_Go_To_ChapterInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const player_go_to_chapter = /** @type {((inputs?: Player_Go_To_ChapterInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_player_go_to_chapter(inputs) + if (locale === "ru") return ru_player_go_to_chapter(inputs) + if (locale === "id") return id_player_go_to_chapter(inputs) + if (locale === "pt") return pt_player_go_to_chapter(inputs) + return fr_player_go_to_chapter(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/player_loading.js b/ui/src/lib/paraglide/messages/player_loading.js new file mode 100644 index 0000000..d4e1e12 --- /dev/null +++ b/ui/src/lib/paraglide/messages/player_loading.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Player_LoadingInputs */ + +const en_player_loading = /** @type {(inputs: Player_LoadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Loading…`) +}; + +const ru_player_loading = /** @type {(inputs: Player_LoadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Загрузка…`) +}; + +const id_player_loading = /** @type {(inputs: Player_LoadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Memuat…`) +}; + +const pt_player_loading = /** @type {(inputs: Player_LoadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Carregando…`) +}; + +const fr_player_loading = /** @type {(inputs: Player_LoadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Chargement…`) +}; + +/** +* | output | +* | --- | +* | "Loading…" | +* +* @param {Player_LoadingInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const player_loading = /** @type {((inputs?: Player_LoadingInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_player_loading(inputs) + if (locale === "ru") return ru_player_loading(inputs) + if (locale === "id") return id_player_loading(inputs) + if (locale === "pt") return pt_player_loading(inputs) + return fr_player_loading(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/player_pause.js b/ui/src/lib/paraglide/messages/player_pause.js new file mode 100644 index 0000000..dd59487 --- /dev/null +++ b/ui/src/lib/paraglide/messages/player_pause.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Player_PauseInputs */ + +const en_player_pause = /** @type {(inputs: Player_PauseInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Pause`) +}; + +const ru_player_pause = /** @type {(inputs: Player_PauseInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Пауза`) +}; + +const id_player_pause = /** @type {(inputs: Player_PauseInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Jeda`) +}; + +const pt_player_pause = /** @type {(inputs: Player_PauseInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Pausar`) +}; + +const fr_player_pause = /** @type {(inputs: Player_PauseInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Pause`) +}; + +/** +* | output | +* | --- | +* | "Pause" | +* +* @param {Player_PauseInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const player_pause = /** @type {((inputs?: Player_PauseInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_player_pause(inputs) + if (locale === "ru") return ru_player_pause(inputs) + if (locale === "id") return id_player_pause(inputs) + if (locale === "pt") return pt_player_pause(inputs) + return fr_player_pause(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/player_play.js b/ui/src/lib/paraglide/messages/player_play.js new file mode 100644 index 0000000..3bbd24c --- /dev/null +++ b/ui/src/lib/paraglide/messages/player_play.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Player_PlayInputs */ + +const en_player_play = /** @type {(inputs: Player_PlayInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Play`) +}; + +const ru_player_play = /** @type {(inputs: Player_PlayInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Воспроизвести`) +}; + +const id_player_play = /** @type {(inputs: Player_PlayInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Putar`) +}; + +const pt_player_play = /** @type {(inputs: Player_PlayInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Reproduzir`) +}; + +const fr_player_play = /** @type {(inputs: Player_PlayInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Lecture`) +}; + +/** +* | output | +* | --- | +* | "Play" | +* +* @param {Player_PlayInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const player_play = /** @type {((inputs?: Player_PlayInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_player_play(inputs) + if (locale === "ru") return ru_player_play(inputs) + if (locale === "id") return id_player_play(inputs) + if (locale === "pt") return pt_player_play(inputs) + return fr_player_play(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/player_rewind_15.js b/ui/src/lib/paraglide/messages/player_rewind_15.js new file mode 100644 index 0000000..cff5771 --- /dev/null +++ b/ui/src/lib/paraglide/messages/player_rewind_15.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Player_Rewind_15Inputs */ + +const en_player_rewind_15 = /** @type {(inputs: Player_Rewind_15Inputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Rewind 15 seconds`) +}; + +const ru_player_rewind_15 = /** @type {(inputs: Player_Rewind_15Inputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Назад 15 секунд`) +}; + +const id_player_rewind_15 = /** @type {(inputs: Player_Rewind_15Inputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Mundur 15 detik`) +}; + +const pt_player_rewind_15 = /** @type {(inputs: Player_Rewind_15Inputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Voltar 15 segundos`) +}; + +const fr_player_rewind_15 = /** @type {(inputs: Player_Rewind_15Inputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Reculer de 15 secondes`) +}; + +/** +* | output | +* | --- | +* | "Rewind 15 seconds" | +* +* @param {Player_Rewind_15Inputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const player_rewind_15 = /** @type {((inputs?: Player_Rewind_15Inputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_player_rewind_15(inputs) + if (locale === "ru") return ru_player_rewind_15(inputs) + if (locale === "id") return id_player_rewind_15(inputs) + if (locale === "pt") return pt_player_rewind_15(inputs) + return fr_player_rewind_15(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/player_seek_label.js b/ui/src/lib/paraglide/messages/player_seek_label.js new file mode 100644 index 0000000..d0d3634 --- /dev/null +++ b/ui/src/lib/paraglide/messages/player_seek_label.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Player_Seek_LabelInputs */ + +const en_player_seek_label = /** @type {(inputs: Player_Seek_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Chapter progress`) +}; + +const ru_player_seek_label = /** @type {(inputs: Player_Seek_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Прогресс главы`) +}; + +const id_player_seek_label = /** @type {(inputs: Player_Seek_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Kemajuan bab`) +}; + +const pt_player_seek_label = /** @type {(inputs: Player_Seek_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Progresso do capítulo`) +}; + +const fr_player_seek_label = /** @type {(inputs: Player_Seek_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Progression du chapitre`) +}; + +/** +* | output | +* | --- | +* | "Chapter progress" | +* +* @param {Player_Seek_LabelInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const player_seek_label = /** @type {((inputs?: Player_Seek_LabelInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_player_seek_label(inputs) + if (locale === "ru") return ru_player_seek_label(inputs) + if (locale === "id") return id_player_seek_label(inputs) + if (locale === "pt") return pt_player_seek_label(inputs) + return fr_player_seek_label(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/player_skip_30.js b/ui/src/lib/paraglide/messages/player_skip_30.js new file mode 100644 index 0000000..96965ec --- /dev/null +++ b/ui/src/lib/paraglide/messages/player_skip_30.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Player_Skip_30Inputs */ + +const en_player_skip_30 = /** @type {(inputs: Player_Skip_30Inputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Skip 30 seconds`) +}; + +const ru_player_skip_30 = /** @type {(inputs: Player_Skip_30Inputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Вперёд 30 секунд`) +}; + +const id_player_skip_30 = /** @type {(inputs: Player_Skip_30Inputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Maju 30 detik`) +}; + +const pt_player_skip_30 = /** @type {(inputs: Player_Skip_30Inputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Avançar 30 segundos`) +}; + +const fr_player_skip_30 = /** @type {(inputs: Player_Skip_30Inputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Avancer de 30 secondes`) +}; + +/** +* | output | +* | --- | +* | "Skip 30 seconds" | +* +* @param {Player_Skip_30Inputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const player_skip_30 = /** @type {((inputs?: Player_Skip_30Inputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_player_skip_30(inputs) + if (locale === "ru") return ru_player_skip_30(inputs) + if (locale === "id") return id_player_skip_30(inputs) + if (locale === "pt") return pt_player_skip_30(inputs) + return fr_player_skip_30(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/player_speed_label.js b/ui/src/lib/paraglide/messages/player_speed_label.js new file mode 100644 index 0000000..9879243 --- /dev/null +++ b/ui/src/lib/paraglide/messages/player_speed_label.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{ speed: NonNullable }} Player_Speed_LabelInputs */ + +const en_player_speed_label = /** @type {(inputs: Player_Speed_LabelInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Playback speed ${i?.speed}x`) +}; + +const ru_player_speed_label = /** @type {(inputs: Player_Speed_LabelInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Скорость ${i?.speed}x`) +}; + +const id_player_speed_label = /** @type {(inputs: Player_Speed_LabelInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Kecepatan ${i?.speed}x`) +}; + +const pt_player_speed_label = /** @type {(inputs: Player_Speed_LabelInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Velocidade ${i?.speed}x`) +}; + +const fr_player_speed_label = /** @type {(inputs: Player_Speed_LabelInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Vitesse ${i?.speed}x`) +}; + +/** +* | output | +* | --- | +* | "Playback speed {speed}x" | +* +* @param {Player_Speed_LabelInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const player_speed_label = /** @type {((inputs: Player_Speed_LabelInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_player_speed_label(inputs) + if (locale === "ru") return ru_player_speed_label(inputs) + if (locale === "id") return id_player_speed_label(inputs) + if (locale === "pt") return pt_player_speed_label(inputs) + return fr_player_speed_label(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/player_toggle_chapter_list.js b/ui/src/lib/paraglide/messages/player_toggle_chapter_list.js new file mode 100644 index 0000000..b130fb2 --- /dev/null +++ b/ui/src/lib/paraglide/messages/player_toggle_chapter_list.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Player_Toggle_Chapter_ListInputs */ + +const en_player_toggle_chapter_list = /** @type {(inputs: Player_Toggle_Chapter_ListInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Toggle chapter list`) +}; + +const ru_player_toggle_chapter_list = /** @type {(inputs: Player_Toggle_Chapter_ListInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Список глав`) +}; + +const id_player_toggle_chapter_list = /** @type {(inputs: Player_Toggle_Chapter_ListInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Daftar bab`) +}; + +const pt_player_toggle_chapter_list = /** @type {(inputs: Player_Toggle_Chapter_ListInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Lista de capítulos`) +}; + +const fr_player_toggle_chapter_list = /** @type {(inputs: Player_Toggle_Chapter_ListInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Liste des chapitres`) +}; + +/** +* | output | +* | --- | +* | "Toggle chapter list" | +* +* @param {Player_Toggle_Chapter_ListInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const player_toggle_chapter_list = /** @type {((inputs?: Player_Toggle_Chapter_ListInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_player_toggle_chapter_list(inputs) + if (locale === "ru") return ru_player_toggle_chapter_list(inputs) + if (locale === "id") return id_player_toggle_chapter_list(inputs) + if (locale === "pt") return pt_player_toggle_chapter_list(inputs) + return fr_player_toggle_chapter_list(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/privacy_page_title.js b/ui/src/lib/paraglide/messages/privacy_page_title.js new file mode 100644 index 0000000..cb578d2 --- /dev/null +++ b/ui/src/lib/paraglide/messages/privacy_page_title.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Privacy_Page_TitleInputs */ + +const en_privacy_page_title = /** @type {(inputs: Privacy_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Privacy Policy — libnovel`) +}; + +const ru_privacy_page_title = /** @type {(inputs: Privacy_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Политика конфиденциальности — libnovel`) +}; + +const id_privacy_page_title = /** @type {(inputs: Privacy_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Kebijakan Privasi — libnovel`) +}; + +const pt_privacy_page_title = /** @type {(inputs: Privacy_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Política de Privacidade — libnovel`) +}; + +const fr_privacy_page_title = /** @type {(inputs: Privacy_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Politique de confidentialité — libnovel`) +}; + +/** +* | output | +* | --- | +* | "Privacy Policy — libnovel" | +* +* @param {Privacy_Page_TitleInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const privacy_page_title = /** @type {((inputs?: Privacy_Page_TitleInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_privacy_page_title(inputs) + if (locale === "ru") return ru_privacy_page_title(inputs) + if (locale === "id") return id_privacy_page_title(inputs) + if (locale === "pt") return pt_privacy_page_title(inputs) + return fr_privacy_page_title(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_appearance_heading.js b/ui/src/lib/paraglide/messages/profile_appearance_heading.js new file mode 100644 index 0000000..5fef028 --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_appearance_heading.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Appearance_HeadingInputs */ + +const en_profile_appearance_heading = /** @type {(inputs: Profile_Appearance_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Appearance`) +}; + +const ru_profile_appearance_heading = /** @type {(inputs: Profile_Appearance_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Внешний вид`) +}; + +const id_profile_appearance_heading = /** @type {(inputs: Profile_Appearance_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Tampilan`) +}; + +const pt_profile_appearance_heading = /** @type {(inputs: Profile_Appearance_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Aparência`) +}; + +const fr_profile_appearance_heading = /** @type {(inputs: Profile_Appearance_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Apparence`) +}; + +/** +* | output | +* | --- | +* | "Appearance" | +* +* @param {Profile_Appearance_HeadingInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_appearance_heading = /** @type {((inputs?: Profile_Appearance_HeadingInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_appearance_heading(inputs) + if (locale === "ru") return ru_profile_appearance_heading(inputs) + if (locale === "id") return id_profile_appearance_heading(inputs) + if (locale === "pt") return pt_profile_appearance_heading(inputs) + return fr_profile_appearance_heading(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_auto_advance.js b/ui/src/lib/paraglide/messages/profile_auto_advance.js new file mode 100644 index 0000000..76c6bc8 --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_auto_advance.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Auto_AdvanceInputs */ + +const en_profile_auto_advance = /** @type {(inputs: Profile_Auto_AdvanceInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Auto-advance to next chapter`) +}; + +const ru_profile_auto_advance = /** @type {(inputs: Profile_Auto_AdvanceInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Автопереход к следующей главе`) +}; + +const id_profile_auto_advance = /** @type {(inputs: Profile_Auto_AdvanceInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Otomatis lanjut ke bab berikutnya`) +}; + +const pt_profile_auto_advance = /** @type {(inputs: Profile_Auto_AdvanceInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Avançar automaticamente para o próximo capítulo`) +}; + +const fr_profile_auto_advance = /** @type {(inputs: Profile_Auto_AdvanceInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Avancer automatiquement au chapitre suivant`) +}; + +/** +* | output | +* | --- | +* | "Auto-advance to next chapter" | +* +* @param {Profile_Auto_AdvanceInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_auto_advance = /** @type {((inputs?: Profile_Auto_AdvanceInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_auto_advance(inputs) + if (locale === "ru") return ru_profile_auto_advance(inputs) + if (locale === "id") return id_profile_auto_advance(inputs) + if (locale === "pt") return pt_profile_auto_advance(inputs) + return fr_profile_auto_advance(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_auto_next_label.js b/ui/src/lib/paraglide/messages/profile_auto_next_label.js new file mode 100644 index 0000000..e7d6709 --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_auto_next_label.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Auto_Next_LabelInputs */ + +const en_profile_auto_next_label = /** @type {(inputs: Profile_Auto_Next_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Auto-next chapter`) +}; + +const ru_profile_auto_next_label = /** @type {(inputs: Profile_Auto_Next_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Автопереход к следующей главе`) +}; + +const id_profile_auto_next_label = /** @type {(inputs: Profile_Auto_Next_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Auto-lanjut bab`) +}; + +const pt_profile_auto_next_label = /** @type {(inputs: Profile_Auto_Next_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Próximo capítulo automático`) +}; + +const fr_profile_auto_next_label = /** @type {(inputs: Profile_Auto_Next_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Chapitre suivant automatique`) +}; + +/** +* | output | +* | --- | +* | "Auto-next chapter" | +* +* @param {Profile_Auto_Next_LabelInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_auto_next_label = /** @type {((inputs?: Profile_Auto_Next_LabelInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_auto_next_label(inputs) + if (locale === "ru") return ru_profile_auto_next_label(inputs) + if (locale === "id") return id_profile_auto_next_label(inputs) + if (locale === "pt") return pt_profile_auto_next_label(inputs) + return fr_profile_auto_next_label(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_avatar_label.js b/ui/src/lib/paraglide/messages/profile_avatar_label.js new file mode 100644 index 0000000..37cd1fd --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_avatar_label.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Avatar_LabelInputs */ + +const en_profile_avatar_label = /** @type {(inputs: Profile_Avatar_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Avatar`) +}; + +const ru_profile_avatar_label = /** @type {(inputs: Profile_Avatar_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Аватар`) +}; + +const id_profile_avatar_label = /** @type {(inputs: Profile_Avatar_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Avatar`) +}; + +const pt_profile_avatar_label = /** @type {(inputs: Profile_Avatar_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Avatar`) +}; + +const fr_profile_avatar_label = /** @type {(inputs: Profile_Avatar_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Avatar`) +}; + +/** +* | output | +* | --- | +* | "Avatar" | +* +* @param {Profile_Avatar_LabelInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_avatar_label = /** @type {((inputs?: Profile_Avatar_LabelInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_avatar_label(inputs) + if (locale === "ru") return ru_profile_avatar_label(inputs) + if (locale === "id") return id_profile_avatar_label(inputs) + if (locale === "pt") return pt_profile_avatar_label(inputs) + return fr_profile_avatar_label(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_change_avatar.js b/ui/src/lib/paraglide/messages/profile_change_avatar.js new file mode 100644 index 0000000..cdab954 --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_change_avatar.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Change_AvatarInputs */ + +const en_profile_change_avatar = /** @type {(inputs: Profile_Change_AvatarInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Change avatar`) +}; + +const ru_profile_change_avatar = /** @type {(inputs: Profile_Change_AvatarInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Изменить аватар`) +}; + +const id_profile_change_avatar = /** @type {(inputs: Profile_Change_AvatarInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Ubah avatar`) +}; + +const pt_profile_change_avatar = /** @type {(inputs: Profile_Change_AvatarInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Mudar avatar`) +}; + +const fr_profile_change_avatar = /** @type {(inputs: Profile_Change_AvatarInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Changer l'avatar`) +}; + +/** +* | output | +* | --- | +* | "Change avatar" | +* +* @param {Profile_Change_AvatarInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_change_avatar = /** @type {((inputs?: Profile_Change_AvatarInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_change_avatar(inputs) + if (locale === "ru") return ru_profile_change_avatar(inputs) + if (locale === "id") return id_profile_change_avatar(inputs) + if (locale === "pt") return pt_profile_change_avatar(inputs) + return fr_profile_change_avatar(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_change_password.js b/ui/src/lib/paraglide/messages/profile_change_password.js new file mode 100644 index 0000000..d37acfb --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_change_password.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Change_PasswordInputs */ + +const en_profile_change_password = /** @type {(inputs: Profile_Change_PasswordInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Change password`) +}; + +const ru_profile_change_password = /** @type {(inputs: Profile_Change_PasswordInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Изменить пароль`) +}; + +const id_profile_change_password = /** @type {(inputs: Profile_Change_PasswordInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Ubah kata sandi`) +}; + +const pt_profile_change_password = /** @type {(inputs: Profile_Change_PasswordInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Mudar senha`) +}; + +const fr_profile_change_password = /** @type {(inputs: Profile_Change_PasswordInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Changer le mot de passe`) +}; + +/** +* | output | +* | --- | +* | "Change password" | +* +* @param {Profile_Change_PasswordInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_change_password = /** @type {((inputs?: Profile_Change_PasswordInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_change_password(inputs) + if (locale === "ru") return ru_profile_change_password(inputs) + if (locale === "id") return id_profile_change_password(inputs) + if (locale === "pt") return pt_profile_change_password(inputs) + return fr_profile_change_password(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_change_password_heading.js b/ui/src/lib/paraglide/messages/profile_change_password_heading.js new file mode 100644 index 0000000..00c19fd --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_change_password_heading.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Change_Password_HeadingInputs */ + +const en_profile_change_password_heading = /** @type {(inputs: Profile_Change_Password_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Change password`) +}; + +const ru_profile_change_password_heading = /** @type {(inputs: Profile_Change_Password_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Изменить пароль`) +}; + +const id_profile_change_password_heading = /** @type {(inputs: Profile_Change_Password_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Ubah kata sandi`) +}; + +const pt_profile_change_password_heading = /** @type {(inputs: Profile_Change_Password_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Mudar senha`) +}; + +const fr_profile_change_password_heading = /** @type {(inputs: Profile_Change_Password_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Changer le mot de passe`) +}; + +/** +* | output | +* | --- | +* | "Change password" | +* +* @param {Profile_Change_Password_HeadingInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_change_password_heading = /** @type {((inputs?: Profile_Change_Password_HeadingInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_change_password_heading(inputs) + if (locale === "ru") return ru_profile_change_password_heading(inputs) + if (locale === "id") return id_profile_change_password_heading(inputs) + if (locale === "pt") return pt_profile_change_password_heading(inputs) + return fr_profile_change_password_heading(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_click_to_change.js b/ui/src/lib/paraglide/messages/profile_click_to_change.js new file mode 100644 index 0000000..9aed8b4 --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_click_to_change.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Click_To_ChangeInputs */ + +const en_profile_click_to_change = /** @type {(inputs: Profile_Click_To_ChangeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Click avatar to change photo`) +}; + +const ru_profile_click_to_change = /** @type {(inputs: Profile_Click_To_ChangeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Нажмите на аватар для смены фото`) +}; + +const id_profile_click_to_change = /** @type {(inputs: Profile_Click_To_ChangeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Klik avatar untuk mengganti foto`) +}; + +const pt_profile_click_to_change = /** @type {(inputs: Profile_Click_To_ChangeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Clique no avatar para mudar a foto`) +}; + +const fr_profile_click_to_change = /** @type {(inputs: Profile_Click_To_ChangeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Cliquez sur l'avatar pour changer la photo`) +}; + +/** +* | output | +* | --- | +* | "Click avatar to change photo" | +* +* @param {Profile_Click_To_ChangeInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_click_to_change = /** @type {((inputs?: Profile_Click_To_ChangeInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_click_to_change(inputs) + if (locale === "ru") return ru_profile_click_to_change(inputs) + if (locale === "id") return id_profile_click_to_change(inputs) + if (locale === "pt") return pt_profile_click_to_change(inputs) + return fr_profile_click_to_change(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_confirm_password.js b/ui/src/lib/paraglide/messages/profile_confirm_password.js new file mode 100644 index 0000000..5e838f6 --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_confirm_password.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Confirm_PasswordInputs */ + +const en_profile_confirm_password = /** @type {(inputs: Profile_Confirm_PasswordInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Confirm password`) +}; + +const ru_profile_confirm_password = /** @type {(inputs: Profile_Confirm_PasswordInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Подтвердить пароль`) +}; + +const id_profile_confirm_password = /** @type {(inputs: Profile_Confirm_PasswordInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Konfirmasi kata sandi`) +}; + +const pt_profile_confirm_password = /** @type {(inputs: Profile_Confirm_PasswordInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Confirmar senha`) +}; + +const fr_profile_confirm_password = /** @type {(inputs: Profile_Confirm_PasswordInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Confirmer le mot de passe`) +}; + +/** +* | output | +* | --- | +* | "Confirm password" | +* +* @param {Profile_Confirm_PasswordInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_confirm_password = /** @type {((inputs?: Profile_Confirm_PasswordInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_confirm_password(inputs) + if (locale === "ru") return ru_profile_confirm_password(inputs) + if (locale === "id") return id_profile_confirm_password(inputs) + if (locale === "pt") return pt_profile_confirm_password(inputs) + return fr_profile_confirm_password(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_current_password.js b/ui/src/lib/paraglide/messages/profile_current_password.js new file mode 100644 index 0000000..0cbbd45 --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_current_password.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Current_PasswordInputs */ + +const en_profile_current_password = /** @type {(inputs: Profile_Current_PasswordInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Current password`) +}; + +const ru_profile_current_password = /** @type {(inputs: Profile_Current_PasswordInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Текущий пароль`) +}; + +const id_profile_current_password = /** @type {(inputs: Profile_Current_PasswordInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Kata sandi saat ini`) +}; + +const pt_profile_current_password = /** @type {(inputs: Profile_Current_PasswordInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Senha atual`) +}; + +const fr_profile_current_password = /** @type {(inputs: Profile_Current_PasswordInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Mot de passe actuel`) +}; + +/** +* | output | +* | --- | +* | "Current password" | +* +* @param {Profile_Current_PasswordInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_current_password = /** @type {((inputs?: Profile_Current_PasswordInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_current_password(inputs) + if (locale === "ru") return ru_profile_current_password(inputs) + if (locale === "id") return id_profile_current_password(inputs) + if (locale === "pt") return pt_profile_current_password(inputs) + return fr_profile_current_password(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_email.js b/ui/src/lib/paraglide/messages/profile_email.js new file mode 100644 index 0000000..ec631e9 --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_email.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_EmailInputs */ + +const en_profile_email = /** @type {(inputs: Profile_EmailInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Email`) +}; + +const ru_profile_email = /** @type {(inputs: Profile_EmailInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Email`) +}; + +const id_profile_email = /** @type {(inputs: Profile_EmailInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Email`) +}; + +const pt_profile_email = /** @type {(inputs: Profile_EmailInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Email`) +}; + +const fr_profile_email = /** @type {(inputs: Profile_EmailInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`E-mail`) +}; + +/** +* | output | +* | --- | +* | "Email" | +* +* @param {Profile_EmailInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_email = /** @type {((inputs?: Profile_EmailInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_email(inputs) + if (locale === "ru") return ru_profile_email(inputs) + if (locale === "id") return id_profile_email(inputs) + if (locale === "pt") return pt_profile_email(inputs) + return fr_profile_email(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_font_family.js b/ui/src/lib/paraglide/messages/profile_font_family.js new file mode 100644 index 0000000..46ae3cd --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_font_family.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Font_FamilyInputs */ + +const en_profile_font_family = /** @type {(inputs: Profile_Font_FamilyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Font Family`) +}; + +const ru_profile_font_family = /** @type {(inputs: Profile_Font_FamilyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Шрифт`) +}; + +const id_profile_font_family = /** @type {(inputs: Profile_Font_FamilyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Jenis Font`) +}; + +const pt_profile_font_family = /** @type {(inputs: Profile_Font_FamilyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Fonte`) +}; + +const fr_profile_font_family = /** @type {(inputs: Profile_Font_FamilyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Police`) +}; + +/** +* | output | +* | --- | +* | "Font Family" | +* +* @param {Profile_Font_FamilyInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_font_family = /** @type {((inputs?: Profile_Font_FamilyInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_font_family(inputs) + if (locale === "ru") return ru_profile_font_family(inputs) + if (locale === "id") return id_profile_font_family(inputs) + if (locale === "pt") return pt_profile_font_family(inputs) + return fr_profile_font_family(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_font_mono.js b/ui/src/lib/paraglide/messages/profile_font_mono.js new file mode 100644 index 0000000..06fdbe7 --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_font_mono.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Font_MonoInputs */ + +const en_profile_font_mono = /** @type {(inputs: Profile_Font_MonoInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Monospace`) +}; + +const ru_profile_font_mono = /** @type {(inputs: Profile_Font_MonoInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Моноширинный`) +}; + +const id_profile_font_mono = /** @type {(inputs: Profile_Font_MonoInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Mono`) +}; + +const pt_profile_font_mono = /** @type {(inputs: Profile_Font_MonoInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Mono`) +}; + +const fr_profile_font_mono = /** @type {(inputs: Profile_Font_MonoInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Mono`) +}; + +/** +* | output | +* | --- | +* | "Monospace" | +* +* @param {Profile_Font_MonoInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_font_mono = /** @type {((inputs?: Profile_Font_MonoInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_font_mono(inputs) + if (locale === "ru") return ru_profile_font_mono(inputs) + if (locale === "id") return id_profile_font_mono(inputs) + if (locale === "pt") return pt_profile_font_mono(inputs) + return fr_profile_font_mono(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_font_serif.js b/ui/src/lib/paraglide/messages/profile_font_serif.js new file mode 100644 index 0000000..0fe7129 --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_font_serif.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Font_SerifInputs */ + +const en_profile_font_serif = /** @type {(inputs: Profile_Font_SerifInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Serif`) +}; + +const ru_profile_font_serif = /** @type {(inputs: Profile_Font_SerifInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Serif`) +}; + +const id_profile_font_serif = /** @type {(inputs: Profile_Font_SerifInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Serif`) +}; + +const pt_profile_font_serif = /** @type {(inputs: Profile_Font_SerifInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Serif`) +}; + +const fr_profile_font_serif = /** @type {(inputs: Profile_Font_SerifInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Serif`) +}; + +/** +* | output | +* | --- | +* | "Serif" | +* +* @param {Profile_Font_SerifInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_font_serif = /** @type {((inputs?: Profile_Font_SerifInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_font_serif(inputs) + if (locale === "ru") return ru_profile_font_serif(inputs) + if (locale === "id") return id_profile_font_serif(inputs) + if (locale === "pt") return pt_profile_font_serif(inputs) + return fr_profile_font_serif(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_font_system.js b/ui/src/lib/paraglide/messages/profile_font_system.js new file mode 100644 index 0000000..6ee1183 --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_font_system.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Font_SystemInputs */ + +const en_profile_font_system = /** @type {(inputs: Profile_Font_SystemInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`System`) +}; + +const ru_profile_font_system = /** @type {(inputs: Profile_Font_SystemInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Системный`) +}; + +const id_profile_font_system = /** @type {(inputs: Profile_Font_SystemInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Sistem`) +}; + +const pt_profile_font_system = /** @type {(inputs: Profile_Font_SystemInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Sistema`) +}; + +const fr_profile_font_system = /** @type {(inputs: Profile_Font_SystemInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Système`) +}; + +/** +* | output | +* | --- | +* | "System" | +* +* @param {Profile_Font_SystemInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_font_system = /** @type {((inputs?: Profile_Font_SystemInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_font_system(inputs) + if (locale === "ru") return ru_profile_font_system(inputs) + if (locale === "id") return id_profile_font_system(inputs) + if (locale === "pt") return pt_profile_font_system(inputs) + return fr_profile_font_system(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_free_limits.js b/ui/src/lib/paraglide/messages/profile_free_limits.js new file mode 100644 index 0000000..18a9b40 --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_free_limits.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Free_LimitsInputs */ + +const en_profile_free_limits = /** @type {(inputs: Profile_Free_LimitsInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Free plan: 3 audio chapters per day, English reading only.`) +}; + +const ru_profile_free_limits = /** @type {(inputs: Profile_Free_LimitsInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Бесплатный план: 3 аудиоглавы в день, только английский.`) +}; + +const id_profile_free_limits = /** @type {(inputs: Profile_Free_LimitsInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Paket gratis: 3 bab audio per hari, hanya bahasa Inggris.`) +}; + +const pt_profile_free_limits = /** @type {(inputs: Profile_Free_LimitsInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Plano gratuito: 3 capítulos de áudio por dia, somente inglês.`) +}; + +const fr_profile_free_limits = /** @type {(inputs: Profile_Free_LimitsInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Plan gratuit : 3 chapitres audio par jour, lecture en anglais uniquement.`) +}; + +/** +* | output | +* | --- | +* | "Free plan: 3 audio chapters per day, English reading only." | +* +* @param {Profile_Free_LimitsInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_free_limits = /** @type {((inputs?: Profile_Free_LimitsInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_free_limits(inputs) + if (locale === "ru") return ru_profile_free_limits(inputs) + if (locale === "id") return id_profile_free_limits(inputs) + if (locale === "pt") return pt_profile_free_limits(inputs) + return fr_profile_free_limits(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_heading.js b/ui/src/lib/paraglide/messages/profile_heading.js new file mode 100644 index 0000000..8b676ef --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_heading.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_HeadingInputs */ + +const en_profile_heading = /** @type {(inputs: Profile_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Profile`) +}; + +const ru_profile_heading = /** @type {(inputs: Profile_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Профиль`) +}; + +const id_profile_heading = /** @type {(inputs: Profile_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Profil`) +}; + +const pt_profile_heading = /** @type {(inputs: Profile_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Perfil`) +}; + +const fr_profile_heading = /** @type {(inputs: Profile_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Profil`) +}; + +/** +* | output | +* | --- | +* | "Profile" | +* +* @param {Profile_HeadingInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_heading = /** @type {((inputs?: Profile_HeadingInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_heading(inputs) + if (locale === "ru") return ru_profile_heading(inputs) + if (locale === "id") return id_profile_heading(inputs) + if (locale === "pt") return pt_profile_heading(inputs) + return fr_profile_heading(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_joined.js b/ui/src/lib/paraglide/messages/profile_joined.js new file mode 100644 index 0000000..fa7ade3 --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_joined.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{ date: NonNullable }} Profile_JoinedInputs */ + +const en_profile_joined = /** @type {(inputs: Profile_JoinedInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Joined ${i?.date}`) +}; + +const ru_profile_joined = /** @type {(inputs: Profile_JoinedInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Зарегистрирован ${i?.date}`) +}; + +const id_profile_joined = /** @type {(inputs: Profile_JoinedInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Bergabung ${i?.date}`) +}; + +const pt_profile_joined = /** @type {(inputs: Profile_JoinedInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Entrou em ${i?.date}`) +}; + +const fr_profile_joined = /** @type {(inputs: Profile_JoinedInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Inscrit le ${i?.date}`) +}; + +/** +* | output | +* | --- | +* | "Joined {date}" | +* +* @param {Profile_JoinedInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_joined = /** @type {((inputs: Profile_JoinedInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_joined(inputs) + if (locale === "ru") return ru_profile_joined(inputs) + if (locale === "id") return id_profile_joined(inputs) + if (locale === "pt") return pt_profile_joined(inputs) + return fr_profile_joined(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_manage_subscription.js b/ui/src/lib/paraglide/messages/profile_manage_subscription.js new file mode 100644 index 0000000..f3bf103 --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_manage_subscription.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Manage_SubscriptionInputs */ + +const en_profile_manage_subscription = /** @type {(inputs: Profile_Manage_SubscriptionInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Manage subscription`) +}; + +const ru_profile_manage_subscription = /** @type {(inputs: Profile_Manage_SubscriptionInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Управление подпиской`) +}; + +const id_profile_manage_subscription = /** @type {(inputs: Profile_Manage_SubscriptionInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Kelola langganan`) +}; + +const pt_profile_manage_subscription = /** @type {(inputs: Profile_Manage_SubscriptionInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Gerenciar assinatura`) +}; + +const fr_profile_manage_subscription = /** @type {(inputs: Profile_Manage_SubscriptionInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Gérer l'abonnement`) +}; + +/** +* | output | +* | --- | +* | "Manage subscription" | +* +* @param {Profile_Manage_SubscriptionInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_manage_subscription = /** @type {((inputs?: Profile_Manage_SubscriptionInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_manage_subscription(inputs) + if (locale === "ru") return ru_profile_manage_subscription(inputs) + if (locale === "id") return id_profile_manage_subscription(inputs) + if (locale === "pt") return pt_profile_manage_subscription(inputs) + return fr_profile_manage_subscription(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_new_password.js b/ui/src/lib/paraglide/messages/profile_new_password.js new file mode 100644 index 0000000..00b4376 --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_new_password.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_New_PasswordInputs */ + +const en_profile_new_password = /** @type {(inputs: Profile_New_PasswordInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`New password`) +}; + +const ru_profile_new_password = /** @type {(inputs: Profile_New_PasswordInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Новый пароль`) +}; + +const id_profile_new_password = /** @type {(inputs: Profile_New_PasswordInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Kata sandi baru`) +}; + +const pt_profile_new_password = /** @type {(inputs: Profile_New_PasswordInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Nova senha`) +}; + +const fr_profile_new_password = /** @type {(inputs: Profile_New_PasswordInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Nouveau mot de passe`) +}; + +/** +* | output | +* | --- | +* | "New password" | +* +* @param {Profile_New_PasswordInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_new_password = /** @type {((inputs?: Profile_New_PasswordInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_new_password(inputs) + if (locale === "ru") return ru_profile_new_password(inputs) + if (locale === "id") return id_profile_new_password(inputs) + if (locale === "pt") return pt_profile_new_password(inputs) + return fr_profile_new_password(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_no_sessions.js b/ui/src/lib/paraglide/messages/profile_no_sessions.js new file mode 100644 index 0000000..2677cce --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_no_sessions.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_No_SessionsInputs */ + +const en_profile_no_sessions = /** @type {(inputs: Profile_No_SessionsInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`No session records found. Sessions are tracked from the next login.`) +}; + +const ru_profile_no_sessions = /** @type {(inputs: Profile_No_SessionsInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Записей сессий нет. Отслеживание начнётся со следующего входа.`) +}; + +const id_profile_no_sessions = /** @type {(inputs: Profile_No_SessionsInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Tidak ada catatan sesi. Sesi dilacak mulai login berikutnya.`) +}; + +const pt_profile_no_sessions = /** @type {(inputs: Profile_No_SessionsInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Nenhum registro de sessão encontrado. As sessões são rastreadas a partir do próximo login.`) +}; + +const fr_profile_no_sessions = /** @type {(inputs: Profile_No_SessionsInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Aucun enregistrement de session trouvé. Les sessions sont suivies dès la prochaine connexion.`) +}; + +/** +* | output | +* | --- | +* | "No session records found. Sessions are tracked from the next login." | +* +* @param {Profile_No_SessionsInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_no_sessions = /** @type {((inputs?: Profile_No_SessionsInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_no_sessions(inputs) + if (locale === "ru") return ru_profile_no_sessions(inputs) + if (locale === "id") return id_profile_no_sessions(inputs) + if (locale === "pt") return pt_profile_no_sessions(inputs) + return fr_profile_no_sessions(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_page_title.js b/ui/src/lib/paraglide/messages/profile_page_title.js new file mode 100644 index 0000000..0efef66 --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_page_title.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Page_TitleInputs */ + +const en_profile_page_title = /** @type {(inputs: Profile_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Profile — libnovel`) +}; + +const ru_profile_page_title = /** @type {(inputs: Profile_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Профиль — libnovel`) +}; + +const id_profile_page_title = /** @type {(inputs: Profile_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Profil — libnovel`) +}; + +const pt_profile_page_title = /** @type {(inputs: Profile_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Perfil — libnovel`) +}; + +const fr_profile_page_title = /** @type {(inputs: Profile_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Profil — libnovel`) +}; + +/** +* | output | +* | --- | +* | "Profile — libnovel" | +* +* @param {Profile_Page_TitleInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_page_title = /** @type {((inputs?: Profile_Page_TitleInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_page_title(inputs) + if (locale === "ru") return ru_profile_page_title(inputs) + if (locale === "id") return id_profile_page_title(inputs) + if (locale === "pt") return pt_profile_page_title(inputs) + return fr_profile_page_title(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_password_changed_ok.js b/ui/src/lib/paraglide/messages/profile_password_changed_ok.js new file mode 100644 index 0000000..f9facea --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_password_changed_ok.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Password_Changed_OkInputs */ + +const en_profile_password_changed_ok = /** @type {(inputs: Profile_Password_Changed_OkInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Password changed successfully.`) +}; + +const ru_profile_password_changed_ok = /** @type {(inputs: Profile_Password_Changed_OkInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Пароль успешно изменён.`) +}; + +const id_profile_password_changed_ok = /** @type {(inputs: Profile_Password_Changed_OkInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Kata sandi berhasil diubah.`) +}; + +const pt_profile_password_changed_ok = /** @type {(inputs: Profile_Password_Changed_OkInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Senha alterada com sucesso.`) +}; + +const fr_profile_password_changed_ok = /** @type {(inputs: Profile_Password_Changed_OkInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Mot de passe modifié avec succès.`) +}; + +/** +* | output | +* | --- | +* | "Password changed successfully." | +* +* @param {Profile_Password_Changed_OkInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_password_changed_ok = /** @type {((inputs?: Profile_Password_Changed_OkInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_password_changed_ok(inputs) + if (locale === "ru") return ru_profile_password_changed_ok(inputs) + if (locale === "id") return id_profile_password_changed_ok(inputs) + if (locale === "pt") return pt_profile_password_changed_ok(inputs) + return fr_profile_password_changed_ok(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_password_error.js b/ui/src/lib/paraglide/messages/profile_password_error.js new file mode 100644 index 0000000..a2547b4 --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_password_error.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Password_ErrorInputs */ + +const en_profile_password_error = /** @type {(inputs: Profile_Password_ErrorInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Failed to change password.`) +}; + +const ru_profile_password_error = /** @type {(inputs: Profile_Password_ErrorInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Не удалось изменить пароль.`) +}; + +const id_profile_password_error = /** @type {(inputs: Profile_Password_ErrorInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Gagal mengubah kata sandi.`) +}; + +const pt_profile_password_error = /** @type {(inputs: Profile_Password_ErrorInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Falha ao alterar a senha.`) +}; + +const fr_profile_password_error = /** @type {(inputs: Profile_Password_ErrorInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Impossible de modifier le mot de passe.`) +}; + +/** +* | output | +* | --- | +* | "Failed to change password." | +* +* @param {Profile_Password_ErrorInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_password_error = /** @type {((inputs?: Profile_Password_ErrorInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_password_error(inputs) + if (locale === "ru") return ru_profile_password_error(inputs) + if (locale === "id") return id_profile_password_error(inputs) + if (locale === "pt") return pt_profile_password_error(inputs) + return fr_profile_password_error(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_password_saved.js b/ui/src/lib/paraglide/messages/profile_password_saved.js new file mode 100644 index 0000000..eb31574 --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_password_saved.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Password_SavedInputs */ + +const en_profile_password_saved = /** @type {(inputs: Profile_Password_SavedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Password changed.`) +}; + +const ru_profile_password_saved = /** @type {(inputs: Profile_Password_SavedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Пароль изменён.`) +}; + +const id_profile_password_saved = /** @type {(inputs: Profile_Password_SavedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Kata sandi diubah.`) +}; + +const pt_profile_password_saved = /** @type {(inputs: Profile_Password_SavedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Senha alterada.`) +}; + +const fr_profile_password_saved = /** @type {(inputs: Profile_Password_SavedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Mot de passe modifié.`) +}; + +/** +* | output | +* | --- | +* | "Password changed." | +* +* @param {Profile_Password_SavedInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_password_saved = /** @type {((inputs?: Profile_Password_SavedInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_password_saved(inputs) + if (locale === "ru") return ru_profile_password_saved(inputs) + if (locale === "id") return id_profile_password_saved(inputs) + if (locale === "pt") return pt_profile_password_saved(inputs) + return fr_profile_password_saved(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_plan_free.js b/ui/src/lib/paraglide/messages/profile_plan_free.js new file mode 100644 index 0000000..4727117 --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_plan_free.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Plan_FreeInputs */ + +const en_profile_plan_free = /** @type {(inputs: Profile_Plan_FreeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Free`) +}; + +const ru_profile_plan_free = /** @type {(inputs: Profile_Plan_FreeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Бесплатно`) +}; + +const id_profile_plan_free = /** @type {(inputs: Profile_Plan_FreeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Gratis`) +}; + +const pt_profile_plan_free = /** @type {(inputs: Profile_Plan_FreeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Gratuito`) +}; + +const fr_profile_plan_free = /** @type {(inputs: Profile_Plan_FreeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Gratuit`) +}; + +/** +* | output | +* | --- | +* | "Free" | +* +* @param {Profile_Plan_FreeInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_plan_free = /** @type {((inputs?: Profile_Plan_FreeInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_plan_free(inputs) + if (locale === "ru") return ru_profile_plan_free(inputs) + if (locale === "id") return id_profile_plan_free(inputs) + if (locale === "pt") return pt_profile_plan_free(inputs) + return fr_profile_plan_free(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_plan_pro.js b/ui/src/lib/paraglide/messages/profile_plan_pro.js new file mode 100644 index 0000000..4338e77 --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_plan_pro.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Plan_ProInputs */ + +const en_profile_plan_pro = /** @type {(inputs: Profile_Plan_ProInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Pro`) +}; + +const ru_profile_plan_pro = /** @type {(inputs: Profile_Plan_ProInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Pro`) +}; + +const id_profile_plan_pro = /** @type {(inputs: Profile_Plan_ProInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Pro`) +}; + +const pt_profile_plan_pro = /** @type {(inputs: Profile_Plan_ProInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Pro`) +}; + +const fr_profile_plan_pro = /** @type {(inputs: Profile_Plan_ProInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Pro`) +}; + +/** +* | output | +* | --- | +* | "Pro" | +* +* @param {Profile_Plan_ProInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_plan_pro = /** @type {((inputs?: Profile_Plan_ProInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_plan_pro(inputs) + if (locale === "ru") return ru_profile_plan_pro(inputs) + if (locale === "id") return id_profile_plan_pro(inputs) + if (locale === "pt") return pt_profile_plan_pro(inputs) + return fr_profile_plan_pro(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_playback_speed.js b/ui/src/lib/paraglide/messages/profile_playback_speed.js new file mode 100644 index 0000000..e899b48 --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_playback_speed.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{ speed: NonNullable }} Profile_Playback_SpeedInputs */ + +const en_profile_playback_speed = /** @type {(inputs: Profile_Playback_SpeedInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Playback speed — ${i?.speed}x`) +}; + +const ru_profile_playback_speed = /** @type {(inputs: Profile_Playback_SpeedInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Скорость воспроизведения — ${i?.speed}x`) +}; + +const id_profile_playback_speed = /** @type {(inputs: Profile_Playback_SpeedInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Kecepatan pemutaran — ${i?.speed}x`) +}; + +const pt_profile_playback_speed = /** @type {(inputs: Profile_Playback_SpeedInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Velocidade de reprodução — ${i?.speed}x`) +}; + +const fr_profile_playback_speed = /** @type {(inputs: Profile_Playback_SpeedInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Vitesse de lecture — ${i?.speed}x`) +}; + +/** +* | output | +* | --- | +* | "Playback speed — {speed}x" | +* +* @param {Profile_Playback_SpeedInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_playback_speed = /** @type {((inputs: Profile_Playback_SpeedInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_playback_speed(inputs) + if (locale === "ru") return ru_profile_playback_speed(inputs) + if (locale === "id") return id_profile_playback_speed(inputs) + if (locale === "pt") return pt_profile_playback_speed(inputs) + return fr_profile_playback_speed(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_pro_active.js b/ui/src/lib/paraglide/messages/profile_pro_active.js new file mode 100644 index 0000000..288a4a8 --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_pro_active.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Pro_ActiveInputs */ + +const en_profile_pro_active = /** @type {(inputs: Profile_Pro_ActiveInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Your Pro subscription is active.`) +}; + +const ru_profile_pro_active = /** @type {(inputs: Profile_Pro_ActiveInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Ваша подписка Pro активна.`) +}; + +const id_profile_pro_active = /** @type {(inputs: Profile_Pro_ActiveInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Langganan Pro kamu aktif.`) +}; + +const pt_profile_pro_active = /** @type {(inputs: Profile_Pro_ActiveInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Sua assinatura Pro está ativa.`) +}; + +const fr_profile_pro_active = /** @type {(inputs: Profile_Pro_ActiveInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Votre abonnement Pro est actif.`) +}; + +/** +* | output | +* | --- | +* | "Your Pro subscription is active." | +* +* @param {Profile_Pro_ActiveInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_pro_active = /** @type {((inputs?: Profile_Pro_ActiveInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_pro_active(inputs) + if (locale === "ru") return ru_profile_pro_active(inputs) + if (locale === "id") return id_profile_pro_active(inputs) + if (locale === "pt") return pt_profile_pro_active(inputs) + return fr_profile_pro_active(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_pro_perks.js b/ui/src/lib/paraglide/messages/profile_pro_perks.js new file mode 100644 index 0000000..07c6ac5 --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_pro_perks.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Pro_PerksInputs */ + +const en_profile_pro_perks = /** @type {(inputs: Profile_Pro_PerksInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Unlimited audio, all translation languages, and voice selection are enabled.`) +}; + +const ru_profile_pro_perks = /** @type {(inputs: Profile_Pro_PerksInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Безлимитное аудио, все языки перевода и выбор голоса доступны.`) +}; + +const id_profile_pro_perks = /** @type {(inputs: Profile_Pro_PerksInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Audio tanpa batas, semua bahasa terjemahan, dan pilihan suara tersedia.`) +}; + +const pt_profile_pro_perks = /** @type {(inputs: Profile_Pro_PerksInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Áudio ilimitado, todos os idiomas de tradução e seleção de voz estão habilitados.`) +}; + +const fr_profile_pro_perks = /** @type {(inputs: Profile_Pro_PerksInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Audio illimité, toutes les langues de traduction et la sélection de voix sont activées.`) +}; + +/** +* | output | +* | --- | +* | "Unlimited audio, all translation languages, and voice selection are enabled." | +* +* @param {Profile_Pro_PerksInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_pro_perks = /** @type {((inputs?: Profile_Pro_PerksInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_pro_perks(inputs) + if (locale === "ru") return ru_profile_pro_perks(inputs) + if (locale === "id") return id_profile_pro_perks(inputs) + if (locale === "pt") return pt_profile_pro_perks(inputs) + return fr_profile_pro_perks(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_reading_heading.js b/ui/src/lib/paraglide/messages/profile_reading_heading.js new file mode 100644 index 0000000..a9ae72e --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_reading_heading.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Reading_HeadingInputs */ + +const en_profile_reading_heading = /** @type {(inputs: Profile_Reading_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Reading settings`) +}; + +const ru_profile_reading_heading = /** @type {(inputs: Profile_Reading_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Настройки чтения`) +}; + +const id_profile_reading_heading = /** @type {(inputs: Profile_Reading_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Pengaturan membaca`) +}; + +const pt_profile_reading_heading = /** @type {(inputs: Profile_Reading_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Configurações de leitura`) +}; + +const fr_profile_reading_heading = /** @type {(inputs: Profile_Reading_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Paramètres de lecture`) +}; + +/** +* | output | +* | --- | +* | "Reading settings" | +* +* @param {Profile_Reading_HeadingInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_reading_heading = /** @type {((inputs?: Profile_Reading_HeadingInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_reading_heading(inputs) + if (locale === "ru") return ru_profile_reading_heading(inputs) + if (locale === "id") return id_profile_reading_heading(inputs) + if (locale === "pt") return pt_profile_reading_heading(inputs) + return fr_profile_reading_heading(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_save_password.js b/ui/src/lib/paraglide/messages/profile_save_password.js new file mode 100644 index 0000000..7464c6f --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_save_password.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Save_PasswordInputs */ + +const en_profile_save_password = /** @type {(inputs: Profile_Save_PasswordInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Save password`) +}; + +const ru_profile_save_password = /** @type {(inputs: Profile_Save_PasswordInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Сохранить пароль`) +}; + +const id_profile_save_password = /** @type {(inputs: Profile_Save_PasswordInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Simpan kata sandi`) +}; + +const pt_profile_save_password = /** @type {(inputs: Profile_Save_PasswordInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Salvar senha`) +}; + +const fr_profile_save_password = /** @type {(inputs: Profile_Save_PasswordInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Enregistrer le mot de passe`) +}; + +/** +* | output | +* | --- | +* | "Save password" | +* +* @param {Profile_Save_PasswordInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_save_password = /** @type {((inputs?: Profile_Save_PasswordInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_save_password(inputs) + if (locale === "ru") return ru_profile_save_password(inputs) + if (locale === "id") return id_profile_save_password(inputs) + if (locale === "pt") return pt_profile_save_password(inputs) + return fr_profile_save_password(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_save_settings.js b/ui/src/lib/paraglide/messages/profile_save_settings.js new file mode 100644 index 0000000..265b9fb --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_save_settings.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Save_SettingsInputs */ + +const en_profile_save_settings = /** @type {(inputs: Profile_Save_SettingsInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Save settings`) +}; + +const ru_profile_save_settings = /** @type {(inputs: Profile_Save_SettingsInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Сохранить настройки`) +}; + +const id_profile_save_settings = /** @type {(inputs: Profile_Save_SettingsInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Simpan pengaturan`) +}; + +const pt_profile_save_settings = /** @type {(inputs: Profile_Save_SettingsInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Salvar configurações`) +}; + +const fr_profile_save_settings = /** @type {(inputs: Profile_Save_SettingsInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Enregistrer les paramètres`) +}; + +/** +* | output | +* | --- | +* | "Save settings" | +* +* @param {Profile_Save_SettingsInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_save_settings = /** @type {((inputs?: Profile_Save_SettingsInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_save_settings(inputs) + if (locale === "ru") return ru_profile_save_settings(inputs) + if (locale === "id") return id_profile_save_settings(inputs) + if (locale === "pt") return pt_profile_save_settings(inputs) + return fr_profile_save_settings(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_saved.js b/ui/src/lib/paraglide/messages/profile_saved.js new file mode 100644 index 0000000..2a6afe2 --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_saved.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_SavedInputs */ + +const en_profile_saved = /** @type {(inputs: Profile_SavedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Saved!`) +}; + +const ru_profile_saved = /** @type {(inputs: Profile_SavedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Сохранено!`) +}; + +const id_profile_saved = /** @type {(inputs: Profile_SavedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Tersimpan!`) +}; + +const pt_profile_saved = /** @type {(inputs: Profile_SavedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Salvo!`) +}; + +const fr_profile_saved = /** @type {(inputs: Profile_SavedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Enregistré !`) +}; + +/** +* | output | +* | --- | +* | "Saved!" | +* +* @param {Profile_SavedInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_saved = /** @type {((inputs?: Profile_SavedInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_saved(inputs) + if (locale === "ru") return ru_profile_saved(inputs) + if (locale === "id") return id_profile_saved(inputs) + if (locale === "pt") return pt_profile_saved(inputs) + return fr_profile_saved(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_saving.js b/ui/src/lib/paraglide/messages/profile_saving.js new file mode 100644 index 0000000..49002e5 --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_saving.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_SavingInputs */ + +const en_profile_saving = /** @type {(inputs: Profile_SavingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Saving…`) +}; + +const ru_profile_saving = /** @type {(inputs: Profile_SavingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Сохранение…`) +}; + +const id_profile_saving = /** @type {(inputs: Profile_SavingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Menyimpan…`) +}; + +const pt_profile_saving = /** @type {(inputs: Profile_SavingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Salvando…`) +}; + +const fr_profile_saving = /** @type {(inputs: Profile_SavingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Enregistrement…`) +}; + +/** +* | output | +* | --- | +* | "Saving…" | +* +* @param {Profile_SavingInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_saving = /** @type {((inputs?: Profile_SavingInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_saving(inputs) + if (locale === "ru") return ru_profile_saving(inputs) + if (locale === "id") return id_profile_saving(inputs) + if (locale === "pt") return pt_profile_saving(inputs) + return fr_profile_saving(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_session_end.js b/ui/src/lib/paraglide/messages/profile_session_end.js new file mode 100644 index 0000000..c471b47 --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_session_end.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Session_EndInputs */ + +const en_profile_session_end = /** @type {(inputs: Profile_Session_EndInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`End`) +}; + +const ru_profile_session_end = /** @type {(inputs: Profile_Session_EndInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Завершить`) +}; + +const id_profile_session_end = /** @type {(inputs: Profile_Session_EndInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Akhiri`) +}; + +const pt_profile_session_end = /** @type {(inputs: Profile_Session_EndInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Encerrar`) +}; + +const fr_profile_session_end = /** @type {(inputs: Profile_Session_EndInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Terminer`) +}; + +/** +* | output | +* | --- | +* | "End" | +* +* @param {Profile_Session_EndInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_session_end = /** @type {((inputs?: Profile_Session_EndInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_session_end(inputs) + if (locale === "ru") return ru_profile_session_end(inputs) + if (locale === "id") return id_profile_session_end(inputs) + if (locale === "pt") return pt_profile_session_end(inputs) + return fr_profile_session_end(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_session_last_seen.js b/ui/src/lib/paraglide/messages/profile_session_last_seen.js new file mode 100644 index 0000000..ece128f --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_session_last_seen.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{ date: NonNullable }} Profile_Session_Last_SeenInputs */ + +const en_profile_session_last_seen = /** @type {(inputs: Profile_Session_Last_SeenInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`· Last seen ${i?.date}`) +}; + +const ru_profile_session_last_seen = /** @type {(inputs: Profile_Session_Last_SeenInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`· Последний визит ${i?.date}`) +}; + +const id_profile_session_last_seen = /** @type {(inputs: Profile_Session_Last_SeenInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`· Terakhir dilihat ${i?.date}`) +}; + +const pt_profile_session_last_seen = /** @type {(inputs: Profile_Session_Last_SeenInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`· Visto por último em ${i?.date}`) +}; + +const fr_profile_session_last_seen = /** @type {(inputs: Profile_Session_Last_SeenInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`· Dernière activité ${i?.date}`) +}; + +/** +* | output | +* | --- | +* | "· Last seen {date}" | +* +* @param {Profile_Session_Last_SeenInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_session_last_seen = /** @type {((inputs: Profile_Session_Last_SeenInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_session_last_seen(inputs) + if (locale === "ru") return ru_profile_session_last_seen(inputs) + if (locale === "id") return id_profile_session_last_seen(inputs) + if (locale === "pt") return pt_profile_session_last_seen(inputs) + return fr_profile_session_last_seen(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_session_sign_out.js b/ui/src/lib/paraglide/messages/profile_session_sign_out.js new file mode 100644 index 0000000..5740cd6 --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_session_sign_out.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Session_Sign_OutInputs */ + +const en_profile_session_sign_out = /** @type {(inputs: Profile_Session_Sign_OutInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Sign out`) +}; + +const ru_profile_session_sign_out = /** @type {(inputs: Profile_Session_Sign_OutInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Выйти`) +}; + +const id_profile_session_sign_out = /** @type {(inputs: Profile_Session_Sign_OutInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Keluar`) +}; + +const pt_profile_session_sign_out = /** @type {(inputs: Profile_Session_Sign_OutInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Sair`) +}; + +const fr_profile_session_sign_out = /** @type {(inputs: Profile_Session_Sign_OutInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Se déconnecter`) +}; + +/** +* | output | +* | --- | +* | "Sign out" | +* +* @param {Profile_Session_Sign_OutInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_session_sign_out = /** @type {((inputs?: Profile_Session_Sign_OutInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_session_sign_out(inputs) + if (locale === "ru") return ru_profile_session_sign_out(inputs) + if (locale === "id") return id_profile_session_sign_out(inputs) + if (locale === "pt") return pt_profile_session_sign_out(inputs) + return fr_profile_session_sign_out(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_session_signed_in.js b/ui/src/lib/paraglide/messages/profile_session_signed_in.js new file mode 100644 index 0000000..737be81 --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_session_signed_in.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{ date: NonNullable }} Profile_Session_Signed_InInputs */ + +const en_profile_session_signed_in = /** @type {(inputs: Profile_Session_Signed_InInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Signed in ${i?.date}`) +}; + +const ru_profile_session_signed_in = /** @type {(inputs: Profile_Session_Signed_InInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Вход ${i?.date}`) +}; + +const id_profile_session_signed_in = /** @type {(inputs: Profile_Session_Signed_InInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Masuk ${i?.date}`) +}; + +const pt_profile_session_signed_in = /** @type {(inputs: Profile_Session_Signed_InInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Entrou em ${i?.date}`) +}; + +const fr_profile_session_signed_in = /** @type {(inputs: Profile_Session_Signed_InInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Connecté le ${i?.date}`) +}; + +/** +* | output | +* | --- | +* | "Signed in {date}" | +* +* @param {Profile_Session_Signed_InInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_session_signed_in = /** @type {((inputs: Profile_Session_Signed_InInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_session_signed_in(inputs) + if (locale === "ru") return ru_profile_session_signed_in(inputs) + if (locale === "id") return id_profile_session_signed_in(inputs) + if (locale === "pt") return pt_profile_session_signed_in(inputs) + return fr_profile_session_signed_in(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_session_this.js b/ui/src/lib/paraglide/messages/profile_session_this.js new file mode 100644 index 0000000..a1f38bb --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_session_this.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Session_ThisInputs */ + +const en_profile_session_this = /** @type {(inputs: Profile_Session_ThisInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`This session`) +}; + +const ru_profile_session_this = /** @type {(inputs: Profile_Session_ThisInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Текущая сессия`) +}; + +const id_profile_session_this = /** @type {(inputs: Profile_Session_ThisInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Sesi ini`) +}; + +const pt_profile_session_this = /** @type {(inputs: Profile_Session_ThisInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Esta sessão`) +}; + +const fr_profile_session_this = /** @type {(inputs: Profile_Session_ThisInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Cette session`) +}; + +/** +* | output | +* | --- | +* | "This session" | +* +* @param {Profile_Session_ThisInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_session_this = /** @type {((inputs?: Profile_Session_ThisInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_session_this(inputs) + if (locale === "ru") return ru_profile_session_this(inputs) + if (locale === "id") return id_profile_session_this(inputs) + if (locale === "pt") return pt_profile_session_this(inputs) + return fr_profile_session_this(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_session_unrecognised.js b/ui/src/lib/paraglide/messages/profile_session_unrecognised.js new file mode 100644 index 0000000..07b6091 --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_session_unrecognised.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Session_UnrecognisedInputs */ + +const en_profile_session_unrecognised = /** @type {(inputs: Profile_Session_UnrecognisedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`These are all devices currently signed into your account. End any session you don’t recognise.`) +}; + +const ru_profile_session_unrecognised = /** @type {(inputs: Profile_Session_UnrecognisedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Это все устройства, авторизованные в вашем аккаунте. Завершите любую сессию, которую не узнаёте.`) +}; + +const id_profile_session_unrecognised = /** @type {(inputs: Profile_Session_UnrecognisedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Ini semua perangkat yang masuk ke akunmu. Akhiri sesi yang tidak kamu kenali.`) +}; + +const pt_profile_session_unrecognised = /** @type {(inputs: Profile_Session_UnrecognisedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Estes são todos os dispositivos conectados à sua conta. Encerre qualquer sessão que não reconhecer.`) +}; + +const fr_profile_session_unrecognised = /** @type {(inputs: Profile_Session_UnrecognisedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Ce sont tous les appareils connectés à votre compte. Terminez toute session que vous ne reconnaissez pas.`) +}; + +/** +* | output | +* | --- | +* | "These are all devices currently signed into your account. End any session you don’t recognise." | +* +* @param {Profile_Session_UnrecognisedInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_session_unrecognised = /** @type {((inputs?: Profile_Session_UnrecognisedInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_session_unrecognised(inputs) + if (locale === "ru") return ru_profile_session_unrecognised(inputs) + if (locale === "id") return id_profile_session_unrecognised(inputs) + if (locale === "pt") return pt_profile_session_unrecognised(inputs) + return fr_profile_session_unrecognised(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_sessions_heading.js b/ui/src/lib/paraglide/messages/profile_sessions_heading.js new file mode 100644 index 0000000..726e743 --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_sessions_heading.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Sessions_HeadingInputs */ + +const en_profile_sessions_heading = /** @type {(inputs: Profile_Sessions_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Active sessions`) +}; + +const ru_profile_sessions_heading = /** @type {(inputs: Profile_Sessions_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Активные сессии`) +}; + +const id_profile_sessions_heading = /** @type {(inputs: Profile_Sessions_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Sesi aktif`) +}; + +const pt_profile_sessions_heading = /** @type {(inputs: Profile_Sessions_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Sessões ativas`) +}; + +const fr_profile_sessions_heading = /** @type {(inputs: Profile_Sessions_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Sessions actives`) +}; + +/** +* | output | +* | --- | +* | "Active sessions" | +* +* @param {Profile_Sessions_HeadingInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_sessions_heading = /** @type {((inputs?: Profile_Sessions_HeadingInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_sessions_heading(inputs) + if (locale === "ru") return ru_profile_sessions_heading(inputs) + if (locale === "id") return id_profile_sessions_heading(inputs) + if (locale === "pt") return pt_profile_sessions_heading(inputs) + return fr_profile_sessions_heading(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_settings_error.js b/ui/src/lib/paraglide/messages/profile_settings_error.js new file mode 100644 index 0000000..b66278b --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_settings_error.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Settings_ErrorInputs */ + +const en_profile_settings_error = /** @type {(inputs: Profile_Settings_ErrorInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Failed to save settings.`) +}; + +const ru_profile_settings_error = /** @type {(inputs: Profile_Settings_ErrorInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Не удалось сохранить настройки.`) +}; + +const id_profile_settings_error = /** @type {(inputs: Profile_Settings_ErrorInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Gagal menyimpan pengaturan.`) +}; + +const pt_profile_settings_error = /** @type {(inputs: Profile_Settings_ErrorInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Falha ao salvar configurações.`) +}; + +const fr_profile_settings_error = /** @type {(inputs: Profile_Settings_ErrorInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Impossible d'enregistrer les paramètres.`) +}; + +/** +* | output | +* | --- | +* | "Failed to save settings." | +* +* @param {Profile_Settings_ErrorInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_settings_error = /** @type {((inputs?: Profile_Settings_ErrorInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_settings_error(inputs) + if (locale === "ru") return ru_profile_settings_error(inputs) + if (locale === "id") return id_profile_settings_error(inputs) + if (locale === "pt") return pt_profile_settings_error(inputs) + return fr_profile_settings_error(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_settings_saved.js b/ui/src/lib/paraglide/messages/profile_settings_saved.js new file mode 100644 index 0000000..0c5360c --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_settings_saved.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Settings_SavedInputs */ + +const en_profile_settings_saved = /** @type {(inputs: Profile_Settings_SavedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Settings saved.`) +}; + +const ru_profile_settings_saved = /** @type {(inputs: Profile_Settings_SavedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Настройки сохранены.`) +}; + +const id_profile_settings_saved = /** @type {(inputs: Profile_Settings_SavedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Pengaturan disimpan.`) +}; + +const pt_profile_settings_saved = /** @type {(inputs: Profile_Settings_SavedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Configurações salvas.`) +}; + +const fr_profile_settings_saved = /** @type {(inputs: Profile_Settings_SavedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Paramètres enregistrés.`) +}; + +/** +* | output | +* | --- | +* | "Settings saved." | +* +* @param {Profile_Settings_SavedInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_settings_saved = /** @type {((inputs?: Profile_Settings_SavedInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_settings_saved(inputs) + if (locale === "ru") return ru_profile_settings_saved(inputs) + if (locale === "id") return id_profile_settings_saved(inputs) + if (locale === "pt") return pt_profile_settings_saved(inputs) + return fr_profile_settings_saved(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_sign_out_all.js b/ui/src/lib/paraglide/messages/profile_sign_out_all.js new file mode 100644 index 0000000..49b6651 --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_sign_out_all.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Sign_Out_AllInputs */ + +const en_profile_sign_out_all = /** @type {(inputs: Profile_Sign_Out_AllInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Sign out all other devices`) +}; + +const ru_profile_sign_out_all = /** @type {(inputs: Profile_Sign_Out_AllInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Выйти на всех других устройствах`) +}; + +const id_profile_sign_out_all = /** @type {(inputs: Profile_Sign_Out_AllInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Keluar dari semua perangkat lain`) +}; + +const pt_profile_sign_out_all = /** @type {(inputs: Profile_Sign_Out_AllInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Sair de todos os outros dispositivos`) +}; + +const fr_profile_sign_out_all = /** @type {(inputs: Profile_Sign_Out_AllInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Se déconnecter de tous les autres appareils`) +}; + +/** +* | output | +* | --- | +* | "Sign out all other devices" | +* +* @param {Profile_Sign_Out_AllInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_sign_out_all = /** @type {((inputs?: Profile_Sign_Out_AllInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_sign_out_all(inputs) + if (locale === "ru") return ru_profile_sign_out_all(inputs) + if (locale === "id") return id_profile_sign_out_all(inputs) + if (locale === "pt") return pt_profile_sign_out_all(inputs) + return fr_profile_sign_out_all(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_speed_label.js b/ui/src/lib/paraglide/messages/profile_speed_label.js new file mode 100644 index 0000000..6390fbd --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_speed_label.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Speed_LabelInputs */ + +const en_profile_speed_label = /** @type {(inputs: Profile_Speed_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Playback speed`) +}; + +const ru_profile_speed_label = /** @type {(inputs: Profile_Speed_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Скорость воспроизведения`) +}; + +const id_profile_speed_label = /** @type {(inputs: Profile_Speed_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Kecepatan pemutaran`) +}; + +const pt_profile_speed_label = /** @type {(inputs: Profile_Speed_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Velocidade de reprodução`) +}; + +const fr_profile_speed_label = /** @type {(inputs: Profile_Speed_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Vitesse de lecture`) +}; + +/** +* | output | +* | --- | +* | "Playback speed" | +* +* @param {Profile_Speed_LabelInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_speed_label = /** @type {((inputs?: Profile_Speed_LabelInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_speed_label(inputs) + if (locale === "ru") return ru_profile_speed_label(inputs) + if (locale === "id") return id_profile_speed_label(inputs) + if (locale === "pt") return pt_profile_speed_label(inputs) + return fr_profile_speed_label(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_subscription_heading.js b/ui/src/lib/paraglide/messages/profile_subscription_heading.js new file mode 100644 index 0000000..25dc9ba --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_subscription_heading.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Subscription_HeadingInputs */ + +const en_profile_subscription_heading = /** @type {(inputs: Profile_Subscription_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Subscription`) +}; + +const ru_profile_subscription_heading = /** @type {(inputs: Profile_Subscription_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Подписка`) +}; + +const id_profile_subscription_heading = /** @type {(inputs: Profile_Subscription_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Langganan`) +}; + +const pt_profile_subscription_heading = /** @type {(inputs: Profile_Subscription_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Assinatura`) +}; + +const fr_profile_subscription_heading = /** @type {(inputs: Profile_Subscription_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Abonnement`) +}; + +/** +* | output | +* | --- | +* | "Subscription" | +* +* @param {Profile_Subscription_HeadingInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_subscription_heading = /** @type {((inputs?: Profile_Subscription_HeadingInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_subscription_heading(inputs) + if (locale === "ru") return ru_profile_subscription_heading(inputs) + if (locale === "id") return id_profile_subscription_heading(inputs) + if (locale === "pt") return pt_profile_subscription_heading(inputs) + return fr_profile_subscription_heading(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_text_size.js b/ui/src/lib/paraglide/messages/profile_text_size.js new file mode 100644 index 0000000..08a261f --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_text_size.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Text_SizeInputs */ + +const en_profile_text_size = /** @type {(inputs: Profile_Text_SizeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Text Size`) +}; + +const ru_profile_text_size = /** @type {(inputs: Profile_Text_SizeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Размер текста`) +}; + +const id_profile_text_size = /** @type {(inputs: Profile_Text_SizeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Ukuran Teks`) +}; + +const pt_profile_text_size = /** @type {(inputs: Profile_Text_SizeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Tamanho do texto`) +}; + +const fr_profile_text_size = /** @type {(inputs: Profile_Text_SizeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Taille du texte`) +}; + +/** +* | output | +* | --- | +* | "Text Size" | +* +* @param {Profile_Text_SizeInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_text_size = /** @type {((inputs?: Profile_Text_SizeInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_text_size(inputs) + if (locale === "ru") return ru_profile_text_size(inputs) + if (locale === "id") return id_profile_text_size(inputs) + if (locale === "pt") return pt_profile_text_size(inputs) + return fr_profile_text_size(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_text_size_lg.js b/ui/src/lib/paraglide/messages/profile_text_size_lg.js new file mode 100644 index 0000000..ce6ba27 --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_text_size_lg.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Text_Size_LgInputs */ + +const en_profile_text_size_lg = /** @type {(inputs: Profile_Text_Size_LgInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Large`) +}; + +const ru_profile_text_size_lg = /** @type {(inputs: Profile_Text_Size_LgInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Большой`) +}; + +const id_profile_text_size_lg = /** @type {(inputs: Profile_Text_Size_LgInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Besar`) +}; + +const pt_profile_text_size_lg = /** @type {(inputs: Profile_Text_Size_LgInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Grande`) +}; + +const fr_profile_text_size_lg = /** @type {(inputs: Profile_Text_Size_LgInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Grand`) +}; + +/** +* | output | +* | --- | +* | "Large" | +* +* @param {Profile_Text_Size_LgInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_text_size_lg = /** @type {((inputs?: Profile_Text_Size_LgInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_text_size_lg(inputs) + if (locale === "ru") return ru_profile_text_size_lg(inputs) + if (locale === "id") return id_profile_text_size_lg(inputs) + if (locale === "pt") return pt_profile_text_size_lg(inputs) + return fr_profile_text_size_lg(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_text_size_md.js b/ui/src/lib/paraglide/messages/profile_text_size_md.js new file mode 100644 index 0000000..45b56da --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_text_size_md.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Text_Size_MdInputs */ + +const en_profile_text_size_md = /** @type {(inputs: Profile_Text_Size_MdInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Normal`) +}; + +const ru_profile_text_size_md = /** @type {(inputs: Profile_Text_Size_MdInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Нормальный`) +}; + +const id_profile_text_size_md = /** @type {(inputs: Profile_Text_Size_MdInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Normal`) +}; + +const pt_profile_text_size_md = /** @type {(inputs: Profile_Text_Size_MdInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Normal`) +}; + +const fr_profile_text_size_md = /** @type {(inputs: Profile_Text_Size_MdInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Normal`) +}; + +/** +* | output | +* | --- | +* | "Normal" | +* +* @param {Profile_Text_Size_MdInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_text_size_md = /** @type {((inputs?: Profile_Text_Size_MdInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_text_size_md(inputs) + if (locale === "ru") return ru_profile_text_size_md(inputs) + if (locale === "id") return id_profile_text_size_md(inputs) + if (locale === "pt") return pt_profile_text_size_md(inputs) + return fr_profile_text_size_md(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_text_size_sm.js b/ui/src/lib/paraglide/messages/profile_text_size_sm.js new file mode 100644 index 0000000..e5fb253 --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_text_size_sm.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Text_Size_SmInputs */ + +const en_profile_text_size_sm = /** @type {(inputs: Profile_Text_Size_SmInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Small`) +}; + +const ru_profile_text_size_sm = /** @type {(inputs: Profile_Text_Size_SmInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Маленький`) +}; + +const id_profile_text_size_sm = /** @type {(inputs: Profile_Text_Size_SmInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Kecil`) +}; + +const pt_profile_text_size_sm = /** @type {(inputs: Profile_Text_Size_SmInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Pequeno`) +}; + +const fr_profile_text_size_sm = /** @type {(inputs: Profile_Text_Size_SmInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Petit`) +}; + +/** +* | output | +* | --- | +* | "Small" | +* +* @param {Profile_Text_Size_SmInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_text_size_sm = /** @type {((inputs?: Profile_Text_Size_SmInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_text_size_sm(inputs) + if (locale === "ru") return ru_profile_text_size_sm(inputs) + if (locale === "id") return id_profile_text_size_sm(inputs) + if (locale === "pt") return pt_profile_text_size_sm(inputs) + return fr_profile_text_size_sm(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_text_size_xl.js b/ui/src/lib/paraglide/messages/profile_text_size_xl.js new file mode 100644 index 0000000..687aeb5 --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_text_size_xl.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Text_Size_XlInputs */ + +const en_profile_text_size_xl = /** @type {(inputs: Profile_Text_Size_XlInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`X-Large`) +}; + +const ru_profile_text_size_xl = /** @type {(inputs: Profile_Text_Size_XlInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Очень большой`) +}; + +const id_profile_text_size_xl = /** @type {(inputs: Profile_Text_Size_XlInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Sangat Besar`) +}; + +const pt_profile_text_size_xl = /** @type {(inputs: Profile_Text_Size_XlInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Muito grande`) +}; + +const fr_profile_text_size_xl = /** @type {(inputs: Profile_Text_Size_XlInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Très grand`) +}; + +/** +* | output | +* | --- | +* | "X-Large" | +* +* @param {Profile_Text_Size_XlInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_text_size_xl = /** @type {((inputs?: Profile_Text_Size_XlInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_text_size_xl(inputs) + if (locale === "ru") return ru_profile_text_size_xl(inputs) + if (locale === "id") return id_profile_text_size_xl(inputs) + if (locale === "pt") return pt_profile_text_size_xl(inputs) + return fr_profile_text_size_xl(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_theme_amber.js b/ui/src/lib/paraglide/messages/profile_theme_amber.js new file mode 100644 index 0000000..625fa7a --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_theme_amber.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Theme_AmberInputs */ + +const en_profile_theme_amber = /** @type {(inputs: Profile_Theme_AmberInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Amber`) +}; + +const ru_profile_theme_amber = /** @type {(inputs: Profile_Theme_AmberInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Янтарь`) +}; + +const id_profile_theme_amber = /** @type {(inputs: Profile_Theme_AmberInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Amber`) +}; + +const pt_profile_theme_amber = /** @type {(inputs: Profile_Theme_AmberInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Âmbar`) +}; + +const fr_profile_theme_amber = /** @type {(inputs: Profile_Theme_AmberInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Ambre`) +}; + +/** +* | output | +* | --- | +* | "Amber" | +* +* @param {Profile_Theme_AmberInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_theme_amber = /** @type {((inputs?: Profile_Theme_AmberInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_theme_amber(inputs) + if (locale === "ru") return ru_profile_theme_amber(inputs) + if (locale === "id") return id_profile_theme_amber(inputs) + if (locale === "pt") return pt_profile_theme_amber(inputs) + return fr_profile_theme_amber(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_theme_label.js b/ui/src/lib/paraglide/messages/profile_theme_label.js new file mode 100644 index 0000000..e2d2f89 --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_theme_label.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Theme_LabelInputs */ + +const en_profile_theme_label = /** @type {(inputs: Profile_Theme_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Theme`) +}; + +const ru_profile_theme_label = /** @type {(inputs: Profile_Theme_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Тема`) +}; + +const id_profile_theme_label = /** @type {(inputs: Profile_Theme_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Tema`) +}; + +const pt_profile_theme_label = /** @type {(inputs: Profile_Theme_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Tema`) +}; + +const fr_profile_theme_label = /** @type {(inputs: Profile_Theme_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Thème`) +}; + +/** +* | output | +* | --- | +* | "Theme" | +* +* @param {Profile_Theme_LabelInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_theme_label = /** @type {((inputs?: Profile_Theme_LabelInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_theme_label(inputs) + if (locale === "ru") return ru_profile_theme_label(inputs) + if (locale === "id") return id_profile_theme_label(inputs) + if (locale === "pt") return pt_profile_theme_label(inputs) + return fr_profile_theme_label(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_theme_light.js b/ui/src/lib/paraglide/messages/profile_theme_light.js new file mode 100644 index 0000000..57f2f22 --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_theme_light.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Theme_LightInputs */ + +const en_profile_theme_light = /** @type {(inputs: Profile_Theme_LightInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Light`) +}; + +const ru_profile_theme_light = /** @type {(inputs: Profile_Theme_LightInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Light`) +}; + +const id_profile_theme_light = /** @type {(inputs: Profile_Theme_LightInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Light`) +}; + +const pt_profile_theme_light = /** @type {(inputs: Profile_Theme_LightInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Light`) +}; + +const fr_profile_theme_light = /** @type {(inputs: Profile_Theme_LightInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Light`) +}; + +/** +* | output | +* | --- | +* | "Light" | +* +* @param {Profile_Theme_LightInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_theme_light = /** @type {((inputs?: Profile_Theme_LightInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_theme_light(inputs) + if (locale === "ru") return ru_profile_theme_light(inputs) + if (locale === "id") return id_profile_theme_light(inputs) + if (locale === "pt") return pt_profile_theme_light(inputs) + return fr_profile_theme_light(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_theme_light_rose.js b/ui/src/lib/paraglide/messages/profile_theme_light_rose.js new file mode 100644 index 0000000..dedec7f --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_theme_light_rose.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Theme_Light_RoseInputs */ + +const en_profile_theme_light_rose = /** @type {(inputs: Profile_Theme_Light_RoseInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Light Rose`) +}; + +const ru_profile_theme_light_rose = /** @type {(inputs: Profile_Theme_Light_RoseInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Light Rose`) +}; + +const id_profile_theme_light_rose = /** @type {(inputs: Profile_Theme_Light_RoseInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Light Rose`) +}; + +const pt_profile_theme_light_rose = /** @type {(inputs: Profile_Theme_Light_RoseInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Light Rose`) +}; + +const fr_profile_theme_light_rose = /** @type {(inputs: Profile_Theme_Light_RoseInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Light Rose`) +}; + +/** +* | output | +* | --- | +* | "Light Rose" | +* +* @param {Profile_Theme_Light_RoseInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_theme_light_rose = /** @type {((inputs?: Profile_Theme_Light_RoseInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_theme_light_rose(inputs) + if (locale === "ru") return ru_profile_theme_light_rose(inputs) + if (locale === "id") return id_profile_theme_light_rose(inputs) + if (locale === "pt") return pt_profile_theme_light_rose(inputs) + return fr_profile_theme_light_rose(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_theme_light_slate.js b/ui/src/lib/paraglide/messages/profile_theme_light_slate.js new file mode 100644 index 0000000..e5c7d93 --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_theme_light_slate.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Theme_Light_SlateInputs */ + +const en_profile_theme_light_slate = /** @type {(inputs: Profile_Theme_Light_SlateInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Light Blue`) +}; + +const ru_profile_theme_light_slate = /** @type {(inputs: Profile_Theme_Light_SlateInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Light Blue`) +}; + +const id_profile_theme_light_slate = /** @type {(inputs: Profile_Theme_Light_SlateInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Light Blue`) +}; + +const pt_profile_theme_light_slate = /** @type {(inputs: Profile_Theme_Light_SlateInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Light Blue`) +}; + +const fr_profile_theme_light_slate = /** @type {(inputs: Profile_Theme_Light_SlateInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Light Blue`) +}; + +/** +* | output | +* | --- | +* | "Light Blue" | +* +* @param {Profile_Theme_Light_SlateInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_theme_light_slate = /** @type {((inputs?: Profile_Theme_Light_SlateInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_theme_light_slate(inputs) + if (locale === "ru") return ru_profile_theme_light_slate(inputs) + if (locale === "id") return id_profile_theme_light_slate(inputs) + if (locale === "pt") return pt_profile_theme_light_slate(inputs) + return fr_profile_theme_light_slate(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_theme_rose.js b/ui/src/lib/paraglide/messages/profile_theme_rose.js new file mode 100644 index 0000000..2e43c71 --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_theme_rose.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Theme_RoseInputs */ + +const en_profile_theme_rose = /** @type {(inputs: Profile_Theme_RoseInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Rose`) +}; + +const ru_profile_theme_rose = /** @type {(inputs: Profile_Theme_RoseInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Роза`) +}; + +const id_profile_theme_rose = /** @type {(inputs: Profile_Theme_RoseInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Mawar`) +}; + +const pt_profile_theme_rose = /** @type {(inputs: Profile_Theme_RoseInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Rosa`) +}; + +const fr_profile_theme_rose = /** @type {(inputs: Profile_Theme_RoseInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Rose`) +}; + +/** +* | output | +* | --- | +* | "Rose" | +* +* @param {Profile_Theme_RoseInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_theme_rose = /** @type {((inputs?: Profile_Theme_RoseInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_theme_rose(inputs) + if (locale === "ru") return ru_profile_theme_rose(inputs) + if (locale === "id") return id_profile_theme_rose(inputs) + if (locale === "pt") return pt_profile_theme_rose(inputs) + return fr_profile_theme_rose(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_theme_slate.js b/ui/src/lib/paraglide/messages/profile_theme_slate.js new file mode 100644 index 0000000..a30bb7f --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_theme_slate.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Theme_SlateInputs */ + +const en_profile_theme_slate = /** @type {(inputs: Profile_Theme_SlateInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Slate`) +}; + +const ru_profile_theme_slate = /** @type {(inputs: Profile_Theme_SlateInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Сланец`) +}; + +const id_profile_theme_slate = /** @type {(inputs: Profile_Theme_SlateInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Abu-abu`) +}; + +const pt_profile_theme_slate = /** @type {(inputs: Profile_Theme_SlateInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Ardósia`) +}; + +const fr_profile_theme_slate = /** @type {(inputs: Profile_Theme_SlateInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Ardoise`) +}; + +/** +* | output | +* | --- | +* | "Slate" | +* +* @param {Profile_Theme_SlateInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_theme_slate = /** @type {((inputs?: Profile_Theme_SlateInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_theme_slate(inputs) + if (locale === "ru") return ru_profile_theme_slate(inputs) + if (locale === "id") return id_profile_theme_slate(inputs) + if (locale === "pt") return pt_profile_theme_slate(inputs) + return fr_profile_theme_slate(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_tts_voice.js b/ui/src/lib/paraglide/messages/profile_tts_voice.js new file mode 100644 index 0000000..4ea1f9d --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_tts_voice.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Tts_VoiceInputs */ + +const en_profile_tts_voice = /** @type {(inputs: Profile_Tts_VoiceInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`TTS voice`) +}; + +const ru_profile_tts_voice = /** @type {(inputs: Profile_Tts_VoiceInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Голос TTS`) +}; + +const id_profile_tts_voice = /** @type {(inputs: Profile_Tts_VoiceInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Suara TTS`) +}; + +const pt_profile_tts_voice = /** @type {(inputs: Profile_Tts_VoiceInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Voz TTS`) +}; + +const fr_profile_tts_voice = /** @type {(inputs: Profile_Tts_VoiceInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Voix TTS`) +}; + +/** +* | output | +* | --- | +* | "TTS voice" | +* +* @param {Profile_Tts_VoiceInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_tts_voice = /** @type {((inputs?: Profile_Tts_VoiceInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_tts_voice(inputs) + if (locale === "ru") return ru_profile_tts_voice(inputs) + if (locale === "id") return id_profile_tts_voice(inputs) + if (locale === "pt") return pt_profile_tts_voice(inputs) + return fr_profile_tts_voice(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_update_password.js b/ui/src/lib/paraglide/messages/profile_update_password.js new file mode 100644 index 0000000..cba55b6 --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_update_password.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Update_PasswordInputs */ + +const en_profile_update_password = /** @type {(inputs: Profile_Update_PasswordInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Update password`) +}; + +const ru_profile_update_password = /** @type {(inputs: Profile_Update_PasswordInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Обновить пароль`) +}; + +const id_profile_update_password = /** @type {(inputs: Profile_Update_PasswordInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Perbarui kata sandi`) +}; + +const pt_profile_update_password = /** @type {(inputs: Profile_Update_PasswordInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Atualizar senha`) +}; + +const fr_profile_update_password = /** @type {(inputs: Profile_Update_PasswordInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Mettre à jour le mot de passe`) +}; + +/** +* | output | +* | --- | +* | "Update password" | +* +* @param {Profile_Update_PasswordInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_update_password = /** @type {((inputs?: Profile_Update_PasswordInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_update_password(inputs) + if (locale === "ru") return ru_profile_update_password(inputs) + if (locale === "id") return id_profile_update_password(inputs) + if (locale === "pt") return pt_profile_update_password(inputs) + return fr_profile_update_password(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_updating.js b/ui/src/lib/paraglide/messages/profile_updating.js new file mode 100644 index 0000000..95d7fb8 --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_updating.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_UpdatingInputs */ + +const en_profile_updating = /** @type {(inputs: Profile_UpdatingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Updating…`) +}; + +const ru_profile_updating = /** @type {(inputs: Profile_UpdatingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Обновление…`) +}; + +const id_profile_updating = /** @type {(inputs: Profile_UpdatingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Memperbarui…`) +}; + +const pt_profile_updating = /** @type {(inputs: Profile_UpdatingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Atualizando…`) +}; + +const fr_profile_updating = /** @type {(inputs: Profile_UpdatingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Mise à jour…`) +}; + +/** +* | output | +* | --- | +* | "Updating…" | +* +* @param {Profile_UpdatingInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_updating = /** @type {((inputs?: Profile_UpdatingInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_updating(inputs) + if (locale === "ru") return ru_profile_updating(inputs) + if (locale === "id") return id_profile_updating(inputs) + if (locale === "pt") return pt_profile_updating(inputs) + return fr_profile_updating(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_upgrade_annual.js b/ui/src/lib/paraglide/messages/profile_upgrade_annual.js new file mode 100644 index 0000000..601a1d9 --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_upgrade_annual.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Upgrade_AnnualInputs */ + +const en_profile_upgrade_annual = /** @type {(inputs: Profile_Upgrade_AnnualInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Annual — $48 / yr`) +}; + +const ru_profile_upgrade_annual = /** @type {(inputs: Profile_Upgrade_AnnualInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Ежегодно — $48 / год`) +}; + +const id_profile_upgrade_annual = /** @type {(inputs: Profile_Upgrade_AnnualInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Tahunan — $48 / thn`) +}; + +const pt_profile_upgrade_annual = /** @type {(inputs: Profile_Upgrade_AnnualInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Anual — $48 / ano`) +}; + +const fr_profile_upgrade_annual = /** @type {(inputs: Profile_Upgrade_AnnualInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Annuel — 48 $ / an`) +}; + +/** +* | output | +* | --- | +* | "Annual — $48 / yr" | +* +* @param {Profile_Upgrade_AnnualInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_upgrade_annual = /** @type {((inputs?: Profile_Upgrade_AnnualInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_upgrade_annual(inputs) + if (locale === "ru") return ru_profile_upgrade_annual(inputs) + if (locale === "id") return id_profile_upgrade_annual(inputs) + if (locale === "pt") return pt_profile_upgrade_annual(inputs) + return fr_profile_upgrade_annual(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_upgrade_desc.js b/ui/src/lib/paraglide/messages/profile_upgrade_desc.js new file mode 100644 index 0000000..846a5c9 --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_upgrade_desc.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Upgrade_DescInputs */ + +const en_profile_upgrade_desc = /** @type {(inputs: Profile_Upgrade_DescInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Unlock unlimited audio, translations in 4 languages, and voice selection.`) +}; + +const ru_profile_upgrade_desc = /** @type {(inputs: Profile_Upgrade_DescInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Разблокируйте безлимитное аудио, переводы на 4 языка и выбор голоса.`) +}; + +const id_profile_upgrade_desc = /** @type {(inputs: Profile_Upgrade_DescInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Buka audio tanpa batas, terjemahan dalam 4 bahasa, dan pilihan suara.`) +}; + +const pt_profile_upgrade_desc = /** @type {(inputs: Profile_Upgrade_DescInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Desbloqueie áudio ilimitado, traduções em 4 idiomas e seleção de voz.`) +}; + +const fr_profile_upgrade_desc = /** @type {(inputs: Profile_Upgrade_DescInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Débloquez l'audio illimité, les traductions en 4 langues et la sélection de voix.`) +}; + +/** +* | output | +* | --- | +* | "Unlock unlimited audio, translations in 4 languages, and voice selection." | +* +* @param {Profile_Upgrade_DescInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_upgrade_desc = /** @type {((inputs?: Profile_Upgrade_DescInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_upgrade_desc(inputs) + if (locale === "ru") return ru_profile_upgrade_desc(inputs) + if (locale === "id") return id_profile_upgrade_desc(inputs) + if (locale === "pt") return pt_profile_upgrade_desc(inputs) + return fr_profile_upgrade_desc(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_upgrade_heading.js b/ui/src/lib/paraglide/messages/profile_upgrade_heading.js new file mode 100644 index 0000000..ded682f --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_upgrade_heading.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Upgrade_HeadingInputs */ + +const en_profile_upgrade_heading = /** @type {(inputs: Profile_Upgrade_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Upgrade to Pro`) +}; + +const ru_profile_upgrade_heading = /** @type {(inputs: Profile_Upgrade_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Перейти на Pro`) +}; + +const id_profile_upgrade_heading = /** @type {(inputs: Profile_Upgrade_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Tingkatkan ke Pro`) +}; + +const pt_profile_upgrade_heading = /** @type {(inputs: Profile_Upgrade_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Assinar o Pro`) +}; + +const fr_profile_upgrade_heading = /** @type {(inputs: Profile_Upgrade_HeadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Passer au Pro`) +}; + +/** +* | output | +* | --- | +* | "Upgrade to Pro" | +* +* @param {Profile_Upgrade_HeadingInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_upgrade_heading = /** @type {((inputs?: Profile_Upgrade_HeadingInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_upgrade_heading(inputs) + if (locale === "ru") return ru_profile_upgrade_heading(inputs) + if (locale === "id") return id_profile_upgrade_heading(inputs) + if (locale === "pt") return pt_profile_upgrade_heading(inputs) + return fr_profile_upgrade_heading(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_upgrade_monthly.js b/ui/src/lib/paraglide/messages/profile_upgrade_monthly.js new file mode 100644 index 0000000..6f8195d --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_upgrade_monthly.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Upgrade_MonthlyInputs */ + +const en_profile_upgrade_monthly = /** @type {(inputs: Profile_Upgrade_MonthlyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Monthly — $6 / mo`) +}; + +const ru_profile_upgrade_monthly = /** @type {(inputs: Profile_Upgrade_MonthlyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Ежемесячно — $6 / мес`) +}; + +const id_profile_upgrade_monthly = /** @type {(inputs: Profile_Upgrade_MonthlyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Bulanan — $6 / bln`) +}; + +const pt_profile_upgrade_monthly = /** @type {(inputs: Profile_Upgrade_MonthlyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Mensal — $6 / mês`) +}; + +const fr_profile_upgrade_monthly = /** @type {(inputs: Profile_Upgrade_MonthlyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Mensuel — 6 $ / mois`) +}; + +/** +* | output | +* | --- | +* | "Monthly — $6 / mo" | +* +* @param {Profile_Upgrade_MonthlyInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_upgrade_monthly = /** @type {((inputs?: Profile_Upgrade_MonthlyInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_upgrade_monthly(inputs) + if (locale === "ru") return ru_profile_upgrade_monthly(inputs) + if (locale === "id") return id_profile_upgrade_monthly(inputs) + if (locale === "pt") return pt_profile_upgrade_monthly(inputs) + return fr_profile_upgrade_monthly(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_username.js b/ui/src/lib/paraglide/messages/profile_username.js new file mode 100644 index 0000000..a89294a --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_username.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_UsernameInputs */ + +const en_profile_username = /** @type {(inputs: Profile_UsernameInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Username`) +}; + +const ru_profile_username = /** @type {(inputs: Profile_UsernameInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Имя пользователя`) +}; + +const id_profile_username = /** @type {(inputs: Profile_UsernameInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Nama pengguna`) +}; + +const pt_profile_username = /** @type {(inputs: Profile_UsernameInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Nome de usuário`) +}; + +const fr_profile_username = /** @type {(inputs: Profile_UsernameInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Nom d'utilisateur`) +}; + +/** +* | output | +* | --- | +* | "Username" | +* +* @param {Profile_UsernameInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_username = /** @type {((inputs?: Profile_UsernameInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_username(inputs) + if (locale === "ru") return ru_profile_username(inputs) + if (locale === "id") return id_profile_username(inputs) + if (locale === "pt") return pt_profile_username(inputs) + return fr_profile_username(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/profile_voice_label.js b/ui/src/lib/paraglide/messages/profile_voice_label.js new file mode 100644 index 0000000..da15683 --- /dev/null +++ b/ui/src/lib/paraglide/messages/profile_voice_label.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Profile_Voice_LabelInputs */ + +const en_profile_voice_label = /** @type {(inputs: Profile_Voice_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Default voice`) +}; + +const ru_profile_voice_label = /** @type {(inputs: Profile_Voice_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Голос по умолчанию`) +}; + +const id_profile_voice_label = /** @type {(inputs: Profile_Voice_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Suara default`) +}; + +const pt_profile_voice_label = /** @type {(inputs: Profile_Voice_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Voz padrão`) +}; + +const fr_profile_voice_label = /** @type {(inputs: Profile_Voice_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Voix par défaut`) +}; + +/** +* | output | +* | --- | +* | "Default voice" | +* +* @param {Profile_Voice_LabelInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const profile_voice_label = /** @type {((inputs?: Profile_Voice_LabelInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_profile_voice_label(inputs) + if (locale === "ru") return ru_profile_voice_label(inputs) + if (locale === "id") return id_profile_voice_label(inputs) + if (locale === "pt") return pt_profile_voice_label(inputs) + return fr_profile_voice_label(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/reader_audio_error.js b/ui/src/lib/paraglide/messages/reader_audio_error.js new file mode 100644 index 0000000..def5816 --- /dev/null +++ b/ui/src/lib/paraglide/messages/reader_audio_error.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Reader_Audio_ErrorInputs */ + +const en_reader_audio_error = /** @type {(inputs: Reader_Audio_ErrorInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Audio generation failed.`) +}; + +const ru_reader_audio_error = /** @type {(inputs: Reader_Audio_ErrorInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Ошибка генерации аудио.`) +}; + +const id_reader_audio_error = /** @type {(inputs: Reader_Audio_ErrorInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Pembuatan audio gagal.`) +}; + +const pt_reader_audio_error = /** @type {(inputs: Reader_Audio_ErrorInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Falha na geração de áudio.`) +}; + +const fr_reader_audio_error = /** @type {(inputs: Reader_Audio_ErrorInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Échec de la génération audio.`) +}; + +/** +* | output | +* | --- | +* | "Audio generation failed." | +* +* @param {Reader_Audio_ErrorInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const reader_audio_error = /** @type {((inputs?: Reader_Audio_ErrorInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_reader_audio_error(inputs) + if (locale === "ru") return ru_reader_audio_error(inputs) + if (locale === "id") return id_reader_audio_error(inputs) + if (locale === "pt") return pt_reader_audio_error(inputs) + return fr_reader_audio_error(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/reader_audio_narration.js b/ui/src/lib/paraglide/messages/reader_audio_narration.js new file mode 100644 index 0000000..f5b2f14 --- /dev/null +++ b/ui/src/lib/paraglide/messages/reader_audio_narration.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Reader_Audio_NarrationInputs */ + +const en_reader_audio_narration = /** @type {(inputs: Reader_Audio_NarrationInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Audio Narration`) +}; + +const ru_reader_audio_narration = /** @type {(inputs: Reader_Audio_NarrationInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Аудионарратив`) +}; + +const id_reader_audio_narration = /** @type {(inputs: Reader_Audio_NarrationInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Narasi Audio`) +}; + +const pt_reader_audio_narration = /** @type {(inputs: Reader_Audio_NarrationInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Narração em Áudio`) +}; + +const fr_reader_audio_narration = /** @type {(inputs: Reader_Audio_NarrationInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Narration Audio`) +}; + +/** +* | output | +* | --- | +* | "Audio Narration" | +* +* @param {Reader_Audio_NarrationInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const reader_audio_narration = /** @type {((inputs?: Reader_Audio_NarrationInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_reader_audio_narration(inputs) + if (locale === "ru") return ru_reader_audio_narration(inputs) + if (locale === "id") return id_reader_audio_narration(inputs) + if (locale === "pt") return pt_reader_audio_narration(inputs) + return fr_reader_audio_narration(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/reader_auto_next.js b/ui/src/lib/paraglide/messages/reader_auto_next.js new file mode 100644 index 0000000..e0a47f3 --- /dev/null +++ b/ui/src/lib/paraglide/messages/reader_auto_next.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Reader_Auto_NextInputs */ + +const en_reader_auto_next = /** @type {(inputs: Reader_Auto_NextInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Auto-next`) +}; + +const ru_reader_auto_next = /** @type {(inputs: Reader_Auto_NextInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Автопереход`) +}; + +const id_reader_auto_next = /** @type {(inputs: Reader_Auto_NextInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Auto-lanjut`) +}; + +const pt_reader_auto_next = /** @type {(inputs: Reader_Auto_NextInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Próximo automático`) +}; + +const fr_reader_auto_next = /** @type {(inputs: Reader_Auto_NextInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Suivant auto`) +}; + +/** +* | output | +* | --- | +* | "Auto-next" | +* +* @param {Reader_Auto_NextInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const reader_auto_next = /** @type {((inputs?: Reader_Auto_NextInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_reader_auto_next(inputs) + if (locale === "ru") return ru_reader_auto_next(inputs) + if (locale === "id") return id_reader_auto_next(inputs) + if (locale === "pt") return pt_reader_auto_next(inputs) + return fr_reader_auto_next(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/reader_back_to_chapters.js b/ui/src/lib/paraglide/messages/reader_back_to_chapters.js new file mode 100644 index 0000000..99cf179 --- /dev/null +++ b/ui/src/lib/paraglide/messages/reader_back_to_chapters.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Reader_Back_To_ChaptersInputs */ + +const en_reader_back_to_chapters = /** @type {(inputs: Reader_Back_To_ChaptersInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Back to chapters`) +}; + +const ru_reader_back_to_chapters = /** @type {(inputs: Reader_Back_To_ChaptersInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`К главам`) +}; + +const id_reader_back_to_chapters = /** @type {(inputs: Reader_Back_To_ChaptersInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Kembali ke daftar bab`) +}; + +const pt_reader_back_to_chapters = /** @type {(inputs: Reader_Back_To_ChaptersInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Voltar aos capítulos`) +}; + +const fr_reader_back_to_chapters = /** @type {(inputs: Reader_Back_To_ChaptersInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Retour aux chapitres`) +}; + +/** +* | output | +* | --- | +* | "Back to chapters" | +* +* @param {Reader_Back_To_ChaptersInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const reader_back_to_chapters = /** @type {((inputs?: Reader_Back_To_ChaptersInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_reader_back_to_chapters(inputs) + if (locale === "ru") return ru_reader_back_to_chapters(inputs) + if (locale === "id") return id_reader_back_to_chapters(inputs) + if (locale === "pt") return pt_reader_back_to_chapters(inputs) + return fr_reader_back_to_chapters(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/reader_ch_generate_on_nav.js b/ui/src/lib/paraglide/messages/reader_ch_generate_on_nav.js new file mode 100644 index 0000000..8730c31 --- /dev/null +++ b/ui/src/lib/paraglide/messages/reader_ch_generate_on_nav.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{ n: NonNullable }} Reader_Ch_Generate_On_NavInputs */ + +const en_reader_ch_generate_on_nav = /** @type {(inputs: Reader_Ch_Generate_On_NavInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Ch.${i?.n} will generate on navigate`) +}; + +const ru_reader_ch_generate_on_nav = /** @type {(inputs: Reader_Ch_Generate_On_NavInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Гл.${i?.n} сгенерируется при переходе`) +}; + +const id_reader_ch_generate_on_nav = /** @type {(inputs: Reader_Ch_Generate_On_NavInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Bab.${i?.n} akan dihasilkan saat navigasi`) +}; + +const pt_reader_ch_generate_on_nav = /** @type {(inputs: Reader_Ch_Generate_On_NavInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Cap.${i?.n} será gerado ao navegar`) +}; + +const fr_reader_ch_generate_on_nav = /** @type {(inputs: Reader_Ch_Generate_On_NavInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Ch.${i?.n} sera généré lors de la navigation`) +}; + +/** +* | output | +* | --- | +* | "Ch.{n} will generate on navigate" | +* +* @param {Reader_Ch_Generate_On_NavInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const reader_ch_generate_on_nav = /** @type {((inputs: Reader_Ch_Generate_On_NavInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_reader_ch_generate_on_nav(inputs) + if (locale === "ru") return ru_reader_ch_generate_on_nav(inputs) + if (locale === "id") return id_reader_ch_generate_on_nav(inputs) + if (locale === "pt") return pt_reader_ch_generate_on_nav(inputs) + return fr_reader_ch_generate_on_nav(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/reader_ch_preparing.js b/ui/src/lib/paraglide/messages/reader_ch_preparing.js new file mode 100644 index 0000000..e7dca53 --- /dev/null +++ b/ui/src/lib/paraglide/messages/reader_ch_preparing.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{ n: NonNullable, percent: NonNullable }} Reader_Ch_PreparingInputs */ + +const en_reader_ch_preparing = /** @type {(inputs: Reader_Ch_PreparingInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Preparing Ch.${i?.n}… ${i?.percent}%`) +}; + +const ru_reader_ch_preparing = /** @type {(inputs: Reader_Ch_PreparingInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Подготовка гл.${i?.n}… ${i?.percent}%`) +}; + +const id_reader_ch_preparing = /** @type {(inputs: Reader_Ch_PreparingInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Menyiapkan Bab.${i?.n}… ${i?.percent}%`) +}; + +const pt_reader_ch_preparing = /** @type {(inputs: Reader_Ch_PreparingInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Preparando Cap.${i?.n}… ${i?.percent}%`) +}; + +const fr_reader_ch_preparing = /** @type {(inputs: Reader_Ch_PreparingInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Préparation Ch.${i?.n}… ${i?.percent}%`) +}; + +/** +* | output | +* | --- | +* | "Preparing Ch.{n}… {percent}%" | +* +* @param {Reader_Ch_PreparingInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const reader_ch_preparing = /** @type {((inputs: Reader_Ch_PreparingInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_reader_ch_preparing(inputs) + if (locale === "ru") return ru_reader_ch_preparing(inputs) + if (locale === "id") return id_reader_ch_preparing(inputs) + if (locale === "pt") return pt_reader_ch_preparing(inputs) + return fr_reader_ch_preparing(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/reader_ch_ready.js b/ui/src/lib/paraglide/messages/reader_ch_ready.js new file mode 100644 index 0000000..cdcf732 --- /dev/null +++ b/ui/src/lib/paraglide/messages/reader_ch_ready.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{ n: NonNullable }} Reader_Ch_ReadyInputs */ + +const en_reader_ch_ready = /** @type {(inputs: Reader_Ch_ReadyInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Ch.${i?.n} ready`) +}; + +const ru_reader_ch_ready = /** @type {(inputs: Reader_Ch_ReadyInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Гл.${i?.n} готова`) +}; + +const id_reader_ch_ready = /** @type {(inputs: Reader_Ch_ReadyInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Bab.${i?.n} siap`) +}; + +const pt_reader_ch_ready = /** @type {(inputs: Reader_Ch_ReadyInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Cap.${i?.n} pronto`) +}; + +const fr_reader_ch_ready = /** @type {(inputs: Reader_Ch_ReadyInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Ch.${i?.n} prêt`) +}; + +/** +* | output | +* | --- | +* | "Ch.{n} ready" | +* +* @param {Reader_Ch_ReadyInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const reader_ch_ready = /** @type {((inputs: Reader_Ch_ReadyInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_reader_ch_ready(inputs) + if (locale === "ru") return ru_reader_ch_ready(inputs) + if (locale === "id") return id_reader_ch_ready(inputs) + if (locale === "pt") return pt_reader_ch_ready(inputs) + return fr_reader_ch_ready(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/reader_change_voice.js b/ui/src/lib/paraglide/messages/reader_change_voice.js new file mode 100644 index 0000000..a25b4a7 --- /dev/null +++ b/ui/src/lib/paraglide/messages/reader_change_voice.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Reader_Change_VoiceInputs */ + +const en_reader_change_voice = /** @type {(inputs: Reader_Change_VoiceInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Change voice`) +}; + +const ru_reader_change_voice = /** @type {(inputs: Reader_Change_VoiceInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Сменить голос`) +}; + +const id_reader_change_voice = /** @type {(inputs: Reader_Change_VoiceInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Ganti suara`) +}; + +const pt_reader_change_voice = /** @type {(inputs: Reader_Change_VoiceInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Mudar voz`) +}; + +const fr_reader_change_voice = /** @type {(inputs: Reader_Change_VoiceInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Changer de voix`) +}; + +/** +* | output | +* | --- | +* | "Change voice" | +* +* @param {Reader_Change_VoiceInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const reader_change_voice = /** @type {((inputs?: Reader_Change_VoiceInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_reader_change_voice(inputs) + if (locale === "ru") return ru_reader_change_voice(inputs) + if (locale === "id") return id_reader_change_voice(inputs) + if (locale === "pt") return pt_reader_change_voice(inputs) + return fr_reader_change_voice(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/reader_chapter_n.js b/ui/src/lib/paraglide/messages/reader_chapter_n.js new file mode 100644 index 0000000..ac0217c --- /dev/null +++ b/ui/src/lib/paraglide/messages/reader_chapter_n.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{ n: NonNullable }} Reader_Chapter_NInputs */ + +const en_reader_chapter_n = /** @type {(inputs: Reader_Chapter_NInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Chapter ${i?.n}`) +}; + +const ru_reader_chapter_n = /** @type {(inputs: Reader_Chapter_NInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Глава ${i?.n}`) +}; + +const id_reader_chapter_n = /** @type {(inputs: Reader_Chapter_NInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Bab ${i?.n}`) +}; + +const pt_reader_chapter_n = /** @type {(inputs: Reader_Chapter_NInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Capítulo ${i?.n}`) +}; + +const fr_reader_chapter_n = /** @type {(inputs: Reader_Chapter_NInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Chapitre ${i?.n}`) +}; + +/** +* | output | +* | --- | +* | "Chapter {n}" | +* +* @param {Reader_Chapter_NInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const reader_chapter_n = /** @type {((inputs: Reader_Chapter_NInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_reader_chapter_n(inputs) + if (locale === "ru") return ru_reader_chapter_n(inputs) + if (locale === "id") return id_reader_chapter_n(inputs) + if (locale === "pt") return pt_reader_chapter_n(inputs) + return fr_reader_chapter_n(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/reader_choose_voice.js b/ui/src/lib/paraglide/messages/reader_choose_voice.js new file mode 100644 index 0000000..15fbb19 --- /dev/null +++ b/ui/src/lib/paraglide/messages/reader_choose_voice.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Reader_Choose_VoiceInputs */ + +const en_reader_choose_voice = /** @type {(inputs: Reader_Choose_VoiceInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Choose Voice`) +}; + +const ru_reader_choose_voice = /** @type {(inputs: Reader_Choose_VoiceInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Выбрать голос`) +}; + +const id_reader_choose_voice = /** @type {(inputs: Reader_Choose_VoiceInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Pilih Suara`) +}; + +const pt_reader_choose_voice = /** @type {(inputs: Reader_Choose_VoiceInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Escolher Voz`) +}; + +const fr_reader_choose_voice = /** @type {(inputs: Reader_Choose_VoiceInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Choisir une voix`) +}; + +/** +* | output | +* | --- | +* | "Choose Voice" | +* +* @param {Reader_Choose_VoiceInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const reader_choose_voice = /** @type {((inputs?: Reader_Choose_VoiceInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_reader_choose_voice(inputs) + if (locale === "ru") return ru_reader_choose_voice(inputs) + if (locale === "id") return id_reader_choose_voice(inputs) + if (locale === "pt") return pt_reader_choose_voice(inputs) + return fr_reader_choose_voice(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/reader_close_voice_panel.js b/ui/src/lib/paraglide/messages/reader_close_voice_panel.js new file mode 100644 index 0000000..e1637ce --- /dev/null +++ b/ui/src/lib/paraglide/messages/reader_close_voice_panel.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Reader_Close_Voice_PanelInputs */ + +const en_reader_close_voice_panel = /** @type {(inputs: Reader_Close_Voice_PanelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Close voice panel`) +}; + +const ru_reader_close_voice_panel = /** @type {(inputs: Reader_Close_Voice_PanelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Закрыть панель голоса`) +}; + +const id_reader_close_voice_panel = /** @type {(inputs: Reader_Close_Voice_PanelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Tutup panel suara`) +}; + +const pt_reader_close_voice_panel = /** @type {(inputs: Reader_Close_Voice_PanelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Fechar painel de voz`) +}; + +const fr_reader_close_voice_panel = /** @type {(inputs: Reader_Close_Voice_PanelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Fermer le panneau vocal`) +}; + +/** +* | output | +* | --- | +* | "Close voice panel" | +* +* @param {Reader_Close_Voice_PanelInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const reader_close_voice_panel = /** @type {((inputs?: Reader_Close_Voice_PanelInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_reader_close_voice_panel(inputs) + if (locale === "ru") return ru_reader_close_voice_panel(inputs) + if (locale === "id") return id_reader_close_voice_panel(inputs) + if (locale === "pt") return pt_reader_close_voice_panel(inputs) + return fr_reader_close_voice_panel(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/reader_fetching_chapter.js b/ui/src/lib/paraglide/messages/reader_fetching_chapter.js new file mode 100644 index 0000000..3b08209 --- /dev/null +++ b/ui/src/lib/paraglide/messages/reader_fetching_chapter.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Reader_Fetching_ChapterInputs */ + +const en_reader_fetching_chapter = /** @type {(inputs: Reader_Fetching_ChapterInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Fetching chapter…`) +}; + +const ru_reader_fetching_chapter = /** @type {(inputs: Reader_Fetching_ChapterInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Загрузка главы…`) +}; + +const id_reader_fetching_chapter = /** @type {(inputs: Reader_Fetching_ChapterInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Mengambil bab…`) +}; + +const pt_reader_fetching_chapter = /** @type {(inputs: Reader_Fetching_ChapterInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Buscando capítulo…`) +}; + +const fr_reader_fetching_chapter = /** @type {(inputs: Reader_Fetching_ChapterInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Récupération du chapitre…`) +}; + +/** +* | output | +* | --- | +* | "Fetching chapter…" | +* +* @param {Reader_Fetching_ChapterInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const reader_fetching_chapter = /** @type {((inputs?: Reader_Fetching_ChapterInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_reader_fetching_chapter(inputs) + if (locale === "ru") return ru_reader_fetching_chapter(inputs) + if (locale === "id") return id_reader_fetching_chapter(inputs) + if (locale === "pt") return pt_reader_fetching_chapter(inputs) + return fr_reader_fetching_chapter(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/reader_generate_samples.js b/ui/src/lib/paraglide/messages/reader_generate_samples.js new file mode 100644 index 0000000..be68963 --- /dev/null +++ b/ui/src/lib/paraglide/messages/reader_generate_samples.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Reader_Generate_SamplesInputs */ + +const en_reader_generate_samples = /** @type {(inputs: Reader_Generate_SamplesInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Generate missing samples`) +}; + +const ru_reader_generate_samples = /** @type {(inputs: Reader_Generate_SamplesInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Сгенерировать недостающие образцы`) +}; + +const id_reader_generate_samples = /** @type {(inputs: Reader_Generate_SamplesInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Hasilkan sampel yang hilang`) +}; + +const pt_reader_generate_samples = /** @type {(inputs: Reader_Generate_SamplesInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Gerar amostras ausentes`) +}; + +const fr_reader_generate_samples = /** @type {(inputs: Reader_Generate_SamplesInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Générer les échantillons manquants`) +}; + +/** +* | output | +* | --- | +* | "Generate missing samples" | +* +* @param {Reader_Generate_SamplesInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const reader_generate_samples = /** @type {((inputs?: Reader_Generate_SamplesInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_reader_generate_samples(inputs) + if (locale === "ru") return ru_reader_generate_samples(inputs) + if (locale === "id") return id_reader_generate_samples(inputs) + if (locale === "pt") return pt_reader_generate_samples(inputs) + return fr_reader_generate_samples(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/reader_generating_audio.js b/ui/src/lib/paraglide/messages/reader_generating_audio.js new file mode 100644 index 0000000..d15411a --- /dev/null +++ b/ui/src/lib/paraglide/messages/reader_generating_audio.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Reader_Generating_AudioInputs */ + +const en_reader_generating_audio = /** @type {(inputs: Reader_Generating_AudioInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Generating audio…`) +}; + +const ru_reader_generating_audio = /** @type {(inputs: Reader_Generating_AudioInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Генерация аудио…`) +}; + +const id_reader_generating_audio = /** @type {(inputs: Reader_Generating_AudioInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Membuat audio…`) +}; + +const pt_reader_generating_audio = /** @type {(inputs: Reader_Generating_AudioInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Gerando áudio…`) +}; + +const fr_reader_generating_audio = /** @type {(inputs: Reader_Generating_AudioInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Génération audio…`) +}; + +/** +* | output | +* | --- | +* | "Generating audio…" | +* +* @param {Reader_Generating_AudioInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const reader_generating_audio = /** @type {((inputs?: Reader_Generating_AudioInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_reader_generating_audio(inputs) + if (locale === "ru") return ru_reader_generating_audio(inputs) + if (locale === "id") return id_reader_generating_audio(inputs) + if (locale === "pt") return pt_reader_generating_audio(inputs) + return fr_reader_generating_audio(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/reader_generating_narration.js b/ui/src/lib/paraglide/messages/reader_generating_narration.js new file mode 100644 index 0000000..3dd99e9 --- /dev/null +++ b/ui/src/lib/paraglide/messages/reader_generating_narration.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Reader_Generating_NarrationInputs */ + +const en_reader_generating_narration = /** @type {(inputs: Reader_Generating_NarrationInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Generating narration…`) +}; + +const ru_reader_generating_narration = /** @type {(inputs: Reader_Generating_NarrationInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Генерация озвучки…`) +}; + +const id_reader_generating_narration = /** @type {(inputs: Reader_Generating_NarrationInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Membuat narasi…`) +}; + +const pt_reader_generating_narration = /** @type {(inputs: Reader_Generating_NarrationInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Gerando narração…`) +}; + +const fr_reader_generating_narration = /** @type {(inputs: Reader_Generating_NarrationInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Génération de la narration…`) +}; + +/** +* | output | +* | --- | +* | "Generating narration…" | +* +* @param {Reader_Generating_NarrationInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const reader_generating_narration = /** @type {((inputs?: Reader_Generating_NarrationInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_reader_generating_narration(inputs) + if (locale === "ru") return ru_reader_generating_narration(inputs) + if (locale === "id") return id_reader_generating_narration(inputs) + if (locale === "pt") return pt_reader_generating_narration(inputs) + return fr_reader_generating_narration(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/reader_load_this_chapter.js b/ui/src/lib/paraglide/messages/reader_load_this_chapter.js new file mode 100644 index 0000000..c5fc9a3 --- /dev/null +++ b/ui/src/lib/paraglide/messages/reader_load_this_chapter.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Reader_Load_This_ChapterInputs */ + +const en_reader_load_this_chapter = /** @type {(inputs: Reader_Load_This_ChapterInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Load this chapter`) +}; + +const ru_reader_load_this_chapter = /** @type {(inputs: Reader_Load_This_ChapterInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Загрузить эту главу`) +}; + +const id_reader_load_this_chapter = /** @type {(inputs: Reader_Load_This_ChapterInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Muat bab ini`) +}; + +const pt_reader_load_this_chapter = /** @type {(inputs: Reader_Load_This_ChapterInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Carregar este capítulo`) +}; + +const fr_reader_load_this_chapter = /** @type {(inputs: Reader_Load_This_ChapterInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Charger ce chapitre`) +}; + +/** +* | output | +* | --- | +* | "Load this chapter" | +* +* @param {Reader_Load_This_ChapterInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const reader_load_this_chapter = /** @type {((inputs?: Reader_Load_This_ChapterInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_reader_load_this_chapter(inputs) + if (locale === "ru") return ru_reader_load_this_chapter(inputs) + if (locale === "id") return id_reader_load_this_chapter(inputs) + if (locale === "pt") return pt_reader_load_this_chapter(inputs) + return fr_reader_load_this_chapter(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/reader_next_chapter.js b/ui/src/lib/paraglide/messages/reader_next_chapter.js new file mode 100644 index 0000000..bcb9dcf --- /dev/null +++ b/ui/src/lib/paraglide/messages/reader_next_chapter.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Reader_Next_ChapterInputs */ + +const en_reader_next_chapter = /** @type {(inputs: Reader_Next_ChapterInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Next chapter`) +}; + +const ru_reader_next_chapter = /** @type {(inputs: Reader_Next_ChapterInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Следующая глава`) +}; + +const id_reader_next_chapter = /** @type {(inputs: Reader_Next_ChapterInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Bab berikutnya`) +}; + +const pt_reader_next_chapter = /** @type {(inputs: Reader_Next_ChapterInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Próximo capítulo`) +}; + +const fr_reader_next_chapter = /** @type {(inputs: Reader_Next_ChapterInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Chapitre suivant`) +}; + +/** +* | output | +* | --- | +* | "Next chapter" | +* +* @param {Reader_Next_ChapterInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const reader_next_chapter = /** @type {((inputs?: Reader_Next_ChapterInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_reader_next_chapter(inputs) + if (locale === "ru") return ru_reader_next_chapter(inputs) + if (locale === "id") return id_reader_next_chapter(inputs) + if (locale === "pt") return pt_reader_next_chapter(inputs) + return fr_reader_next_chapter(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/reader_now_playing.js b/ui/src/lib/paraglide/messages/reader_now_playing.js new file mode 100644 index 0000000..f3bc70d --- /dev/null +++ b/ui/src/lib/paraglide/messages/reader_now_playing.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{ title: NonNullable }} Reader_Now_PlayingInputs */ + +const en_reader_now_playing = /** @type {(inputs: Reader_Now_PlayingInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Now playing: ${i?.title}`) +}; + +const ru_reader_now_playing = /** @type {(inputs: Reader_Now_PlayingInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Сейчас играет: ${i?.title}`) +}; + +const id_reader_now_playing = /** @type {(inputs: Reader_Now_PlayingInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Sedang diputar: ${i?.title}`) +}; + +const pt_reader_now_playing = /** @type {(inputs: Reader_Now_PlayingInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Reproduzindo: ${i?.title}`) +}; + +const fr_reader_now_playing = /** @type {(inputs: Reader_Now_PlayingInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`En cours : ${i?.title}`) +}; + +/** +* | output | +* | --- | +* | "Now playing: {title}" | +* +* @param {Reader_Now_PlayingInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const reader_now_playing = /** @type {((inputs: Reader_Now_PlayingInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_reader_now_playing(inputs) + if (locale === "ru") return ru_reader_now_playing(inputs) + if (locale === "id") return id_reader_now_playing(inputs) + if (locale === "pt") return pt_reader_now_playing(inputs) + return fr_reader_now_playing(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/reader_page_title.js b/ui/src/lib/paraglide/messages/reader_page_title.js new file mode 100644 index 0000000..69ffc97 --- /dev/null +++ b/ui/src/lib/paraglide/messages/reader_page_title.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{ title: NonNullable, n: NonNullable }} Reader_Page_TitleInputs */ + +const en_reader_page_title = /** @type {(inputs: Reader_Page_TitleInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.title} — Ch.${i?.n} — libnovel`) +}; + +const ru_reader_page_title = /** @type {(inputs: Reader_Page_TitleInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.title} — Гл.${i?.n} — libnovel`) +}; + +const id_reader_page_title = /** @type {(inputs: Reader_Page_TitleInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.title} — Bab.${i?.n} — libnovel`) +}; + +const pt_reader_page_title = /** @type {(inputs: Reader_Page_TitleInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.title} — Cap.${i?.n} — libnovel`) +}; + +const fr_reader_page_title = /** @type {(inputs: Reader_Page_TitleInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.title} — Ch.${i?.n} — libnovel`) +}; + +/** +* | output | +* | --- | +* | "{title} — Ch.{n} — libnovel" | +* +* @param {Reader_Page_TitleInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const reader_page_title = /** @type {((inputs: Reader_Page_TitleInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_reader_page_title(inputs) + if (locale === "ru") return ru_reader_page_title(inputs) + if (locale === "id") return id_reader_page_title(inputs) + if (locale === "pt") return pt_reader_page_title(inputs) + return fr_reader_page_title(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/reader_paused.js b/ui/src/lib/paraglide/messages/reader_paused.js new file mode 100644 index 0000000..fa2860f --- /dev/null +++ b/ui/src/lib/paraglide/messages/reader_paused.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Reader_PausedInputs */ + +const en_reader_paused = /** @type {(inputs: Reader_PausedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Paused — controls below`) +}; + +const ru_reader_paused = /** @type {(inputs: Reader_PausedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Пауза — управление ниже`) +}; + +const id_reader_paused = /** @type {(inputs: Reader_PausedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Dijeda — kontrol di bawah`) +}; + +const pt_reader_paused = /** @type {(inputs: Reader_PausedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Pausado — controles abaixo`) +}; + +const fr_reader_paused = /** @type {(inputs: Reader_PausedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`En pause — contrôles ci-dessous`) +}; + +/** +* | output | +* | --- | +* | "Paused — controls below" | +* +* @param {Reader_PausedInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const reader_paused = /** @type {((inputs?: Reader_PausedInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_reader_paused(inputs) + if (locale === "ru") return ru_reader_paused(inputs) + if (locale === "id") return id_reader_paused(inputs) + if (locale === "pt") return pt_reader_paused(inputs) + return fr_reader_paused(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/reader_play_narration.js b/ui/src/lib/paraglide/messages/reader_play_narration.js new file mode 100644 index 0000000..de6e13f --- /dev/null +++ b/ui/src/lib/paraglide/messages/reader_play_narration.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Reader_Play_NarrationInputs */ + +const en_reader_play_narration = /** @type {(inputs: Reader_Play_NarrationInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Play narration`) +}; + +const ru_reader_play_narration = /** @type {(inputs: Reader_Play_NarrationInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Воспроизвести озвучку`) +}; + +const id_reader_play_narration = /** @type {(inputs: Reader_Play_NarrationInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Putar narasi`) +}; + +const pt_reader_play_narration = /** @type {(inputs: Reader_Play_NarrationInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Reproduzir narração`) +}; + +const fr_reader_play_narration = /** @type {(inputs: Reader_Play_NarrationInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Lire la narration`) +}; + +/** +* | output | +* | --- | +* | "Play narration" | +* +* @param {Reader_Play_NarrationInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const reader_play_narration = /** @type {((inputs?: Reader_Play_NarrationInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_reader_play_narration(inputs) + if (locale === "ru") return ru_reader_play_narration(inputs) + if (locale === "id") return id_reader_play_narration(inputs) + if (locale === "pt") return pt_reader_play_narration(inputs) + return fr_reader_play_narration(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/reader_playing.js b/ui/src/lib/paraglide/messages/reader_playing.js new file mode 100644 index 0000000..e81f914 --- /dev/null +++ b/ui/src/lib/paraglide/messages/reader_playing.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Reader_PlayingInputs */ + +const en_reader_playing = /** @type {(inputs: Reader_PlayingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Playing — controls below`) +}; + +const ru_reader_playing = /** @type {(inputs: Reader_PlayingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Воспроизводится — управление ниже`) +}; + +const id_reader_playing = /** @type {(inputs: Reader_PlayingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Memutar — kontrol di bawah`) +}; + +const pt_reader_playing = /** @type {(inputs: Reader_PlayingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Reproduzindo — controles abaixo`) +}; + +const fr_reader_playing = /** @type {(inputs: Reader_PlayingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Lecture en cours — contrôles ci-dessous`) +}; + +/** +* | output | +* | --- | +* | "Playing — controls below" | +* +* @param {Reader_PlayingInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const reader_playing = /** @type {((inputs?: Reader_PlayingInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_reader_playing(inputs) + if (locale === "ru") return ru_reader_playing(inputs) + if (locale === "id") return id_reader_playing(inputs) + if (locale === "pt") return pt_reader_playing(inputs) + return fr_reader_playing(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/reader_prev_chapter.js b/ui/src/lib/paraglide/messages/reader_prev_chapter.js new file mode 100644 index 0000000..d5dae5e --- /dev/null +++ b/ui/src/lib/paraglide/messages/reader_prev_chapter.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Reader_Prev_ChapterInputs */ + +const en_reader_prev_chapter = /** @type {(inputs: Reader_Prev_ChapterInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Previous chapter`) +}; + +const ru_reader_prev_chapter = /** @type {(inputs: Reader_Prev_ChapterInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Предыдущая глава`) +}; + +const id_reader_prev_chapter = /** @type {(inputs: Reader_Prev_ChapterInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Bab sebelumnya`) +}; + +const pt_reader_prev_chapter = /** @type {(inputs: Reader_Prev_ChapterInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Capítulo anterior`) +}; + +const fr_reader_prev_chapter = /** @type {(inputs: Reader_Prev_ChapterInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Chapitre précédent`) +}; + +/** +* | output | +* | --- | +* | "Previous chapter" | +* +* @param {Reader_Prev_ChapterInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const reader_prev_chapter = /** @type {((inputs?: Reader_Prev_ChapterInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_reader_prev_chapter(inputs) + if (locale === "ru") return ru_reader_prev_chapter(inputs) + if (locale === "id") return id_reader_prev_chapter(inputs) + if (locale === "pt") return pt_reader_prev_chapter(inputs) + return fr_reader_prev_chapter(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/reader_preview_audio_notice.js b/ui/src/lib/paraglide/messages/reader_preview_audio_notice.js new file mode 100644 index 0000000..170efe9 --- /dev/null +++ b/ui/src/lib/paraglide/messages/reader_preview_audio_notice.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Reader_Preview_Audio_NoticeInputs */ + +const en_reader_preview_audio_notice = /** @type {(inputs: Reader_Preview_Audio_NoticeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Preview chapter — audio not available for books outside the library.`) +}; + +const ru_reader_preview_audio_notice = /** @type {(inputs: Reader_Preview_Audio_NoticeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Предпросмотр — аудио недоступно для книг вне библиотеки.`) +}; + +const id_reader_preview_audio_notice = /** @type {(inputs: Reader_Preview_Audio_NoticeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Pratinjau — audio tidak tersedia untuk buku di luar perpustakaan.`) +}; + +const pt_reader_preview_audio_notice = /** @type {(inputs: Reader_Preview_Audio_NoticeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Prévia — áudio não disponível para livros fora da biblioteca.`) +}; + +const fr_reader_preview_audio_notice = /** @type {(inputs: Reader_Preview_Audio_NoticeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Aperçu — audio non disponible pour les livres hors bibliothèque.`) +}; + +/** +* | output | +* | --- | +* | "Preview chapter — audio not available for books outside the library." | +* +* @param {Reader_Preview_Audio_NoticeInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const reader_preview_audio_notice = /** @type {((inputs?: Reader_Preview_Audio_NoticeInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_reader_preview_audio_notice(inputs) + if (locale === "ru") return ru_reader_preview_audio_notice(inputs) + if (locale === "id") return id_reader_preview_audio_notice(inputs) + if (locale === "pt") return pt_reader_preview_audio_notice(inputs) + return fr_reader_preview_audio_notice(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/reader_preview_notice.js b/ui/src/lib/paraglide/messages/reader_preview_notice.js new file mode 100644 index 0000000..26152de --- /dev/null +++ b/ui/src/lib/paraglide/messages/reader_preview_notice.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Reader_Preview_NoticeInputs */ + +const en_reader_preview_notice = /** @type {(inputs: Reader_Preview_NoticeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Preview — this chapter has not been fully scraped.`) +}; + +const ru_reader_preview_notice = /** @type {(inputs: Reader_Preview_NoticeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Предпросмотр — эта глава не полностью загружена.`) +}; + +const id_reader_preview_notice = /** @type {(inputs: Reader_Preview_NoticeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Pratinjau — bab ini belum sepenuhnya diambil.`) +}; + +const pt_reader_preview_notice = /** @type {(inputs: Reader_Preview_NoticeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Prévia — este capítulo não foi totalmente extraído.`) +}; + +const fr_reader_preview_notice = /** @type {(inputs: Reader_Preview_NoticeInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Aperçu — ce chapitre n'a pas été entièrement extrait.`) +}; + +/** +* | output | +* | --- | +* | "Preview — this chapter has not been fully scraped." | +* +* @param {Reader_Preview_NoticeInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const reader_preview_notice = /** @type {((inputs?: Reader_Preview_NoticeInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_reader_preview_notice(inputs) + if (locale === "ru") return ru_reader_preview_notice(inputs) + if (locale === "id") return id_reader_preview_notice(inputs) + if (locale === "pt") return pt_reader_preview_notice(inputs) + return fr_reader_preview_notice(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/reader_signin_audio_desc.js b/ui/src/lib/paraglide/messages/reader_signin_audio_desc.js new file mode 100644 index 0000000..5f82955 --- /dev/null +++ b/ui/src/lib/paraglide/messages/reader_signin_audio_desc.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Reader_Signin_Audio_DescInputs */ + +const en_reader_signin_audio_desc = /** @type {(inputs: Reader_Signin_Audio_DescInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Sign in to listen to this chapter narrated by AI.`) +}; + +const ru_reader_signin_audio_desc = /** @type {(inputs: Reader_Signin_Audio_DescInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Войдите, чтобы слушать эту главу в озвучке ИИ.`) +}; + +const id_reader_signin_audio_desc = /** @type {(inputs: Reader_Signin_Audio_DescInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Masuk untuk mendengarkan bab ini yang dinarasikan oleh AI.`) +}; + +const pt_reader_signin_audio_desc = /** @type {(inputs: Reader_Signin_Audio_DescInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Entre para ouvir este capítulo narrado por IA.`) +}; + +const fr_reader_signin_audio_desc = /** @type {(inputs: Reader_Signin_Audio_DescInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Connectez-vous pour écouter ce chapitre narré par l'IA.`) +}; + +/** +* | output | +* | --- | +* | "Sign in to listen to this chapter narrated by AI." | +* +* @param {Reader_Signin_Audio_DescInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const reader_signin_audio_desc = /** @type {((inputs?: Reader_Signin_Audio_DescInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_reader_signin_audio_desc(inputs) + if (locale === "ru") return ru_reader_signin_audio_desc(inputs) + if (locale === "id") return id_reader_signin_audio_desc(inputs) + if (locale === "pt") return pt_reader_signin_audio_desc(inputs) + return fr_reader_signin_audio_desc(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/reader_signin_for_audio.js b/ui/src/lib/paraglide/messages/reader_signin_for_audio.js new file mode 100644 index 0000000..066cea6 --- /dev/null +++ b/ui/src/lib/paraglide/messages/reader_signin_for_audio.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Reader_Signin_For_AudioInputs */ + +const en_reader_signin_for_audio = /** @type {(inputs: Reader_Signin_For_AudioInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Audio narration available`) +}; + +const ru_reader_signin_for_audio = /** @type {(inputs: Reader_Signin_For_AudioInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Доступна аудионарративация`) +}; + +const id_reader_signin_for_audio = /** @type {(inputs: Reader_Signin_For_AudioInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Narasi audio tersedia`) +}; + +const pt_reader_signin_for_audio = /** @type {(inputs: Reader_Signin_For_AudioInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Narração de áudio disponível`) +}; + +const fr_reader_signin_for_audio = /** @type {(inputs: Reader_Signin_For_AudioInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Narration audio disponible`) +}; + +/** +* | output | +* | --- | +* | "Audio narration available" | +* +* @param {Reader_Signin_For_AudioInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const reader_signin_for_audio = /** @type {((inputs?: Reader_Signin_For_AudioInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_reader_signin_for_audio(inputs) + if (locale === "ru") return ru_reader_signin_for_audio(inputs) + if (locale === "id") return id_reader_signin_for_audio(inputs) + if (locale === "pt") return pt_reader_signin_for_audio(inputs) + return fr_reader_signin_for_audio(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/reader_speed.js b/ui/src/lib/paraglide/messages/reader_speed.js new file mode 100644 index 0000000..3dc6844 --- /dev/null +++ b/ui/src/lib/paraglide/messages/reader_speed.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Reader_SpeedInputs */ + +const en_reader_speed = /** @type {(inputs: Reader_SpeedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Speed`) +}; + +const ru_reader_speed = /** @type {(inputs: Reader_SpeedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Скорость`) +}; + +const id_reader_speed = /** @type {(inputs: Reader_SpeedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Kecepatan`) +}; + +const pt_reader_speed = /** @type {(inputs: Reader_SpeedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Velocidade`) +}; + +const fr_reader_speed = /** @type {(inputs: Reader_SpeedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Vitesse`) +}; + +/** +* | output | +* | --- | +* | "Speed" | +* +* @param {Reader_SpeedInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const reader_speed = /** @type {((inputs?: Reader_SpeedInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_reader_speed(inputs) + if (locale === "ru") return ru_reader_speed(inputs) + if (locale === "id") return id_reader_speed(inputs) + if (locale === "pt") return pt_reader_speed(inputs) + return fr_reader_speed(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/reader_voice_applies_next.js b/ui/src/lib/paraglide/messages/reader_voice_applies_next.js new file mode 100644 index 0000000..557da17 --- /dev/null +++ b/ui/src/lib/paraglide/messages/reader_voice_applies_next.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Reader_Voice_Applies_NextInputs */ + +const en_reader_voice_applies_next = /** @type {(inputs: Reader_Voice_Applies_NextInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`New voice applies on next “Play narration”.`) +}; + +const ru_reader_voice_applies_next = /** @type {(inputs: Reader_Voice_Applies_NextInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Новый голос применится при следующем нажатии «Воспроизвести».`) +}; + +const id_reader_voice_applies_next = /** @type {(inputs: Reader_Voice_Applies_NextInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Suara baru berlaku pada "Putar narasi" berikutnya.`) +}; + +const pt_reader_voice_applies_next = /** @type {(inputs: Reader_Voice_Applies_NextInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`A nova voz será aplicada no próximo "Reproduzir narração".`) +}; + +const fr_reader_voice_applies_next = /** @type {(inputs: Reader_Voice_Applies_NextInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`La nouvelle voix s'appliquera au prochain « Lire la narration ».`) +}; + +/** +* | output | +* | --- | +* | "New voice applies on next “Play narration”." | +* +* @param {Reader_Voice_Applies_NextInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const reader_voice_applies_next = /** @type {((inputs?: Reader_Voice_Applies_NextInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_reader_voice_applies_next(inputs) + if (locale === "ru") return ru_reader_voice_applies_next(inputs) + if (locale === "id") return id_reader_voice_applies_next(inputs) + if (locale === "pt") return pt_reader_voice_applies_next(inputs) + return fr_reader_voice_applies_next(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/reader_voice_kokoro.js b/ui/src/lib/paraglide/messages/reader_voice_kokoro.js new file mode 100644 index 0000000..6d15b80 --- /dev/null +++ b/ui/src/lib/paraglide/messages/reader_voice_kokoro.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Reader_Voice_KokoroInputs */ + +const en_reader_voice_kokoro = /** @type {(inputs: Reader_Voice_KokoroInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Kokoro voices`) +}; + +const ru_reader_voice_kokoro = /** @type {(inputs: Reader_Voice_KokoroInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Голоса Kokoro`) +}; + +const id_reader_voice_kokoro = /** @type {(inputs: Reader_Voice_KokoroInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Suara Kokoro`) +}; + +const pt_reader_voice_kokoro = /** @type {(inputs: Reader_Voice_KokoroInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Vozes Kokoro`) +}; + +const fr_reader_voice_kokoro = /** @type {(inputs: Reader_Voice_KokoroInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Voix Kokoro`) +}; + +/** +* | output | +* | --- | +* | "Kokoro voices" | +* +* @param {Reader_Voice_KokoroInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const reader_voice_kokoro = /** @type {((inputs?: Reader_Voice_KokoroInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_reader_voice_kokoro(inputs) + if (locale === "ru") return ru_reader_voice_kokoro(inputs) + if (locale === "id") return id_reader_voice_kokoro(inputs) + if (locale === "pt") return pt_reader_voice_kokoro(inputs) + return fr_reader_voice_kokoro(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/reader_voice_panel_title.js b/ui/src/lib/paraglide/messages/reader_voice_panel_title.js new file mode 100644 index 0000000..065be25 --- /dev/null +++ b/ui/src/lib/paraglide/messages/reader_voice_panel_title.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Reader_Voice_Panel_TitleInputs */ + +const en_reader_voice_panel_title = /** @type {(inputs: Reader_Voice_Panel_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Select voice`) +}; + +const ru_reader_voice_panel_title = /** @type {(inputs: Reader_Voice_Panel_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Выбрать голос`) +}; + +const id_reader_voice_panel_title = /** @type {(inputs: Reader_Voice_Panel_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Pilih suara`) +}; + +const pt_reader_voice_panel_title = /** @type {(inputs: Reader_Voice_Panel_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Selecionar voz`) +}; + +const fr_reader_voice_panel_title = /** @type {(inputs: Reader_Voice_Panel_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Sélectionner une voix`) +}; + +/** +* | output | +* | --- | +* | "Select voice" | +* +* @param {Reader_Voice_Panel_TitleInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const reader_voice_panel_title = /** @type {((inputs?: Reader_Voice_Panel_TitleInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_reader_voice_panel_title(inputs) + if (locale === "ru") return ru_reader_voice_panel_title(inputs) + if (locale === "id") return id_reader_voice_panel_title(inputs) + if (locale === "pt") return pt_reader_voice_panel_title(inputs) + return fr_reader_voice_panel_title(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/reader_voice_play_sample.js b/ui/src/lib/paraglide/messages/reader_voice_play_sample.js new file mode 100644 index 0000000..a4f7b57 --- /dev/null +++ b/ui/src/lib/paraglide/messages/reader_voice_play_sample.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Reader_Voice_Play_SampleInputs */ + +const en_reader_voice_play_sample = /** @type {(inputs: Reader_Voice_Play_SampleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Play sample`) +}; + +const ru_reader_voice_play_sample = /** @type {(inputs: Reader_Voice_Play_SampleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Прослушать образец`) +}; + +const id_reader_voice_play_sample = /** @type {(inputs: Reader_Voice_Play_SampleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Putar sampel`) +}; + +const pt_reader_voice_play_sample = /** @type {(inputs: Reader_Voice_Play_SampleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Reproduzir amostra`) +}; + +const fr_reader_voice_play_sample = /** @type {(inputs: Reader_Voice_Play_SampleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Écouter un extrait`) +}; + +/** +* | output | +* | --- | +* | "Play sample" | +* +* @param {Reader_Voice_Play_SampleInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const reader_voice_play_sample = /** @type {((inputs?: Reader_Voice_Play_SampleInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_reader_voice_play_sample(inputs) + if (locale === "ru") return ru_reader_voice_play_sample(inputs) + if (locale === "id") return id_reader_voice_play_sample(inputs) + if (locale === "pt") return pt_reader_voice_play_sample(inputs) + return fr_reader_voice_play_sample(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/reader_voice_pocket.js b/ui/src/lib/paraglide/messages/reader_voice_pocket.js new file mode 100644 index 0000000..d81626f --- /dev/null +++ b/ui/src/lib/paraglide/messages/reader_voice_pocket.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Reader_Voice_PocketInputs */ + +const en_reader_voice_pocket = /** @type {(inputs: Reader_Voice_PocketInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Pocket-TTS voices`) +}; + +const ru_reader_voice_pocket = /** @type {(inputs: Reader_Voice_PocketInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Голоса Pocket-TTS`) +}; + +const id_reader_voice_pocket = /** @type {(inputs: Reader_Voice_PocketInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Suara Pocket-TTS`) +}; + +const pt_reader_voice_pocket = /** @type {(inputs: Reader_Voice_PocketInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Vozes Pocket-TTS`) +}; + +const fr_reader_voice_pocket = /** @type {(inputs: Reader_Voice_PocketInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Voix Pocket-TTS`) +}; + +/** +* | output | +* | --- | +* | "Pocket-TTS voices" | +* +* @param {Reader_Voice_PocketInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const reader_voice_pocket = /** @type {((inputs?: Reader_Voice_PocketInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_reader_voice_pocket(inputs) + if (locale === "ru") return ru_reader_voice_pocket(inputs) + if (locale === "id") return id_reader_voice_pocket(inputs) + if (locale === "pt") return pt_reader_voice_pocket(inputs) + return fr_reader_voice_pocket(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/reader_voice_selected.js b/ui/src/lib/paraglide/messages/reader_voice_selected.js new file mode 100644 index 0000000..43b4521 --- /dev/null +++ b/ui/src/lib/paraglide/messages/reader_voice_selected.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Reader_Voice_SelectedInputs */ + +const en_reader_voice_selected = /** @type {(inputs: Reader_Voice_SelectedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Selected`) +}; + +const ru_reader_voice_selected = /** @type {(inputs: Reader_Voice_SelectedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Выбран`) +}; + +const id_reader_voice_selected = /** @type {(inputs: Reader_Voice_SelectedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Dipilih`) +}; + +const pt_reader_voice_selected = /** @type {(inputs: Reader_Voice_SelectedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Selecionado`) +}; + +const fr_reader_voice_selected = /** @type {(inputs: Reader_Voice_SelectedInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Sélectionné`) +}; + +/** +* | output | +* | --- | +* | "Selected" | +* +* @param {Reader_Voice_SelectedInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const reader_voice_selected = /** @type {((inputs?: Reader_Voice_SelectedInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_reader_voice_selected(inputs) + if (locale === "ru") return ru_reader_voice_selected(inputs) + if (locale === "id") return id_reader_voice_selected(inputs) + if (locale === "pt") return pt_reader_voice_selected(inputs) + return fr_reader_voice_selected(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/reader_voice_stop_sample.js b/ui/src/lib/paraglide/messages/reader_voice_stop_sample.js new file mode 100644 index 0000000..66decbf --- /dev/null +++ b/ui/src/lib/paraglide/messages/reader_voice_stop_sample.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Reader_Voice_Stop_SampleInputs */ + +const en_reader_voice_stop_sample = /** @type {(inputs: Reader_Voice_Stop_SampleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Stop sample`) +}; + +const ru_reader_voice_stop_sample = /** @type {(inputs: Reader_Voice_Stop_SampleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Остановить образец`) +}; + +const id_reader_voice_stop_sample = /** @type {(inputs: Reader_Voice_Stop_SampleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Hentikan sampel`) +}; + +const pt_reader_voice_stop_sample = /** @type {(inputs: Reader_Voice_Stop_SampleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Parar amostra`) +}; + +const fr_reader_voice_stop_sample = /** @type {(inputs: Reader_Voice_Stop_SampleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Arrêter l'extrait`) +}; + +/** +* | output | +* | --- | +* | "Stop sample" | +* +* @param {Reader_Voice_Stop_SampleInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const reader_voice_stop_sample = /** @type {((inputs?: Reader_Voice_Stop_SampleInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_reader_voice_stop_sample(inputs) + if (locale === "ru") return ru_reader_voice_stop_sample(inputs) + if (locale === "id") return id_reader_voice_stop_sample(inputs) + if (locale === "pt") return pt_reader_voice_stop_sample(inputs) + return fr_reader_voice_stop_sample(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/reader_words.js b/ui/src/lib/paraglide/messages/reader_words.js new file mode 100644 index 0000000..a1c8282 --- /dev/null +++ b/ui/src/lib/paraglide/messages/reader_words.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{ n: NonNullable }} Reader_WordsInputs */ + +const en_reader_words = /** @type {(inputs: Reader_WordsInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} words`) +}; + +const ru_reader_words = /** @type {(inputs: Reader_WordsInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} слов`) +}; + +const id_reader_words = /** @type {(inputs: Reader_WordsInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} kata`) +}; + +const pt_reader_words = /** @type {(inputs: Reader_WordsInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} palavras`) +}; + +const fr_reader_words = /** @type {(inputs: Reader_WordsInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} mots`) +}; + +/** +* | output | +* | --- | +* | "{n} words" | +* +* @param {Reader_WordsInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const reader_words = /** @type {((inputs: Reader_WordsInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_reader_words(inputs) + if (locale === "ru") return ru_reader_words(inputs) + if (locale === "id") return id_reader_words(inputs) + if (locale === "pt") return pt_reader_words(inputs) + return fr_reader_words(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/terms_page_title.js b/ui/src/lib/paraglide/messages/terms_page_title.js new file mode 100644 index 0000000..ea4dd2e --- /dev/null +++ b/ui/src/lib/paraglide/messages/terms_page_title.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} Terms_Page_TitleInputs */ + +const en_terms_page_title = /** @type {(inputs: Terms_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Terms of Service — libnovel`) +}; + +const ru_terms_page_title = /** @type {(inputs: Terms_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Условия использования — libnovel`) +}; + +const id_terms_page_title = /** @type {(inputs: Terms_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Syarat Layanan — libnovel`) +}; + +const pt_terms_page_title = /** @type {(inputs: Terms_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Termos de Serviço — libnovel`) +}; + +const fr_terms_page_title = /** @type {(inputs: Terms_Page_TitleInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Conditions d'utilisation — libnovel`) +}; + +/** +* | output | +* | --- | +* | "Terms of Service — libnovel" | +* +* @param {Terms_Page_TitleInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const terms_page_title = /** @type {((inputs?: Terms_Page_TitleInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_terms_page_title(inputs) + if (locale === "ru") return ru_terms_page_title(inputs) + if (locale === "id") return id_terms_page_title(inputs) + if (locale === "pt") return pt_terms_page_title(inputs) + return fr_terms_page_title(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/user_currently_reading.js b/ui/src/lib/paraglide/messages/user_currently_reading.js new file mode 100644 index 0000000..d4e6cbd --- /dev/null +++ b/ui/src/lib/paraglide/messages/user_currently_reading.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} User_Currently_ReadingInputs */ + +const en_user_currently_reading = /** @type {(inputs: User_Currently_ReadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Currently Reading`) +}; + +const ru_user_currently_reading = /** @type {(inputs: User_Currently_ReadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Сейчас читает`) +}; + +const id_user_currently_reading = /** @type {(inputs: User_Currently_ReadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Sedang Dibaca`) +}; + +const pt_user_currently_reading = /** @type {(inputs: User_Currently_ReadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Lendo Agora`) +}; + +const fr_user_currently_reading = /** @type {(inputs: User_Currently_ReadingInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`En cours de lecture`) +}; + +/** +* | output | +* | --- | +* | "Currently Reading" | +* +* @param {User_Currently_ReadingInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const user_currently_reading = /** @type {((inputs?: User_Currently_ReadingInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_user_currently_reading(inputs) + if (locale === "ru") return ru_user_currently_reading(inputs) + if (locale === "id") return id_user_currently_reading(inputs) + if (locale === "pt") return pt_user_currently_reading(inputs) + return fr_user_currently_reading(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/user_follow.js b/ui/src/lib/paraglide/messages/user_follow.js new file mode 100644 index 0000000..bd48e4d --- /dev/null +++ b/ui/src/lib/paraglide/messages/user_follow.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} User_FollowInputs */ + +const en_user_follow = /** @type {(inputs: User_FollowInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Follow`) +}; + +const ru_user_follow = /** @type {(inputs: User_FollowInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Подписаться`) +}; + +const id_user_follow = /** @type {(inputs: User_FollowInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Ikuti`) +}; + +const pt_user_follow = /** @type {(inputs: User_FollowInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Seguir`) +}; + +const fr_user_follow = /** @type {(inputs: User_FollowInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Suivre`) +}; + +/** +* | output | +* | --- | +* | "Follow" | +* +* @param {User_FollowInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const user_follow = /** @type {((inputs?: User_FollowInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_user_follow(inputs) + if (locale === "ru") return ru_user_follow(inputs) + if (locale === "id") return id_user_follow(inputs) + if (locale === "pt") return pt_user_follow(inputs) + return fr_user_follow(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/user_followers.js b/ui/src/lib/paraglide/messages/user_followers.js new file mode 100644 index 0000000..33acff7 --- /dev/null +++ b/ui/src/lib/paraglide/messages/user_followers.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{ n: NonNullable }} User_FollowersInputs */ + +const en_user_followers = /** @type {(inputs: User_FollowersInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} followers`) +}; + +const ru_user_followers = /** @type {(inputs: User_FollowersInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} подписчиков`) +}; + +const id_user_followers = /** @type {(inputs: User_FollowersInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} pengikut`) +}; + +const pt_user_followers = /** @type {(inputs: User_FollowersInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} seguidores`) +}; + +const fr_user_followers = /** @type {(inputs: User_FollowersInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} abonnés`) +}; + +/** +* | output | +* | --- | +* | "{n} followers" | +* +* @param {User_FollowersInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const user_followers = /** @type {((inputs: User_FollowersInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_user_followers(inputs) + if (locale === "ru") return ru_user_followers(inputs) + if (locale === "id") return id_user_followers(inputs) + if (locale === "pt") return pt_user_followers(inputs) + return fr_user_followers(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/user_followers_label.js b/ui/src/lib/paraglide/messages/user_followers_label.js new file mode 100644 index 0000000..fcefcb1 --- /dev/null +++ b/ui/src/lib/paraglide/messages/user_followers_label.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} User_Followers_LabelInputs */ + +const en_user_followers_label = /** @type {(inputs: User_Followers_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`followers`) +}; + +const ru_user_followers_label = /** @type {(inputs: User_Followers_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`подписчиков`) +}; + +const id_user_followers_label = /** @type {(inputs: User_Followers_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`pengikut`) +}; + +const pt_user_followers_label = /** @type {(inputs: User_Followers_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`seguidores`) +}; + +const fr_user_followers_label = /** @type {(inputs: User_Followers_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`abonnés`) +}; + +/** +* | output | +* | --- | +* | "followers" | +* +* @param {User_Followers_LabelInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const user_followers_label = /** @type {((inputs?: User_Followers_LabelInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_user_followers_label(inputs) + if (locale === "ru") return ru_user_followers_label(inputs) + if (locale === "id") return id_user_followers_label(inputs) + if (locale === "pt") return pt_user_followers_label(inputs) + return fr_user_followers_label(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/user_following.js b/ui/src/lib/paraglide/messages/user_following.js new file mode 100644 index 0000000..33b0cc5 --- /dev/null +++ b/ui/src/lib/paraglide/messages/user_following.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{ n: NonNullable }} User_FollowingInputs */ + +const en_user_following = /** @type {(inputs: User_FollowingInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} following`) +}; + +const ru_user_following = /** @type {(inputs: User_FollowingInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} подписок`) +}; + +const id_user_following = /** @type {(inputs: User_FollowingInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} mengikuti`) +}; + +const pt_user_following = /** @type {(inputs: User_FollowingInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} seguindo`) +}; + +const fr_user_following = /** @type {(inputs: User_FollowingInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.n} abonnements`) +}; + +/** +* | output | +* | --- | +* | "{n} following" | +* +* @param {User_FollowingInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const user_following = /** @type {((inputs: User_FollowingInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_user_following(inputs) + if (locale === "ru") return ru_user_following(inputs) + if (locale === "id") return id_user_following(inputs) + if (locale === "pt") return pt_user_following(inputs) + return fr_user_following(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/user_following_label.js b/ui/src/lib/paraglide/messages/user_following_label.js new file mode 100644 index 0000000..9bbd509 --- /dev/null +++ b/ui/src/lib/paraglide/messages/user_following_label.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} User_Following_LabelInputs */ + +const en_user_following_label = /** @type {(inputs: User_Following_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`following`) +}; + +const ru_user_following_label = /** @type {(inputs: User_Following_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`подписок`) +}; + +const id_user_following_label = /** @type {(inputs: User_Following_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`mengikuti`) +}; + +const pt_user_following_label = /** @type {(inputs: User_Following_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`seguindo`) +}; + +const fr_user_following_label = /** @type {(inputs: User_Following_LabelInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`abonnements`) +}; + +/** +* | output | +* | --- | +* | "following" | +* +* @param {User_Following_LabelInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const user_following_label = /** @type {((inputs?: User_Following_LabelInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_user_following_label(inputs) + if (locale === "ru") return ru_user_following_label(inputs) + if (locale === "id") return id_user_following_label(inputs) + if (locale === "pt") return pt_user_following_label(inputs) + return fr_user_following_label(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/user_joined.js b/ui/src/lib/paraglide/messages/user_joined.js new file mode 100644 index 0000000..950f6dc --- /dev/null +++ b/ui/src/lib/paraglide/messages/user_joined.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{ date: NonNullable }} User_JoinedInputs */ + +const en_user_joined = /** @type {(inputs: User_JoinedInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Joined ${i?.date}`) +}; + +const ru_user_joined = /** @type {(inputs: User_JoinedInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Зарегистрирован ${i?.date}`) +}; + +const id_user_joined = /** @type {(inputs: User_JoinedInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Bergabung ${i?.date}`) +}; + +const pt_user_joined = /** @type {(inputs: User_JoinedInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Entrou em ${i?.date}`) +}; + +const fr_user_joined = /** @type {(inputs: User_JoinedInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Inscrit le ${i?.date}`) +}; + +/** +* | output | +* | --- | +* | "Joined {date}" | +* +* @param {User_JoinedInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const user_joined = /** @type {((inputs: User_JoinedInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_user_joined(inputs) + if (locale === "ru") return ru_user_joined(inputs) + if (locale === "id") return id_user_joined(inputs) + if (locale === "pt") return pt_user_joined(inputs) + return fr_user_joined(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/user_library_count.js b/ui/src/lib/paraglide/messages/user_library_count.js new file mode 100644 index 0000000..beb7d1b --- /dev/null +++ b/ui/src/lib/paraglide/messages/user_library_count.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{ n: NonNullable }} User_Library_CountInputs */ + +const en_user_library_count = /** @type {(inputs: User_Library_CountInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Library (${i?.n})`) +}; + +const ru_user_library_count = /** @type {(inputs: User_Library_CountInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Библиотека (${i?.n})`) +}; + +const id_user_library_count = /** @type {(inputs: User_Library_CountInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Perpustakaan (${i?.n})`) +}; + +const pt_user_library_count = /** @type {(inputs: User_Library_CountInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Biblioteca (${i?.n})`) +}; + +const fr_user_library_count = /** @type {(inputs: User_Library_CountInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Bibliothèque (${i?.n})`) +}; + +/** +* | output | +* | --- | +* | "Library ({n})" | +* +* @param {User_Library_CountInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const user_library_count = /** @type {((inputs: User_Library_CountInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_user_library_count(inputs) + if (locale === "ru") return ru_user_library_count(inputs) + if (locale === "id") return id_user_library_count(inputs) + if (locale === "pt") return pt_user_library_count(inputs) + return fr_user_library_count(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/user_library_empty.js b/ui/src/lib/paraglide/messages/user_library_empty.js new file mode 100644 index 0000000..d43654e --- /dev/null +++ b/ui/src/lib/paraglide/messages/user_library_empty.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} User_Library_EmptyInputs */ + +const en_user_library_empty = /** @type {(inputs: User_Library_EmptyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`No books in library.`) +}; + +const ru_user_library_empty = /** @type {(inputs: User_Library_EmptyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`В библиотеке нет книг.`) +}; + +const id_user_library_empty = /** @type {(inputs: User_Library_EmptyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Tidak ada buku di perpustakaan.`) +}; + +const pt_user_library_empty = /** @type {(inputs: User_Library_EmptyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Nenhum livro na biblioteca.`) +}; + +const fr_user_library_empty = /** @type {(inputs: User_Library_EmptyInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Aucun livre dans la bibliothèque.`) +}; + +/** +* | output | +* | --- | +* | "No books in library." | +* +* @param {User_Library_EmptyInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const user_library_empty = /** @type {((inputs?: User_Library_EmptyInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_user_library_empty(inputs) + if (locale === "ru") return ru_user_library_empty(inputs) + if (locale === "id") return id_user_library_empty(inputs) + if (locale === "pt") return pt_user_library_empty(inputs) + return fr_user_library_empty(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/user_library_heading.js b/ui/src/lib/paraglide/messages/user_library_heading.js new file mode 100644 index 0000000..c4a9c8e --- /dev/null +++ b/ui/src/lib/paraglide/messages/user_library_heading.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{ username: NonNullable }} User_Library_HeadingInputs */ + +const en_user_library_heading = /** @type {(inputs: User_Library_HeadingInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.username}'s Library`) +}; + +const ru_user_library_heading = /** @type {(inputs: User_Library_HeadingInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Библиотека ${i?.username}`) +}; + +const id_user_library_heading = /** @type {(inputs: User_Library_HeadingInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Perpustakaan ${i?.username}`) +}; + +const pt_user_library_heading = /** @type {(inputs: User_Library_HeadingInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Biblioteca de ${i?.username}`) +}; + +const fr_user_library_heading = /** @type {(inputs: User_Library_HeadingInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`Bibliothèque de ${i?.username}`) +}; + +/** +* | output | +* | --- | +* | "{username}'s Library" | +* +* @param {User_Library_HeadingInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const user_library_heading = /** @type {((inputs: User_Library_HeadingInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_user_library_heading(inputs) + if (locale === "ru") return ru_user_library_heading(inputs) + if (locale === "id") return id_user_library_heading(inputs) + if (locale === "pt") return pt_user_library_heading(inputs) + return fr_user_library_heading(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/user_no_books.js b/ui/src/lib/paraglide/messages/user_no_books.js new file mode 100644 index 0000000..746d1e5 --- /dev/null +++ b/ui/src/lib/paraglide/messages/user_no_books.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} User_No_BooksInputs */ + +const en_user_no_books = /** @type {(inputs: User_No_BooksInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`No books in library yet.`) +}; + +const ru_user_no_books = /** @type {(inputs: User_No_BooksInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Книг в библиотеке пока нет.`) +}; + +const id_user_no_books = /** @type {(inputs: User_No_BooksInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Belum ada buku di perpustakaan.`) +}; + +const pt_user_no_books = /** @type {(inputs: User_No_BooksInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Nenhum livro na biblioteca ainda.`) +}; + +const fr_user_no_books = /** @type {(inputs: User_No_BooksInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Aucun livre dans la bibliothèque pour l'instant.`) +}; + +/** +* | output | +* | --- | +* | "No books in library yet." | +* +* @param {User_No_BooksInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const user_no_books = /** @type {((inputs?: User_No_BooksInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_user_no_books(inputs) + if (locale === "ru") return ru_user_no_books(inputs) + if (locale === "id") return id_user_no_books(inputs) + if (locale === "pt") return pt_user_no_books(inputs) + return fr_user_no_books(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/user_page_title.js b/ui/src/lib/paraglide/messages/user_page_title.js new file mode 100644 index 0000000..56cd90e --- /dev/null +++ b/ui/src/lib/paraglide/messages/user_page_title.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{ username: NonNullable }} User_Page_TitleInputs */ + +const en_user_page_title = /** @type {(inputs: User_Page_TitleInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.username} — libnovel`) +}; + +const ru_user_page_title = /** @type {(inputs: User_Page_TitleInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.username} — libnovel`) +}; + +const id_user_page_title = /** @type {(inputs: User_Page_TitleInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.username} — libnovel`) +}; + +const pt_user_page_title = /** @type {(inputs: User_Page_TitleInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.username} — libnovel`) +}; + +const fr_user_page_title = /** @type {(inputs: User_Page_TitleInputs) => LocalizedString} */ (i) => { + return /** @type {LocalizedString} */ (`${i?.username} — libnovel`) +}; + +/** +* | output | +* | --- | +* | "{username} — libnovel" | +* +* @param {User_Page_TitleInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const user_page_title = /** @type {((inputs: User_Page_TitleInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_user_page_title(inputs) + if (locale === "ru") return ru_user_page_title(inputs) + if (locale === "id") return id_user_page_title(inputs) + if (locale === "pt") return pt_user_page_title(inputs) + return fr_user_page_title(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/messages/user_unfollow.js b/ui/src/lib/paraglide/messages/user_unfollow.js new file mode 100644 index 0000000..962859f --- /dev/null +++ b/ui/src/lib/paraglide/messages/user_unfollow.js @@ -0,0 +1,44 @@ +/* eslint-disable */ +import { getLocale, experimentalStaticLocale } from '../runtime.js'; + +/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ + +/** @typedef {{}} User_UnfollowInputs */ + +const en_user_unfollow = /** @type {(inputs: User_UnfollowInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Unfollow`) +}; + +const ru_user_unfollow = /** @type {(inputs: User_UnfollowInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Отписаться`) +}; + +const id_user_unfollow = /** @type {(inputs: User_UnfollowInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Berhenti mengikuti`) +}; + +const pt_user_unfollow = /** @type {(inputs: User_UnfollowInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Deixar de seguir`) +}; + +const fr_user_unfollow = /** @type {(inputs: User_UnfollowInputs) => LocalizedString} */ () => { + return /** @type {LocalizedString} */ (`Ne plus suivre`) +}; + +/** +* | output | +* | --- | +* | "Unfollow" | +* +* @param {User_UnfollowInputs} inputs +* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options +* @returns {LocalizedString} +*/ +export const user_unfollow = /** @type {((inputs?: User_UnfollowInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { + const locale = experimentalStaticLocale ?? options.locale ?? getLocale() + if (locale === "en") return en_user_unfollow(inputs) + if (locale === "ru") return ru_user_unfollow(inputs) + if (locale === "id") return id_user_unfollow(inputs) + if (locale === "pt") return pt_user_unfollow(inputs) + return fr_user_unfollow(inputs) +}); \ No newline at end of file diff --git a/ui/src/lib/paraglide/registry.js b/ui/src/lib/paraglide/registry.js new file mode 100644 index 0000000..2ff0e22 --- /dev/null +++ b/ui/src/lib/paraglide/registry.js @@ -0,0 +1,31 @@ +/* eslint-disable */ + +/** + * @param {import("./runtime.js").Locale} locale + * @param {unknown} input + * @param {Intl.PluralRulesOptions} [options] + * @returns {string} + */ +export function plural(locale, input, options) { + return new Intl.PluralRules(locale, options).select(Number(input)) +}; + +/** + * @param {import("./runtime.js").Locale} locale + * @param {unknown} input + * @param {Intl.NumberFormatOptions} [options] + * @returns {string} + */ +export function number(locale, input, options) { + return new Intl.NumberFormat(locale, options).format(Number(input)) +}; + +/** + * @param {import("./runtime.js").Locale} locale + * @param {unknown} input + * @param {Intl.DateTimeFormatOptions} [options] + * @returns {string} + */ +export function datetime(locale, input, options) { + return new Intl.DateTimeFormat(locale, options).format(new Date(/** @type {string} */ (input))) +}; \ No newline at end of file diff --git a/ui/src/lib/paraglide/runtime.js b/ui/src/lib/paraglide/runtime.js new file mode 100644 index 0000000..68afda0 --- /dev/null +++ b/ui/src/lib/paraglide/runtime.js @@ -0,0 +1,1780 @@ +/* eslint-disable */ + +/** @type {any} */ +const URLPattern = {} + +/** + * The project's base locale. + * + * @example + * if (locale === baseLocale) { + * // do something + * } + */ +export const baseLocale = "en"; +/** + * The project's locales that have been specified in the settings. + * + * @example + * if (locales.includes(userSelectedLocale) === false) { + * throw new Error('Locale is not available'); + * } + */ +export const locales = /** @type {const} */ (["en","ru","id","pt","fr"]); +/** @type {string} */ +export const cookieName = "PARAGLIDE_LOCALE"; +/** @type {number} */ +export const cookieMaxAge = 34560000; +/** @type {string} */ +export const cookieDomain = ""; +/** @type {string} */ +export const localStorageKey = "PARAGLIDE_LOCALE"; +/** + * @type {Array<"cookie" | "baseLocale" | "globalVariable" | "url" | "preferredLanguage" | "localStorage" | `custom-${string}`>} + */ +export const strategy = [ + "cookie", + "globalVariable", + "baseLocale" +]; +/** + * Route-level strategy overrides. + * + * `match` uses URLPattern syntax. + * + * @type {Array<{ + * match: string; + * strategy?: Array<"cookie" | "baseLocale" | "globalVariable" | "url" | "preferredLanguage" | "localStorage" | `custom-${string}`>; + * exclude?: boolean; + * }>} + */ +export const routeStrategies = []; +/** + * The used URL patterns. + * + * @type {Array<{ pattern: string, localized: Array<[Locale, string]> }>} + */ +export const urlPatterns = [ + { + "pattern": ":protocol://:domain(.*)::port?/:path(.*)?", + "localized": [ + [ + "ru", + ":protocol://:domain(.*)::port?/ru/:path(.*)?" + ], + [ + "id", + ":protocol://:domain(.*)::port?/id/:path(.*)?" + ], + [ + "pt", + ":protocol://:domain(.*)::port?/pt/:path(.*)?" + ], + [ + "fr", + ":protocol://:domain(.*)::port?/fr/:path(.*)?" + ], + [ + "en", + ":protocol://:domain(.*)::port?/:path(.*)?" + ] + ] + } +]; +/** @type {string | undefined} */ +let cachedRouteStrategyUrl; +/** @type {{ match: string; strategy?: typeof strategy; exclude?: boolean } | undefined} */ +let cachedRouteStrategy; +/** + * @param {string | URL} url + * @returns {{ match: string; strategy?: typeof strategy; exclude?: boolean } | undefined} + */ +function findMatchingRouteStrategy(url) { + if (routeStrategies.length === 0) { + return undefined; + } + const urlString = typeof url === "string" ? url : url.href; + if (cachedRouteStrategyUrl === urlString) { + return cachedRouteStrategy; + } + const urlObject = new URL(urlString, "http://dummy.com"); + let match; + for (const routeStrategy of routeStrategies) { + const pattern = new URLPattern(routeStrategy.match, urlObject.href); + if (pattern.exec(urlObject.href)) { + match = routeStrategy; + break; + } + } + cachedRouteStrategyUrl = urlString; + cachedRouteStrategy = match; + return match; +} +/** + * Returns the strategy to use for a specific URL. + * + * If no route strategy matches (or the matching rule is `exclude: true`), + * the global strategy is returned. + * + * @param {string | URL} url + * @returns {typeof strategy} + */ +export function getStrategyForUrl(url) { + const routeStrategy = findMatchingRouteStrategy(url); + if (routeStrategy && + routeStrategy.exclude !== true && + Array.isArray(routeStrategy.strategy)) { + return routeStrategy.strategy; + } + return strategy; +} +/** + * Returns whether the given URL is excluded from middleware i18n processing. + * + * @param {string | URL} url + * @returns {boolean} + */ +export function isExcludedByRouteStrategy(url) { + return findMatchingRouteStrategy(url)?.exclude === true; +} +/** + * @typedef {{ + * getStore(): { + * locale?: Locale, + * origin?: string, + * messageCalls?: Set + * } | undefined, + * run: (store: { locale?: Locale, origin?: string, messageCalls?: Set}, + * cb: any) => any + * }} ParaglideAsyncLocalStorage + */ +/** + * Server side async local storage that is set by `serverMiddleware()`. + * + * The variable is used to retrieve the locale and origin in a server-side + * rendering context without effecting other requests. + * + * @type {ParaglideAsyncLocalStorage | undefined} + */ +export let serverAsyncLocalStorage = undefined; +export const disableAsyncLocalStorage = false; +export const experimentalMiddlewareLocaleSplitting = false; +export const isServer = typeof window === 'undefined'; +/** @type {Locale | undefined} */ +export const experimentalStaticLocale = undefined; +/** + * Sets the server side async local storage. + * + * The function is needed because the `runtime.js` file + * must define the `serverAsyncLocalStorage` variable to + * avoid a circular import between `runtime.js` and + * `server.js` files. + * + * @param {ParaglideAsyncLocalStorage | undefined} value + */ +export function overwriteServerAsyncLocalStorage(value) { + serverAsyncLocalStorage = value; +} +const TREE_SHAKE_COOKIE_STRATEGY_USED = true; +const TREE_SHAKE_URL_STRATEGY_USED = false; +const TREE_SHAKE_GLOBAL_VARIABLE_STRATEGY_USED = true; +const TREE_SHAKE_PREFERRED_LANGUAGE_STRATEGY_USED = false; +const TREE_SHAKE_DEFAULT_URL_PATTERN_USED = true; +const TREE_SHAKE_LOCAL_STORAGE_STRATEGY_USED = false; + +/** @type {any} */ (globalThis).__paraglide = + /** @type {any} */ (globalThis).__paraglide ?? {}; +/** @type {any} */ (globalThis).__paraglide.ssr = + /** @type {any} */ (globalThis).__paraglide.ssr ?? {}; + +/** + * This is a fallback to get started with a custom + * strategy and avoid type errors. + * + * The implementation is overwritten + * by `overwriteGetLocale()` and `defineSetLocale()`. + * + * @type {Locale | undefined} + */ +let _locale; +let localeInitiallySet = false; +/** + * Get the current locale. + * + * The locale is resolved using your configured strategies (URL, cookie, localStorage, etc.) + * in the order they are defined. In SSR contexts, the locale is retrieved from AsyncLocalStorage + * which is set by the `paraglideMiddleware()`. + * + * @see https://inlang.com/m/gerre34r/library-inlang-paraglideJs/strategy - Configure locale detection strategies + * + * @example + * if (getLocale() === 'de') { + * console.log('Germany 🇩🇪'); + * } else if (getLocale() === 'nl') { + * console.log('Netherlands 🇳🇱'); + * } + * + * @returns {Locale} The current locale. + */ +export let getLocale = () => { + if (experimentalStaticLocale !== undefined) { + return experimentalStaticLocale; + } + // if running in a server-side rendering context + // retrieve the locale from the async local storage + if (serverAsyncLocalStorage) { + const locale = serverAsyncLocalStorage?.getStore()?.locale; + if (locale) { + return locale; + } + } + let strategyToUse = strategy; + if (!isServer && typeof window !== "undefined" && window.location?.href) { + strategyToUse = getStrategyForUrl(window.location.href); + } + const resolved = resolveLocaleWithStrategies(strategyToUse, typeof window !== "undefined" ? window.location?.href : undefined); + if (resolved) { + if (!localeInitiallySet) { + _locale = resolved; + // https://github.com/opral/inlang-paraglide-js/issues/455 + localeInitiallySet = true; + setLocale(resolved, { reload: false }); + } + return resolved; + } + throw new Error("No locale found. Read the docs https://inlang.com/m/gerre34r/library-inlang-paraglideJs/errors#no-locale-found"); +}; +/** + * Resolve locale for a given URL using route-aware strategies. + * + * @param {string | URL} url + * @returns {Locale} + */ +export function getLocaleForUrl(url) { + if (experimentalStaticLocale !== undefined) { + return experimentalStaticLocale; + } + const strategyToUse = getStrategyForUrl(url); + const resolved = resolveLocaleWithStrategies(strategyToUse, typeof url === "string" ? url : url.href); + if (resolved) { + return resolved; + } + throw new Error("No locale found. Read the docs https://inlang.com/m/gerre34r/library-inlang-paraglideJs/errors#no-locale-found"); +} +/** + * @param {typeof strategy} strategyToUse + * @param {string | undefined} urlForUrlStrategy + * @returns {Locale | undefined} + */ +function resolveLocaleWithStrategies(strategyToUse, urlForUrlStrategy) { + /** @type {string | undefined} */ + let locale; + for (const strat of strategyToUse) { + if (TREE_SHAKE_COOKIE_STRATEGY_USED && strat === "cookie") { + locale = extractLocaleFromCookie(); + } + else if (strat === "baseLocale") { + locale = baseLocale; + } + else if (TREE_SHAKE_URL_STRATEGY_USED && + strat === "url" && + !isServer && + typeof urlForUrlStrategy === "string") { + locale = extractLocaleFromUrl(urlForUrlStrategy); + } + else if (TREE_SHAKE_GLOBAL_VARIABLE_STRATEGY_USED && + strat === "globalVariable" && + _locale !== undefined) { + locale = _locale; + } + else if (TREE_SHAKE_PREFERRED_LANGUAGE_STRATEGY_USED && + strat === "preferredLanguage" && + !isServer) { + locale = extractLocaleFromNavigator(); + } + else if (TREE_SHAKE_LOCAL_STORAGE_STRATEGY_USED && + strat === "localStorage" && + !isServer) { + locale = localStorage.getItem(localStorageKey) ?? undefined; + } + else if (isCustomStrategy(strat) && customClientStrategies.has(strat)) { + const handler = customClientStrategies.get(strat); + if (handler) { + const result = handler.getLocale(); + // Handle both sync and async results - skip async in sync getLocale + if (result instanceof Promise) { + // Can't await in sync function, skip async strategies + continue; + } + if (result !== undefined) { + return assertIsLocale(result); + } + } + } + const matchedLocale = toLocale(locale); + if (matchedLocale) { + return matchedLocale; + } + } + return undefined; +} +/** + * Overwrite the `getLocale()` function. + * + * Use this function to overwrite how the locale is resolved. This is useful + * for custom locale resolution or advanced use cases like SSG with concurrent rendering. + * + * @see https://inlang.com/m/gerre34r/library-inlang-paraglideJs/strategy + * + * @example + * overwriteGetLocale(() => { + * return Cookies.get('locale') ?? baseLocale + * }); + * + * @param {() => Locale} fn - The new implementation for `getLocale()`. + */ +export const overwriteGetLocale = (fn) => { + getLocale = fn; +}; + +const rtlLanguages = new Set([ + "ar", + "dv", + "fa", + "he", + "ks", + "ku", + "ps", + "sd", + "ug", + "ur", + "yi", +]); +/** + * Get writing direction for a locale. + * + * Uses `Intl.Locale` text info when available and falls back to a + * language-based RTL check for runtimes without `getTextInfo()`. + * + * @example + * getTextDirection(); // "ltr" or "rtl" for current locale + * getTextDirection("ar"); // "rtl" + * getTextDirection("en"); // "ltr" + * + * @param {string} [locale] - Target locale. If not provided, uses `getLocale()` + * @returns {"ltr" | "rtl"} + */ +export function getTextDirection(locale = getLocale()) { + try { + const intlLocale = /** @type {Intl.Locale & { + getTextInfo?: () => { direction?: string }; + textInfo?: { direction?: string }; + }} */ (new Intl.Locale(locale)); + const direction = intlLocale.getTextInfo?.().direction ?? intlLocale.textInfo?.direction; + if (direction === "ltr" || direction === "rtl") { + return direction; + } + } + catch { + // Ignore Intl.Locale parsing/runtime errors and use fallback below. + } + const language = locale.split("-")[0]?.toLowerCase(); + return rtlLanguages.has(language ?? "") ? "rtl" : "ltr"; +} + +/** + * Navigates to the localized URL, or reloads the current page + * + * @param {string} [newLocation] The new location + */ +const navigateOrReload = (newLocation) => { + if (newLocation) { + // reload the page by navigating to the new url + window.location.href = newLocation; + } + else { + // reload the page to reflect the new locale + window.location.reload(); + } +}; +/** + * @typedef {(newLocale: Locale, options?: { reload?: boolean }) => void | Promise} SetLocaleFn + */ +/** + * Set the locale. + * + * Updates the locale using your configured strategies (cookie, localStorage, URL, etc.). + * By default, this reloads the page on the client to reflect the new locale. Reloading + * can be disabled by passing `reload: false` as an option, but you'll need to ensure + * the UI updates to reflect the new locale. + * + * If any custom strategy's `setLocale` function is async, then this function + * will become async as well. + * + * @see https://inlang.com/m/gerre34r/library-inlang-paraglideJs/strategy + * + * @example + * setLocale('en'); + * + * @example + * setLocale('en', { reload: false }); + * + * @type {SetLocaleFn} + */ +export let setLocale = (newLocale, options) => { + const optionsWithDefaults = { + reload: true, + ...options, + }; + // locale is already set + // https://github.com/opral/inlang-paraglide-js/issues/430 + /** @type {Locale | undefined} */ + let currentLocale; + try { + currentLocale = getLocale(); + } + catch { + // do nothing, no locale has been set yet. + } + /** @type {Array>} */ + const customSetLocalePromises = []; + /** @type {string | undefined} */ + let newLocation = undefined; + let strategyToUse = strategy; + if (!isServer && typeof window !== "undefined" && window.location?.href) { + strategyToUse = getStrategyForUrl(window.location.href); + } + for (const strat of strategyToUse) { + if (TREE_SHAKE_GLOBAL_VARIABLE_STRATEGY_USED && + strat === "globalVariable") { + // a default for a custom strategy to get started quickly + // is likely overwritten by `defineSetLocale()` + _locale = newLocale; + } + else if (TREE_SHAKE_COOKIE_STRATEGY_USED && strat === "cookie") { + if (isServer || + typeof document === "undefined" || + typeof window === "undefined") { + continue; + } + // set the cookie + const cookieString = `${cookieName}=${newLocale}; path=/; max-age=${cookieMaxAge}`; + document.cookie = cookieDomain + ? `${cookieString}; domain=${cookieDomain}` + : cookieString; + } + else if (strat === "baseLocale") { + // nothing to be set here. baseLocale is only a fallback + continue; + } + else if (TREE_SHAKE_URL_STRATEGY_USED && + strat === "url" && + typeof window !== "undefined") { + // route to the new url + // + // this triggers a page reload but a user rarely + // switches locales, so this should be fine. + // + // if the behavior is not desired, the implementation + // can be overwritten by `defineSetLocale()` to avoid + // a full page reload. + newLocation = localizeUrl(window.location.href, { + locale: newLocale, + }).href; + } + else if (TREE_SHAKE_LOCAL_STORAGE_STRATEGY_USED && + strat === "localStorage" && + typeof window !== "undefined") { + // set the localStorage + localStorage.setItem(localStorageKey, newLocale); + } + else if (isCustomStrategy(strat) && customClientStrategies.has(strat)) { + const handler = customClientStrategies.get(strat); + if (handler) { + let result = handler.setLocale(newLocale); + // Handle async setLocale + if (result instanceof Promise) { + result = result.catch((error) => { + throw new Error(`Custom strategy "${strat}" setLocale failed.`, { + cause: error, + }); + }); + customSetLocalePromises.push(result); + } + } + } + } + const runReload = () => { + if (!isServer && + optionsWithDefaults.reload && + window.location && + newLocale !== currentLocale) { + navigateOrReload(newLocation); + } + }; + if (customSetLocalePromises.length) { + return Promise.all(customSetLocalePromises).then(() => { + runReload(); + }); + } + runReload(); + return; +}; +/** + * Overwrite the `setLocale()` function. + * + * Use this function to overwrite how the locale is set. For example, + * modify a cookie, env variable, or a user's preference. + * + * @example + * overwriteSetLocale((newLocale) => { + * // set the locale in a cookie + * return Cookies.set('locale', newLocale) + * }); + * + * @param {SetLocaleFn} fn + */ +export const overwriteSetLocale = (fn) => { + setLocale = fn; +}; + +/** + * The origin of the current URL. + * + * Defaults to "http://y.com" in non-browser environments. If this + * behavior is not desired, the implementation can be overwritten + * by `overwriteGetUrlOrigin()`. + * + * @type {() => string} + */ +export let getUrlOrigin = () => { + if (serverAsyncLocalStorage) { + return serverAsyncLocalStorage.getStore()?.origin ?? "http://fallback.com"; + } + else if (typeof window !== "undefined") { + return window.location.origin; + } + return "http://fallback.com"; +}; +/** + * Overwrite the getUrlOrigin function. + * + * Use this function in server environments to + * define how the URL origin is resolved. + * + * @param {() => string} fn - The new implementation for `getUrlOrigin()`. + */ +export let overwriteGetUrlOrigin = (fn) => { + getUrlOrigin = fn; +}; + +/** + * Coerces a locale-like string to the canonical locale value used by the runtime. + * + * @param {unknown} value + * @returns {Locale | undefined} + */ +export function toLocale(value) { + if (typeof value !== "string") { + return undefined; + } + const lowerValue = value.toLowerCase(); + for (const locale of locales) { + if (locale.toLowerCase() === lowerValue) { + return locale; + } + } + return undefined; +} +/** + * Check if something is an available locale with the canonical project casing. + * + * @example + * if (isLocale(params.locale)) { + * setLocale(params.locale); + * } else { + * setLocale('en'); + * } + * + * Use `toLocale()` when you want case-insensitive matching and canonicalization. + * + * @param {unknown} locale + * @returns {locale is Locale} + */ +export function isLocale(locale) { + return !!locale && locales.some((item) => item === locale); +} +/** + * Asserts that the input can be normalized to a locale. + * + * @param {unknown} input - The input to check. + * @returns {Locale} The input normalized to a Locale. + * @throws {Error} If the input is not a locale. + */ +export function assertIsLocale(input) { + const locale = toLocale(input); + if (locale) + return locale; + throw new Error(`Invalid locale: ${input}. Expected one of: ${locales.join(", ")}`); +} + +/** + * Extracts a locale from a request. + * + * Use the function on the server to extract the locale + * from a request. + * + * The function goes through the strategies in the order + * they are defined. If a strategy returns an invalid locale, + * it will fall back to the next strategy. + * + * Note: Custom server strategies are not supported in this synchronous version. + * Use `extractLocaleFromRequestAsync` if you need custom server strategies with async getLocale methods. + * + * @example + * const locale = extractLocaleFromRequest(request); + * + * @param {Request} request + * @returns {Locale} + */ +export const extractLocaleFromRequest = (request) => { + return extractLocaleFromRequestWithStrategies(request, getStrategyForUrl(request.url)); +}; +/** + * Extracts a locale from a request using the provided strategy order. + * + * @param {Request} request + * @param {typeof strategy} strategies + * @returns {Locale} + */ +export const extractLocaleFromRequestWithStrategies = (request, strategies) => { + /** @type {string|undefined} */ + let locale; + for (const strat of strategies) { + if (TREE_SHAKE_COOKIE_STRATEGY_USED && strat === "cookie") { + locale = request.headers + .get("cookie") + ?.split("; ") + .find((c) => c.startsWith(cookieName + "=")) + ?.split("=")[1]; + } + else if (TREE_SHAKE_URL_STRATEGY_USED && strat === "url") { + locale = extractLocaleFromUrl(request.url); + } + else if (TREE_SHAKE_PREFERRED_LANGUAGE_STRATEGY_USED && + strat === "preferredLanguage") { + locale = extractLocaleFromHeader(request); + } + else if (strat === "globalVariable") { + locale = _locale; + } + else if (strat === "baseLocale") { + return baseLocale; + } + else if (strat === "localStorage") { + continue; + } + else if (isCustomStrategy(strat)) { + // Custom strategies are not supported in sync version + // Use extractLocaleFromRequestAsync for custom server strategies + continue; + } + const matchedLocale = toLocale(locale); + if (matchedLocale) { + return matchedLocale; + } + } + throw new Error("No locale found. There is an error in your strategy. Try adding 'baseLocale' as the very last strategy. Read more here https://inlang.com/m/gerre34r/library-inlang-paraglideJs/errors#no-locale-found"); +}; + +/** + * Asynchronously extracts a locale from a request. + * + * This function supports async custom server strategies, unlike the synchronous + * `extractLocaleFromRequest`. Use this function when you have custom server strategies + * that need to perform asynchronous operations (like database calls) in their getLocale method. + * + * The function first processes any custom server strategies asynchronously, then falls back + * to the synchronous `extractLocaleFromRequest` for all other strategies. + * + * @see {@link https://github.com/opral/inlang-paraglide-js/issues/527#issuecomment-2978151022} + * + * @example + * // Basic usage + * const locale = await extractLocaleFromRequestAsync(request); + * + * @example + * // With custom async server strategy + * defineCustomServerStrategy("custom-database", { + * getLocale: async (request) => { + * const userId = extractUserIdFromRequest(request); + * return await getUserLocaleFromDatabase(userId); + * } + * }); + * + * const locale = await extractLocaleFromRequestAsync(request); + * + * @param {Request} request - The request object to extract the locale from. + * @returns {Promise} The extracted locale. + */ +export const extractLocaleFromRequestAsync = async (request) => { + /** @type {string|undefined} */ + let locale; + const strategy = getStrategyForUrl(request.url); + // Process custom strategies first, in order + for (const strat of strategy) { + if (isCustomStrategy(strat) && customServerStrategies.has(strat)) { + const handler = customServerStrategies.get(strat); + if (handler) { + /** @type {string|undefined} */ + locale = await handler.getLocale(request); + } + // If we got a valid locale from this custom strategy, use it + const matchedLocale = toLocale(locale); + if (matchedLocale) { + return matchedLocale; + } + } + } + // If no custom strategy provided a valid locale, fall back to sync version + return extractLocaleFromRequestWithStrategies(request, strategy); +}; + +/** + * Extracts a cookie from the document. + * + * Will return undefined if the document is not available or if the cookie is not set. + * The `document` object is not available in server-side rendering, so this function should not be called in that context. + * + * @returns {Locale | undefined} + */ +export function extractLocaleFromCookie() { + if (typeof document === "undefined" || !document.cookie) { + return; + } + const match = document.cookie.match(new RegExp(`(^| )${cookieName}=([^;]+)`)); + const locale = match?.[2]; + return toLocale(locale); +} + +/** + * Extracts a locale from the accept-language header. + * + * Use the function on the server to extract the locale + * from the accept-language header that is sent by the client. + * + * @example + * const locale = extractLocaleFromHeader(request); + * + * @param {Request} request - The request object to extract the locale from. + * @returns {Locale | undefined} The negotiated preferred language. + */ +export function extractLocaleFromHeader(request) { + const acceptLanguageHeader = request.headers.get("accept-language"); + if (acceptLanguageHeader) { + // Parse language preferences with their q-values and base language codes + const languages = acceptLanguageHeader + .split(",") + .map((lang) => { + const [tag, q = "1"] = lang.trim().split(";q="); + // Get both the full tag and base language code + const baseTag = tag?.split("-")[0]; + return { + fullTag: tag, + baseTag, + q: Number(q), + }; + }) + .sort((a, b) => b.q - a.q); + for (const lang of languages) { + const fullLocale = toLocale(lang.fullTag); + if (fullLocale) { + return fullLocale; + } + const baseLocale = toLocale(lang.baseTag); + if (baseLocale) { + return baseLocale; + } + } + return undefined; + } + return undefined; +} + +/** + * Negotiates a preferred language from navigator.languages. + * + * Use the function on the client to extract the locale + * from the navigator.languages array. + * + * @example + * const locale = extractLocaleFromNavigator(); + * + * @returns {Locale | undefined} + */ +export function extractLocaleFromNavigator() { + if (!navigator?.languages?.length) { + return undefined; + } + const languages = navigator.languages.map((lang) => ({ + fullTag: lang, + baseTag: lang.split("-")[0], + })); + for (const lang of languages) { + const fullLocale = toLocale(lang.fullTag); + if (fullLocale) { + return fullLocale; + } + const baseLocale = toLocale(lang.baseTag); + if (baseLocale) { + return baseLocale; + } + } + return undefined; +} + +/** + * If extractLocaleFromUrl is called many times on the same page and the URL + * hasn't changed, we don't need to recompute it every time which can get expensive. + * We might use a LRU cache if needed, but for now storing only the last result is enough. + * https://github.com/opral/monorepo/pull/3575#discussion_r2066731243 + */ +/** @type {string|undefined} */ +let cachedUrl; +/** @type {Locale|undefined} */ +let cachedLocale; +/** + * Extracts the locale from a given URL using native URLPattern. + * + * The built-in default `/:locale/...` routing is case-insensitive because it + * canonicalizes the first path segment with `toLocale()`. Custom `urlPatterns` + * keep URLPattern's normal exact matching semantics for path segments. + * + * @param {URL|string} url - The full URL from which to extract the locale. + * @returns {Locale|undefined} The extracted locale, or undefined if no locale is found. + */ +export function extractLocaleFromUrl(url) { + const urlString = typeof url === "string" ? url : url.href; + if (cachedUrl === urlString) { + return cachedLocale; + } + /** @type {Locale | undefined} */ + let result; + if (TREE_SHAKE_DEFAULT_URL_PATTERN_USED) { + result = defaultUrlPatternExtractLocale(url); + } + else { + const urlObj = typeof url === "string" ? new URL(url) : url; + // Iterate over URL patterns + for (const element of urlPatterns) { + for (const [locale, localizedPattern] of element.localized) { + const match = new URLPattern(localizedPattern, urlObj.href).exec(urlObj.href); + if (match) { + result = locale; + break; + } + } + if (result) + break; + } + } + cachedUrl = urlString; + cachedLocale = result; + return result; +} +/** + * https://github.com/opral/inlang-paraglide-js/issues/381 + * + * @param {URL | string} url - The full URL from which to extract the locale. + * @returns {Locale | undefined} The extracted locale, or undefined if no locale is found. + */ +function defaultUrlPatternExtractLocale(url) { + const urlObj = new URL(url, "http://dummy.com"); + const pathSegments = urlObj.pathname.split("/").filter(Boolean); + return toLocale(pathSegments[0]) || baseLocale; +} + +/** + * Lower-level URL localization function, primarily used in server contexts. + * + * This function is designed for server-side usage where you need precise control + * over URL localization, such as in middleware or request handlers. It works with + * URL objects and always returns absolute URLs. + * + * For client-side UI components, use `localizeHref()` instead, which provides + * a more convenient API with relative paths and automatic locale detection. + * + * @see https://inlang.com/m/gerre34r/library-inlang-paraglideJs/i18n-routing + * + * @example + * ```typescript + * // Server middleware example + * app.use((req, res, next) => { + * const url = new URL(req.url, `${req.protocol}://${req.headers.host}`); + * const localized = localizeUrl(url, { locale: "de" }); + * + * if (localized.href !== url.href) { + * return res.redirect(localized.href); + * } + * next(); + * }); + * ``` + * + * @example + * ```typescript + * // Using with URL patterns + * const url = new URL("https://example.com/about"); + * localizeUrl(url, { locale: "de" }); + * // => URL("https://example.com/de/about") + * + * // Using with domain-based localization + * const url = new URL("https://example.com/store"); + * localizeUrl(url, { locale: "de" }); + * // => URL("https://de.example.com/store") + * ``` + * + * @param {string | URL} url - The URL to localize. If string, must be absolute. + * @param {object} [options] - Options for localization + * @param {Locale} [options.locale] - Target locale. If not provided, uses getLocale() + * @returns {URL} The localized URL, always absolute + */ +export function localizeUrl(url, options) { + const targetLocale = options?.locale + ? assertIsLocale(options?.locale) + : getLocale(); + if (TREE_SHAKE_DEFAULT_URL_PATTERN_USED) { + return localizeUrlDefaultPattern(url, targetLocale); + } + const urlObj = typeof url === "string" ? new URL(url) : url; + // Iterate over URL patterns + for (const element of urlPatterns) { + // match localized patterns + for (const [, localizedPattern] of element.localized) { + const match = new URLPattern(localizedPattern, urlObj.href).exec(urlObj.href); + if (!match) { + continue; + } + const targetPattern = element.localized.find(([locale]) => locale === targetLocale)?.[1]; + if (!targetPattern) { + continue; + } + const localizedUrl = fillPattern(targetPattern, aggregateGroups(match), urlObj.origin); + return fillMissingUrlParts(localizedUrl, match); + } + const unlocalizedMatch = new URLPattern(element.pattern, urlObj.href).exec(urlObj.href); + if (unlocalizedMatch) { + const targetPattern = element.localized.find(([locale]) => locale === targetLocale)?.[1]; + if (targetPattern) { + const localizedUrl = fillPattern(targetPattern, aggregateGroups(unlocalizedMatch), urlObj.origin); + return fillMissingUrlParts(localizedUrl, unlocalizedMatch); + } + } + } + // If no match found, return the original URL + return urlObj; +} +/** + * https://github.com/opral/inlang-paraglide-js/issues/381 + * + * @param {string | URL} url + * @param {Locale} locale + * @returns {URL} + */ +function localizeUrlDefaultPattern(url, locale) { + const urlObj = typeof url === "string" ? new URL(url, getUrlOrigin()) : new URL(url); + const currentLocale = extractLocaleFromUrl(urlObj); + // If current locale matches target locale, no change needed + if (currentLocale === locale) { + return urlObj; + } + const pathSegments = urlObj.pathname.split("/").filter(Boolean); + // If current path starts with a locale, remove it + if (pathSegments.length > 0 && toLocale(pathSegments[0])) { + pathSegments.shift(); + } + // For base locale, don't add prefix + if (locale === baseLocale) { + urlObj.pathname = "/" + pathSegments.join("/"); + } + else { + // For other locales, add prefix + urlObj.pathname = "/" + locale + "/" + pathSegments.join("/"); + } + return urlObj; +} +/** + * Low-level URL de-localization function, primarily used in server contexts. + * + * This function is designed for server-side usage where you need precise control + * over URL de-localization, such as in middleware or request handlers. It works with + * URL objects and always returns absolute URLs. + * + * For client-side UI components, use `deLocalizeHref()` instead, which provides + * a more convenient API with relative paths. + * + * @see https://inlang.com/m/gerre34r/library-inlang-paraglideJs/i18n-routing + * + * @example + * ```typescript + * // Server middleware example + * app.use((req, res, next) => { + * const url = new URL(req.url, `${req.protocol}://${req.headers.host}`); + * const baseUrl = deLocalizeUrl(url); + * + * // Store the base URL for later use + * req.baseUrl = baseUrl; + * next(); + * }); + * ``` + * + * @example + * ```typescript + * // Using with URL patterns + * const url = new URL("https://example.com/de/about"); + * deLocalizeUrl(url); // => URL("https://example.com/about") + * + * // Using with domain-based localization + * const url = new URL("https://de.example.com/store"); + * deLocalizeUrl(url); // => URL("https://example.com/store") + * ``` + * + * @param {string | URL} url - The URL to de-localize. If string, must be absolute. + * @returns {URL} The de-localized URL, always absolute + */ +export function deLocalizeUrl(url) { + if (TREE_SHAKE_DEFAULT_URL_PATTERN_USED) { + return deLocalizeUrlDefaultPattern(url); + } + const urlObj = typeof url === "string" ? new URL(url) : url; + // Iterate over URL patterns + for (const element of urlPatterns) { + // Iterate over localized versions + for (const [, localizedPattern] of element.localized) { + const match = new URLPattern(localizedPattern, urlObj.href).exec(urlObj.href); + if (match) { + // Convert localized URL back to the base pattern + const groups = aggregateGroups(match); + const baseUrl = fillPattern(element.pattern, groups, urlObj.origin); + return fillMissingUrlParts(baseUrl, match); + } + } + // match unlocalized pattern + const unlocalizedMatch = new URLPattern(element.pattern, urlObj.href).exec(urlObj.href); + if (unlocalizedMatch) { + const baseUrl = fillPattern(element.pattern, aggregateGroups(unlocalizedMatch), urlObj.origin); + return fillMissingUrlParts(baseUrl, unlocalizedMatch); + } + } + // no match found return the original url + return urlObj; +} +/** + * De-localizes a URL using the default pattern (/:locale/*) + * @param {string|URL} url + * @returns {URL} + */ +function deLocalizeUrlDefaultPattern(url) { + const urlObj = typeof url === "string" ? new URL(url, getUrlOrigin()) : new URL(url); + const pathSegments = urlObj.pathname.split("/").filter(Boolean); + // If first segment is a locale, remove it + if (pathSegments.length > 0 && toLocale(pathSegments[0])) { + urlObj.pathname = "/" + pathSegments.slice(1).join("/"); + } + return urlObj; +} +/** + * Takes matches of implicit wildcards in the UrlPattern (when a part is missing + * it is equal to '*') and adds them back to the result of fillPattern. + * + * At least protocol and hostname are required to create a valid URL inside fillPattern. + * + * @param {URL} url + * @param {any} match + * @returns {URL} + */ +function fillMissingUrlParts(url, match) { + if (match.protocol.groups["0"]) { + url.protocol = match.protocol.groups["0"] ?? ""; + } + if (match.hostname.groups["0"]) { + url.hostname = match.hostname.groups["0"] ?? ""; + } + if (match.username.groups["0"]) { + url.username = match.username.groups["0"] ?? ""; + } + if (match.password.groups["0"]) { + url.password = match.password.groups["0"] ?? ""; + } + if (match.port.groups["0"]) { + url.port = match.port.groups["0"] ?? ""; + } + if (match.pathname.groups["0"]) { + url.pathname = match.pathname.groups["0"] ?? ""; + } + if (match.search.groups["0"]) { + url.search = match.search.groups["0"] ?? ""; + } + if (match.hash.groups["0"]) { + url.hash = match.hash.groups["0"] ?? ""; + } + return url; +} +/** + * Fills a URL pattern with values for named groups, supporting all URLPattern-style modifiers. + * + * This function will eventually be replaced by https://github.com/whatwg/urlpattern/issues/73 + * + * Matches: + * - :name -> Simple + * - :name? -> Optional + * - :name+ -> One or more + * - :name* -> Zero or more + * - :name(...) -> Regex group + * - {text} -> Group delimiter + * - {text}? -> Optional group delimiter + * + * If the value is `null`, the segment is removed. + * + * @param {string} pattern - The URL pattern containing named groups. + * @param {Record} values - Object of values for named groups. + * @param {string} origin - Base URL to use for URL construction. + * @returns {URL} - The constructed URL with named groups filled. + */ +function fillPattern(pattern, values, origin) { + // Pre-process the pattern to handle explicit port numbers + // This detects patterns like "http://localhost:5173" and protects the port number + // from being interpreted as a parameter + let processedPattern = pattern.replace(/(https?:\/\/[^:/]+):(\d+)(\/|$)/g, (_, protocol, port, slash) => { + // Replace ":5173" with "#PORT-5173#" to protect it from parameter replacement + return `${protocol}#PORT-${port}#${slash}`; + }); + // First, handle group delimiters with curly braces + let processedGroupDelimiters = processedPattern.replace(/\{([^{}]*)\}([?+*]?)/g, (_, content, modifier) => { + // For optional group delimiters + if (modifier === "?") { + // For optional groups, we'll include the content + return content; + } + // For non-optional group delimiters, always include the content + return content; + }); + // Then handle named groups + let filled = processedGroupDelimiters.replace(/(\/?):([a-zA-Z0-9_]+)(\([^)]*\))?([?+*]?)/g, (_, slash, name, __, modifier) => { + const value = values[name]; + if (value === null) { + // If value is null, remove the entire segment including the preceding slash + return ""; + } + if (modifier === "?") { + // Optional segment + return value !== undefined ? `${slash}${value}` : ""; + } + if (modifier === "+" || modifier === "*") { + // Repeatable segments + if (value === undefined && modifier === "+") { + throw new Error(`Missing value for "${name}" (one or more required)`); + } + return value ? `${slash}${value}` : ""; + } + // Simple named group (no modifier) + if (value === undefined) { + throw new Error(`Missing value for "${name}"`); + } + return `${slash}${value}`; + }); + // Restore port numbers + filled = filled.replace(/#PORT-(\d+)#/g, ":$1"); + return new URL(filled, origin); +} +/** + * Aggregates named groups from various parts of the URLPattern match result. + * + * + * @param {any} match - The URLPattern match result object. + * @returns {Record} An object containing all named groups from the match. + */ +export function aggregateGroups(match) { + return { + ...match.hash.groups, + ...match.hostname.groups, + ...match.password.groups, + ...match.pathname.groups, + ...match.port.groups, + ...match.protocol.groups, + ...match.search.groups, + ...match.username.groups, + }; +} + +/** + * @typedef {object} ShouldRedirectServerInput + * @property {Request} request + * @property {string | URL} [url] + * @property {Locale} [locale] + * + * @typedef {object} ShouldRedirectClientInput + * @property {undefined} [request] + * @property {string | URL} [url] + * @property {Locale} [locale] + * + * @typedef {ShouldRedirectServerInput | ShouldRedirectClientInput} ShouldRedirectInput + * + * @typedef {object} ShouldRedirectResult + * @property {boolean} shouldRedirect - Indicates whether the consumer should perform a redirect. + * @property {Locale} locale - Locale resolved using the configured strategies. + * @property {URL | undefined} redirectUrl - Destination URL when a redirect is required. + */ +/** + * Determines whether a redirect is required to align the current URL with the active locale. + * + * This helper mirrors the logic that powers `paraglideMiddleware`, but works in both server + * and client environments. It evaluates the configured strategies in order, computes the + * canonical localized URL, and reports when the current URL does not match. + * + * When called in the browser without arguments, the current `window.location.href` is used. + * + * @see https://inlang.com/m/gerre34r/library-inlang-paraglideJs/i18n-routing#client-side-redirects + * + * @example + * // Client side usage (e.g. TanStack Router beforeLoad hook) + * async function beforeLoad({ location }) { + * const decision = await shouldRedirect({ url: location.href }); + * + * if (decision.shouldRedirect) { + * throw redirect({ to: decision.redirectUrl.href }); + * } + * } + * + * @example + * // Server side usage with a Request + * export async function handle(request) { + * const decision = await shouldRedirect({ request }); + * + * if (decision.shouldRedirect) { + * return Response.redirect(decision.redirectUrl, 307); + * } + * + * return render(request, decision.locale); + * } + * + * @param {ShouldRedirectInput} [input] + * @returns {Promise} + */ +export async function shouldRedirect(input = {}) { + const currentUrl = resolveUrl(input); + const locale = await resolveLocale(input, currentUrl); + const strategy = getStrategyForUrl(currentUrl.href); + if (isExcludedByRouteStrategy(currentUrl.href) || !strategy.includes("url")) { + return { shouldRedirect: false, locale, redirectUrl: undefined }; + } + const localizedUrl = localizeUrl(currentUrl.href, { locale }); + const shouldRedirectToLocalizedUrl = normalizeUrl(localizedUrl.href) !== normalizeUrl(currentUrl.href); + return { + shouldRedirect: shouldRedirectToLocalizedUrl, + locale, + redirectUrl: shouldRedirectToLocalizedUrl ? localizedUrl : undefined, + }; +} +/** + * Resolves the locale either from the provided input or by using the configured strategies. + * + * @param {ShouldRedirectInput} input + * @param {URL} currentUrl + * @returns {Promise} + */ +async function resolveLocale(input, currentUrl) { + const locale = toLocale(input.locale); + if (locale) { + return locale; + } + if (input.request) { + return extractLocaleFromRequestAsync(input.request); + } + if (typeof input.url !== "undefined") { + return getLocaleForUrl(currentUrl.href); + } + return getLocale(); +} +/** + * Resolves the current URL from the provided input or runtime context. + * + * @param {ShouldRedirectInput} input + * @returns {URL} + */ +function resolveUrl(input) { + if (input.request) { + return new URL(input.request.url); + } + if (input.url instanceof URL) { + return new URL(input.url.href); + } + if (typeof input.url === "string") { + return new URL(input.url, getUrlOrigin()); + } + if (typeof window !== "undefined" && window?.location?.href) { + return new URL(window.location.href); + } + throw new Error("shouldRedirect() requires either a request, an absolute URL, or must run in a browser environment."); +} +/** + * Normalize url for comparison by stripping the trailing slash. + * + * @param {string} url + * @returns {string} + */ +function normalizeUrl(url) { + const urlObj = new URL(url); + urlObj.pathname = urlObj.pathname.replace(/\/$/, ""); + return urlObj.href; +} + +/** + * High-level URL localization function optimized for client-side UI usage. + * + * This is a convenience wrapper around `localizeUrl()` that provides features + * needed in UI: + * + * - Accepts relative paths (e.g., "/about") + * - Returns relative paths when possible + * - Automatically detects current locale if not specified + * - Handles string input/output instead of URL objects + * + * @see https://inlang.com/m/gerre34r/library-inlang-paraglideJs/i18n-routing + * + * @example + * ```typescript + * // In a React/Vue/Svelte component + * const NavLink = ({ href }) => { + * // Automatically uses current locale, keeps path relative + * return ...; + * }; + * + * // Examples: + * localizeHref("/about") + * // => "/de/about" (if current locale is "de") + * localizeHref("/store", { locale: "fr" }) + * // => "/fr/store" (explicit locale) + * + * // Cross-origin links remain absolute + * localizeHref("https://other-site.com/about") + * // => "https://other-site.com/de/about" + * ``` + * + * For server-side URL localization (e.g., in middleware), use `localizeUrl()` + * which provides more precise control over URL handling. + * + * @param {string} href - The href to localize (can be relative or absolute) + * @param {object} [options] - Options for localization + * @param {Locale} [options.locale] - Target locale. If not provided, uses `getLocale()` + * @returns {string} The localized href, relative if input was relative + */ +export function localizeHref(href, options) { + const currentLocale = getLocale(); + const locale = options?.locale ?? currentLocale; + const url = new URL(href, getUrlOrigin()); + const localized = localizeUrl(url, { locale }); + // if the origin is identical and the href is relative, + // return the relative path + if (href.startsWith("/") && url.origin === localized.origin) { + // check for cross origin localization in which case an absolute URL must be returned. + if (locale !== currentLocale) { + const localizedCurrentLocale = localizeUrl(url, { + locale: currentLocale, + }); + if (localizedCurrentLocale.origin !== localized.origin) { + return localized.href; + } + } + return localized.pathname + localized.search + localized.hash; + } + return localized.href; +} +/** + * High-level URL de-localization function optimized for client-side UI usage. + * + * This is a convenience wrapper around `deLocalizeUrl()` that provides features + * needed in the UI: + * + * - Accepts relative paths (e.g., "/de/about") + * - Returns relative paths when possible + * - Handles string input/output instead of URL objects + * + * @see https://inlang.com/m/gerre34r/library-inlang-paraglideJs/i18n-routing + * + * @example + * ```typescript + * // In a React/Vue/Svelte component + * const LocaleSwitcher = ({ href }) => { + * // Remove locale prefix before switching + * const baseHref = deLocalizeHref(href); + * return locales.map(locale => + * + * Switch to {locale} + * + * ); + * }; + * + * // Examples: + * deLocalizeHref("/de/about") // => "/about" + * deLocalizeHref("/fr/store") // => "/store" + * + * // Cross-origin links remain absolute + * deLocalizeHref("https://example.com/de/about") + * // => "https://example.com/about" + * ``` + * + * For server-side URL de-localization (e.g., in middleware), use `deLocalizeUrl()` + * which provides more precise control over URL handling. + * + * @param {string} href - The href to de-localize (can be relative or absolute) + * @returns {string} The de-localized href, relative if input was relative + */ +export function deLocalizeHref(href) { + const url = new URL(href, getUrlOrigin()); + const deLocalized = deLocalizeUrl(url); + // If the origin is identical and the href is relative, + // return the relative path instead of the full URL. + if (href.startsWith("/") && url.origin === deLocalized.origin) { + return deLocalized.pathname + deLocalized.search + deLocalized.hash; + } + return deLocalized.href; +} + +/** + * @param {string} safeModuleId + * @param {Locale} locale + */ +export function trackMessageCall(safeModuleId, locale) { + if (isServer === false) + return; + const store = serverAsyncLocalStorage?.getStore(); + if (store) { + store.messageCalls?.add(`${safeModuleId}:${locale}`); + } +} + +/** + * Generates localized URL variants for all provided URLs based on your configured locales and URL patterns. + * + * This function is essential for Static Site Generation (SSG) where you need to tell your framework + * which pages to pre-render at build time. It's also useful for generating sitemaps and + * `` tags for SEO. + * + * The function respects your `urlPatterns` configuration - if you have translated pathnames + * (e.g., `/about` → `/ueber-uns` for German), it will generate the correct localized paths. + * + * @see https://inlang.com/m/gerre34r/library-inlang-paraglideJs/static-site-generation + * + * @example + * // Basic usage - generate all locale variants for a list of paths + * const localizedUrls = generateStaticLocalizedUrls([ + * "/", + * "/about", + * "/blog/post-1", + * ]); + * // Returns URL objects for each locale: + * // ["/en/", "/de/", "/en/about", "/de/about", "/en/blog/post-1", "/de/blog/post-1"] + * + * @example + * // Use with framework SSG APIs + * // SvelteKit + * export function entries() { + * const paths = ["/", "/about", "/contact"]; + * return generateStaticLocalizedUrls(paths).map(url => ({ + * locale: extractLocaleFromUrl(url) + * })); + * } + * + * @example + * // Sitemap generation + * const allPages = ["/", "/about", "/blog"]; + * const sitemapUrls = generateStaticLocalizedUrls(allPages); + * + * @param {(string | URL)[]} urls - List of canonical URLs or paths to generate localized versions for. + * Can be absolute URLs (`https://example.com/about`) or paths (`/about`). + * Paths are resolved against `http://localhost` internally. + * @returns {URL[]} Array of URL objects representing all localized variants. + * The order follows each input URL with all its locale variants before moving to the next URL. + */ +export function generateStaticLocalizedUrls(urls) { + /** @type {Set} */ + const localizedUrls = new Set(); + // For default URL pattern, we can optimize the generation + if (TREE_SHAKE_DEFAULT_URL_PATTERN_USED) { + for (const urlInput of urls) { + const url = urlInput instanceof URL + ? urlInput + : new URL(urlInput, "http://localhost"); + // Base locale doesn't get a prefix + localizedUrls.add(url); + // Other locales get their code as prefix + for (const locale of locales) { + if (locale !== baseLocale) { + const localizedPath = `/${locale}${url.pathname}${url.search}${url.hash}`; + const localizedUrl = new URL(localizedPath, url.origin); + localizedUrls.add(localizedUrl); + } + } + } + return Array.from(localizedUrls); + } + // For custom URL patterns, we need to use localizeUrl for each URL and locale + for (const urlInput of urls) { + const url = urlInput instanceof URL + ? urlInput + : new URL(urlInput, "http://localhost"); + // Try each URL pattern to find one that matches + let patternFound = false; + for (const pattern of urlPatterns) { + try { + // Try to match the unlocalized pattern + const unlocalizedMatch = new URLPattern(pattern.pattern, url.href).exec(url.href); + if (!unlocalizedMatch) + continue; + patternFound = true; + // Track unique localized URLs to avoid duplicates when patterns are the same + const seenUrls = new Set(); + // Generate localized URL for each locale + for (const [locale] of pattern.localized) { + try { + const localizedUrl = localizeUrl(url, { locale }); + const urlString = localizedUrl.href; + // Only add if we haven't seen this exact URL before + if (!seenUrls.has(urlString)) { + seenUrls.add(urlString); + localizedUrls.add(localizedUrl); + } + } + catch { + // Skip if localization fails for this locale + continue; + } + } + break; + } + catch { + // Skip if pattern matching fails + continue; + } + } + // If no pattern matched, use the URL as is + if (!patternFound) { + localizedUrls.add(url); + } + } + return Array.from(localizedUrls); +} + +/** + * @typedef {"cookie" | "baseLocale" | "globalVariable" | "url" | "preferredLanguage" | "localStorage"} BuiltInStrategy + */ +/** + * @typedef {`custom_${string}`} CustomStrategy + */ +/** + * @typedef {BuiltInStrategy | CustomStrategy} Strategy + */ +/** + * @typedef {Array} Strategies + */ +/** + * @typedef {{ getLocale: (request?: Request) => Promise | (string | undefined) }} CustomServerStrategyHandler + */ +/** + * @typedef {{ getLocale: () => Promise | (string | undefined), setLocale: (locale: string) => Promise | void }} CustomClientStrategyHandler + */ +/** @type {Map} */ +export const customServerStrategies = new Map(); +/** @type {Map} */ +export const customClientStrategies = new Map(); +/** + * Checks if the given strategy is a custom strategy. + * + * @param {unknown} strategy The name of the custom strategy to validate. + * Must be a string that starts with "custom-" followed by alphanumeric characters, hyphens, or underscores. + * @returns {boolean} Returns true if it is a custom strategy, false otherwise. + */ +export function isCustomStrategy(strategy) { + return (typeof strategy === "string" && /^custom-[A-Za-z0-9_-]+$/.test(strategy)); +} +/** + * Defines a custom strategy that is executed on the server. + * + * @see https://inlang.com/m/gerre34r/library-inlang-paraglideJs/strategy#write-your-own-strategy + * + * @param {string} strategy The name of the custom strategy to define. Must follow the pattern custom-name with alphanumeric characters, hyphens, or underscores. + * @param {CustomServerStrategyHandler} handler The handler for the custom strategy, which should implement + * the method getLocale. + * @returns {void} + */ +export function defineCustomServerStrategy(strategy, handler) { + if (!isCustomStrategy(strategy)) { + throw new Error(`Invalid custom strategy: "${strategy}". Must be a custom strategy following the pattern custom-name.`); + } + customServerStrategies.set(strategy, handler); +} +/** + * Defines a custom strategy that is executed on the client. + * + * @see https://inlang.com/m/gerre34r/library-inlang-paraglideJs/strategy#write-your-own-strategy + * + * @param {string} strategy The name of the custom strategy to define. Must follow the pattern custom-name with alphanumeric characters, hyphens, or underscores. + * @param {CustomClientStrategyHandler} handler The handler for the custom strategy, which should implement the + * methods getLocale and setLocale. + * @returns {void} + */ +export function defineCustomClientStrategy(strategy, handler) { + if (!isCustomStrategy(strategy)) { + throw new Error(`Invalid custom strategy: "${strategy}". Must be a custom strategy following the pattern custom-name.`); + } + customClientStrategies.set(strategy, handler); +} + +// ------ TYPES ------ +export {}; +/** + * A locale that is available in the project. + * + * @example + * setLocale(request.locale as Locale) + * + * @typedef {typeof locales[number]} Locale + */ +/** + * A branded type representing a localized string. + * + * Message functions return this type instead of \`string\`, enabling TypeScript + * to distinguish translated strings from regular strings at compile time. + * This allows you to enforce that only properly localized content is used + * in your UI components. + * + * Since \`LocalizedString\` is a branded subtype of \`string\`, it remains fully + * backward compatible—you can pass it anywhere a \`string\` is expected. + * + * @example + * // Enforce localized strings in your components + * function PageTitle(props: { title: LocalizedString }) { + * return

{props.title}

+ * } + * + * // ✅ Correct: using a message function + * + * + * // ❌ Type error: raw strings are not LocalizedString + * + * + * @example + * // LocalizedString is assignable to string (backward compatible) + * const localized: LocalizedString = m.greeting() + * const str: string = localized // ✅ works fine + * + * // But string is not assignable to LocalizedString + * const raw: LocalizedString = "Hello" // ❌ Type error + * + * @example + * // Catches accidental string concatenation + * function showMessage(msg: LocalizedString) { ... } + * + * showMessage(m.hello()) // ✅ + * showMessage("Hello " + userName) // ❌ Type error + * showMessage(m.hello_user({ name: userName })) // ✅ use params instead + * + * @typedef {string & { readonly __brand: 'LocalizedString' }} LocalizedString + */ +/** + * A single markup option passed to a tag instance. + * + * @typedef {{ + * name: string; + * value: unknown; + * }} MessageMarkupOption + */ +/** + * A single static markup attribute attached to a tag instance. + * + * @typedef {{ + * name: string; + * value: string | true; + * }} MessageMarkupAttribute + */ +/** + * Record of markup options for a tag instance. + * + * @typedef {Record} MessageMarkupOptions + */ +/** + * Record of markup attributes for a tag instance. + * + * @typedef {Record} MessageMarkupAttributes + */ +/** + * Type-level schema for a single markup tag. + * + * @typedef {{ + * options: MessageMarkupOptions; + * attributes: MessageMarkupAttributes; + * children: boolean; + * }} MessageMarkupTag + */ +/** + * Type-level schema for all markup tags in a message. + * + * @typedef {Record} MessageMarkupSchema + */ +/** + * Type-only metadata attached to compiled message functions. + * + * @template Inputs + * @template Options + * @template {MessageMarkupSchema} [Markup = MessageMarkupSchema] + * @typedef {{ + * readonly __paraglide?: { + * inputs: Inputs; + * options: Options; + * markup: Markup; + * }; + * }} MessageMetadata + */ +/** + * A compiled, framework-neutral message part. + * + * @typedef {{ + * type: "text"; + * value: string; + * } | { + * type: "markup-start"; + * name: string; + * options: MessageMarkupOptions; + * attributes: MessageMarkupAttributes; + * } | { + * type: "markup-end"; + * name: string; + * options: MessageMarkupOptions; + * attributes: MessageMarkupAttributes; + * } | { + * type: "markup-standalone"; + * name: string; + * options: MessageMarkupOptions; + * attributes: MessageMarkupAttributes; + * }} MessagePart + */ +/** + * A message function is a message for a specific locale. + * + * @example + * m.hello({ name: 'world' }) + * + * @typedef {(inputs?: Record) => LocalizedString} MessageFunction + */ +/** + * A message bundle function that selects the message to be returned. + * + * Uses `getLocale()` under the hood to determine the locale with an option. + * + * @template {string} T + * + * @example + * * m.hello({ name: 'world' }, { locale: "en" }) + * + * @typedef {(params: Record, options: { locale: T }) => LocalizedString} MessageBundleFunction + */ diff --git a/ui/src/lib/paraglide/server.js b/ui/src/lib/paraglide/server.js new file mode 100644 index 0000000..99f698f --- /dev/null +++ b/ui/src/lib/paraglide/server.js @@ -0,0 +1,239 @@ +/* eslint-disable */ + +import * as runtime from "./runtime.js"; + +/** + * Server middleware that handles locale-based routing and request processing. + * + * Configure `disableAsyncLocalStorage` when generating Paraglide with + * `paraglideVitePlugin()` or `compile()`, not when calling + * `paraglideMiddleware()`. Keep AsyncLocalStorage enabled by default and + * only disable it for runtimes that lack `AsyncLocalStorage` support and + * guarantee request isolation. + * + * This middleware performs several key functions: + * + * 1. Determines the locale for the incoming request using configured strategies + * 2. Handles URL localization and redirects (only for document requests) + * 3. Maintains locale state using AsyncLocalStorage to prevent request interference + * + * When URL strategy is used: + * + * - The locale is extracted from the URL for all request types + * - If URL doesn't match the determined locale, redirects to localized URL (only for document requests) + * - De-localizes URLs before passing to server (e.g., `/fr/about` → `/about`) + * + * @see https://inlang.com/m/gerre34r/library-inlang-paraglideJs/middleware + * + * @template T - The return type of the resolve function + * + * @param {Request} request - The incoming request object + * @param {(args: { request: Request, locale: import("./runtime.js").Locale }) => T | Promise} resolve - Function to handle the request. The callback receives: + * - `request`: A modified request with a delocalized URL when the URL strategy is used (e.g., `/fr/about` → `/about`). + * If your framework handles URL localization itself (e.g., TanStack Router's `rewrite` option), use the original + * request instead to avoid redirect loops. + * - `locale`: The determined locale for this request. + * @param {{ onRedirect:(response: Response) => void }} [callbacks] - Callbacks to handle events from middleware + * @returns {Promise} + * + * @example + * ```typescript + * // Basic usage in metaframeworks like NextJS, SvelteKit, Astro, Nuxt, etc. + * export const handle = async ({ event, resolve }) => { + * return paraglideMiddleware(event.request, ({ request, locale }) => { + * // let the framework further resolve the request + * return resolve(request); + * }); + * }; + * ``` + * + * @example + * ```typescript + * // Usage in a framework like Express JS or Hono + * app.use(async (req, res, next) => { + * const result = await paraglideMiddleware(req, ({ request, locale }) => { + * // If a redirect happens this won't be called + * return next(request); + * }); + * }); + * ``` + * + * @example + * ```typescript + * // Usage with frameworks that handle URL localization/delocalization themselves + * // + * // Some frameworks like TanStack Router handle URL localization and delocalization + * // themselves via their own rewrite APIs (e.g., `rewrite.input`/`rewrite.output`). + * // + * // When the framework handles this, the middleware's URL delocalization is not needed. + * // Using the modified `request` from the callback would cause a redirect loop because + * // both the middleware and the framework would attempt to delocalize the URL. + * // + * // Solution: Pass the original request to the handler instead of the modified one. + * // The middleware still handles locale detection, cookies, and AsyncLocalStorage context. + * // + * // ❌ WRONG - causes redirect loop when framework handles URL rewriting: + * // paraglideMiddleware(req, ({ request }) => handler.fetch(request)) + * // + * // ✅ CORRECT - use original request when framework handles URL localization: + * // paraglideMiddleware(req, () => handler.fetch(req)) + * + * * * + * export default { + * fetch(req: Request): Promise { + * // TanStack Router handles URL rewriting via deLocalizeUrl/localizeUrl + * // so we pass the original `req` instead of the modified `request` + * return paraglideMiddleware(req, () => handler.fetch(req)) + * }, + * } + * ``` + */ +export async function paraglideMiddleware(request, resolve, callbacks) { + if (!runtime.disableAsyncLocalStorage && !runtime.serverAsyncLocalStorage) { + const { AsyncLocalStorage } = await import("async_hooks"); + runtime.overwriteServerAsyncLocalStorage(new AsyncLocalStorage()); + } else if (!runtime.serverAsyncLocalStorage) { + runtime.overwriteServerAsyncLocalStorage(createMockAsyncLocalStorage()); + } + if (runtime.isExcludedByRouteStrategy(request.url)) { + const locale = runtime.baseLocale; + const origin = new URL(request.url).origin; + const newRequest = cloneRequestWithFallback(request); + /** @type {Set} */ + const messageCalls = new Set(); + return /** @type {Response} */ (await runtime.serverAsyncLocalStorage?.run({ locale, origin, messageCalls }, () => resolve({ locale, request: newRequest }))); + } + const strategy = runtime.getStrategyForUrl(request.url); + const decision = await runtime.shouldRedirect({ request }); + const locale = decision.locale; + const origin = new URL(request.url).origin; + // if the client makes a request to a URL that doesn't match + // the localizedUrl, redirect the client to the localized URL + if (request.headers.get("Sec-Fetch-Dest") === "document" && + decision.shouldRedirect && + decision.redirectUrl) { + // Create headers object with Vary header if preferredLanguage strategy is used + /** @type {Record} */ + const headers = {}; + if (strategy.includes("preferredLanguage")) { + headers["Vary"] = "Accept-Language"; + } + const response = new Response(null, { + status: 307, + headers: { + Location: decision.redirectUrl.href, + ...headers, + }, + }); + callbacks?.onRedirect(response); + return response; + } + // If the strategy includes "url", we need to de-localize the URL + // before passing it to the server middleware. + // + // The middleware is responsible for mapping a localized URL to the + // de-localized URL e.g. `/en/about` to `/about`. Otherwise, + // the server can't render the correct page. + let newRequest; + if (strategy.includes("url")) { + newRequest = new Request(runtime.deLocalizeUrl(request.url), request); + } + else { + newRequest = cloneRequestWithFallback(request); + } + // the message functions that have been called in this request + /** @type {Set} */ + const messageCalls = new Set(); + const response = await runtime.serverAsyncLocalStorage?.run({ locale, origin, messageCalls }, () => resolve({ locale, request: newRequest })); + // Only modify HTML responses + if (runtime.experimentalMiddlewareLocaleSplitting && + response.headers.get("Content-Type")?.includes("html")) { + const body = await response.text(); + const messages = []; + // using .values() to avoid polyfilling in older projects. else the following error is thrown + // Type 'Set' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher. + for (const messageCall of Array.from(messageCalls)) { + const [id, locale] = + /** @type {[string, import("./runtime.js").Locale]} */ (messageCall.split(":")); + messages.push(`${id}: ${compiledBundles[id]?.[locale]}`); + } + // Prevent translated content from terminating the inline script tag. + const escapedMessages = messages.join(",").replace(/<\/(script)/gi, "<\\/$1"); + const script = ``; + // Insert the script before the closing head tag + const newBody = body.replace("", `${script}`); + // Create a new response with the modified body + // Clone all headers except Content-Length which will be set automatically + const newHeaders = new Headers(response.headers); + newHeaders.delete("Content-Length"); // Let the browser calculate the correct length + return new Response(newBody, { + status: response.status, + statusText: response.statusText, + headers: newHeaders, + }); + } + return response; +} +/** + * Some metaframeworks (NextJS) require a new Request object. + * https://github.com/opral/inlang-paraglide-js/issues/411 + * + * However, some frameworks (TanStack Start 1.143+) use custom Request + * implementations that cannot be cloned with `new Request(request)`. + * https://github.com/opral/paraglide-js/issues/573 + * + * @param {Request} request + * @returns {Request} + */ +function cloneRequestWithFallback(request) { + try { + // Clone first so building a new Request does not consume the original body stream. + return new Request(request.clone()); + } + catch { + try { + return new Request(request); + } + catch { + return request; + } + } +} +/** + * Creates a mock AsyncLocalStorage implementation for environments where + * native AsyncLocalStorage is not available or disabled. + * + * This mock implementation mimics the behavior of the native AsyncLocalStorage + * but doesn't require the async_hooks module. It's used as a fallback when + * the runtime does not expose AsyncLocalStorage or when it has been disabled. + * + * @returns {import("./runtime.js").ParaglideAsyncLocalStorage} + */ +function createMockAsyncLocalStorage() { + /** @type {any} */ + let currentStore = undefined; + return { + getStore() { + return currentStore; + }, + async run(store, callback) { + currentStore = store; + try { + return await callback(); + } + finally { + currentStore = undefined; + } + }, + }; +} +// Used in generated server.js when async local storage is disabled. +void createMockAsyncLocalStorage; +/** + * The compiled messages for the server middleware. + * + * Only populated if `enableMiddlewareOptimizations` is set to `true`. + * + * @type {Record>} + */ +const compiledBundles = {};