Wireshark mailing list archives
Re: Is there a way to internationalize the text of dissector's preference?
From: Alexis La Goutte <alexis.lagoutte () gmail com>
Date: Fri, 6 Nov 2020 19:01:29 +0100
Hi, It is possible, you can push a patch (with WIP status) for looking ? On Fri, Nov 6, 2020 at 2:26 PM qiangxiong.huang <qiangxiong.huang () qq com> wrote:
Hi, Alexis La Goutte I just want to internationalize for the title and description of preference in packet-xxx.c. Is this possible to use glib wrapper gettext() as Guy Harris said? ------------------ Original ------------------ *From:* "alexis.lagoutte" <alexis.lagoutte () gmail com>; *Date:* Fri, Nov 6, 2020 03:53 AM *To:* "Developer support list for Wireshark"<wireshark-dev () wireshark org>; *Subject:* Re: [Wireshark-dev] Is there a way to internationalize the text of dissector's preference? Hi Huang, No, there is a actually no way for translate packet-xxx.c files Cheers On Thu, Nov 5, 2020 at 2:31 PM qiangxiong.huang <qiangxiong.huang () qq com> wrote:It seems that only qt releated code (in .cpp) can be internationalized by QString::tr(). Is there a way to internationalize the text of dissector preference which is usually set in epan/dissectors/packet-xxx.c ? Regards, Huang Qiangxiong ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org ?subject=unsubscribe___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org ?subject=unsubscribe
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Is there a way to internationalize the text of dissector's preference? qiangxiong.huang (Nov 05)
- Re: Is there a way to internationalize the text of dissector's preference? Guy Harris (Nov 05)
- Re: Is there a way to internationalize the text of dissector's preference? Alexis La Goutte (Nov 05)
- Re: Is there a way to internationalize the text of dissector's preference? qiangxiong.huang (Nov 06)
- Re: Is there a way to internationalize the text of dissector's preference? Alexis La Goutte (Nov 06)
- Re: Is there a way to internationalize the text of dissector's preference? qiangxiong.huang (Nov 06)