Merge pull request #149 from 8xu/main

feat(lang): added ro.json
This commit is contained in:
mauro 🤙
2024-09-02 16:11:06 +02:00
committed by GitHub
2 changed files with 8 additions and 1 deletions

7
messages/ro.json Normal file
View File

@@ -0,0 +1,7 @@
{
"navigation": {
"nav-getting-started": "Noțiuni de bază",
"donate": "Donează",
"useful-links": "Linkuri utile"
}
}

View File

@@ -1,7 +1,7 @@
import { getRequestConfig } from "next-intl/server"; import { getRequestConfig } from "next-intl/server";
import { headers } from "next/headers"; import { headers } from "next/headers";
const SUPPORTED_LANGUAGES = ['en', 'de']; const SUPPORTED_LANGUAGES = ['en', 'de', 'ro'];
export default getRequestConfig(async () => { export default getRequestConfig(async () => {
const headersList = headers(); const headersList = headers();