This is an automated email from the ASF dual-hosted git repository.

luzhijing pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 1775825ed07 (fix) fix release note expression (#267)
1775825ed07 is described below

commit 1775825ed078281483bdaabb9b1aec4053eef61e
Author: Jeffrey <color.d...@gmail.com>
AuthorDate: Tue Jul 25 10:44:13 2023 +0800

    (fix) fix release note expression (#267)
---
 docusaurus.config.js          |  8 ++++----
 i18n/zh-CN/code.json          |  4 ++--
 src/constant/download.data.ts |  6 +++---
 src/pages/download/index.tsx  | 18 +++++++++---------
 src/pages/index.tsx           |  9 +++++----
 5 files changed, 23 insertions(+), 22 deletions(-)

diff --git a/docusaurus.config.js b/docusaurus.config.js
index 9a7c3727a0c..4b87d22f458 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -137,7 +137,7 @@ const config = {
                     showLastUpdateTime: false,
                 },
                 blog: {
-                    blogTitle: 'Blog',
+                    blogTitle: 'Blogs',
                     blogDescription: 'Apache Doris Blog',
                     postsPerPage: 'ALL',
                     blogSidebarCount: 0,
@@ -172,7 +172,7 @@ const config = {
         ({
             announcementBar: {
                 id: 'support_us',
-                content: `<a href="https://github.com/apache/doris"; 
target="_blank" style="display: flex; width: 100%; align-items: center; 
justify-content: center; margin-left: 4px; text-decoration: none; color: 
white">Do you like Apache Doris?Give us a 🌟 on Github 
+                content: `<a href="https://github.com/apache/doris"; 
target="_blank" style="display: flex; width: 100%; align-items: center; 
justify-content: center; margin-left: 4px; text-decoration: none; color: 
white">Do you like Apache Doris?Give us a 🌟 on GitHub 
                         <img style="width: 1.2rem; height: 1.2rem; 
margin-left: 0.4rem;" src="/images/github-white-icon.svg">
                     </a>`,
                 backgroundColor: '#3C2FD4',
@@ -194,7 +194,7 @@ const config = {
                         docId: 'summary/basic-summary',
                         to: '/summary/basic-summary',
                     },
-                    { to: '/blog', label: 'Blog', position: 'left' },
+                    { to: '/blog', label: 'Blogs', position: 'left' },
                     {
                         label: 'Community',
                         type: 'doc',
@@ -202,7 +202,7 @@ const config = {
                         position: 'left',
                         docsPluginId: 'community',
                     },
-                    { to: '/users', label: 'Users', position: 'left' },
+                    { to: '/users', label: 'User Stories', position: 'left' },
                     {
                         type: 'docsVersionDropdown',
                         position: 'right',
diff --git a/i18n/zh-CN/code.json b/i18n/zh-CN/code.json
index caab7c74d46..9fc5e106da2 100644
--- a/i18n/zh-CN/code.json
+++ b/i18n/zh-CN/code.json
@@ -772,8 +772,8 @@
     "message": "1.2.1 版本暂不支持使用 JDK11 运行,会在后续版本修复。"
   },
   "1.2.6": {
-    "message": "Apache Doris 1.2.6 Release",
-    "description": "Apache Doris 1.2.6 Release"
+    "message": "Apache Doris 1.2.6 is released now.",
+    "description": "Apache Doris 1.2.6 is released now."
   },
   "download.document": {
     "message": "Document",
diff --git a/src/constant/download.data.ts b/src/constant/download.data.ts
index b342a4bc3f7..3ad0e3be55e 100644
--- a/src/constant/download.data.ts
+++ b/src/constant/download.data.ts
@@ -142,7 +142,7 @@ export function getAllDownloadLinks(locale: string) {
         {
             id: '1.2.6-arm-jdk8',
             sh: {
-                label: 'apache-doris-1.2.6-bin-arm.tar.xz',
+                label: 'apache-doris-1.2.6-bin-arm64.tar.xz',
                 links: {
                     source: `${ORIGIN}apache-doris-1.2.6-bin-arm64.tar.xz`,
                     signature: 
`${ORIGIN}apache-doris-1.2.6-bin-arm64.tar.xz.asc`,
@@ -322,7 +322,7 @@ export function getAllRelease(locale: string) {
     const sources = locale.toLocaleUpperCase() === 'EN' ? ALL_RELEASE_LINK : 
CHINA_ALL_RELEASE_MIRROR_LINK;
     return [
         {
-            version: '2.0-beta (Latest)',
+            version: '2.0-beta ( Latest )',
             date: '2023-07-03',
             note: '/docs/dev/releasenotes/release-2.0-beta',
             download: [
@@ -366,7 +366,7 @@ export function getAllRelease(locale: string) {
             ]
         },
         {
-            version: '1.2.4.1',
+            version: '1.2.4',
             date: '2023-04-27',
             note: '/docs/dev/releasenotes/release-1.2.4.1',
             download: [
diff --git a/src/pages/download/index.tsx b/src/pages/download/index.tsx
index 024a1a47e1e..2babd4aa497 100644
--- a/src/pages/download/index.tsx
+++ b/src/pages/download/index.tsx
@@ -21,9 +21,9 @@ import {
 import DropdownNavbarItem from '@theme/NavbarItem/DropdownNavbarItem';
 
 const BINARY_VERSION = [
-    { label: `${VersionEnum.Latest} (Latest)`, value: VersionEnum.Latest },
-    { label: `${VersionEnum.Prev} (Stable)`, value: VersionEnum.Prev },
-    { label: VersionEnum.Earlier, value: VersionEnum.Earlier },
+    { label: `${VersionEnum.Latest} ( Latest )`, value: VersionEnum.Latest },
+    { label: `${VersionEnum.Prev} ( Stable )`, value: VersionEnum.Prev },
+    { label: `${VersionEnum.Earlier} ( Stable )`, value: VersionEnum.Earlier },
 ];
 
 const JDK = [
@@ -369,7 +369,7 @@ export default function Download(): JSX.Element {
                                         <Translate 
id="download.all.release.download">Download</Translate>
                                     </th>
                                     <th>
-                                        <Translate 
id="download.all.release.note">Release Note</Translate>
+                                        <Translate 
id="download.all.release.note">Release Notes</Translate>
                                     </th>
                                 </tr>
                             </thead>
@@ -414,7 +414,7 @@ export default function Download(): JSX.Element {
                                             )}
                                         </td>
                                         <td>
-                                            <Link to={item.note}>Release 
Note</Link>
+                                            <Link to={item.note}>Release 
Notes</Link>
                                         </td>
                                     </tr>
                                 ))}
@@ -574,7 +574,7 @@ export default function Download(): JSX.Element {
                     </CodeBlock>
                 </PageColumn>
             </section>
-            <section className="table-content">
+            {/* <section className="table-content">
                 <PageColumn
                     align="left"
                     title={
@@ -597,7 +597,7 @@ export default function Download(): JSX.Element {
                         </p>
                     </div>
                 </PageColumn>
-            </section>
+            </section> */}
             <section className="verify">
                 <PageColumn
                     align="left"
@@ -613,7 +613,7 @@ export default function Download(): JSX.Element {
                     </Link>
                     <Translate id="download.verify.w3"> and using these 
</Translate>
                     <Link to="https://downloads.apache.org/doris/KEYS";>
-                        <Translate id="download.verify.w4"> KEYS</Translate>
+                        <Translate id="download.verify.w4"> Keys</Translate>
                     </Link>
                     <Translate id="download.verify.w5">. After verification, 
please read</Translate>
                     <Link to="/docs/install/source-install/compilation">
@@ -621,7 +621,7 @@ export default function Download(): JSX.Element {
                     </Link>
                     <Translate id="download.verify.w7"> and </Translate>
                     <Link to="/docs/install/install-deploy">
-                        <Translate id="download.verify.w8"> Installation and 
deployment </Translate>
+                        <Translate id="download.verify.w8"> Installation and 
Deployment </Translate>
                     </Link>
                     <Translate id="download.verify.w9"> to compile and install 
Doris.</Translate>
                 </PageColumn>
diff --git a/src/pages/index.tsx b/src/pages/index.tsx
index 17fd8c30d55..3da622791b3 100644
--- a/src/pages/index.tsx
+++ b/src/pages/index.tsx
@@ -139,10 +139,11 @@ export default function Home(): JSX.Element {
     ];
     return (
         <Layout
-            title={translate({ id: 'homepage.title', message: 'Home' })}
+            title={translate({ id: 'homepage.title', message: 'Apache Doris: 
Open Source Real-Time Data Warehouse' })}
             description={translate({
                 id: 'homepage.banner.subTitle',
-                message: 'An easy-to-use, high-performance and unified 
analytical database',
+                message:
+                    'Apache Doris is a next-generation open-source real-time 
data warehouse  based on MPP architecture, with easier use and higher 
performance for big data analytics.',
             })}
             showAnnouncementBar={true}
         >
@@ -153,8 +154,8 @@ export default function Home(): JSX.Element {
                         <div className="news-item">
                             <span className="news-icon"></span>
                             <Link to="/docs/dev/releasenotes/release-1.2.6" 
className="news-content">
-                                <Translate id="1.2.6" description="Apache 
Doris 1.2.6 Release">
-                                    Apache Doris 1.2.6 Release
+                                <Translate id="1.2.6" description="Apache 
Doris 1.2.6 is released now.">
+                                    Apache Doris 1.2.6 is released now.
                                 </Translate>
                             </Link>
                         </div>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to