Skip to content

Commit

Permalink
fixup! feat: added disclaimer in activity template
Browse files Browse the repository at this point in the history
  • Loading branch information
SilasPeters committed Sep 5, 2024
1 parent 8c42095 commit 05d540e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/models/activity.rb
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,10 @@ def google_event(loc = nil)

loc = I18n.locale if loc.nil?

disclaimer_en = "[Data on this activity may be outdated, for it was addes as a one-time copy of the information given at that time]"
disclaimer_nl = "[Gegevevens in deze afspraak kunnen outdated zijn, omdat deze waren toegevoegd als een eenmalig kopie van wat toen bekend was]"
disclaimer_en = "[Data on this activity may be outdated, as it was addes as a one-time copy of the information " \
"given at that time]"
disclaimer_nl = "[Gegevens in deze afspraak kunnen outdated zijn, omdat deze waren toegevoegd als een eenmalig " \
"kopie van wat toen bekend was]"
disclaimer = loc == :nl ? disclaimer_nl : disclaimer_en

description = "#{ activity_url }\n\n#{ description_localised(loc) }\n\n#{ disclaimer }"
Expand Down

0 comments on commit 05d540e

Please sign in to comment.