Workaround for the xml special char issue

This commit is contained in:
lukeIam committed 2018-01-28 15:23:52 +01:00
1 parent 09ed5a3618
commit 63321942a9
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -245,7 +245,7 @@
<string name="TR_REPORTER_TITLE_TEXT">We are sorry</string>
<string name="TR_REPORTER_MESSAGE_CRASH_TEXT">that Vocaluxe run into an error and crashed.\r\nTo help us fix the problem please send us a report.\r\nEdit the following log before submitting to remove possibly sensitive information.</string>
<string name="TR_REPORTER_MESSAGE_NO_CRASH_TEXT">that you experienced an error.\r\nTo help us fix the problem please send us a report.\r\nEdit the following log before submitting to remove possibly sensitive information.</string>
<string name="TR_REPORTER_NO_UPLOAD_TEXT">Don\'t upload anything (you can still copy the error message above)</string>
<string name="TR_REPORTER_NO_UPLOAD_TEXT">Do not upload anything (you can still copy the error message above)</string>
<string name="TR_REPORTER_GIST_AND_ISSUE_TEXT">Upload and open an issue (publicly visible + requires a github account)</string>
<string name="TR_REPORTER_GIST_ONLY_TEXT">Upload and get a link to your report (publicly visible)</string>
<string name="TR_REPORTER_SUBMIT_STEP0_TEXT">Submit</string>
+3 -3
View File
@@ -31,8 +31,8 @@ namespace Vocaluxe.Reporting
public partial class CReporter : Form
{
private readonly string _TitleText = CLanguage.Translate("TR_REPORTER_TITLE_TEXT");
private readonly string _MessageCrashText = CLanguage.Translate("TR_REPORTER_MESSAGE_CRASH_TEXT");
private readonly string _MessageNoCrashText = CLanguage.Translate("TR_REPORTER_MESSAGE_NO_CRASH_TEXT");
private readonly string _MessageCrashText = CLanguage.Translate("TR_REPORTER_MESSAGE_CRASH_TEXT").Replace("\\n", "\n").Replace("\\r", "\r");
private readonly string _MessageNoCrashText = CLanguage.Translate("TR_REPORTER_MESSAGE_NO_CRASH_TEXT").Replace("\\n", "\n").Replace("\\r", "\r");
private readonly string _NoUploadText = CLanguage.Translate("TR_REPORTER_NO_UPLOAD_TEXT");
private readonly string _GistAndIssueText = CLanguage.Translate("TR_REPORTER_GIST_AND_ISSUE_TEXT");
private readonly string _GistOnlyText = CLanguage.Translate("TR_REPORTER_GIST_ONLY_TEXT");
@@ -44,7 +44,7 @@ namespace Vocaluxe.Reporting
private readonly string _LogUploadErrorText = CLanguage.Translate("TR_REPORTER_LOGUPLOAD_ERROR_TEXT");
private readonly string _LastErrorTitleText = CLanguage.Translate("TR_REPORTER_LAST_ERROR_TITLE_TEXT");
private readonly string _LastErrorNa = CLanguage.Translate("TR_REPORTER_LAST_ERROR_NA");
private readonly string _IssueTemplate = CLanguage.Translate("TR_REPORTER_ISSUE_TEMPLATE");
private readonly string _IssueTemplate = CLanguage.Translate("TR_REPORTER_ISSUE_TEMPLATE").Replace("\\n", "\n").Replace("\\r", "\r");
//CLanguage.Translate("TR_DEBUG_AUDIO_STREAMS")