Google Translate links on Messages and Comments
This commit is contained in:
parent
b9eb9cc06c
commit
a114a85de4
|
@ -181,6 +181,14 @@
|
|||
</div>
|
||||
{{end}}
|
||||
|
||||
<div class="mt-2">
|
||||
<!-- Google Translate link -->
|
||||
<a href="https://translate.google.com/?sl=auto&tl=en&text={{.Message}}&op=translate"
|
||||
target="_blank" class="is-small is-size-7 has-text-success">
|
||||
<i class="fab fa-google mr-1"></i> Open in Google Translate <i class="fa fa-external-link ml-1"></i>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- Poll attachment? -->
|
||||
{{if and (eq $Root.Pager.Page 1) (eq $i 0) $Root.Thread.PollID}}
|
||||
<h2>Poll</h2>
|
||||
|
|
|
@ -129,6 +129,17 @@
|
|||
if you think it may be a scam. The certification requirement for {{PrettyTitle}} cannot guarantee
|
||||
protection against malicious intent.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<strong>Be especially skeptical of <i class="fab fa-whatsapp"></i> WhatsApp</strong> or trading phone numbers.
|
||||
Scammers can do <strong>a lot</strong> of harm with just your phone number, e.g. by plugging it into a people search
|
||||
website and bringing up lots of personal information about you (potentially for blackmail material).
|
||||
</p>
|
||||
|
||||
<p>
|
||||
If you don't know <strong>@{{$Root.ReplyTo.Username}}</strong>
|
||||
and they are asking you to exchange phone numbers (including WhatsApp!), please be careful!
|
||||
</p>
|
||||
</div>
|
||||
{{end}}
|
||||
</div>
|
||||
|
@ -157,6 +168,14 @@
|
|||
<span>Report</span>
|
||||
</a>
|
||||
{{end}}
|
||||
|
||||
<div class="mt-2">
|
||||
<!-- Google Translate link -->
|
||||
<a href="https://translate.google.com/?sl=auto&tl=en&text={{.Message}}&op=translate"
|
||||
target="_blank" class="is-small is-size-7 has-text-success">
|
||||
<i class="fab fa-google mr-1"></i> Open in Google Translate <i class="fa fa-external-link ml-1"></i>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<hr class="block">
|
||||
|
|
|
@ -312,6 +312,14 @@
|
|||
</div>
|
||||
{{end}}
|
||||
|
||||
<div class="mt-2">
|
||||
<!-- Google Translate link -->
|
||||
<a href="https://translate.google.com/?sl=auto&tl=en&text={{.Message}}&op=translate"
|
||||
target="_blank" class="is-small is-size-7 has-text-success">
|
||||
<i class="fab fa-google mr-1"></i> Open in Google Translate <i class="fa fa-external-link ml-1"></i>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<hr class="has-background-grey mb-2">
|
||||
|
||||
<div class="columns is-mobile is-multiline is-size-7 mb-0">
|
||||
|
|
Loading…
Reference in New Issue
Block a user