From 27f09cbd7b1e0ac92650b699dd6230acb7a498d5 Mon Sep 17 00:00:00 2001
From: Anton Akhmerov <anton.akhmerov@gmail.com>
Date: Wed, 9 May 2018 18:01:33 +0200
Subject: [PATCH] use more neutral language

---
 client/views/AddExam.jsx    | 6 +++---
 client/views/Exam.jsx       | 8 ++++----
 client/views/Grade.jsx      | 4 ++--
 client/views/Statistics.jsx | 3 +--
 client/views/Students.jsx   | 2 +-
 5 files changed, 11 insertions(+), 12 deletions(-)

diff --git a/client/views/AddExam.jsx b/client/views/AddExam.jsx
index 0fc819fa7..ccacd5083 100644
--- a/client/views/AddExam.jsx
+++ b/client/views/AddExam.jsx
@@ -32,14 +32,14 @@ class Exams extends React.Component {
         return (
             <div>
 
-                <Hero title='Exams' subtitle="Omnomnomnom PDF's!" />
+                <Hero title='Add exam' subtitle="first step" />
 
                 <section className="section">
 
                     <div className="container">
 
-                        <h3 className='title'>Upload new exam config</h3>
-                        <h5 className='subtitle'>then we know that to do with PDF's</h5>
+                        <h3 className='title'>Upload new exam configuration YAML</h3>
+                        <h5 className='subtitle'>Each exam should have a unique name.</h5>
 
                         <Dropzone accept=".yml, text/yaml, text/x-yaml, application/yaml, application/x-yaml"
                             style={{}} activeStyle={{ borderStyle: 'dashed', width: 'fit-content', margin: 'auto' }}
diff --git a/client/views/Exam.jsx b/client/views/Exam.jsx
index c7842e9ab..a26da9a58 100644
--- a/client/views/Exam.jsx
+++ b/client/views/Exam.jsx
@@ -37,7 +37,7 @@ class Exams extends React.Component {
 
     putYaml = () => {
         api.patch('exams/' + this.props.exam.id, { yaml: this.state.yaml })
-            .then(() => alert('thank you for the update; it was delicious'))
+            .then(() => alert('Exam config successfully updated.'))
             .catch(resp => {
                 alert('failed to update the YAML (see javascript console)')
                 console.error('failed to update YAML', resp)
@@ -64,7 +64,7 @@ class Exams extends React.Component {
 
     onDropPDF = (accepted, rejected) => {
         if (rejected.length > 0) {
-            alert('Please upload a PDF..')
+            alert('Please upload a PDF.')
             return
         }
         accepted.map(file => {
@@ -131,8 +131,8 @@ class Exams extends React.Component {
 
 
                         <div className="column has-text-centered">
-                            <h3 className='title'>And upload PDF's</h3>
-                            <h5 className='subtitle'>we will work some magic!</h5>
+                            <h3 className='title'>upload PDF</h3>
+                            <h5 className='subtitle'>scanned exams</h5>
                             <Dropzone accept={"application/pdf"} style={{}}
                                 activeStyle={{ borderStyle: 'dashed', width: 'fit-content', margin: 'auto' }}
                                 onDrop={this.onDropPDF}
diff --git a/client/views/Grade.jsx b/client/views/Grade.jsx
index cd62fcb6c..4dcfa0180 100644
--- a/client/views/Grade.jsx
+++ b/client/views/Grade.jsx
@@ -113,7 +113,7 @@ class Grade extends React.Component {
         return (
             <div>
 
-                <Hero title='Grade' subtitle='This is where the magic happens!' />
+                <Hero title='Grade' subtitle='Assign feedback to each solution' />
 
                 <section className="section">
 
@@ -171,4 +171,4 @@ class Grade extends React.Component {
     }
 }
 
-export default Grade;
\ No newline at end of file
+export default Grade;
diff --git a/client/views/Statistics.jsx b/client/views/Statistics.jsx
index 9943273e7..756e617dd 100644
--- a/client/views/Statistics.jsx
+++ b/client/views/Statistics.jsx
@@ -6,10 +6,9 @@ const StatisticsDashboard = () => {
   return (
       <div>
 
-        <Hero title='Statistics Dashboard' subtitle='Is your exam sane?' />
+        <Hero title='Statistics Dashboard' subtitle='Review the grading' />
 
         <h1>React Router demo</h1>
-        Hoi dit de Statistics Dashboard
 
        </div>
   )
diff --git a/client/views/Students.jsx b/client/views/Students.jsx
index d9d12ad46..37b7a6d6c 100644
--- a/client/views/Students.jsx
+++ b/client/views/Students.jsx
@@ -166,7 +166,7 @@ class CheckStudents extends React.Component {
         return (
             <div>
 
-                <Hero title='Match Students' subtitle='Who made what?' />
+                <Hero title='Match Students' subtitle='Check that all submissions are correctly identified' />
 
                 <section className="section">
 
-- 
GitLab