From 250f715b17218e792f6154aae6a275ea90748e63 Mon Sep 17 00:00:00 2001 From: taorye Date: Thu, 16 Nov 2023 16:08:17 +0800 Subject: [PATCH] feat: translate m4ndock's purchase link --- layout/home.html | 2 +- layout/locales/en/LC_MESSAGES/messages.po | 4 ++++ layout/locales/messages.pot | 4 ++++ layout/locales/zh/LC_MESSAGES/messages.po | 4 ++++ layout/maix.html | 2 +- 5 files changed, 14 insertions(+), 2 deletions(-) diff --git a/layout/home.html b/layout/home.html index 7d50929653..1511753159 100644 --- a/layout/home.html +++ b/layout/home.html @@ -98,7 +98,7 @@ }, { lable: "{{_('购买')}}", - link: "https://item.taobao.com/item.htm?id=744014549573", + link: "{{_('https://item.taobao.com/item.htm?id=744014549573')}}", }, ], }, diff --git a/layout/locales/en/LC_MESSAGES/messages.po b/layout/locales/en/LC_MESSAGES/messages.po index 67391fb9f0..9a8ca05447 100644 --- a/layout/locales/en/LC_MESSAGES/messages.po +++ b/layout/locales/en/LC_MESSAGES/messages.po @@ -22,6 +22,10 @@ msgstr "Documentation" msgid "购买" msgstr "Buy" +#: home.html:101 maix.html:172 +msgid "https://item.taobao.com/item.htm?id=744014549573" +msgstr "https://www.aliexpress.us/item/3256806030962938.html" + #: home.html:106 msgid "/static/home/licheepi4a_post.jpg" msgstr "" diff --git a/layout/locales/messages.pot b/layout/locales/messages.pot index a6fe738fac..1db81a0c64 100644 --- a/layout/locales/messages.pot +++ b/layout/locales/messages.pot @@ -22,6 +22,10 @@ msgstr "" msgid "购买" msgstr "" +#: home.html:101 maix.html:172 +msgid "https://item.taobao.com/item.htm?id=744014549573" +msgstr "" + #: home.html:106 msgid "/static/home/licheepi4a_post.jpg" msgstr "" diff --git a/layout/locales/zh/LC_MESSAGES/messages.po b/layout/locales/zh/LC_MESSAGES/messages.po index da8ba30a9f..51a2c31c41 100644 --- a/layout/locales/zh/LC_MESSAGES/messages.po +++ b/layout/locales/zh/LC_MESSAGES/messages.po @@ -22,6 +22,10 @@ msgstr "" msgid "购买" msgstr "" +#: home.html:101 maix.html:172 +msgid "https://item.taobao.com/item.htm?id=744014549573" +msgstr "" + #: home.html:106 msgid "/static/home/licheepi4a_post.jpg" msgstr "" diff --git a/layout/maix.html b/layout/maix.html index 9dacb4bf5b..a3d8e7a67c 100644 --- a/layout/maix.html +++ b/layout/maix.html @@ -169,7 +169,7 @@

{{_('Maix 系列产品参数对比')}}

}, { label: "{{_('购买')}}", - link: "https://item.taobao.com/item.htm?id=682169792430", + link: "{{_('https://item.taobao.com/item.htm?id=744014549573')}}", new_tab: true, }, ],