diff --git a/frontend/.gitignore b/frontend/.gitignore index b2d6de30624f..e1b24c7c0b43 100644 --- a/frontend/.gitignore +++ b/frontend/.gitignore @@ -18,3 +18,6 @@ npm-debug.log* yarn-debug.log* yarn-error.log* + +# Local build output +/build-next diff --git a/frontend/docusaurus.config.ts b/frontend/docusaurus.config.ts index e44240a8e7d2..f482c50563d0 100644 --- a/frontend/docusaurus.config.ts +++ b/frontend/docusaurus.config.ts @@ -22,7 +22,7 @@ const config: Config = { favicon: "favicon.ico", // Set the production url of your site here - url: "https://open.mp/", + url: process.env.SITE_URL || "https://open.mp/", // Set the // pathname under which your site is served // For GitHub pages deployment, it is often '//' baseUrl: "/", @@ -207,7 +207,7 @@ const config: Config = { onUntruncatedBlogPosts: "warn", }, theme: { - customCss: "./src/css/custom.css", + customCss: ["./src/css/custom.css", "./src/css/ui.css"], }, } satisfies Preset.Options, ], @@ -302,23 +302,25 @@ const config: Config = { { type: "docSidebar", sidebarId: "docsSidebar", - position: "right", + position: "left", label: "Docs", + className: "navbar-icon navbar-icon-docs", + }, + { to: "/blog", label: "Blog", position: "left", className: "navbar-icon navbar-icon-blog" }, + { to: "https://forum.open.mp/", label: "Forums", position: "left", className: "navbar-icon navbar-icon-forums" }, + { to: "/servers", label: "Servers", position: "left", className: "navbar-icon navbar-icon-servers" }, + { to: "/partners", label: "Partners", position: "left", className: "navbar-icon navbar-icon-partners" }, + { + href: "https://opencollective.com/openmultiplayer", + label: "Donate to us", + position: "left", + className: "navbar-icon navbar-icon-donate navbar-donate", }, - { to: "/blog", label: "Blog", position: "right" }, - { to: "https://forum.open.mp/", label: "Forums", position: "right" }, - { to: "/servers", label: "Servers", position: "right" }, - { to: "/partners", label: "Partners", position: "right" }, // { // href: "https://github.com/openmultiplayer", // label: "GitHub", // position: "right", // }, - { - href: "https://opencollective.com/openmultiplayer", - label: "Donate", - position: "right", - }, { type: "localeDropdown", // This adds the language switcher position: "right", @@ -327,12 +329,14 @@ const config: Config = { }, footer: { logo: { - alt: "open.mp logo", - src: "images/assets/logo.svg", + alt: "open.mp", + src: "images/assets/wordmark-coloured.svg", + href: "/", + height: 44, }, links: [ { - title: "Documentations", + title: "Documentation", items: [ { label: "Introduction", @@ -376,6 +380,14 @@ const config: Config = { { title: "More", items: [ + { + label: "Download Launcher", + to: "/downloads/launcher", + }, + { + label: "Download Server", + to: "/downloads/server", + }, { label: "Servers", to: "/servers", diff --git a/frontend/i18n/fa/code.json b/frontend/i18n/fa/code.json index 00fe06c57875..8fd1d040debe 100644 --- a/frontend/i18n/fa/code.json +++ b/frontend/i18n/fa/code.json @@ -355,6 +355,872 @@ "navbar.item.Donate": { "message": "حمایت مالی" }, + "serverInfo.copied": { + "message": "کپی شد", + "description": "Copied server address state" + }, + "serverInfo.copy": { + "message": "کپی", + "description": "Copy server address state" + }, + "serverInfo.gameMode": { + "message": "گیم‌مود", + "description": "Game mode label" + }, + "toast.close": { + "message": "بستن اعلان", + "description": "Accessible label for closing a toast notification" + }, + "animations.layoutTitle": { + "message": "انیمیشن‌ها", + "description": "Animations page browser title" + }, + "animations.layoutDescription": { + "message": "نمایشگر تعاملی انیمیشن‌های open.mp (SA-MP) همراه با پیش‌نمایش ویدیویی", + "description": "Animations page meta description" + }, + "animations.videoUnavailable": { + "message": "ویدیو در دسترس نیست", + "description": "Fallback message when an animation video fails to load" + }, + "animations.code.forPlayers": { + "message": "// برای بازیکنان", + "description": "Comment in animation usage example for player animations" + }, + "animations.code.forActors": { + "message": "// برای اکتورها", + "description": "Comment in animation usage example for actor animations" + }, + "homepage.layoutDescription": { + "message": "یک ماد چندنفره برای Grand Theft Auto: San Andreas که کاملاً با San Andreas Multiplayer سازگار است", + "description": "Homepage meta description" + }, + "partners.note.dismissAria": { + "message": "بستن یادداشت شراکت", + "description": "Accessible label for dismissing the partner note" + }, + "partners.page.title": { + "message": "سرورهای شریک", + "description": "Partner servers page title" + }, + "partners.page.description": { + "message": "فهرست سرورهای San Andreas که از open.mp یا SA-MP استفاده می‌کنند", + "description": "Partner servers page description" + }, + "uid.toast.copiedTitle": { + "message": "کپی شد", + "description": "UID copy success toast title" + }, + "uid.toast.copiedMessage": { + "message": "ماکروی UID در کلیپ‌بورد کپی شد.", + "description": "UID copy success toast message" + }, + "uid.page.title": { + "message": "تولیدکننده UID", + "description": "UID generator page title" + }, + "uid.page.description": { + "message": "تولید UID برای استفاده به‌عنوان شناسه یکتای IComponent یا IExtension", + "description": "UID generator page description" + }, + "launcherSim.join.connect": { + "message": "اتصال", + "description": "Launcher connect button" + }, + "launcherSim.join.bannerText": { + "message": "سرور شما", + "description": "Sample server banner text" + }, + "launcherSim.join.server": { + "message": "سرور", + "description": "Launcher preview join dialog" + }, + "launcherSim.join.address": { + "message": "آدرس", + "description": "Launcher preview join dialog" + }, + "launcherSim.column.players": { + "message": "بازیکنان", + "description": "Launcher preview column" + }, + "launcherSim.join.nickname": { + "message": "نام مستعار", + "description": "Launcher join dialog nickname label" + }, + "launcherSim.join.version": { + "message": "نسخه SA-MP", + "description": "Launcher join dialog SA-MP version label" + }, + "launcherSim.tab.favorites": { + "message": "علاقه‌مندی‌ها", + "description": "Launcher preview tab" + }, + "launcherSim.tab.internet": { + "message": "اینترنت", + "description": "Launcher preview tab" + }, + "launcherSim.tab.partners": { + "message": "شرکاء", + "description": "Launcher preview tab" + }, + "launcherSim.tab.recent": { + "message": "اخیراً وارد شده", + "description": "Launcher preview tab" + }, + "launcherSim.nicknamePlaceholder": { + "message": "نام مستعار...", + "description": "Launcher preview nickname placeholder" + }, + "launcherSim.searchPlaceholder": { + "message": "جستجوی نام یا مود سرور", + "description": "Launcher preview search placeholder" + }, + "launcherSim.column.name": { + "message": "نام", + "description": "Launcher preview column" + }, + "launcherSim.column.ping": { + "message": "پینگ", + "description": "Launcher preview column" + }, + "launcherSim.column.mode": { + "message": "مود", + "description": "Launcher preview column" + }, + "launcherSim.menu.connect": { + "message": "اتصال", + "description": "Launcher preview: context menu" + }, + "launcherSim.addToFavorites": { + "message": "افزودن به علاقه‌مندی‌ها", + "description": "Launcher preview button" + }, + "launcherSim.menu.copy": { + "message": "کپی اطلاعات سرور", + "description": "Launcher preview: context menu" + }, + "launcherSim.column.rule": { + "message": "قانون", + "description": "Launcher preview column" + }, + "launcherSim.column.value": { + "message": "مقدار", + "description": "Launcher preview column" + }, + "launcherSim.filter.title": { + "message": "فیلترها:", + "description": "Launcher preview: filter panel" + }, + "launcherSim.filter.omp": { + "message": "فقط سرورهای open.mp", + "description": "Launcher preview: filter panel" + }, + "launcherSim.filter.nonEmpty": { + "message": "سرورهای غیرخالی", + "description": "Launcher preview: filter panel" + }, + "launcherSim.filter.unpassworded": { + "message": "سرورهای بدون رمز", + "description": "Launcher preview: filter panel" + }, + "launcherSim.filter.language": { + "message": "زبان:", + "description": "Launcher preview: filter panel" + }, + "launcherSim.notification.favorited": { + "message": "به علاقه‌مندی‌ها اضافه شد!", + "description": "Launcher preview: notification" + }, + "launcherSim.ariaLabel": { + "message": "لانچر open.mp که فهرستی از سرورهای نمونه را نشان می‌دهد", + "description": "Accessible label for the launcher picture" + }, + "launcherSim.column.player": { + "message": "بازیکن", + "description": "Launcher preview column" + }, + "launcherSim.column.score": { + "message": "امتیاز", + "description": "Launcher preview column" + }, + "launcherSim.copy": { + "message": "کپی", + "description": "Launcher preview: copy address" + }, + "npcCallbacksNote.message": { + "message": "این فراخوانی می‌تواند توسط NPC نیز اجرا شود.", + "description": "Note shown on callback docs pages when NPCs can also call the callback" + }, + "versionWarn.name.function": { + "message": "تابع", + "description": "Default item name in a version warning" + }, + "versionWarn.name.callback": { + "message": "فراخوانی", + "description": "Callback item name in a version warning" + }, + "versionWarn.message": { + "message": "این {name} در نسخه {version} اضافه شده و در نسخه‌های قبلی کار نخواهد کرد!", + "description": "Warning shown on scripting docs pages for APIs added in a specific server version" + }, + "servers.add.successMessage": { + "message": "{serverName} به فهرست انتظار ما اضافه شد. اگر پس از حداکثر ۴۸ ساعت در دسترس نبود، می‌توانید در Discord با ما تماس بگیرید!", + "description": "Toast message shown after submitting a server to the pending list" + }, + "servers.add.successTitle": { + "message": "سرور ارسال شد!", + "description": "Toast title shown after a server submission succeeds" + }, + "servers.add.failureMessage": { + "message": "وضعیت {status}: {error}", + "description": "Toast message shown after a server submission fails" + }, + "servers.add.failureTitle": { + "message": "ارسال ناموفق بود!", + "description": "Toast title shown after a server submission fails" + }, + "servers.add.errorMessage": { + "message": "هنگام ارسال سرور خطایی رخ داد", + "description": "Toast message shown after an unexpected server submission error" + }, + "servers.add.errorTitle": { + "message": "خطا", + "description": "Generic toast error title" + }, + "servers.add.addressPlaceholder": { + "message": "play.example.com:7777", + "description": "Add server address input placeholder" + }, + "servers.pages.label": { + "message": "صفحات فهرست سرورها", + "description": "Accessible label for the server list pagination" + }, + "servers.pages.previous": { + "message": "صفحه قبلی", + "description": "Server list previous page button" + }, + "servers.pages.next": { + "message": "صفحه بعدی", + "description": "Server list next page button" + }, + "servers.sort.name": { + "message": "نام", + "description": "Sort by server name" + }, + "servers.sort.mode": { + "message": "مود", + "description": "Sort by game mode" + }, + "servers.sort.language": { + "message": "زبان", + "description": "Sort by language" + }, + "servers.language.all": { + "message": "همه زبان‌ها", + "description": "All languages filter option" + }, + "servers.add.closeModal": { + "message": "بستن پنجره افزودن سرور", + "description": "Accessible label for closing the add server modal" + }, + "carousel.previous": { + "message": "قبلی", + "description": "Carousel previous button" + }, + "carousel.next": { + "message": "بعدی", + "description": "Carousel next button" + }, + "downloads.launcher.pageTitle": { + "message": "لانچر open.mp", + "description": "Launcher downloads page title" + }, + "downloads.launcher.layoutDescription": { + "message": "دانلود نسخه‌های لانچر open.mp", + "description": "Launcher downloads page meta description" + }, + "downloads.launcher.pageSubtitle": { + "message": "GTA San Andreas را به‌صورت چندنفره در سرورهای open.mp و SA-MP بازی کنید.", + "description": "Launcher downloads page subtitle" + }, + "downloads.server.pageTitle": { + "message": "سرور open.mp", + "description": "Server downloads page title" + }, + "downloads.server.layoutDescription": { + "message": "دانلود نسخه‌های سرور open.mp", + "description": "Server downloads page meta description" + }, + "downloads.server.pageSubtitle": { + "message": "سرور چندنفره GTA San Andreas خودتان را میزبانی کنید.", + "description": "Server downloads page subtitle" + }, + "servers.page.title": { + "message": "سرورها", + "description": "Servers page title" + }, + "servers.page.description": { + "message": "فهرست سرورهای San Andreas که از open.mp و SA-MP استفاده می‌کنند", + "description": "Servers page description" + }, + "downloads.latestBadge": { + "message": "جدیدترین", + "description": "Badge for latest release" + }, + "downloads.releaseDate": { + "message": "منتشرشده در {date}", + "description": "Release date label" + }, + "downloads.release.highlights": { + "message": "نکات برجسته", + "description": "Release highlights heading" + }, + "downloads.release.viewChangelog": { + "message": "مشاهده تغییرات کامل", + "description": "Expandable changelog summary" + }, + "downloads.release.viewOnGitHub": { + "message": "مشاهده نسخه در GitHub", + "description": "Fallback button per release" + }, + "downloads.release.githubTitle": { + "message": "مشاهده نسخه در GitHub", + "description": "Title attribute for the GitHub release link" + }, + "downloads.release.github": { + "message": "GitHub", + "description": "Link to release page on GitHub" + }, + "downloads.release.dynSslNote": { + "message": "* نسخه DynSSL نیاز دارد که libssl روی توزیع لینوکس شما نصب باشد.", + "description": "Note about DynSSL version requiring libssl" + }, + "downloads.hideOlderReleases": { + "message": "پنهان کردن نسخه‌های قدیمی‌تر", + "description": "Button to hide older releases" + }, + "downloads.showOlderReleases": { + "message": "مشاهده {count} نسخه قدیمی‌تر", + "description": "Button to show older releases" + }, + "downloads.opensourceTrust": { + "message": "همه نسخه‌ها متن‌باز هستند. از سورس بیلد کنید یا مستقیماً از GitHub دانلود کنید.", + "description": "Open source trust message for downloads pages" + }, + "downloads.downloadFromGithub": { + "message": "دانلود از GitHub", + "description": "Button label to open GitHub releases page" + }, + "notFound.title": { + "message": "صفحه پیدا نشد", + "description": "404 page title" + }, + "notFound.imageAlt": { + "message": "تصویری از مأموریت قطار در GTA", + "description": "Alt text for the 404 page image" + }, + "notFound.home": { + "message": "صفحه اصلی", + "description": "404 page home button" + }, + "notFound.docs": { + "message": "مستندات", + "description": "404 page documentation button" + }, + "notFound.servers": { + "message": "سرورها", + "description": "404 page servers button" + }, + "theme.blog.post.paginator.navAriaLabel": { + "message": "کنترل پست‌های صفحه وبلاگ", + "description": "The ARIA label for the blog posts pagination" + }, + "theme.blog.post.paginator.newerPost": { + "message": "پست جدید‌تر", + "description": "The blog post button label to navigate to the newer/previous post" + }, + "theme.blog.post.paginator.olderPost": { + "message": "پست قدیمی‌تر", + "description": "The blog post button label to navigate to the older/next post" + }, + "theme.tags.tagsPageLink": { + "message": "مشاهده تمام برچسب‌ها", + "description": "The label of the link targeting the tag list page" + }, + "theme.colorToggle.ariaLabel.mode.system": { + "message": "حالت سیستم", + "description": "The name for the system color mode" + }, + "theme.colorToggle.ariaLabel.mode.light": { + "message": "حالت روشن", + "description": "The name for the light color mode" + }, + "theme.colorToggle.ariaLabel.mode.dark": { + "message": "حالت تیره", + "description": "The name for the dark color mode" + }, + "theme.colorToggle.ariaLabel": { + "message": "بین حالت تاریک و روشن سوئیچ کنید (الان {mode})", + "description": "The ARIA label for the color mode toggle" + }, + "theme.docs.breadcrumbs.navAriaLabel": { + "message": "نشانگر صفحات", + "description": "The ARIA label for the breadcrumbs" + }, + "theme.docs.paginator.navAriaLabel": { + "message": "صفحات مستندات", + "description": "The ARIA label for the docs pagination" + }, + "theme.docs.paginator.previous": { + "message": "قبلی", + "description": "The label used to navigate to the previous doc" + }, + "theme.docs.paginator.next": { + "message": "بعدی", + "description": "The label used to navigate to the next doc" + }, + "theme.docs.tagDocListPageTitle.nDocsTagged": { + "message": "یک مطلب برچسب شده|{count} مطلب برچسب شده", + "description": "Pluralized label for \"{count} docs tagged\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)" + }, + "theme.docs.tagDocListPageTitle": { + "message": "{nDocsTagged} با \"{tagName}\"", + "description": "The title of the page for a docs tag" + }, + "theme.docs.versionBadge.label": { + "message": "نسخه: {versionLabel}" + }, + "theme.docs.versions.unreleasedVersionLabel": { + "message": "نسخه {siteTitle} {versionLabel} هنوز به صورت کامل منتشر نشده است.", + "description": "The label used to tell the user that he's browsing an unreleased doc version" + }, + "theme.docs.versions.unmaintainedVersionLabel": { + "message": "نسخه {siteTitle} {versionLabel} دیگر به روز رسانی نمی شود.", + "description": "The label used to tell the user that he's browsing an unmaintained doc version" + }, + "theme.docs.versions.latestVersionSuggestionLabel": { + "message": "برای دیدن آخرین نسخه این متن، نسخه {latestVersionLink} ({versionLabel}) را ببینید.", + "description": "The label used to tell the user to check the latest version" + }, + "theme.docs.versions.latestVersionLinkLabel": { + "message": "آخرین نسخه", + "description": "The label used for the latest version suggestion link label" + }, + "theme.common.editThisPage": { + "message": "ویرایش مطالب این صفحه", + "description": "The link label to edit the current page" + }, + "theme.common.headingLinkTitle": { + "message": "لینک مستقیم به {heading}", + "description": "Title for link to heading" + }, + "theme.lastUpdated.atDate": { + "message": " در تاریخ {date}", + "description": "The words used to describe on which date a page has been last updated" + }, + "theme.lastUpdated.byUser": { + "message": " توسط {user}", + "description": "The words used to describe by who the page has been last updated" + }, + "theme.lastUpdated.lastUpdatedAtBy": { + "message": "آخرین به روز رسانی{atDate}{byUser}", + "description": "The sentence used to display when a page has been last updated, and by who" + }, + "theme.navbar.mobileVersionsDropdown.label": { + "message": "نسخه‌ها", + "description": "The label for the navbar versions dropdown on mobile view" + }, + "theme.tags.tagsListLabel": { + "message": "برچسب‌ها:", + "description": "The label alongside a tag list" + }, + "theme.AnnouncementBar.closeButtonAriaLabel": { + "message": "بستن", + "description": "The ARIA label for close button of announcement bar" + }, + "theme.admonition.warning": { + "message": "هشدار", + "description": "The default label used for the Warning admonition (:::warning)" + }, + "theme.blog.sidebar.navAriaLabel": { + "message": "کنترل پست‌های اخیر وبلاگ", + "description": "The ARIA label for recent posts in the blog sidebar" + }, + "theme.DocSidebarItem.expandCategoryAriaLabel": { + "message": "باز کردن دسته بندی در نوار کناری '{label}'", + "description": "The ARIA label to expand the sidebar category" + }, + "theme.DocSidebarItem.collapseCategoryAriaLabel": { + "message": "بستن دسته بندی در نوار کناری '{label}'", + "description": "The ARIA label to collapse the sidebar category" + }, + "theme.IconExternalLink.ariaLabel": { + "message": "(در زبانه جدید باز می‌شود)", + "description": "The ARIA label for the external link icon" + }, + "theme.NavBar.navAriaLabel": { + "message": "صفحه اصلی", + "description": "The ARIA label for the main navigation" + }, + "theme.navbar.mobileLanguageDropdown.label": { + "message": "زبان‌ها", + "description": "The label for the mobile language switcher dropdown" + }, + "theme.TOCCollapsible.toggleButtonLabel": { + "message": "مطالب این صفحه", + "description": "The label used by the button on the collapsible TOC component" + }, + "theme.blog.post.readMore": { + "message": "ادامه مطلب", + "description": "The label used in blog post item excerpts to link to full blog posts" + }, + "theme.blog.post.readMoreLabel": { + "message": "درباره {title} بیشتر بخوانید", + "description": "The ARIA label for the link to full blog posts from excerpts" + }, + "theme.CodeBlock.copy": { + "message": "کپی", + "description": "The copy button label on code blocks" + }, + "theme.CodeBlock.copied": { + "message": "کپی شد", + "description": "The copied button label on code blocks" + }, + "theme.CodeBlock.copyButtonAriaLabel": { + "message": "کپی به کلیپ‌بورد", + "description": "The ARIA label for copy code blocks button" + }, + "theme.CodeBlock.wordWrapToggle": { + "message": "تغییر نحوه نمایش کلمه", + "description": "The title attribute for toggle word wrapping button of code block lines" + }, + "theme.docs.breadcrumbs.home": { + "message": "صفحه اصلی", + "description": "The ARIA label for the home page in the breadcrumbs" + }, + "theme.docs.sidebar.collapseButtonTitle": { + "message": "بستن نوار کناری", + "description": "The title attribute for collapse button of doc sidebar" + }, + "theme.docs.sidebar.collapseButtonAriaLabel": { + "message": "بستن نوار کناری", + "description": "The title attribute for collapse button of doc sidebar" + }, + "theme.docs.sidebar.navAriaLabel": { + "message": "نوار کناری مستندات", + "description": "The ARIA label for the sidebar navigation" + }, + "theme.docs.sidebar.closeSidebarButtonAriaLabel": { + "message": "بستن منو", + "description": "The ARIA label for close button of mobile sidebar" + }, + "theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel": { + "message": "→ بازگشت به منو اصلی", + "description": "The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)" + }, + "theme.docs.sidebar.toggleSidebarButtonAriaLabel": { + "message": "باز و بست منو", + "description": "The ARIA label for hamburger menu button of mobile navigation" + }, + "theme.navbar.mobileDropdown.collapseButton.expandAriaLabel": { + "message": "باز کردن منوی کشویی", + "description": "The ARIA label of the button to expand the mobile dropdown navbar item" + }, + "theme.navbar.mobileDropdown.collapseButton.collapseAriaLabel": { + "message": "بستن منوی کشویی", + "description": "The ARIA label of the button to collapse the mobile dropdown navbar item" + }, + "theme.docs.sidebar.expandButtonTitle": { + "message": "باز کردن نوار کناری", + "description": "The ARIA label and title attribute for expand button of doc sidebar" + }, + "theme.docs.sidebar.expandButtonAriaLabel": { + "message": "باز کردن نوار کناری", + "description": "The ARIA label and title attribute for expand button of doc sidebar" + }, + "theme.SearchBar.seeAll": { + "message": "نمایش {count} نتیجه" + }, + "theme.SearchBar.label": { + "message": "جستجو", + "description": "The ARIA label and placeholder for search button" + }, + "theme.SearchModal.searchBox.resetButtonTitle": { + "message": "پاک کردن جستجو", + "description": "The label and ARIA label for search box reset button" + }, + "theme.SearchModal.searchBox.cancelButtonText": { + "message": "کنسل", + "description": "The label and ARIA label for search box cancel button" + }, + "theme.SearchModal.searchBox.placeholderText": { + "message": "جستجو در مستندات", + "description": "The placeholder text for the main search input field" + }, + "theme.SearchModal.searchBox.placeholderTextAskAi": { + "message": "سؤال دیگری بپرسید...", + "description": "The placeholder text when in AI question mode" + }, + "theme.SearchModal.searchBox.placeholderTextAskAiStreaming": { + "message": "در حال پاسخ دادن...", + "description": "The placeholder text for search box when AI is streaming an answer" + }, + "theme.SearchModal.searchBox.enterKeyHint": { + "message": "جستجو", + "description": "The hint for the search box enter key text" + }, + "theme.SearchModal.searchBox.enterKeyHintAskAi": { + "message": "ارسال", + "description": "The hint for the Ask AI search box enter key text" + }, + "theme.SearchModal.searchBox.searchInputLabel": { + "message": "جستجو", + "description": "The ARIA label for search input" + }, + "theme.SearchModal.searchBox.backToKeywordSearchButtonText": { + "message": "بازگشت به جستجوی کلیدواژه", + "description": "The text for back to keyword search button" + }, + "theme.SearchModal.searchBox.backToKeywordSearchButtonAriaLabel": { + "message": "بازگشت به جستجوی کلیدواژه", + "description": "The ARIA label for back to keyword search button" + }, + "theme.SearchModal.startScreen.recentSearchesTitle": { + "message": "اخیرا", + "description": "The title for recent searches" + }, + "theme.SearchModal.startScreen.noRecentSearchesText": { + "message": "جستجوی اخیر مشاهده نشد", + "description": "The text when there are no recent searches" + }, + "theme.SearchModal.startScreen.saveRecentSearchButtonTitle": { + "message": "ذخیره این جستجو", + "description": "The title for save recent search button" + }, + "theme.SearchModal.startScreen.removeRecentSearchButtonTitle": { + "message": "این جستجو از تاریخچه پاک شود", + "description": "The title for remove recent search button" + }, + "theme.SearchModal.startScreen.favoriteSearchesTitle": { + "message": "برگزیده", + "description": "The title for favorite searches" + }, + "theme.SearchModal.startScreen.removeFavoriteSearchButtonTitle": { + "message": "این جستجو از برگزیده ها پاک شود", + "description": "The title for remove favorite search button" + }, + "theme.SearchModal.startScreen.recentConversationsTitle": { + "message": "گفتگوهای اخیر", + "description": "The title for recent conversations" + }, + "theme.SearchModal.startScreen.removeRecentConversationButtonTitle": { + "message": "حذف این گفتگو از تاریخچه", + "description": "The title for remove recent conversation button" + }, + "theme.SearchModal.errorScreen.titleText": { + "message": "دریافت نتایج ممکن نیست", + "description": "The title for error screen" + }, + "theme.SearchModal.errorScreen.helpText": { + "message": "لطفا اتصال شبکه خود را بررسی کنید.", + "description": "The help text for error screen" + }, + "theme.SearchModal.resultsScreen.askAiPlaceholder": { + "message": "از هوش مصنوعی بپرسید: ", + "description": "The placeholder text for Ask AI input" + }, + "theme.SearchModal.askAiScreen.disclaimerText": { + "message": "پاسخ‌ها با هوش مصنوعی تولید می‌شوند که ممکن است اشتباه کند. پاسخ‌ها را بررسی کنید.", + "description": "The disclaimer text for AI answers" + }, + "theme.SearchModal.askAiScreen.relatedSourcesText": { + "message": "منابع مرتبط", + "description": "The text for related sources" + }, + "theme.SearchModal.askAiScreen.thinkingText": { + "message": "در حال فکر کردن...", + "description": "The text when AI is thinking" + }, + "theme.SearchModal.askAiScreen.copyButtonText": { + "message": "کپی", + "description": "The text for copy button" + }, + "theme.SearchModal.askAiScreen.copyButtonCopiedText": { + "message": "کپی شد!", + "description": "The text for copy button when copied" + }, + "theme.SearchModal.askAiScreen.copyButtonTitle": { + "message": "کپی", + "description": "The title for copy button" + }, + "theme.SearchModal.askAiScreen.likeButtonTitle": { + "message": "پسندیدم", + "description": "The title for like button" + }, + "theme.SearchModal.askAiScreen.dislikeButtonTitle": { + "message": "نپسندیدم", + "description": "The title for dislike button" + }, + "theme.SearchModal.askAiScreen.thanksForFeedbackText": { + "message": "از بازخورد شما سپاسگزاریم!", + "description": "The text for thanks for feedback" + }, + "theme.SearchModal.askAiScreen.preToolCallText": { + "message": "در حال جستجو...", + "description": "The text before tool call" + }, + "theme.SearchModal.askAiScreen.duringToolCallText": { + "message": "در حال جستجو برای ", + "description": "The text during tool call" + }, + "theme.SearchModal.askAiScreen.afterToolCallText": { + "message": "جستجو شد برای", + "description": "The text after tool call" + }, + "theme.SearchModal.footer.selectText": { + "message": "انتخاب", + "description": "The select text for footer" + }, + "theme.SearchModal.footer.submitQuestionText": { + "message": "ارسال سؤال", + "description": "The submit question text for footer" + }, + "theme.SearchModal.footer.selectKeyAriaLabel": { + "message": "کلید اینتر", + "description": "The ARIA label for select key in footer" + }, + "theme.SearchModal.footer.navigateText": { + "message": "پیمایش", + "description": "The navigate text for footer" + }, + "theme.SearchModal.footer.navigateUpKeyAriaLabel": { + "message": "کلید بالا", + "description": "The ARIA label for navigate up key in footer" + }, + "theme.SearchModal.footer.navigateDownKeyAriaLabel": { + "message": "کلید پایین", + "description": "The ARIA label for navigate down key in footer" + }, + "theme.SearchModal.footer.closeText": { + "message": "بستن", + "description": "The close text for footer" + }, + "theme.SearchModal.footer.closeKeyAriaLabel": { + "message": "کلید Escape", + "description": "The ARIA label for close key in footer" + }, + "theme.SearchModal.footer.searchByText": { + "message": "جستجو برای", + "description": "The 'Powered by' text for footer" + }, + "theme.SearchModal.footer.backToSearchText": { + "message": "بازگشت به جستجو", + "description": "The back to search text for footer" + }, + "theme.SearchModal.noResultsScreen.noResultsText": { + "message": "هیچ نتیجه ای برای", + "description": "The text when there are no results" + }, + "theme.SearchModal.noResultsScreen.suggestedQueryText": { + "message": "جستجو پیشنهادی برای", + "description": "The text for suggested query" + }, + "theme.SearchModal.noResultsScreen.reportMissingResultsText": { + "message": "آیا اطمینان دارید این جستجو باید نتیجه ای داشته باشد؟", + "description": "The text for reporting missing results" + }, + "theme.SearchModal.noResultsScreen.reportMissingResultsLinkText": { + "message": "با ما در میان بگذارید.", + "description": "The link text for reporting missing results" + }, + "theme.SearchModal.placeholder": { + "message": "جستجوی مستندات", + "description": "The placeholder of the input of the DocSearch pop-up modal" + }, + "theme.SearchPage.documentsFound.plurals": { + "message": "یک مورد پیدا شد|{count} مورد پیدا شد", + "description": "Pluralized label for \"{count} documents found\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)" + }, + "theme.SearchPage.existingResultsTitle": { + "message": "جستجو برای عبارت \"{query}\"", + "description": "The search page title for non-empty query" + }, + "theme.SearchPage.emptyResultsTitle": { + "message": "جستجو در متن", + "description": "The search page title for empty query" + }, + "theme.SearchPage.inputPlaceholder": { + "message": "جستجوی خود را اینجا تایپ کنید", + "description": "The placeholder for search page input" + }, + "theme.SearchPage.inputLabel": { + "message": "جستجو", + "description": "The ARIA label for search page input" + }, + "theme.SearchPage.algoliaLabel": { + "message": "قدرت گرفته از Algolia", + "description": "The description label for Algolia mention" + }, + "theme.SearchPage.noResultsText": { + "message": "هیچ نتیجه‌ای پیدا نشد", + "description": "The paragraph for empty search result" + }, + "theme.SearchPage.fetchingNewResults": { + "message": "در حال دریافت نتایج...", + "description": "The paragraph for fetching new search results" + }, + "theme.blog.post.plurals": { + "message": "یک پست|{count} پست", + "description": "Pluralized label for \"{count} posts\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)" + }, + "theme.blog.tagTitle": { + "message": "{nPosts} با برچسب \"{tagName}\"", + "description": "The title of the page for a blog tag" + }, + "theme.blog.author.pageTitle": { + "message": "{authorName} - {nPosts}", + "description": "The title of the page for a blog author" + }, + "theme.blog.authorsList.pageTitle": { + "message": "نویسندگان", + "description": "The title of the authors page" + }, + "theme.blog.authorsList.viewAll": { + "message": "View All Authors", + "description": "The label of the link targeting the blog authors page" + }, + "theme.blog.author.noPosts": { + "message": "این نویسنده هنوز هیچ پستی ننوشته است.", + "description": "The text for authors with 0 blog post" + }, + "theme.contentVisibility.unlistedBanner.title": { + "message": "صفحه فهرست نشده", + "description": "The unlisted content banner title" + }, + "theme.contentVisibility.unlistedBanner.message": { + "message": "این صفحه فهرست نشده است. موتورهای جستجو آن را ایندکس نمی کنند و فقط کاربرانی که لینک مستقیم دارند می توانند به آن دسترسی داشته باشند.", + "description": "The unlisted content banner message" + }, + "theme.contentVisibility.draftBanner.title": { + "message": "صفحه پیش‌نویس", + "description": "The draft content banner title" + }, + "theme.contentVisibility.draftBanner.message": { + "message": "این صفحه یک پیش‌نویس است. فقط در حالت توسعه قابل مشاهده است و از نسخه نهایی (production) حذف خواهد شد.", + "description": "The draft content banner message" + }, + "theme.docs.DocCard.categoryDescription.plurals": { + "message": "{count} مورد", + "description": "The default description for a category card in the generated index about how many items this category includes" + }, + "theme.ErrorPageContent.tryAgain": { + "message": "تلاش مجدد", + "description": "The label of the button to try again rendering when the React error boundary captures an error" + }, + "theme.common.skipToMainContent": { + "message": "پرش به مطلب اصلی", + "description": "The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation" + }, "theme.docs.sidebar.filterPlaceholder": { "message": "فیلتر مستندات", "description": "Placeholder for the docs sidebar filter input" diff --git a/frontend/i18n/fa/docusaurus-plugin-content-blog/options.json b/frontend/i18n/fa/docusaurus-plugin-content-blog/options.json new file mode 100644 index 000000000000..2ddb5a1c582c --- /dev/null +++ b/frontend/i18n/fa/docusaurus-plugin-content-blog/options.json @@ -0,0 +1,14 @@ +{ + "title": { + "message": "وبلاگ", + "description": "The title for the blog used in SEO" + }, + "description": { + "message": "وبلاگ", + "description": "The description for the blog used in SEO" + }, + "sidebar.title": { + "message": "پست‌های اخیر", + "description": "The label for the left sidebar" + } +} diff --git a/frontend/i18n/fa/docusaurus-plugin-content-docs/current.json b/frontend/i18n/fa/docusaurus-plugin-content-docs/current.json index 7cb1e2817d2c..3b714a8b1274 100644 --- a/frontend/i18n/fa/docusaurus-plugin-content-docs/current.json +++ b/frontend/i18n/fa/docusaurus-plugin-content-docs/current.json @@ -28,5 +28,9 @@ }, "sidebar.docsSidebar.category.Meta": { "message": "متا" + }, + "version.label": { + "message": "بعدی", + "description": "The label for version current" } } diff --git a/frontend/i18n/fa/docusaurus-theme-classic/footer.json b/frontend/i18n/fa/docusaurus-theme-classic/footer.json index 37c623559902..84b75673004b 100644 --- a/frontend/i18n/fa/docusaurus-theme-classic/footer.json +++ b/frontend/i18n/fa/docusaurus-theme-classic/footer.json @@ -1,7 +1,7 @@ { - "link.title.Documentations": { + "link.title.Documentation": { "message": "مستندات", - "description": "The title of the footer links column with title=Documentations in the footer" + "description": "The title of the footer links column with title=Documentation in the footer" }, "link.title.Community": { "message": "جامعه", @@ -62,5 +62,21 @@ "link.item.label.SA-MP": { "message": "SA-MP", "description": "The label of footer link with label=SA-MP linking to https://sa-mp.mp/" + }, + "link.item.label.Download Launcher": { + "message": "دانلود لانچر", + "description": "The label of footer link with label=Download Launcher linking to /downloads/launcher" + }, + "link.item.label.Download Server": { + "message": "دانلود سرور", + "description": "The label of footer link with label=Download Server linking to /downloads/server" + }, + "copyright": { + "message": "حق نشر © 2026 open.mp. ساخته شده با Docusaurus.", + "description": "The footer copyright" + }, + "logo.alt": { + "message": "open.mp", + "description": "The alt text of footer logo" } } diff --git a/frontend/i18n/fa/docusaurus-theme-classic/navbar.json b/frontend/i18n/fa/docusaurus-theme-classic/navbar.json index b0be6a17d8bd..fb80f199e1c6 100644 --- a/frontend/i18n/fa/docusaurus-theme-classic/navbar.json +++ b/frontend/i18n/fa/docusaurus-theme-classic/navbar.json @@ -26,5 +26,13 @@ "item.label.Donate": { "message": "حمایت مالی", "description": "Navbar item with label Donate" + }, + "logo.alt": { + "message": "لوگوی open.mp", + "description": "The alt text of navbar logo" + }, + "item.label.Donate to us": { + "message": "حمایت مالی از ما", + "description": "Navbar item with label Donate to us" } } diff --git a/frontend/i18n/id/code.json b/frontend/i18n/id/code.json index 2cd5e6db8c8e..20db0520b8d1 100644 --- a/frontend/i18n/id/code.json +++ b/frontend/i18n/id/code.json @@ -406,6 +406,808 @@ "navbar.item.Donate": { "message": "Donasi" }, + "serverInfo.copied": { + "message": "Disalin", + "description": "Copied server address state" + }, + "serverInfo.copy": { + "message": "Salin", + "description": "Copy server address state" + }, + "serverInfo.gameMode": { + "message": "Mode Permainan", + "description": "Game mode label" + }, + "toast.close": { + "message": "Tutup notifikasi", + "description": "Accessible label for closing a toast notification" + }, + "animations.layoutTitle": { + "message": "Animasi", + "description": "Animations page browser title" + }, + "animations.layoutDescription": { + "message": "Penampil animasi open.mp (SA-MP) interaktif dengan pratinjau video", + "description": "Animations page meta description" + }, + "animations.videoUnavailable": { + "message": "Video tidak tersedia", + "description": "Fallback message when an animation video fails to load" + }, + "animations.code.forPlayers": { + "message": "// Untuk pemain", + "description": "Comment in animation usage example for player animations" + }, + "animations.code.forActors": { + "message": "// Untuk aktor", + "description": "Comment in animation usage example for actor animations" + }, + "homepage.layoutDescription": { + "message": "Mod multiplayer untuk Grand Theft Auto: San Andreas yang sepenuhnya kompatibel mundur dengan San Andreas Multiplayer", + "description": "Homepage meta description" + }, + "partners.note.dismissAria": { + "message": "Tutup catatan kemitraan", + "description": "Accessible label for dismissing the partner note" + }, + "partners.page.title": { + "message": "Server Mitra", + "description": "Partner servers page title" + }, + "partners.page.description": { + "message": "Daftar server San Andreas yang menggunakan open.mp atau SA-MP", + "description": "Partner servers page description" + }, + "uid.toast.copiedTitle": { + "message": "Disalin", + "description": "UID copy success toast title" + }, + "uid.toast.copiedMessage": { + "message": "Makro UID telah disalin ke papan klip.", + "description": "UID copy success toast message" + }, + "uid.page.title": { + "message": "Pembuat UID", + "description": "UID generator page title" + }, + "uid.page.description": { + "message": "Buat UID untuk digunakan sebagai pengenal unik IComponent atau IExtension", + "description": "UID generator page description" + }, + "launcherSim.join.connect": { + "message": "Hubungkan", + "description": "Launcher connect button" + }, + "launcherSim.join.bannerText": { + "message": "Server Anda", + "description": "Sample server banner text" + }, + "launcherSim.join.server": { + "message": "Server", + "description": "Launcher preview join dialog" + }, + "launcherSim.join.address": { + "message": "Alamat", + "description": "Launcher preview join dialog" + }, + "launcherSim.column.players": { + "message": "Pemain", + "description": "Launcher preview column" + }, + "launcherSim.join.nickname": { + "message": "Nama Panggilan", + "description": "Launcher join dialog nickname label" + }, + "launcherSim.join.version": { + "message": "Versi SA-MP", + "description": "Launcher join dialog SA-MP version label" + }, + "launcherSim.tab.favorites": { + "message": "Favorit", + "description": "Launcher preview tab" + }, + "launcherSim.tab.internet": { + "message": "Internet", + "description": "Launcher preview tab" + }, + "launcherSim.tab.partners": { + "message": "Mitra", + "description": "Launcher preview tab" + }, + "launcherSim.tab.recent": { + "message": "Baru Dimainkan", + "description": "Launcher preview tab" + }, + "launcherSim.nicknamePlaceholder": { + "message": "Nama panggilan...", + "description": "Launcher preview nickname placeholder" + }, + "launcherSim.searchPlaceholder": { + "message": "Cari nama host/mode server", + "description": "Launcher preview search placeholder" + }, + "launcherSim.column.name": { + "message": "Nama", + "description": "Launcher preview column" + }, + "launcherSim.column.ping": { + "message": "Ping", + "description": "Launcher preview column" + }, + "launcherSim.column.mode": { + "message": "Mode", + "description": "Launcher preview column" + }, + "launcherSim.menu.connect": { + "message": "Hubungkan", + "description": "Launcher preview: context menu" + }, + "launcherSim.addToFavorites": { + "message": "Tambah ke Favorit", + "description": "Launcher preview button" + }, + "launcherSim.menu.copy": { + "message": "Salin Info Server", + "description": "Launcher preview: context menu" + }, + "launcherSim.column.rule": { + "message": "Aturan", + "description": "Launcher preview column" + }, + "launcherSim.column.value": { + "message": "Nilai", + "description": "Launcher preview column" + }, + "launcherSim.filter.title": { + "message": "Filter:", + "description": "Launcher preview: filter panel" + }, + "launcherSim.filter.omp": { + "message": "Hanya server open.mp", + "description": "Launcher preview: filter panel" + }, + "launcherSim.filter.nonEmpty": { + "message": "Server Tidak Kosong", + "description": "Launcher preview: filter panel" + }, + "launcherSim.filter.unpassworded": { + "message": "Server Tanpa Kata Sandi", + "description": "Launcher preview: filter panel" + }, + "launcherSim.filter.language": { + "message": "Bahasa:", + "description": "Launcher preview: filter panel" + }, + "launcherSim.notification.favorited": { + "message": "Ditambahkan ke Favorit!", + "description": "Launcher preview: notification" + }, + "launcherSim.ariaLabel": { + "message": "Launcher open.mp yang menampilkan daftar contoh server", + "description": "Accessible label for the launcher picture" + }, + "launcherSim.column.player": { + "message": "Pemain", + "description": "Launcher preview column" + }, + "launcherSim.column.score": { + "message": "Skor", + "description": "Launcher preview column" + }, + "launcherSim.copy": { + "message": "SALIN", + "description": "Launcher preview: copy address" + }, + "servers.add.successMessage": { + "message": "{serverName} telah ditambahkan ke daftar tunggu kami. Jika belum tersedia setelah maksimal 48 jam, Anda dapat menghubungi kami di Discord!", + "description": "Toast message shown after submitting a server to the pending list" + }, + "servers.add.successTitle": { + "message": "Server Terkirim!", + "description": "Toast title shown after a server submission succeeds" + }, + "servers.add.failureMessage": { + "message": "Status {status}: {error}", + "description": "Toast message shown after a server submission fails" + }, + "servers.add.failureTitle": { + "message": "Pengiriman gagal!", + "description": "Toast title shown after a server submission fails" + }, + "servers.add.errorMessage": { + "message": "Terjadi kesalahan saat mengirimkan server", + "description": "Toast message shown after an unexpected server submission error" + }, + "servers.add.errorTitle": { + "message": "Kesalahan", + "description": "Generic toast error title" + }, + "servers.add.addressPlaceholder": { + "message": "play.example.com:7777", + "description": "Add server address input placeholder" + }, + "servers.pages.label": { + "message": "Halaman daftar server", + "description": "Accessible label for the server list pagination" + }, + "servers.pages.previous": { + "message": "Halaman sebelumnya", + "description": "Server list previous page button" + }, + "servers.pages.next": { + "message": "Halaman berikutnya", + "description": "Server list next page button" + }, + "servers.sort.name": { + "message": "Nama", + "description": "Sort by server name" + }, + "servers.sort.mode": { + "message": "Mode", + "description": "Sort by game mode" + }, + "servers.sort.language": { + "message": "Bahasa", + "description": "Sort by language" + }, + "servers.language.all": { + "message": "Semua bahasa", + "description": "All languages filter option" + }, + "servers.add.closeModal": { + "message": "Tutup jendela tambah server", + "description": "Accessible label for closing the add server modal" + }, + "npcCallbacksNote.message": { + "message": "Callback ini juga dapat dipanggil oleh NPC.", + "description": "Note shown on callback docs pages when NPCs can also call the callback" + }, + "versionWarn.name.function": { + "message": "fungsi", + "description": "Default item name in a version warning" + }, + "versionWarn.name.callback": { + "message": "callback", + "description": "Callback item name in a version warning" + }, + "versionWarn.message": { + "message": "{name} ini ditambahkan di {version} dan tidak akan berfungsi di versi sebelumnya!", + "description": "Warning shown on scripting docs pages for APIs added in a specific server version" + }, + "carousel.previous": { + "message": "Sebelumnya", + "description": "Carousel previous button" + }, + "carousel.next": { + "message": "Berikutnya", + "description": "Carousel next button" + }, + "downloads.release.githubTitle": { + "message": "Lihat rilis di GitHub", + "description": "Title attribute for the GitHub release link" + }, + "servers.page.title": { + "message": "Server", + "description": "Servers page title" + }, + "servers.page.description": { + "message": "Daftar server San Andreas yang menggunakan open.mp & SA-MP", + "description": "Servers page description" + }, + "downloads.launcher.layoutDescription": { + "message": "Unduh rilis launcher open.mp", + "description": "Launcher downloads page meta description" + }, + "downloads.server.layoutDescription": { + "message": "Unduh rilis server open.mp", + "description": "Server downloads page meta description" + }, + "notFound.title": { + "message": "Halaman Tidak Ditemukan", + "description": "404 page title" + }, + "notFound.imageAlt": { + "message": "Tangkapan layar misi kereta GTA", + "description": "Alt text for the 404 page image" + }, + "notFound.home": { + "message": "Beranda", + "description": "404 page home button" + }, + "notFound.docs": { + "message": "Dokumentasi", + "description": "404 page documentation button" + }, + "notFound.servers": { + "message": "Server", + "description": "404 page servers button" + }, + "theme.blog.post.paginator.navAriaLabel": { + "message": "Navigasi halaman pos blog", + "description": "The ARIA label for the blog posts pagination" + }, + "theme.blog.post.paginator.newerPost": { + "message": "Pos lebih baru", + "description": "The blog post button label to navigate to the newer/previous post" + }, + "theme.blog.post.paginator.olderPost": { + "message": "Pos lebih lama", + "description": "The blog post button label to navigate to the older/next post" + }, + "theme.tags.tagsPageLink": { + "message": "Lihat Semua Tag", + "description": "The label of the link targeting the tag list page" + }, + "theme.colorToggle.ariaLabel.mode.system": { + "message": "modus sistem", + "description": "The name for the system color mode" + }, + "theme.colorToggle.ariaLabel.mode.light": { + "message": "modus terang", + "description": "The name for the light color mode" + }, + "theme.colorToggle.ariaLabel.mode.dark": { + "message": "modus gelap", + "description": "The name for the dark color mode" + }, + "theme.colorToggle.ariaLabel": { + "message": "Ubah antara modus gelap dan modus terang (saat ini {mode})", + "description": "The ARIA label for the color mode toggle" + }, + "theme.docs.breadcrumbs.navAriaLabel": { + "message": "Runut navigasi", + "description": "The ARIA label for the breadcrumbs" + }, + "theme.docs.paginator.navAriaLabel": { + "message": "Halaman dokumentasi", + "description": "The ARIA label for the docs pagination" + }, + "theme.docs.paginator.previous": { + "message": "Sebelum", + "description": "The label used to navigate to the previous doc" + }, + "theme.docs.paginator.next": { + "message": "Berikut", + "description": "The label used to navigate to the next doc" + }, + "theme.docs.tagDocListPageTitle": { + "message": "{nDocsTagged} dengan \"{tagName}\"", + "description": "The title of the page for a docs tag" + }, + "theme.docs.versionBadge.label": { + "message": "Versi: {versionLabel}" + }, + "theme.docs.versions.unreleasedVersionLabel": { + "message": "Ini adalah dokumentasi yang belum dirilis untuk {siteTitle} {versionLabel}.", + "description": "The label used to tell the user that he's browsing an unreleased doc version" + }, + "theme.docs.versions.unmaintainedVersionLabel": { + "message": "Ini adalah dokumentasi untuk {siteTitle} {versionLabel}, yang tidak lagi aktif dikelola.", + "description": "The label used to tell the user that he's browsing an unmaintained doc version" + }, + "theme.docs.versions.latestVersionSuggestionLabel": { + "message": "Untuk dokumentasi terbaru, lihat {latestVersionLink} ({versionLabel}).", + "description": "The label used to tell the user to check the latest version" + }, + "theme.docs.versions.latestVersionLinkLabel": { + "message": "versi terbaru", + "description": "The label used for the latest version suggestion link label" + }, + "theme.common.editThisPage": { + "message": "Sunting halaman ini", + "description": "The link label to edit the current page" + }, + "theme.common.headingLinkTitle": { + "message": "Taut langsung ke {heading}", + "description": "Title for link to heading" + }, + "theme.lastUpdated.atDate": { + "message": " pada {date}", + "description": "The words used to describe on which date a page has been last updated" + }, + "theme.lastUpdated.byUser": { + "message": " oleh {user}", + "description": "The words used to describe by who the page has been last updated" + }, + "theme.lastUpdated.lastUpdatedAtBy": { + "message": "Diperbaharui{atDate}{byUser}", + "description": "The sentence used to display when a page has been last updated, and by who" + }, + "theme.navbar.mobileVersionsDropdown.label": { + "message": "Versi", + "description": "The label for the navbar versions dropdown on mobile view" + }, + "theme.tags.tagsListLabel": { + "message": "Tag:", + "description": "The label alongside a tag list" + }, + "theme.admonition.warning": { + "message": "peringatan", + "description": "The default label used for the Warning admonition (:::warning)" + }, + "theme.AnnouncementBar.closeButtonAriaLabel": { + "message": "Tutup", + "description": "The ARIA label for close button of announcement bar" + }, + "theme.blog.sidebar.navAriaLabel": { + "message": "Navigasi pos blog terbaru", + "description": "The ARIA label for recent posts in the blog sidebar" + }, + "theme.DocSidebarItem.expandCategoryAriaLabel": { + "message": "Perluas kategori bilah sisi '{label}'", + "description": "The ARIA label to expand the sidebar category" + }, + "theme.DocSidebarItem.collapseCategoryAriaLabel": { + "message": "Ciutkan kategori bilah sisi '{label}'", + "description": "The ARIA label to collapse the sidebar category" + }, + "theme.IconExternalLink.ariaLabel": { + "message": "(membuka di tab baru)", + "description": "The ARIA label for the external link icon" + }, + "theme.NavBar.navAriaLabel": { + "message": "Utama", + "description": "The ARIA label for the main navigation" + }, + "theme.navbar.mobileLanguageDropdown.label": { + "message": "Bahasa", + "description": "The label for the mobile language switcher dropdown" + }, + "theme.TOCCollapsible.toggleButtonLabel": { + "message": "Pada halaman ini", + "description": "The label used by the button on the collapsible TOC component" + }, + "theme.blog.post.readMore": { + "message": "Baca Selengkapnya", + "description": "The label used in blog post item excerpts to link to full blog posts" + }, + "theme.blog.post.readMoreLabel": { + "message": "Baca selengkapnya mengenai {title}", + "description": "The ARIA label for the link to full blog posts from excerpts" + }, + "theme.CodeBlock.copy": { + "message": "Salin", + "description": "The copy button label on code blocks" + }, + "theme.CodeBlock.copied": { + "message": "Disalin", + "description": "The copied button label on code blocks" + }, + "theme.CodeBlock.copyButtonAriaLabel": { + "message": "Salin kode ke papan klip", + "description": "The ARIA label for copy code blocks button" + }, + "theme.CodeBlock.wordWrapToggle": { + "message": "Alihkan pembungkus kata", + "description": "The title attribute for toggle word wrapping button of code block lines" + }, + "theme.docs.breadcrumbs.home": { + "message": "Halaman utama", + "description": "The ARIA label for the home page in the breadcrumbs" + }, + "theme.docs.sidebar.collapseButtonTitle": { + "message": "Ciutkan bilah sisi", + "description": "The title attribute for collapse button of doc sidebar" + }, + "theme.docs.sidebar.collapseButtonAriaLabel": { + "message": "Ciutkan bilah sisi", + "description": "The title attribute for collapse button of doc sidebar" + }, + "theme.docs.sidebar.navAriaLabel": { + "message": "Bilah sisi dokumentasi", + "description": "The ARIA label for the sidebar navigation" + }, + "theme.docs.sidebar.closeSidebarButtonAriaLabel": { + "message": "Tutup bilah sisi", + "description": "The ARIA label for close button of mobile sidebar" + }, + "theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel": { + "message": "← Kembali ke menu utama", + "description": "The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)" + }, + "theme.docs.sidebar.toggleSidebarButtonAriaLabel": { + "message": "Alihkan bilah sisi", + "description": "The ARIA label for hamburger menu button of mobile navigation" + }, + "theme.navbar.mobileDropdown.collapseButton.expandAriaLabel": { + "message": "Perluas menu tarik-turun", + "description": "The ARIA label of the button to expand the mobile dropdown navbar item" + }, + "theme.navbar.mobileDropdown.collapseButton.collapseAriaLabel": { + "message": "Ciutkan menu tarik-turun", + "description": "The ARIA label of the button to collapse the mobile dropdown navbar item" + }, + "theme.docs.sidebar.expandButtonTitle": { + "message": "Perluas bilah sisi", + "description": "The ARIA label and title attribute for expand button of doc sidebar" + }, + "theme.docs.sidebar.expandButtonAriaLabel": { + "message": "Perluas bilah sisi", + "description": "The ARIA label and title attribute for expand button of doc sidebar" + }, + "theme.SearchBar.seeAll": { + "message": "Lihat semua {count} hasilnya" + }, + "theme.SearchPage.documentsFound.plurals": { + "message": "Satu dokumen ditemukan|{count} dokumen ditemukan", + "description": "Pluralized label for \"{count} documents found\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)" + }, + "theme.SearchPage.existingResultsTitle": { + "message": "Hasil pencarian untuk \"{query}\"", + "description": "The search page title for non-empty query" + }, + "theme.SearchPage.emptyResultsTitle": { + "message": "Cari dokumentasi", + "description": "The search page title for empty query" + }, + "theme.SearchPage.inputPlaceholder": { + "message": "Tulis pencarian anda di sini", + "description": "The placeholder for search page input" + }, + "theme.SearchPage.inputLabel": { + "message": "Cari", + "description": "The ARIA label for search page input" + }, + "theme.SearchPage.algoliaLabel": { + "message": "Didukung oleh Algolia", + "description": "The description label for Algolia mention" + }, + "theme.SearchPage.noResultsText": { + "message": "Tak ada hasil yang ditemukan", + "description": "The paragraph for empty search result" + }, + "theme.SearchPage.fetchingNewResults": { + "message": "Mendapatkan hasil pencarian...", + "description": "The paragraph for fetching new search results" + }, + "theme.SearchBar.label": { + "message": "Cari", + "description": "The ARIA label and placeholder for search button" + }, + "theme.SearchModal.searchBox.resetButtonTitle": { + "message": "Hapus teks pencarian", + "description": "The label and ARIA label for search box reset button" + }, + "theme.SearchModal.searchBox.cancelButtonText": { + "message": "Batalkan", + "description": "The label and ARIA label for search box cancel button" + }, + "theme.SearchModal.searchBox.placeholderText": { + "message": "Cari dokumentasi", + "description": "The placeholder text for the main search input field" + }, + "theme.SearchModal.searchBox.placeholderTextAskAi": { + "message": "Ajukan pertanyaan lain...", + "description": "The placeholder text when in AI question mode" + }, + "theme.SearchModal.searchBox.placeholderTextAskAiStreaming": { + "message": "Menjawab...", + "description": "The placeholder text for search box when AI is streaming an answer" + }, + "theme.SearchModal.searchBox.enterKeyHint": { + "message": "cari", + "description": "The hint for the search box enter key text" + }, + "theme.SearchModal.searchBox.enterKeyHintAskAi": { + "message": "kirim", + "description": "The hint for the Ask AI search box enter key text" + }, + "theme.SearchModal.searchBox.searchInputLabel": { + "message": "Cari", + "description": "The ARIA label for search input" + }, + "theme.SearchModal.searchBox.backToKeywordSearchButtonText": { + "message": "Kembali ke pencarian kata kunci", + "description": "The text for back to keyword search button" + }, + "theme.SearchModal.searchBox.backToKeywordSearchButtonAriaLabel": { + "message": "Kembali ke pencarian kata kunci", + "description": "The ARIA label for back to keyword search button" + }, + "theme.SearchModal.startScreen.recentSearchesTitle": { + "message": "Terbaru", + "description": "The title for recent searches" + }, + "theme.SearchModal.startScreen.noRecentSearchesText": { + "message": "Tak ada riwayat pencarian", + "description": "The text when there are no recent searches" + }, + "theme.SearchModal.startScreen.saveRecentSearchButtonTitle": { + "message": "Simpan pencarian ini", + "description": "The title for save recent search button" + }, + "theme.SearchModal.startScreen.removeRecentSearchButtonTitle": { + "message": "Hapus pencarian ini dari riwayat", + "description": "The title for remove recent search button" + }, + "theme.SearchModal.startScreen.favoriteSearchesTitle": { + "message": "Favorit", + "description": "The title for favorite searches" + }, + "theme.SearchModal.startScreen.removeFavoriteSearchButtonTitle": { + "message": "Hapus pencarian ini dari favorit", + "description": "The title for remove favorite search button" + }, + "theme.SearchModal.startScreen.recentConversationsTitle": { + "message": "Percakapan terbaru", + "description": "The title for recent conversations" + }, + "theme.SearchModal.startScreen.removeRecentConversationButtonTitle": { + "message": "Hapus percakapan ini dari riwayat", + "description": "The title for remove recent conversation button" + }, + "theme.SearchModal.errorScreen.titleText": { + "message": "Gagal mendapatkan hasilnya", + "description": "The title for error screen" + }, + "theme.SearchModal.errorScreen.helpText": { + "message": "Barangkali anda perlu memerika koneksi jaringan anda.", + "description": "The help text for error screen" + }, + "theme.SearchModal.resultsScreen.askAiPlaceholder": { + "message": "Tanya AI: ", + "description": "The placeholder text for Ask AI input" + }, + "theme.SearchModal.askAiScreen.disclaimerText": { + "message": "Jawaban dibuat oleh AI yang dapat melakukan kesalahan. Periksa kembali jawabannya.", + "description": "The disclaimer text for AI answers" + }, + "theme.SearchModal.askAiScreen.relatedSourcesText": { + "message": "Sumber terkait", + "description": "The text for related sources" + }, + "theme.SearchModal.askAiScreen.thinkingText": { + "message": "Berpikir...", + "description": "The text when AI is thinking" + }, + "theme.SearchModal.askAiScreen.copyButtonText": { + "message": "Salin", + "description": "The text for copy button" + }, + "theme.SearchModal.askAiScreen.copyButtonCopiedText": { + "message": "Disalin!", + "description": "The text for copy button when copied" + }, + "theme.SearchModal.askAiScreen.copyButtonTitle": { + "message": "Salin", + "description": "The title for copy button" + }, + "theme.SearchModal.askAiScreen.likeButtonTitle": { + "message": "Suka", + "description": "The title for like button" + }, + "theme.SearchModal.askAiScreen.dislikeButtonTitle": { + "message": "Tidak suka", + "description": "The title for dislike button" + }, + "theme.SearchModal.askAiScreen.thanksForFeedbackText": { + "message": "Terima kasih atas masukan Anda!", + "description": "The text for thanks for feedback" + }, + "theme.SearchModal.askAiScreen.preToolCallText": { + "message": "Mencari...", + "description": "The text before tool call" + }, + "theme.SearchModal.askAiScreen.duringToolCallText": { + "message": "Mencari ", + "description": "The text during tool call" + }, + "theme.SearchModal.askAiScreen.afterToolCallText": { + "message": "Telah mencari", + "description": "The text after tool call" + }, + "theme.SearchModal.footer.selectText": { + "message": "memilih", + "description": "The select text for footer" + }, + "theme.SearchModal.footer.submitQuestionText": { + "message": "Kirim pertanyaan", + "description": "The submit question text for footer" + }, + "theme.SearchModal.footer.selectKeyAriaLabel": { + "message": "Tombol Enter", + "description": "The ARIA label for select key in footer" + }, + "theme.SearchModal.footer.navigateText": { + "message": "navigasi", + "description": "The navigate text for footer" + }, + "theme.SearchModal.footer.navigateUpKeyAriaLabel": { + "message": "Panah ke atas", + "description": "The ARIA label for navigate up key in footer" + }, + "theme.SearchModal.footer.navigateDownKeyAriaLabel": { + "message": "Panah ke bawah", + "description": "The ARIA label for navigate down key in footer" + }, + "theme.SearchModal.footer.closeText": { + "message": "menutup", + "description": "The close text for footer" + }, + "theme.SearchModal.footer.closeKeyAriaLabel": { + "message": "Tombol Escape", + "description": "The ARIA label for close key in footer" + }, + "theme.SearchModal.footer.searchByText": { + "message": "Cari dengan teks", + "description": "The 'Powered by' text for footer" + }, + "theme.SearchModal.footer.backToSearchText": { + "message": "Kembali ke pencarian", + "description": "The back to search text for footer" + }, + "theme.SearchModal.noResultsScreen.noResultsText": { + "message": "Tak ada hasil untuk", + "description": "The text when there are no results" + }, + "theme.SearchModal.noResultsScreen.suggestedQueryText": { + "message": "Coba lakukan pencarian untuk", + "description": "The text for suggested query" + }, + "theme.SearchModal.noResultsScreen.reportMissingResultsText": { + "message": "Yakin pencarian ini seharusnya memberikan hasil?", + "description": "The text for reporting missing results" + }, + "theme.SearchModal.noResultsScreen.reportMissingResultsLinkText": { + "message": "Beri tahu kami.", + "description": "The link text for reporting missing results" + }, + "theme.SearchModal.placeholder": { + "message": "Cari dokumentasi", + "description": "The placeholder of the input of the DocSearch pop-up modal" + }, + "theme.blog.post.plurals": { + "message": "Satu pos|{count} pos", + "description": "Pluralized label for \"{count} posts\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)" + }, + "theme.blog.tagTitle": { + "message": "{nPosts} memiliki tag \"{tagName}\"", + "description": "The title of the page for a blog tag" + }, + "theme.blog.author.pageTitle": { + "message": "{authorName} - {nPosts}", + "description": "The title of the page for a blog author" + }, + "theme.blog.authorsList.pageTitle": { + "message": "Penulis", + "description": "The title of the authors page" + }, + "theme.blog.authorsList.viewAll": { + "message": "View All Authors", + "description": "The label of the link targeting the blog authors page" + }, + "theme.blog.author.noPosts": { + "message": "Penulis ini belum menulis pos apa pun.", + "description": "The text for authors with 0 blog post" + }, + "theme.contentVisibility.unlistedBanner.title": { + "message": "Halaman tak terdaftar", + "description": "The unlisted content banner title" + }, + "theme.contentVisibility.unlistedBanner.message": { + "message": "Halaman ini tidak terdaftar. Mesin pencari tidak akan mengindeksnya, dan hanya pengguna yang memiliki tautan langsung yang dapat mengaksesnya.", + "description": "The unlisted content banner message" + }, + "theme.contentVisibility.draftBanner.title": { + "message": "Halaman draf", + "description": "The draft content banner title" + }, + "theme.contentVisibility.draftBanner.message": { + "message": "Halaman ini adalah draf. Halaman ini hanya akan terlihat di mode pengembangan dan tidak disertakan dalam build produksi.", + "description": "The draft content banner message" + }, + "theme.docs.DocCard.categoryDescription.plurals": { + "message": "1 butir|{count} butir", + "description": "The default description for a category card in the generated index about how many items this category includes" + }, + "theme.ErrorPageContent.tryAgain": { + "message": "Coba kembali", + "description": "The label of the button to try again rendering when the React error boundary captures an error" + }, + "theme.common.skipToMainContent": { + "message": "Lewati ke konten utama", + "description": "The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation" + }, "theme.docs.sidebar.filterPlaceholder": { "message": "Filter dokumentasi", "description": "Placeholder for the docs sidebar filter input" diff --git a/frontend/i18n/id/docusaurus-plugin-content-blog/options.json b/frontend/i18n/id/docusaurus-plugin-content-blog/options.json new file mode 100644 index 000000000000..e1d0fea2de29 --- /dev/null +++ b/frontend/i18n/id/docusaurus-plugin-content-blog/options.json @@ -0,0 +1,14 @@ +{ + "title": { + "message": "Blog", + "description": "The title for the blog used in SEO" + }, + "description": { + "message": "Blog", + "description": "The description for the blog used in SEO" + }, + "sidebar.title": { + "message": "Pos terbaru", + "description": "The label for the left sidebar" + } +} diff --git a/frontend/i18n/id/docusaurus-plugin-content-docs/current.json b/frontend/i18n/id/docusaurus-plugin-content-docs/current.json index b91bf0af4853..d9b07f3766ea 100644 --- a/frontend/i18n/id/docusaurus-plugin-content-docs/current.json +++ b/frontend/i18n/id/docusaurus-plugin-content-docs/current.json @@ -28,5 +28,9 @@ }, "sidebar.docsSidebar.category.Meta": { "message": "Meta" + }, + "version.label": { + "message": "Berikutnya", + "description": "The label for version current" } } diff --git a/frontend/i18n/id/docusaurus-theme-classic/footer.json b/frontend/i18n/id/docusaurus-theme-classic/footer.json new file mode 100644 index 000000000000..e45c9b2513b2 --- /dev/null +++ b/frontend/i18n/id/docusaurus-theme-classic/footer.json @@ -0,0 +1,82 @@ +{ + "link.title.Documentation": { + "message": "Dokumentasi", + "description": "The title of the footer links column with title=Documentation in the footer" + }, + "link.title.Community": { + "message": "Komunitas", + "description": "The title of the footer links column with title=Community in the footer" + }, + "link.title.More": { + "message": "Lainnya", + "description": "The title of the footer links column with title=More in the footer" + }, + "link.item.label.Introduction": { + "message": "Pengenalan", + "description": "The label of footer link with label=Introduction linking to docs" + }, + "link.item.label.open.mp Migration": { + "message": "Migrasi ke open.mp", + "description": "The label of footer link with label=open.mp Migration linking to docs/server/Installation" + }, + "link.item.label.config.json": { + "message": "config.json", + "description": "The label of footer link with label=config.json linking to docs/server/config.json" + }, + "link.item.label.Discord": { + "message": "Discord", + "description": "The label of footer link with label=Discord linking to https://discord.gg/samp" + }, + "link.item.label.GitHub": { + "message": "GitHub", + "description": "The label of footer link with label=GitHub linking to https://github.com/openmultiplayer/open.mp" + }, + "link.item.label.Donate": { + "message": "Donasi", + "description": "The label of footer link with label=Donate linking to https://opencollective.com/openmultiplayer" + }, + "link.item.label.YouTube": { + "message": "YouTube", + "description": "The label of footer link with label=YouTube linking to https://youtube.com/openmultiplayer" + }, + "link.item.label.X": { + "message": "X", + "description": "The label of footer link with label=X linking to https://x.com/openmultiplayer" + }, + "link.item.label.Download Launcher": { + "message": "Unduh Launcher", + "description": "The label of footer link with label=Download Launcher linking to /downloads/launcher" + }, + "link.item.label.Download Server": { + "message": "Unduh Server", + "description": "The label of footer link with label=Download Server linking to /downloads/server" + }, + "link.item.label.Servers": { + "message": "Server", + "description": "The label of footer link with label=Servers linking to /servers" + }, + "link.item.label.Blog": { + "message": "Blog", + "description": "The label of footer link with label=Blog linking to /blog" + }, + "link.item.label.Animations": { + "message": "Animasi", + "description": "The label of footer link with label=Animations linking to /animations" + }, + "link.item.label.UID Generator": { + "message": "Pembuat UID", + "description": "The label of footer link with label=UID Generator linking to /uid" + }, + "link.item.label.SA-MP": { + "message": "SA-MP", + "description": "The label of footer link with label=SA-MP linking to https://sa-mp.mp/" + }, + "copyright": { + "message": "Hak Cipta © 2026 open.mp. Dibuat dengan Docusaurus.", + "description": "The footer copyright" + }, + "logo.alt": { + "message": "open.mp", + "description": "The alt text of footer logo" + } +} diff --git a/frontend/i18n/id/docusaurus-theme-classic/navbar.json b/frontend/i18n/id/docusaurus-theme-classic/navbar.json new file mode 100644 index 000000000000..19698ca501ea --- /dev/null +++ b/frontend/i18n/id/docusaurus-theme-classic/navbar.json @@ -0,0 +1,34 @@ +{ + "title": { + "message": "Open Multiplayer", + "description": "The title in the navbar" + }, + "logo.alt": { + "message": "Logo open.mp", + "description": "The alt text of navbar logo" + }, + "item.label.Docs": { + "message": "Dokumentasi", + "description": "Navbar item with label Docs" + }, + "item.label.Blog": { + "message": "Blog", + "description": "Navbar item with label Blog" + }, + "item.label.Forums": { + "message": "Forum", + "description": "Navbar item with label Forums" + }, + "item.label.Servers": { + "message": "Server", + "description": "Navbar item with label Servers" + }, + "item.label.Partners": { + "message": "Mitra", + "description": "Navbar item with label Partners" + }, + "item.label.Donate to us": { + "message": "Donasi", + "description": "Navbar item with label Donate to us" + } +} diff --git a/frontend/i18n/pt-BR/code.json b/frontend/i18n/pt-BR/code.json index d1cdbba6d62b..45a52ac76f1b 100644 --- a/frontend/i18n/pt-BR/code.json +++ b/frontend/i18n/pt-BR/code.json @@ -149,7 +149,7 @@ "description": "Pluralized label for \"{readingTime} min read\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)" }, "theme.tags.tagsPageTitle": { - "message": "Tags", + "message": "Etiquetas", "description": "The title of the tag list page" }, "announcement.serverVersion": { @@ -697,6 +697,644 @@ "message": "Servidores", "description": "404 page servers button" }, + "serverInfo.gameMode": { + "message": "Modo de Jogo", + "description": "Game mode label" + }, + "launcherSim.join.connect": { + "message": "Conectar", + "description": "Launcher connect button" + }, + "launcherSim.join.bannerText": { + "message": "Seu Servidor", + "description": "Sample server banner text" + }, + "launcherSim.join.server": { + "message": "Servidor", + "description": "Launcher preview join dialog" + }, + "launcherSim.join.address": { + "message": "Endereço", + "description": "Launcher preview join dialog" + }, + "launcherSim.column.players": { + "message": "Jogadores", + "description": "Launcher preview column" + }, + "launcherSim.join.nickname": { + "message": "Apelido", + "description": "Launcher join dialog nickname label" + }, + "launcherSim.join.version": { + "message": "Versão do SA-MP", + "description": "Launcher join dialog SA-MP version label" + }, + "launcherSim.tab.favorites": { + "message": "Favoritos", + "description": "Launcher preview tab" + }, + "launcherSim.tab.internet": { + "message": "Internet", + "description": "Launcher preview tab" + }, + "launcherSim.tab.partners": { + "message": "Parceiros", + "description": "Launcher preview tab" + }, + "launcherSim.tab.recent": { + "message": "Jogados Recentemente", + "description": "Launcher preview tab" + }, + "launcherSim.nicknamePlaceholder": { + "message": "Apelido...", + "description": "Launcher preview nickname placeholder" + }, + "launcherSim.searchPlaceholder": { + "message": "Buscar por nome do servidor/modo", + "description": "Launcher preview search placeholder" + }, + "launcherSim.column.name": { + "message": "Nome", + "description": "Launcher preview column" + }, + "launcherSim.column.ping": { + "message": "Ping", + "description": "Launcher preview column" + }, + "launcherSim.column.mode": { + "message": "Modo", + "description": "Launcher preview column" + }, + "launcherSim.menu.connect": { + "message": "Conectar", + "description": "Launcher preview: context menu" + }, + "launcherSim.addToFavorites": { + "message": "Adicionar aos Favoritos", + "description": "Launcher preview button" + }, + "launcherSim.menu.copy": { + "message": "Copiar Informações do Servidor", + "description": "Launcher preview: context menu" + }, + "launcherSim.column.rule": { + "message": "Regra", + "description": "Launcher preview column" + }, + "launcherSim.column.value": { + "message": "Valor", + "description": "Launcher preview column" + }, + "launcherSim.filter.title": { + "message": "Filtros:", + "description": "Launcher preview: filter panel" + }, + "launcherSim.filter.omp": { + "message": "Somente servidores open.mp", + "description": "Launcher preview: filter panel" + }, + "launcherSim.filter.nonEmpty": { + "message": "Servidores Não Vazios", + "description": "Launcher preview: filter panel" + }, + "launcherSim.filter.unpassworded": { + "message": "Servidores Sem Senha", + "description": "Launcher preview: filter panel" + }, + "launcherSim.filter.language": { + "message": "Idioma:", + "description": "Launcher preview: filter panel" + }, + "launcherSim.notification.favorited": { + "message": "Adicionado aos Favoritos!", + "description": "Launcher preview: notification" + }, + "launcherSim.ariaLabel": { + "message": "O launcher open.mp mostrando uma lista de servidores de exemplo", + "description": "Accessible label for the launcher picture" + }, + "launcherSim.column.player": { + "message": "Jogador", + "description": "Launcher preview column" + }, + "launcherSim.column.score": { + "message": "Pontuação", + "description": "Launcher preview column" + }, + "launcherSim.copy": { + "message": "COPIAR", + "description": "Launcher preview: copy address" + }, + "servers.pages.label": { + "message": "Páginas da lista de servidores", + "description": "Accessible label for the server list pagination" + }, + "servers.pages.previous": { + "message": "Página anterior", + "description": "Server list previous page button" + }, + "servers.pages.next": { + "message": "Próxima página", + "description": "Server list next page button" + }, + "carousel.previous": { + "message": "Anterior", + "description": "Carousel previous button" + }, + "carousel.next": { + "message": "Próximo", + "description": "Carousel next button" + }, + "theme.blog.post.paginator.navAriaLabel": { + "message": "Navegação da página de publicação do blog", + "description": "The ARIA label for the blog posts pagination" + }, + "theme.blog.post.paginator.newerPost": { + "message": "Publicação mais recente", + "description": "The blog post button label to navigate to the newer/previous post" + }, + "theme.blog.post.paginator.olderPost": { + "message": "Publicação mais antiga", + "description": "The blog post button label to navigate to the older/next post" + }, + "theme.tags.tagsPageLink": { + "message": "Ver todas as etiquetas", + "description": "The label of the link targeting the tag list page" + }, + "theme.colorToggle.ariaLabel.mode.system": { + "message": "modo do sistema", + "description": "The name for the system color mode" + }, + "theme.colorToggle.ariaLabel.mode.light": { + "message": "modo claro", + "description": "The name for the light color mode" + }, + "theme.colorToggle.ariaLabel.mode.dark": { + "message": "modo escuro", + "description": "The name for the dark color mode" + }, + "theme.colorToggle.ariaLabel": { + "message": "Mudar entre modo claro e escuro ({mode} está ativo)", + "description": "The ARIA label for the color mode toggle" + }, + "theme.docs.breadcrumbs.navAriaLabel": { + "message": "Trilha", + "description": "The ARIA label for the breadcrumbs" + }, + "theme.docs.paginator.navAriaLabel": { + "message": "Páginas de documento", + "description": "The ARIA label for the docs pagination" + }, + "theme.docs.paginator.previous": { + "message": "Anterior", + "description": "The label used to navigate to the previous doc" + }, + "theme.docs.paginator.next": { + "message": "Próxima", + "description": "The label used to navigate to the next doc" + }, + "theme.docs.tagDocListPageTitle.nDocsTagged": { + "message": "Um documento marcado|{count} documentos marcados", + "description": "Pluralized label for \"{count} docs tagged\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)" + }, + "theme.docs.tagDocListPageTitle": { + "message": "{nDocsTagged} com \"{tagName}\"", + "description": "The title of the page for a docs tag" + }, + "theme.docs.versionBadge.label": { + "message": "Versão: {versionLabel}" + }, + "theme.docs.versions.unreleasedVersionLabel": { + "message": "Esta é uma documentação não lançada da versão {versionLabel} para {siteTitle}.", + "description": "The label used to tell the user that he's browsing an unreleased doc version" + }, + "theme.docs.versions.unmaintainedVersionLabel": { + "message": "Esta é a documentação para {siteTitle} {versionLabel}, que não é mais mantida ativamente.", + "description": "The label used to tell the user that he's browsing an unmaintained doc version" + }, + "theme.docs.versions.latestVersionSuggestionLabel": { + "message": "Para a documentação atualizada, consulte a {latestVersionLink} ({versionLabel}).", + "description": "The label used to tell the user to check the latest version" + }, + "theme.docs.versions.latestVersionLinkLabel": { + "message": "versão mais recente", + "description": "The label used for the latest version suggestion link label" + }, + "theme.common.editThisPage": { + "message": "Editar esta página", + "description": "The link label to edit the current page" + }, + "theme.common.headingLinkTitle": { + "message": "Link direto para {heading}", + "description": "Title for link to heading" + }, + "theme.lastUpdated.atDate": { + "message": " em {date}", + "description": "The words used to describe on which date a page has been last updated" + }, + "theme.lastUpdated.byUser": { + "message": " por {user}", + "description": "The words used to describe by who the page has been last updated" + }, + "theme.lastUpdated.lastUpdatedAtBy": { + "message": "Última atualização{atDate}{byUser}", + "description": "The sentence used to display when a page has been last updated, and by who" + }, + "theme.navbar.mobileVersionsDropdown.label": { + "message": "Versões", + "description": "The label for the navbar versions dropdown on mobile view" + }, + "theme.tags.tagsListLabel": { + "message": "Etiquetas:", + "description": "The label alongside a tag list" + }, + "theme.AnnouncementBar.closeButtonAriaLabel": { + "message": "Fechar", + "description": "The ARIA label for close button of announcement bar" + }, + "theme.blog.sidebar.navAriaLabel": { + "message": "Navegação das publicações recentes do blog", + "description": "The ARIA label for recent posts in the blog sidebar" + }, + "theme.admonition.warning": { + "message": "aviso", + "description": "The default label used for the Warning admonition (:::warning)" + }, + "theme.DocSidebarItem.expandCategoryAriaLabel": { + "message": "Expandir a categoria '{label}'", + "description": "The ARIA label to expand the sidebar category" + }, + "theme.DocSidebarItem.collapseCategoryAriaLabel": { + "message": "Recolher a categoria '{label}'", + "description": "The ARIA label to collapse the sidebar category" + }, + "theme.NavBar.navAriaLabel": { + "message": "Navegação principal", + "description": "The ARIA label for the main navigation" + }, + "theme.IconExternalLink.ariaLabel": { + "message": "(abre em uma nova aba)", + "description": "The ARIA label for the external link icon" + }, + "theme.navbar.mobileLanguageDropdown.label": { + "message": "Línguas", + "description": "The label for the mobile language switcher dropdown" + }, + "theme.TOCCollapsible.toggleButtonLabel": { + "message": "Nesta página", + "description": "The label used by the button on the collapsible TOC component" + }, + "theme.blog.post.readMore": { + "message": "Ler mais", + "description": "The label used in blog post item excerpts to link to full blog posts" + }, + "theme.blog.post.readMoreLabel": { + "message": "Ler mais sobre {title}", + "description": "The ARIA label for the link to full blog posts from excerpts" + }, + "theme.CodeBlock.copy": { + "message": "Copiar", + "description": "The copy button label on code blocks" + }, + "theme.CodeBlock.copied": { + "message": "Copiado", + "description": "The copied button label on code blocks" + }, + "theme.CodeBlock.copyButtonAriaLabel": { + "message": "Copiar código para a área de transferência", + "description": "The ARIA label for copy code blocks button" + }, + "theme.CodeBlock.wordWrapToggle": { + "message": "Alternar quebra de linha", + "description": "The title attribute for toggle word wrapping button of code block lines" + }, + "theme.docs.breadcrumbs.home": { + "message": "Página Inicial", + "description": "The ARIA label for the home page in the breadcrumbs" + }, + "theme.docs.sidebar.collapseButtonTitle": { + "message": "Recolher painel lateral", + "description": "The title attribute for collapse button of doc sidebar" + }, + "theme.docs.sidebar.collapseButtonAriaLabel": { + "message": "Recolher painel lateral", + "description": "The title attribute for collapse button of doc sidebar" + }, + "theme.docs.sidebar.navAriaLabel": { + "message": "Painel lateral de documentos", + "description": "The ARIA label for the sidebar navigation" + }, + "theme.docs.sidebar.closeSidebarButtonAriaLabel": { + "message": "Fechar painel de navegação", + "description": "The ARIA label for close button of mobile sidebar" + }, + "theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel": { + "message": "← Voltar para o menu principal", + "description": "The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)" + }, + "theme.docs.sidebar.toggleSidebarButtonAriaLabel": { + "message": "Alternar painel de navegação", + "description": "The ARIA label for hamburger menu button of mobile navigation" + }, + "theme.navbar.mobileDropdown.collapseButton.expandAriaLabel": { + "message": "Expandir a seleção", + "description": "The ARIA label of the button to expand the mobile dropdown navbar item" + }, + "theme.navbar.mobileDropdown.collapseButton.collapseAriaLabel": { + "message": "Recolher a seleção", + "description": "The ARIA label of the button to collapse the mobile dropdown navbar item" + }, + "theme.docs.sidebar.expandButtonTitle": { + "message": "Expandir painel lateral", + "description": "The ARIA label and title attribute for expand button of doc sidebar" + }, + "theme.docs.sidebar.expandButtonAriaLabel": { + "message": "Expandir painel lateral", + "description": "The ARIA label and title attribute for expand button of doc sidebar" + }, + "theme.SearchBar.seeAll": { + "message": "Ver todos os {count} resultados" + }, + "theme.SearchPage.documentsFound.plurals": { + "message": "Um documento encontrado|{count} documentos encontrados", + "description": "Pluralized label for \"{count} documents found\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)" + }, + "theme.SearchPage.existingResultsTitle": { + "message": "Resultado da pesquisa por \"{query}\"", + "description": "The search page title for non-empty query" + }, + "theme.SearchPage.emptyResultsTitle": { + "message": "Pesquisa da documentação", + "description": "The search page title for empty query" + }, + "theme.SearchPage.inputPlaceholder": { + "message": "Digite sua pesquisa aqui", + "description": "The placeholder for search page input" + }, + "theme.SearchPage.inputLabel": { + "message": "Procurar", + "description": "The ARIA label for search page input" + }, + "theme.SearchPage.algoliaLabel": { + "message": "Desenvolvido por Algolia", + "description": "The description label for Algolia mention" + }, + "theme.SearchPage.noResultsText": { + "message": "Nenhum resultado foi encontrado", + "description": "The paragraph for empty search result" + }, + "theme.SearchPage.fetchingNewResults": { + "message": "Trazendo novos resultados...", + "description": "The paragraph for fetching new search results" + }, + "theme.SearchBar.label": { + "message": "Procurar", + "description": "The ARIA label and placeholder for search button" + }, + "theme.SearchModal.searchBox.resetButtonTitle": { + "message": "Limpar a pesquisa", + "description": "The label and ARIA label for search box reset button" + }, + "theme.SearchModal.searchBox.cancelButtonText": { + "message": "Cancelar", + "description": "The label and ARIA label for search box cancel button" + }, + "theme.SearchModal.searchBox.placeholderText": { + "message": "Procurar na documentação", + "description": "The placeholder text for the main search input field" + }, + "theme.SearchModal.searchBox.placeholderTextAskAi": { + "message": "Pergunte outra coisa...", + "description": "The placeholder text when in AI question mode" + }, + "theme.SearchModal.searchBox.placeholderTextAskAiStreaming": { + "message": "Respondendo...", + "description": "The placeholder text for search box when AI is streaming an answer" + }, + "theme.SearchModal.searchBox.enterKeyHint": { + "message": "procurar", + "description": "The hint for the search box enter key text" + }, + "theme.SearchModal.searchBox.enterKeyHintAskAi": { + "message": "enter", + "description": "The hint for the Ask AI search box enter key text" + }, + "theme.SearchModal.searchBox.searchInputLabel": { + "message": "Procurar", + "description": "The ARIA label for search input" + }, + "theme.SearchModal.searchBox.backToKeywordSearchButtonText": { + "message": "Voltar para a pesquisa por palavra-chave", + "description": "The text for back to keyword search button" + }, + "theme.SearchModal.searchBox.backToKeywordSearchButtonAriaLabel": { + "message": "Voltar para a pesquisa por palavra-chave", + "description": "The ARIA label for back to keyword search button" + }, + "theme.SearchModal.startScreen.recentSearchesTitle": { + "message": "Recente", + "description": "The title for recent searches" + }, + "theme.SearchModal.startScreen.noRecentSearchesText": { + "message": "Nenhuma pesquisa recente", + "description": "The text when there are no recent searches" + }, + "theme.SearchModal.startScreen.saveRecentSearchButtonTitle": { + "message": "Salvar esta pesquisa", + "description": "The title for save recent search button" + }, + "theme.SearchModal.startScreen.removeRecentSearchButtonTitle": { + "message": "Remover esta pesquisa do histórico", + "description": "The title for remove recent search button" + }, + "theme.SearchModal.startScreen.favoriteSearchesTitle": { + "message": "Favorito", + "description": "The title for favorite searches" + }, + "theme.SearchModal.startScreen.removeFavoriteSearchButtonTitle": { + "message": "Remover esta pesquisa dos favoritos", + "description": "The title for remove favorite search button" + }, + "theme.SearchModal.startScreen.recentConversationsTitle": { + "message": "Conversas recentes", + "description": "The title for recent conversations" + }, + "theme.SearchModal.startScreen.removeRecentConversationButtonTitle": { + "message": "Remover esta conversa do histórico", + "description": "The title for remove recent conversation button" + }, + "theme.SearchModal.errorScreen.titleText": { + "message": "Não foi possível obter resultados", + "description": "The title for error screen" + }, + "theme.SearchModal.errorScreen.helpText": { + "message": "Talvez você deva verificar sua conexão de rede.", + "description": "The help text for error screen" + }, + "theme.SearchModal.resultsScreen.askAiPlaceholder": { + "message": "Pergunte para a IA: ", + "description": "The placeholder text for Ask AI input" + }, + "theme.SearchModal.askAiScreen.disclaimerText": { + "message": "Respostas geradas por IA podem cometer erros. Verifique.", + "description": "The disclaimer text for AI answers" + }, + "theme.SearchModal.askAiScreen.relatedSourcesText": { + "message": "Resultados relacionados", + "description": "The text for related sources" + }, + "theme.SearchModal.askAiScreen.thinkingText": { + "message": "Pensando...", + "description": "The text when AI is thinking" + }, + "theme.SearchModal.askAiScreen.copyButtonText": { + "message": "Copiar", + "description": "The text for copy button" + }, + "theme.SearchModal.askAiScreen.copyButtonCopiedText": { + "message": "Copiado!", + "description": "The text for copy button when copied" + }, + "theme.SearchModal.askAiScreen.copyButtonTitle": { + "message": "Copiar", + "description": "The title for copy button" + }, + "theme.SearchModal.askAiScreen.likeButtonTitle": { + "message": "Gostei", + "description": "The title for like button" + }, + "theme.SearchModal.askAiScreen.dislikeButtonTitle": { + "message": "Não gostei", + "description": "The title for dislike button" + }, + "theme.SearchModal.askAiScreen.thanksForFeedbackText": { + "message": "Obrigado pelo seu feedback!", + "description": "The text for thanks for feedback" + }, + "theme.SearchModal.askAiScreen.preToolCallText": { + "message": "Procurando...", + "description": "The text before tool call" + }, + "theme.SearchModal.askAiScreen.duringToolCallText": { + "message": "Procurando por ", + "description": "The text during tool call" + }, + "theme.SearchModal.askAiScreen.afterToolCallText": { + "message": "Procurou por", + "description": "The text after tool call" + }, + "theme.SearchModal.footer.selectText": { + "message": "selecionar", + "description": "The select text for footer" + }, + "theme.SearchModal.footer.submitQuestionText": { + "message": "Enviar pergunta", + "description": "The submit question text for footer" + }, + "theme.SearchModal.footer.selectKeyAriaLabel": { + "message": "Tecla Enter", + "description": "The ARIA label for select key in footer" + }, + "theme.SearchModal.footer.navigateText": { + "message": "navegar", + "description": "The navigate text for footer" + }, + "theme.SearchModal.footer.navigateUpKeyAriaLabel": { + "message": "Seta para cima", + "description": "The ARIA label for navigate up key in footer" + }, + "theme.SearchModal.footer.navigateDownKeyAriaLabel": { + "message": "Seta para baixo", + "description": "The ARIA label for navigate down key in footer" + }, + "theme.SearchModal.footer.closeText": { + "message": "fechar", + "description": "The close text for footer" + }, + "theme.SearchModal.footer.closeKeyAriaLabel": { + "message": "Tecla Esc", + "description": "The ARIA label for close key in footer" + }, + "theme.SearchModal.footer.searchByText": { + "message": "Esta pesquisa utiliza", + "description": "The 'Powered by' text for footer" + }, + "theme.SearchModal.footer.backToSearchText": { + "message": "Voltar para pesquisa", + "description": "The back to search text for footer" + }, + "theme.SearchModal.noResultsScreen.noResultsText": { + "message": "Nenhum resultado para", + "description": "The text when there are no results" + }, + "theme.SearchModal.noResultsScreen.suggestedQueryText": { + "message": "Tente procurar por", + "description": "The text for suggested query" + }, + "theme.SearchModal.noResultsScreen.reportMissingResultsText": { + "message": "Você acha que esta pesquisa deveria retornar resultados?", + "description": "The text for reporting missing results" + }, + "theme.SearchModal.noResultsScreen.reportMissingResultsLinkText": { + "message": "Nos avise.", + "description": "The link text for reporting missing results" + }, + "theme.SearchModal.placeholder": { + "message": "Procurar documentos", + "description": "The placeholder of the input of the DocSearch pop-up modal" + }, + "theme.blog.post.plurals": { + "message": "Uma publicação|{count} publicações", + "description": "Pluralized label for \"{count} posts\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)" + }, + "theme.blog.tagTitle": { + "message": "{nPosts} com a etiqueta \"{tagName}\"", + "description": "The title of the page for a blog tag" + }, + "theme.blog.author.pageTitle": { + "message": "{authorName} - {nPosts}", + "description": "The title of the page for a blog author" + }, + "theme.blog.authorsList.pageTitle": { + "message": "Autores", + "description": "The title of the authors page" + }, + "theme.blog.authorsList.viewAll": { + "message": "Ver todos os autores", + "description": "The label of the link targeting the blog authors page" + }, + "theme.blog.author.noPosts": { + "message": "Este autor ainda não escreveu nenhuma publicação.", + "description": "The text for authors with 0 blog post" + }, + "theme.contentVisibility.unlistedBanner.title": { + "message": "Página não listada", + "description": "The unlisted content banner title" + }, + "theme.contentVisibility.unlistedBanner.message": { + "message": "Esta página não está listada. Mecanismos de busca não irão indexá-la, e somente usuários que possuam o link direto poderão acessá-la", + "description": "The unlisted content banner message" + }, + "theme.contentVisibility.draftBanner.title": { + "message": "Página de rascunho", + "description": "The draft content banner title" + }, + "theme.contentVisibility.draftBanner.message": { + "message": "Esta página é um rascunho. Ela estará visível apenas no desenvolvimento e será excluída da compilação de produção.", + "description": "The draft content banner message" + }, + "theme.docs.DocCard.categoryDescription.plurals": { + "message": "1 item|{count} itens", + "description": "The default description for a category card in the generated index about how many items this category includes" + }, + "theme.ErrorPageContent.tryAgain": { + "message": "Tentar novamente", + "description": "The label of the button to try again rendering when the React error boundary captures an error" + }, + "theme.common.skipToMainContent": { + "message": "Pular para o conteúdo principal", + "description": "The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation" + }, "theme.docs.sidebar.filterPlaceholder": { "message": "Filtrar documentação", "description": "Placeholder for the docs sidebar filter input" diff --git a/frontend/i18n/pt-BR/docusaurus-plugin-content-blog/options.json b/frontend/i18n/pt-BR/docusaurus-plugin-content-blog/options.json new file mode 100644 index 000000000000..8e00984e609c --- /dev/null +++ b/frontend/i18n/pt-BR/docusaurus-plugin-content-blog/options.json @@ -0,0 +1,14 @@ +{ + "title": { + "message": "Blog", + "description": "The title for the blog used in SEO" + }, + "description": { + "message": "Blog", + "description": "The description for the blog used in SEO" + }, + "sidebar.title": { + "message": "Publicações recentes", + "description": "The label for the left sidebar" + } +} diff --git a/frontend/i18n/pt-BR/docusaurus-plugin-content-docs/current.json b/frontend/i18n/pt-BR/docusaurus-plugin-content-docs/current.json index 770da713d569..188bbe68ab48 100644 --- a/frontend/i18n/pt-BR/docusaurus-plugin-content-docs/current.json +++ b/frontend/i18n/pt-BR/docusaurus-plugin-content-docs/current.json @@ -28,5 +28,9 @@ }, "sidebar.docsSidebar.category.Meta": { "message": "Meta" + }, + "version.label": { + "message": "Próxima", + "description": "The label for version current" } } diff --git a/frontend/i18n/pt-BR/docusaurus-theme-classic/footer.json b/frontend/i18n/pt-BR/docusaurus-theme-classic/footer.json index d46b48ec66d0..055a9b85e086 100644 --- a/frontend/i18n/pt-BR/docusaurus-theme-classic/footer.json +++ b/frontend/i18n/pt-BR/docusaurus-theme-classic/footer.json @@ -1,7 +1,7 @@ { - "link.title.Documentations": { + "link.title.Documentation": { "message": "Documentação", - "description": "The title of the footer links column with title=Documentations in the footer" + "description": "The title of the footer links column with title=Documentation in the footer" }, "link.title.Community": { "message": "Comunidade", @@ -62,5 +62,21 @@ "link.item.label.SA-MP": { "message": "SA-MP", "description": "The label of footer link with label=SA-MP linking to https://sa-mp.mp/" + }, + "link.item.label.Download Launcher": { + "message": "Baixar Launcher", + "description": "The label of footer link with label=Download Launcher linking to /downloads/launcher" + }, + "link.item.label.Download Server": { + "message": "Baixar Servidor", + "description": "The label of footer link with label=Download Server linking to /downloads/server" + }, + "copyright": { + "message": "Copyright © 2026 open.mp. Feito com Docusaurus.", + "description": "The footer copyright" + }, + "logo.alt": { + "message": "open.mp", + "description": "The alt text of footer logo" } } diff --git a/frontend/i18n/pt-BR/docusaurus-theme-classic/navbar.json b/frontend/i18n/pt-BR/docusaurus-theme-classic/navbar.json index 7d723a5d6067..3e16595718b3 100644 --- a/frontend/i18n/pt-BR/docusaurus-theme-classic/navbar.json +++ b/frontend/i18n/pt-BR/docusaurus-theme-classic/navbar.json @@ -26,5 +26,13 @@ "item.label.Donate": { "message": "Doar", "description": "Navbar item with label Donate" + }, + "logo.alt": { + "message": "Logo do open.mp", + "description": "The alt text of navbar logo" + }, + "item.label.Donate to us": { + "message": "Faça uma doação", + "description": "Navbar item with label Donate to us" } } diff --git a/frontend/i18n/th/code.json b/frontend/i18n/th/code.json index bb8cc7e93ea1..df3207a8da3a 100644 --- a/frontend/i18n/th/code.json +++ b/frontend/i18n/th/code.json @@ -406,6 +406,808 @@ "navbar.item.Donate": { "message": "บริจาค" }, + "serverInfo.copied": { + "message": "คัดลอกแล้ว", + "description": "Copied server address state" + }, + "serverInfo.copy": { + "message": "คัดลอก", + "description": "Copy server address state" + }, + "serverInfo.gameMode": { + "message": "โหมดเกม", + "description": "Game mode label" + }, + "toast.close": { + "message": "ปิดการแจ้งเตือน", + "description": "Accessible label for closing a toast notification" + }, + "animations.layoutTitle": { + "message": "แอนิเมชัน", + "description": "Animations page browser title" + }, + "animations.layoutDescription": { + "message": "ตัวดูแอนิเมชัน open.mp (SA-MP) แบบอินเทอร์แอคทีฟพร้อมวิดีโอตัวอย่าง", + "description": "Animations page meta description" + }, + "animations.videoUnavailable": { + "message": "ไม่มีวิดีโอ", + "description": "Fallback message when an animation video fails to load" + }, + "animations.code.forPlayers": { + "message": "// สำหรับผู้เล่น", + "description": "Comment in animation usage example for player animations" + }, + "animations.code.forActors": { + "message": "// สำหรับแอคเตอร์", + "description": "Comment in animation usage example for actor animations" + }, + "homepage.layoutDescription": { + "message": "ม็อดหลายผู้เล่นสำหรับ Grand Theft Auto: San Andreas ที่รองรับการทำงานย้อนหลังได้เต็มที่กับ San Andreas Multiplayer", + "description": "Homepage meta description" + }, + "partners.note.dismissAria": { + "message": "ปิดหมายเหตุเกี่ยวกับพันธมิตร", + "description": "Accessible label for dismissing the partner note" + }, + "partners.page.title": { + "message": "เซิร์ฟเวอร์พันธมิตร", + "description": "Partner servers page title" + }, + "partners.page.description": { + "message": "รายชื่อเซิร์ฟเวอร์ San Andreas ที่ใช้ open.mp หรือ SA-MP", + "description": "Partner servers page description" + }, + "uid.toast.copiedTitle": { + "message": "คัดลอกแล้ว", + "description": "UID copy success toast title" + }, + "uid.toast.copiedMessage": { + "message": "คัดลอกมาโคร UID ไปยังคลิปบอร์ดแล้ว", + "description": "UID copy success toast message" + }, + "uid.page.title": { + "message": "ตัวสร้าง UID", + "description": "UID generator page title" + }, + "uid.page.description": { + "message": "สร้าง UID สำหรับใช้เป็นตัวระบุเฉพาะของ IComponent หรือ IExtension", + "description": "UID generator page description" + }, + "launcherSim.join.connect": { + "message": "เชื่อมต่อ", + "description": "Launcher connect button" + }, + "launcherSim.join.bannerText": { + "message": "เซิร์ฟเวอร์ของคุณ", + "description": "Sample server banner text" + }, + "launcherSim.join.server": { + "message": "เซิร์ฟเวอร์", + "description": "Launcher preview join dialog" + }, + "launcherSim.join.address": { + "message": "ที่อยู่", + "description": "Launcher preview join dialog" + }, + "launcherSim.column.players": { + "message": "ผู้เล่น", + "description": "Launcher preview column" + }, + "launcherSim.join.nickname": { + "message": "ชื่อเล่น", + "description": "Launcher join dialog nickname label" + }, + "launcherSim.join.version": { + "message": "เวอร์ชัน SA-MP", + "description": "Launcher join dialog SA-MP version label" + }, + "launcherSim.tab.favorites": { + "message": "รายการโปรด", + "description": "Launcher preview tab" + }, + "launcherSim.tab.internet": { + "message": "อินเทอร์เน็ต", + "description": "Launcher preview tab" + }, + "launcherSim.tab.partners": { + "message": "พันธมิตร", + "description": "Launcher preview tab" + }, + "launcherSim.tab.recent": { + "message": "เข้าร่วมล่าสุด", + "description": "Launcher preview tab" + }, + "launcherSim.nicknamePlaceholder": { + "message": "ชื่อเล่น...", + "description": "Launcher preview nickname placeholder" + }, + "launcherSim.searchPlaceholder": { + "message": "ค้นหาชื่อโฮสต์/โหมดของเซิร์ฟเวอร์", + "description": "Launcher preview search placeholder" + }, + "launcherSim.column.name": { + "message": "ชื่อ", + "description": "Launcher preview column" + }, + "launcherSim.column.ping": { + "message": "ปิง", + "description": "Launcher preview column" + }, + "launcherSim.column.mode": { + "message": "โหมด", + "description": "Launcher preview column" + }, + "launcherSim.menu.connect": { + "message": "เชื่อมต่อ", + "description": "Launcher preview: context menu" + }, + "launcherSim.addToFavorites": { + "message": "เพิ่มในรายการโปรด", + "description": "Launcher preview button" + }, + "launcherSim.menu.copy": { + "message": "คัดลอกข้อมูลเซิร์ฟเวอร์", + "description": "Launcher preview: context menu" + }, + "launcherSim.column.rule": { + "message": "กฎ", + "description": "Launcher preview column" + }, + "launcherSim.column.value": { + "message": "ค่า", + "description": "Launcher preview column" + }, + "launcherSim.filter.title": { + "message": "ตัวกรอง:", + "description": "Launcher preview: filter panel" + }, + "launcherSim.filter.omp": { + "message": "เฉพาะเซิร์ฟเวอร์ open.mp", + "description": "Launcher preview: filter panel" + }, + "launcherSim.filter.nonEmpty": { + "message": "เซิร์ฟเวอร์ที่มีผู้เล่น", + "description": "Launcher preview: filter panel" + }, + "launcherSim.filter.unpassworded": { + "message": "เซิร์ฟเวอร์ที่ไม่มีรหัสผ่าน", + "description": "Launcher preview: filter panel" + }, + "launcherSim.filter.language": { + "message": "ภาษา:", + "description": "Launcher preview: filter panel" + }, + "launcherSim.notification.favorited": { + "message": "เพิ่มในรายการโปรดแล้ว!", + "description": "Launcher preview: notification" + }, + "launcherSim.ariaLabel": { + "message": "ตัวเรียกใช้ open.mp ที่แสดงรายชื่อเซิร์ฟเวอร์ตัวอย่าง", + "description": "Accessible label for the launcher picture" + }, + "launcherSim.column.player": { + "message": "ผู้เล่น", + "description": "Launcher preview column" + }, + "launcherSim.column.score": { + "message": "คะแนน", + "description": "Launcher preview column" + }, + "launcherSim.copy": { + "message": "คัดลอก", + "description": "Launcher preview: copy address" + }, + "servers.add.successMessage": { + "message": "เพิ่ม {serverName} ในรายการรอดำเนินการแล้ว หากยังไม่ปรากฏภายใน 48 ชั่วโมง คุณสามารถติดต่อเราได้ทาง Discord!", + "description": "Toast message shown after submitting a server to the pending list" + }, + "servers.add.successTitle": { + "message": "ส่งเซิร์ฟเวอร์แล้ว!", + "description": "Toast title shown after a server submission succeeds" + }, + "servers.add.failureMessage": { + "message": "สถานะ {status}: {error}", + "description": "Toast message shown after a server submission fails" + }, + "servers.add.failureTitle": { + "message": "ส่งไม่สำเร็จ!", + "description": "Toast title shown after a server submission fails" + }, + "servers.add.errorMessage": { + "message": "เกิดข้อผิดพลาดขณะส่งเซิร์ฟเวอร์", + "description": "Toast message shown after an unexpected server submission error" + }, + "servers.add.errorTitle": { + "message": "ข้อผิดพลาด", + "description": "Generic toast error title" + }, + "servers.add.addressPlaceholder": { + "message": "play.example.com:7777", + "description": "Add server address input placeholder" + }, + "servers.pages.label": { + "message": "หน้ารายชื่อเซิร์ฟเวอร์", + "description": "Accessible label for the server list pagination" + }, + "servers.pages.previous": { + "message": "หน้าก่อนหน้า", + "description": "Server list previous page button" + }, + "servers.pages.next": { + "message": "หน้าถัดไป", + "description": "Server list next page button" + }, + "servers.sort.name": { + "message": "ชื่อ", + "description": "Sort by server name" + }, + "servers.sort.mode": { + "message": "โหมด", + "description": "Sort by game mode" + }, + "servers.sort.language": { + "message": "ภาษา", + "description": "Sort by language" + }, + "servers.language.all": { + "message": "ทุกภาษา", + "description": "All languages filter option" + }, + "servers.add.closeModal": { + "message": "ปิดหน้าต่างเพิ่มเซิร์ฟเวอร์", + "description": "Accessible label for closing the add server modal" + }, + "npcCallbacksNote.message": { + "message": "คอลแบ็กนี้สามารถถูกเรียกโดย NPC ได้เช่นกัน", + "description": "Note shown on callback docs pages when NPCs can also call the callback" + }, + "versionWarn.name.function": { + "message": "ฟังก์ชัน", + "description": "Default item name in a version warning" + }, + "versionWarn.name.callback": { + "message": "คอลแบ็ก", + "description": "Callback item name in a version warning" + }, + "versionWarn.message": { + "message": "{name}นี้ถูกเพิ่มใน {version} และจะไม่ทำงานในเวอร์ชันก่อนหน้า!", + "description": "Warning shown on scripting docs pages for APIs added in a specific server version" + }, + "carousel.previous": { + "message": "ก่อนหน้า", + "description": "Carousel previous button" + }, + "carousel.next": { + "message": "ถัดไป", + "description": "Carousel next button" + }, + "downloads.launcher.layoutDescription": { + "message": "ดาวน์โหลดตัวเรียกใช้ open.mp เวอร์ชันต่าง ๆ", + "description": "Launcher downloads page meta description" + }, + "downloads.server.layoutDescription": { + "message": "ดาวน์โหลดเซิร์ฟเวอร์ open.mp เวอร์ชันต่าง ๆ", + "description": "Server downloads page meta description" + }, + "servers.page.title": { + "message": "เซิร์ฟเวอร์", + "description": "Servers page title" + }, + "servers.page.description": { + "message": "รายชื่อเซิร์ฟเวอร์ San Andreas ที่ใช้ open.mp และ SA-MP", + "description": "Servers page description" + }, + "downloads.release.githubTitle": { + "message": "ดูเวอร์ชันนี้บน GitHub", + "description": "Title attribute for the GitHub release link" + }, + "notFound.title": { + "message": "ไม่พบหน้าที่ต้องการ", + "description": "404 page title" + }, + "notFound.imageAlt": { + "message": "ภาพหน้าจอภารกิจรถไฟใน GTA", + "description": "Alt text for the 404 page image" + }, + "notFound.home": { + "message": "หน้าแรก", + "description": "404 page home button" + }, + "notFound.docs": { + "message": "เอกสารประกอบ", + "description": "404 page documentation button" + }, + "notFound.servers": { + "message": "เซิร์ฟเวอร์", + "description": "404 page servers button" + }, + "theme.blog.post.paginator.navAriaLabel": { + "message": "การนำทางหน้าโพสต์บล็อก", + "description": "The ARIA label for the blog posts pagination" + }, + "theme.blog.post.paginator.newerPost": { + "message": "โพสต์ใหม่กว่า", + "description": "The blog post button label to navigate to the newer/previous post" + }, + "theme.blog.post.paginator.olderPost": { + "message": "โพสต์เก่ากว่า", + "description": "The blog post button label to navigate to the older/next post" + }, + "theme.tags.tagsPageLink": { + "message": "ดูแท็กทั้งหมด", + "description": "The label of the link targeting the tag list page" + }, + "theme.colorToggle.ariaLabel.mode.system": { + "message": "โหมดตามระบบ", + "description": "The name for the system color mode" + }, + "theme.colorToggle.ariaLabel.mode.light": { + "message": "โหมดสว่าง", + "description": "The name for the light color mode" + }, + "theme.colorToggle.ariaLabel.mode.dark": { + "message": "โหมดมืด", + "description": "The name for the dark color mode" + }, + "theme.colorToggle.ariaLabel": { + "message": "สลับระหว่างโหมดมืดและโหมดสว่าง (ปัจจุบัน: {mode})", + "description": "The ARIA label for the color mode toggle" + }, + "theme.docs.breadcrumbs.navAriaLabel": { + "message": "เส้นทางนำทาง", + "description": "The ARIA label for the breadcrumbs" + }, + "theme.docs.paginator.navAriaLabel": { + "message": "หน้าเอกสาร", + "description": "The ARIA label for the docs pagination" + }, + "theme.docs.paginator.previous": { + "message": "ก่อนหน้า", + "description": "The label used to navigate to the previous doc" + }, + "theme.docs.paginator.next": { + "message": "ถัดไป", + "description": "The label used to navigate to the next doc" + }, + "theme.docs.tagDocListPageTitle": { + "message": "{nDocsTagged} \"{tagName}\"", + "description": "The title of the page for a docs tag" + }, + "theme.docs.versionBadge.label": { + "message": "เวอร์ชัน: {versionLabel}" + }, + "theme.docs.versions.unreleasedVersionLabel": { + "message": "นี่คือเอกสารที่ยังไม่เผยแพร่ของ {siteTitle} เวอร์ชัน {versionLabel}", + "description": "The label used to tell the user that he's browsing an unreleased doc version" + }, + "theme.docs.versions.unmaintainedVersionLabel": { + "message": "นี่คือเอกสารของ {siteTitle} {versionLabel} ซึ่งไม่ได้รับการดูแลอย่างต่อเนื่องแล้ว", + "description": "The label used to tell the user that he's browsing an unmaintained doc version" + }, + "theme.docs.versions.latestVersionSuggestionLabel": { + "message": "สำหรับเอกสารที่เป็นปัจจุบัน โปรดดู{latestVersionLink} ({versionLabel})", + "description": "The label used to tell the user to check the latest version" + }, + "theme.docs.versions.latestVersionLinkLabel": { + "message": "เวอร์ชันล่าสุด", + "description": "The label used for the latest version suggestion link label" + }, + "theme.common.editThisPage": { + "message": "แก้ไขหน้านี้", + "description": "The link label to edit the current page" + }, + "theme.common.headingLinkTitle": { + "message": "ลิงก์ตรงไปยัง {heading}", + "description": "Title for link to heading" + }, + "theme.lastUpdated.atDate": { + "message": " เมื่อ {date}", + "description": "The words used to describe on which date a page has been last updated" + }, + "theme.lastUpdated.byUser": { + "message": " โดย {user}", + "description": "The words used to describe by who the page has been last updated" + }, + "theme.lastUpdated.lastUpdatedAtBy": { + "message": "อัปเดตล่าสุด{atDate}{byUser}", + "description": "The sentence used to display when a page has been last updated, and by who" + }, + "theme.navbar.mobileVersionsDropdown.label": { + "message": "เวอร์ชัน", + "description": "The label for the navbar versions dropdown on mobile view" + }, + "theme.tags.tagsListLabel": { + "message": "แท็ก:", + "description": "The label alongside a tag list" + }, + "theme.admonition.warning": { + "message": "คำเตือน", + "description": "The default label used for the Warning admonition (:::warning)" + }, + "theme.AnnouncementBar.closeButtonAriaLabel": { + "message": "ปิด", + "description": "The ARIA label for close button of announcement bar" + }, + "theme.blog.sidebar.navAriaLabel": { + "message": "การนำทางโพสต์บล็อกล่าสุด", + "description": "The ARIA label for recent posts in the blog sidebar" + }, + "theme.DocSidebarItem.expandCategoryAriaLabel": { + "message": "ขยายหมวดหมู่ '{label}' ในแถบด้านข้าง", + "description": "The ARIA label to expand the sidebar category" + }, + "theme.DocSidebarItem.collapseCategoryAriaLabel": { + "message": "ยุบหมวดหมู่ '{label}' ในแถบด้านข้าง", + "description": "The ARIA label to collapse the sidebar category" + }, + "theme.IconExternalLink.ariaLabel": { + "message": "(เปิดในแท็บใหม่)", + "description": "The ARIA label for the external link icon" + }, + "theme.NavBar.navAriaLabel": { + "message": "หลัก", + "description": "The ARIA label for the main navigation" + }, + "theme.navbar.mobileLanguageDropdown.label": { + "message": "ภาษา", + "description": "The label for the mobile language switcher dropdown" + }, + "theme.TOCCollapsible.toggleButtonLabel": { + "message": "ในหน้านี้", + "description": "The label used by the button on the collapsible TOC component" + }, + "theme.blog.post.readMore": { + "message": "อ่านเพิ่มเติม", + "description": "The label used in blog post item excerpts to link to full blog posts" + }, + "theme.blog.post.readMoreLabel": { + "message": "อ่านเพิ่มเติมเกี่ยวกับ {title}", + "description": "The ARIA label for the link to full blog posts from excerpts" + }, + "theme.CodeBlock.copy": { + "message": "คัดลอก", + "description": "The copy button label on code blocks" + }, + "theme.CodeBlock.copied": { + "message": "คัดลอกแล้ว", + "description": "The copied button label on code blocks" + }, + "theme.CodeBlock.copyButtonAriaLabel": { + "message": "คัดลอกโค้ดไปยังคลิปบอร์ด", + "description": "The ARIA label for copy code blocks button" + }, + "theme.CodeBlock.wordWrapToggle": { + "message": "สลับการตัดบรรทัด", + "description": "The title attribute for toggle word wrapping button of code block lines" + }, + "theme.docs.breadcrumbs.home": { + "message": "หน้าแรก", + "description": "The ARIA label for the home page in the breadcrumbs" + }, + "theme.docs.sidebar.collapseButtonTitle": { + "message": "ยุบแถบด้านข้าง", + "description": "The title attribute for collapse button of doc sidebar" + }, + "theme.docs.sidebar.collapseButtonAriaLabel": { + "message": "ยุบแถบด้านข้าง", + "description": "The title attribute for collapse button of doc sidebar" + }, + "theme.docs.sidebar.navAriaLabel": { + "message": "แถบด้านข้างเอกสาร", + "description": "The ARIA label for the sidebar navigation" + }, + "theme.docs.sidebar.closeSidebarButtonAriaLabel": { + "message": "ปิดแถบนำทาง", + "description": "The ARIA label for close button of mobile sidebar" + }, + "theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel": { + "message": "← กลับไปที่เมนูหลัก", + "description": "The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)" + }, + "theme.docs.sidebar.toggleSidebarButtonAriaLabel": { + "message": "สลับแถบนำทาง", + "description": "The ARIA label for hamburger menu button of mobile navigation" + }, + "theme.navbar.mobileDropdown.collapseButton.expandAriaLabel": { + "message": "ขยายเมนูดรอปดาวน์", + "description": "The ARIA label of the button to expand the mobile dropdown navbar item" + }, + "theme.navbar.mobileDropdown.collapseButton.collapseAriaLabel": { + "message": "ยุบเมนูดรอปดาวน์", + "description": "The ARIA label of the button to collapse the mobile dropdown navbar item" + }, + "theme.docs.sidebar.expandButtonTitle": { + "message": "ขยายแถบด้านข้าง", + "description": "The ARIA label and title attribute for expand button of doc sidebar" + }, + "theme.docs.sidebar.expandButtonAriaLabel": { + "message": "ขยายแถบด้านข้าง", + "description": "The ARIA label and title attribute for expand button of doc sidebar" + }, + "theme.SearchBar.seeAll": { + "message": "ดูผลลัพธ์ทั้งหมด {count} รายการ" + }, + "theme.SearchPage.documentsFound.plurals": { + "message": "พบเอกสาร {count} รายการ|พบเอกสาร {count} รายการ", + "description": "Pluralized label for \"{count} documents found\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)" + }, + "theme.SearchPage.existingResultsTitle": { + "message": "ผลการค้นหาสำหรับ \"{query}\"", + "description": "The search page title for non-empty query" + }, + "theme.SearchPage.emptyResultsTitle": { + "message": "ค้นหาในเอกสาร", + "description": "The search page title for empty query" + }, + "theme.SearchPage.inputPlaceholder": { + "message": "พิมพ์คำค้นหาที่นี่", + "description": "The placeholder for search page input" + }, + "theme.SearchPage.inputLabel": { + "message": "ค้นหา", + "description": "The ARIA label for search page input" + }, + "theme.SearchPage.algoliaLabel": { + "message": "ขับเคลื่อนโดย Algolia", + "description": "The description label for Algolia mention" + }, + "theme.SearchPage.noResultsText": { + "message": "ไม่พบผลลัพธ์", + "description": "The paragraph for empty search result" + }, + "theme.SearchPage.fetchingNewResults": { + "message": "กำลังโหลดผลลัพธ์ใหม่...", + "description": "The paragraph for fetching new search results" + }, + "theme.SearchBar.label": { + "message": "ค้นหา", + "description": "The ARIA label and placeholder for search button" + }, + "theme.SearchModal.searchBox.resetButtonTitle": { + "message": "ล้างคำค้นหา", + "description": "The label and ARIA label for search box reset button" + }, + "theme.SearchModal.searchBox.cancelButtonText": { + "message": "ยกเลิก", + "description": "The label and ARIA label for search box cancel button" + }, + "theme.SearchModal.searchBox.placeholderText": { + "message": "ค้นหาเอกสาร", + "description": "The placeholder text for the main search input field" + }, + "theme.SearchModal.searchBox.placeholderTextAskAi": { + "message": "ถามคำถามอื่น...", + "description": "The placeholder text when in AI question mode" + }, + "theme.SearchModal.searchBox.placeholderTextAskAiStreaming": { + "message": "กำลังตอบ...", + "description": "The placeholder text for search box when AI is streaming an answer" + }, + "theme.SearchModal.searchBox.enterKeyHint": { + "message": "ค้นหา", + "description": "The hint for the search box enter key text" + }, + "theme.SearchModal.searchBox.enterKeyHintAskAi": { + "message": "ส่ง", + "description": "The hint for the Ask AI search box enter key text" + }, + "theme.SearchModal.searchBox.searchInputLabel": { + "message": "ค้นหา", + "description": "The ARIA label for search input" + }, + "theme.SearchModal.searchBox.backToKeywordSearchButtonText": { + "message": "กลับไปที่การค้นหาด้วยคีย์เวิร์ด", + "description": "The text for back to keyword search button" + }, + "theme.SearchModal.searchBox.backToKeywordSearchButtonAriaLabel": { + "message": "กลับไปที่การค้นหาด้วยคีย์เวิร์ด", + "description": "The ARIA label for back to keyword search button" + }, + "theme.SearchModal.startScreen.recentSearchesTitle": { + "message": "ล่าสุด", + "description": "The title for recent searches" + }, + "theme.SearchModal.startScreen.noRecentSearchesText": { + "message": "ไม่มีการค้นหาล่าสุด", + "description": "The text when there are no recent searches" + }, + "theme.SearchModal.startScreen.saveRecentSearchButtonTitle": { + "message": "บันทึกการค้นหานี้", + "description": "The title for save recent search button" + }, + "theme.SearchModal.startScreen.removeRecentSearchButtonTitle": { + "message": "ลบการค้นหานี้ออกจากประวัติ", + "description": "The title for remove recent search button" + }, + "theme.SearchModal.startScreen.favoriteSearchesTitle": { + "message": "รายการโปรด", + "description": "The title for favorite searches" + }, + "theme.SearchModal.startScreen.removeFavoriteSearchButtonTitle": { + "message": "ลบการค้นหานี้ออกจากรายการโปรด", + "description": "The title for remove favorite search button" + }, + "theme.SearchModal.startScreen.recentConversationsTitle": { + "message": "บทสนทนาล่าสุด", + "description": "The title for recent conversations" + }, + "theme.SearchModal.startScreen.removeRecentConversationButtonTitle": { + "message": "ลบบทสนทนานี้ออกจากประวัติ", + "description": "The title for remove recent conversation button" + }, + "theme.SearchModal.errorScreen.titleText": { + "message": "ไม่สามารถโหลดผลลัพธ์ได้", + "description": "The title for error screen" + }, + "theme.SearchModal.errorScreen.helpText": { + "message": "คุณอาจต้องตรวจสอบการเชื่อมต่อเครือข่ายของคุณ", + "description": "The help text for error screen" + }, + "theme.SearchModal.resultsScreen.askAiPlaceholder": { + "message": "ถาม AI: ", + "description": "The placeholder text for Ask AI input" + }, + "theme.SearchModal.askAiScreen.disclaimerText": { + "message": "คำตอบสร้างขึ้นโดย AI ซึ่งอาจผิดพลาดได้ โปรดตรวจสอบคำตอบ", + "description": "The disclaimer text for AI answers" + }, + "theme.SearchModal.askAiScreen.relatedSourcesText": { + "message": "แหล่งข้อมูลที่เกี่ยวข้อง", + "description": "The text for related sources" + }, + "theme.SearchModal.askAiScreen.thinkingText": { + "message": "กำลังคิด...", + "description": "The text when AI is thinking" + }, + "theme.SearchModal.askAiScreen.copyButtonText": { + "message": "คัดลอก", + "description": "The text for copy button" + }, + "theme.SearchModal.askAiScreen.copyButtonCopiedText": { + "message": "คัดลอกแล้ว!", + "description": "The text for copy button when copied" + }, + "theme.SearchModal.askAiScreen.copyButtonTitle": { + "message": "คัดลอก", + "description": "The title for copy button" + }, + "theme.SearchModal.askAiScreen.likeButtonTitle": { + "message": "ถูกใจ", + "description": "The title for like button" + }, + "theme.SearchModal.askAiScreen.dislikeButtonTitle": { + "message": "ไม่ถูกใจ", + "description": "The title for dislike button" + }, + "theme.SearchModal.askAiScreen.thanksForFeedbackText": { + "message": "ขอบคุณสำหรับความคิดเห็นของคุณ!", + "description": "The text for thanks for feedback" + }, + "theme.SearchModal.askAiScreen.preToolCallText": { + "message": "กำลังค้นหา...", + "description": "The text before tool call" + }, + "theme.SearchModal.askAiScreen.duringToolCallText": { + "message": "กำลังค้นหา ", + "description": "The text during tool call" + }, + "theme.SearchModal.askAiScreen.afterToolCallText": { + "message": "ค้นหาแล้ว", + "description": "The text after tool call" + }, + "theme.SearchModal.footer.selectText": { + "message": "เลือก", + "description": "The select text for footer" + }, + "theme.SearchModal.footer.submitQuestionText": { + "message": "ส่งคำถาม", + "description": "The submit question text for footer" + }, + "theme.SearchModal.footer.selectKeyAriaLabel": { + "message": "ปุ่ม Enter", + "description": "The ARIA label for select key in footer" + }, + "theme.SearchModal.footer.navigateText": { + "message": "เลื่อน", + "description": "The navigate text for footer" + }, + "theme.SearchModal.footer.navigateUpKeyAriaLabel": { + "message": "ลูกศรขึ้น", + "description": "The ARIA label for navigate up key in footer" + }, + "theme.SearchModal.footer.navigateDownKeyAriaLabel": { + "message": "ลูกศรลง", + "description": "The ARIA label for navigate down key in footer" + }, + "theme.SearchModal.footer.closeText": { + "message": "ปิด", + "description": "The close text for footer" + }, + "theme.SearchModal.footer.closeKeyAriaLabel": { + "message": "ปุ่ม Escape", + "description": "The ARIA label for close key in footer" + }, + "theme.SearchModal.footer.searchByText": { + "message": "ขับเคลื่อนโดย", + "description": "The 'Powered by' text for footer" + }, + "theme.SearchModal.footer.backToSearchText": { + "message": "กลับไปที่การค้นหา", + "description": "The back to search text for footer" + }, + "theme.SearchModal.noResultsScreen.noResultsText": { + "message": "ไม่พบผลลัพธ์สำหรับ", + "description": "The text when there are no results" + }, + "theme.SearchModal.noResultsScreen.suggestedQueryText": { + "message": "ลองค้นหา", + "description": "The text for suggested query" + }, + "theme.SearchModal.noResultsScreen.reportMissingResultsText": { + "message": "คิดว่าคำค้นหานี้ควรมีผลลัพธ์ใช่ไหม?", + "description": "The text for reporting missing results" + }, + "theme.SearchModal.noResultsScreen.reportMissingResultsLinkText": { + "message": "แจ้งให้เราทราบ", + "description": "The link text for reporting missing results" + }, + "theme.SearchModal.placeholder": { + "message": "ค้นหาเอกสาร", + "description": "The placeholder of the input of the DocSearch pop-up modal" + }, + "theme.blog.post.plurals": { + "message": "{count} โพสต์|{count} โพสต์", + "description": "Pluralized label for \"{count} posts\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)" + }, + "theme.blog.tagTitle": { + "message": "{nPosts} ที่มีแท็ก \"{tagName}\"", + "description": "The title of the page for a blog tag" + }, + "theme.blog.author.pageTitle": { + "message": "{authorName} - {nPosts}", + "description": "The title of the page for a blog author" + }, + "theme.blog.authorsList.pageTitle": { + "message": "ผู้เขียน", + "description": "The title of the authors page" + }, + "theme.blog.authorsList.viewAll": { + "message": "ดูผู้เขียนทั้งหมด", + "description": "The label of the link targeting the blog authors page" + }, + "theme.blog.author.noPosts": { + "message": "ผู้เขียนคนนี้ยังไม่ได้เขียนโพสต์ใด ๆ", + "description": "The text for authors with 0 blog post" + }, + "theme.contentVisibility.unlistedBanner.title": { + "message": "หน้าที่ไม่แสดงในรายการ", + "description": "The unlisted content banner title" + }, + "theme.contentVisibility.unlistedBanner.message": { + "message": "หน้านี้ไม่แสดงในรายการ เครื่องมือค้นหาจะไม่จัดทำดัชนี และเฉพาะผู้ที่มีลิงก์โดยตรงเท่านั้นที่เข้าถึงได้", + "description": "The unlisted content banner message" + }, + "theme.contentVisibility.draftBanner.title": { + "message": "หน้าฉบับร่าง", + "description": "The draft content banner title" + }, + "theme.contentVisibility.draftBanner.message": { + "message": "หน้านี้เป็นฉบับร่าง จะแสดงเฉพาะในโหมดพัฒนาและจะไม่ถูกรวมในบิลด์สำหรับใช้งานจริง", + "description": "The draft content banner message" + }, + "theme.docs.DocCard.categoryDescription.plurals": { + "message": "{count} รายการ|{count} รายการ", + "description": "The default description for a category card in the generated index about how many items this category includes" + }, + "theme.ErrorPageContent.tryAgain": { + "message": "ลองอีกครั้ง", + "description": "The label of the button to try again rendering when the React error boundary captures an error" + }, + "theme.common.skipToMainContent": { + "message": "ข้ามไปยังเนื้อหาหลัก", + "description": "The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation" + }, "theme.docs.sidebar.filterPlaceholder": { "message": "กรองเอกสาร", "description": "Placeholder for the docs sidebar filter input" diff --git a/frontend/i18n/th/docusaurus-plugin-content-blog/options.json b/frontend/i18n/th/docusaurus-plugin-content-blog/options.json new file mode 100644 index 000000000000..882eef6fd8f4 --- /dev/null +++ b/frontend/i18n/th/docusaurus-plugin-content-blog/options.json @@ -0,0 +1,14 @@ +{ + "title": { + "message": "บล็อก", + "description": "The title for the blog used in SEO" + }, + "description": { + "message": "บล็อก", + "description": "The description for the blog used in SEO" + }, + "sidebar.title": { + "message": "โพสต์ล่าสุด", + "description": "The label for the left sidebar" + } +} diff --git a/frontend/i18n/th/docusaurus-plugin-content-docs/current.json b/frontend/i18n/th/docusaurus-plugin-content-docs/current.json index 150ddbd31ecd..b4a1f728a49e 100644 --- a/frontend/i18n/th/docusaurus-plugin-content-docs/current.json +++ b/frontend/i18n/th/docusaurus-plugin-content-docs/current.json @@ -28,5 +28,9 @@ }, "sidebar.docsSidebar.category.Meta": { "message": "เมตา" + }, + "version.label": { + "message": "ถัดไป", + "description": "The label for version current" } } diff --git a/frontend/i18n/th/docusaurus-theme-classic/footer.json b/frontend/i18n/th/docusaurus-theme-classic/footer.json new file mode 100644 index 000000000000..3c04f2243c9c --- /dev/null +++ b/frontend/i18n/th/docusaurus-theme-classic/footer.json @@ -0,0 +1,82 @@ +{ + "link.title.Documentation": { + "message": "เอกสารประกอบ", + "description": "The title of the footer links column with title=Documentation in the footer" + }, + "link.title.Community": { + "message": "ชุมชน", + "description": "The title of the footer links column with title=Community in the footer" + }, + "link.title.More": { + "message": "เพิ่มเติม", + "description": "The title of the footer links column with title=More in the footer" + }, + "link.item.label.Introduction": { + "message": "บทนำ", + "description": "The label of footer link with label=Introduction linking to docs" + }, + "link.item.label.open.mp Migration": { + "message": "การย้ายมาใช้ open.mp", + "description": "The label of footer link with label=open.mp Migration linking to docs/server/Installation" + }, + "link.item.label.config.json": { + "message": "config.json", + "description": "The label of footer link with label=config.json linking to docs/server/config.json" + }, + "link.item.label.Discord": { + "message": "Discord", + "description": "The label of footer link with label=Discord linking to https://discord.gg/samp" + }, + "link.item.label.GitHub": { + "message": "GitHub", + "description": "The label of footer link with label=GitHub linking to https://github.com/openmultiplayer/open.mp" + }, + "link.item.label.Donate": { + "message": "บริจาค", + "description": "The label of footer link with label=Donate linking to https://opencollective.com/openmultiplayer" + }, + "link.item.label.YouTube": { + "message": "YouTube", + "description": "The label of footer link with label=YouTube linking to https://youtube.com/openmultiplayer" + }, + "link.item.label.X": { + "message": "X", + "description": "The label of footer link with label=X linking to https://x.com/openmultiplayer" + }, + "link.item.label.Download Launcher": { + "message": "ดาวน์โหลดตัวเรียกใช้", + "description": "The label of footer link with label=Download Launcher linking to /downloads/launcher" + }, + "link.item.label.Download Server": { + "message": "ดาวน์โหลดเซิร์ฟเวอร์", + "description": "The label of footer link with label=Download Server linking to /downloads/server" + }, + "link.item.label.Servers": { + "message": "เซิร์ฟเวอร์", + "description": "The label of footer link with label=Servers linking to /servers" + }, + "link.item.label.Blog": { + "message": "บล็อก", + "description": "The label of footer link with label=Blog linking to /blog" + }, + "link.item.label.Animations": { + "message": "แอนิเมชัน", + "description": "The label of footer link with label=Animations linking to /animations" + }, + "link.item.label.UID Generator": { + "message": "ตัวสร้าง UID", + "description": "The label of footer link with label=UID Generator linking to /uid" + }, + "link.item.label.SA-MP": { + "message": "SA-MP", + "description": "The label of footer link with label=SA-MP linking to https://sa-mp.mp/" + }, + "copyright": { + "message": "ลิขสิทธิ์ © 2026 open.mp สร้างด้วย Docusaurus", + "description": "The footer copyright" + }, + "logo.alt": { + "message": "open.mp", + "description": "The alt text of footer logo" + } +} diff --git a/frontend/i18n/th/docusaurus-theme-classic/navbar.json b/frontend/i18n/th/docusaurus-theme-classic/navbar.json new file mode 100644 index 000000000000..4e5d01e60b01 --- /dev/null +++ b/frontend/i18n/th/docusaurus-theme-classic/navbar.json @@ -0,0 +1,34 @@ +{ + "title": { + "message": "Open Multiplayer", + "description": "The title in the navbar" + }, + "logo.alt": { + "message": "โลโก้ open.mp", + "description": "The alt text of navbar logo" + }, + "item.label.Docs": { + "message": "เอกสาร", + "description": "Navbar item with label Docs" + }, + "item.label.Blog": { + "message": "บล็อก", + "description": "Navbar item with label Blog" + }, + "item.label.Forums": { + "message": "ฟอรัม", + "description": "Navbar item with label Forums" + }, + "item.label.Servers": { + "message": "เซิร์ฟเวอร์", + "description": "Navbar item with label Servers" + }, + "item.label.Partners": { + "message": "พันธมิตร", + "description": "Navbar item with label Partners" + }, + "item.label.Donate to us": { + "message": "บริจาคให้เรา", + "description": "Navbar item with label Donate to us" + } +} diff --git a/frontend/i18n/tr/code.json b/frontend/i18n/tr/code.json index b556f2f433df..0742fb47e7be 100644 --- a/frontend/i18n/tr/code.json +++ b/frontend/i18n/tr/code.json @@ -355,6 +355,872 @@ "navbar.item.Donate": { "message": "Bağış Yap" }, + "serverInfo.copied": { + "message": "Kopyalandı", + "description": "Copied server address state" + }, + "serverInfo.copy": { + "message": "Kopyala", + "description": "Copy server address state" + }, + "serverInfo.gameMode": { + "message": "Oyun Modu", + "description": "Game mode label" + }, + "toast.close": { + "message": "Bildirimi kapat", + "description": "Accessible label for closing a toast notification" + }, + "animations.layoutTitle": { + "message": "Animasyonlar", + "description": "Animations page browser title" + }, + "animations.layoutDescription": { + "message": "Video önizlemeli etkileşimli open.mp (SA-MP) animasyon görüntüleyici", + "description": "Animations page meta description" + }, + "animations.videoUnavailable": { + "message": "Video mevcut değil", + "description": "Fallback message when an animation video fails to load" + }, + "animations.code.forPlayers": { + "message": "// Oyuncular için", + "description": "Comment in animation usage example for player animations" + }, + "animations.code.forActors": { + "message": "// Aktörler için", + "description": "Comment in animation usage example for actor animations" + }, + "homepage.layoutDescription": { + "message": "Grand Theft Auto: San Andreas için San Andreas Multiplayer ile tamamen geriye dönük uyumlu bir çok oyunculu mod", + "description": "Homepage meta description" + }, + "partners.note.dismissAria": { + "message": "Ortaklık notunu kapat", + "description": "Accessible label for dismissing the partner note" + }, + "partners.page.title": { + "message": "Partner Sunucular", + "description": "Partner servers page title" + }, + "partners.page.description": { + "message": "open.mp veya SA-MP kullanan San Andreas sunucularının listesi", + "description": "Partner servers page description" + }, + "uid.toast.copiedTitle": { + "message": "Kopyalandı", + "description": "UID copy success toast title" + }, + "uid.toast.copiedMessage": { + "message": "UID makrosu panoya kopyalandı.", + "description": "UID copy success toast message" + }, + "uid.page.title": { + "message": "UID Oluşturucu", + "description": "UID generator page title" + }, + "uid.page.description": { + "message": "IComponent veya IExtension benzersiz tanımlayıcılarında kullanmak için UID oluşturun", + "description": "UID generator page description" + }, + "launcherSim.join.connect": { + "message": "Bağlan", + "description": "Launcher connect button" + }, + "launcherSim.join.bannerText": { + "message": "Sunucunuz", + "description": "Sample server banner text" + }, + "launcherSim.join.server": { + "message": "Sunucu", + "description": "Launcher preview join dialog" + }, + "launcherSim.join.address": { + "message": "Adres", + "description": "Launcher preview join dialog" + }, + "launcherSim.column.players": { + "message": "Oyuncular", + "description": "Launcher preview column" + }, + "launcherSim.join.nickname": { + "message": "Takma Ad", + "description": "Launcher join dialog nickname label" + }, + "launcherSim.join.version": { + "message": "SA-MP Sürümü", + "description": "Launcher join dialog SA-MP version label" + }, + "launcherSim.tab.favorites": { + "message": "Favoriler", + "description": "Launcher preview tab" + }, + "launcherSim.tab.internet": { + "message": "İnternet", + "description": "Launcher preview tab" + }, + "launcherSim.tab.partners": { + "message": "Partnerler", + "description": "Launcher preview tab" + }, + "launcherSim.tab.recent": { + "message": "Son Katılınanlar", + "description": "Launcher preview tab" + }, + "launcherSim.nicknamePlaceholder": { + "message": "Takma ad...", + "description": "Launcher preview nickname placeholder" + }, + "launcherSim.searchPlaceholder": { + "message": "Sunucu adı/modu ara", + "description": "Launcher preview search placeholder" + }, + "launcherSim.column.name": { + "message": "İsim", + "description": "Launcher preview column" + }, + "launcherSim.column.ping": { + "message": "Ping", + "description": "Launcher preview column" + }, + "launcherSim.column.mode": { + "message": "Mod", + "description": "Launcher preview column" + }, + "launcherSim.menu.connect": { + "message": "Bağlan", + "description": "Launcher preview: context menu" + }, + "launcherSim.addToFavorites": { + "message": "Favorilere Ekle", + "description": "Launcher preview button" + }, + "launcherSim.menu.copy": { + "message": "Sunucu Bilgisini Kopyala", + "description": "Launcher preview: context menu" + }, + "launcherSim.column.rule": { + "message": "Kural", + "description": "Launcher preview column" + }, + "launcherSim.column.value": { + "message": "Değer", + "description": "Launcher preview column" + }, + "launcherSim.filter.title": { + "message": "Filtreler:", + "description": "Launcher preview: filter panel" + }, + "launcherSim.filter.omp": { + "message": "Yalnızca open.mp sunucuları", + "description": "Launcher preview: filter panel" + }, + "launcherSim.filter.nonEmpty": { + "message": "Boş Olmayan Sunucular", + "description": "Launcher preview: filter panel" + }, + "launcherSim.filter.unpassworded": { + "message": "Şifresiz Sunucular", + "description": "Launcher preview: filter panel" + }, + "launcherSim.filter.language": { + "message": "Dil:", + "description": "Launcher preview: filter panel" + }, + "launcherSim.notification.favorited": { + "message": "Favorilere Eklendi!", + "description": "Launcher preview: notification" + }, + "launcherSim.ariaLabel": { + "message": "Örnek sunucu listesini gösteren open.mp başlatıcısı", + "description": "Accessible label for the launcher picture" + }, + "launcherSim.column.player": { + "message": "Oyuncu", + "description": "Launcher preview column" + }, + "launcherSim.column.score": { + "message": "Skor", + "description": "Launcher preview column" + }, + "launcherSim.copy": { + "message": "KOPYALA", + "description": "Launcher preview: copy address" + }, + "servers.add.successMessage": { + "message": "{serverName} bekleme listemize eklendi. En fazla 48 saat içinde listede görünmezse bize Discord üzerinden ulaşabilirsiniz!", + "description": "Toast message shown after submitting a server to the pending list" + }, + "servers.add.successTitle": { + "message": "Sunucu Gönderildi!", + "description": "Toast title shown after a server submission succeeds" + }, + "servers.add.failureMessage": { + "message": "Durum {status}: {error}", + "description": "Toast message shown after a server submission fails" + }, + "servers.add.failureTitle": { + "message": "Gönderim başarısız!", + "description": "Toast title shown after a server submission fails" + }, + "servers.add.errorMessage": { + "message": "Sunucu gönderilirken bir hata oluştu", + "description": "Toast message shown after an unexpected server submission error" + }, + "servers.add.errorTitle": { + "message": "Hata", + "description": "Generic toast error title" + }, + "servers.add.addressPlaceholder": { + "message": "play.example.com:7777", + "description": "Add server address input placeholder" + }, + "servers.pages.label": { + "message": "Sunucu listesi sayfaları", + "description": "Accessible label for the server list pagination" + }, + "servers.pages.previous": { + "message": "Önceki sayfa", + "description": "Server list previous page button" + }, + "servers.pages.next": { + "message": "Sonraki sayfa", + "description": "Server list next page button" + }, + "servers.sort.name": { + "message": "İsim", + "description": "Sort by server name" + }, + "servers.sort.mode": { + "message": "Mod", + "description": "Sort by game mode" + }, + "servers.sort.language": { + "message": "Dil", + "description": "Sort by language" + }, + "servers.language.all": { + "message": "Tüm diller", + "description": "All languages filter option" + }, + "servers.add.closeModal": { + "message": "Sunucu ekleme penceresini kapat", + "description": "Accessible label for closing the add server modal" + }, + "npcCallbacksNote.message": { + "message": "Bu callback NPC'ler tarafından da çağrılabilir.", + "description": "Note shown on callback docs pages when NPCs can also call the callback" + }, + "versionWarn.name.function": { + "message": "fonksiyon", + "description": "Default item name in a version warning" + }, + "versionWarn.name.callback": { + "message": "callback", + "description": "Callback item name in a version warning" + }, + "versionWarn.message": { + "message": "Bu {name} {version} sürümünde eklendi ve önceki sürümlerde çalışmaz!", + "description": "Warning shown on scripting docs pages for APIs added in a specific server version" + }, + "carousel.previous": { + "message": "Önceki", + "description": "Carousel previous button" + }, + "carousel.next": { + "message": "Sonraki", + "description": "Carousel next button" + }, + "downloads.latestBadge": { + "message": "EN YENİ", + "description": "Badge for latest release" + }, + "downloads.releaseDate": { + "message": "Yayın tarihi: {date}", + "description": "Release date label" + }, + "downloads.release.highlights": { + "message": "Öne Çıkanlar", + "description": "Release highlights heading" + }, + "downloads.release.viewChangelog": { + "message": "Tüm değişiklik günlüğünü görüntüle", + "description": "Expandable changelog summary" + }, + "downloads.release.viewOnGitHub": { + "message": "Sürümü GitHub'da görüntüle", + "description": "Fallback button per release" + }, + "downloads.release.githubTitle": { + "message": "Sürümü GitHub'da görüntüle", + "description": "Title attribute for the GitHub release link" + }, + "downloads.release.github": { + "message": "GitHub", + "description": "Link to release page on GitHub" + }, + "downloads.release.dynSslNote": { + "message": "* DynSSL sürümü, Linux dağıtımınızda libssl kurulu olmasını gerektirir.", + "description": "Note about DynSSL version requiring libssl" + }, + "downloads.hideOlderReleases": { + "message": "Eski sürümleri gizle", + "description": "Button to hide older releases" + }, + "downloads.showOlderReleases": { + "message": "{count} eski sürümü gör", + "description": "Button to show older releases" + }, + "downloads.opensourceTrust": { + "message": "Her sürüm açık kaynaktır. Kaynaktan derleyin veya doğrudan GitHub'dan indirin.", + "description": "Open source trust message for downloads pages" + }, + "downloads.downloadFromGithub": { + "message": "GitHub'dan İndir", + "description": "Button label to open GitHub releases page" + }, + "downloads.launcher.pageTitle": { + "message": "open.mp Başlatıcı", + "description": "Launcher downloads page title" + }, + "downloads.launcher.layoutDescription": { + "message": "open.mp başlatıcı sürümlerini indirin", + "description": "Launcher downloads page meta description" + }, + "downloads.launcher.pageSubtitle": { + "message": "GTA San Andreas'ı open.mp ve SA-MP sunucularında çok oyunculu oynayın.", + "description": "Launcher downloads page subtitle" + }, + "downloads.server.pageTitle": { + "message": "open.mp Sunucusu", + "description": "Server downloads page title" + }, + "downloads.server.layoutDescription": { + "message": "open.mp sunucu sürümlerini indirin", + "description": "Server downloads page meta description" + }, + "downloads.server.pageSubtitle": { + "message": "Kendi GTA San Andreas çok oyunculu sunucunuzu barındırın.", + "description": "Server downloads page subtitle" + }, + "servers.page.title": { + "message": "Sunucular", + "description": "Servers page title" + }, + "servers.page.description": { + "message": "open.mp ve SA-MP kullanan San Andreas sunucularının listesi", + "description": "Servers page description" + }, + "notFound.title": { + "message": "Sayfa Bulunamadı", + "description": "404 page title" + }, + "notFound.imageAlt": { + "message": "GTA tren görevi ekran görüntüsü", + "description": "Alt text for the 404 page image" + }, + "notFound.home": { + "message": "Ana Sayfa", + "description": "404 page home button" + }, + "notFound.docs": { + "message": "Dokümantasyon", + "description": "404 page documentation button" + }, + "notFound.servers": { + "message": "Sunucular", + "description": "404 page servers button" + }, + "theme.blog.post.paginator.navAriaLabel": { + "message": "Blog gönderi sayfası navigasyonu", + "description": "The ARIA label for the blog posts pagination" + }, + "theme.blog.post.paginator.newerPost": { + "message": "Daha Yeni Gönderi", + "description": "The blog post button label to navigate to the newer/previous post" + }, + "theme.blog.post.paginator.olderPost": { + "message": "Daha Eski Gönderi", + "description": "The blog post button label to navigate to the older/next post" + }, + "theme.tags.tagsPageLink": { + "message": "Tüm Etiketleri Görüntüle", + "description": "The label of the link targeting the tag list page" + }, + "theme.colorToggle.ariaLabel.mode.system": { + "message": "Sistem modu", + "description": "The name for the system color mode" + }, + "theme.colorToggle.ariaLabel.mode.light": { + "message": "Aydınlık mod", + "description": "The name for the light color mode" + }, + "theme.colorToggle.ariaLabel.mode.dark": { + "message": "Karanlık mod", + "description": "The name for the dark color mode" + }, + "theme.colorToggle.ariaLabel": { + "message": "Karanlık ve aydınlık mod arasında geçiş yapın (şu anda {mode})", + "description": "The ARIA label for the color mode toggle" + }, + "theme.docs.breadcrumbs.navAriaLabel": { + "message": "Gezinti yolu", + "description": "The ARIA label for the breadcrumbs" + }, + "theme.docs.paginator.navAriaLabel": { + "message": "Dokümanlar sayfası", + "description": "The ARIA label for the docs pagination" + }, + "theme.docs.paginator.previous": { + "message": "Önceki", + "description": "The label used to navigate to the previous doc" + }, + "theme.docs.paginator.next": { + "message": "Sonraki", + "description": "The label used to navigate to the next doc" + }, + "theme.docs.tagDocListPageTitle.nDocsTagged": { + "message": "Bir doküman etiketlendi|{count} doküman etiketlendi", + "description": "Pluralized label for \"{count} docs tagged\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)" + }, + "theme.docs.tagDocListPageTitle": { + "message": "\"{tagName}\" ile etiketlenmiş {nDocsTagged}", + "description": "The title of the page for a docs tag" + }, + "theme.docs.versionBadge.label": { + "message": "Versiyon: {versionLabel}" + }, + "theme.docs.versions.unreleasedVersionLabel": { + "message": "Bu, {siteTitle} {versionLabel} sürümü için yayınlanmamış dokümantasyondur.", + "description": "The label used to tell the user that he's browsing an unreleased doc version" + }, + "theme.docs.versions.unmaintainedVersionLabel": { + "message": "Bu, {siteTitle} {versionLabel} dokümantasyonudur ve bakımı sonlanmıştır.", + "description": "The label used to tell the user that he's browsing an unmaintained doc version" + }, + "theme.docs.versions.latestVersionSuggestionLabel": { + "message": "Güncel belgeler için bkz. {latestVersionLink} ({versionLabel}).", + "description": "The label used to tell the user to check the latest version" + }, + "theme.docs.versions.latestVersionLinkLabel": { + "message": "en son sürüm", + "description": "The label used for the latest version suggestion link label" + }, + "theme.common.editThisPage": { + "message": "Bu sayfayı düzenle", + "description": "The link label to edit the current page" + }, + "theme.common.headingLinkTitle": { + "message": "{heading} doğrudan bağlantı", + "description": "Title for link to heading" + }, + "theme.lastUpdated.atDate": { + "message": " {date} tarihinde", + "description": "The words used to describe on which date a page has been last updated" + }, + "theme.lastUpdated.byUser": { + "message": " {user} tarafından", + "description": "The words used to describe by who the page has been last updated" + }, + "theme.lastUpdated.lastUpdatedAtBy": { + "message": "En son {atDate} {byUser} güncellendi", + "description": "The sentence used to display when a page has been last updated, and by who" + }, + "theme.navbar.mobileVersionsDropdown.label": { + "message": "Versiyonlar", + "description": "The label for the navbar versions dropdown on mobile view" + }, + "theme.tags.tagsListLabel": { + "message": "Etiketler:", + "description": "The label alongside a tag list" + }, + "theme.admonition.warning": { + "message": "uyarı", + "description": "The default label used for the Warning admonition (:::warning)" + }, + "theme.AnnouncementBar.closeButtonAriaLabel": { + "message": "Kapat", + "description": "The ARIA label for close button of announcement bar" + }, + "theme.blog.sidebar.navAriaLabel": { + "message": "Blog son gönderiler navigasyonu", + "description": "The ARIA label for recent posts in the blog sidebar" + }, + "theme.DocSidebarItem.expandCategoryAriaLabel": { + "message": "Kenar çubuğu kategorisini genişlet '{label}'", + "description": "The ARIA label to expand the sidebar category" + }, + "theme.DocSidebarItem.collapseCategoryAriaLabel": { + "message": "Kenar çubuğu kategorisini daralt '{label}'", + "description": "The ARIA label to collapse the sidebar category" + }, + "theme.IconExternalLink.ariaLabel": { + "message": "(yeni sekmede açılır)", + "description": "The ARIA label for the external link icon" + }, + "theme.NavBar.navAriaLabel": { + "message": "Ana menü", + "description": "The ARIA label for the main navigation" + }, + "theme.navbar.mobileLanguageDropdown.label": { + "message": "Diller", + "description": "The label for the mobile language switcher dropdown" + }, + "theme.TOCCollapsible.toggleButtonLabel": { + "message": "Bu sayfada", + "description": "The label used by the button on the collapsible TOC component" + }, + "theme.blog.post.readMore": { + "message": "Daha Fazla", + "description": "The label used in blog post item excerpts to link to full blog posts" + }, + "theme.blog.post.readMoreLabel": { + "message": "{title} hakkında daha fazla bilgi edinin", + "description": "The ARIA label for the link to full blog posts from excerpts" + }, + "theme.CodeBlock.copy": { + "message": "Kopyala", + "description": "The copy button label on code blocks" + }, + "theme.CodeBlock.copied": { + "message": "Kopyalandı", + "description": "The copied button label on code blocks" + }, + "theme.CodeBlock.copyButtonAriaLabel": { + "message": "Kodu panoya kopyala", + "description": "The ARIA label for copy code blocks button" + }, + "theme.CodeBlock.wordWrapToggle": { + "message": "Kelime kaydırmayı aç/kapat", + "description": "The title attribute for toggle word wrapping button of code block lines" + }, + "theme.docs.breadcrumbs.home": { + "message": "Ana sayfa", + "description": "The ARIA label for the home page in the breadcrumbs" + }, + "theme.docs.sidebar.collapseButtonTitle": { + "message": "Kenar çubuğunu daralt", + "description": "The title attribute for collapse button of doc sidebar" + }, + "theme.docs.sidebar.collapseButtonAriaLabel": { + "message": "Kenar çubuğunu daralt", + "description": "The title attribute for collapse button of doc sidebar" + }, + "theme.docs.sidebar.navAriaLabel": { + "message": "Belgeler kenar çubuğu", + "description": "The ARIA label for the sidebar navigation" + }, + "theme.docs.sidebar.closeSidebarButtonAriaLabel": { + "message": "Gezinme çubuğunu kapat", + "description": "The ARIA label for close button of mobile sidebar" + }, + "theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel": { + "message": "← Ana menüye dön", + "description": "The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)" + }, + "theme.docs.sidebar.toggleSidebarButtonAriaLabel": { + "message": "Gezinme çubuğunu aç/kapat", + "description": "The ARIA label for hamburger menu button of mobile navigation" + }, + "theme.navbar.mobileDropdown.collapseButton.expandAriaLabel": { + "message": "Açılır menüyü genişlet", + "description": "The ARIA label of the button to expand the mobile dropdown navbar item" + }, + "theme.navbar.mobileDropdown.collapseButton.collapseAriaLabel": { + "message": "Açılır menüyü daralt", + "description": "The ARIA label of the button to collapse the mobile dropdown navbar item" + }, + "theme.docs.sidebar.expandButtonTitle": { + "message": "Kenar çubuğunu genişlet", + "description": "The ARIA label and title attribute for expand button of doc sidebar" + }, + "theme.docs.sidebar.expandButtonAriaLabel": { + "message": "Kenar çubuğunu genişlet", + "description": "The ARIA label and title attribute for expand button of doc sidebar" + }, + "theme.SearchBar.seeAll": { + "message": "{count} sonucun tümünü görün" + }, + "theme.SearchPage.documentsFound.plurals": { + "message": "Bir döküman bulundu|{count} döküman bulundu", + "description": "Pluralized label for \"{count} documents found\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)" + }, + "theme.SearchPage.existingResultsTitle": { + "message": "\"{query}\" için arama sonuçları", + "description": "The search page title for non-empty query" + }, + "theme.SearchPage.emptyResultsTitle": { + "message": "Dokümanlarda ara", + "description": "The search page title for empty query" + }, + "theme.SearchPage.inputPlaceholder": { + "message": "Aramanızı buraya yazın", + "description": "The placeholder for search page input" + }, + "theme.SearchPage.inputLabel": { + "message": "Ara", + "description": "The ARIA label for search page input" + }, + "theme.SearchPage.algoliaLabel": { + "message": "Algolia tarafından desteklenmektedir", + "description": "The description label for Algolia mention" + }, + "theme.SearchPage.noResultsText": { + "message": "Hiçbir sonuç bulunamadı", + "description": "The paragraph for empty search result" + }, + "theme.SearchPage.fetchingNewResults": { + "message": "Yeni sonuçlar getiriliyor...", + "description": "The paragraph for fetching new search results" + }, + "theme.SearchBar.label": { + "message": "Ara", + "description": "The ARIA label and placeholder for search button" + }, + "theme.SearchModal.searchBox.resetButtonTitle": { + "message": "Sorguyu temizle", + "description": "The label and ARIA label for search box reset button" + }, + "theme.SearchModal.searchBox.cancelButtonText": { + "message": "İptal", + "description": "The label and ARIA label for search box cancel button" + }, + "theme.SearchModal.searchBox.placeholderText": { + "message": "Dokümanlarda ara", + "description": "The placeholder text for the main search input field" + }, + "theme.SearchModal.searchBox.placeholderTextAskAi": { + "message": "Başka bir soru sorun...", + "description": "The placeholder text when in AI question mode" + }, + "theme.SearchModal.searchBox.placeholderTextAskAiStreaming": { + "message": "Yanıtlanıyor...", + "description": "The placeholder text for search box when AI is streaming an answer" + }, + "theme.SearchModal.searchBox.enterKeyHint": { + "message": "ara", + "description": "The hint for the search box enter key text" + }, + "theme.SearchModal.searchBox.enterKeyHintAskAi": { + "message": "gönder", + "description": "The hint for the Ask AI search box enter key text" + }, + "theme.SearchModal.searchBox.searchInputLabel": { + "message": "Ara", + "description": "The ARIA label for search input" + }, + "theme.SearchModal.searchBox.backToKeywordSearchButtonText": { + "message": "Anahtar kelime aramasına dön", + "description": "The text for back to keyword search button" + }, + "theme.SearchModal.searchBox.backToKeywordSearchButtonAriaLabel": { + "message": "Anahtar kelime aramasına dön", + "description": "The ARIA label for back to keyword search button" + }, + "theme.SearchModal.startScreen.recentSearchesTitle": { + "message": "Son", + "description": "The title for recent searches" + }, + "theme.SearchModal.startScreen.noRecentSearchesText": { + "message": "Son arama yok", + "description": "The text when there are no recent searches" + }, + "theme.SearchModal.startScreen.saveRecentSearchButtonTitle": { + "message": "Bu aramayı kaydet", + "description": "The title for save recent search button" + }, + "theme.SearchModal.startScreen.removeRecentSearchButtonTitle": { + "message": "Bu aramayı geçmişten kaldır", + "description": "The title for remove recent search button" + }, + "theme.SearchModal.startScreen.favoriteSearchesTitle": { + "message": "Favori", + "description": "The title for favorite searches" + }, + "theme.SearchModal.startScreen.removeFavoriteSearchButtonTitle": { + "message": "Bu aramayı favorilerden kaldır", + "description": "The title for remove favorite search button" + }, + "theme.SearchModal.startScreen.recentConversationsTitle": { + "message": "Son sohbetler", + "description": "The title for recent conversations" + }, + "theme.SearchModal.startScreen.removeRecentConversationButtonTitle": { + "message": "Bu sohbeti geçmişten kaldır", + "description": "The title for remove recent conversation button" + }, + "theme.SearchModal.errorScreen.titleText": { + "message": "Sonuçlar alınamadı", + "description": "The title for error screen" + }, + "theme.SearchModal.errorScreen.helpText": { + "message": "Ağ bağlantınızı kontrol etmek isteyebilirsiniz.", + "description": "The help text for error screen" + }, + "theme.SearchModal.resultsScreen.askAiPlaceholder": { + "message": "Yapay zekâya sor: ", + "description": "The placeholder text for Ask AI input" + }, + "theme.SearchModal.askAiScreen.disclaimerText": { + "message": "Yanıtlar, hata yapabilen yapay zekâ ile oluşturulur. Yanıtları doğrulayın.", + "description": "The disclaimer text for AI answers" + }, + "theme.SearchModal.askAiScreen.relatedSourcesText": { + "message": "İlgili kaynaklar", + "description": "The text for related sources" + }, + "theme.SearchModal.askAiScreen.thinkingText": { + "message": "Düşünüyor...", + "description": "The text when AI is thinking" + }, + "theme.SearchModal.askAiScreen.copyButtonText": { + "message": "Kopyala", + "description": "The text for copy button" + }, + "theme.SearchModal.askAiScreen.copyButtonCopiedText": { + "message": "Kopyalandı!", + "description": "The text for copy button when copied" + }, + "theme.SearchModal.askAiScreen.copyButtonTitle": { + "message": "Kopyala", + "description": "The title for copy button" + }, + "theme.SearchModal.askAiScreen.likeButtonTitle": { + "message": "Beğen", + "description": "The title for like button" + }, + "theme.SearchModal.askAiScreen.dislikeButtonTitle": { + "message": "Beğenme", + "description": "The title for dislike button" + }, + "theme.SearchModal.askAiScreen.thanksForFeedbackText": { + "message": "Geri bildiriminiz için teşekkürler!", + "description": "The text for thanks for feedback" + }, + "theme.SearchModal.askAiScreen.preToolCallText": { + "message": "Aranıyor...", + "description": "The text before tool call" + }, + "theme.SearchModal.askAiScreen.duringToolCallText": { + "message": "Aranan: ", + "description": "The text during tool call" + }, + "theme.SearchModal.askAiScreen.afterToolCallText": { + "message": "Arandı:", + "description": "The text after tool call" + }, + "theme.SearchModal.footer.selectText": { + "message": "Seç", + "description": "The select text for footer" + }, + "theme.SearchModal.footer.submitQuestionText": { + "message": "Soruyu gönder", + "description": "The submit question text for footer" + }, + "theme.SearchModal.footer.selectKeyAriaLabel": { + "message": "Enter tuşu", + "description": "The ARIA label for select key in footer" + }, + "theme.SearchModal.footer.navigateText": { + "message": "yönlendir", + "description": "The navigate text for footer" + }, + "theme.SearchModal.footer.navigateUpKeyAriaLabel": { + "message": "Yukarı ok", + "description": "The ARIA label for navigate up key in footer" + }, + "theme.SearchModal.footer.navigateDownKeyAriaLabel": { + "message": "Aşağı ok", + "description": "The ARIA label for navigate down key in footer" + }, + "theme.SearchModal.footer.closeText": { + "message": "Kapat", + "description": "The close text for footer" + }, + "theme.SearchModal.footer.closeKeyAriaLabel": { + "message": "ESC Tuşu", + "description": "The ARIA label for close key in footer" + }, + "theme.SearchModal.footer.searchByText": { + "message": "Şuna göre ara:", + "description": "The 'Powered by' text for footer" + }, + "theme.SearchModal.footer.backToSearchText": { + "message": "Aramaya dön", + "description": "The back to search text for footer" + }, + "theme.SearchModal.noResultsScreen.noResultsText": { + "message": "için sonuç yok", + "description": "The text when there are no results" + }, + "theme.SearchModal.noResultsScreen.suggestedQueryText": { + "message": "Aramayı deneyin", + "description": "The text for suggested query" + }, + "theme.SearchModal.noResultsScreen.reportMissingResultsText": { + "message": "Bu sorgunun sonuç döndürmesi gerektiğine inanıyor musunuz?", + "description": "The text for reporting missing results" + }, + "theme.SearchModal.noResultsScreen.reportMissingResultsLinkText": { + "message": "Bilmemize izin ver.", + "description": "The link text for reporting missing results" + }, + "theme.SearchModal.placeholder": { + "message": "Dokümanlarda ara", + "description": "The placeholder of the input of the DocSearch pop-up modal" + }, + "theme.blog.post.plurals": { + "message": "Bir gönderi|{count} gönderi", + "description": "Pluralized label for \"{count} posts\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)" + }, + "theme.blog.tagTitle": { + "message": "\"{tagName}\" ile etiketlenmiş {nPosts}", + "description": "The title of the page for a blog tag" + }, + "theme.blog.author.pageTitle": { + "message": "{authorName} - {nPosts}", + "description": "The title of the page for a blog author" + }, + "theme.blog.authorsList.pageTitle": { + "message": "Yazarlar", + "description": "The title of the authors page" + }, + "theme.blog.authorsList.viewAll": { + "message": "Tüm Yazarları Görüntüle", + "description": "The label of the link targeting the blog authors page" + }, + "theme.blog.author.noPosts": { + "message": "Bu yazar henüz herhangi bir yazı yazmadı.", + "description": "The text for authors with 0 blog post" + }, + "theme.contentVisibility.unlistedBanner.title": { + "message": "Listelenmeyen sayfa", + "description": "The unlisted content banner title" + }, + "theme.contentVisibility.unlistedBanner.message": { + "message": "Bu sayfa listelenmemiş. Arama motorları dizine eklemez ve yalnızca doğrudan bağlantısı olan kullanıcılar buna erişebilir.", + "description": "The unlisted content banner message" + }, + "theme.contentVisibility.draftBanner.title": { + "message": "Taslak sayfa", + "description": "The draft content banner title" + }, + "theme.contentVisibility.draftBanner.message": { + "message": "Bu sayfa bir taslaktır. Sadece dev'de görünür olacak ve üretim yapısından hariç tutulacaktır.", + "description": "The draft content banner message" + }, + "theme.docs.DocCard.categoryDescription.plurals": { + "message": "1 öğe|{count} öğe", + "description": "The default description for a category card in the generated index about how many items this category includes" + }, + "theme.ErrorPageContent.tryAgain": { + "message": "Tekrar deneyin", + "description": "The label of the button to try again rendering when the React error boundary captures an error" + }, + "theme.common.skipToMainContent": { + "message": "Ana içeriğe geç", + "description": "The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation" + }, "theme.docs.sidebar.filterPlaceholder": { "message": "Belgeleri filtrele", "description": "Placeholder for the docs sidebar filter input" diff --git a/frontend/i18n/tr/docusaurus-plugin-content-blog/options.json b/frontend/i18n/tr/docusaurus-plugin-content-blog/options.json new file mode 100644 index 000000000000..6d2a2b3b4ae9 --- /dev/null +++ b/frontend/i18n/tr/docusaurus-plugin-content-blog/options.json @@ -0,0 +1,14 @@ +{ + "title": { + "message": "Blog", + "description": "The title for the blog used in SEO" + }, + "description": { + "message": "open.mp blogu", + "description": "The description for the blog used in SEO" + }, + "sidebar.title": { + "message": "Son gönderiler", + "description": "The label for the left sidebar" + } +} diff --git a/frontend/i18n/tr/docusaurus-plugin-content-docs/current.json b/frontend/i18n/tr/docusaurus-plugin-content-docs/current.json index ed3f64e02661..d52035873ec6 100644 --- a/frontend/i18n/tr/docusaurus-plugin-content-docs/current.json +++ b/frontend/i18n/tr/docusaurus-plugin-content-docs/current.json @@ -28,5 +28,9 @@ }, "sidebar.docsSidebar.category.Meta": { "message": "Meta" + }, + "version.label": { + "message": "Sonraki", + "description": "The label for version current" } } diff --git a/frontend/i18n/tr/docusaurus-theme-classic/footer.json b/frontend/i18n/tr/docusaurus-theme-classic/footer.json index fd4e64584bcb..b1895661f553 100644 --- a/frontend/i18n/tr/docusaurus-theme-classic/footer.json +++ b/frontend/i18n/tr/docusaurus-theme-classic/footer.json @@ -1,7 +1,7 @@ { - "link.title.Documentations": { + "link.title.Documentation": { "message": "Dokümantasyon", - "description": "The title of the footer links column with title=Documentations in the footer" + "description": "The title of the footer links column with title=Documentation in the footer" }, "link.title.Community": { "message": "Topluluk", @@ -62,5 +62,21 @@ "link.item.label.SA-MP": { "message": "SA-MP", "description": "The label of footer link with label=SA-MP linking to https://sa-mp.mp/" + }, + "link.item.label.Download Launcher": { + "message": "Başlatıcıyı İndir", + "description": "The label of footer link with label=Download Launcher linking to /downloads/launcher" + }, + "link.item.label.Download Server": { + "message": "Sunucuyu İndir", + "description": "The label of footer link with label=Download Server linking to /downloads/server" + }, + "copyright": { + "message": "Telif Hakkı © 2026 open.mp. Docusaurus ile yapıldı.", + "description": "The footer copyright" + }, + "logo.alt": { + "message": "open.mp", + "description": "The alt text of footer logo" } } diff --git a/frontend/i18n/tr/docusaurus-theme-classic/navbar.json b/frontend/i18n/tr/docusaurus-theme-classic/navbar.json index 0c8cef068b71..383f3d93bdcb 100644 --- a/frontend/i18n/tr/docusaurus-theme-classic/navbar.json +++ b/frontend/i18n/tr/docusaurus-theme-classic/navbar.json @@ -26,5 +26,13 @@ "item.label.Donate": { "message": "Bağış Yap", "description": "Navbar item with label Donate" + }, + "logo.alt": { + "message": "open.mp logosu", + "description": "The alt text of navbar logo" + }, + "item.label.Donate to us": { + "message": "Bize Bağış Yapın", + "description": "Navbar item with label Donate to us" } } diff --git a/frontend/i18n/uk/code.json b/frontend/i18n/uk/code.json index 650720d1f0d1..9c0ae0cef7c5 100644 --- a/frontend/i18n/uk/code.json +++ b/frontend/i18n/uk/code.json @@ -355,6 +355,872 @@ "navbar.item.Donate": { "message": "Донат" }, + "serverInfo.copied": { + "message": "Скопійовано", + "description": "Copied server address state" + }, + "serverInfo.copy": { + "message": "Копіювати", + "description": "Copy server address state" + }, + "serverInfo.gameMode": { + "message": "Ігровий режим", + "description": "Game mode label" + }, + "toast.close": { + "message": "Закрити сповіщення", + "description": "Accessible label for closing a toast notification" + }, + "animations.layoutTitle": { + "message": "Анімації", + "description": "Animations page browser title" + }, + "animations.layoutDescription": { + "message": "Інтерактивний переглядач анімацій open.mp (SA-MP) з відеопрев’ю", + "description": "Animations page meta description" + }, + "animations.videoUnavailable": { + "message": "Відео недоступне", + "description": "Fallback message when an animation video fails to load" + }, + "animations.code.forPlayers": { + "message": "// Для гравців", + "description": "Comment in animation usage example for player animations" + }, + "animations.code.forActors": { + "message": "// Для акторів", + "description": "Comment in animation usage example for actor animations" + }, + "homepage.layoutDescription": { + "message": "Мультиплеєрний мод для Grand Theft Auto: San Andreas, повністю зворотно сумісний із San Andreas Multiplayer", + "description": "Homepage meta description" + }, + "partners.note.dismissAria": { + "message": "Закрити примітку про партнерство", + "description": "Accessible label for dismissing the partner note" + }, + "partners.page.title": { + "message": "Сервери-партнери", + "description": "Partner servers page title" + }, + "partners.page.description": { + "message": "Список серверів San Andreas, що працюють на open.mp або SA-MP", + "description": "Partner servers page description" + }, + "uid.toast.copiedTitle": { + "message": "Скопійовано", + "description": "UID copy success toast title" + }, + "uid.toast.copiedMessage": { + "message": "Макрос UID скопійовано в буфер обміну.", + "description": "UID copy success toast message" + }, + "uid.page.title": { + "message": "Генератор UID", + "description": "UID generator page title" + }, + "uid.page.description": { + "message": "Згенеруйте UID для унікальних ідентифікаторів IComponent або IExtension", + "description": "UID generator page description" + }, + "launcherSim.join.connect": { + "message": "Підключитися", + "description": "Launcher connect button" + }, + "launcherSim.join.bannerText": { + "message": "Ваш сервер", + "description": "Sample server banner text" + }, + "launcherSim.join.server": { + "message": "Сервер", + "description": "Launcher preview join dialog" + }, + "launcherSim.join.address": { + "message": "Адреса", + "description": "Launcher preview join dialog" + }, + "launcherSim.column.players": { + "message": "Гравці", + "description": "Launcher preview column" + }, + "launcherSim.join.nickname": { + "message": "Нікнейм", + "description": "Launcher join dialog nickname label" + }, + "launcherSim.join.version": { + "message": "Версія SA-MP", + "description": "Launcher join dialog SA-MP version label" + }, + "launcherSim.tab.favorites": { + "message": "Обране", + "description": "Launcher preview tab" + }, + "launcherSim.tab.internet": { + "message": "Інтернет", + "description": "Launcher preview tab" + }, + "launcherSim.tab.partners": { + "message": "Партнери", + "description": "Launcher preview tab" + }, + "launcherSim.tab.recent": { + "message": "Нещодавні", + "description": "Launcher preview tab" + }, + "launcherSim.nicknamePlaceholder": { + "message": "Нікнейм...", + "description": "Launcher preview nickname placeholder" + }, + "launcherSim.searchPlaceholder": { + "message": "Пошук за назвою або режимом сервера", + "description": "Launcher preview search placeholder" + }, + "launcherSim.column.name": { + "message": "Назва", + "description": "Launcher preview column" + }, + "launcherSim.column.ping": { + "message": "Пінг", + "description": "Launcher preview column" + }, + "launcherSim.column.mode": { + "message": "Режим", + "description": "Launcher preview column" + }, + "launcherSim.menu.connect": { + "message": "Підключитися", + "description": "Launcher preview: context menu" + }, + "launcherSim.addToFavorites": { + "message": "Додати в обране", + "description": "Launcher preview button" + }, + "launcherSim.menu.copy": { + "message": "Копіювати інформацію про сервер", + "description": "Launcher preview: context menu" + }, + "launcherSim.column.rule": { + "message": "Правило", + "description": "Launcher preview column" + }, + "launcherSim.column.value": { + "message": "Значення", + "description": "Launcher preview column" + }, + "launcherSim.filter.title": { + "message": "Фільтри:", + "description": "Launcher preview: filter panel" + }, + "launcherSim.filter.omp": { + "message": "Лише сервери open.mp", + "description": "Launcher preview: filter panel" + }, + "launcherSim.filter.nonEmpty": { + "message": "Непорожні сервери", + "description": "Launcher preview: filter panel" + }, + "launcherSim.filter.unpassworded": { + "message": "Сервери без пароля", + "description": "Launcher preview: filter panel" + }, + "launcherSim.filter.language": { + "message": "Мова:", + "description": "Launcher preview: filter panel" + }, + "launcherSim.notification.favorited": { + "message": "Додано в обране!", + "description": "Launcher preview: notification" + }, + "launcherSim.ariaLabel": { + "message": "Лаунчер open.mp зі списком прикладів серверів", + "description": "Accessible label for the launcher picture" + }, + "launcherSim.column.player": { + "message": "Гравець", + "description": "Launcher preview column" + }, + "launcherSim.column.score": { + "message": "Рахунок", + "description": "Launcher preview column" + }, + "launcherSim.copy": { + "message": "КОПІЮВАТИ", + "description": "Launcher preview: copy address" + }, + "servers.add.successMessage": { + "message": "{serverName} додано до списку очікування. Якщо сервер не з’явиться протягом 48 годин, зв’яжіться з нами в Discord!", + "description": "Toast message shown after submitting a server to the pending list" + }, + "servers.add.successTitle": { + "message": "Сервер надіслано!", + "description": "Toast title shown after a server submission succeeds" + }, + "servers.add.failureMessage": { + "message": "Статус {status}: {error}", + "description": "Toast message shown after a server submission fails" + }, + "servers.add.failureTitle": { + "message": "Не вдалося надіслати!", + "description": "Toast title shown after a server submission fails" + }, + "servers.add.errorMessage": { + "message": "Під час надсилання сервера сталася помилка", + "description": "Toast message shown after an unexpected server submission error" + }, + "servers.add.errorTitle": { + "message": "Помилка", + "description": "Generic toast error title" + }, + "servers.add.addressPlaceholder": { + "message": "play.example.com:7777", + "description": "Add server address input placeholder" + }, + "servers.pages.label": { + "message": "Сторінки списку серверів", + "description": "Accessible label for the server list pagination" + }, + "servers.pages.previous": { + "message": "Попередня сторінка", + "description": "Server list previous page button" + }, + "servers.pages.next": { + "message": "Наступна сторінка", + "description": "Server list next page button" + }, + "servers.sort.name": { + "message": "За назвою", + "description": "Sort by server name" + }, + "servers.sort.mode": { + "message": "За режимом", + "description": "Sort by game mode" + }, + "servers.sort.language": { + "message": "За мовою", + "description": "Sort by language" + }, + "servers.language.all": { + "message": "Усі мови", + "description": "All languages filter option" + }, + "servers.add.closeModal": { + "message": "Закрити вікно додавання сервера", + "description": "Accessible label for closing the add server modal" + }, + "npcCallbacksNote.message": { + "message": "Цей колбек також може викликатися NPC.", + "description": "Note shown on callback docs pages when NPCs can also call the callback" + }, + "versionWarn.name.function": { + "message": "функція", + "description": "Default item name in a version warning" + }, + "versionWarn.name.callback": { + "message": "колбек", + "description": "Callback item name in a version warning" + }, + "versionWarn.message": { + "message": "Цей елемент ({name}) додано у версії {version}, і в попередніх версіях він не працюватиме!", + "description": "Warning shown on scripting docs pages for APIs added in a specific server version" + }, + "carousel.previous": { + "message": "Попередній", + "description": "Carousel previous button" + }, + "carousel.next": { + "message": "Наступний", + "description": "Carousel next button" + }, + "downloads.latestBadge": { + "message": "НАЙНОВІША", + "description": "Badge for latest release" + }, + "downloads.releaseDate": { + "message": "Випущено {date}", + "description": "Release date label" + }, + "downloads.release.highlights": { + "message": "Основне", + "description": "Release highlights heading" + }, + "downloads.release.viewChangelog": { + "message": "Переглянути повний список змін", + "description": "Expandable changelog summary" + }, + "downloads.release.viewOnGitHub": { + "message": "Переглянути випуск на GitHub", + "description": "Fallback button per release" + }, + "downloads.release.githubTitle": { + "message": "Переглянути випуск на GitHub", + "description": "Title attribute for the GitHub release link" + }, + "downloads.release.github": { + "message": "GitHub", + "description": "Link to release page on GitHub" + }, + "downloads.release.dynSslNote": { + "message": "* Версія DynSSL потребує встановленої бібліотеки libssl у вашому дистрибутиві Linux.", + "description": "Note about DynSSL version requiring libssl" + }, + "downloads.hideOlderReleases": { + "message": "Сховати старіші випуски", + "description": "Button to hide older releases" + }, + "downloads.showOlderReleases": { + "message": "Показати старіші випуски ({count})", + "description": "Button to show older releases" + }, + "downloads.opensourceTrust": { + "message": "Кожен випуск має відкритий вихідний код. Зберіть його самостійно або завантажте безпосередньо з GitHub.", + "description": "Open source trust message for downloads pages" + }, + "downloads.downloadFromGithub": { + "message": "Завантажити з GitHub", + "description": "Button label to open GitHub releases page" + }, + "downloads.launcher.pageTitle": { + "message": "Лаунчер open.mp", + "description": "Launcher downloads page title" + }, + "downloads.launcher.layoutDescription": { + "message": "Завантажити випуски лаунчера open.mp", + "description": "Launcher downloads page meta description" + }, + "downloads.launcher.pageSubtitle": { + "message": "Грайте в GTA San Andreas по мережі на серверах open.mp і SA-MP.", + "description": "Launcher downloads page subtitle" + }, + "downloads.server.pageTitle": { + "message": "Сервер open.mp", + "description": "Server downloads page title" + }, + "downloads.server.layoutDescription": { + "message": "Завантажити випуски сервера open.mp", + "description": "Server downloads page meta description" + }, + "downloads.server.pageSubtitle": { + "message": "Запустіть власний мультиплеєрний сервер GTA San Andreas.", + "description": "Server downloads page subtitle" + }, + "servers.page.title": { + "message": "Сервери", + "description": "Servers page title" + }, + "servers.page.description": { + "message": "Список серверів San Andreas, що працюють на open.mp та SA-MP", + "description": "Servers page description" + }, + "notFound.title": { + "message": "Сторінку не знайдено", + "description": "404 page title" + }, + "notFound.imageAlt": { + "message": "Знімок екрана місії з потягом у GTA", + "description": "Alt text for the 404 page image" + }, + "notFound.home": { + "message": "Головна", + "description": "404 page home button" + }, + "notFound.docs": { + "message": "Документація", + "description": "404 page documentation button" + }, + "notFound.servers": { + "message": "Сервери", + "description": "404 page servers button" + }, + "theme.blog.post.paginator.navAriaLabel": { + "message": "Навігація по сторінці посту блогу", + "description": "The ARIA label for the blog posts pagination" + }, + "theme.blog.post.paginator.newerPost": { + "message": "Наступний пост", + "description": "The blog post button label to navigate to the newer/previous post" + }, + "theme.blog.post.paginator.olderPost": { + "message": "Попередній пост", + "description": "The blog post button label to navigate to the older/next post" + }, + "theme.tags.tagsPageLink": { + "message": "Переглянути всі теги", + "description": "The label of the link targeting the tag list page" + }, + "theme.colorToggle.ariaLabel.mode.system": { + "message": "Автоматичний режим", + "description": "The name for the system color mode" + }, + "theme.colorToggle.ariaLabel.mode.light": { + "message": "Світлий режим", + "description": "The name for the light color mode" + }, + "theme.colorToggle.ariaLabel.mode.dark": { + "message": "Темний режим", + "description": "The name for the dark color mode" + }, + "theme.colorToggle.ariaLabel": { + "message": "Перемикання між темним та світлим режимом (зараз використовується {mode})", + "description": "The ARIA label for the color mode toggle" + }, + "theme.docs.breadcrumbs.navAriaLabel": { + "message": "Навігаційний ланцюжок поточної сторінки", + "description": "The ARIA label for the breadcrumbs" + }, + "theme.docs.paginator.navAriaLabel": { + "message": "сторінка документації", + "description": "The ARIA label for the docs pagination" + }, + "theme.docs.paginator.previous": { + "message": "Попередня сторінка", + "description": "The label used to navigate to the previous doc" + }, + "theme.docs.paginator.next": { + "message": "Наступна сторінка", + "description": "The label used to navigate to the next doc" + }, + "theme.docs.tagDocListPageTitle.nDocsTagged": { + "message": "Одна сторінка|{count} сторінки|{count} сторінок", + "description": "Pluralized label for \"{count} docs tagged\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)" + }, + "theme.docs.tagDocListPageTitle": { + "message": "{nDocsTagged} з тегом \"{tagName}\"", + "description": "The title of the page for a docs tag" + }, + "theme.docs.versionBadge.label": { + "message": "Версія: {versionLabel}" + }, + "theme.docs.versions.unreleasedVersionLabel": { + "message": "Це документація для майбутньої версії {siteTitle} {versionLabel}.", + "description": "The label used to tell the user that he's browsing an unreleased doc version" + }, + "theme.docs.versions.unmaintainedVersionLabel": { + "message": "Це документація {siteTitle} для версії {versionLabel}, яка вже не підтримується.", + "description": "The label used to tell the user that he's browsing an unmaintained doc version" + }, + "theme.docs.versions.latestVersionSuggestionLabel": { + "message": "Актуальна документація знаходиться на сторінці {latestVersionLink} ({versionLabel}).", + "description": "The label used to tell the user to check the latest version" + }, + "theme.docs.versions.latestVersionLinkLabel": { + "message": "остання версія", + "description": "The label used for the latest version suggestion link label" + }, + "theme.common.editThisPage": { + "message": "Відредагувати цю сторінку", + "description": "The link label to edit the current page" + }, + "theme.common.headingLinkTitle": { + "message": "Пряме посилання на {heading}", + "description": "Title for link to heading" + }, + "theme.lastUpdated.atDate": { + "message": " {date}", + "description": "The words used to describe on which date a page has been last updated" + }, + "theme.lastUpdated.byUser": { + "message": " від {user}", + "description": "The words used to describe by who the page has been last updated" + }, + "theme.lastUpdated.lastUpdatedAtBy": { + "message": "Останнє оновлення{atDate}{byUser}", + "description": "The sentence used to display when a page has been last updated, and by who" + }, + "theme.navbar.mobileVersionsDropdown.label": { + "message": "Версії", + "description": "The label for the navbar versions dropdown on mobile view" + }, + "theme.tags.tagsListLabel": { + "message": "Теги:", + "description": "The label alongside a tag list" + }, + "theme.admonition.warning": { + "message": "попередження", + "description": "The default label used for the Warning admonition (:::warning)" + }, + "theme.AnnouncementBar.closeButtonAriaLabel": { + "message": "Закрити", + "description": "The ARIA label for close button of announcement bar" + }, + "theme.blog.sidebar.navAriaLabel": { + "message": "Навігація за останніми постами у блозі", + "description": "The ARIA label for recent posts in the blog sidebar" + }, + "theme.DocSidebarItem.expandCategoryAriaLabel": { + "message": "Розгорнути категорію в сайдбарі '{label}'", + "description": "The ARIA label to expand the sidebar category" + }, + "theme.DocSidebarItem.collapseCategoryAriaLabel": { + "message": "Згорнути категорію в сайдбарі '{label}'", + "description": "The ARIA label to collapse the sidebar category" + }, + "theme.IconExternalLink.ariaLabel": { + "message": "(відкривається в новій вкладці)", + "description": "The ARIA label for the external link icon" + }, + "theme.NavBar.navAriaLabel": { + "message": "Головна", + "description": "The ARIA label for the main navigation" + }, + "theme.navbar.mobileLanguageDropdown.label": { + "message": "Мови", + "description": "The label for the mobile language switcher dropdown" + }, + "theme.TOCCollapsible.toggleButtonLabel": { + "message": "Зміст цієї сторінки", + "description": "The label used by the button on the collapsible TOC component" + }, + "theme.blog.post.readMore": { + "message": "Читати далі", + "description": "The label used in blog post item excerpts to link to full blog posts" + }, + "theme.blog.post.readMoreLabel": { + "message": "Докладніше про {title}", + "description": "The ARIA label for the link to full blog posts from excerpts" + }, + "theme.CodeBlock.copy": { + "message": "Копіювати", + "description": "The copy button label on code blocks" + }, + "theme.CodeBlock.copied": { + "message": "Скопійовано", + "description": "The copied button label on code blocks" + }, + "theme.CodeBlock.copyButtonAriaLabel": { + "message": "Копіювати в буфер обміну", + "description": "The ARIA label for copy code blocks button" + }, + "theme.CodeBlock.wordWrapToggle": { + "message": "Перемикання обведення слів", + "description": "The title attribute for toggle word wrapping button of code block lines" + }, + "theme.docs.breadcrumbs.home": { + "message": "Головна сторінка", + "description": "The ARIA label for the home page in the breadcrumbs" + }, + "theme.docs.sidebar.collapseButtonTitle": { + "message": "Згорнути сайдбар", + "description": "The title attribute for collapse button of doc sidebar" + }, + "theme.docs.sidebar.collapseButtonAriaLabel": { + "message": "Згорнути сайдбар", + "description": "The title attribute for collapse button of doc sidebar" + }, + "theme.docs.sidebar.navAriaLabel": { + "message": "Сайдбар документації", + "description": "The ARIA label for the sidebar navigation" + }, + "theme.docs.sidebar.closeSidebarButtonAriaLabel": { + "message": "Закрити сайдбар", + "description": "The ARIA label for close button of mobile sidebar" + }, + "theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel": { + "message": "← Перейти до головного меню", + "description": "The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)" + }, + "theme.docs.sidebar.toggleSidebarButtonAriaLabel": { + "message": "Перемкнути сайдбар", + "description": "The ARIA label for hamburger menu button of mobile navigation" + }, + "theme.navbar.mobileDropdown.collapseButton.expandAriaLabel": { + "message": "Розгорнути випадаючий список", + "description": "The ARIA label of the button to expand the mobile dropdown navbar item" + }, + "theme.navbar.mobileDropdown.collapseButton.collapseAriaLabel": { + "message": "Згорнути випадаючий список", + "description": "The ARIA label of the button to collapse the mobile dropdown navbar item" + }, + "theme.docs.sidebar.expandButtonTitle": { + "message": "Розгорнути сайдбар", + "description": "The ARIA label and title attribute for expand button of doc sidebar" + }, + "theme.docs.sidebar.expandButtonAriaLabel": { + "message": "Розгорнути сайдбар", + "description": "The ARIA label and title attribute for expand button of doc sidebar" + }, + "theme.SearchBar.seeAll": { + "message": "Переглянути всі результати ({count})" + }, + "theme.SearchPage.documentsFound.plurals": { + "message": "{count} документ|{count} документи|{count} документів", + "description": "Pluralized label for \"{count} documents found\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)" + }, + "theme.SearchPage.existingResultsTitle": { + "message": "Результати пошуку за запитом \"{query}\"", + "description": "The search page title for non-empty query" + }, + "theme.SearchPage.emptyResultsTitle": { + "message": "Пошук по сайту", + "description": "The search page title for empty query" + }, + "theme.SearchPage.inputPlaceholder": { + "message": "Введіть ваш пошук тут", + "description": "The placeholder for search page input" + }, + "theme.SearchPage.inputLabel": { + "message": "Пошук", + "description": "The ARIA label for search page input" + }, + "theme.SearchPage.algoliaLabel": { + "message": "Працює на Algolia", + "description": "The description label for Algolia mention" + }, + "theme.SearchPage.noResultsText": { + "message": "Не знайдено результатів", + "description": "The paragraph for empty search result" + }, + "theme.SearchPage.fetchingNewResults": { + "message": "Завантаження нових результатів пошуку...", + "description": "The paragraph for fetching new search results" + }, + "theme.SearchBar.label": { + "message": "Пошук", + "description": "The ARIA label and placeholder for search button" + }, + "theme.SearchModal.searchBox.resetButtonTitle": { + "message": "Очистити запит", + "description": "The label and ARIA label for search box reset button" + }, + "theme.SearchModal.searchBox.cancelButtonText": { + "message": "Скасувати", + "description": "The label and ARIA label for search box cancel button" + }, + "theme.SearchModal.searchBox.placeholderText": { + "message": "Пошук у документації", + "description": "The placeholder text for the main search input field" + }, + "theme.SearchModal.searchBox.placeholderTextAskAi": { + "message": "Поставте інше запитання...", + "description": "The placeholder text when in AI question mode" + }, + "theme.SearchModal.searchBox.placeholderTextAskAiStreaming": { + "message": "Відповідаю...", + "description": "The placeholder text for search box when AI is streaming an answer" + }, + "theme.SearchModal.searchBox.enterKeyHint": { + "message": "пошук", + "description": "The hint for the search box enter key text" + }, + "theme.SearchModal.searchBox.enterKeyHintAskAi": { + "message": "ввести", + "description": "The hint for the Ask AI search box enter key text" + }, + "theme.SearchModal.searchBox.searchInputLabel": { + "message": "Пошук", + "description": "The ARIA label for search input" + }, + "theme.SearchModal.searchBox.backToKeywordSearchButtonText": { + "message": "Назад до пошуку за ключовими словами", + "description": "The text for back to keyword search button" + }, + "theme.SearchModal.searchBox.backToKeywordSearchButtonAriaLabel": { + "message": "Назад до пошуку за ключовими словами", + "description": "The ARIA label for back to keyword search button" + }, + "theme.SearchModal.startScreen.recentSearchesTitle": { + "message": "Останні", + "description": "The title for recent searches" + }, + "theme.SearchModal.startScreen.noRecentSearchesText": { + "message": "Немає останніх пошуків", + "description": "The text when there are no recent searches" + }, + "theme.SearchModal.startScreen.saveRecentSearchButtonTitle": { + "message": "Зберегти цей пошук", + "description": "The title for save recent search button" + }, + "theme.SearchModal.startScreen.removeRecentSearchButtonTitle": { + "message": "Видалити цей пошук з історії", + "description": "The title for remove recent search button" + }, + "theme.SearchModal.startScreen.favoriteSearchesTitle": { + "message": "Обране", + "description": "The title for favorite searches" + }, + "theme.SearchModal.startScreen.removeFavoriteSearchButtonTitle": { + "message": "Видалити цей пошук з обраного", + "description": "The title for remove favorite search button" + }, + "theme.SearchModal.startScreen.recentConversationsTitle": { + "message": "Нещодавні розмови", + "description": "The title for recent conversations" + }, + "theme.SearchModal.startScreen.removeRecentConversationButtonTitle": { + "message": "Видалити цю розмову з історії", + "description": "The title for remove recent conversation button" + }, + "theme.SearchModal.errorScreen.titleText": { + "message": "Не вдалося отримати результати", + "description": "The title for error screen" + }, + "theme.SearchModal.errorScreen.helpText": { + "message": "Перевірте підключення до мережі.", + "description": "The help text for error screen" + }, + "theme.SearchModal.resultsScreen.askAiPlaceholder": { + "message": "Запитати ШІ: ", + "description": "The placeholder text for Ask AI input" + }, + "theme.SearchModal.askAiScreen.disclaimerText": { + "message": "Відповіді генеруються ШІ, який може помилятися. Перевіряйте їх.", + "description": "The disclaimer text for AI answers" + }, + "theme.SearchModal.askAiScreen.relatedSourcesText": { + "message": "Пов’язані джерела", + "description": "The text for related sources" + }, + "theme.SearchModal.askAiScreen.thinkingText": { + "message": "Думаю...", + "description": "The text when AI is thinking" + }, + "theme.SearchModal.askAiScreen.copyButtonText": { + "message": "Копіювати", + "description": "The text for copy button" + }, + "theme.SearchModal.askAiScreen.copyButtonCopiedText": { + "message": "Скопійовано!", + "description": "The text for copy button when copied" + }, + "theme.SearchModal.askAiScreen.copyButtonTitle": { + "message": "Копіювати", + "description": "The title for copy button" + }, + "theme.SearchModal.askAiScreen.likeButtonTitle": { + "message": "Подобається", + "description": "The title for like button" + }, + "theme.SearchModal.askAiScreen.dislikeButtonTitle": { + "message": "Не подобається", + "description": "The title for dislike button" + }, + "theme.SearchModal.askAiScreen.thanksForFeedbackText": { + "message": "Дякуємо за відгук!", + "description": "The text for thanks for feedback" + }, + "theme.SearchModal.askAiScreen.preToolCallText": { + "message": "Шукаю...", + "description": "The text before tool call" + }, + "theme.SearchModal.askAiScreen.duringToolCallText": { + "message": "Шукаю ", + "description": "The text during tool call" + }, + "theme.SearchModal.askAiScreen.afterToolCallText": { + "message": "Знайдено за запитом", + "description": "The text after tool call" + }, + "theme.SearchModal.footer.selectText": { + "message": "обрати", + "description": "The select text for footer" + }, + "theme.SearchModal.footer.submitQuestionText": { + "message": "Надіслати запитання", + "description": "The submit question text for footer" + }, + "theme.SearchModal.footer.selectKeyAriaLabel": { + "message": "Клавіша Enter", + "description": "The ARIA label for select key in footer" + }, + "theme.SearchModal.footer.navigateText": { + "message": "до навігації", + "description": "The navigate text for footer" + }, + "theme.SearchModal.footer.navigateUpKeyAriaLabel": { + "message": "Стрілка вгору", + "description": "The ARIA label for navigate up key in footer" + }, + "theme.SearchModal.footer.navigateDownKeyAriaLabel": { + "message": "Стрілка вниз", + "description": "The ARIA label for navigate down key in footer" + }, + "theme.SearchModal.footer.closeText": { + "message": "закрити", + "description": "The close text for footer" + }, + "theme.SearchModal.footer.closeKeyAriaLabel": { + "message": "Клавіша Escape", + "description": "The ARIA label for close key in footer" + }, + "theme.SearchModal.footer.searchByText": { + "message": "Пошук за допомогою", + "description": "The 'Powered by' text for footer" + }, + "theme.SearchModal.footer.backToSearchText": { + "message": "Назад до пошуку", + "description": "The back to search text for footer" + }, + "theme.SearchModal.noResultsScreen.noResultsText": { + "message": "Немає результатів для", + "description": "The text when there are no results" + }, + "theme.SearchModal.noResultsScreen.suggestedQueryText": { + "message": "Спробуйте пошукати", + "description": "The text for suggested query" + }, + "theme.SearchModal.noResultsScreen.reportMissingResultsText": { + "message": "Чи вважаєте ви, що цей запит має повернути результати?", + "description": "The text for reporting missing results" + }, + "theme.SearchModal.noResultsScreen.reportMissingResultsLinkText": { + "message": "Дайте нам знати.", + "description": "The link text for reporting missing results" + }, + "theme.SearchModal.placeholder": { + "message": "Пошук документів", + "description": "The placeholder of the input of the DocSearch pop-up modal" + }, + "theme.blog.post.plurals": { + "message": "{count} запис|{count} записи|{count} записів", + "description": "Pluralized label for \"{count} posts\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)" + }, + "theme.blog.tagTitle": { + "message": "{nPosts} з тегом \"{tagName}\"", + "description": "The title of the page for a blog tag" + }, + "theme.blog.author.pageTitle": { + "message": "{authorName} - {nPosts}", + "description": "The title of the page for a blog author" + }, + "theme.blog.authorsList.pageTitle": { + "message": "Автори", + "description": "The title of the authors page" + }, + "theme.blog.authorsList.viewAll": { + "message": "Переглянути всіх авторів", + "description": "The label of the link targeting the blog authors page" + }, + "theme.blog.author.noPosts": { + "message": "Цей автор ще не написав жодної публікації.", + "description": "The text for authors with 0 blog post" + }, + "theme.contentVisibility.unlistedBanner.title": { + "message": "Непублічна сторінка", + "description": "The unlisted content banner title" + }, + "theme.contentVisibility.unlistedBanner.message": { + "message": "Ця сторінка є непублічною. Пошукові системи її не індексуватимуть, і доступ до неї матимуть лише користувачі з прямим посиланням.", + "description": "The unlisted content banner message" + }, + "theme.contentVisibility.draftBanner.title": { + "message": "Чернетка", + "description": "The draft content banner title" + }, + "theme.contentVisibility.draftBanner.message": { + "message": "Це чернетка. Ця сторінка видима лише в режимі розробки й буде виключена з фінальної збірки.", + "description": "The draft content banner message" + }, + "theme.docs.DocCard.categoryDescription.plurals": { + "message": "{count} елемент|{count} елементи|{count} елементів", + "description": "The default description for a category card in the generated index about how many items this category includes" + }, + "theme.ErrorPageContent.tryAgain": { + "message": "Спробуйте ще раз", + "description": "The label of the button to try again rendering when the React error boundary captures an error" + }, + "theme.common.skipToMainContent": { + "message": "Перейти до основного вмісту", + "description": "The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation" + }, "theme.docs.sidebar.filterPlaceholder": { "message": "Фільтрувати документацію", "description": "Placeholder for the docs sidebar filter input" diff --git a/frontend/i18n/uk/docusaurus-plugin-content-blog/options.json b/frontend/i18n/uk/docusaurus-plugin-content-blog/options.json new file mode 100644 index 000000000000..6809ebf2bd5f --- /dev/null +++ b/frontend/i18n/uk/docusaurus-plugin-content-blog/options.json @@ -0,0 +1,14 @@ +{ + "title": { + "message": "Блоґ", + "description": "The title for the blog used in SEO" + }, + "description": { + "message": "Блоґ", + "description": "The description for the blog used in SEO" + }, + "sidebar.title": { + "message": "Останні дописи", + "description": "The label for the left sidebar" + } +} diff --git a/frontend/i18n/uk/docusaurus-plugin-content-docs/current.json b/frontend/i18n/uk/docusaurus-plugin-content-docs/current.json new file mode 100644 index 000000000000..30507f8a281b --- /dev/null +++ b/frontend/i18n/uk/docusaurus-plugin-content-docs/current.json @@ -0,0 +1,46 @@ +{ + "version.label": { + "message": "Наступна", + "description": "The label for version current" + }, + "sidebar.docsSidebar.category.Scripting": { + "message": "Скриптинг", + "description": "The label for category 'Scripting' in sidebar 'docsSidebar'" + }, + "sidebar.docsSidebar.category.Callbacks": { + "message": "Колбеки", + "description": "The label for category 'Callbacks' in sidebar 'docsSidebar'" + }, + "sidebar.docsSidebar.category.Functions": { + "message": "Функції", + "description": "The label for category 'Functions' in sidebar 'docsSidebar'" + }, + "sidebar.docsSidebar.category.Language": { + "message": "Мова", + "description": "The label for category 'Language' in sidebar 'docsSidebar'" + }, + "sidebar.docsSidebar.category.Reference": { + "message": "Довідник", + "description": "The label for category 'Reference' in sidebar 'docsSidebar'" + }, + "sidebar.docsSidebar.category.Resources": { + "message": "Ресурси", + "description": "The label for category 'Resources' in sidebar 'docsSidebar'" + }, + "sidebar.docsSidebar.category.Server": { + "message": "Сервер", + "description": "The label for category 'Server' in sidebar 'docsSidebar'" + }, + "sidebar.docsSidebar.category.Client": { + "message": "Клієнт", + "description": "The label for category 'Client' in sidebar 'docsSidebar'" + }, + "sidebar.docsSidebar.category.Tutorials": { + "message": "Посібники", + "description": "The label for category 'Tutorials' in sidebar 'docsSidebar'" + }, + "sidebar.docsSidebar.category.Meta": { + "message": "Мета", + "description": "The label for category 'Meta' in sidebar 'docsSidebar'" + } +} diff --git a/frontend/i18n/uk/docusaurus-theme-classic/footer.json b/frontend/i18n/uk/docusaurus-theme-classic/footer.json index 040bab85daac..b0936c4b446a 100644 --- a/frontend/i18n/uk/docusaurus-theme-classic/footer.json +++ b/frontend/i18n/uk/docusaurus-theme-classic/footer.json @@ -1,7 +1,7 @@ { - "link.title.Documentations": { + "link.title.Documentation": { "message": "Документація", - "description": "The title of the footer links column with title=Documentations in the footer" + "description": "The title of the footer links column with title=Documentation in the footer" }, "link.title.Community": { "message": "Спільнота", @@ -62,5 +62,21 @@ "link.item.label.SA-MP": { "message": "SA-MP", "description": "The label of footer link with label=SA-MP linking to https://sa-mp.mp/" + }, + "link.item.label.Download Launcher": { + "message": "Завантажити лаунчер", + "description": "The label of footer link with label=Download Launcher linking to /downloads/launcher" + }, + "link.item.label.Download Server": { + "message": "Завантажити сервер", + "description": "The label of footer link with label=Download Server linking to /downloads/server" + }, + "copyright": { + "message": "Copyright © 2026 open.mp. Створено на Docusaurus.", + "description": "The footer copyright" + }, + "logo.alt": { + "message": "open.mp", + "description": "The alt text of footer logo" } } diff --git a/frontend/i18n/uk/docusaurus-theme-classic/navbar.json b/frontend/i18n/uk/docusaurus-theme-classic/navbar.json index 01bad51e046f..d268b672b03b 100644 --- a/frontend/i18n/uk/docusaurus-theme-classic/navbar.json +++ b/frontend/i18n/uk/docusaurus-theme-classic/navbar.json @@ -26,5 +26,13 @@ "item.label.Donate": { "message": "Донат", "description": "Navbar item with label Donate" + }, + "logo.alt": { + "message": "Логотип open.mp", + "description": "The alt text of navbar logo" + }, + "item.label.Donate to us": { + "message": "Підтримати нас", + "description": "Navbar item with label Donate to us" } } diff --git a/frontend/i18n/zh-CN/code.json b/frontend/i18n/zh-CN/code.json index d4c4b8c41320..4e3e20cef01f 100644 --- a/frontend/i18n/zh-CN/code.json +++ b/frontend/i18n/zh-CN/code.json @@ -124,22 +124,6 @@ "message": "返回顶部", "description": "返回顶部按钮的ARIA标签" }, - "theme.docs.sidebar.filterPlaceholder": { - "message": "筛选文档", - "description": "文档侧边栏筛选输入框的占位文本" - }, - "theme.docs.sidebar.clearFilter": { - "message": "清除筛选", - "description": "清除文档侧边栏筛选的ARIA标签" - }, - "theme.docs.sidebar.filterNoResults": { - "message": "没有匹配的文档", - "description": "文档侧边栏筛选无结果时显示的标题" - }, - "theme.docs.sidebar.filterNoResultsHint": { - "message": "换个关键词试试。", - "description": "文档侧边栏筛选无结果时显示的提示" - }, "theme.blog.archive.title": { "message": "归档", "description": "博客归档页面的页面标题和主标题" @@ -614,7 +598,7 @@ "description": "服务器下载按钮的 Title 属性" }, "homepage.layoutDescription": { - "message": "为《侠盗猎车手:圣安地列斯》打造的全新多人联机模组,与{samp}实现{compatibility}。", + "message": "为《侠盗猎车手:圣安地列斯》打造的多人联机模组,完全向下兼容 San Andreas Multiplayer。", "description": "首页 Meta 描述" }, "uid.toast.copiedTitle": { @@ -700,5 +684,671 @@ "notFound.servers": { "message": "服务器", "description": "404页面服务器按钮" + }, + "serverInfo.gameMode": { + "message": "游戏模式", + "description": "Game mode label" + }, + "launcherSim.join.connect": { + "message": "连接", + "description": "Launcher connect button" + }, + "launcherSim.join.bannerText": { + "message": "你的服务器", + "description": "Sample server banner text" + }, + "launcherSim.join.server": { + "message": "服务器", + "description": "Launcher preview join dialog" + }, + "launcherSim.join.address": { + "message": "地址", + "description": "Launcher preview join dialog" + }, + "launcherSim.column.players": { + "message": "玩家", + "description": "Launcher preview column" + }, + "launcherSim.join.nickname": { + "message": "昵称", + "description": "Launcher join dialog nickname label" + }, + "launcherSim.join.version": { + "message": "SA-MP 版本", + "description": "Launcher join dialog SA-MP version label" + }, + "launcherSim.tab.favorites": { + "message": "收藏", + "description": "Launcher preview tab" + }, + "launcherSim.tab.internet": { + "message": "互联网", + "description": "Launcher preview tab" + }, + "launcherSim.tab.partners": { + "message": "合作伙伴", + "description": "Launcher preview tab" + }, + "launcherSim.tab.recent": { + "message": "最近加入", + "description": "Launcher preview tab" + }, + "launcherSim.nicknamePlaceholder": { + "message": "昵称...", + "description": "Launcher preview nickname placeholder" + }, + "launcherSim.searchPlaceholder": { + "message": "搜索服务器名称/模式", + "description": "Launcher preview search placeholder" + }, + "launcherSim.column.name": { + "message": "名称", + "description": "Launcher preview column" + }, + "launcherSim.column.ping": { + "message": "延迟", + "description": "Launcher preview column" + }, + "launcherSim.column.mode": { + "message": "模式", + "description": "Launcher preview column" + }, + "launcherSim.menu.connect": { + "message": "连接", + "description": "Launcher preview: context menu" + }, + "launcherSim.addToFavorites": { + "message": "添加到收藏", + "description": "Launcher preview button" + }, + "launcherSim.menu.copy": { + "message": "复制服务器信息", + "description": "Launcher preview: context menu" + }, + "launcherSim.column.rule": { + "message": "规则", + "description": "Launcher preview column" + }, + "launcherSim.column.value": { + "message": "数值", + "description": "Launcher preview column" + }, + "launcherSim.filter.title": { + "message": "筛选:", + "description": "Launcher preview: filter panel" + }, + "launcherSim.filter.omp": { + "message": "仅 open.mp 服务器", + "description": "Launcher preview: filter panel" + }, + "launcherSim.filter.nonEmpty": { + "message": "非空服务器", + "description": "Launcher preview: filter panel" + }, + "launcherSim.filter.unpassworded": { + "message": "无密码服务器", + "description": "Launcher preview: filter panel" + }, + "launcherSim.filter.language": { + "message": "语言:", + "description": "Launcher preview: filter panel" + }, + "launcherSim.notification.favorited": { + "message": "已添加到收藏!", + "description": "Launcher preview: notification" + }, + "launcherSim.ariaLabel": { + "message": "显示示例服务器列表的 open.mp 启动器", + "description": "Accessible label for the launcher picture" + }, + "launcherSim.column.player": { + "message": "玩家", + "description": "Launcher preview column" + }, + "launcherSim.column.score": { + "message": "分数", + "description": "Launcher preview column" + }, + "launcherSim.copy": { + "message": "复制", + "description": "Launcher preview: copy address" + }, + "servers.pages.label": { + "message": "服务器列表分页", + "description": "Accessible label for the server list pagination" + }, + "servers.pages.previous": { + "message": "上一页", + "description": "Server list previous page button" + }, + "servers.pages.next": { + "message": "下一页", + "description": "Server list next page button" + }, + "versionWarn.name.function": { + "message": "函数", + "description": "Default item name in a version warning" + }, + "versionWarn.name.callback": { + "message": "回调", + "description": "Callback item name in a version warning" + }, + "versionWarn.message": { + "message": "此{name}于 {version} 版本中添加,在更早的版本中无法使用!", + "description": "Warning shown on scripting docs pages for APIs added in a specific server version" + }, + "carousel.previous": { + "message": "上一个", + "description": "Carousel previous button" + }, + "carousel.next": { + "message": "下一个", + "description": "Carousel next button" + }, + "theme.blog.post.paginator.navAriaLabel": { + "message": "博文分页导航", + "description": "The ARIA label for the blog posts pagination" + }, + "theme.blog.post.paginator.newerPost": { + "message": "较新一篇", + "description": "The blog post button label to navigate to the newer/previous post" + }, + "theme.blog.post.paginator.olderPost": { + "message": "较旧一篇", + "description": "The blog post button label to navigate to the older/next post" + }, + "theme.tags.tagsPageLink": { + "message": "查看所有标签", + "description": "The label of the link targeting the tag list page" + }, + "theme.colorToggle.ariaLabel.mode.system": { + "message": "跟随系统", + "description": "The name for the system color mode" + }, + "theme.colorToggle.ariaLabel.mode.light": { + "message": "浅色模式", + "description": "The name for the light color mode" + }, + "theme.colorToggle.ariaLabel.mode.dark": { + "message": "暗黑模式", + "description": "The name for the dark color mode" + }, + "theme.colorToggle.ariaLabel": { + "message": "切换浅色/暗黑模式(当前为{mode})", + "description": "The ARIA label for the color mode toggle" + }, + "theme.docs.breadcrumbs.navAriaLabel": { + "message": "页面路径", + "description": "The ARIA label for the breadcrumbs" + }, + "theme.docs.paginator.navAriaLabel": { + "message": "文件选项卡", + "description": "The ARIA label for the docs pagination" + }, + "theme.docs.paginator.previous": { + "message": "上一页", + "description": "The label used to navigate to the previous doc" + }, + "theme.docs.paginator.next": { + "message": "下一页", + "description": "The label used to navigate to the next doc" + }, + "theme.docs.tagDocListPageTitle.nDocsTagged": { + "message": "{count} 篇文档带有标签", + "description": "Pluralized label for \"{count} docs tagged\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)" + }, + "theme.docs.tagDocListPageTitle": { + "message": "{nDocsTagged}「{tagName}」", + "description": "The title of the page for a docs tag" + }, + "theme.docs.versionBadge.label": { + "message": "版本:{versionLabel}" + }, + "theme.docs.versions.unreleasedVersionLabel": { + "message": "此为 {siteTitle} {versionLabel} 版尚未发行的文档。", + "description": "The label used to tell the user that he's browsing an unreleased doc version" + }, + "theme.docs.versions.unmaintainedVersionLabel": { + "message": "此为 {siteTitle} {versionLabel} 版的文档,现已不再积极维护。", + "description": "The label used to tell the user that he's browsing an unmaintained doc version" + }, + "theme.docs.versions.latestVersionSuggestionLabel": { + "message": "最新的文档请参阅 {latestVersionLink} ({versionLabel})。", + "description": "The label used to tell the user to check the latest version" + }, + "theme.docs.versions.latestVersionLinkLabel": { + "message": "最新版本", + "description": "The label used for the latest version suggestion link label" + }, + "theme.common.editThisPage": { + "message": "编辑此页", + "description": "The link label to edit the current page" + }, + "theme.common.headingLinkTitle": { + "message": "{heading}的直接链接", + "description": "Title for link to heading" + }, + "theme.lastUpdated.atDate": { + "message": "于 {date} ", + "description": "The words used to describe on which date a page has been last updated" + }, + "theme.lastUpdated.byUser": { + "message": "由 {user} ", + "description": "The words used to describe by who the page has been last updated" + }, + "theme.lastUpdated.lastUpdatedAtBy": { + "message": "最后{byUser}{atDate}更新", + "description": "The sentence used to display when a page has been last updated, and by who" + }, + "theme.navbar.mobileVersionsDropdown.label": { + "message": "选择版本", + "description": "The label for the navbar versions dropdown on mobile view" + }, + "theme.tags.tagsListLabel": { + "message": "标签:", + "description": "The label alongside a tag list" + }, + "theme.admonition.warning": { + "message": "注意", + "description": "The default label used for the Warning admonition (:::warning)" + }, + "theme.AnnouncementBar.closeButtonAriaLabel": { + "message": "关闭", + "description": "The ARIA label for close button of announcement bar" + }, + "theme.blog.sidebar.navAriaLabel": { + "message": "最近博文导航", + "description": "The ARIA label for recent posts in the blog sidebar" + }, + "theme.DocSidebarItem.expandCategoryAriaLabel": { + "message": "展开侧边栏分类 '{label}'", + "description": "The ARIA label to expand the sidebar category" + }, + "theme.DocSidebarItem.collapseCategoryAriaLabel": { + "message": "折叠侧边栏分类 '{label}'", + "description": "The ARIA label to collapse the sidebar category" + }, + "theme.IconExternalLink.ariaLabel": { + "message": "(在新标签页中打开)", + "description": "The ARIA label for the external link icon" + }, + "theme.NavBar.navAriaLabel": { + "message": "主导航", + "description": "The ARIA label for the main navigation" + }, + "theme.TOCCollapsible.toggleButtonLabel": { + "message": "本页总览", + "description": "The label used by the button on the collapsible TOC component" + }, + "theme.navbar.mobileLanguageDropdown.label": { + "message": "选择语言", + "description": "The label for the mobile language switcher dropdown" + }, + "theme.blog.post.readMore": { + "message": "阅读更多", + "description": "The label used in blog post item excerpts to link to full blog posts" + }, + "theme.blog.post.readMoreLabel": { + "message": "阅读 {title} 的全文", + "description": "The ARIA label for the link to full blog posts from excerpts" + }, + "theme.CodeBlock.copy": { + "message": "复制", + "description": "The copy button label on code blocks" + }, + "theme.CodeBlock.copied": { + "message": "复制成功", + "description": "The copied button label on code blocks" + }, + "theme.CodeBlock.copyButtonAriaLabel": { + "message": "复制代码到剪贴板", + "description": "The ARIA label for copy code blocks button" + }, + "theme.CodeBlock.wordWrapToggle": { + "message": "切换自动换行", + "description": "The title attribute for toggle word wrapping button of code block lines" + }, + "theme.docs.breadcrumbs.home": { + "message": "主页面", + "description": "The ARIA label for the home page in the breadcrumbs" + }, + "theme.docs.sidebar.collapseButtonTitle": { + "message": "收起侧边栏", + "description": "The title attribute for collapse button of doc sidebar" + }, + "theme.docs.sidebar.collapseButtonAriaLabel": { + "message": "收起侧边栏", + "description": "The title attribute for collapse button of doc sidebar" + }, + "theme.docs.sidebar.navAriaLabel": { + "message": "文档侧边栏", + "description": "The ARIA label for the sidebar navigation" + }, + "theme.docs.sidebar.closeSidebarButtonAriaLabel": { + "message": "关闭导航栏", + "description": "The ARIA label for close button of mobile sidebar" + }, + "theme.navbar.mobileDropdown.collapseButton.expandAriaLabel": { + "message": "展开下拉菜单", + "description": "The ARIA label of the button to expand the mobile dropdown navbar item" + }, + "theme.navbar.mobileDropdown.collapseButton.collapseAriaLabel": { + "message": "收起下拉菜单", + "description": "The ARIA label of the button to collapse the mobile dropdown navbar item" + }, + "theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel": { + "message": "← 回到主菜单", + "description": "The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)" + }, + "theme.docs.sidebar.toggleSidebarButtonAriaLabel": { + "message": "切换导航栏", + "description": "The ARIA label for hamburger menu button of mobile navigation" + }, + "theme.docs.sidebar.expandButtonTitle": { + "message": "展开侧边栏", + "description": "The ARIA label and title attribute for expand button of doc sidebar" + }, + "theme.docs.sidebar.expandButtonAriaLabel": { + "message": "展开侧边栏", + "description": "The ARIA label and title attribute for expand button of doc sidebar" + }, + "theme.SearchBar.seeAll": { + "message": "查看全部 {count} 个结果" + }, + "theme.SearchBar.label": { + "message": "搜索", + "description": "The ARIA label and placeholder for search button" + }, + "theme.SearchModal.searchBox.resetButtonTitle": { + "message": "清除查询", + "description": "The label and ARIA label for search box reset button" + }, + "theme.SearchModal.searchBox.cancelButtonText": { + "message": "取消", + "description": "The label and ARIA label for search box cancel button" + }, + "theme.SearchModal.searchBox.placeholderText": { + "message": "搜索文档", + "description": "The placeholder text for the main search input field" + }, + "theme.SearchModal.searchBox.placeholderTextAskAi": { + "message": "提出其他问题...", + "description": "The placeholder text when in AI question mode" + }, + "theme.SearchModal.searchBox.placeholderTextAskAiStreaming": { + "message": "正在回答...", + "description": "The placeholder text for search box when AI is streaming an answer" + }, + "theme.SearchModal.searchBox.enterKeyHint": { + "message": "搜索", + "description": "The hint for the search box enter key text" + }, + "theme.SearchModal.searchBox.enterKeyHintAskAi": { + "message": "发送", + "description": "The hint for the Ask AI search box enter key text" + }, + "theme.SearchModal.searchBox.searchInputLabel": { + "message": "搜索", + "description": "The ARIA label for search input" + }, + "theme.SearchModal.searchBox.backToKeywordSearchButtonText": { + "message": "返回关键词搜索", + "description": "The text for back to keyword search button" + }, + "theme.SearchModal.searchBox.backToKeywordSearchButtonAriaLabel": { + "message": "返回关键词搜索", + "description": "The ARIA label for back to keyword search button" + }, + "theme.SearchModal.startScreen.recentSearchesTitle": { + "message": "最近搜索", + "description": "The title for recent searches" + }, + "theme.SearchModal.startScreen.noRecentSearchesText": { + "message": "没有最近搜索", + "description": "The text when there are no recent searches" + }, + "theme.SearchModal.startScreen.saveRecentSearchButtonTitle": { + "message": "保存这个搜索", + "description": "The title for save recent search button" + }, + "theme.SearchModal.startScreen.removeRecentSearchButtonTitle": { + "message": "从历史记录中删除这个搜索", + "description": "The title for remove recent search button" + }, + "theme.SearchModal.startScreen.favoriteSearchesTitle": { + "message": "收藏", + "description": "The title for favorite searches" + }, + "theme.SearchModal.startScreen.removeFavoriteSearchButtonTitle": { + "message": "从收藏列表中删除这个搜索", + "description": "The title for remove favorite search button" + }, + "theme.SearchModal.startScreen.recentConversationsTitle": { + "message": "最近的对话", + "description": "The title for recent conversations" + }, + "theme.SearchModal.startScreen.removeRecentConversationButtonTitle": { + "message": "从历史记录中删除此对话", + "description": "The title for remove recent conversation button" + }, + "theme.SearchModal.errorScreen.titleText": { + "message": "无法获取结果", + "description": "The title for error screen" + }, + "theme.SearchModal.errorScreen.helpText": { + "message": "你可能需要检查网络连接。", + "description": "The help text for error screen" + }, + "theme.SearchModal.resultsScreen.askAiPlaceholder": { + "message": "询问 AI:", + "description": "The placeholder text for Ask AI input" + }, + "theme.SearchModal.askAiScreen.disclaimerText": { + "message": "回答由 AI 生成,可能存在错误,请核实内容。", + "description": "The disclaimer text for AI answers" + }, + "theme.SearchModal.askAiScreen.relatedSourcesText": { + "message": "相关来源", + "description": "The text for related sources" + }, + "theme.SearchModal.askAiScreen.thinkingText": { + "message": "思考中...", + "description": "The text when AI is thinking" + }, + "theme.SearchModal.askAiScreen.copyButtonText": { + "message": "复制", + "description": "The text for copy button" + }, + "theme.SearchModal.askAiScreen.copyButtonCopiedText": { + "message": "已复制!", + "description": "The text for copy button when copied" + }, + "theme.SearchModal.askAiScreen.copyButtonTitle": { + "message": "复制", + "description": "The title for copy button" + }, + "theme.SearchModal.askAiScreen.likeButtonTitle": { + "message": "赞", + "description": "The title for like button" + }, + "theme.SearchModal.askAiScreen.dislikeButtonTitle": { + "message": "踩", + "description": "The title for dislike button" + }, + "theme.SearchModal.askAiScreen.thanksForFeedbackText": { + "message": "感谢你的反馈!", + "description": "The text for thanks for feedback" + }, + "theme.SearchModal.askAiScreen.preToolCallText": { + "message": "搜索中...", + "description": "The text before tool call" + }, + "theme.SearchModal.askAiScreen.duringToolCallText": { + "message": "正在搜索 ", + "description": "The text during tool call" + }, + "theme.SearchModal.askAiScreen.afterToolCallText": { + "message": "已搜索", + "description": "The text after tool call" + }, + "theme.SearchModal.footer.selectText": { + "message": "选中", + "description": "The select text for footer" + }, + "theme.SearchModal.footer.submitQuestionText": { + "message": "提交问题", + "description": "The submit question text for footer" + }, + "theme.SearchModal.footer.selectKeyAriaLabel": { + "message": "Enter 键", + "description": "The ARIA label for select key in footer" + }, + "theme.SearchModal.footer.navigateText": { + "message": "导航", + "description": "The navigate text for footer" + }, + "theme.SearchModal.footer.navigateUpKeyAriaLabel": { + "message": "向上键", + "description": "The ARIA label for navigate up key in footer" + }, + "theme.SearchModal.footer.navigateDownKeyAriaLabel": { + "message": "向下键", + "description": "The ARIA label for navigate down key in footer" + }, + "theme.SearchModal.footer.closeText": { + "message": "关闭", + "description": "The close text for footer" + }, + "theme.SearchModal.footer.closeKeyAriaLabel": { + "message": "Esc 键", + "description": "The ARIA label for close key in footer" + }, + "theme.SearchModal.footer.searchByText": { + "message": "搜索提供", + "description": "The 'Powered by' text for footer" + }, + "theme.SearchModal.footer.backToSearchText": { + "message": "返回搜索", + "description": "The back to search text for footer" + }, + "theme.SearchModal.noResultsScreen.noResultsText": { + "message": "没有结果:", + "description": "The text when there are no results" + }, + "theme.SearchModal.noResultsScreen.suggestedQueryText": { + "message": "试试搜索", + "description": "The text for suggested query" + }, + "theme.SearchModal.noResultsScreen.reportMissingResultsText": { + "message": "认为这个查询应该有结果?", + "description": "The text for reporting missing results" + }, + "theme.SearchModal.noResultsScreen.reportMissingResultsLinkText": { + "message": "请告知我们。", + "description": "The link text for reporting missing results" + }, + "theme.SearchModal.placeholder": { + "message": "搜索文档", + "description": "The placeholder of the input of the DocSearch pop-up modal" + }, + "theme.SearchPage.documentsFound.plurals": { + "message": "找到 {count} 份文件", + "description": "Pluralized label for \"{count} documents found\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)" + }, + "theme.SearchPage.existingResultsTitle": { + "message": "「{query}」的搜索结果", + "description": "The search page title for non-empty query" + }, + "theme.SearchPage.emptyResultsTitle": { + "message": "在文档中搜索", + "description": "The search page title for empty query" + }, + "theme.SearchPage.inputPlaceholder": { + "message": "在此输入搜索词", + "description": "The placeholder for search page input" + }, + "theme.SearchPage.inputLabel": { + "message": "搜索", + "description": "The ARIA label for search page input" + }, + "theme.SearchPage.algoliaLabel": { + "message": "由 Algolia 提供", + "description": "The description label for Algolia mention" + }, + "theme.SearchPage.noResultsText": { + "message": "未找到结果", + "description": "The paragraph for empty search result" + }, + "theme.SearchPage.fetchingNewResults": { + "message": "正在获取新的搜索结果...", + "description": "The paragraph for fetching new search results" + }, + "theme.blog.post.plurals": { + "message": "{count} 篇博文", + "description": "Pluralized label for \"{count} posts\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)" + }, + "theme.blog.tagTitle": { + "message": "{nPosts} 含有标签「{tagName}」", + "description": "The title of the page for a blog tag" + }, + "theme.blog.author.pageTitle": { + "message": "{authorName} - {nPosts}", + "description": "The title of the page for a blog author" + }, + "theme.blog.authorsList.pageTitle": { + "message": "作者", + "description": "The title of the authors page" + }, + "theme.blog.authorsList.viewAll": { + "message": "查看所有作者", + "description": "The label of the link targeting the blog authors page" + }, + "theme.blog.author.noPosts": { + "message": "该作者尚未撰写任何文章。", + "description": "The text for authors with 0 blog post" + }, + "theme.contentVisibility.unlistedBanner.title": { + "message": "未列出页", + "description": "The unlisted content banner title" + }, + "theme.contentVisibility.unlistedBanner.message": { + "message": "此页面未列出。搜索引擎不会对其索引,只有拥有直接链接的用户才能访问。", + "description": "The unlisted content banner message" + }, + "theme.contentVisibility.draftBanner.title": { + "message": "草稿页", + "description": "The draft content banner title" + }, + "theme.contentVisibility.draftBanner.message": { + "message": "此页面是草稿,仅在开发环境中可见,不会包含在正式版本中。", + "description": "The draft content banner message" + }, + "theme.docs.DocCard.categoryDescription.plurals": { + "message": "{count} 个项目", + "description": "The default description for a category card in the generated index about how many items this category includes" + }, + "theme.ErrorPageContent.tryAgain": { + "message": "重试", + "description": "The label of the button to try again rendering when the React error boundary captures an error" + }, + "theme.common.skipToMainContent": { + "message": "跳到主要内容", + "description": "The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation" + }, + "theme.docs.sidebar.filterPlaceholder": { + "message": "筛选文档", + "description": "文档侧边栏筛选输入框的占位文本" + }, + "theme.docs.sidebar.clearFilter": { + "message": "清除筛选", + "description": "清除文档侧边栏筛选的ARIA标签" + }, + "theme.docs.sidebar.filterNoResults": { + "message": "没有匹配的文档", + "description": "文档侧边栏筛选无结果时显示的标题" + }, + "theme.docs.sidebar.filterNoResultsHint": { + "message": "换个关键词试试。", + "description": "文档侧边栏筛选无结果时显示的提示" } } diff --git a/frontend/i18n/zh-CN/docusaurus-plugin-content-blog/options.json b/frontend/i18n/zh-CN/docusaurus-plugin-content-blog/options.json index f263e776434e..ecb06b6c07aa 100644 --- a/frontend/i18n/zh-CN/docusaurus-plugin-content-blog/options.json +++ b/frontend/i18n/zh-CN/docusaurus-plugin-content-blog/options.json @@ -1,5 +1,13 @@ { "sidebar.title": { "message": "最近的帖子" + }, + "title": { + "message": "博客", + "description": "The title for the blog used in SEO" + }, + "description": { + "message": "博客", + "description": "The description for the blog used in SEO" } } diff --git a/frontend/i18n/zh-CN/docusaurus-plugin-content-docs/current.json b/frontend/i18n/zh-CN/docusaurus-plugin-content-docs/current.json index ce9a835f2a51..5e39ab8573a8 100644 --- a/frontend/i18n/zh-CN/docusaurus-plugin-content-docs/current.json +++ b/frontend/i18n/zh-CN/docusaurus-plugin-content-docs/current.json @@ -28,5 +28,9 @@ }, "sidebar.docsSidebar.category.Meta": { "message": "元数据" + }, + "version.label": { + "message": "下一版本", + "description": "The label for version current" } } diff --git a/frontend/i18n/zh-CN/docusaurus-theme-classic/footer.json b/frontend/i18n/zh-CN/docusaurus-theme-classic/footer.json index e56e68b0ae1a..38077a32279f 100644 --- a/frontend/i18n/zh-CN/docusaurus-theme-classic/footer.json +++ b/frontend/i18n/zh-CN/docusaurus-theme-classic/footer.json @@ -1,7 +1,7 @@ { - "link.title.Documentations": { + "link.title.Documentation": { "message": "文档", - "description": "页脚中标题为Documentations的链接列标题" + "description": "The title of the footer links column with title=Documentation in the footer" }, "link.title.Community": { "message": "社区", @@ -62,5 +62,21 @@ "link.item.label.SA-MP": { "message": "SA-MP", "description": "标签为SA-MP的页脚链接,指向https://sa-mp.mp/" + }, + "link.item.label.Download Launcher": { + "message": "下载启动器", + "description": "The label of footer link with label=Download Launcher linking to /downloads/launcher" + }, + "link.item.label.Download Server": { + "message": "下载服务器", + "description": "The label of footer link with label=Download Server linking to /downloads/server" + }, + "copyright": { + "message": "版权所有 © 2026 open.mp。基于 Docusaurus 构建。", + "description": "The footer copyright" + }, + "logo.alt": { + "message": "open.mp", + "description": "The alt text of footer logo" } } diff --git a/frontend/i18n/zh-CN/docusaurus-theme-classic/navbar.json b/frontend/i18n/zh-CN/docusaurus-theme-classic/navbar.json index 63d701fbbc74..61bc97fd47ae 100644 --- a/frontend/i18n/zh-CN/docusaurus-theme-classic/navbar.json +++ b/frontend/i18n/zh-CN/docusaurus-theme-classic/navbar.json @@ -26,5 +26,13 @@ "item.label.Donate": { "message": "捐赠", "description": "标签为Donate的导航栏项目" + }, + "logo.alt": { + "message": "open.mp 标志", + "description": "The alt text of navbar logo" + }, + "item.label.Donate to us": { + "message": "向我们捐赠", + "description": "Navbar item with label Donate to us" } } diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 5abe999ddc11..fed06b8748b6 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -13,6 +13,7 @@ "@docusaurus/preset-classic": "^3.5.2", "@mdx-js/react": "^3.0.0", "@pondorasti/remark-img-links": "^1.0.8", + "cheerio": "^1.2.0", "clsx": "^2.0.0", "nprogress": "^0.2.0", "prism-react-renderer": "^2.3.0", @@ -23,7 +24,9 @@ "react-dom": "^18.3.1", "react-icons": "^5.4.0", "react-router-dom": "^7.1.5", - "react-window": "^2.2.7" + "react-window": "^2.2.7", + "turndown": "^7.2.5", + "turndown-plugin-gfm": "^1.0.2" }, "devDependencies": { "@docusaurus/module-type-aliases": "^3.10.1", @@ -3711,6 +3714,46 @@ "react-dom": "^18.0.0 || ^19.0.0" } }, + "node_modules/@docusaurus/plugin-content-blog/node_modules/cheerio": { + "version": "1.0.0-rc.12", + "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-1.0.0-rc.12.tgz", + "integrity": "sha512-VqR8m68vM46BNnuZ5NtnGBKIE/DfN0cRIzg9n40EIq9NOv90ayxLBXA8fXC5gquFRGJSTRqBq25Jt2ECLR431Q==", + "license": "MIT", + "dependencies": { + "cheerio-select": "^2.1.0", + "dom-serializer": "^2.0.0", + "domhandler": "^5.0.3", + "domutils": "^3.0.1", + "htmlparser2": "^8.0.1", + "parse5": "^7.0.0", + "parse5-htmlparser2-tree-adapter": "^7.0.0" + }, + "engines": { + "node": ">= 6" + }, + "funding": { + "url": "https://github.com/cheeriojs/cheerio?sponsor=1" + } + }, + "node_modules/@docusaurus/plugin-content-blog/node_modules/htmlparser2": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-8.0.2.tgz", + "integrity": "sha512-GYdjWKDkbRLkZ5geuHs5NY1puJ+PXwP7+fHPRz06Eirsb9ugf6d8kkXav6ADhcODhFFPMIXyxkxSuMf3D6NCFA==", + "funding": [ + "https://github.com/fb55/htmlparser2?sponsor=1", + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "license": "MIT", + "dependencies": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.3", + "domutils": "^3.0.1", + "entities": "^4.4.0" + } + }, "node_modules/@docusaurus/plugin-content-docs": { "version": "3.10.1", "resolved": "https://registry.npmjs.org/@docusaurus/plugin-content-docs/-/plugin-content-docs-3.10.1.tgz", @@ -4777,6 +4820,12 @@ "react": ">=16" } }, + "node_modules/@mixmark-io/domino": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@mixmark-io/domino/-/domino-2.2.0.tgz", + "integrity": "sha512-Y28PR25bHXUg88kCV7nivXrP2Nj2RueZ3/l/jdx6J9f8J4nsEGcgX0Qe6lt7Pa+J79+kPiJU3LguR6O/6zrLOw==", + "license": "BSD-2-Clause" + }, "node_modules/@module-federation/error-codes": { "version": "0.22.0", "resolved": "https://registry.npmjs.org/@module-federation/error-codes/-/error-codes-0.22.0.tgz", @@ -7533,21 +7582,25 @@ } }, "node_modules/cheerio": { - "version": "1.0.0-rc.12", - "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-1.0.0-rc.12.tgz", - "integrity": "sha512-VqR8m68vM46BNnuZ5NtnGBKIE/DfN0cRIzg9n40EIq9NOv90ayxLBXA8fXC5gquFRGJSTRqBq25Jt2ECLR431Q==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-1.2.0.tgz", + "integrity": "sha512-WDrybc/gKFpTYQutKIK6UvfcuxijIZfMfXaYm8NMsPQxSYvf+13fXUJ4rztGGbJcBQ/GF55gvrZ0Bc0bj/mqvg==", "license": "MIT", "dependencies": { "cheerio-select": "^2.1.0", "dom-serializer": "^2.0.0", "domhandler": "^5.0.3", - "domutils": "^3.0.1", - "htmlparser2": "^8.0.1", - "parse5": "^7.0.0", - "parse5-htmlparser2-tree-adapter": "^7.0.0" + "domutils": "^3.2.2", + "encoding-sniffer": "^0.2.1", + "htmlparser2": "^10.1.0", + "parse5": "^7.3.0", + "parse5-htmlparser2-tree-adapter": "^7.1.0", + "parse5-parser-stream": "^7.1.2", + "undici": "^7.19.0", + "whatwg-mimetype": "^4.0.0" }, "engines": { - "node": ">= 6" + "node": ">=20.18.1" }, "funding": { "url": "https://github.com/cheeriojs/cheerio?sponsor=1" @@ -7855,6 +7908,15 @@ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", "license": "MIT" }, + "node_modules/compression/node_modules/negotiator": { + "version": "0.6.4", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.4.tgz", + "integrity": "sha512-myRT3DiWPHqho5PrJaIRyaMv2kgYf0mUVgBNOYMuCH5Ki1yEiQaf/ZJuQ62nvpc44wL5WDbTX7yGJi1Neevw8w==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, "node_modules/concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", @@ -9001,6 +9063,31 @@ "node": ">= 0.8" } }, + "node_modules/encoding-sniffer": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/encoding-sniffer/-/encoding-sniffer-0.2.1.tgz", + "integrity": "sha512-5gvq20T6vfpekVtqrYQsSCFZ1wEg5+wW0/QaZMWkFr6BqD3NfKs0rLCx4rrVlSWJeZb5NBJgVLswK/w2MWU+Gw==", + "license": "MIT", + "dependencies": { + "iconv-lite": "^0.6.3", + "whatwg-encoding": "^3.1.1" + }, + "funding": { + "url": "https://github.com/fb55/encoding-sniffer?sponsor=1" + } + }, + "node_modules/encoding-sniffer/node_modules/iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "license": "MIT", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/enhanced-resolve": { "version": "5.21.6", "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.21.6.tgz", @@ -10509,9 +10596,9 @@ } }, "node_modules/htmlparser2": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-8.0.2.tgz", - "integrity": "sha512-GYdjWKDkbRLkZ5geuHs5NY1puJ+PXwP7+fHPRz06Eirsb9ugf6d8kkXav6ADhcODhFFPMIXyxkxSuMf3D6NCFA==", + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-10.1.0.tgz", + "integrity": "sha512-VTZkM9GWRAtEpveh7MSF6SjjrpNVNNVJfFup7xTY3UpFtm67foy9HDVXneLtFVt4pMz5kZtgNcvCniNFb1hlEQ==", "funding": [ "https://github.com/fb55/htmlparser2?sponsor=1", { @@ -10523,8 +10610,20 @@ "dependencies": { "domelementtype": "^2.3.0", "domhandler": "^5.0.3", - "domutils": "^3.0.1", - "entities": "^4.4.0" + "domutils": "^3.2.2", + "entities": "^7.0.1" + } + }, + "node_modules/htmlparser2/node_modules/entities": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/entities/-/entities-7.0.1.tgz", + "integrity": "sha512-TWrgLOFUQTH994YUyl1yT4uyavY5nNB5muff+RtWaqNVCAK408b5ZnnbNAUEWLTCpum9w6arT70i1XdQ4UeOPA==", + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" } }, "node_modules/http-cache-semantics": { @@ -14165,15 +14264,6 @@ "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" } }, - "node_modules/negotiator": { - "version": "0.6.4", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.4.tgz", - "integrity": "sha512-myRT3DiWPHqho5PrJaIRyaMv2kgYf0mUVgBNOYMuCH5Ki1yEiQaf/ZJuQ62nvpc44wL5WDbTX7yGJi1Neevw8w==", - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, "node_modules/neo-async": { "version": "2.6.2", "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", @@ -14674,6 +14764,18 @@ "url": "https://github.com/inikulin/parse5?sponsor=1" } }, + "node_modules/parse5-parser-stream": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/parse5-parser-stream/-/parse5-parser-stream-7.1.2.tgz", + "integrity": "sha512-JyeQc9iwFLn5TbvvqACIF/VXG6abODeB3Fwmv/TGdLk2LfbWkaySGY72at4+Ty7EkPZj854u4CrICqNk2qIbow==", + "license": "MIT", + "dependencies": { + "parse5": "^7.0.0" + }, + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" + } + }, "node_modules/parse5/node_modules/entities": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/entities/-/entities-6.0.1.tgz", @@ -18592,6 +18694,25 @@ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", "license": "0BSD" }, + "node_modules/turndown": { + "version": "7.2.5", + "resolved": "https://registry.npmjs.org/turndown/-/turndown-7.2.5.tgz", + "integrity": "sha512-EKZvCCFHh8sWttpAMs10U6niZFJ2cpz8LkCPlylxoG4JcHF50J7EHnnBW3AY1qXtUMu7kDjCp7dnggB1sIbqEQ==", + "license": "MIT", + "dependencies": { + "@mixmark-io/domino": "^2.2.0" + }, + "engines": { + "node": ">=18", + "npm": ">=9" + } + }, + "node_modules/turndown-plugin-gfm": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/turndown-plugin-gfm/-/turndown-plugin-gfm-1.0.2.tgz", + "integrity": "sha512-vwz9tfvF7XN/jE0dGoBei3FXWuvll78ohzCZQuOb+ZjWrs3a0XhQVomJEb2Qh4VHTPNRO4GPZh0V7VRbiWwkRg==", + "license": "MIT" + }, "node_modules/type-fest": { "version": "2.19.0", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.19.0.tgz", @@ -18661,6 +18782,15 @@ "node": ">=14.17" } }, + "node_modules/undici": { + "version": "7.30.2", + "resolved": "https://registry.npmjs.org/undici/-/undici-7.30.2.tgz", + "integrity": "sha512-mLyPQnHwUxaM/rideoK/+KL8DaAJLRl4aBCfmX444aCSLnIaomqPLtNRe2jdCYcsk5wZzXrDIQC8ZeYNRAYyIA==", + "license": "MIT", + "engines": { + "node": ">=20.18.1" + } + }, "node_modules/undici-types": { "version": "7.24.6", "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.24.6.tgz", @@ -19522,6 +19652,40 @@ "node": ">=0.8.0" } }, + "node_modules/whatwg-encoding": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-3.1.1.tgz", + "integrity": "sha512-6qN4hJdMwfYBtE3YBTTHhoeuUrDBPZmbQaxWAqSALV/MeEnR5z1xd8UKud2RAkFoPkmB+hli1TZSnyi84xz1vQ==", + "deprecated": "Use @exodus/bytes instead for a more spec-conformant and faster implementation", + "license": "MIT", + "dependencies": { + "iconv-lite": "0.6.3" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/whatwg-encoding/node_modules/iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "license": "MIT", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/whatwg-mimetype": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-4.0.0.tgz", + "integrity": "sha512-QaKxh0eNIi2mE9p2vEdzfagOKHCcj1pJ56EEHGQOVxp8r9/iszLUUV7v89x9O1p/T+NlTM5W7jW6+cz4Fq1YVg==", + "license": "MIT", + "engines": { + "node": ">=18" + } + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", diff --git a/frontend/package.json b/frontend/package.json index c452cbd2304e..c5fb64396b97 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -5,7 +5,7 @@ "scripts": { "docusaurus": "docusaurus", "start": "docusaurus start", - "build": "docusaurus build", + "build": "docusaurus build && node scripts/agent-build.mjs", "swizzle": "docusaurus swizzle", "deploy": "docusaurus deploy", "clear": "docusaurus clear", @@ -20,6 +20,7 @@ "@docusaurus/preset-classic": "^3.5.2", "@mdx-js/react": "^3.0.0", "@pondorasti/remark-img-links": "^1.0.8", + "cheerio": "^1.2.0", "clsx": "^2.0.0", "nprogress": "^0.2.0", "prism-react-renderer": "^2.3.0", @@ -30,7 +31,9 @@ "react-dom": "^18.3.1", "react-icons": "^5.4.0", "react-router-dom": "^7.1.5", - "react-window": "^2.2.7" + "react-window": "^2.2.7", + "turndown": "^7.2.5", + "turndown-plugin-gfm": "^1.0.2" }, "devDependencies": { "@docusaurus/module-type-aliases": "^3.10.1", diff --git a/frontend/public/images/launcher/add.svg b/frontend/public/images/launcher/add.svg new file mode 100644 index 000000000000..cf83fc08c303 --- /dev/null +++ b/frontend/public/images/launcher/add.svg @@ -0,0 +1,3 @@ + + + diff --git a/frontend/public/images/launcher/close_side_lists.svg b/frontend/public/images/launcher/close_side_lists.svg new file mode 100644 index 000000000000..74f284b84a17 --- /dev/null +++ b/frontend/public/images/launcher/close_side_lists.svg @@ -0,0 +1,49 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/frontend/public/images/launcher/copy.png b/frontend/public/images/launcher/copy.png new file mode 100644 index 000000000000..27ed9a9a6ac9 Binary files /dev/null and b/frontend/public/images/launcher/copy.png differ diff --git a/frontend/public/images/launcher/darktheme.svg b/frontend/public/images/launcher/darktheme.svg new file mode 100644 index 000000000000..cf81ae496333 --- /dev/null +++ b/frontend/public/images/launcher/darktheme.svg @@ -0,0 +1,4 @@ + + + + diff --git a/frontend/public/images/launcher/discord.svg b/frontend/public/images/launcher/discord.svg new file mode 100644 index 000000000000..174b1da35208 --- /dev/null +++ b/frontend/public/images/launcher/discord.svg @@ -0,0 +1,11 @@ + + + + + + + \ No newline at end of file diff --git a/frontend/public/images/launcher/fav_add.svg b/frontend/public/images/launcher/fav_add.svg new file mode 100644 index 000000000000..df49d1776074 --- /dev/null +++ b/frontend/public/images/launcher/fav_add.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/frontend/public/images/launcher/fav_remove.svg b/frontend/public/images/launcher/fav_remove.svg new file mode 100644 index 000000000000..e7ac0c610cf5 --- /dev/null +++ b/frontend/public/images/launcher/fav_remove.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/frontend/public/images/launcher/fav_tab.svg b/frontend/public/images/launcher/fav_tab.svg new file mode 100644 index 000000000000..df49d1776074 --- /dev/null +++ b/frontend/public/images/launcher/fav_tab.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/frontend/public/images/launcher/favorite.png b/frontend/public/images/launcher/favorite.png new file mode 100644 index 000000000000..95f8d6a24d13 Binary files /dev/null and b/frontend/public/images/launcher/favorite.png differ diff --git a/frontend/public/images/launcher/filter.svg b/frontend/public/images/launcher/filter.svg new file mode 100644 index 000000000000..08b747e55903 --- /dev/null +++ b/frontend/public/images/launcher/filter.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/frontend/public/images/launcher/game.svg b/frontend/public/images/launcher/game.svg new file mode 100644 index 000000000000..cdae9b49e854 --- /dev/null +++ b/frontend/public/images/launcher/game.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/frontend/public/images/launcher/internet.svg b/frontend/public/images/launcher/internet.svg new file mode 100644 index 000000000000..8ea78844ad77 --- /dev/null +++ b/frontend/public/images/launcher/internet.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/frontend/public/images/launcher/ip.svg b/frontend/public/images/launcher/ip.svg new file mode 100644 index 000000000000..951af7756407 --- /dev/null +++ b/frontend/public/images/launcher/ip.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/frontend/public/images/launcher/language.svg b/frontend/public/images/launcher/language.svg new file mode 100644 index 000000000000..ed78baada4b8 --- /dev/null +++ b/frontend/public/images/launcher/language.svg @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/frontend/public/images/launcher/lighttheme.svg b/frontend/public/images/launcher/lighttheme.svg new file mode 100644 index 000000000000..3bac7d9bdd5c --- /dev/null +++ b/frontend/public/images/launcher/lighttheme.svg @@ -0,0 +1,4 @@ + + + + diff --git a/frontend/public/images/launcher/locked.svg b/frontend/public/images/launcher/locked.svg new file mode 100644 index 000000000000..4a334844b5fc --- /dev/null +++ b/frontend/public/images/launcher/locked.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/frontend/public/images/launcher/mode.svg b/frontend/public/images/launcher/mode.svg new file mode 100644 index 000000000000..e1efb4c13581 --- /dev/null +++ b/frontend/public/images/launcher/mode.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/frontend/public/images/launcher/nickname.svg b/frontend/public/images/launcher/nickname.svg new file mode 100644 index 000000000000..1a8d0c4a8d3c --- /dev/null +++ b/frontend/public/images/launcher/nickname.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/frontend/public/images/launcher/omp.png b/frontend/public/images/launcher/omp.png new file mode 100644 index 000000000000..15bca8cc33f4 Binary files /dev/null and b/frontend/public/images/launcher/omp.png differ diff --git a/frontend/public/images/launcher/open_side_lists.svg b/frontend/public/images/launcher/open_side_lists.svg new file mode 100644 index 000000000000..bd24c2b917d3 --- /dev/null +++ b/frontend/public/images/launcher/open_side_lists.svg @@ -0,0 +1,47 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/frontend/public/images/launcher/partner.svg b/frontend/public/images/launcher/partner.svg new file mode 100644 index 000000000000..b8e4f2c0f7d1 --- /dev/null +++ b/frontend/public/images/launcher/partner.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/frontend/public/images/launcher/play.svg b/frontend/public/images/launcher/play.svg new file mode 100644 index 000000000000..eb75877b2933 --- /dev/null +++ b/frontend/public/images/launcher/play.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/frontend/public/images/launcher/recently.svg b/frontend/public/images/launcher/recently.svg new file mode 100644 index 000000000000..50cd894f0f9f --- /dev/null +++ b/frontend/public/images/launcher/recently.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/frontend/public/images/launcher/search.svg b/frontend/public/images/launcher/search.svg new file mode 100644 index 000000000000..7c8ffbae22ce --- /dev/null +++ b/frontend/public/images/launcher/search.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/frontend/public/images/launcher/settings.svg b/frontend/public/images/launcher/settings.svg new file mode 100644 index 000000000000..30165fc866f3 --- /dev/null +++ b/frontend/public/images/launcher/settings.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/frontend/public/images/launcher/unlocked.svg b/frontend/public/images/launcher/unlocked.svg new file mode 100644 index 000000000000..eb5ae3e95c58 --- /dev/null +++ b/frontend/public/images/launcher/unlocked.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/frontend/public/images/launcher/window_close.svg b/frontend/public/images/launcher/window_close.svg new file mode 100644 index 000000000000..08c0a8cfea72 --- /dev/null +++ b/frontend/public/images/launcher/window_close.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/frontend/public/images/launcher/window_maximize.svg b/frontend/public/images/launcher/window_maximize.svg new file mode 100644 index 000000000000..bbc50a009a61 --- /dev/null +++ b/frontend/public/images/launcher/window_maximize.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/frontend/public/images/launcher/window_minimize.svg b/frontend/public/images/launcher/window_minimize.svg new file mode 100644 index 000000000000..49c2ef523f2a --- /dev/null +++ b/frontend/public/images/launcher/window_minimize.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/frontend/scripts/agent-build.mjs b/frontend/scripts/agent-build.mjs new file mode 100644 index 000000000000..ce86839cd287 --- /dev/null +++ b/frontend/scripts/agent-build.mjs @@ -0,0 +1,235 @@ +// Runs after `docusaurus build`. Gives every page a Markdown twin and writes the files +// agents look for: llms.txt, agent-instructions.md, sitemap.md, robots.txt and 404.md. All +// plain files, so any static host (GitHub Pages included) serves them. Also writes +// agent-manifest.json, an inventory of the build for a server that wants to answer +// Accept: text/markdown on the page URLs themselves. Usage: agent-build.mjs [buildDir] +import * as cheerio from "cheerio"; +import { mkdir, readFile, readdir, stat, writeFile } from "node:fs/promises"; +import path from "node:path"; +import TurndownService from "turndown"; +import { gfm } from "turndown-plugin-gfm"; + +const buildDir = path.resolve(process.argv[2] || "build"); +const origin = (process.env.SITE_URL || "https://open.mp").replace(/\/$/, ""); + +const turndown = new TurndownService({ headingStyle: "atx", codeBlockStyle: "fenced", bulletListMarker: "-" }); +turndown.use(gfm); +turndown.addRule("codeBlock", { + filter: (node) => node.nodeName === "PRE", + replacement: (_content, node) => { + const code = node.querySelector("code") || node; + const language = /language-([\w-]+)/.exec(`${code.getAttribute("class") || ""} ${node.getAttribute("class") || ""}`)?.[1] || ""; + return `\n\n\`\`\`${language}\n${code.textContent.replace(/\n$/, "")}\n\`\`\`\n\n`; + }, +}); + +const MIME = { + html: "text/html", md: "text/markdown", txt: "text/plain", xml: "application/xml", json: "application/json", + js: "text/javascript", css: "text/css", map: "application/json", png: "image/png", jpg: "image/jpeg", jpeg: "image/jpeg", + gif: "image/gif", webp: "image/webp", svg: "image/svg+xml", ico: "image/x-icon", woff: "font/woff", woff2: "font/woff2", + ttf: "font/ttf", otf: "font/otf", mp4: "video/mp4", webm: "video/webm", mp3: "audio/mpeg", pdf: "application/pdf", + zip: "application/zip", webmanifest: "application/manifest+json", +}; +const typeOf = (file) => MIME[path.extname(file).slice(1).toLowerCase()] || "application/octet-stream"; + +async function walk(dir, found = []) { + for (const entry of await readdir(dir, { withFileTypes: true })) { + if (entry.name.startsWith(".")) continue; + const full = path.join(dir, entry.name); + if (entry.isDirectory()) await walk(full, found); + else found.push(full); + } + return found; +} + +const webPath = (file) => `/${path.relative(buildDir, file).split(path.sep).join("/")}`; +const isErrorDoc = (p) => /^\/(?:[a-zA-Z-]+\/)?404\.html$/.test(p); +// Static HTML files that are not pages of the site. +const isVerification = (p) => /^(?:\/[a-zA-Z-]+)?\/google[0-9a-f]+\.html$/.test(p) || /^(?:\/[a-zA-Z-]+)?\/images\//.test(p); +const routeOf = (htmlPath) => { + const route = htmlPath.replace(/(?:\/index)?\.html$/, ""); + return route === "" ? "/" : route; +}; +const markdownOf = (htmlPath) => (htmlPath === "/index.html" ? "/index.md" : htmlPath.replace(/\.html$/, ".md")); + +// Live data the page only loads in the browser, which a Markdown reader would otherwise miss. +const LIVE_NOTES = [ + [/^(?:\/[a-zA-Z-]+)?\/servers$/, `The server list is loaded live in the browser. Read it directly as JSON from https://api.open.mp/servers/ (details for one server: https://api.open.mp/servers/{ip:port}).`], + [/^(?:\/[a-zA-Z-]+)?\/partners$/, `The partner list is loaded live in the browser. Read it from https://api.open.mp/servers/ and keep the entries where \`pr\` is true.`], +]; + +function toMarkdown(html, route) { + const $ = cheerio.load(html); + const title = $("title").first().text().trim(); + const description = $('meta[name="description"]').attr("content")?.trim() || ""; + const language = $("html").attr("lang") || "en"; + const root = $("article").length === 1 ? $("article").first() : $("#__docusaurus_skipToContent_fallback").first(); + root.find( + 'script, style, svg, button, nav, aside, footer, [aria-hidden="true"], [role="img"], .hash-link, .pagination-nav, .theme-edit-this-page, .theme-doc-toc-mobile, .theme-doc-toc-desktop, .theme-doc-breadcrumbs, .theme-doc-version-badge, .loading-banner, img[alt=""]', + ).remove(); + root.find("pre br").replaceWith("\n"); + root.find("pre .token-line").each((_, line) => { + const node = $(line); + if (!node.text().endsWith("\n")) node.append("\n"); + }); + root.find("a[href]").each((_, a) => { + const href = $(a).attr("href"); + if (href?.startsWith("/")) $(a).attr("href", `${origin}${href}`); + }); + root.find("img[src]").each((_, img) => { + const src = $(img).attr("src"); + if (src?.startsWith("/")) $(img).attr("src", `${origin}${src}`); + }); + const body = turndown.turndown(root.html() || "").replace(/\n{3,}/g, "\n\n").trim(); + const note = LIVE_NOTES.find(([pattern]) => pattern.test(route))?.[1]; + const canonical = `${origin}${route === "/" ? "/" : route}`; + const front = [ + "---", + `title: ${JSON.stringify(title)}`, + ...(description ? [`description: ${JSON.stringify(description)}`] : []), + `canonical: ${canonical}`, + `language: ${language}`, + "---", + "", + ].join("\n"); + return { title, description, canonical, language, markdown: `${front}\n${body || description}${note ? `\n\n${note}` : ""}\n` }; +} + +// The theme is normally set by an inline script, which would leave the page light with +// JavaScript off. This is the fallback: with JavaScript on, the script replaces it before paint. +const withTheme = (html) => html.replace(/]*data-theme)/, " + withTheme(html).replace( + "", + ``, + ); + +// Only English pages get a Markdown copy: agents read English, and copying all 25 languages +// would add tens of thousands of files and minutes to every build for little gain. +const isEnglish = (html) => /]*\slang=["']?en(?:-[A-Za-z]+)?(?=["'\s>])/.test(html); + +const files = await walk(buildDir); +const routes = {}; +const pages = []; +const errorDocs = []; + +for (const file of files) { + const htmlPath = webPath(file); + if (!htmlPath.endsWith(".html") || isVerification(htmlPath)) continue; + const html = await readFile(file, "utf8"); + if (!isEnglish(html)) { + await writeFile(file, withTheme(html)); + continue; + } + if (isErrorDoc(htmlPath)) { + errorDocs.push(htmlPath); + const prefix = htmlPath.replace(/\/404\.html$/, ""); + await writeFile(file, injectLinks(html, `${origin}${prefix}/404.md`)); + await writeFile( + path.join(buildDir, `${prefix.slice(1)}/404.md`.replace(/^\//, "")), + `# 404: page not found\n\nThis address does not exist on open.mp. Do not keep guessing URLs; use one of these:\n\n- [Site index for agents](${origin}/llms.txt)\n- [Every page](${origin}/sitemap.md)\n- [XML sitemap](${origin}/sitemap.xml)\n`, + ); + continue; + } + const route = routeOf(htmlPath); + const mdPath = markdownOf(htmlPath); + const page = toMarkdown(html, route); + await writeFile(path.join(buildDir, mdPath.slice(1)), page.markdown); + await writeFile(file, injectLinks(html, `${origin}${mdPath}`)); + routes[route] = { html: htmlPath, markdown: mdPath, canonical: page.canonical, language: page.language }; + pages.push({ route, mdPath, title: page.title.replace(/ \| .*$/, ""), language: page.language }); +} + +const defaultLanguagePages = pages.filter((page) => !/^\/(?:ar|bs|de|es|fa|fil|fr|hu|id|it|nl|pl|pt-BR|ro|ru|sl|sr|ta|th|tr|uk|vi|zh-CN|zh-TW)(?:\/|$)/.test(page.route)); +const link = (page) => `- [${page.title}](${origin}${page.mdPath})`; +const pick = (pattern) => defaultLanguagePages.filter((page) => pattern.test(page.route)).sort((a, b) => a.route.localeCompare(b.route)); + +const llms = `# open.mp + +> open.mp (Open Multiplayer) is a multiplayer mod for Grand Theft Auto: San Andreas, fully backwards compatible with SA-MP. This site has its documentation, scripting reference, downloads, server list and blog. + +## When to use this site + +- Install or run the open.mp launcher or server. +- Look up Pawn scripting functions, callbacks and constants for open.mp and SA-MP. +- Move a SA-MP gamemode or server to open.mp. +- Find current launcher and server releases, or list public servers. + +## Start here + +- [Agent instructions](${origin}/agent-instructions.md) +- [Every page](${origin}/sitemap.md) +- [Documentation](${origin}/docs.md) +- [Server installation](${origin}/docs/server/Installation.md) +- [Launcher downloads](${origin}/downloads/launcher.md) +- [Server downloads](${origin}/downloads/server.md) +- [Changelog](${origin}/docs/changelog.md) + +## Data + +- [Public server list as JSON](https://api.open.mp/servers/) + +## Optional + +- [Blog](${origin}/blog.md) +- [Animations reference](${origin}/animations.md) +- [Source code](https://github.com/openmultiplayer) +`; + +const instructions = `# open.mp: how to use this site + +> The canonical website is ${origin}/. Pages are available as HTML for people and as Markdown for agents. + +## Reading pages + +Add \`.md\` to any page's path to get it as Markdown: + +\`\`\`bash +curl ${origin}/docs/server/Installation.md +\`\`\` + +Start from [llms.txt](${origin}/llms.txt) or the [list of every page](${origin}/sitemap.md). Each Markdown page begins with frontmatter holding its title, canonical URL and language. Cite the canonical URL. + +## Live data + +The server list is at https://api.open.mp/servers/ as a JSON array. Useful fields: \`ip\`, \`hn\` (name), \`pc\` (players), \`pm\` (max players), \`gm\` (game mode), \`la\` (language), \`pa\` (password), \`omp\` (runs open.mp), \`pr\` (partner). Details for one server are at https://api.open.mp/servers/{ip:port}. + +## Boundaries + +This website does not offer an MCP server, or any API for changing a game server. Reading a page or the server list does not change anything. Do not claim otherwise, and do not invent endpoints. + +## Missing pages + +If a page is missing, go back to these indexes rather than guessing addresses. +`; + +const sitemapMd = `# open.mp: every page\n\n${[ + ["Main", /^\/(?:$|servers$|partners$|downloads\/|animations$|uid$)/], + ["Documentation", /^\/docs(?:\/|$)/], + ["Blog", /^\/blog(?:\/|$)/], +] + .map(([name, pattern]) => `## ${name}\n\n${pick(pattern).map(link).join("\n")}`) + .join("\n\n")}\n\n## For agents\n\n- [llms.txt](${origin}/llms.txt)\n- [Agent instructions](${origin}/agent-instructions.md)\n`; + +await writeFile(path.join(buildDir, "llms.txt"), llms); +await writeFile(path.join(buildDir, "agent-instructions.md"), instructions); +await writeFile(path.join(buildDir, "sitemap.md"), sitemapMd); +await writeFile( + path.join(buildDir, "robots.txt"), + `User-agent: *\nContent-Signal: search=yes, ai-input=yes, ai-train=yes\nAllow: /\n\nSitemap: ${origin}/sitemap.xml\n`, +); + +const manifestFiles = {}; +for (const file of await walk(buildDir)) { + const p = webPath(file); + if (p === "/agent-manifest.json") continue; + manifestFiles[p] = { type: typeOf(p) }; +} +for (const route of Object.values(routes)) manifestFiles[route.markdown].canonical = route.canonical; +for (const doc of errorDocs) { + manifestFiles[doc.replace(/\.html$/, ".md")].noindex = true; +} +const manifest = { origin, routes, files: manifestFiles, errorDocuments: errorDocs }; +await writeFile(path.join(buildDir, "agent-manifest.json"), `${JSON.stringify(manifest)}\n`); +const size = (await stat(path.join(buildDir, "agent-manifest.json"))).size; +console.log(`Agent build: ${pages.length} pages mirrored to Markdown, ${errorDocs.length} error documents, manifest ${Math.round(size / 1024)} KB.`); diff --git a/frontend/src/components/HomeArt/index.tsx b/frontend/src/components/HomeArt/index.tsx new file mode 100644 index 000000000000..788f83c6b882 --- /dev/null +++ b/frontend/src/components/HomeArt/index.tsx @@ -0,0 +1,304 @@ +import React, { useEffect, useRef, useState } from "react"; +import { FaGithub } from "react-icons/fa"; +import { FaCar, FaCrosshairs, FaFolderOpen, FaPersonWalking } from "react-icons/fa6"; +import { SiCplusplus } from "react-icons/si"; + +import styles from "./styles.module.css"; + +// Type-only art for the homepage feature tiles, matching the F9, .amx and C++ tiles. +// Decorative: the text beside them says the same thing. + +const THREATS = [ + ["exploit", "payload", "overflow", "injection", "crash", "exploit"], + ["overflow", "crash", "exploit", "payload", "injection", "overflow"], + ["payload", "injection", "crash", "overflow", "exploit", "payload"], + ["crash", "exploit", "injection", "payload", "overflow", "crash"], + ["injection", "overflow", "payload", "exploit", "crash", "injection"], +]; + +const ThreatWords = ({ words }: { words: string[] }) => ( + + {words.map((word, index) => ( + {word} + ))} + +); + +export const ShieldArt = (): React.ReactElement => ( + + + {THREATS.map((words, index) => ( + + + + + ))} + + RCE + +); + +// What players send, and what actually crosses the network. +const STREAMS = [ + ["/login ******** gg wp hey everyone /pm Ghost meet at grove ", "9f3a c1e8 07bd 52a6 e4f0 3b7c d218 6a9e b47e 1fd2 a805 6c39 "], + ["SetPlayerPos OnPlayerText anyone up for a race? /engine on ", "2d6c 8ea1 f350 b79d 416e ca02 7f8b e593 e071 5ab9 3cd4 f826 "], + ["nice shot /register ******** OnPlayerUpdate see you in LS ", "6ba4 d093 2e7f 81c5 a3d6 f90b 47e2 5c1a 09be 73a1 c6f4 1d58 "], +]; + +const StreamHalf = ({ text, encrypted }: { text: string; encrypted: boolean }) => ( + + + {text} + {text} + {text} + {text} + + +); + +// Readable text goes into the lock and comes out the far side as hex, in both directions. +// The lock clicks shut once when the card comes into view, and never opens again. +export const EncryptionArt = (): React.ReactElement => ( + + + {STREAMS.map(([plain, hex], index) => ( + + + + + ))} + + + + + + + + +); + +// Real repositories in github.com/openmultiplayer. +const REPOS = [ + ["open.mp", "launcher", "web", "omp-stdlib"], + ["open.mp-sdk", "RakNet", "compiler", "open.mp-capi"], + ["launcher", "omp-stdlib", "open.mp", "open.mp-sdk"], + ["compiler", "web", "open.mp-capi", "RakNet"], + ["omp-stdlib", "open.mp-sdk", "launcher", "compiler"], +]; + +const RepoNames = ({ names }: { names: string[] }) => ( + + {[...names, ...names].map((name, index) => ( + {name} + ))} + +); + +export const RepoArt = (): React.ReactElement => ( + + + {REPOS.map((names, index) => ( + + + + + ))} + + + +); + +export const Cursor = ({ pressed = false }: { pressed?: boolean }): React.ReactElement => ( + +); + +const AmxFile = () => ( + + + + AMX + +); + +// A file you might still have lying about: SA-MP's classic gamemode, sitting in the server's +// gamemodes folder as it is. Still on purpose: the card is about nothing needing to change. +export const AmxArt = (): React.ReactElement => ( + + + + + + + grandlarc.amx + + + +); + +// "The universe of C++ libraries": ones the open.mp server is built on (see lib/, SDK/lib/ and +// the Conan packages in its repository), in orbit around the logo. +const ORBITS = [ + { className: styles.orbitInner, names: ["RakNet", "SQLite", "OpenSSL", "ICU"] }, + { className: styles.orbitOuter, names: ["nlohmann/json", "cpp-httplib", "GLM", "cxxopts", "ttmath", "robin-hood"] }, +]; + +export const CppArt = (): React.ReactElement => ( + + {ORBITS.map(({ className, names }) => ( + + {names.map((name, index) => ( + + {name} + + ))} + + ))} + + +); + +// NPCs going about their day, under the code that made them. Each row swaps between two +// states on its own clock, so they never change together. +const NPCS = [ + { name: "Ghost", first: "On foot", Icon1: FaPersonWalking, second: "Aiming", Icon2: FaCrosshairs }, + { name: "Wheelie", first: "Driving", Icon1: FaCar, second: "On foot", Icon2: FaPersonWalking }, + { name: "Rookie", first: "On foot", Icon1: FaPersonWalking, second: "Driving", Icon2: FaCar }, +]; + +export const NpcListArt = (): React.ReactElement => ( + +); + +const CODE_START = "#include \n\nmain() {}\n\n"; +const CODE_SNIPPETS = [ + `public OnPlayerConnect(playerid)\n{\n SendClientMessage(playerid, -1, "Hey!");\n return 1;\n}`, + `public OnPlayerSpawn(playerid)\n{\n GivePlayerMoney(playerid, 1000);\n return 1;\n}`, + `public OnPlayerDeath(playerid)\n{\n SetPlayerScore(playerid, 0);\n return 1;\n}`, +]; +// Everyone writes the short name first. Then remembers it isn't defined, and goes back. +const FULL_NAME = "SendClientMessage"; +const SHORT_NAME = "SCM"; + +const CODE_TOKEN = /("[^"]*"?)|(#include|\bpublic\b|\breturn\b)|()|(\b[A-Za-z_]\w*(?=\())|(-?\b\d+\b)/g; + +const highlight = (text: string): React.ReactNode[] => { + const out: React.ReactNode[] = []; + let end = 0; + for (const match of text.matchAll(CODE_TOKEN)) { + const start = match.index; + if (start > end) out.push(text.slice(end, start)); + const className = match[1] || match[3] ? styles.tokString : match[2] ? styles.tokKeyword : match[4] ? styles.tokFunction : styles.tokNumber; + out.push({match[0]}); + end = start + match[0].length; + } + if (end < text.length) out.push(text.slice(end)); + return out; +}; + +const pause = (ms: number) => new Promise((resolve) => window.setTimeout(resolve, ms)); + +// Someone writing a gamemode, forever: one callback after another. The one that calls +// SendClientMessage gets written whole with SCM first, then corrected from the top. Static +// without JavaScript or with reduced motion, and idle while off screen. +export const CodeTyper = (): React.ReactElement => { + const first = CODE_START + CODE_SNIPPETS[0]; + const [code, setCode] = useState({ text: first, caret: first.length }); + const root = useRef(null); + + useEffect(() => { + if (window.matchMedia("(prefers-reduced-motion: reduce)").matches || !root.current) return undefined; + let stopped = false; + let visible = false; + const observer = new IntersectionObserver(([entry]) => { + visible = entry.isIntersecting; + }, { threshold: 0.5 }); + observer.observe(root.current); + const step = async (text: string, caret: number, ms: number) => { + await pause(ms); + while (!visible && !stopped) await pause(250); + if (!stopped) setCode({ text, caret }); + }; + const clear = async (text: string) => { + for (let n = text.length - 1; n >= CODE_START.length && !stopped; n -= 1) await step(text.slice(0, n), n, 10); + }; + const write = async (text: string) => { + for (let n = CODE_START.length + 1; n <= text.length && !stopped; n += 1) await step(text.slice(0, n), n, 24 + (n % 7) * 5); + }; + const writeWithMistake = async (correct: string) => { + const nameAt = correct.indexOf(FULL_NAME); + const before = correct.slice(0, nameAt); + const after = correct.slice(nameAt + FULL_NAME.length); + const wrong = before + SHORT_NAME + after; + await write(wrong); + await pause(1300); + for (let at = wrong.length - 1; at >= before.length + SHORT_NAME.length && !stopped; at -= 1) await step(wrong, at, 16); + await pause(450); + for (let k = SHORT_NAME.length - 1; k >= 0 && !stopped; k -= 1) { + await step(before + SHORT_NAME.slice(0, k) + after, before.length + k, 110); + } + await pause(250); + for (let k = 1; k <= FULL_NAME.length && !stopped; k += 1) { + await step(before + FULL_NAME.slice(0, k) + after, before.length + k, 36); + } + await pause(600); + await step(correct, correct.length, 10); + }; + const run = async () => { + let shown = first; + await pause(1800); + for (let snippet = 0; !stopped; snippet = (snippet + 1) % CODE_SNIPPETS.length) { + const next = CODE_START + CODE_SNIPPETS[snippet]; + await clear(shown); + await pause(450); + if (next.includes(FULL_NAME)) await writeWithMistake(next); + else await write(next); + shown = next; + await pause(3000); + } + }; + run(); + return () => { + stopped = true; + observer.disconnect(); + }; + }, [first]); + + return ( + + ); +}; diff --git a/frontend/src/components/HomeArt/styles.module.css b/frontend/src/components/HomeArt/styles.module.css new file mode 100644 index 000000000000..b0c427c74df2 --- /dev/null +++ b/frontend/src/components/HomeArt/styles.module.css @@ -0,0 +1,629 @@ +.rce { + position: relative; + display: inline-block; + background: none; + color: var(--omp-danger); + font-size: var(--badge-size, 6rem); + font-weight: 800; + letter-spacing: -0.03em; + line-height: 1; +} + +.rce::after { + content: ""; + position: absolute; + top: 54%; + right: -0.14em; + left: -0.14em; + height: 0.11em; + border-radius: 999px; + background: var(--omp-danger); + box-shadow: 0 0 0 0.045em var(--omp-item); + transform: rotate(-9deg); +} + +.threats { + position: relative; + display: grid; + width: 100%; + height: 100%; + place-items: center; + overflow: hidden; + background: none; +} + +.threatRows { + position: absolute; + inset: 0; + display: flex; + flex-direction: column; + justify-content: space-evenly; + overflow: hidden; + color: var(--omp-faint); + font-family: var(--ifm-font-family-monospace); + font-size: var(--cipher-size, 1.375rem); + font-weight: 600; + letter-spacing: normal; + line-height: 1; + white-space: nowrap; + opacity: 0.32; + -webkit-mask-image: linear-gradient(to right, transparent, #000 18%, #000 82%, transparent); + mask-image: linear-gradient(to right, transparent, #000 18%, #000 82%, transparent); +} + +.threatRows .rowBack { + color: inherit; + opacity: 1; +} + +.threatRows s { + padding-right: 1.25em; +} + +.threats .rce { + z-index: 1; + padding: 0 0.15em; + text-shadow: + 0 0 0.25em var(--omp-item), + 0 0 0.5em var(--omp-item), + 0 0 0.8em var(--omp-item); +} + +/* Centred on its body, not its shackle, so the rows of text run straight into the body */ +.padlock { + position: absolute; + z-index: 1; + top: 50%; + left: 50%; + overflow: visible; + width: auto; + height: 52%; + color: var(--omp-ink); + filter: + drop-shadow(0 0 0.35rem var(--omp-item)) + drop-shadow(0 0 0.9rem var(--omp-item)); + translate: -50% -68.4%; +} + +.streams { + position: absolute; + top: 50%; + right: 0; + left: 0; + display: flex; + height: 28%; + flex-direction: column; + justify-content: space-evenly; + direction: ltr; + font-family: var(--ifm-font-family-monospace); + font-size: var(--stream-font, 1.0625rem); + font-weight: 600; + letter-spacing: 0; + line-height: 1; + white-space: pre; + translate: 0 -50%; + -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent); + mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent); +} + +.stream { + display: grid; + grid-template-columns: 1fr 1fr; +} + +.streamPlain, +.streamHex { + overflow: hidden; +} + +.streamPlain { + color: var(--omp-ink); +} + +.streamHex { + color: var(--omp-accent); +} + +.streamTrack { + display: flex; + width: max-content; +} + +/* The logo has see-through parts; keep the scrolling names from showing through them. */ +.githubMark { + border-radius: 50%; + background: var(--omp-item); +} + +.rowOut, +.rowBack { + display: flex; + width: max-content; + background: none; +} + +.rowOut > span, +.rowBack > span { + background: none; + transform: none; +} + +.rowBack { + color: var(--omp-ink); + opacity: 0.75; +} + +.repos { + position: absolute; + inset: 0; + display: flex; + width: 100%; + height: 100%; + flex-direction: column; + justify-content: space-evenly; + overflow: hidden; + background: none; + color: var(--omp-accent); + font-family: var(--ifm-font-family-monospace); + font-size: var(--cipher-size, 1.375rem); + letter-spacing: normal; + line-height: 1; + white-space: nowrap; + opacity: 0.6; + -webkit-mask-image: linear-gradient(to right, transparent, #000 18%, #000 82%, transparent); + mask-image: linear-gradient(to right, transparent, #000 18%, #000 82%, transparent); +} + +.repos b { + padding-right: 1.5em; + font-weight: 600; +} + +/* The padlock: the shackle turns on its long right leg. It's a metal tube, so it narrows as + it turns but never gets thinner: the stroke ignores the scaling, and is set in real pixels + to match the padlock's size. */ +.shackle { + stroke-width: 21px; + transform-box: view-box; + transform-origin: 48px 34px; + vector-effect: non-scaling-stroke; +} + +@media (prefers-reduced-motion: no-preference) { + .shackle { + animation: shackleClose 2.8s linear 300ms both; + } + + .padlock { + animation: padlockState 2.8s linear 300ms both; + } +} + +/* Runs once and stays shut: this card is about encryption, so the lock is never seen opening. */ +@keyframes shackleClose { + 0%, 12% { + transform: translateY(-12px) scaleX(-1.000); + } + + 16% { + transform: translateY(-12px) scaleX(-0.966); + } + + 20% { + transform: translateY(-12px) scaleX(-0.866); + } + + 24% { + transform: translateY(-12px) scaleX(-0.707); + } + + 28% { + transform: translateY(-12px) scaleX(-0.500); + } + + 32% { + transform: translateY(-12px) scaleX(-0.259); + } + + 36% { + transform: translateY(-12px) scaleX(0.020); + } + + 40% { + transform: translateY(-12px) scaleX(0.259); + } + + 44% { + transform: translateY(-12px) scaleX(0.500); + } + + 48% { + transform: translateY(-12px) scaleX(0.707); + } + + 52% { + transform: translateY(-12px) scaleX(0.866); + } + + 56% { + transform: translateY(-12px) scaleX(0.966); + } + + 60%, 66% { + transform: translateY(-12px) scaleX(1.000); + } + + 78%, 100% { + transform: translateY(0px) scaleX(1.000); + } +} + +@keyframes padlockState { + 0%, 74%, 92%, 100% { + color: var(--omp-ink); + transform: none; + } + + 78% { + color: var(--omp-accent); + transform: translateY(1.5px); + } +} + +/* C++ libraries in orbit. Each ring turns; each label turns back the same amount, so the text + stays upright. */ +.universe { + position: relative; + display: grid; + width: 100%; + height: 100%; + place-items: center; + overflow: hidden; + direction: ltr; + letter-spacing: 0; +} + +.cppLogo { + z-index: 1; + width: 5.5rem; + height: 5.5rem; + color: #659ad2; + filter: drop-shadow(0 0 1rem var(--omp-item)); +} + +.orbit { + --orbit-size: 15rem; + position: absolute; + top: 50%; + left: 50%; + width: var(--orbit-size); + height: var(--orbit-size); + margin: calc(var(--orbit-size) / -2) 0 0 calc(var(--orbit-size) / -2); + border: 1px dashed var(--omp-line); + border-radius: 50%; +} + +.orbitOuter { + --orbit-size: 26rem; +} + +.planet { + position: absolute; + top: 50%; + left: 50%; + transform: rotate(var(--angle)) translateX(calc(var(--orbit-size) / 2)) rotate(calc(var(--angle) * -1)); +} + +.planet > span { + display: block; + padding: 0.2rem 0.5rem; + border-radius: var(--omp-radius-small); + background: var(--omp-surface); + color: var(--omp-muted); + font-family: var(--ifm-font-family-monospace); + font-size: 0.8125rem; + font-weight: 600; + line-height: 1.3; + white-space: nowrap; + translate: -50% -50%; +} + + +@media (max-width: 720px) { + .cppLogo { + width: 4.25rem; + height: 4.25rem; + } + + .orbit { + --orbit-size: 11.5rem; + } + + .orbitOuter { + --orbit-size: 20rem; + } + + .planet > span { + font-size: 0.6875rem; + } +} + +/* The grandlarc.amx tile */ +.amxWindow { + display: flex; + width: 100%; + height: 100%; + flex-direction: column; + background: var(--omp-surface); + box-shadow: inset 0 0 0 1px var(--omp-line); + color: var(--omp-ink); + letter-spacing: 0; +} + +.amxBar { + display: flex; + flex: none; + align-items: center; + gap: 0.5rem; + padding: 0.625rem 0.875rem; + background: var(--omp-item); + color: var(--omp-muted); + font-size: 0.8125rem; + font-weight: 500; + line-height: 1.2; +} + +.amxBar svg { + flex: none; + color: var(--omp-accent); + font-size: 0.9375rem; +} + +.amx { + position: relative; + display: grid; + flex: 1; + place-items: center; + min-height: 0; + overflow: hidden; +} + +.amxItem { + display: flex; + width: 11rem; + height: 10.5rem; + flex-direction: column; + align-items: center; + justify-content: center; + gap: 0.5rem; + border-radius: var(--omp-radius-small); + background: color-mix(in srgb, var(--omp-primary) 32%, transparent); + box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--omp-primary) 70%, transparent); +} + +.cursor { + display: block; + filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.5)); + transition: transform 120ms ease; +} + +.cursorDown { + transform: scale(0.78); +} + +.amxFile { + width: auto; + height: 5.5rem; + flex: none; +} + +.amxSheet { + fill: var(--omp-row); +} + +.amxFold { + fill: var(--omp-button-hover); +} + +.amxLabel { + fill: var(--omp-accent); + font-family: var(--ifm-font-family-monospace); + font-size: 12px; + font-weight: 700; +} + +.amxName { + font-family: var(--ifm-font-family-monospace); + font-size: 0.9375rem; + font-weight: 500; + line-height: 1; +} + +/* NPC list, under the code in the NPC tile */ +.npcs { + position: absolute; + z-index: 1; + right: 1rem; + bottom: 1rem; + left: 1rem; + display: grid; + gap: 0.4rem; + font-size: 0.8125rem; +} + +.npc { + display: flex; + height: 2.125rem; + align-items: center; + gap: 0.5rem; + padding: 0 0.625rem; + border-radius: var(--omp-radius-small); + background: var(--omp-row); + color: var(--omp-ink); +} + +.npcName { + font-weight: 600; +} + +.npcBadge { + padding: 0.1rem 0.3rem; + border-radius: 3px; + background: var(--omp-primary); + color: #fff; + font-size: 0.625rem; + font-weight: 700; + line-height: 1.2; +} + +/* Both states share one cell, one fading out as the other fades in */ +.npcStates { + display: grid; + margin-left: auto; + justify-items: end; + color: var(--omp-muted); +} + +.npcState { + display: inline-flex; + grid-area: 1 / 1; + align-items: center; + gap: 0.35rem; + white-space: nowrap; +} + +.npcState + .npcState { + opacity: 0; +} + +@media (prefers-reduced-motion: no-preference) { + .npcState { + animation: npcStateA var(--npc-time, 7.1s) ease-in-out infinite; + } + + .npcState + .npcState { + animation-name: npcStateB; + } + + .npc:nth-child(2) { --npc-time: 9.7s; } + .npc:nth-child(3) { --npc-time: 5.3s; } +} + +@keyframes npcStateA { + 0%, 44%, 100% { opacity: 1; } + 50%, 94% { opacity: 0; } +} + +@keyframes npcStateB { + 0%, 44%, 100% { opacity: 0; } + 50%, 94% { opacity: 1; } +} + +/* The editor in the scripting tile: dark in both themes, like most people's */ +.editor { + display: flex; + height: 100%; + flex-direction: column; + background: #1e1e24; + color: #e6e6ea; +} + +.editorBar { + display: flex; + flex: none; + align-items: center; + gap: 0.375rem; + padding: 0.625rem 0.875rem; + background: #16161a; + color: #ffffff99; + font-size: 0.75rem; + font-weight: 500; +} + +.editorBar i { + width: 0.5625rem; + height: 0.5625rem; + border-radius: 50%; + background: #ffffff2e; +} + +.editorBar span { + margin-left: 0.5rem; +} + +.editorCode { + flex: 1; + margin: 0; + padding: 0.875rem 1rem; + overflow: hidden; + border-radius: 0; + background: none; + color: inherit; + font-size: var(--editor-font, 0.8125rem); + line-height: 1.55; + white-space: pre; +} + +.editorCaret { + display: inline-block; + width: 2px; + height: 1.1em; + margin: 0 -1px; + background: #a79aeb; + vertical-align: text-bottom; +} + +.tokKeyword { color: #c792ea; font-style: italic; } +.tokString { color: #f78fb3; } +.tokFunction { color: #7ee787; } +.tokNumber { color: #ffcb8b; } + +@media (max-width: 720px) { + .streams { + --stream-font: 0.8125rem; + } + + .shackle { + stroke-width: 16px; + } + + .editorCode { + --editor-font: 0.6875rem; + padding: 0.75rem; + } + + .npcs { + right: 0.75rem; + bottom: 0.625rem; + left: 0.75rem; + gap: 0.25rem; + font-size: 0.75rem; + } + + .npc { + height: 1.625rem; + } + + /* Short tile: two NPCs fit beside the code */ + .npc:nth-child(3) { + display: none; + } + + .amxItem { + width: 9rem; + height: 8rem; + } + + .amxBar { + padding: 0.5rem 0.75rem; + font-size: 0.75rem; + } + + .amxFile { + height: 4rem; + } + + .amxName { + font-size: 0.8125rem; + } +} diff --git a/frontend/src/components/HomepageFeatures/index.tsx b/frontend/src/components/HomepageFeatures/index.tsx deleted file mode 100644 index 441768625df8..000000000000 --- a/frontend/src/components/HomepageFeatures/index.tsx +++ /dev/null @@ -1,145 +0,0 @@ -import React, { type ReactNode } from "react"; -import clsx from "clsx"; -import Heading from "@theme/Heading"; -import Image from "@theme/ThemedImage"; -import styles from "./styles.module.css"; -import Link from "@docusaurus/Link"; - -import Translate from '@docusaurus/Translate'; - -type FeatureItem = { - title: ReactNode; - Img: string; - description: ReactNode; - link: string; - linkText: ReactNode; -}; - -const FeatureList: FeatureItem[] = [ - { - title: ( - - Fully backwards compatible with existing scripts and clients - - ), - Img: "images/assets/f1.png", - description: ( - - Got an old AMX lying about? Load it up on the open.mp server straight - out of the box and join your friends playing on the SA:MP client. Then - when you want to enhance your code look in our docs. - - ), - link: "/docs", - linkText: ( - - Getting Started - - ), - }, - { - title: ( - - New and improved scripting system - - ), - Img: "images/assets/f5.png", - description: ( - - We've stuck with pawn, but with a new compiler engineered to make your - code more robust, and more functions to manipulate the server and - client. - - ), - link: "https://github.com/openmultiplayer/omp-stdlib/#openmp-includes", - linkText: ( - - Learn about the improvements - - ), - }, - { - title: ( - - Community driven development - - ), - Img: "images/assets/github.png", - description: ( - - The server is fully open source, and we welcome all contributions big - or small. Help write the next version, or just post about any problems you - find, despite our attempts to have perfect code, bugs happen and your feedback is valuable. - - ), - link: "https://github.com/openmultiplayer", - linkText: ( - - Visit the GitHub organization - - ), - }, - { - title: ( - - Extensible C++ API - - ), - Img: "images/assets/f4.png", - description: ( - - Get access to all the server features available in pawn, plus the - universe of C++ libraries and frameworks. Once you've mastered this why - not help improve the server via our open contribution process on GitHub. - - ), - link: "https://github.com/openmultiplayer/open.mp-sdk", - linkText: ( - - Check out SDK repository - - ), - }, -]; - -const Feature = ({ title, Img, description, link, linkText }: FeatureItem) => { - return ( -
-
- {`${title} -
-
- {title} -

{description}

-
-
- - {linkText} - -
-
- ); -}; - -const HomepageFeatures = (): React.ReactElement => { - return ( -
-
-
- {FeatureList.map((props, idx) => ( - - ))} -
-
-
- ); -}; - -export default HomepageFeatures; \ No newline at end of file diff --git a/frontend/src/components/HomepageFeatures/styles.module.css b/frontend/src/components/HomepageFeatures/styles.module.css deleted file mode 100644 index d53e316e71ef..000000000000 --- a/frontend/src/components/HomepageFeatures/styles.module.css +++ /dev/null @@ -1,144 +0,0 @@ -.featuresSection { - display: flex; - align-items: center; - padding: 0 0 3rem; - width: 100%; - background: none; - position: relative; - overflow: hidden; -} - -.featuresRow { - display: flex; - flex-wrap: wrap; - justify-content: space-around; - gap: 2rem; -} - -.featureItem { - display: flex; - flex-direction: column; - align-items: center; - max-width: 450px; - flex: 1 1 calc(50% - 2rem); - min-width: 280px; - padding: 1.5rem; - border-radius: 12px; - box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07); - transition: transform 0.3s ease, box-shadow 0.3s ease; - background-color: var(--ifm-card-background-color); - animation: fadeInUp 0.5s ease forwards; - opacity: 0; -} - -.featureItem:hover { - transform: translateY(-5px); - box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1); -} - -.featureItem:nth-child(1) { - animation-delay: 0.1s; -} - -.featureItem:nth-child(2) { - animation-delay: 0.2s; -} - -.featureItem:nth-child(3) { - animation-delay: 0.3s; -} - -.featureItem:nth-child(4) { - animation-delay: 0.4s; -} - -.featureImageContainer { - text-align: center; - margin-bottom: 1.25rem; - padding: 0.75rem; - border-radius: 50%; - background-color: var(--ifm-color-primary-lightest); - width: 100px; - height: 100px; - display: flex; - align-items: center; - justify-content: center; -} - -.featureImage { - height: auto; - width: 100%; - max-width: 70px; - object-fit: contain; -} - -.featureContent { - text-align: center; - padding: 0 1rem; - flex-grow: 1; -} - -.featureContent h3 { - margin-bottom: 0.75rem; - font-size: 1.35rem; - color: var(--ifm-color-primary); -} - -.featureContent p { - color: var(--ifm-color-emphasis-700); - line-height: 1.6; -} - -.featureFooter { - margin-top: 1.5rem; - width: 100%; - display: flex; - justify-content: center; -} - -.button { - transition: all 0.3s ease; - padding: 0.75rem 1.5rem; - font-weight: 600; - border-radius: 8px; - box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12); - text-align: center; -} - -.button:hover { - transform: translateY(-3px); - box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15); -} - -@keyframes fadeInUp { - from { - opacity: 0; - transform: translateY(20px); - } - - to { - opacity: 1; - transform: translateY(0); - } -} - -@media (max-width: 768px) { - .featureItem { - flex: 1 1 100%; - margin-bottom: 1.5rem; - } - - .featuresRow { - flex-direction: column; - gap: 1.5rem; - } - - .featureImageContainer { - width: 90px; - height: 90px; - } - - .featureContent h3 { - font-size: 1.25rem; - } -} \ No newline at end of file diff --git a/frontend/src/components/LauncherSim/JoinPrompt.module.css b/frontend/src/components/LauncherSim/JoinPrompt.module.css new file mode 100644 index 000000000000..3aac7f77b1fa --- /dev/null +++ b/frontend/src/components/LauncherSim/JoinPrompt.module.css @@ -0,0 +1,126 @@ +/* Sizes follow the launcher's JoinServerPrompt styles after its sc() scaler. */ +.prompt { + position: relative; + width: 100%; + max-width: 21.25rem; + overflow: hidden; + border-radius: 9px; + background: var(--omp-surface); + box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); + color: var(--omp-ink); + font-size: 0.875rem; + line-height: 1.35; + text-align: left; +} + +.banner { + display: flex; + height: 5rem; + align-items: center; + justify-content: center; + background: + linear-gradient(rgba(20, 16, 50, 0.45), rgba(20, 16, 50, 0.45)), + url(/images/assets/hero-bg.jpg) center / cover; + color: #fff; + font-size: 1.75rem; + font-weight: 800; + letter-spacing: -0.02em; +} + +.close { + position: absolute; + top: 0.5rem; + right: 0.5rem; + display: flex; + width: 1.5rem; + height: 1.5rem; + align-items: center; + justify-content: center; + border-radius: 4px; + background: #897af1; +} + + +.closeIcon { + background-color: #fff !important; +} + +.logoRow { + display: flex; + align-items: flex-start; + justify-content: space-between; + height: 2.25rem; + padding: 0.45rem 1.1rem 0 0.6rem; +} + +.logo { + display: grid; + width: 4.375rem; + height: 4.375rem; + flex: none; + place-items: center; + margin-top: -2.5rem; + border: 2px solid var(--omp-surface); + border-radius: 50%; + background: var(--omp-item); +} + +.play { + background-color: #897af1 !important; +} + +.info { + padding: 0.6rem 0.95rem 0; +} + +.infoLine { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + +.form { + padding: 0.75rem 0.95rem 0.95rem; +} + +.input { + display: flex; + height: 2.05rem; + align-items: center; + margin-top: 0.25rem; + padding: 0 0.55rem; + border-radius: 4px; + background: var(--omp-input); + color: var(--omp-faint); + font-style: italic; +} + +.version { + display: flex; + align-items: center; + gap: 0.55rem; + margin-top: 0.6rem; +} + +.version span { + display: flex; + height: 1.65rem; + flex: 1; + align-items: center; + justify-content: center; + border-radius: 4px; + background: var(--omp-input); +} + +.connect { + display: flex; + height: 2.05rem; + align-items: center; + justify-content: center; + margin-top: 0.75rem; + border-radius: 4px; + background: var(--omp-primary); + color: #fff !important; + font-weight: 600; + text-decoration: none !important; +} diff --git a/frontend/src/components/LauncherSim/JoinPrompt.tsx b/frontend/src/components/LauncherSim/JoinPrompt.tsx new file mode 100644 index 000000000000..03445e23f0ee --- /dev/null +++ b/frontend/src/components/LauncherSim/JoinPrompt.tsx @@ -0,0 +1,58 @@ +import Translate from "@docusaurus/Translate"; +import React from "react"; + +import { Icon } from "./index"; +import styles from "./JoinPrompt.module.css"; + +// The launcher's join dialog (src/containers/JoinServerPrompt in the launcher repo). +// A picture used in the homepage bento; nothing in it is clickable. +type Props = { + name: string; + address: string; + players: string; + nickname?: string; +}; + +const JoinPrompt = ({ name, address, players, nickname = "Ghost" }: Props): React.ReactElement => { + const connect = Connect; + const closeIcon = ; + + return ( +
+
+ + Your Server + +
+ {closeIcon} +
+ + + + +
+
+
+ Server: {name} +
+
+ Address: {address} +
+
+ Players: {players} +
+
+
+ Nickname: +
{nickname}
+
+ SA-MP Version: + 0.3.7-R1 ▾ +
+ {connect} +
+
+ ); +}; + +export default JoinPrompt; diff --git a/frontend/src/components/LauncherSim/index.tsx b/frontend/src/components/LauncherSim/index.tsx new file mode 100644 index 000000000000..4b2745c97054 --- /dev/null +++ b/frontend/src/components/LauncherSim/index.tsx @@ -0,0 +1,517 @@ +import Translate, { translate } from "@docusaurus/Translate"; +import clsx from "clsx"; +import React, { useEffect, useState, type CSSProperties, type ReactNode } from "react"; + +import styles from "./styles.module.css"; + +// A static picture of the open.mp launcher window, drawn in HTML (openmultiplayer/ +// launcher, src/containers). Nothing in it is clickable. Every server here is made up on purpose: the front page must +// not promote real servers, and the addresses are from the reserved 192.0.2.0/24 +// documentation range. When the launcher's layout or theme changes, this file and +// its stylesheet follow by hand. + +const ICONS = "/images/launcher"; +const PING_POINTS = 25; + +export type SampleServer = { + address: string; + name: string; + mode: string; + language: string; + ping: number; + players: number; + maxPlayers: number; + omp: boolean; + password: boolean; + partner: boolean; +}; + +const sample = ( + id: number, + name: string, + mode: string, + language: string, + ping: number, + players: number, + maxPlayers: number, + flags: { omp?: boolean; password?: boolean; partner?: boolean } = {}, +): SampleServer => ({ + address: `192.0.2.${id}:7777`, + name, + mode, + language, + ping, + players, + maxPlayers, + omp: flags.omp ?? false, + password: flags.password ?? false, + partner: flags.partner ?? false, +}); + +export const SAMPLE_SERVERS: SampleServer[] = [ + sample(13, "Demo Cops & Robbers", "Cops and Robbers", "English", 48, 198, 300), + sample(10, "Example Roleplay | Sample Server", "Roleplay", "English", 34, 428, 500, { omp: true, partner: true }), + sample(18, "Sample Zombie Survival", "Survival", "English", 83, 52, 100), + sample(15, "Sample Deathmatch Arena", "Deathmatch", "Russian", 118, 131, 200), + sample(11, "Demo Freeroam #1", "Freeroam", "English", 52, 312, 500, { omp: true }), + sample(20, "Demo Private Community", "Roleplay", "English", 29, 18, 50, { omp: true, password: true }), + sample(16, "Example Trucking Company", "Trucking", "English", 44, 87, 150, { omp: true }), + sample(22, "Example Build Server", "Sandbox", "English", 58, 6, 32, { omp: true, password: true }), + sample(12, "Sample Stunt Arena", "Stunts", "Spanish", 71, 246, 300, { omp: true, partner: true }), + sample(19, "Example Mini-Games", "Mini-games", "Polish", 67, 41, 100, { omp: true }), + sample(14, "Example Drift Club", "Drift", "Portuguese", 96, 154, 200, { omp: true }), + sample(23, "Demo Testing Grounds", "Sandbox", "English", 25, 0, 32, { omp: true }), + sample(17, "Demo Race Series", "Racing", "German", 39, 64, 100, { omp: true }), + sample(21, "Sample Derby Nights", "Derby", "Turkish", 142, 12, 50), +]; + +const PLAYER_NAMES = [ + "Ghost", "Nitro", "Rookie", "Sprinter", "Wheelie", "Bandit", + "Drifter", "Comet", "Falcon", "Maverick", "Pixel", "Turbo", +]; + +const playersOf = (server: SampleServer) => + PLAYER_NAMES.slice(0, Math.min(server.players, PLAYER_NAMES.length)) + .map((name, index) => ({ + name, + score: ((server.ping * (index + 3) * 37) % 900) + 12, + })) + .sort((a, b) => b.score - a.score); + +const rulesOf = (server: SampleServer): [string, string][] => [ + ["allowed_clients", "0.3.7, 0.3.DL"], + ["artwork", server.omp ? "Yes" : "No"], + ["lagcomp", "On"], + ["mapname", "San Andreas"], + ["version", server.omp ? "omp" : "0.3.7-R2"], + ["weather", String(server.ping % 20)], + ["weburl", "example.com"], + ["worldtime", `${String(server.ping % 24).padStart(2, "0")}:00`], +]; + +export const Icon = ({ + name, + size = 16, + className, +}: { + name: string; + size?: number; + className?: string; +}) => ( +