Skip to content

Commit

Permalink
Improving captions and texts in the edit assignment form.
Browse files Browse the repository at this point in the history
  • Loading branch information
krulis-martin committed Oct 10, 2021
1 parent 579ad42 commit 569feae
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const AssignmentSync = ({ syncInfo, exerciseSync }) => {
<div>
<FormattedMessage
id="app.assignment.syncDescription"
defaultMessage="The exercise corresponding to this assignment was updated in the following categories:"
defaultMessage="The following sections were updated:"
/>
<ul>{messages}</ul>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,7 @@ class EditAssignmentForm extends Component {
<Callout variant="info" icon={<WarningIcon />}>
<FormattedMessage
id="app.editAssignmentForm.localized.assignmentSyncInfo"
defaultMessage="Please note that the localized texts are overwritten by actual data from the exercise when exercise update is invoked."
defaultMessage="Please note that the localized texts (name and complete description) are overwritten by the most recent data from the exercise when update of the assignment is invoked (if the exercise has been modified after the assignment). The only exception is the hint for students which is associated only with the assignment."
/>
</Callout>

Expand Down
8 changes: 4 additions & 4 deletions src/locales/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,16 +114,16 @@
"app.assignment.syncButton": "Aktualizovat zadání",
"app.assignment.syncButton.exerciseBroken": "Aktualizační tlačítko je zakázané, protože konfigurace úlohy je rozbitá. Nejprve musíte úlohu opravit.",
"app.assignment.syncConfigurationType": "Konfigurace byla přepnuta do pokročilého módu",
"app.assignment.syncDescription": "Úloha ze které toto zadání vychází bylo aktualizováno v těchto položkách:",
"app.assignment.syncDescription": "Aktualizovány byly následující položky:",
"app.assignment.syncExerciseConfig": "Konfigurace úlohy",
"app.assignment.syncExerciseEnvironmentConfigs": "Konfigurace běhového prostředí",
"app.assignment.syncExerciseTests": "Testy úlohy",
"app.assignment.syncHardwareGroups": "Hardwarové skupiny",
"app.assignment.syncLimits": "Limity",
"app.assignment.syncLocalizedTexts": "Lokalizované texty",
"app.assignment.syncMergeJudgeLogs": "Příznak spojení logů sudího",
"app.assignment.syncRequired": "Úloha byla aktualizována <strong>{exerciseUpdated}</strong>, zatímco zadání bylo naposledy aktualizováno <strong>{assignmentUpdated}</strong>!",
"app.assignment.syncRequiredTitle": "Data úlohy jsou novější než data zadání",
"app.assignment.syncRequired": "Výchozí úloha byla aktualizována <strong>{exerciseUpdated}</strong>, zatímco tato zadaná úloha byla naposledy aktualizována <strong>{assignmentUpdated}</strong>!",
"app.assignment.syncRequiredTitle": "Data úlohy jsou novější než data zadané úlohy",
"app.assignment.syncRuntimeEnvironments": "Výběr běhového prostředí",
"app.assignment.syncScoreConfig": "Konfigurace skóre",
"app.assignment.syncSupplementaryFiles": "Dodatečné soubory",
Expand Down Expand Up @@ -262,7 +262,7 @@
"app.editAssignmentForm.interpolationDialog.intervalLabel": "Interval změny:",
"app.editAssignmentForm.interpolationDialog.title": "Pomocník pro interpolaci bodů",
"app.editAssignmentForm.isBonus": "Zadaná úloha je bonusová, její body tedy nejsou počítány do celkového maximálního počtu bodů skupiny",
"app.editAssignmentForm.localized.assignmentSyncInfo": "Lokalizované texty jsou přepisovány údaji z úlohy vždy, když je provedena aktualizace zadané úlohy.",
"app.editAssignmentForm.localized.assignmentSyncInfo": "Lokalizované texty (název a kompletní popis úlohy) jsou přepsány údaji z původní úlohy vždy, když je provedena aktualizace zadané úlohy (pokud dojde ke změně úlohy po jejím zadání). Jedinou výjimkou je položka nápověda pro studenty, která je asosciována pouze se zadanou úlohou.",
"app.editAssignmentForm.localized.completeDescription": "Kompletní zadání (vše, co uživatel potřebuje, aby mohl úlohu vyřešit):",
"app.editAssignmentForm.localized.description": "Krátký popis (viditelný pouze pro vedoucí):",
"app.editAssignmentForm.localized.link": "Odkaz na externí (kompletní) zadání:",
Expand Down
4 changes: 2 additions & 2 deletions src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
"app.assignment.syncButton": "Update Assignment",
"app.assignment.syncButton.exerciseBroken": "The update button is disabled since the exercise is broken. The exercise configuration must be mended first.",
"app.assignment.syncConfigurationType": "Configuration was switched to advanced mode",
"app.assignment.syncDescription": "The exercise corresponding to this assignment was updated in the following categories:",
"app.assignment.syncDescription": "The following sections were updated:",
"app.assignment.syncExerciseConfig": "Exercise configuration",
"app.assignment.syncExerciseEnvironmentConfigs": "Environment configuration",
"app.assignment.syncExerciseTests": "Exercise tests",
Expand Down Expand Up @@ -262,7 +262,7 @@
"app.editAssignmentForm.interpolationDialog.intervalLabel": "Update interval:",
"app.editAssignmentForm.interpolationDialog.title": "Points Interpolation Helper",
"app.editAssignmentForm.isBonus": "Assignment is bonus one and points from it are not included in students overall score",
"app.editAssignmentForm.localized.assignmentSyncInfo": "Please note that the localized texts are overwritten by actual data from the exercise when exercise update is invoked.",
"app.editAssignmentForm.localized.assignmentSyncInfo": "Please note that the localized texts (name and complete description) are overwritten by the most recent data from the exercise when update of the assignment is invoked (if the exercise has been modified after the assignment). The only exception is the hint for students which is associated only with the assignment.",
"app.editAssignmentForm.localized.completeDescription": "Complete description (everything the user needs to solve this exercise):",
"app.editAssignmentForm.localized.description": "Short description (visible only to supervisors):",
"app.editAssignmentForm.localized.link": "Link to an external complete description:",
Expand Down

0 comments on commit 569feae

Please sign in to comment.