Skip to content

Commit

Permalink
remove all the translations because crowdin MT is not good.
Browse files Browse the repository at this point in the history
  • Loading branch information
caesay committed Mar 17, 2024
1 parent 63b3e4e commit 6eb9cbb
Show file tree
Hide file tree
Showing 343 changed files with 16 additions and 30,200 deletions.
58 changes: 0 additions & 58 deletions .github/workflows/daily.yml

This file was deleted.

12 changes: 0 additions & 12 deletions crowdin.yml

This file was deleted.

47 changes: 0 additions & 47 deletions daily-tasks.mjs

This file was deleted.

2 changes: 0 additions & 2 deletions dfmg.yaml

This file was deleted.

29 changes: 15 additions & 14 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const config: Config = {
onBrokenMarkdownLinks: 'throw',
i18n: {
defaultLocale: 'en',
locales: ['en', 'zh-CN', 'de', 'ru'],
locales: ['en'],
},
themes: [
['@easyops-cn/docusaurus-search-local', {
Expand Down Expand Up @@ -51,7 +51,8 @@ const config: Config = {
return null; // reference pages can't be edited
}
if (locale != 'en') {
return 'https://crowdin.com/project/velopack/invite?h=88bec14b5657f004fe5ba325090df5ba2031736';
return null;
// return 'https://crowdin.com/project/velopack/invite?h=88bec14b5657f004fe5ba325090df5ba2031736';
}
return `https://github.com/velopack/velopack.docs/tree/master/${versionDocsDirPath}/${docPath}`;
},
Expand Down Expand Up @@ -103,18 +104,18 @@ const config: Config = {
label: 'Blog',
position: 'left'
},
{
type: 'localeDropdown',
position: 'right',
dropdownItemsAfter: [
{
href: 'https://crowdin.com/project/velopack/invite?h=88bec14b5657f004fe5ba325090df5ba2031736',
label: 'Help Translate',
target: '_blank',
rel: null,
},
],
},
// {
// type: 'localeDropdown',
// position: 'right',
// dropdownItemsAfter: [
// {
// href: 'https://crowdin.com/project/velopack/invite?h=88bec14b5657f004fe5ba325090df5ba2031736',
// label: 'Help Translate',
// target: '_blank',
// rel: null,
// },
// ],
// },
{
href: 'https://github.com/velopack/velopack',
position: 'right',
Expand Down
Loading

0 comments on commit 6eb9cbb

Please sign in to comment.