Skip to content

Commit

Permalink
meta: remove translated files and removed languages without traction (#…
Browse files Browse the repository at this point in the history
…6028)

* meta: remove translated files and removed languages without traction

* meta: adjusted pages and styles

* fix: types and css

* chore: replace transid

* chore: add other languages back

* chore: copy changes

* Update pages/en/about/index.md

Signed-off-by: Brian Muenzenmeyer <[email protected]>

* Update pages/en/about/governance.md

Signed-off-by: Claudio W <[email protected]>

* chore: updated footer

---------

Signed-off-by: Brian Muenzenmeyer <[email protected]>
Signed-off-by: Claudio W <[email protected]>
Co-authored-by: Brian Muenzenmeyer <[email protected]>
  • Loading branch information
ovflowd and bmuenzenmeyer authored Oct 24, 2023
1 parent 587b9e8 commit 703d66f
Show file tree
Hide file tree
Showing 358 changed files with 1,063 additions and 33,779 deletions.
13 changes: 6 additions & 7 deletions components/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import type { FC } from 'react';
import { FormattedMessage } from 'react-intl';

import LocalizedLink from './LocalizedLink';

type FooterProps = { className?: string };

// Note.: We don't expect to translate these items as we're going to replace with `nodejs/nodejs.dev` footer
Expand Down Expand Up @@ -33,18 +35,15 @@ const Footer: FC<FooterProps> = ({ className }) => (
<p className="openjsfoundation-footer-links">
<a href="https://openjsf.org">The OpenJS Foundation</a>
&nbsp;|&nbsp;
<a href="https://terms-of-use.openjsf.org">Terms of Use</a>
<a href="https://trademark-policy.openjsf.org">Trademark Policy</a>
&nbsp;|&nbsp;
<a href="https://privacy-policy.openjsf.org">Privacy Policy</a>
&nbsp;|&nbsp;
<a href="https://bylaws.openjsf.org">Bylaws</a>&nbsp;|&nbsp;
<a href="https://code-of-conduct.openjsf.org">Code of Conduct</a>
&nbsp;|&nbsp;
<a href="https://trademark-policy.openjsf.org">Trademark Policy</a>
&nbsp;|&nbsp;
<a href="https://trademark-list.openjsf.org">Trademark List</a>
&nbsp;|&nbsp;
<a href="https://www.linuxfoundation.org/cookies">Cookie Policy</a>
<LocalizedLink href="/about/security-reporting">
Security Reporting
</LocalizedLink>
</p>
<div className="openjsfoundation-footer-edit"></div>
</div>
Expand Down
8 changes: 5 additions & 3 deletions crowdin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,28 +8,30 @@ files:
content_segmentation: 0
ignore:
- /pages/en/blog/**/*.md
- /pages/en/docs/**/*.md
languages_mapping:
two_letters_code:
es-ES: es
pt-BR: pt-br
zh-CN: zh-cn
zh-TW: zh-tw
es-ES: es
- source: /pages/en/**/*.mdx
translation: /pages/%two_letters_code%/**/%original_file_name%
content_segmentation: 0
ignore:
- /pages/en/blog/**/*.mdx
- /pages/en/docs/**/*.mdx
languages_mapping:
two_letters_code:
es-ES: es
pt-BR: pt-br
zh-CN: zh-cn
zh-TW: zh-tw
es-ES: es
- source: /i18n/locales/en.json
translation: /i18n/locales/%two_letters_code%.json
languages_mapping:
two_letters_code:
es-ES: es
pt-BR: pt-br
zh-CN: zh-cn
zh-TW: zh-tw
es-ES: es
72 changes: 30 additions & 42 deletions i18n/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,8 @@
"langDir": "rtl",
"dateFormat": "YYYY.MM.DD",
"hrefLang": "ar",
"enabled": true
},
{
"code": "ca",
"localName": "Catalan",
"name": "Catalan",
"langDir": "ltr",
"dateFormat": "DD.MM.YYYY",
"hrefLang": "ca",
"enabled": true
"enabled": false,
"default": false
},
{
"code": "de",
Expand All @@ -24,7 +16,8 @@
"langDir": "ltr",
"dateFormat": "DD.MM.YYYY",
"hrefLang": "de",
"enabled": true
"enabled": false,
"default": false
},
{
"code": "en",
Expand All @@ -43,16 +36,8 @@
"langDir": "ltr",
"dateFormat": "DD.MM.YYYY",
"hrefLang": "es-ES",
"enabled": true
},
{
"code": "fa",
"localName": "زبان فارسی",
"name": "Persian",
"langDir": "rtl",
"dateFormat": "YYYY.MM.DD",
"hrefLang": "fa",
"enabled": true
"enabled": false,
"default": false
},
{
"code": "fr",
Expand All @@ -61,7 +46,8 @@
"langDir": "ltr",
"dateFormat": "DD.MM.YYYY",
"hrefLang": "fr",
"enabled": true
"enabled": false,
"default": false
},
{
"code": "id",
Expand All @@ -70,7 +56,8 @@
"langDir": "ltr",
"dateFormat": "DD.MM.YYYY",
"hrefLang": "id",
"enabled": true
"enabled": false,
"default": false
},
{
"code": "it",
Expand All @@ -79,7 +66,8 @@
"langDir": "ltr",
"dateFormat": "DD.MM.YYYY",
"hrefLang": "it",
"enabled": true
"enabled": false,
"default": false
},
{
"code": "ja",
Expand All @@ -88,7 +76,8 @@
"langDir": "ltr",
"dateFormat": "YYYY.MM.DD",
"hrefLang": "ja",
"enabled": true
"enabled": false,
"default": false
},
{
"code": "ka",
Expand All @@ -97,7 +86,8 @@
"langDir": "ltr",
"dateFormat": "DD.MM.YYYY",
"hrefLang": "ka",
"enabled": true
"enabled": false,
"default": false
},
{
"code": "ko",
Expand All @@ -106,7 +96,8 @@
"langDir": "ltr",
"dateFormat": "YYYY.MM.DD",
"hrefLang": "ko",
"enabled": true
"enabled": false,
"default": false
},
{
"code": "pt-br",
Expand All @@ -115,16 +106,8 @@
"langDir": "ltr",
"dateFormat": "DD.MM.YYYY",
"hrefLang": "",
"enabled": true
},
{
"code": "ro",
"localName": "limba română",
"name": "Romanian",
"langDir": "ltr",
"dateFormat": "DD.MM.YYYY",
"hrefLang": "ro",
"enabled": true
"enabled": false,
"default": false
},
{
"code": "ru",
Expand All @@ -133,7 +116,8 @@
"langDir": "ltr",
"dateFormat": "DD.MM.YYYY",
"hrefLang": "ru",
"enabled": true
"enabled": false,
"default": false
},
{
"code": "tr",
Expand All @@ -142,7 +126,8 @@
"langDir": "ltr",
"dateFormat": "DD.MM.YYYY",
"hrefLang": "tr",
"enabled": true
"enabled": false,
"default": false
},
{
"code": "uk",
Expand All @@ -151,7 +136,8 @@
"langDir": "ltr",
"dateFormat": "DD.MM.YYYY",
"hrefLang": "uk",
"enabled": true
"enabled": false,
"default": false
},
{
"code": "zh-cn",
Expand All @@ -160,7 +146,8 @@
"langDir": "ltr",
"dateFormat": "YYYY/MM/DD",
"hrefLang": "zh-Hans",
"enabled": true
"enabled": false,
"default": false
},
{
"code": "zh-tw",
Expand All @@ -169,6 +156,7 @@
"langDir": "ltr",
"dateFormat": "YYYY/MM/DD",
"hrefLang": "zh-Hant",
"enabled": true
"enabled": false,
"default": false
}
]
89 changes: 59 additions & 30 deletions i18n/locales/ar.json
Original file line number Diff line number Diff line change
@@ -1,39 +1,68 @@
{
"components.footer.scrollToTop.button": "إنتقل إلى الأعلى",
"components.header.links.home": "الرئيسية",
"components.header.links.about": "عن الموقع",
"components.header.links.download": "تنزيلات",
"components.header.links.docs": "التوثيق",
"components.header.links.getInvolved": "إنضم إلينا",
"components.header.links.security": "أمن",
"components.header.links.certification": "شهادة",
"components.header.links.blog": "المدونة",
"components.navigation.about.links.governance": "الحوكمة",
"components.navigation.docs.links.es6": "ES6 وما بعدها",
"components.footer.scrollToTop.button": "Scroll to top",
"components.header.links.about": "About Node.js®",
"components.header.links.download": "Download",
"components.header.links.docs": "Docs",
"components.header.links.getInvolved": "Get Involved",
"components.header.links.security": "Security",
"components.header.links.certification": "Certification",
"components.header.links.blog": "News",
"components.footer.links.trademarkPolicy": "Trademark Policy",
"components.footer.links.privacyPolicy": "Privacy Policy",
"components.footer.links.codeOfConduct": "Code of Conduct",
"components.footer.links.security": "Security Policy",
"components.footer.links.openJS": "OpenJS Foundation",
"components.navigation.about.links.governance": "Project Governance",
"components.navigation.about.links.releases": "Releases",
"components.navigation.about.links.security": "Security Reporting",
"components.navigation.docs.links.es6": "ES6 and beyond",
"components.navigation.docs.links.apiLts": "{fullLtsNodeVersion} API {spanLts}",
"components.navigation.docs.links.apiCurrent": "{fullCurrentNodeVersion} API",
"components.navigation.docs.links.guides": "إرشادات",
"components.navigation.docs.links.dependencies": "تبعيات",
"components.navigation.getInvolved.links.collabSummit": "القمة التعاونية",
"components.navigation.getInvolved.links.contribute": "مساهمة",
"components.navigation.getInvolved.links.codeOfConduct": "القواعد السلوكية",
"components.downloadList.links.previousReleases": "الاصدارات السابقة",
"components.downloadList.links.packageManager": "تحميل Node.js عن طريق نظام إدارة الحزم الافتراضي",
"components.downloadList.links.shaSums": "وثائق الاصدارات مختومة SHASUMS",
"components.downloadList.links.shaSums.howToVerify": " (كيفية التحقق)",
"components.downloadList.links.allDownloads": "تحميل جميع النسخ",
"components.downloadList.links.nightlyReleases": "إصدارات ليلية",
"components.downloadList.links.unofficialBuilds": "بُنْيَات غير رسمية",
"components.navigation.docs.links.guides": "Guides",
"components.navigation.docs.links.dependencies": "Dependencies",
"components.navigation.getInvolved.links.collabSummit": "Collab Summit",
"components.navigation.getInvolved.links.contribute": "Contribute",
"components.navigation.getInvolved.links.codeOfConduct": "Code of Conduct",
"components.downloadList.links.packageManager": "Installing Node.js via package manager",
"components.downloadList.links.shaSums": "Signed SHASUMS for release files",
"components.downloadList.links.shaSums.howToVerify": " (How to verify)",
"components.downloadList.links.allDownloads": "All download options",
"components.downloadList.links.nightlyReleases": "Nightly builds",
"components.downloadList.links.unofficialBuilds": "Unofficial builds",
"components.downloadList.links.buildingFromSource": "Building Node.js from source on supported platforms",
"components.downloadList.links.installingOnLinux": "تثبيت Node.js باستعمال أرشيف ثنائي على لينكس",
"components.downloadList.links.installingOnWsl": "التثبيت على ويندوز في النظام الفرعي لينكس (WSL)",
"components.downloadReleasesTable.changelog": "سجل التغييرات",
"components.downloadList.links.installingOnLinux": "Installing Node.js via binary archive",
"components.downloadList.links.installingOnWsl": "Install on Windows Subsystem for Linux (WSL)",
"components.downloadReleasesTable.changelog": "Changelog",
"components.downloadReleasesTable.releases": "Releases",
"components.downloadReleasesTable.docs": "التوثيق",
"components.downloadReleasesTable.docs": "Docs",
"components.header.buttons.toggleLanguage": "Toggle Language",
"components.header.buttons.toggleDarkMode": "Toggle dark/light mode",
"components.pagination.next": "التالي | ",
"components.pagination.previous": "السابق",
"components.pagination.next": "Newer | ",
"components.pagination.previous": "Older",
"components.common.breadcrumbs.navigateToHome": "Navigate to Home",
"components.common.crossLink.previous": "Prev",
"components.common.crossLink.next": "Next",
"components.common.codebox.copied": "Copied to clipboard!",
"components.metabar.lastUpdated": "Last Updated",
"components.metabar.readingTime": "Reading Time",
"components.metabar.addedIn": "Added In",
"components.metabar.author": "Author",
"components.metabar.authors": "Authors",
"components.metabar.contribute": "Contribute",
"components.metabar.contributeText": "Edit this page",
"components.metabar.viewAs": "View as",
"components.metabar.tableOfContents": "Table of Contents",
"layouts.blogPost.author.byLine": "{author, select, null {} other {By {author}, }}",
"layouts.blogIndex.currentYear": "News from {year}"
"layouts.blogIndex.currentYear": "News from {year}",
"components.api.jsonLink.title": "View as JSON",
"components.api.sourceLink": "Source Code:",
"pages.404.title": "404: Page could not be found",
"pages.404.description": "ENOENT: no such file or directory",
"components.common.pagination.prev": "Previous",
"components.common.pagination.prevAriaLabel": "Previous page",
"components.common.pagination.next": "Next",
"components.common.pagination.nextAriaLabel": "Next page",
"components.common.pagination.defaultLabel": "Pagination",
"components.common.pagination.pageLabel": "Go to page {pageNumber}",
"components.common.languageDropdown.label": "Choose Language"
}
39 changes: 0 additions & 39 deletions i18n/locales/ca.json

This file was deleted.

Loading

0 comments on commit 703d66f

Please sign in to comment.