Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(help): update MQTT beginner's guide #1176

Merged
merged 1 commit into from
Dec 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/assets/scss/element/element-reset.scss
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@

/* Tootip */
.el-tooltip__popper.is-light {
color: var(--color-text-light);
color: var(--color-text-right_block);
}

/* Color picker */
Expand Down
50 changes: 32 additions & 18 deletions src/lang/help.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ export default {
hu: 'A gazdag és könnyen érthető MQTT útmutató segít abban, hogy gyorsan elkezdhesse a MQTT protokollt.',
},
guideArticle1: {
zh: '物流网首选协议,关于 MQTT 你需要了解这些',
en: 'What is the MQTT protocol',
ja: 'What is the MQTT protocol',
tr: 'What is the MQTT protocol',
hu: 'What is the MQTT protocol',
zh: '物联网首选协议,关于 MQTT 你需要了解这些',
en: 'What is The MQTT and Why is it the Best Protocol for IoT?',
ja: 'What is The MQTT and Why is it the Best Protocol for IoT?',
tr: 'What is The MQTT and Why is it the Best Protocol for IoT?',
hu: 'What is The MQTT and Why is it the Best Protocol for IoT?',
},
guideArticle2: {
zh: 'MQTT 协议快速体验',
Expand All @@ -63,40 +63,54 @@ export default {
hu: 'Introduction to MQTT publish-subscribe model',
},
guideArticle4: {
zh: '创建 MQTT 连接时如何设置参数?',
en: 'How to Set Parameters When Establishing an MQTT Connection?',
ja: 'How to Set Parameters When Establishing an MQTT Connection?',
tr: 'How to Set Parameters When Establishing an MQTT Connection?',
hu: 'How to Set Parameters When Establishing an MQTT Connection?',
},
guideArticle5: {
zh: '通过案例理解 MQTT 主题与通配符',
en: 'Understanding MQTT Topics & Wildcards by Case',
ja: 'Understanding MQTT Topics & Wildcards by Case',
tr: 'Understanding MQTT Topics & Wildcards by Case',
hu: 'Understanding MQTT Topics & Wildcards by Case',
},
guideArticle5: {
zh: 'MQTT QoS(服务质量)介绍',
en: 'Introduction to MQTT QoS (Quality of Service)',
ja: 'Introduction to MQTT QoS (Quality of Service)',
tr: 'Introduction to MQTT QoS (Quality of Service)',
hu: 'Introduction to MQTT QoS (Quality of Service)',
},
guideArticle6: {
zh: 'MQTT 会话',
zh: 'MQTT 持久会话与 Clean Session 详解',
en: 'MQTT Session',
ja: 'MQTT Session',
tr: 'MQTT Session',
hu: 'MQTT Session',
},
guideArticle7: {
zh: 'MQTT 保留消息是什么?如何使用?',
en: 'MQTT Retain Message',
ja: 'MQTT Retain Message',
tr: 'MQTT Retain Message',
hu: 'MQTT Retain Message',
zh: 'MQTT QoS(服务质量)介绍',
en: 'Introduction to MQTT QoS (Quality of Service)',
ja: 'Introduction to MQTT QoS (Quality of Service)',
tr: 'Introduction to MQTT QoS (Quality of Service)',
hu: 'Introduction to MQTT QoS (Quality of Service)',
},
guideArticle8: {
zh: 'MQTT 保留消息是什么?如何使用?',
en: "The Beginner's Guide to MQTT Retained Messages",
ja: "The Beginner's Guide to MQTT Retained Messages",
tr: "The Beginner's Guide to MQTT Retained Messages",
hu: "The Beginner's Guide to MQTT Retained Messages",
},
guideArticle9: {
zh: 'MQTT 遗嘱消息(Will Message)的使用',
en: 'Use of MQTT Will Message',
ja: 'Use of MQTT Will Message',
tr: 'Use of MQTT Will Message',
hu: 'Use of MQTT Will Message',
},
guideArticle10: {
zh: 'MQTT 协议 Keep Alive 详解',
en: 'What is the MQTT Keep Alive parameter for?',
ja: 'What is the MQTT Keep Alive parameter for?',
tr: 'What is the MQTT Keep Alive parameter for?',
hu: 'What is the MQTT Keep Alive parameter for?',
},
practiceTitle: {
zh: 'MQTT 编程',
en: 'MQTT Programming',
Expand Down
14 changes: 11 additions & 3 deletions src/views/help/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -98,24 +98,32 @@ export default class Help extends Vue {
},
{
title: this.$tc('help.guideArticle4'),
link: `${this.emqWebsite}/blog/advanced-features-of-mqtt-topics`,
link: `${this.emqWebsite}/blog/how-to-set-parameters-when-establishing-an-mqtt-connection`,
},
{
title: this.$tc('help.guideArticle5'),
link: `${this.emqWebsite}/blog/introduction-to-mqtt-qos`,
link: `${this.emqWebsite}/blog/advanced-features-of-mqtt-topics`,
},
{
title: this.$tc('help.guideArticle6'),
link: `${this.emqWebsite}/blog/mqtt-session`,
},
{
title: this.$tc('help.guideArticle7'),
link: `${this.emqWebsite}/blog/mqtt5-features-retain-message`,
link: `${this.emqWebsite}/blog/introduction-to-mqtt-qos`,
},
{
title: this.$tc('help.guideArticle8'),
link: `${this.emqWebsite}/blog/mqtt5-features-retain-message`,
},
{
title: this.$tc('help.guideArticle9'),
link: `${this.emqWebsite}/blog/use-of-mqtt-will-message`,
},
{
title: this.$tc('help.guideArticle10'),
link: `${this.emqWebsite}/blog/mqtt-keep-alive`,
},
]
}

Expand Down
34 changes: 22 additions & 12 deletions web/src/lang/help.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ export default {
ja: '豊富で分かりやすい MQTT ガイドで、MQTT プロトコルをすぐに始めることができます。',
},
guideArticle1: {
zh: '物流网首选协议,关于 MQTT 你需要了解这些',
en: 'What is the MQTT protocol',
ja: 'What is the MQTT protocol',
zh: '物联网首选协议,关于 MQTT 你需要了解这些',
en: 'What is The MQTT and Why is it the Best Protocol for IoT?',
ja: 'What is The MQTT and Why is it the Best Protocol for IoT?',
},
guideArticle2: {
zh: 'MQTT 协议快速体验',
Expand All @@ -47,30 +47,40 @@ export default {
ja: 'Introduction to MQTT publish-subscribe model',
},
guideArticle4: {
zh: '创建 MQTT 连接时如何设置参数?',
en: 'How to Set Parameters When Establishing an MQTT Connection?',
ja: 'How to Set Parameters When Establishing an MQTT Connection?',
},
guideArticle5: {
zh: '通过案例理解 MQTT 主题与通配符',
en: 'Understanding MQTT Topics & Wildcards by Case',
ja: 'Understanding MQTT Topics & Wildcards by Case',
},
guideArticle5: {
zh: 'MQTT QoS(服务质量)介绍',
en: 'Introduction to MQTT QoS (Quality of Service)',
ja: 'Introduction to MQTT QoS (Quality of Service)',
},
guideArticle6: {
zh: 'MQTT 会话',
zh: 'MQTT 持久会话与 Clean Session 详解',
en: 'MQTT Session',
ja: 'MQTT Session',
},
guideArticle7: {
zh: 'MQTT 保留消息是什么?如何使用?',
en: 'MQTT Retain Message',
ja: 'MQTT Retain Message',
zh: 'MQTT QoS(服务质量)介绍',
en: 'Introduction to MQTT QoS (Quality of Service)',
ja: 'Introduction to MQTT QoS (Quality of Service)',
},
guideArticle8: {
zh: 'MQTT 保留消息是什么?如何使用?',
en: "The Beginner's Guide to MQTT Retained Messages",
ja: "The Beginner's Guide to MQTT Retained Messages",
},
guideArticle9: {
zh: 'MQTT 遗嘱消息(Will Message)的使用',
en: 'Use of MQTT Will Message',
ja: 'Use of MQTT Will Message',
},
guideArticle10: {
zh: 'MQTT 协议 Keep Alive 详解',
en: 'What is the MQTT Keep Alive parameter for?',
ja: 'What is the MQTT Keep Alive parameter for?',
},
practiceTitle: {
zh: 'MQTT 编程',
en: 'MQTT Programming',
Expand Down
14 changes: 11 additions & 3 deletions web/src/views/help/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -98,24 +98,32 @@ export default class Help extends Vue {
},
{
title: this.$tc('help.guideArticle4'),
link: `${this.emqWebsite}/blog/advanced-features-of-mqtt-topics`,
link: `${this.emqWebsite}/blog/how-to-set-parameters-when-establishing-an-mqtt-connection`,
},
{
title: this.$tc('help.guideArticle5'),
link: `${this.emqWebsite}/blog/introduction-to-mqtt-qos`,
link: `${this.emqWebsite}/blog/advanced-features-of-mqtt-topics`,
},
{
title: this.$tc('help.guideArticle6'),
link: `${this.emqWebsite}/blog/mqtt-session`,
},
{
title: this.$tc('help.guideArticle7'),
link: `${this.emqWebsite}/blog/mqtt5-features-retain-message`,
link: `${this.emqWebsite}/blog/introduction-to-mqtt-qos`,
},
{
title: this.$tc('help.guideArticle8'),
link: `${this.emqWebsite}/blog/mqtt5-features-retain-message`,
},
{
title: this.$tc('help.guideArticle9'),
link: `${this.emqWebsite}/blog/use-of-mqtt-will-message`,
},
{
title: this.$tc('help.guideArticle10'),
link: `${this.emqWebsite}/blog/mqtt-keep-alive`,
},
]
}

Expand Down