Skip to content

Commit

Permalink
Merge pull request #1310 from dpc-sdp/task/sd-278-accordion-title-rtl
Browse files Browse the repository at this point in the history
[SD-278] RTL accordion heading
  • Loading branch information
waitingallday committed Sep 2, 2024
2 parents bed5423 + 4f76696 commit cd987b4
Show file tree
Hide file tree
Showing 5 changed files with 1,217 additions and 326 deletions.
2 changes: 1 addition & 1 deletion examples/nuxt-app/test/fixtures/rtl/page.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
},
{
"id": "1621448",
"title": "فارسی 2",
"title": "2. استخدم برنامج مكافحة الفيروسات وقم بتشغيل الحماية من برامج الفدية",
"content": "<p>آیا نام ESK را شنیده اید؟</p><p>اون چیه؟</p><p>کودکستان زود هنگام یا ESK می تواند به شما کمک کند تا مطمئن شوید که حداکثر ساعات برنامه کودکستان رایگان ممکن را هر هفته برای فرزندتان دریافت می کنید.</p><p>ثبت نام از طریق ESK ،‌ در هر هفته 15 ساعت کامل برنامه های کودکستان سه و چهار ساله را تضمین می کند.</p><p>شما باید بررسی کنید که آیا واجد شرایط هستید یا خیر.</p><p>عالی به نظر می رسد - چگونه بفهمیم که واجد شرایط هستیم و چگونه درخواست کنیم؟</p><p>ESK برای کودکانی در دسترس است که تا 30 آوریل سالی که برای حضور در کودکستان ثبت نام می کنند حداقل سه سال دارند و این شرایط را دارا هستند:</p><ul><li>از پیشینه پناهنده یا پناهجو هستند، یا</li><li>بومی و/یا جزیره نشین تنگه تورس هستند، یا</li><li>در برنامه محافظت از کودکان شناخته شده اند.</li></ul><p>چه خوب! چارلی در اول امسال سه ساله شد، آیا او به اندازه کافی بزرگ شده است که شروع کند؟</p><p>یک صفحه محاسبه سن وجود دارد که در این مورد به شما کمک می کند. در وب‌سایت، می‌توانید ماشین‌ محاسبه را پیدا کنید و با برخی از kinder های محلی تماس بگیرید تا در مورد واجد شرایط بودن چارلی صحبت کنید. من وب سایت را برای شما می فرستم تا نگاهی بیندازید - <a href=\"/kinder/translations\" data-entity-type=\"node\" data-entity-uuid=\"9910c675-5dd1-4e63-b6f8-6c5af6bacaba\" data-entity-substitution=\"canonical\" title=\"Information about kindergarten in your language\" class=\"rpl-text-link rpl-u-focusable-inline\">vic.gov.au/kinder/translations</a> است.</p><p>اگر سؤالی دارید، همچنین می توانید با کودکستان محلی خود تماس بگیرید و از آنها در مورد برنامه هایی که ارائه می دهند، از جمله در مورد هزینه های آنها بپرسید .کودکستان ها می توانند به خدمات ترجمه رایگان دسترسی داشته باشند تا&nbsp; به شما به زبان خودتان کمک کنند.</p><p>همچنین می توانید با شهرداری محلی خود یا اداره آموزش و پرورش محلی خود تماس بگیرید تا کودکستان منطقه خود پیدا کنید. برای دریافت کمک به زبان خود، می توانید با شماره 450 131 با خدمات ملی ترجمه نوشتاری و گفتاری تماس بگیرید، از مترجم شفاهی بخواهید با شماره شهرداری محلی یا اداره آموزش و پرورش محلی شما تماس بگیرد و مترجم شفاهی در تماس تلفنی برای ترجمه خواهد ماند.</p><p>مرسی، مهران، این کمک بزرگی بود!</p><p>چارلی، ما باید بریم! ما می خواهیم تو را&nbsp; در کودکستان ثبت نام کنیم!</p><p>برای اطلاعات بیشتر در مورد ESK به <a href=\"/kinder/translations\" data-entity-type=\"node\" data-entity-uuid=\"9910c675-5dd1-4e63-b6f8-6c5af6bacaba\" data-entity-substitution=\"canonical\" title=\"Information about kindergarten in your language\" class=\"rpl-text-link rpl-u-focusable-inline\">vic.gov.au/kinder/translations</a> مراجعه کنید</p><p>تصویب شده توسط وزارت آموزش و کارآموزی ویکتوریا</p>"
}
]
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@
"@vitejs/plugin-vue@5.0.4": "patches/@vitejs__plugin-vue@5.0.4.patch",
"parse5@7.1.2": "patches/parse5@7.1.2.patch",
"parse5-htmlparser2-tree-adapter@7.0.0": "patches/parse5-htmlparser2-tree-adapter@7.0.0.patch",
"parse5-parser-stream@7.1.2": "patches/parse5-parser-stream@7.1.2.patch",
"vite-svg-loader@4.0.0": "patches/vite-svg-loader@4.0.0.patch"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,10 @@
right: 0;
}

[dir='rtl'] .rpl-accordion__item-heading.rpl-type-h4 {
text-align: right;
}

/* stylelint-disable-next-line no-descending-specificity */
[dir='rtl'] .rpl-accordion__item-icon {
margin-left: 0;
Expand Down
43 changes: 43 additions & 0 deletions patches/parse5-parser-stream@7.1.2.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
diff --git a/dist/cjs/index.d.ts b/dist/cjs/index.d.ts
index b4cc829fb24e7dc47714c36d11f9477315efbbe5..4556d50a41d40ff6010af3ed31fb53ab17e6ac5c 100644
--- a/dist/cjs/index.d.ts
+++ b/dist/cjs/index.d.ts
@@ -82,4 +82,3 @@ export interface ParserStream<T extends TreeAdapterTypeMap = DefaultTreeAdapterM
*/
on(event: string, handler: (...args: any[]) => void): this;
}
\ No newline at end of file
-//# sourceMappingURL=index.d.ts.map
\ No newline at end of file
diff --git a/dist/cjs/index.js b/dist/cjs/index.js
index a5002be2d78409f8785571447772edbaaa495b96..861526dca1c15ab442287965de40729dae067a83 100644
--- a/dist/cjs/index.js
+++ b/dist/cjs/index.js
@@ -87,4 +87,3 @@ class ParserStream extends node_stream_1.Writable {
}
}
exports.ParserStream = ParserStream;
\ No newline at end of file
-//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/dist/index.d.ts b/dist/index.d.ts
index b4cc829fb24e7dc47714c36d11f9477315efbbe5..4556d50a41d40ff6010af3ed31fb53ab17e6ac5c 100644
--- a/dist/index.d.ts
+++ b/dist/index.d.ts
@@ -82,4 +82,3 @@ export interface ParserStream<T extends TreeAdapterTypeMap = DefaultTreeAdapterM
*/
on(event: string, handler: (...args: any[]) => void): this;
}
\ No newline at end of file
-//# sourceMappingURL=index.d.ts.map
\ No newline at end of file
diff --git a/dist/index.js b/dist/index.js
index 56d33dda5613b4e84e0756b97d5f88642f68daf6..0150db3d1ce9ac1747817c4014daecff50351eee 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -83,4 +83,3 @@ export class ParserStream extends Writable {
super.end(chunk || '', encoding, callback);
}
}
\ No newline at end of file
-//# sourceMappingURL=index.js.map
Loading

0 comments on commit cd987b4

Please sign in to comment.