Skip to content

Commit

Permalink
Add tooltip (helpdesk) for category
Browse files Browse the repository at this point in the history
  • Loading branch information
Splines committed Nov 13, 2023
1 parent ee11dc0 commit 921ee6a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/views/annotations/_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@

<!--- CATEGORY RADIO BUTTON -->
<b><%= t('admin.annotation.category') %></b>
<%= helpdesk(t('admin.annotation.category_tooltip'), false) %>
<div class="form-row ml-2", id="category-radios">
<div class="form-check form-check-inline",
title="<%= t('admin.annotation.note_tooltip') %>">
Expand Down
6 changes: 6 additions & 0 deletions config/locales/de.yml
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,12 @@ de:
comment: 'Kommentar'
color: 'Farbe'
category: 'Kategorie'
category_tooltip: >
Verwende "Notiz" für persönliche Notizen, "Inhalt" wenn Du den Inhalt
des Videos an dieser Stelle nicht verstehst, "Fehler" wenn Du einen
Fehler entdeckt hast, und "Darstellung" wenn Dir die Darstellung im
Video Probleme bereitet, z.B. falls Du die Schrift nicht lesen kannst
oder der Ton unverständlich ist.
note: 'Notiz'
note_tooltip: >
Wähle diese Kategorie aus, wenn Du Deine Annotation als
Expand Down
5 changes: 5 additions & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,11 @@ en:
comment: 'Comment'
color: 'Color'
category: 'Category'
category_tooltip: >
Use "note" for personal notes, "content" if you don't understand the
content of the video at this position, "mistake" if you've spot a mistake,
and "presentation" if you have problems with the presentation,
e.g. you cannot read the handwriting or cannot understand the audio.
note: 'note'
note_tooltip: >
Select this category if you want to create your annotation
Expand Down

0 comments on commit 921ee6a

Please sign in to comment.