Commit 80bce8f10491dd93c1aa66c0517d57a3478b774b

Authored by Andrey Karpikov
1 parent 9ad11ea0

add solution copy content

@@ -13,11 +13,11 @@ @@ -13,11 +13,11 @@
13 </li> 13 </li>
14 <li class="pl-10"> 14 <li class="pl-10">
15 <button class="btn btn-primary dropdown-toggle dropdown-toggle-nocaret" type="button" data-toggle="dropdown" aria-expanded="false"> 15 <button class="btn btn-primary dropdown-toggle dropdown-toggle-nocaret" type="button" data-toggle="dropdown" aria-expanded="false">
16 - <span class="dropdown-text">Content Actions <span class="icon icon-options-vertical"></span></span> 16 + <span class="dropdown-text"><%= t('content_actions') %> <span class="icon icon-options-vertical"></span></span>
17 </button> 17 </button>
18 <ul class="dropdown-menu"> 18 <ul class="dropdown-menu">
19 <% @page.domain.page_langs.where.not(code: params[:lang]).each do |lang| %> 19 <% @page.domain.page_langs.where.not(code: params[:lang]).each do |lang| %>
20 - <li class="dropdown-item"><%= link_to "Copy to #{lang.title}", duplicate_content_admin_page_url(@page, from_lang: params[:lang], to_lang: lang.code), class: 'dropdown-item' %></li> 20 + <li class="dropdown-item"><%= link_to "#{t('copy_to')} #{lang.title}", duplicate_content_admin_page_url(@page, from_lang: params[:lang], to_lang: lang.code), class: 'dropdown-item' %></li>
21 <% end %> 21 <% end %>
22 </ul> 22 </ul>
23 23
@@ -34,7 +34,7 @@ en: @@ -34,7 +34,7 @@ en:
34 admin_panel_title: "Kanjai - Admin panel" 34 admin_panel_title: "Kanjai - Admin panel"
35 login_title: "Kanjai - Login" 35 login_title: "Kanjai - Login"
36 copyright: "© 2020 - kanjai.org" 36 copyright: "© 2020 - kanjai.org"
37 - logout: 'Logout' 37 + logout: "Logout"
38 please_wait: "Please, wait ..." 38 please_wait: "Please, wait ..."
39 mandatory_fields: "* Mandatory fields" 39 mandatory_fields: "* Mandatory fields"
40 meta_title: "Kanjai - Bootstrap CMS" 40 meta_title: "Kanjai - Bootstrap CMS"
@@ -47,6 +47,8 @@ en: @@ -47,6 +47,8 @@ en:
47 add_alternative_domain: "Add Alternative Domain" 47 add_alternative_domain: "Add Alternative Domain"
48 tag_input_help_text: "Type the name of the tag and finish the input with enter" 48 tag_input_help_text: "Type the name of the tag and finish the input with enter"
49 back_to_page_list: "Back to page overview" 49 back_to_page_list: "Back to page overview"
  50 + content_actions: "Content Actions"
  51 + copy_to: "Copy to"
50 52
51 date: 53 date:
52 formats: 54 formats:
@@ -80,7 +82,7 @@ en: @@ -80,7 +82,7 @@ en:
80 title_url: "URL" 82 title_url: "URL"
81 exclude_sitemap: "Exclude from Sitemap" 83 exclude_sitemap: "Exclude from Sitemap"
82 page_content: 84 page_content:
83 - type_content: "Content Type" 85 + type_content: "Content Type"
84 kanjai/page_lang: 86 kanjai/page_lang:
85 code: Code 87 code: Code
86 title: Language title 88 title: Language title
@@ -104,12 +106,11 @@ en: @@ -104,12 +106,11 @@ en:
104 meta_description: Meta Description 106 meta_description: Meta Description
105 meta_keywords: Meta Keywords 107 meta_keywords: Meta Keywords
106 kanjai/domain: 108 kanjai/domain:
107 - page_lang_ids: "Languages" 109 + page_lang_ids: "Languages"
108 default_lang_id: "Default Language" 110 default_lang_id: "Default Language"
109 robots: "robots.txt" 111 robots: "robots.txt"
110 page_404_id: "Page 404" 112 page_404_id: "Page 404"
111 113
112 -  
113 actions: 114 actions:
114 create: Save 115 create: Save
115 cancel: Cancel 116 cancel: Cancel
@@ -140,8 +141,8 @@ en: @@ -140,8 +141,8 @@ en:
140 title: "SIGN IN" 141 title: "SIGN IN"
141 remember_me: "Remember me" 142 remember_me: "Remember me"
142 login_button: "Login" 143 login_button: "Login"
143 - placeholder_email: 'Enter email'  
144 - placeholder_password: 'Password' 144 + placeholder_email: "Enter email"
  145 + placeholder_password: "Password"
145 admin_users: 146 admin_users:
146 title: "Users" 147 title: "Users"
147 create: "Add new user" 148 create: "Add new user"
@@ -163,7 +164,7 @@ en: @@ -163,7 +164,7 @@ en:
163 delete: "Are you sure?" 164 delete: "Are you sure?"
164 content_types: 165 content_types:
165 rte_editor: "RTE Editor" 166 rte_editor: "RTE Editor"
166 - plugin: "Plugin" 167 + plugin: "Plugin"
167 templates: 168 templates:
168 page_title: "Templates" 169 page_title: "Templates"
169 empty_text: "You don't have template" 170 empty_text: "You don't have template"
@@ -174,10 +175,8 @@ en: @@ -174,10 +175,8 @@ en:
174 add_new: "Add domain" 175 add_new: "Add domain"
175 empty_text: "Empty domain list" 176 empty_text: "Empty domain list"
176 create: "Add new domain" 177 create: "Add new domain"
177 - edit: "Edit domain" 178 + edit: "Edit domain"
178 template_status: 179 template_status:
179 not_file: "" 180 not_file: ""
180 unzip: "Ready" 181 unzip: "Ready"
181 zip: "In Progress" 182 zip: "In Progress"
182 -  
183 -  
1 module Kanjai 1 module Kanjai
2 - VERSION = "0.0.358" 2 + VERSION = "0.0.359"
3 end 3 end