Skip to content

Commit 23c40c0

Browse files
KasraK2KKasra Karami
andauthored
Add Persian translation (#466)
Co-authored-by: Kasra Karami <[email protected]>
1 parent 91c553a commit 23c40c0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+1405
-11
lines changed

src/nginxconfig/i18n/de/languages.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright 2022 DigitalOcean
2+
Copyright 2024 DigitalOcean
33
44
This code is licensed under the MIT License.
55
You may obtain a copy of the License at
@@ -35,4 +35,5 @@ export default {
3535
pl: 'Polnisch',
3636
de: 'Deutsch',
3737
ja: 'Japanisch',
38+
fa: 'Persisch',
3839
};

src/nginxconfig/i18n/en/languages.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright 2022 DigitalOcean
2+
Copyright 2024 DigitalOcean
33
44
This code is licensed under the MIT License.
55
You may obtain a copy of the License at
@@ -35,4 +35,5 @@ export default {
3535
pl: 'Polish',
3636
de: 'German',
3737
ja: 'Japanese',
38+
fa: 'Persian',
3839
};

src/nginxconfig/i18n/es/languages.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright 2022 DigitalOcean
2+
Copyright 2024 DigitalOcean
33
44
This code is licensed under the MIT License.
55
You may obtain a copy of the License at
@@ -35,4 +35,5 @@ export default {
3535
pl: 'Polaco',
3636
de: 'Alemán',
3737
ja: 'Japonés',
38+
fa: 'Persa',
3839
};

src/nginxconfig/i18n/fa/common.js

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
/*
2+
Copyright 2024 DigitalOcean
3+
4+
This code is licensed under the MIT License.
5+
You may obtain a copy of the License at
6+
https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
7+
8+
Permission is hereby granted, free of charge, to any person obtaining a copy
9+
of this software and associated documentation files (the "Software"), to deal
10+
in the Software without restriction, including without limitation the rights
11+
to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
12+
copies of the Software, and to permit persons to whom the Software is
13+
furnished to do so, subject to the following conditions :
14+
15+
The above copyright notice and this permission notice shall be included in
16+
all copies or substantial portions of the Software.
17+
18+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
21+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24+
THE SOFTWARE.
25+
*/
26+
27+
export default {
28+
back: 'بازگشت',
29+
next: 'بعدی',
30+
enable: 'فعال کردن',
31+
php: 'PHP',
32+
ssl: 'SSL',
33+
nginx: 'NGINX',
34+
http: 'HTTP',
35+
https: 'HTTPS',
36+
letsEncrypt: "Let's Encrypt",
37+
python: 'Python',
38+
wordPress: 'WordPress',
39+
drupal: 'Drupal',
40+
magento: 'Magento',
41+
joomla: 'Joomla',
42+
django: 'Django',
43+
logging: 'لاگ‌گیری',
44+
reverseProxy: 'پروکسی معکوس',
45+
reverseProxyLower: 'پروکسی معکوس',
46+
restrict: 'محدود کردن',
47+
path: 'مسیر',
48+
};

src/nginxconfig/i18n/fa/index.js

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
/*
2+
Copyright 2024 DigitalOcean
3+
4+
This code is licensed under the MIT License.
5+
You may obtain a copy of the License at
6+
https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
7+
8+
Permission is hereby granted, free of charge, to any person obtaining a copy
9+
of this software and associated documentation files (the "Software"), to deal
10+
in the Software without restriction, including without limitation the rights
11+
to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
12+
copies of the Software, and to permit persons to whom the Software is
13+
furnished to do so, subject to the following conditions :
14+
15+
The above copyright notice and this permission notice shall be included in
16+
all copies or substantial portions of the Software.
17+
18+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
21+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24+
THE SOFTWARE.
25+
*/
26+
27+
import common from './common';
28+
import languages from './languages';
29+
import templates from './templates';
30+
31+
export default { common, languages, templates };
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
/*
2+
Copyright 2024 DigitalOcean
3+
4+
This code is licensed under the MIT License.
5+
You may obtain a copy of the License at
6+
https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
7+
8+
Permission is hereby granted, free of charge, to any person obtaining a copy
9+
of this software and associated documentation files (the "Software"), to deal
10+
in the Software without restriction, including without limitation the rights
11+
to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
12+
copies of the Software, and to permit persons to whom the Software is
13+
furnished to do so, subject to the following conditions :
14+
15+
The above copyright notice and this permission notice shall be included in
16+
all copies or substantial portions of the Software.
17+
18+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
21+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24+
THE SOFTWARE.
25+
*/
26+
27+
export default {
28+
en: 'انگلیسی',
29+
es: 'اسپانیایی',
30+
zhCN: 'چینی (ساده شده)',
31+
zhTW: 'چینی (سنتی)',
32+
ptBR: 'پرتغالی (برزیلی)',
33+
fr: 'فرانسوی',
34+
ru: 'روسی',
35+
pl: 'لهستانی',
36+
de: 'آلمانی',
37+
ja: 'ژاپنی',
38+
fa: 'فارسی',
39+
};
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
/*
2+
Copyright 2024 DigitalOcean
3+
4+
This code is licensed under the MIT License.
5+
You may obtain a copy of the License at
6+
https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
7+
8+
Permission is hereby granted, free of charge, to any person obtaining a copy
9+
of this software and associated documentation files (the "Software"), to deal
10+
in the Software without restriction, including without limitation the rights
11+
to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
12+
copies of the Software, and to permit persons to whom the Software is
13+
furnished to do so, subject to the following conditions :
14+
15+
The above copyright notice and this permission notice shall be included in
16+
all copies or substantial portions of the Software.
17+
18+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
21+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24+
THE SOFTWARE.
25+
*/
26+
27+
import common from '../common';
28+
29+
export default {
30+
title: `${common.nginx}پیکربندی`,
31+
description: `ساده‌ترین راه برای پیکربندی یک سرور ${common.nginx} کارآمد، امن و پایدار.`,
32+
singleColumnMode: 'حالت ستون تکی',
33+
splitColumnMode: 'حالت کناره به کناره',
34+
perWebsiteConfig: 'پیکربندی برای هر وب‌سایت',
35+
addSite: 'افزودن وب‌سایت',
36+
globalConfig: 'پیکربندی جهانی',
37+
setup: 'راه‌اندازی',
38+
configFiles: 'پرونده‌های پیکربندی',
39+
copied: 'کپی شد',
40+
};
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
/*
2+
Copyright 2024 DigitalOcean
3+
4+
This code is licensed under the MIT License.
5+
You may obtain a copy of the License at
6+
https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
7+
8+
Permission is hereby granted, free of charge, to any person obtaining a copy
9+
of this software and associated documentation files (the "Software"), to deal
10+
in the Software without restriction, including without limitation the rights
11+
to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
12+
copies of the Software, and to permit persons to whom the Software is
13+
furnished to do so, subject to the following conditions :
14+
15+
The above copyright notice and this permission notice shall be included in
16+
all copies or substantial portions of the Software.
17+
18+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
21+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24+
THE SOFTWARE.
25+
*/
26+
27+
export default {
28+
wantToContributeChanges:
29+
'👋 می‌خواهید ویژگی‌های جدید را درخواست دهید، تغییراتی اعمال کنید، یا ابزار را به یک زبان جدید ترجمه کنید؟',
30+
getInvolvedOnGitHub: 'شرکت کنید در GitHub',
31+
};
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
/*
2+
Copyright 2024 DigitalOcean
3+
4+
This code is licensed under the MIT License.
5+
You may obtain a copy of the License at
6+
https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
7+
8+
Permission is hereby granted, free of charge, to any person obtaining a copy
9+
of this software and associated documentation files (the "Software"), to deal
10+
in the Software without restriction, including without limitation the rights
11+
to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
12+
copies of the Software, and to permit persons to whom the Software is
13+
furnished to do so, subject to the following conditions :
14+
15+
The above copyright notice and this permission notice shall be included in
16+
all copies or substantial portions of the Software.
17+
18+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
21+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24+
THE SOFTWARE.
25+
*/
26+
27+
export default {
28+
lookingForAPlaceToDeploy: '👋 به دنبال مکانی برای استقرار پیکربندی جدیدتان هستید؟',
29+
tryOutDigitalOceansDroplet: 'امتحان کنید Droplet LEMP DigitalOcean با NGINX',
30+
};
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
/*
2+
Copyright 2024 DigitalOcean
3+
4+
This code is licensed under the MIT License.
5+
You may obtain a copy of the License at
6+
https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
7+
8+
Permission is hereby granted, free of charge, to any person obtaining a copy
9+
of this software and associated documentation files (the "Software"), to deal
10+
in the Software without restriction, including without limitation the rights
11+
to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
12+
copies of the Software, and to permit persons to whom the Software is
13+
furnished to do so, subject to the following conditions :
14+
15+
The above copyright notice and this permission notice shall be included in
16+
all copies or substantial portions of the Software.
17+
18+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
21+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24+
THE SOFTWARE.
25+
*/
26+
27+
import droplet from './droplet';
28+
import contribute from './contribute';
29+
30+
export default { droplet, contribute };

0 commit comments

Comments
 (0)