1
0
mirror of https://github.com/projekteuler/projekteuler.git synced 2025-12-10 00:36:42 +01:00

Add warnings (copyright+login) to translation form

This commit is contained in:
Philipp Fischbeck 2019-02-05 14:14:13 +01:00
parent 8cf8deae0a
commit 565aa5375f
2 changed files with 8 additions and 0 deletions

View File

@ -13,5 +13,11 @@
</div>
<% end %>
</div>
<div class="alert alert-info">
<%= t '.copyright_warning_html' %>
<% if not user_signed_in? %>
<%= t '.not_logged_in_warning' %>
<% end %>
</div>
<%= f.submit %>
<% end %>

View File

@ -6,6 +6,8 @@ de:
preview: Vorschau
source_code: Quelltext
translation_source_explanation: Hier kommt der HTML-Quelltext der Übersetzung hin.
copyright_warning_html: Sie erklären sich einverstanden, dass die Übersetzung unter der Creative Commons Lizenz <a class="alert-link" href="https://creativecommons.org/licenses/by-nc-sa/4.0/deed.de" target="_blank">CC BY-NC-SA 4.0</a> veröffentlicht wird.
not_logged_in_warning: Wenn Sie wollen, dass die Übersetzung Ihnen zugeordnet werden kann, müssen Sie sich einloggen (oben rechts), andernfalls ist sie anonym.
new:
new_translation: Neue Übersetzung für Problem %{id}
notice: