Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
158 changes: 158 additions & 0 deletions gu.lang.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
/**
* Configuration for the english (original) translation
*/

module.exports = {
// Language display name. MUST BE THE SAME AS IN [inert.config.js].custom.langs
display: "Gujrati",
prefix: "/gu",
dir: "ltr",
lang: "gu",
// `p` stands for `paragraph`. This will contain translations of full text blocks
p: {
headline: "બ્રાઉઝર અને node.js માટે પ્રોમિસ આધારિત HTTP ક્લાયંટ",
subhead: `Axios એ બ્રાઉઝર અને node.js માટે એક સરળ વચન આધારિત HTTP ક્લાયંટ છે.
Axios ખૂબ જ એક્સ્ટેન્સિબલ ઇન્ટરફેસ સાથે નાના પેકેજમાં ઉપયોગમાં સરળ લાઇબ્રેરી પ્રદાન કરે છે.`,
sponsors: `<p>અમારા પ્રોજેક્ટને ટેકો આપવા બદલ વિચારણા કરવા બદલ આભાર..</p>
<p>જો તમે પસંદ કરેલ સ્તર આ લાભ પ્રદાન કરશે, તો તમને 24 કલાકની અંદર આપમેળે આ સૂચિમાં ઉમેરવામાં આવશે..</p>
<div class="social"><a class="link" href="/docs/sponsor">Read more...</a></div>
`
},
// `t` stands fot `translation`. This will contain translations of single words or phrases
t: {
"Get Started": "શરૂ કરો",
"View on GitHub": "GitHub પર જુઓ",
"Languages": "ભાષાઓ",
"Open Source": "ઓપન સોર્સ",
"Contribute": "ફાળો આપો",
"Source on GitHub": "GitHub પર સ્ત્રોત",
"Issues": "સમસ્યાઓ",
"Pull Requests": "પુલ વિનંતીઓ",
"Code of Conduct": "કોડ ઓફ કોંડઉક્ત",
"Fork on GitHub": "ફોર્ક ઓન Github",
"Fork the Website": "ફોર્ક ધ વેબસાઇટ",
"Create an Issue": "સમસ્યા બનાવો",
"Next": "પછી",
"Previous": "પેલા નું",
"Website Copy Right Footer": "વેબસાઇટ નું ફૂટેર કોપી કરો",
"View On Github": "Github પર જુઓ",
"Axios Project Copy Right Footer": "એક્સિઓસ પ્રોજેક્ટ કોપી રાઇટ ફૂટર",
"License Label Footer": "લાઇસન્સ લેબલ ફૂટર",
"Sponsors": "સ્પોન્સર્સ",
"Become a sponsor": "સ્પોન્સર્સ બનો",
"Gold Sponsors": "ગોલ્ડ સ્પોન્સર્સ"
},
sidebar: [
{
type: "heading",
text: "શરૂઆત કરવી",
},
{
type: "link",
href: "/docs/intro",
text: "પરિચય",
},
{
type: "link",
href: "/docs/example",
text: "ઉદાહરણ",
},
{
type: "link",
href: "/docs/post_example",
text: "પોસ્ટ વિનંતીઓ",
},
{
type: "heading",
text: "Axios એપીઈ",
},
{
type: "link",
href: "/docs/api_intro",
text: "Axios એપીઈ",
},
{
type: "link",
href: "/docs/instance",
text: "એક્સિઓસ ઉદાહરણ",
},
{
type: "link",
href: "/docs/req_config",
text: "વિનંતી રૂપરેખાંકન",
},
{
type: "link",
href: "/docs/res_schema",
text: "પ્રતિભાવ યોજના",
},
{
type: "link",
href: "/docs/config_defaults",
text: "કોનફિનગ ડિફોલ્ટ્સ",
},
{
type: "link",
href: "/docs/interceptors",
text: "ઇન્ટરસેપ્ટર્સ",
},
{
type: "link",
href: "/docs/handling_errors",
text: "ભૂલોનું નિરાકરણ",
},
{
type: "link",
href: "/docs/cancellation",
text: "રદ",
},
{
type: "link",
href: "/docs/urlencoded",
text: "🆕 URL-Encoding Bodies",
},
{
type: "link",
href: "/docs/multipart",
text: "🆕 બહુપક્ષીય સંસ્થાઓ",
},
{
type: "heading",
text: "બીજું",
},
{
type: "link",
href: "/docs/notes",
text: "નોંધ",
},
{
type: "heading",
text: "સમર્થકો",
},
{
type: "link",
href: "/docs/sponsor",
text: "axios સમર્થક",
},
{
type: "link",
href: "https://github.com/axios/axios/blob/v1.x/CODE_OF_CONDUCT.md",
text: "કોડ ઓફ કોંડઉક્ત",
},
{
type: "link",
href: "https://github.com/axios/axios/blob/v1.x/COLLABORATOR_GUIDE.md",
text: "સહયોગી માર્ગદર્શિકા",
},
{
type: "link",
href: "https://github.com/axios/axios/blob/v1.x/CONTRIBUTING.md",
text: "axios માં ફાળો આપો"
},
{
type: "link",
href: "/docs/translating",
text: "આ docs નું ભાષાંતર"
}
],
};
27 changes: 17 additions & 10 deletions inert.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ const ptBRConfig = require("./ptBR.lang.js");
const kuConfig = require("./ku.lang.js");
const esConfig = require('./es.lang.js');
const frConfig = require("./fr.lang.js");
const guConfig = require('./gu.lang.js')
const trConfig = require("./tr.lang.js");
const krConfig = require("./kr.lang.js");
const viConfig = require("./vi.lang.js");
Expand Down Expand Up @@ -88,6 +89,12 @@ const langs = [
prefix: "/fr/",
config: frConfig,
},
{
dir: "ltr",
name: "Gujrati",
prefix: "/gu/",
config: guConfig
},
{
dir: "ltr",
name: "Türkçe",
Expand Down Expand Up @@ -117,7 +124,7 @@ const langs = [
name: "Русский",
prefix: "/ru/",
config: ruConfig
},{
}, {
dir: "rtl",
name: "Arabic",
prefix: "/ar/",
Expand Down Expand Up @@ -211,10 +218,10 @@ module.exports = {
lang.prefix === "/"
? acc
: {
...acc,
[lang.prefix.slice(1, -1) +
...acc,
[lang.prefix.slice(1, -1) +
"Output"]: `:output:/${lang.prefix.slice(1, -1)}`,
},
},
{}
),
/**
Expand All @@ -226,12 +233,12 @@ module.exports = {
lang.prefix === "/"
? acc
: {
...acc,
[lang.prefix.slice(1, -1) + "Posts"]: `:${lang.prefix.slice(
1,
-1
)}Output:/docs`,
},
...acc,
[lang.prefix.slice(1, -1) + "Posts"]: `:${lang.prefix.slice(
1,
-1
)}Output:/docs`,
},
{}
),
},
Expand Down
61 changes: 61 additions & 0 deletions posts/gu/api_intro.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
---
title: "એક્ષીયોસ એપીઆઇ"
description: 'એક્ષીયોસ એપીઆઇ માર્ગદર્શિકા'
prev_title: 'પોસ્ટ વિનંતી'
prev_link: 'gu/docs/post_example'
next_title: 'એક્ષીયોસ instance'
next_link: '/gu/docs/instance'
---

સંબંધિત રૂપરેખાને `axios` માં પાસ કરીને વિનંતીઓ કરી શકાય છે

##### axios(config)

```js
// પોસ્ટ વિનંતી મોકલો
axios({
method: 'post',
url: '/user/12345',
data: {
firstName: 'Fred',
lastName: 'Flintstone'
}
});
```

```js
//remote ઇમેજ માટે ગૅટ વિનંતી મોકલો
axios({
method: 'get',
url: 'http://bit.ly/2mTM3nY',
responseType: 'stream'
})
.then(function (response) {
response.data.pipe(fs.createWriteStream('ada_lovelace.jpg'))
});
```

##### axios(url[, config])

```js
// ગૅટ વિનંતી મોકલો (default method)
axios('/user/12345');
```

### Request method aliases

સુવિધા માટે, બધી સપોર્ટેડ વિનંતી પદ્ધતિઓ માટે ઉપનામો આપવામાં આવ્યા છે.

##### axios.request(config)
##### axios.get(url[, config])
##### axios.delete(url[, config])
##### axios.head(url[, config])
##### axios.options(url[, config])
##### axios.post(url[, data[, config]])
##### axios.put(url[, data[, config]])
##### axios.patch(url[, data[, config]])
##### axios.postForm(url[, data[, config]])
##### axios.putForm(url[, data[, config]])
##### axios.patchForm(url[, data[, config]])

> નૉૅધ: When using the alias methods `url`, `method`, and `data` properties don't need to be specified in config.
Loading