Commit 80bce8f10491dd93c1aa66c0517d57a3478b774b

Authored by Andrey Karpikov
1 parent 9ad11ea0

add solution copy content

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