Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AO3-6870 Update proxy notice to include Russian, Ukranian translations #5014

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
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
12 changes: 11 additions & 1 deletion app/views/layouts/_proxy_notice.html.erb
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
<div id="proxy-notice">
<div class="userstuff">
<% # TODO: When the interface is localized, this should be revised to only show the notice in the user's selected language. %>
<%# TODO: When the interface is localized, this should be revised to only show the notice in the user's selected language. %>
<p class="important"><%= t(".faux_heading") %></p>
<ol>
<li><%= t(".point1") %></li>
<li><%= t(".point2") %></li>
</ol>
<p class="important"><%= t(".faux_heading", locale: :ru) %></p>
<ol>
<li><%= t(".point1", locale: :ru) %></li>
<li><%= t(".point2", locale: :ru) %></li>
</ol>
<p class="important"><%= t(".faux_heading", locale: :uk) %></p>
<ol>
<li><%= t(".point1", locale: :uk) %></li>
<li><%= t(".point2", locale: :uk) %></li>
</ol>
<p class="important"><%= t(".faux_heading", locale: :"zh-CN") %></p>
<ol>
<li><%= t(".point1", locale: :"zh-CN") %></li>
Expand Down
6 changes: 6 additions & 0 deletions config/locales/views/ru.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
ru:
layouts:
proxy_notice:
faux_heading: "Важная информация:"
point1: "Вы используете прокси-сайт, который не является частью AO3 (Нашего Архива)."
point2: "Субъект, настроивший прокси-сайт, может видеть, что вы отправляете, включая ваш IP-адрес. Если вы авторизуетесь через прокси-сайт, он может видеть ваш пароль."
6 changes: 6 additions & 0 deletions config/locales/views/uk.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
uk:
layouts:
proxy_notice:
faux_heading: "Важливе повідомлення:"
point1: "Ви використовуєте проксі-сайт, який не є частиною Archive of Our Own (Нашого Власного Архіву)."
point2: "Творці цього проксі-сайту можуть бачити Ваші дані та дії, а також Вашу IP-адресу. Якщо Ви входите до свого облікового запису, використовуючи проксі-сайт, його творці можуть бачити Ваш пароль."
Loading