diff --git a/app/views/carto/builder/public/embeds/show_protected.html.erb b/app/views/carto/builder/public/embeds/show_protected.html.erb index db957e0..3d55ca5 100644 --- a/app/views/carto/builder/public/embeds/show_protected.html.erb +++ b/app/views/carto/builder/public/embeds/show_protected.html.erb @@ -2,7 +2,7 @@ - Protected map — 快点 + 受保护 — 快点 <%= editor_stylesheet_link_tag 'password_protected.css' %> @@ -11,18 +11,18 @@
- "> + "> " alt="CARTO">
-

This map is protected with password

+

这个地图需要密码

<%= form_tag "embed_protected?#{request.query_string}", method: :post do %>
- <%= password_field_tag 'password', params[:password], class: "PublicPage-form--inputText RoundBorders-all CDB-Text CDB-Size-medium is-light u-whiteTextColor #{ flash[:error].present? ? 'is-alert' : ''}", placeholder: 'Insert your password'%> + <%= password_field_tag 'password', params[:password], class: "PublicPage-form--inputText RoundBorders-all CDB-Text CDB-Size-medium is-light u-whiteTextColor #{ flash[:error].present? ? 'is-alert' : ''}", placeholder: '输入密码'%> <%- if flash[:error].present? %>
@@ -34,7 +34,7 @@ <% end %>
-

Contact with the owner in case you want access to it.

+

请勿越权使用.