Skip to content

Commit e11f193

Browse files
committed
feat: enable ja,ru,es,de,fr,ar
1 parent bfbdf56 commit e11f193

File tree

2 files changed

+18
-16
lines changed

2 files changed

+18
-16
lines changed

apps/index/src/app/page.tsx

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -239,16 +239,18 @@ export default function Home() {
239239
</div>
240240
</div>
241241

242-
<div className="mt-8 p-4 bg-white/10 backdrop-blur-sm rounded-xl">
243-
<p className="text-white/80 text-sm">
244-
<strong>Most requested so far:</strong>{' '}
245-
{pedingSites
246-
.map(({ name }) => {
247-
return name;
248-
})
249-
.join(', ')}
250-
</p>
251-
</div>
242+
{pedingSites.length > 0 && (
243+
<div className="mt-8 p-4 bg-white/10 backdrop-blur-sm rounded-xl">
244+
<p className="text-white/80 text-sm">
245+
<strong>Most requested so far:</strong>{' '}
246+
{pedingSites
247+
.map(({ name }) => {
248+
return name;
249+
})
250+
.join(', ')}
251+
</p>
252+
</div>
253+
)}
252254
</div>
253255
</div>
254256
</div>

packages/const/src/locale.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export const LOCALES: LocaleConfig[] = [
4545
{
4646
color: 'from-pink-500 to-pink-600',
4747
description: 'Next.js 日本語ドキュメント',
48-
enabled: false,
48+
enabled: true,
4949
flag: '🇯🇵',
5050
locale: 'ja',
5151
name: 'Japanese',
@@ -55,7 +55,7 @@ export const LOCALES: LocaleConfig[] = [
5555
{
5656
color: 'from-amber-500 to-amber-600',
5757
description: 'Documentación de Next.js en español',
58-
enabled: false,
58+
enabled: true,
5959
flag: '🇪🇸',
6060
locale: 'es',
6161
name: 'Spanish',
@@ -65,7 +65,7 @@ export const LOCALES: LocaleConfig[] = [
6565
{
6666
color: 'from-gray-500 to-gray-600',
6767
description: 'Next.js Dokumentation auf Deutsch',
68-
enabled: false,
68+
enabled: true,
6969
flag: '🇩🇪',
7070
locale: 'de',
7171
name: 'German',
@@ -75,7 +75,7 @@ export const LOCALES: LocaleConfig[] = [
7575
{
7676
color: 'from-indigo-500 to-indigo-600',
7777
description: 'Documentation Next.js en français',
78-
enabled: false,
78+
enabled: true,
7979
flag: '🇫🇷',
8080
locale: 'fr',
8181
name: 'French',
@@ -85,7 +85,7 @@ export const LOCALES: LocaleConfig[] = [
8585
{
8686
color: 'from-emerald-500 to-emerald-600',
8787
description: 'Документация Next.js на русском языке',
88-
enabled: false,
88+
enabled: true,
8989
flag: '🇷🇺',
9090
locale: 'ru',
9191
name: 'French',
@@ -95,7 +95,7 @@ export const LOCALES: LocaleConfig[] = [
9595
{
9696
color: 'from-green-500 to-green-600',
9797
description: 'وثائق Next.js باللغة العربية',
98-
enabled: false,
98+
enabled: true,
9999
flag: '🇸🇦',
100100
locale: 'ar',
101101
name: 'Arabic',

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy