From cada6d469978895ec80688d67bd11bb22bb2b9a6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Janis=20Daniel=20Da=CC=88hne?=
 <janis.daehne2@student.uni-halle.de>
Date: Tue, 5 Nov 2019 18:21:55 +0100
Subject: [PATCH] - clarified the test protocol character limit exceeded hint

---
 i18n/en.ts                                                      | 2 +-
 i18n/i18nRoot.ts                                                | 2 +-
 .../sites/doExerciseSite/consolePanel/consolePanelHeaderBar.tsx | 2 +-
 src/constants.ts                                                | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/i18n/en.ts b/i18n/en.ts
index 91be421d..4f6e9ada 100644
--- a/i18n/en.ts
+++ b/i18n/en.ts
@@ -283,7 +283,7 @@ export const lang_en: LangObj = {
   "Input": "Input",
   "Output": "Output",
   "Program": "Program",
-  "The test protocol exceeded the character limit and was truncated. However your test can still pass because character limit is only used to limit the memory used to store the test result. New lines are counted as 4 characters. There are some characters (~100) reserved for header data." : "The test protocol exceeded the character limit and was truncated. However your test can still pass because character limit is only used to limit the memory used to store the test result. New lines are counted as 4 characters. There are some characters (~100) reserved for header data.",
+  "The test protocol exceeded the character limit and was truncated. However your test can still pass because character limit is only used to limit the memory used to store the test result. New lines characters are counted as 4 characters. There are some characters (~100) reserved for header data and each test protocol line consumes some additional characters (depending on the protocol entry type)." : "The test protocol exceeded the character limit and was truncated. However your test can still pass because character limit is only used to limit the memory used to store the test result. New lines characters are counted as 4 characters. There are some characters (~100) reserved for header data and each test protocol line consumes some additional characters (depending on the protocol entry type).",
 
   "Test content read timeout" : "Test content read timeout",
   "Exit code mismatch" : "Exit code mismatch",
diff --git a/i18n/i18nRoot.ts b/i18n/i18nRoot.ts
index 45ca6965..1e23ceb0 100644
--- a/i18n/i18nRoot.ts
+++ b/i18n/i18nRoot.ts
@@ -286,7 +286,7 @@ export interface LangObj {
   "Input": string
   "Output": string
   "Program": string
-  "The test protocol exceeded the character limit and was truncated. However your test can still pass because character limit is only used to limit the memory used to store the test result. New lines are counted as 4 characters. There are some characters (~100) reserved for header data.": string
+  "The test protocol exceeded the character limit and was truncated. However your test can still pass because character limit is only used to limit the memory used to store the test result. New lines characters are counted as 4 characters. There are some characters (~100) reserved for header data and each test protocol line consumes some additional characters (depending on the protocol entry type).": string
 
   "Test content read timeout": string
   "Exit code mismatch": string
diff --git a/src/components/sites/doExerciseSite/consolePanel/consolePanelHeaderBar.tsx b/src/components/sites/doExerciseSite/consolePanel/consolePanelHeaderBar.tsx
index 8f678e81..f8e5d7bc 100644
--- a/src/components/sites/doExerciseSite/consolePanel/consolePanelHeaderBar.tsx
+++ b/src/components/sites/doExerciseSite/consolePanel/consolePanelHeaderBar.tsx
@@ -244,7 +244,7 @@ class consolePanelHeaderBar extends React.Component<Props, any> {
                   }
                   content={
                     <div>
-                      <div>{getI18n(this.props.langId, "The test protocol exceeded the character limit and was truncated. However your test can still pass because character limit is only used to limit the memory used to store the test result. New lines are counted as 4 characters. There are some characters (~100) reserved for header data.")}</div>
+                      <div>{getI18n(this.props.langId, "The test protocol exceeded the character limit and was truncated. However your test can still pass because character limit is only used to limit the memory used to store the test result. New lines characters are counted as 4 characters. There are some characters (~100) reserved for header data and each test protocol line consumes some additional characters (depending on the protocol entry type).")}</div>
                     </div>
                   }
                   wide="very"
diff --git a/src/constants.ts b/src/constants.ts
index 982f45fb..fd0dd9d1 100644
--- a/src/constants.ts
+++ b/src/constants.ts
@@ -13,7 +13,7 @@ import Logger from './helpers/logger'
  * y - breaking changes / new features
  * z - fixes, small changes
  */
-export const versionString = '2.5.6'
+export const versionString = '2.5.7'
 
 
 export const supportMail = 'yapex@informatik.uni-halle.de'
-- 
GitLab