Skip to content

Commit

Permalink
Improve bulk upload description (#559)
Browse files Browse the repository at this point in the history
* Improve packet upload tooltip text

* Use "files" instead of "file"
  • Loading branch information
Splines authored Nov 12, 2023
1 parent 1f5828d commit ca8e298
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion app/views/tutorials/_bulk_correction_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<div id="bulk-uploadButton-button"
class="btn btn-sm btn-outline-secondary"
>
<%= t('basics.file')%></div>
<%= t('basics.files')%></div>
<button id="bulk-uploadButton-button-actual"
data-tr-success="<%= t('buttons.upload_success') %>"
data-tr-failure="<%= t('submission.upload_failure')%>"
Expand Down
6 changes: 3 additions & 3 deletions config/locales/de.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2894,8 +2894,8 @@ de:
info:
general_info: >
Hier kannst Du mehrere Korrekturen gleichzeitig hochladen.
Damit diese von MaMpf zugeordnet werden können, sollten die Dateinamen
idealerweise mit den Dateinamen der Abgaben übereinstimmen.
Damit diese von MaMpf zugeordnet werden können, darfst Du die mit dem
Paketdownload heruntergeladenen Dateien nicht umbenennen.
invalid_filenames: >
Hier sind die Namen derjenigen hochgeladenen Dateien aufgelistet,
die nicht in das von MaMpf vorgegebene Namensschema passen.
Expand Down Expand Up @@ -3206,6 +3206,7 @@ de:
thyme_editor: 'Editor'
screenshot: 'Screenshot'
file: 'Datei'
files: 'Dateien'
size: 'Größe'
please_wait: 'Bitte warten...'
access_rights: 'Zugriffsrechte'
Expand Down Expand Up @@ -3297,7 +3298,6 @@ de:
deadline: 'Abgabetermin'
tutorial: 'Tutorium'
code: 'Code'
files: 'Dateien'
partners: 'PartnerInnen'
team: 'Team'
expired: 'abgelaufen'
Expand Down
8 changes: 4 additions & 4 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2718,9 +2718,9 @@ en:
files_in_cache: file(s) successfully uploaded to temporary storage
info:
general_info: >
Here you can upload several corrections. In order that MaMpf can
associate them to the correct submissions it would be ideal if
the filenames would match the filenames of the submissions.
Here you can upload several corrections. To ensure they can be assigned
correctly, you must not rename the files obtained via the package
download.
invalid_filenames: >
This is the list of all uploaded files that do not
fit into the naming scheme that is provided by MaMpf.
Expand Down Expand Up @@ -3023,6 +3023,7 @@ en:
thyme_editor: 'Editor'
screenshot: 'Screenshot'
file: 'File'
files: 'Files'
size: 'Size'
please_wait: 'Please wait...'
access_rights: 'Access rights'
Expand Down Expand Up @@ -3113,7 +3114,6 @@ en:
deadline: 'Due date'
tutorial: 'Tutorial'
code: 'Code'
files: 'Files'
partners: 'Partners'
team: 'Team'
expired: 'expired'
Expand Down

0 comments on commit ca8e298

Please sign in to comment.