Skip to content

Commit

Permalink
Add Urdu (ur) Translation
Browse files Browse the repository at this point in the history
  • Loading branch information
AsharibAli committed Feb 21, 2024
1 parent e3f7c8d commit 7407bf3
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,16 @@ async function createConfig() {
"ur",
],
localeConfigs: {
"zh-tw": {
label: "繁體中文",
direction: "ltr",
'zh-tw': {
label: '繁體中文',
direction: 'ltr',
},
},
},
scripts: [
{
src: "https://tag.clearbitscripts.com/v1/pk_5621ff511ea83a6ec015bee0a0b5dd79/tags.js",
src:
"https://tag.clearbitscripts.com/v1/pk_5621ff511ea83a6ec015bee0a0b5dd79/tags.js",
async: true,
},
],
Expand Down Expand Up @@ -79,14 +80,11 @@ async function createConfig() {
},
};
},
[
"posthog-docusaurus",
{
apiKey: process.env.POSTHOG_API_KEY || "DEV",
appUrl: "https://app.posthog.com", // optional
enableInDevelopment: false, // optional
},
],
["posthog-docusaurus", {
apiKey: process.env.POSTHOG_API_KEY || "DEV",
appUrl: "https://app.posthog.com", // optional
enableInDevelopment: false, // optional
}],
],

presets: [
Expand Down Expand Up @@ -154,7 +152,8 @@ async function createConfig() {
async: true,
},
{
href: "https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap",
href:
"https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap",
async: true,
},
],
Expand Down Expand Up @@ -264,4 +263,4 @@ async function createConfig() {
};
}

module.exports = createConfig;
module.exports = createConfig;

0 comments on commit 7407bf3

Please sign in to comment.