Skip to content
This repository has been archived by the owner on Nov 19, 2021. It is now read-only.

John/translate announcement #1527

Merged
merged 4 commits into from
Jan 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions templates/translate/alltokens.tx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@

: include 'translate/close.tx'
<div class="language_nav">
<input type="submit" value="Go" class="button js-hide" /><: include "translate/tokens/nav_language.tx" :>
</div>
Expand Down
9 changes: 9 additions & 0 deletions templates/translate/close.tx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<div class="notice contrast">
<i class="icn icon-warning-sign"></i>
<strong>
We are in the process of <a href="https://github.com/duckduckgo/duckduckgo-locales">migrating DuckDuckGo Translations to GitHub</a>.
A huge thank you to everyone who has contributed to the translation system here on duck.co!<br />
Please note that from 21 Jan 2019, translations published on <a href="https://duckduckgo.com">DuckDuckGo search</a> will only be sourced from the GitHub repository. Feel free to join us there!
</strong>
</div>

1 change: 1 addition & 0 deletions templates/translate/domainindex.tx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<h1><: $token_domain.name :></h1>
: include 'translate/close.tx'

<: if !$c.wiz_running { :>
<: include "translate/wiz_shortcuts.tx" :>
Expand Down
2 changes: 1 addition & 1 deletion templates/translate/index.tx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<h1>Welcome to DuckDuckGo Translations!</h1>
<p class="intro-message">You can translate text ("tokens") from our sites.</p>

: include 'translate/close.tx'
<div class="row gw">
<div class="g twothirds">
<div class="notice contrast intro--m">
Expand Down
1 change: 1 addition & 0 deletions templates/translate/landing.tx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<span class="h3">For token domain <b><: $token_domain_language.token_domain.name :></b> in <b><: $token_domain_language.language.name_in_english :></b></span>
</div>

: include 'translate/close.tx'
<div class="seventy block-mid mg-top--big mg-bottom">
<: if $user_can_speak { :>
<div class="row gw">
Expand Down
1 change: 1 addition & 0 deletions templates/translate/tokenlanguage.tx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
: include 'translate/close.tx'
<div class="content-box translate-snippets">
<div class="head">
<h2><: $token_language.token_domain_language.token_domain.name :> in <: i($token_language.token_domain_language.language,'flag') :> <: $token_language.token_domain_language.language.name_in_english :></h2>
Expand Down