Skip to content

Commit

Permalink
Merge branch 'canary' into cms-builder-io-example
Browse files Browse the repository at this point in the history
  • Loading branch information
teleaziz authored Jan 5, 2022
2 parents 12840e8 + 2efc944 commit 15aaa6e
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 20 deletions.
5 changes: 1 addition & 4 deletions examples/with-next-translate/locales/ar/home.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
{
"arabic": "العربية",
"catalan": "الكاتالونية",
"change-arabic": "تغيير اللغة إلى العربية ",
"change-catalan": "تغيير اللغة إلى الكتالانية",
"change-english": "تغيير اللغة إلى اللغة الإنجليزية ",
"change-hebrew": "تغيير اللغة إلى العبرية",
"change-to": "تغيير اللغة إلى",
"description": "ابدأ بالتعديل",
"english": "الإنجليزية",
"hebrew": "العبرية",
Expand Down
5 changes: 1 addition & 4 deletions examples/with-next-translate/locales/ca/home.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
{
"arabic": "Àrab",
"catalan": "Català",
"change-arabic": "Canvia a la versió en àrab",
"change-catalan": "Canvia a la versió en català",
"change-english": "Canvia a la versió en anglès",
"change-hebrew": "Canvieu a la versió hebrea",
"change-to": "Canvieu a la versió en",
"description": "Comença editant",
"english": "Anglès",
"hebrew": "Hebreu",
Expand Down
5 changes: 1 addition & 4 deletions examples/with-next-translate/locales/en/home.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
{
"arabic": "Arabic",
"catalan": "Catalan",
"change-arabic": "Change language to Arabic",
"change-catalan": "Change language to Catalan",
"change-english": "Change language to English",
"change-hebrew": "Change language to Hebrew",
"change-to": "Change language to",
"description": "Get started by editing",
"english": "English",
"hebrew": "Hebrew",
Expand Down
5 changes: 1 addition & 4 deletions examples/with-next-translate/locales/he/home.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
{
"arabic": "עֲרָבִית",
"catalan": "קטלאנית",
"change-arabic": "שנה שפה לערבית",
"change-catalan": "שנה שפה לקטלונית",
"change-english": "שנה שפה לאנגלית",
"change-hebrew": "שנה את השפה לעברית",
"change-to": "שנה את השפה ל",
"description": "התחל על ידי עריכה",
"english": "אנגלית",
"hebrew": "עִברִית",
Expand Down
16 changes: 12 additions & 4 deletions examples/with-next-translate/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,28 +27,36 @@ export default function Home() {
<Link href="/" locale="en">
<div className="card">
<h3>{t('home:english')}</h3>
<p>{t('home:change-english')}</p>
<p>
{t('home:change-to')} {t('home:english')}
</p>
</div>
</Link>

<Link href="/" locale="ca">
<div className="card">
<h3>{t('home:catalan')}</h3>
<p>{t('home:change-catalan')}</p>
<p>
{t('home:change-to')} {t('home:catalan')}
</p>
</div>
</Link>

<Link href="/" locale="ar">
<div className="card">
<h3>{t('home:arabic')}</h3>
<p>{t('home:change-arabic')}</p>
<p>
{t('home:change-to')} {t('home:arabic')}
</p>
</div>
</Link>

<Link href="/" locale="he">
<div className="card">
<h3>{t('home:hebrew')}</h3>
<p>{t('home:change-hebrew')}</p>
<p>
{t('home:change-to')} {t('home:hebrew')}
</p>
</div>
</Link>

Expand Down

0 comments on commit 15aaa6e

Please sign in to comment.