[#bilingual_str]
= bilingual&lowbar;str
:mrdocs:

Bilingual messages&colon; &hyphen; in GUI&colon; user&apos;s native language &plus; untranslated (i&period;e&period; English) &hyphen; in log and stderr&colon; untranslated only

== Synopsis

Declared in `&lt;util&sol;translation&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct bilingual&lowbar;str;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:bilingual_str/clear.adoc[`clear`] 
| Reset both the original and translated text to empty&period;
| xref:bilingual_str/empty.adoc[`empty`] 
| Test whether the original text is empty&period;
| xref:bilingual_str/operator_plus_eq.adoc[`operator&plus;&equals;`] 
| Append another bilingual string to this one&period;
|===


== Data Members

[cols="1,4"]
|===
| Name| Description
| xref:bilingual_str/original.adoc[`original`] 
| The untranslated (English) text&period;
| xref:bilingual_str/translated.adoc[`translated`] 
| The text translated to the user&apos;s native language&period;
|===


== Non-Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:InitError-06.adoc[`InitError`]
| Show error message with additional detail lines&period;
| xref:InitError-0b.adoc[`InitError`]
| Show error message
| xref:InitWarning.adoc[`InitWarning`]
| Show warning message
| xref:Untranslated.adoc[`Untranslated`]
| Mark a bilingual&lowbar;str as untranslated
| xref:noui_ThreadSafeMessageBox.adoc[`noui&lowbar;ThreadSafeMessageBox`]
| Non&hyphen;GUI handler, which logs and prints messages&period;
| xref:noui_ThreadSafeQuestion.adoc[`noui&lowbar;ThreadSafeQuestion`]
| Non&hyphen;GUI handler, which logs and prints questions&period;
| xref:operator_plus-0d.adoc[`operator&plus;`]
| Concatenate two bilingual strings&period;
| xref:common/AmountErrMsg.adoc[`common&colon;&colon;AmountErrMsg`]
| Build the error message for an invalid amount value&period;
| xref:common/AmountHighWarn.adoc[`common&colon;&colon;AmountHighWarn`]
| Build a warning that a configured amount is unusually high&period;
| xref:common/InvalidPortErrMsg.adoc[`common&colon;&colon;InvalidPortErrMsg`]
| Build the error message for an invalid port value&period;
| xref:common/PSBTErrorString.adoc[`common&colon;&colon;PSBTErrorString`]
| Return a bilingual message describing a PSBT error&period;
| xref:common/ResolveErrMsg.adoc[`common&colon;&colon;ResolveErrMsg`]
| Build the error message for a failed address resolution&period;
| xref:common/TransactionErrorString.adoc[`common&colon;&colon;TransactionErrorString`]
| Return a bilingual message describing a transaction error&period;
| xref:tinyformat/format-0a.adoc[`tinyformat&colon;&colon;format`]
| Format a bilingual string from a bilingual format string and its arguments&period;
| xref:util/ErrorString-01.adoc[`util&colon;&colon;ErrorString`]
| Extracts the error message from a result&period;
| xref:util/ErrorString-07.adoc[`util&colon;&colon;ErrorString`]
| Extracts the error message from a result&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
