Skip to content

Commit

Permalink
docs: add fa translations to sidebar (#4243)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbfakourii authored Sep 11, 2024
1 parent f2fa27e commit 5dcce0a
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions docs/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -111,83 +111,121 @@ export default defineConfig({
label: 'Introduction',
translations: {
'zh-CN': '介绍',
fa: 'مقدمه',
},
items: [
{
label: 'Getting Started',
link: '/getting-started/',
translations: {
'zh-CN': '快速入门',
fa: 'شروع شدن',
},
},
{
label: 'Why Bloc?',
link: '/why-bloc/',
translations: {
'zh-CN': '为什么用 Bloc?',
fa: 'چرا Bloc؟',
},
},
{
label: 'Bloc Concepts',
link: '/bloc-concepts/',
translations: {
'zh-CN': 'Bloc 核心概念',
fa: 'مفاهیم Bloc',
},
},
{
label: 'Flutter Bloc Concepts',
link: '/flutter-bloc-concepts/',
translations: {
'zh-CN': 'Flutter Bloc 核心概念',
fa: 'مفاهیم بلوک فلاتر',
},
},
{
label: 'Architecture',
link: '/architecture/',
translations: {
fa: 'معماری',
},
},
{
label: 'Modeling State',
link: '/modeling-state/',
translations: {
fa: 'وضعیت (State) مدل سازی',
},
},
{
label: 'Testing',
link: '/testing/',
translations: {
fa: 'آزمایش کردن',
},
},
{
label: 'Naming Conventions',
link: '/naming-conventions/',
translations: {
fa: 'قراردادهای نامگذاری',
},
},
{
label: 'FAQs',
link: '/faqs/',
translations: {
fa: 'سوالات متداول',
},
},
{
label: 'Migration Guide',
link: '/migration/',
translations: {
fa: 'راهنمای مهاجرت',
},
},
],
},
{
label: 'Tutorials',
translations: {
fa: 'آموزش ها',
},
autogenerate: {
directory: 'tutorials',
},
},
{
label: 'Tools',
translations: {
fa: 'ابزار',
},
items: [
{
label: 'IntelliJ Plugin',
link: 'https://plugins.jetbrains.com/plugin/12129-bloc',
translations: {
fa: 'پلاگین IntelliJ',
},
},
{
label: 'VSCode Extension',
link: 'https://marketplace.visualstudio.com/items?itemName=FelixAngelov.bloc',
translations: {
fa: 'پلاگین VSCode',
},
},
],
},
{
label: 'Reference',
translations: {
fa: 'مرجع',
},
items: [
{
label: 'angular_bloc',
Expand Down

0 comments on commit 5dcce0a

Please sign in to comment.