diff --git a/src/components/MsgPublish.vue b/src/components/MsgPublish.vue index 2d3982929..79eadedc2 100644 --- a/src/components/MsgPublish.vue +++ b/src/components/MsgPublish.vue @@ -413,7 +413,7 @@ export default class MsgPublish extends Vue { if (!this.msgRecord.topic && !this.msgRecord?.properties?.topicAlias) { this.topicRequired = true this.$notify({ - title: this.$tc('connections.topicReuired'), + title: this.$tc('connections.topicRequired'), message: '', type: 'warning', duration: 3000, diff --git a/src/lang/connections.ts b/src/lang/connections.ts index c54a553a2..c1bb0086a 100644 --- a/src/lang/connections.ts +++ b/src/lang/connections.ts @@ -342,26 +342,26 @@ export default { ja: 'ユーザー プロパティ', hu: 'Felhasználói tulajdonságok', }, - topicReuired: { - zh: '请输入 Topic,请注意下方提示', + topicRequired: { + zh: '请输入主题,并注意下方提示', en: 'Topic is required, please check the hint below', tr: 'Konu gerekli, lütfen aşağıdaki ipucunu kontrol edin', ja: 'トピックを入力してください。下のヒントを確認してください', hu: 'Téma szükséges, kérjük ellenőrizze az alábbi tippet', }, topicCannotContain: { - zh: '不能向包含通配符 #、+ 的 Topic 发布消息', - en: 'You cannot publish the message to a Topic that contains wildcards characters #, +', - tr: '#, + karakterlerini içeren bir Konuya mesaj gönderemezsiniz', + zh: '不能向包含通配符 #、+ 的主题发布消息', + en: 'Cannot publish messages to topics containing wildcard characters #, +', + tr: '#, + joker karakterler içeren konulara mesaj gönderilemez', ja: 'ワイルドカード文字 #、+ を含むトピックにメッセージを送信できません', - hu: '#, + karakterlerini tartalmazó témához nem küldhetsz üzenetet', + hu: 'Nem lehet üzenetet küldeni az #, + karaktereket tartalmazó témákhoz', }, topicTips: { - zh: '可订阅单个或多个主题,订阅多主题时,请使用逗号分隔(,)', - en: 'You can subscribe to single or multiple topics, please use comma separation to subscribe to multiple topics (,)', - tr: 'Tek veya birden fazla konuya abone olabilirsiniz, birden fazla konuya abone olmak için lütfen virgülle ayırmayı kullanın (,)', - ja: '複数のトピックを購読する場合は、カンマで区切ってください(,)。', - hu: 'Feliratkozhat egy vagy több témára, kérjük, használjon vesszőt, ha több témára szeretne feliratkozni (,)', + zh: '可订阅一个或多个主题,订阅多个主题时,请用逗号分隔(,)', + en: 'Subscribe to one or multiple topics, use a comma to separate multiple topics (,)', + tr: 'Bir veya birden fazla konuya abone olun, birden fazla konu için virgül kullanın (,)', + ja: '1つまたは複数のトピックを購読し、複数のトピックをカンマで区切ってください(,)。', + hu: 'Iratkozz fel egy vagy több témára, használj vesszőt több téma elválasztásához (,)', }, payloadReuired: { zh: '请输入 Payload', diff --git a/web/src/lang/connections.ts b/web/src/lang/connections.ts index 30e879b93..043ddf43d 100644 --- a/web/src/lang/connections.ts +++ b/web/src/lang/connections.ts @@ -254,7 +254,7 @@ export default { en: 'User Properties', ja: 'ユーザー プロパティ', }, - topicReuired: { + topicRequired: { zh: '请输入 Topic', en: 'Topic is required', ja: 'トピックを入力してください', diff --git a/web/src/views/connections/ConnectionsDetail.vue b/web/src/views/connections/ConnectionsDetail.vue index 8e799966c..e434edcd3 100644 --- a/web/src/views/connections/ConnectionsDetail.vue +++ b/web/src/views/connections/ConnectionsDetail.vue @@ -818,7 +818,7 @@ export default class ConnectionsDetail extends Vue { const { id, topic, qos, payload, retain, properties } = message if (!topic && !properties?.topicAlias) { - this.$message.warning(this.$tc('connections.topicReuired')) + this.$message.warning(this.$tc('connections.topicRequired')) return false }