From 2d7c832d33e8bf805f0e6eea544cdcd1002426a3 Mon Sep 17 00:00:00 2001 From: dreamsourcelabTAI Date: Thu, 11 May 2023 17:28:20 +0800 Subject: [PATCH] fix: The error information is not incomplete display on the wave view --- DSView/pv/data/decoderstack.cpp | 2 +- lang/cn/msg.json | 2 +- lang/en/msg.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/DSView/pv/data/decoderstack.cpp b/DSView/pv/data/decoderstack.cpp index 47fa6e44..7ac840dd 100644 --- a/DSView/pv/data/decoderstack.cpp +++ b/DSView/pv/data/decoderstack.cpp @@ -428,7 +428,7 @@ void DecoderStack::do_decode_work() for(auto dec : _stack){ if (!dec->have_required_probes()) { _error_message = L_S(STR_PAGE_MSG, S_ID(IDS_MSG_DECODERSTACK_DECODE_WORK_ERROR), - "One or more required channels \nhave not been specified"); + "One or more required channels have not been specified"); return; } } diff --git a/lang/cn/msg.json b/lang/cn/msg.json index 22def5d1..75ad9e7c 100644 --- a/lang/cn/msg.json +++ b/lang/cn/msg.json @@ -333,7 +333,7 @@ }, { "id": "IDS_MSG_DECODERSTACK_DECODE_WORK_ERROR", - "text": "n尚未指定一个或多个 \n所需通道" + "text": "尚未指定一个或多个所需通道!" }, { "id": "IDS_MSG_DECODERSTACK_DECODE_DATA_ERROR", diff --git a/lang/en/msg.json b/lang/en/msg.json index d5a55921..989c9049 100644 --- a/lang/en/msg.json +++ b/lang/en/msg.json @@ -334,7 +334,7 @@ }, { "id": "IDS_MSG_DECODERSTACK_DECODE_WORK_ERROR", - "text": "One or more required channels \nhave not been specified" + "text": "One or more required channels have not been specified!" }, { "id": "IDS_MSG_DECODERSTACK_DECODE_DATA_ERROR",