diff --git a/CODEOWNERS b/CODEOWNERS index 5c023d40d98..1671bd52d64 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -10,3 +10,4 @@ /frontend/i18n/ar/ @midosvt @ImOver00 /frontend/i18n/sv/ @fusez /frontend/i18n/vi/ @PHATBENTRE +/frontend/i18n/sn/ @coool9 diff --git a/frontend/docusaurus.config.ts b/frontend/docusaurus.config.ts index 3d7f83dc839..0129ea3fa97 100644 --- a/frontend/docusaurus.config.ts +++ b/frontend/docusaurus.config.ts @@ -74,6 +74,7 @@ const config: Config = { "ro", "sl", "sr", + "sn", "ta", "th", "tr", diff --git a/frontend/i18n/sn/code.json b/frontend/i18n/sn/code.json new file mode 100644 index 00000000000..9880b973e89 --- /dev/null +++ b/frontend/i18n/sn/code.json @@ -0,0 +1,337 @@ +{ + "feature.fullyBackwardsCompatible.title": { + "message": "Pooro pooro poyaan wariyun shayun halainr waro" + }, + "feature.fullyBackwardsCompatible.description": { + "message": "Chhaa tawhan wt ko puranru AMX payal ahe? Unhe khe open.mp server te halayo ain jeke dost SA-MP client te ahin unhan san gadd raand rahyo." + }, + "feature.fullyBackwardsCompatible.linkText": { + "message": "Shuroo kyo" + }, + "feature.newScriptingSystem.title": { + "message": "Naun ain sutho kayal scripting system." + }, + "feature.newScriptingSystem.description": { + "message": "Asaan filhaal pawn te ii rahya ahyun pr wadheek mazbootin san" + }, + "feature.newScriptingSystem.linkText": { + "message": "Wadheek diso" + }, + "feature.developerFriendly.title": { + "message": "Developer je hawaale san" + }, + "feature.developerFriendly.description": { + "message": "Asan Open.mp mn hik ehri API use kayi ahe jeka developers lae tamaam mufeed ahe." + }, + "feature.developerFriendly.linkText": { + "message": "Wadheek diso" + }, + "feature.scriptingSystem.title": { + "message": "Jadeed ain sutho kayal scripting system" + }, + "feature.scriptingSystem.description": { + "message": "Asaan pawn khe e choose kyo ahe, pr wadheek sutho kayal system san" + }, + "feature.scriptingSystem.linkText": { + "message": "Suthhyun kayal shayun diso" + }, + "feature.communityDevelopment.title": { + "message": "Community je hisaab san halandr development" + }, + "feature.communityDevelopment.description": { + "message": "Jekdhen tawhan madad karanr chahyo tha t sutho ahe. Hi pooro community te halandr project ahe. Mehrbani" + }, + "feature.communityDevelopment.linkText": { + "message": "Wadheek GitHub te diso" + }, + "feature.cppApi.title": { + "message": "C++ ji API san" + }, + "feature.cppApi.description": { + "message": "Pawn ta ahe pr tawhan C++ b isteemaal kre tha sagho, asan ware GitHub te wanji maaloomaat hasil kanda." + }, + "feature.cppApi.linkText": { + "message": "C++ waro SDK diso" + }, + "partners.server.stats": { + "message": "{players} rahinr wara ahin {servers} servern men. {average} Average" + }, + "servers.sort.relevance": { + "message": "Mutaabiqt" + }, + "servers.sort.players": { + "message": "Player" + }, + "servers.search.placeholder": { + "message": "IP ya naale san search kryo" + }, + "partners.note": { + "message": "Partnern jo achanr hanre bnd thi wyo ahe. Jekdhen tawhan khe ko sawaal ahe ta Discord te raabto kryo. Hi sirf uhe server ahin jin testing mn madad kayi hui." + }, + "announcement.title": { + "message": "open.mp ain launcher jo naun achi wyo ahe" + }, + "announcement.link": { + "message": "Ealaan diso link" + }, + "theme.ErrorPageContent.title": { + "message": "Hi page crash thi wyo.", + "description": "The title of the fallback page when the page crashed" + }, + "theme.NotFound.title": { + "message": "Na mili saghyo", + "description": "The title of the 404 page" + }, + "theme.NotFound.p1": { + "message": "Kujh maslo achi wyo.", + "description": "The first paragraph of the 404 page" + }, + "theme.NotFound.p2": { + "message": "Tawhan pehnji dinal URL wari disanda", + "description": "The 2nd paragraph of the 404 page" + }, + "theme.admonition.note": { + "message": "Yaad rakho", + "description": "The default label used for the Note admonition (:::note)" + }, + "theme.admonition.tip": { + "message": "Faide wari gaalh", + "description": "The default label used for the Tip admonition (:::tip)" + }, + "theme.admonition.danger": { + "message": "Khatro", + "description": "The default label used for the Danger admonition (:::danger)" + }, + "theme.admonition.info": { + "message": "Maloomaat", + "description": "The default label used for the Info admonition (:::info)" + }, + "theme.admonition.caution": { + "message": "Ehtiyat", + "description": "The default label used for the Caution admonition (:::caution)" + }, + "theme.BackToTopButton.buttonAriaLabel": { + "message": "Wapis mathe wnjo", + "description": "The ARIA label for the back to top button" + }, + "theme.blog.archive.title": { + "message": "Puraanra", + "description": "The page & hero title of the blog archive page" + }, + "theme.blog.archive.description": { + "message": "Puraanra", + "description": "The page & hero description of the blog archive page" + }, + "theme.blog.paginator.navAriaLabel": { + "message": "Blog ji list ain page", + "description": "The ARIA label for the blog pagination" + }, + "theme.blog.paginator.newerEntries": { + "message": "Nain post prho", + "description": "The label used to navigate to the newer blog posts page (previous page)" + }, + "theme.blog.paginator.olderEntries": { + "message": "Puthhin post prho", + "description": "The label used to navigate to the older blog posts page (next page)" + }, + "theme.blog.post.readingTime.plurals": { + "message": "{readingTime} minute laganda", + "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 ahin", + "description": "The title of the tag list page" + }, + "announcement.serverVersion": { + "message": "open.mp jo nauun version {version} mojood ahe" + }, + "announcement.changelog": { + "message": "Tabdeeliyon" + }, + "announcement.download": { + "message": "Download kryo" + }, + "announcement.launcherUpdate": { + "message": "Launcher jo naun update mojood ahe." + }, + "announcement.seeWhatsNew": { + "message": "Diso naun chha ahe" + }, + "announcement.dismiss": { + "message": "Bnd kryo" + }, + "homepage.heroDescription": { + "message": "Poori poori Grand Theft Auto: San Andreas jo {compatibility} gdd {samp} san." + }, + "homepage.heroDescription.compatibility": { + "message": "Compatibility je baare mn" + }, + "homepage.downloadLauncher": { + "message": "Launcher download kryo 🎮" + }, + "homepage.downloadServer": { + "message": "Server download kryo 🖥️" + }, + "homepage.documentation": { + "message": "Documentation/Madad 📜" + }, + "animations.title": { + "message": "open.mp animation" + }, + "animations.library": { + "message": "Library:" + }, + "animations.selectLibrary": { + "message": "Hik library choondyo..." + }, + "animations.animation": { + "message": "Animation:" + }, + "animations.selectAnimation": { + "message": "Hik animation choondyo..." + }, + "animations.index": { + "message": "Index:" + }, + "animations.frames": { + "message": "Frame ahin:" + }, + "animations.duration": { + "message": "halnr jo time:" + }, + "animations.seconds": { + "message": "Second" + }, + "animations.description": { + "message": "Wazaaht:" + }, + "animations.notes": { + "message": "Yaad rakhjo:" + }, + "animations.videoCredits": { + "message": "Video ji mehrbaani:" + }, + "animations.usageExamples": { + "message": "Istemaal karanr ji misaal:" + }, + "animations.selectAnimationPrompt": { + "message": "Ko b animation choondyo" + }, + "animations.browsePrompt": { + "message": "Animations diso" + }, + "animations.usedByFunctions": { + "message": "ApplyAnimation/ApplyActorAnimation san istemaal kryo" + }, + "loadingBanner.followingTrain": { + "message": "Rail gaadi je poyaan..." + }, + "serverRow.copied": { + "message": "Copy thi wyo" + }, + "serverRow.copy": { + "message": "Copy" + }, + "serverRow.partnerTitle": { + "message": "Partner jo title!" + }, + "serverRow.ompTitle": { + "message": "open.mp server" + }, + "serverRow.players": { + "message": "Player" + }, + "serverInfo.backToServers": { + "message": "→ Wapisi" + }, + "serverInfo.quickJoin": { + "message": "hinjr ee join kryo" + }, + "serverInfo.noDescription": { + "message": "Ka b wazaahat nahe" + }, + "serverInfo.playersOnline": { + "message": "Online player" + }, + "serverInfo.modVersion": { + "message": "Mod jo version" + }, + "serverInfo.language": { + "message": "boli" + }, + "serverInfo.rule": { + "message": "qanoon" + }, + "serverInfo.value": { + "message": "ang" + }, + "serverInfo.lastUpdated": { + "message": "Update jo akhri time {time}" + }, + "theme.footer.title.Documentations": { + "message": "Documents" + }, + "theme.footer.title.Community": { + "message": "Raaj" + }, + "theme.footer.title.More": { + "message": "Wadheek" + }, + "theme.footer.link.Introduction": { + "message": "Introduction" + }, + "theme.footer.link.open.mp Migration": { + "message": "open.mp dahn hijrat kryo" + }, + "theme.footer.link.Discord": { + "message": "Discord" + }, + "theme.footer.link.GitHub": { + "message": "GitHub" + }, + "theme.footer.link.Donate": { + "message": "Chando dyo" + }, + "theme.footer.link.YouTube": { + "message": "YouTube" + }, + "theme.footer.link.X": { + "message": "X" + }, + "theme.footer.link.Servers": { + "message": "Server" + }, + "theme.footer.link.Blog": { + "message": "Blog" + }, + "theme.footer.link.Animations": { + "message": "Animation" + }, + "theme.footer.link.UID Generator": { + "message": "UID thhaahiyo" + }, + "theme.footer.link.SA-MP": { + "message": "SA-MP" + }, + "theme.footer.copyright": { + "message": "sbh hqq mojood ahin © {year} open.mp Docusaurus." + }, + "navbar.item.Docs": { + "message": "Documents" + }, + "navbar.item.Blog": { + "message": "Blog" + }, + "navbar.item.Forums": { + "message": "Forums" + }, + "navbar.item.Servers": { + "message": "Server" + }, + "navbar.item.Partners": { + "message": "Dost" + }, + "navbar.item.Donate": { + "message": "Chando dyo" + } +} diff --git a/frontend/i18n/sn/docusaurus-plugin-content-docs/current/index.md b/frontend/i18n/sn/docusaurus-plugin-content-docs/current/index.md new file mode 100644 index 00000000000..7a5d0d53624 --- /dev/null +++ b/frontend/i18n/sn/docusaurus-plugin-content-docs/current/index.md @@ -0,0 +1,22 @@ +--- +title: Introduction +sidebar_label: Introduction +description: Documentations open.mp ain SA-MP modifications lae +sidebar_position: 1 +--- + +# SA-MP Wiki ain open.mp Documentation + +SA-MP/open.mp wiki te khushamdeed, open.mp team ain sa-mp community hin khe maintain krn tha.! + +Hin site jo maqsad ahe t hik asani san milanr wari, asani san contribute karnr wari documentation rakhnr SA-MP ain open.mp lae. + +## SA-MP wiki wayi hali ahe + +Badqismati san, SA-MP wiki khe band kyo wyo ho september 2020 ji akhir. + +Jekadhen tawhan khe dilchaspi ahe t [hi page](/docs/meta/Contributing) disanda asan ji madad kien kane ji maloomaat lae. + +Jekadhen tawhan khe GitHub san tajarbo kone ta maslo konhen! Tawhan madad kre tha sagho bs asan khe maslan je baare mn budhainr san (san [Discord](https://discord.gg/samp), [forum](https://forum.open.mp) ya social media) ain sabhni khan ehm shaye: _maanrhun khe budhainr!_ Ta poe hin site khe bookmark kryo ain share kryo kehn b ehre manrhun san jeko sochndo huje t SA-MP wiki kedhan wayi. + +Asan madad khe sahrayun tha documentation ya tutorial ain guidoon aam kaman lae jehrook simple gamemodes thhahinr. Ain common libraries ain plugins istemaal karanr je hawaale san. Jekadhen tawhan khe contribute karanr men dilchaspi ahe t hedhan wanjo [GitHub page](https://github.com/openmultiplayer/web). diff --git a/frontend/i18n/sn/docusaurus-plugin-content-docs/current/meta/Contributing.md b/frontend/i18n/sn/docusaurus-plugin-content-docs/current/meta/Contributing.md new file mode 100644 index 00000000000..384bd02207a --- /dev/null +++ b/frontend/i18n/sn/docusaurus-plugin-content-docs/current/meta/Contributing.md @@ -0,0 +1,159 @@ +--- +title: Contributing +sidebar_label: Contributing +description: open.mp ain sa-mp je documentation main kien madad kaje. +--- + +Hi documentation main ker b madad kre saghe tho. Tawhan khe bs hik [GitHub](https://github.com) account ain kujh time tho khape. Tawhan khe Git janran ji b zaroorat kanhe. Tawhan sbh kujh web tan kare sagho tha! + +Jekadhen tawhan kehn hikri boli khe maintain karanr tha chahyo tha t PR karyo [`CODEOWNERS`](https://github.com/openmultiplayer/web/blob/master/CODEOWNERS) file te ain hik line thhahyo pehnji boli ji directory ain username san gad. + +## Content Edit Karanr + +Hr page je hethan hik buttonr ahe jeko tawhan khe unhe page je GitHub dahn wathhi weendo. + + + +Misaal tor [SetVehicleAngularVelocity](../scripting/functions/SetVehicleAngularVelocity) khe click karanr san tawhan [hin page](https://github.com/openmultiplayer/web/edit/master/frontend/docs/scripting/functions/SetVehicleAngularVelocity.md) dahn weenda jithe tawhan wt hik text editor hoondo pehnji changes karanr laye (je tawhan GitHub mn log in thiyal ahyo). + +Pehnjun tabdeelyun kare hik "Pull Request" thhahyo. Inhe jo matlab ahe t wiki maintainer ain bya community ja member tawhan ji tabdeelin jo jayizo wathhanda, faislo kanda t chha inhe khe wadheek tabdeelin ji zaroorat ahe ya na ain poe merge kanda. + +## Nayun Content Add karanr + +Naun mawaad add karanr thoro wadheek pecheeda ahe. Tawhan bin tareekn san kare sagho tha: + +### GitHub jo Interface + +GitHub mn ka directory disande, Hik Add file button ahe mathen saji kund mn: + + + +Tawhan ya t ka Markdown file upload karyo jeka tawhan agen ee likhi huje ya direct GitHub text editor mn likho. + +File wt _zaroor_ `.md` extension ain Markdown huje. Markdown laye wadheek maloomat laye diso [hi guide](https://guides.github.com/features/mastering-markdown/). + +Jadhen uho thi wanje, dabayo "Propose new file" ain a Pull Request khuli weendi review laye. + +### Git + +Je tawhan khe Git istemaal karnri ahe t sirf clone karyo hin Wiki repository khe: + +```sh +git clone https://github.com/openmultiplayer/web.git +``` + +Pehnje favourite editor mn kholyo. Aun Visual Studio Code recommend tho karyan chho jo inhen men suthi tooling ahe editing ain formatting laye markdown files ji. Jien ta tawhan disi sagho tha aun b istemal pyo karan Visual Studio Code! + + + +Aun ba extension recommend tho karyan pehnjo experience solo karanr laye: + +- [markdownlint](https://marketplace.visualstudio.com/items?itemName=DavidAnson.vscode-markdownlint) David Anson khan - hi hik extension ahe jeko yaqeen kando t tawhon jo Markdown sahi namone san formatted ahe. Kujh syntactic ain semantic galtin khe roke tho. Sabh warnings ehm nahin, pr kujh readability khe improve kandyun. Pehnji judgement khe istemaal karyo ain je kehn shakk men ahyo t kehn reviewer khan puchho! +- [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) Prettier.js Team khan - he hik formatter ahe jeko automatically format kando tawhan jun Markdown files t jein hu sabh hik consistent style istemaal karan. Wiki repository men `package.json` men kujh settingun ahin jeko hi extension automatically istemaal kando. "Format On Save" khe enable karyo pehnje editor ji settingun men t jien tawhan jun Markdown filun automatically save thi wanjan hr dafaa! + +## Notes, Tips ain Tariiqekaar + +### Internal Links + +Absolute URLs inter-site links laye istemaal na karyo. relative paths istemaal karyo. + +- ❌ + + ```md + Istemaal thindo [OnPlayerClickPlayer](https://www.open.mp/docs/scripting/callbacks/OnPlayerClickPlayer) san + ``` + +- ✔ + + ```md + Istemaal thindo [OnPlayerClickPlayer](../callbacks/OnPlayerClickPlayer) san + ``` + +`../` matlab "hik directory mathe wanjo" t je ka file tawhan edit pya karo `functions` directory men ahe ain tawhan link tha karyo `callbacks` tawhan istemal kanda `../` mathe `scripting/` poe `callbacks/` callbacks directory men enter thiyanr laye, poe filename (bighair `.md`) unhe callback jo jeko tawhan link karanr tha chahyo. + +### Metadata + +Pehrin shaye _kehn b_ document men hujanr khape Metadata: + +```mdx +--- +title: Muhnjo Documentation +sidebar_label: Muhnjo Documentation +description: Hi page ahe kujh shayun ain burgern je baare men! +--- +``` + +Hr page khe title ain description zaroor huje. + +Poori list ta chha chha `---`, men achi saghe tho, diso [Docusaurus ji documentation](https://docusaurus.io/docs/markdown-features#markdown-headers). + +### Headings + +Level 1 heading (`