diff --git a/i18n/en.ts b/i18n/en.ts index 612e236caee5171e5525f80471ad496e7e616f4a..0527da736636b3270984218bb73c510089e38c64 100644 --- a/i18n/en.ts +++ b/i18n/en.ts @@ -465,7 +465,7 @@ export const lang_en: LangObj = { "Export tests": "Export tests", "Import tests": "Import tests", "Importing tests ...": "Importing tests ...", - "Imports tests from a json file and saves the tests to the backend": "Imports tests from a json file and saves the tests to the backend", + "Imports tests from a json file and saves the tests to the backend immediately. Test assets (files) are newly created (not connected to original test).": "Imports tests from a json file and saves the tests to the backend immediately. Test assets (files) are newly created (not connected to original test).", "At least one test could not be created": "At least one test could not be created", "... all tests were created and saved": "... all tests were created and saved", "Lock exercise permanently" : "Lock exercise permanently", @@ -957,7 +957,7 @@ export const lang_en: LangObj = { "Note that when you detach a file and it has no connection to another exercise, it will get deleted!" : "Note that when you detach a file and it has no connection to another exercise then it will get deleted!", "Managing assets is only allowed for saved exercises (not for new exercises)": "Managing assets is only allowed for saved exercises (not for new exercises)", "All changes to assets are applied immediately in the backend (saving is not needed for this)!": "All changes to assets are applied immediately in the backend (saving is not needed for this)!", - "Managing test asset files is only allowed for saved tests (not for new tests)": "Managing test asset files is only allowed for saved tests (not for new tests)", + "Managing test asset files is only allowed for saved tests (not for new tests), save the exercise first": "Managing test asset files is only allowed for saved tests (not for new tests), save the exercise first", } diff --git a/i18n/i18nRoot.ts b/i18n/i18nRoot.ts index c969c35a7ba8383acab586202648456dfe231166..c939684f171faec62c6d5bda446c355da05024e5 100644 --- a/i18n/i18nRoot.ts +++ b/i18n/i18nRoot.ts @@ -476,7 +476,7 @@ export interface LangObj { "Export tests": string "Import tests": string "Importing tests ...": string - "Imports tests from a json file and saves the tests to the backend": string + "Imports tests from a json file and saves the tests to the backend immediately. Test assets (files) are newly created (not connected to original test).": string "At least one test could not be created": string "... all tests were created and saved": string "Lock exercise permanently": string @@ -961,7 +961,7 @@ export interface LangObj { "Note that when you detach a file and it has no connection to another exercise, it will get deleted!": string "Managing assets is only allowed for saved exercises (not for new exercises)": string "All changes to assets are applied immediately in the backend (saving is not needed for this)!": string - "Managing test asset files is only allowed for saved tests (not for new tests)": string + "Managing test asset files is only allowed for saved tests (not for new tests), save the exercise first": string } diff --git a/src/components/sites/doExerciseSite/customTestsPanel/dialog/customTestsDialog/changeCustomTestView.tsx b/src/components/sites/doExerciseSite/customTestsPanel/dialog/customTestsDialog/changeCustomTestView.tsx index 21c5d747e546a9a5c3874e85afe77db691924478..3689ba94f5e2605d5709a598cce51c35894802a5 100644 --- a/src/components/sites/doExerciseSite/customTestsPanel/dialog/customTestsDialog/changeCustomTestView.tsx +++ b/src/components/sites/doExerciseSite/customTestsPanel/dialog/customTestsDialog/changeCustomTestView.tsx @@ -534,7 +534,7 @@ class ChangeCustomTestView extends React.Component<Props, any> { { this.props.test.id <= 0 && <HelpPopup className="mar-left-half" defaultText={getI18n(this.props.langId, - "Managing test asset files is only allowed for saved tests (not for new tests)" + "Managing test asset files is only allowed for saved tests (not for new tests), save the exercise first" )}/> } diff --git a/src/components/sites/editCustomProjectSite/dialogs/changeTestDialog/changeTestView.tsx b/src/components/sites/editCustomProjectSite/dialogs/changeTestDialog/changeTestView.tsx index 1ae8cf417ac13e7e8b42a96cbf197bc9579f6e85..94181d013f1170f4ee3d7246f79cc8578903929e 100644 --- a/src/components/sites/editCustomProjectSite/dialogs/changeTestDialog/changeTestView.tsx +++ b/src/components/sites/editCustomProjectSite/dialogs/changeTestDialog/changeTestView.tsx @@ -618,7 +618,7 @@ class ChangeTestView extends React.Component<Props, any> { { this.props.test.id <= 0 && <HelpPopup className="mar-left-half" defaultText={getI18n(this.props.langId, - "Managing test asset files is only allowed for saved tests (not for new tests)" + "Managing test asset files is only allowed for saved tests (not for new tests), save the exercise first" )}/> } diff --git a/src/components/sites/exerciseEditorSite/exerciseTestsPanel/dialogs/changeTestView.tsx b/src/components/sites/exerciseEditorSite/exerciseTestsPanel/dialogs/changeTestView.tsx index 799d1b52b65b33dca86398f3a5511526148f28a5..0221573cf6b43ee05d09abc1196529574679f080 100644 --- a/src/components/sites/exerciseEditorSite/exerciseTestsPanel/dialogs/changeTestView.tsx +++ b/src/components/sites/exerciseEditorSite/exerciseTestsPanel/dialogs/changeTestView.tsx @@ -613,7 +613,7 @@ class ChangeTestView extends React.Component<Props, any> { { this.props.test.id <= 0 && <HelpPopup className="mar-left-half" defaultText={getI18n(this.props.langId, - "Managing test asset files is only allowed for saved tests (not for new tests)" + "Managing test asset files is only allowed for saved tests (not for new tests), save the exercise first" )}/> } diff --git a/src/components/sites/exerciseEditorSite/headerBarContent.tsx b/src/components/sites/exerciseEditorSite/headerBarContent.tsx index 1359fcbad7a20d9cf245f78fb16e7652f61800b2..c1bb165bd75fa1fb0328a67e07348efa70134edd 100644 --- a/src/components/sites/exerciseEditorSite/headerBarContent.tsx +++ b/src/components/sites/exerciseEditorSite/headerBarContent.tsx @@ -417,7 +417,7 @@ class HeaderBar extends React.Component<Props, any> { }} /> </div> - <HelpPopup defaultText={getI18n(this.props.langId,'Imports tests from a json file and saves the tests to the backend')}/> + <HelpPopup defaultText={getI18n(this.props.langId,'Imports tests from a json file and saves the tests to the backend immediately. Test assets (files) are newly created (not connected to original test).')}/> <SimpleVDivider/> diff --git a/src/constants.ts b/src/constants.ts index f4bc357cf8142ff863996843cfc7d84a52997e14..62e1f313a9b29ff6fd54cb3c1acb446d2b800ed1 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.20.0' +export const versionString = '2.20.1' export const supportMail = 'yapex@informatik.uni-halle.de'