publify_core 9.0.0 → 9.2.2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of publify_core might be problematic. Click here for more details.

Files changed (360) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG.md +92 -37
  3. data/app/assets/javascripts/bootstrap-sprockets.js +8 -0
  4. data/app/assets/javascripts/bootstrap/affix.js +164 -0
  5. data/app/assets/javascripts/bootstrap/alert.js +95 -0
  6. data/app/assets/javascripts/bootstrap/button.js +125 -0
  7. data/app/assets/javascripts/bootstrap/collapse.js +212 -0
  8. data/app/assets/javascripts/bootstrap/dropdown.js +165 -0
  9. data/app/assets/javascripts/bootstrap/modal.js +358 -0
  10. data/app/assets/javascripts/bootstrap/tab.js +155 -0
  11. data/app/assets/javascripts/bootstrap/transition.js +59 -0
  12. data/app/assets/javascripts/lightbox.js +4 -4
  13. data/app/assets/javascripts/publify_admin.js +1 -35
  14. data/app/assets/stylesheets/_bootstrap-compass.scss +9 -0
  15. data/app/assets/stylesheets/_bootstrap-mincer.scss +19 -0
  16. data/app/assets/stylesheets/_bootstrap-sprockets.scss +9 -0
  17. data/app/assets/stylesheets/_bootstrap.scss +42 -0
  18. data/app/assets/stylesheets/administration_structure.css.scss +1 -45
  19. data/app/assets/stylesheets/bootstrap/_alerts.scss +73 -0
  20. data/app/assets/stylesheets/bootstrap/_button-groups.scss +242 -0
  21. data/app/assets/stylesheets/bootstrap/_buttons.scss +168 -0
  22. data/app/assets/stylesheets/bootstrap/_close.scss +37 -0
  23. data/app/assets/stylesheets/bootstrap/_code.scss +69 -0
  24. data/app/assets/stylesheets/bootstrap/_component-animations.scss +38 -0
  25. data/app/assets/stylesheets/bootstrap/_dropdowns.scss +213 -0
  26. data/app/assets/stylesheets/bootstrap/_forms.scss +586 -0
  27. data/app/assets/stylesheets/bootstrap/_grid.scss +94 -0
  28. data/app/assets/stylesheets/bootstrap/_labels.scss +66 -0
  29. data/app/assets/stylesheets/bootstrap/_media.scss +66 -0
  30. data/app/assets/stylesheets/bootstrap/_mixins.scss +37 -0
  31. data/app/assets/stylesheets/bootstrap/_modals.scss +150 -0
  32. data/app/assets/stylesheets/bootstrap/_navbar.scss +479 -0
  33. data/app/assets/stylesheets/bootstrap/_navs.scss +242 -0
  34. data/app/assets/stylesheets/bootstrap/_normalize.scss +427 -0
  35. data/app/assets/stylesheets/bootstrap/_pagination.scss +86 -0
  36. data/app/assets/stylesheets/bootstrap/_panels.scss +222 -0
  37. data/app/assets/stylesheets/bootstrap/_print.scss +99 -0
  38. data/app/assets/stylesheets/bootstrap/_scaffolding.scss +160 -0
  39. data/app/assets/stylesheets/bootstrap/_tables.scss +234 -0
  40. data/app/assets/stylesheets/bootstrap/_theme.scss +224 -0
  41. data/app/assets/stylesheets/bootstrap/_type.scss +296 -0
  42. data/app/assets/stylesheets/bootstrap/_utilities.scss +55 -0
  43. data/app/assets/stylesheets/bootstrap/_variables.scss +638 -0
  44. data/app/assets/stylesheets/bootstrap/_wells.scss +29 -0
  45. data/app/assets/stylesheets/bootstrap/mixins/_alerts.scss +15 -0
  46. data/app/assets/stylesheets/bootstrap/mixins/_background-variant.scss +12 -0
  47. data/app/assets/stylesheets/bootstrap/mixins/_border-radius.scss +18 -0
  48. data/app/assets/stylesheets/bootstrap/mixins/_buttons.scss +56 -0
  49. data/app/assets/stylesheets/bootstrap/mixins/_center-block.scss +7 -0
  50. data/app/assets/stylesheets/bootstrap/mixins/_clearfix.scss +22 -0
  51. data/app/assets/stylesheets/bootstrap/mixins/_forms.scss +82 -0
  52. data/app/assets/stylesheets/bootstrap/mixins/_gradients.scss +56 -0
  53. data/app/assets/stylesheets/bootstrap/mixins/_grid-framework.scss +81 -0
  54. data/app/assets/stylesheets/bootstrap/mixins/_grid.scss +122 -0
  55. data/app/assets/stylesheets/bootstrap/mixins/_hide-text.scss +21 -0
  56. data/app/assets/stylesheets/bootstrap/mixins/_image.scss +28 -0
  57. data/app/assets/stylesheets/bootstrap/mixins/_labels.scss +12 -0
  58. data/app/assets/stylesheets/bootstrap/mixins/_nav-divider.scss +10 -0
  59. data/app/assets/stylesheets/bootstrap/mixins/_nav-vertical-align.scss +9 -0
  60. data/app/assets/stylesheets/bootstrap/mixins/_opacity.scss +7 -0
  61. data/app/assets/stylesheets/bootstrap/mixins/_pagination.scss +24 -0
  62. data/app/assets/stylesheets/bootstrap/mixins/_panels.scss +20 -0
  63. data/app/assets/stylesheets/bootstrap/mixins/_reset-filter.scss +8 -0
  64. data/app/assets/stylesheets/bootstrap/mixins/_resize.scss +6 -0
  65. data/app/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss +17 -0
  66. data/app/assets/stylesheets/bootstrap/mixins/_size.scss +10 -0
  67. data/app/assets/stylesheets/bootstrap/mixins/_tab-focus.scss +9 -0
  68. data/app/assets/stylesheets/bootstrap/mixins/_table-row.scss +28 -0
  69. data/app/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss +12 -0
  70. data/app/assets/stylesheets/bootstrap/mixins/_text-overflow.scss +8 -0
  71. data/app/assets/stylesheets/bootstrap/mixins/_vendor-prefixes.scss +222 -0
  72. data/app/assets/stylesheets/lightbox.css +3 -3
  73. data/app/assets/stylesheets/publify_admin.css.scss +0 -1
  74. data/app/controllers/accounts_controller.rb +2 -0
  75. data/app/controllers/admin/base_controller.rb +8 -16
  76. data/app/controllers/admin/content_controller.rb +38 -36
  77. data/app/controllers/admin/dashboard_controller.rb +16 -65
  78. data/app/controllers/admin/feedback_controller.rb +45 -37
  79. data/app/controllers/admin/notes_controller.rb +16 -10
  80. data/app/controllers/admin/pages_controller.rb +19 -29
  81. data/app/controllers/admin/post_types_controller.rb +7 -5
  82. data/app/controllers/admin/profiles_controller.rb +15 -5
  83. data/app/controllers/admin/redirects_controller.rb +9 -5
  84. data/app/controllers/admin/resources_controller.rb +7 -4
  85. data/app/controllers/admin/seo_controller.rb +12 -10
  86. data/app/controllers/admin/settings_controller.rb +7 -5
  87. data/app/controllers/admin/sidebar_controller.rb +6 -5
  88. data/app/controllers/admin/tags_controller.rb +6 -3
  89. data/app/controllers/admin/themes_controller.rb +10 -7
  90. data/app/controllers/admin/users_controller.rb +10 -7
  91. data/app/controllers/articles_controller.rb +49 -33
  92. data/app/controllers/authors_controller.rb +6 -3
  93. data/app/controllers/base_controller.rb +9 -11
  94. data/app/controllers/comments_controller.rb +13 -13
  95. data/app/controllers/content_controller.rb +4 -2
  96. data/app/controllers/feedback_controller.rb +4 -2
  97. data/app/controllers/notes_controller.rb +5 -3
  98. data/app/controllers/setup_controller.rb +15 -12
  99. data/app/controllers/tags_controller.rb +6 -4
  100. data/app/controllers/text_controller.rb +2 -4
  101. data/app/controllers/textfilter_controller.rb +2 -0
  102. data/app/controllers/theme_controller.rb +18 -13
  103. data/app/controllers/xml_controller.rb +2 -0
  104. data/app/helpers/admin/base_helper.rb +28 -29
  105. data/app/helpers/admin/feedback_helper.rb +34 -24
  106. data/app/helpers/articles_helper.rb +4 -2
  107. data/app/helpers/authors_helper.rb +7 -16
  108. data/app/helpers/base_helper.rb +56 -52
  109. data/app/helpers/blog_helper.rb +4 -2
  110. data/app/helpers/xml_helper.rb +3 -1
  111. data/app/jobs/application_job.rb +2 -0
  112. data/app/mailers/notification_mailer.rb +5 -3
  113. data/app/models/ability.rb +25 -23
  114. data/app/models/archives_sidebar.rb +14 -11
  115. data/app/models/article.rb +42 -42
  116. data/app/models/article/factory.rb +14 -6
  117. data/app/models/blog.rb +86 -75
  118. data/app/models/comment.rb +10 -11
  119. data/app/models/config_manager.rb +4 -2
  120. data/app/models/content.rb +37 -50
  121. data/app/models/content_base.rb +10 -4
  122. data/app/models/feedback.rb +21 -17
  123. data/app/models/meta_sidebar.rb +4 -3
  124. data/app/models/note.rb +26 -25
  125. data/app/models/page.rb +9 -8
  126. data/app/models/page_sidebar.rb +4 -2
  127. data/app/models/ping.rb +3 -1
  128. data/app/models/post_type.rb +3 -3
  129. data/app/models/redirect.rb +13 -7
  130. data/app/models/redirection.rb +3 -1
  131. data/app/models/resource.rb +5 -3
  132. data/app/models/search_sidebar.rb +4 -2
  133. data/app/models/sidebar.rb +11 -6
  134. data/app/models/static_sidebar.rb +14 -13
  135. data/app/models/tag.rb +15 -11
  136. data/app/models/tag_sidebar.rb +6 -3
  137. data/app/models/text_filter.rb +85 -11
  138. data/app/models/trackback.rb +7 -11
  139. data/app/models/trigger.rb +7 -4
  140. data/app/models/user.rb +44 -43
  141. data/app/services/title_builder.rb +52 -45
  142. data/app/uploaders/resource_uploader.rb +5 -3
  143. data/app/views/accounts/confirm.html.erb +3 -3
  144. data/app/views/admin/content/_article_list.html.erb +23 -8
  145. data/app/views/admin/content/_form.html.erb +71 -47
  146. data/app/views/admin/content/autosave.js.erb +2 -2
  147. data/app/views/admin/content/edit.html.erb +1 -1
  148. data/app/views/admin/content/index.html.erb +25 -15
  149. data/app/views/admin/content/new.html.erb +2 -2
  150. data/app/views/admin/dashboard/_comment.html.erb +5 -5
  151. data/app/views/admin/dashboard/_comments.html.erb +2 -2
  152. data/app/views/admin/dashboard/_drafts.html.erb +5 -5
  153. data/app/views/admin/dashboard/_overview.html.erb +7 -9
  154. data/app/views/admin/dashboard/_welcome.html.erb +11 -11
  155. data/app/views/admin/dashboard/index.html.erb +12 -7
  156. data/app/views/admin/feedback/_button.html.erb +6 -6
  157. data/app/views/admin/feedback/_feedback.html.erb +3 -3
  158. data/app/views/admin/feedback/_ham.html.erb +27 -9
  159. data/app/views/admin/feedback/_spam.html.erb +26 -16
  160. data/app/views/admin/feedback/article.html.erb +20 -21
  161. data/app/views/admin/feedback/edit.html.erb +14 -15
  162. data/app/views/admin/feedback/{ham.js → ham.js.erb} +0 -0
  163. data/app/views/admin/feedback/index.html.erb +25 -23
  164. data/app/views/admin/feedback/{spam.js → spam.js.erb} +0 -0
  165. data/app/views/admin/migrations/show.html.erb +10 -11
  166. data/app/views/admin/notes/_form.html.erb +13 -13
  167. data/app/views/admin/notes/_list.html.erb +19 -8
  168. data/app/views/admin/notes/_note.html.erb +12 -7
  169. data/app/views/admin/notes/edit.html.erb +6 -1
  170. data/app/views/admin/notes/index.html.erb +5 -1
  171. data/app/views/admin/notes/show.html.erb +2 -2
  172. data/app/views/admin/pages/_form.html.erb +86 -77
  173. data/app/views/admin/pages/_pages.html.erb +11 -4
  174. data/app/views/admin/pages/edit.html.erb +3 -1
  175. data/app/views/admin/pages/index.html.erb +10 -6
  176. data/app/views/admin/pages/new.html.erb +3 -1
  177. data/app/views/admin/post_types/_index_and_form.html.erb +15 -16
  178. data/app/views/admin/post_types/edit.html.erb +1 -1
  179. data/app/views/admin/post_types/index.html.erb +1 -1
  180. data/app/views/admin/profiles/index.html.erb +2 -3
  181. data/app/views/admin/redirects/_index_and_form.html.erb +10 -11
  182. data/app/views/admin/redirects/edit.html.erb +1 -1
  183. data/app/views/admin/redirects/index.html.erb +1 -1
  184. data/app/views/admin/resources/index.html.erb +19 -16
  185. data/app/views/admin/seo/_general.html.erb +23 -47
  186. data/app/views/admin/seo/_permalinks.html.erb +16 -16
  187. data/app/views/admin/seo/_titles.html.erb +63 -64
  188. data/app/views/admin/seo/show.html.erb +14 -19
  189. data/app/views/admin/settings/display.html.erb +22 -25
  190. data/app/views/admin/settings/feedback.html.erb +31 -32
  191. data/app/views/admin/settings/index.html.erb +23 -24
  192. data/app/views/admin/settings/write.html.erb +21 -22
  193. data/app/views/admin/shared/_edit.html.erb +3 -3
  194. data/app/views/admin/shared/_menu.html.erb +26 -26
  195. data/app/views/admin/shared/_twitter_alert.html.erb +1 -1
  196. data/app/views/admin/sidebar/_config.html.erb +5 -5
  197. data/app/views/admin/sidebar/_target_sidebar.html.erb +4 -4
  198. data/app/views/admin/sidebar/index.html.erb +7 -7
  199. data/app/views/admin/tags/_index_and_form.html.erb +11 -12
  200. data/app/views/admin/tags/edit.html.erb +1 -1
  201. data/app/views/admin/tags/index.html.erb +1 -1
  202. data/app/views/admin/themes/index.html.erb +5 -6
  203. data/app/views/admin/users/_form.html.erb +34 -34
  204. data/app/views/admin/users/edit.html.erb +2 -2
  205. data/app/views/admin/users/index.html.erb +10 -12
  206. data/app/views/admin/users/new.html.erb +2 -2
  207. data/app/views/archives_sidebar/_content.html.erb +2 -2
  208. data/app/views/articles/_archives_article.html.erb +3 -3
  209. data/app/views/articles/_article.html.erb +7 -9
  210. data/app/views/articles/_article_author.html.erb +4 -0
  211. data/app/views/articles/_article_content.html.erb +2 -2
  212. data/app/views/articles/_article_excerpt.html.erb +2 -2
  213. data/app/views/articles/_article_links.html.erb +1 -1
  214. data/app/views/articles/_comment_errors.html.erb +1 -1
  215. data/app/views/articles/_comment_form.html.erb +12 -12
  216. data/app/views/articles/_comment_preview.html.erb +3 -3
  217. data/app/views/articles/_password_form.html.erb +4 -4
  218. data/app/views/articles/_trackback.html.erb +2 -2
  219. data/app/views/articles/archives.html.erb +1 -1
  220. data/app/views/articles/feedback_atom_feed.atom.builder +3 -1
  221. data/app/views/articles/feedback_rss_feed.rss.builder +9 -8
  222. data/app/views/articles/index_atom_feed.atom.builder +5 -3
  223. data/app/views/articles/index_rss_feed.rss.builder +10 -9
  224. data/app/views/articles/live_search.html.erb +3 -3
  225. data/app/views/articles/read.html.erb +16 -8
  226. data/app/views/articles/search.html.erb +2 -2
  227. data/app/views/articles/trackback.xml.builder +3 -1
  228. data/app/views/articles/view_page.html.erb +2 -2
  229. data/app/views/authors/show.html.erb +9 -9
  230. data/app/views/authors/show_atom_feed.atom.builder +4 -2
  231. data/app/views/authors/show_rss_feed.rss.builder +10 -9
  232. data/app/views/comments/_comment.html.erb +3 -3
  233. data/app/views/devise/mailer/reset_password_instructions.html.erb +7 -9
  234. data/app/views/devise/passwords/edit.html.erb +4 -4
  235. data/app/views/devise/passwords/new.html.erb +1 -1
  236. data/app/views/devise/registrations/new.html.erb +5 -5
  237. data/app/views/devise/sessions/new.html.erb +3 -3
  238. data/app/views/errors/404.html.erb +2 -2
  239. data/app/views/feedback/index.atom.builder +3 -1
  240. data/app/views/feedback/index.rss.builder +9 -8
  241. data/app/views/layouts/accounts.html.erb +26 -26
  242. data/app/views/layouts/administration.html.erb +31 -31
  243. data/app/views/layouts/default.html.erb +4 -3
  244. data/app/views/layouts/editor.html.erb +5 -19
  245. data/app/views/meta_sidebar/_content.html.erb +2 -2
  246. data/app/views/notes/_note.html.erb +1 -1
  247. data/app/views/notes/index.html.erb +1 -1
  248. data/app/views/notes/show_in_reply.html.erb +1 -1
  249. data/app/views/notification_mailer/_mail_footer.html.erb +3 -3
  250. data/app/views/notification_mailer/article.html.erb +2 -2
  251. data/app/views/notification_mailer/comment.html.erb +5 -5
  252. data/app/views/notification_mailer/notif_user.html.erb +1 -1
  253. data/app/views/page_sidebar/_content.html.erb +1 -1
  254. data/app/views/search_sidebar/_content.html.erb +2 -2
  255. data/app/views/settings/install.html.erb +2 -2
  256. data/app/views/setup/index.html.erb +7 -7
  257. data/app/views/shared/_atom_header.atom.builder +4 -4
  258. data/app/views/shared/_atom_item_article.atom.builder +19 -29
  259. data/app/views/shared/_atom_item_comment.atom.builder +4 -2
  260. data/app/views/shared/_atom_item_trackback.atom.builder +4 -2
  261. data/app/views/shared/_google_analytics.html.erb +8 -0
  262. data/app/views/shared/_page_header.html.erb +9 -12
  263. data/app/views/shared/_rss_item_article.rss.builder +9 -7
  264. data/app/views/shared/_rss_item_comment.rss.builder +3 -1
  265. data/app/views/shared/_rss_item_trackback.rss.builder +3 -1
  266. data/app/views/sidebar/display_plugins.html.erb +1 -1
  267. data/app/views/tag_sidebar/_content.html.erb +1 -1
  268. data/app/views/tags/index.html.erb +1 -1
  269. data/app/views/xml/_googlesitemap_item_article.googlesitemap.builder +2 -0
  270. data/app/views/xml/_googlesitemap_item_category.googlesitemap.builder +2 -0
  271. data/app/views/xml/_googlesitemap_item_page.googlesitemap.builder +2 -0
  272. data/app/views/xml/_googlesitemap_item_tag.googlesitemap.builder +2 -0
  273. data/app/views/xml/sitemap.googlesitemap.builder +4 -2
  274. data/config/i18n-tasks.yml +0 -5
  275. data/config/initializers/devise.rb +10 -4
  276. data/config/initializers/mime_types.rb +3 -1
  277. data/config/locales/da.yml +134 -73
  278. data/config/locales/de.yml +142 -77
  279. data/config/locales/en.yml +128 -68
  280. data/config/locales/es-MX.yml +135 -71
  281. data/config/locales/fr.yml +167 -88
  282. data/config/locales/he.yml +128 -72
  283. data/config/locales/it.yml +136 -74
  284. data/config/locales/ja.yml +110 -66
  285. data/config/locales/lt.yml +153 -76
  286. data/config/locales/nb-NO.yml +123 -67
  287. data/config/locales/nl.yml +140 -77
  288. data/config/locales/pl.yml +329 -240
  289. data/config/locales/pt-BR.yml +137 -72
  290. data/config/locales/ro.yml +148 -72
  291. data/config/locales/ru.yml +161 -71
  292. data/config/locales/zh-CN.yml +106 -61
  293. data/config/locales/zh-TW.yml +109 -63
  294. data/config/routes.rb +68 -63
  295. data/db/migrate/113_initial_schema.rb +191 -191
  296. data/db/migrate/114_fixes_buggy_articles_and_notes.rb +10 -7
  297. data/db/migrate/115_drops_categories_for_tags.rb +5 -4
  298. data/db/migrate/20150207131657_add_missing_indexes.rb +2 -0
  299. data/db/migrate/20150807134129_simplify_redirect_relations.rb +5 -0
  300. data/db/migrate/20150808052637_add_blog_ids.rb +9 -3
  301. data/db/migrate/20150808191127_add_blog_id_to_redirects.rb +2 -0
  302. data/db/migrate/20150810094754_add_blog_id_to_tags.rb +2 -0
  303. data/db/migrate/20160108111120_add_devise_to_users.rb +4 -2
  304. data/db/migrate/20160108184201_move_last_connection_to_last_sign_in_at.rb +2 -0
  305. data/db/migrate/20160110094906_remove_profiles_rights.rb +2 -0
  306. data/db/migrate/20160605103918_replace_profile_id_with_string.rb +2 -0
  307. data/db/migrate/20160605154632_remove_profiles.rb +10 -5
  308. data/db/migrate/20160701061851_demand_blog_id_on_contents.rb +2 -0
  309. data/db/migrate/20160701062604_add_blog_id_to_resources.rb +2 -0
  310. data/db/migrate/20170528093024_move_resources_to_content.rb +2 -0
  311. data/db/migrate/20170528094923_move_tags_to_content.rb +2 -0
  312. data/db/migrate/20170528201606_remove_separate_published_flag.rb +2 -0
  313. data/db/migrate/20170605071626_remove_extra_state_columns_from_feedback.rb +2 -0
  314. data/db/migrate/20170702105201_remove_published_at_from_feedback.rb +2 -0
  315. data/db/migrate/20190208151235_add_text_filter_name_fields.rb +9 -0
  316. data/db/migrate/20190208152646_move_text_filter_to_name.rb +97 -0
  317. data/db/migrate/20190209155717_remove_text_filter_ids.rb +19 -0
  318. data/db/migrate/20190209160610_remove_text_filters.rb +17 -0
  319. data/db/migrate/20200413140440_add_unique_indexes.rb +10 -0
  320. data/db/seeds.rb +8 -20
  321. data/lib/email_notify.rb +3 -1
  322. data/lib/format.rb +4 -12
  323. data/lib/publify_core.rb +36 -35
  324. data/lib/publify_core/engine.rb +11 -4
  325. data/lib/publify_core/lang.rb +5 -1
  326. data/lib/publify_core/testing_support/dns_mock.rb +15 -0
  327. data/lib/publify_core/testing_support/factories.rb +240 -0
  328. data/lib/publify_core/testing_support/feed_assertions.rb +48 -0
  329. data/lib/publify_core/testing_support/fixtures/exploit.svg +4 -0
  330. data/lib/publify_core/testing_support/fixtures/fakepng.png +1 -0
  331. data/lib/publify_core/testing_support/fixtures/otherfile.txt +1 -0
  332. data/lib/publify_core/testing_support/fixtures/testfile.png +0 -0
  333. data/lib/publify_core/testing_support/fixtures/testfile.txt +1 -0
  334. data/lib/publify_core/testing_support/upload_fixtures.rb +15 -0
  335. data/lib/publify_core/version.rb +3 -1
  336. data/lib/publify_guid.rb +3 -1
  337. data/lib/publify_plugins.rb +10 -5
  338. data/lib/publify_textfilter_markdown.rb +38 -25
  339. data/lib/publify_textfilter_none.rb +5 -3
  340. data/lib/publify_textfilter_smartypants.rb +5 -3
  341. data/lib/publify_textfilter_textile.rb +7 -4
  342. data/lib/publify_textfilter_twitterfilter.rb +13 -7
  343. data/lib/publify_time.rb +4 -0
  344. data/lib/sidebar_field.rb +15 -13
  345. data/lib/sidebar_registry.rb +5 -3
  346. data/lib/spam_protection.rb +19 -17
  347. data/lib/tasks/i18n.rake +9 -0
  348. data/lib/tasks/manifest.rake +30 -0
  349. data/lib/tasks/publify_core_tasks.rake +2 -0
  350. data/lib/text_filter_plugin.rb +30 -29
  351. data/lib/theme.rb +5 -5
  352. data/lib/transforms.rb +21 -20
  353. data/themes/plain/javascripts/theme.js +0 -0
  354. metadata +247 -109
  355. data/app/assets/javascripts/widearea.js +0 -486
  356. data/app/assets/stylesheets/widearea.css +0 -133
  357. data/app/controllers/admin/textfilters_controller.rb +0 -6
  358. data/app/views/admin/dashboard/_inbound.html.erb +0 -31
  359. data/app/views/admin/notes/_header.html.erb +0 -6
  360. data/app/views/articles/_protected_article_content.html.erb +0 -6
@@ -5,7 +5,8 @@ zh-CN:
5
5
  back_to_login: Back to login
6
6
  confirm:
7
7
  admin: admin
8
- dont_lose_the_mail_sent: Don't lose the mail sent at %{email} or you won't be able to login anymore
8
+ dont_lose_the_mail_sent: Don't lose the mail sent at %{email} or you won't be
9
+ able to login anymore
9
10
  login: 'Login: %{login}'
10
11
  proceed_to: Proceed to %{link}
11
12
  success: You have successfully signed up.
@@ -29,6 +30,7 @@ zh-CN:
29
30
  access_granted:
30
31
  error: 错误,不允许进行此操作
31
32
  article_list:
33
+ feedback: 回应
32
34
  no_articles: 这儿并不存在articles。让我们开始创建它。
33
35
  autosave:
34
36
  success: Article was successfully saved
@@ -37,9 +39,10 @@ zh-CN:
37
39
  form:
38
40
  allow_comments: 允许评论
39
41
  allow_comments_status:
40
- one: enabled
41
- zero: disabled
42
+ disabled: disabled
43
+ enabled: enabled
42
44
  allowed_comments_html: Comments are %{allow_comment}
45
+ article_filter: Article filter
43
46
  article_type: Article type
44
47
  cancel: 取消
45
48
  default: Default
@@ -57,20 +60,28 @@ zh-CN:
57
60
  save_as_draft: 保存为草稿
58
61
  status: 状态
59
62
  tags: 标签
60
- tags_explanation_html: Separate tags with commas. Use double quotes (") around multi-word tags, e.g. "opera house".
63
+ tags_explanation_html: Separate tags with commas. Use double quotes (")
64
+ around multi-word tags, e.g. "opera house".
61
65
  title: 标题
62
66
  type_your_post: Type your post
63
67
  visibility: Visibility
64
68
  index:
69
+ actions: Actions
65
70
  all_articles: 所有文章
71
+ author: 作者
72
+ created_at: Created at
66
73
  drafts: 草稿
74
+ feedback: 回应
67
75
  manage_articles: 文章管理
68
76
  new_article: 新文章
69
77
  publication_date: Publication date
70
78
  publication_pending: Publication pending
71
79
  published: 已发表
80
+ published_at: Publication date
72
81
  search: 搜索
73
82
  select_an_author: Select an author
83
+ text_filter: Text filter
84
+ title: 标题
74
85
  withdrawn: Withdrawn
75
86
  update:
76
87
  success: 文章更新成功
@@ -83,14 +94,10 @@ zh-CN:
83
94
  drafts:
84
95
  no_drafts_yet: No drafts yet, why don't you start and write one
85
96
  your_drafts: Your drafts
86
- inbound:
87
- at: at
88
- at_an_unknown_date: at an unknown date
89
- inbound_links: 导入链接
90
- made_a_link_to_you_on: 连接到你,并且说
91
- no_one_made_link_to_you_yet: 目前没有人链接到你
92
- you_have_no_internet_connection: 你没有连接到网络
93
97
  index:
98
+ textile_deprecated_html: The Textile text filter has been deprecated and will
99
+ be removed soon. Some of your content still uses this filter. Run the <code>publify:textile_to_markdown</code>
100
+ rake task to convert it to Markdown, or convert your content manually.
94
101
  welcome_back: 欢迎回來, %{user_name}!
95
102
  overview:
96
103
  change_your_blog_presentation: 修改你的博客外观
@@ -102,10 +109,6 @@ zh-CN:
102
109
  update_your_profile_or_change_your_password: 更新资料或者修改密码
103
110
  write_a_page: 写一个页面
104
111
  write_a_post: 写一篇文章
105
- publify_version:
106
- error: You are at least one major version of Publify out of date. You should upgrade immediately. Download and install <a href='http://publify.co/stable.tgz'>the latest Publify version</a>
107
- notice: There's a new version of Publify available. Why don't you upgrade to <a href='http://publify.co/stable.tgz'>the latest Publify version</a>?
108
- warning: There's a new version of Publify available which may contain important bug fixes. Why don't you upgrade to <a href='http://publify.co/stable.tgz'>the latest Publify version</a>?
109
112
  welcome:
110
113
  approved_count:
111
114
  one: 1 approved
@@ -186,7 +189,7 @@ zh-CN:
186
189
  success: 删除
187
190
  edit:
188
191
  action_or_other_html: "%{first_action} 或 %{second_action}"
189
- author: Author
192
+ author: 作者
190
193
  cancel: Cancel
191
194
  comments_for_html: Comments for %{article_link}
192
195
  edit_a_comment: Edit a comment
@@ -194,11 +197,12 @@ zh-CN:
194
197
  save: 保存
195
198
  url: Url
196
199
  your_comment: Your comment
197
- ham:
198
- by: by
199
- created_on: 'on'
200
200
  index:
201
+ actions: Actions
201
202
  all: All
203
+ author: 作者
204
+ content: Content
205
+ created_at: Created at
202
206
  feedback: 回应
203
207
  ham: Ham
204
208
  no_feedback: 这儿并不存在Feedback。让我们开始创建它。
@@ -206,12 +210,8 @@ zh-CN:
206
210
  presumed_spam: Presumed spam
207
211
  select_all: Select all
208
212
  spam: Spam
213
+ status: 状态
209
214
  unapproved_comments: Unapproved comments
210
- spam:
211
- by: by
212
- cancel: 取消
213
- created_on: 'on'
214
- this_comment_by_was_flagged_as_spam_html: This comment by %{author} was flagged as spam, %{cancel_link}?
215
215
  state:
216
216
  ham: Ham
217
217
  just_marked_as_ham: Just Marked As Ham
@@ -237,6 +237,8 @@ zh-CN:
237
237
  update_database_now: 現在更新資料庫
238
238
  you_are_up_to_date: 你現在是最新的狀態
239
239
  notes:
240
+ edit:
241
+ notes: Notes
240
242
  form:
241
243
  cancel: 取消
242
244
  compose_new_note: Compose new note
@@ -250,8 +252,14 @@ zh-CN:
250
252
  publish_at: 公开
251
253
  publish_settings: 发布设定
252
254
  tweet_id_like: Tweet id like 123456
253
- header:
255
+ index:
254
256
  notes: Notes
257
+ list:
258
+ actions: Actions
259
+ author: 作者
260
+ created_at: Created at
261
+ text_filter: Text filter
262
+ title: 标题
255
263
  show:
256
264
  action_or_other_html: "%{first_action} 或 %{second_action}"
257
265
  are_you_sure: Are you sure you want to delete this note
@@ -264,20 +272,21 @@ zh-CN:
264
272
  form:
265
273
  article_filter: Article filter
266
274
  cancel: 取消
267
- offline: offline
268
275
  online: 上線
269
276
  permanent_link: Permanent link
270
277
  publish: 发布
271
278
  publish_settings: 发布设定
272
- published: published
273
279
  save: 保存
274
280
  status: 状态
275
281
  title: 标题
276
282
  type_your_post: Type your post
277
283
  index:
284
+ actions: Actions
278
285
  author: 作者
286
+ created_at: Created at
279
287
  manage_pages: 管理页面
280
288
  new_page: 新页面
289
+ text_filter: Text filter
281
290
  title: 标题
282
291
  new:
283
292
  success: 页面创建成功
@@ -288,7 +297,9 @@ zh-CN:
288
297
  cancel: 取消
289
298
  default: Default
290
299
  description: 说明
291
- explain: The template name is the filename Publify will look for when calling an article of that type. It should be in your theme under views/articles/template name.html.erb
300
+ explain: The template name is the filename Publify will look for when calling
301
+ an article of that type. It should be in your theme under views/articles/template
302
+ name.html.erb
292
303
  name: 名字
293
304
  or: or
294
305
  post_types: Post Types
@@ -318,7 +329,7 @@ zh-CN:
318
329
  are_you_sure: 你确认?
319
330
  content_type: 內容類型
320
331
  date: 日期
321
- delete: Delete
332
+ delete: 删除
322
333
  file_size: 檔案大小
323
334
  filename: 檔案名稱
324
335
  media_library: Media Library
@@ -334,42 +345,47 @@ zh-CN:
334
345
  warning: No file selected
335
346
  seo:
336
347
  general:
337
- canonical_url: Canonical Url
338
348
  custom_tracking_code: Custom tracking code
339
349
  do_not_index_tags: Do not index tags
340
350
  dofollow: Dofollow
341
- explain: Here you can add anything you want to appear in your application header, such as analytics service tracking code.
342
- explain_humans_txt: It's an initiative for knowing the people behind a website. It's a TXT file that contains information about the different people who have contributed to building the website. http://humanstxt.org/
343
- explain_moderate_feedback: You may want to moderate feedback when turning this on
344
- explain_rss_description: 'You can use the following tags: %author% (author name), %blog_url% (this blog URL), %blog_name% (this blog title) and %permalink_url% (a link to the article you want to protect)'
345
- explain_tag_index_html: Checking this box will add <code>noindex, follow</code> meta tags in every tags page, removing them from search engines and preventing duplicate content issues
351
+ explain: Here you can add anything you want to appear in your application
352
+ header, such as analytics service tracking code.
353
+ explain_moderate_feedback: You may want to moderate feedback when turning
354
+ this on
355
+ explain_rss_description: 'You can use the following tags: %author% (author
356
+ name), %blog_url% (this blog URL), %blog_name% (this blog title) and %permalink_url%
357
+ (a link to the article you want to protect)'
358
+ explain_tag_index_html: Checking this box will add <code>noindex, follow</code>
359
+ meta tags in every tags page, removing them from search engines and preventing
360
+ duplicate content issues
346
361
  general_settings: 一般設定
347
362
  google: Google
348
363
  google_analytics: Google Analytics
349
- google_webmaster_tools_validation_link: Google Webmaster Tools validation link
350
- human: Human
351
- humans_txt: Human
364
+ google_webmaster_tools_validation_link: Google Webmaster Tools validation
365
+ link
352
366
  indexing: Indexing
353
367
  meta_description: Meta description
354
368
  meta_keywords: Meta keywords
355
- read_more_about_html: Read more about %{link}
356
369
  robots_txt: Robots.txt
357
370
  rss_description_message: RSS description message
358
- this_will_display: This will display at the bottom of each post in the RSS feed
359
- use_canonical_url: Use canonical URL
371
+ this_will_display: This will display at the bottom of each post in the RSS
372
+ feed
360
373
  use_dofollow_in_comments: Use dofollow in comments
361
374
  use_meta_keywords: Use meta keywords
362
375
  use_rss_description: Use RSS description
363
376
  permalinks:
364
377
  custom: Custom
365
378
  date_and_title: Date and title
366
- explain: Publify offers you the ability to create a custom URL structure for your permalinks and archives. This can improve the aesthetics, usability, and forward-compatibility of your links.
379
+ explain: Publify offers you the ability to create a custom URL structure for
380
+ your permalinks and archives. This can improve the aesthetics, usability,
381
+ and forward-compatibility of your links.
367
382
  help_on_permalink_settings: Help on permalink settings
368
383
  month_and_title: Month and title
369
384
  permalink_format: Permalink format
370
385
  sample: Here are some examples to get you started.
371
386
  title_only: Title only
372
- you_can_custom_your_url_structure: 'You can custom your URL structure using the following tags:'
387
+ you_can_custom_your_url_structure: 'You can custom your URL structure using
388
+ the following tags:'
373
389
  your_article_day: your article day of publication.
374
390
  your_article_month: your article month of publication.
375
391
  your_article_slug_html: your article slug. <strong>Using this slug is mandatory</strong>.
@@ -392,30 +408,35 @@ zh-CN:
392
408
  paginated_archives: Paginated archives
393
409
  replaced_by_the_archive_date: Replaced by the archive date
394
410
  replaced_by_the_content_body: Replaced by the content body
395
- replaced_with_the_article_categories: Replaced with the article categories (comma separated)
411
+ replaced_with_the_article_categories: Replaced with the article categories
412
+ (comma separated)
396
413
  replaced_with_the_article_page_title: Replaced with the article/page title
397
414
  replaced_with_the_article_tags: Replaced with the article tags (comma separated)
398
415
  replaced_with_the_category_tag_name: Replaced with the category/tag name
399
416
  replaced_with_the_current_date: Replaced with the current date
400
417
  replaced_with_the_current_month: Replaced with the current month
401
418
  replaced_with_the_current_page_number: Replaced with the current page number
402
- replaced_with_the_current_search_phrase: Replaced with the current search phrase
419
+ replaced_with_the_current_search_phrase: Replaced with the current search
420
+ phrase
403
421
  replaced_with_the_current_time: Replaced with the current time
404
422
  replaced_with_the_current_year: Replaced with the current year
405
423
  replaced_with_the_post_page_excerpt: Replaced with the post/page excerpt
406
- replaced_with_the_title_of_the_article_page: Replaced with the title of the article/page
424
+ replaced_with_the_title_of_the_article_page: Replaced with the title of the
425
+ article/page
407
426
  search_results: Search results
408
427
  short_statuses: Short statuses
409
428
  short_statuses_lists: Short statuses lists
410
429
  the_blog_s_name: The blog's name
411
430
  the_blog_s_tagline_description: The blog's tagline / description
412
- these_tags_can_be_included: These tags can be included in your templates and will be replaced when displaying the page.
431
+ these_tags_can_be_included: These tags can be included in your templates and
432
+ will be replaced when displaying the page.
413
433
  title_template: Title template
414
434
  settings:
415
435
  display:
416
436
  cancel: 取消
417
437
  custom_url: Custom URL shortener domain
418
- custom_url_help: If you have a custom domain for URL shortening, enter it here.
438
+ custom_url_help: If you have a custom domain for URL shortening, enter it
439
+ here.
419
440
  date_format: Date format
420
441
  default_archives_show: articles on the archives page
421
442
  default_article_show: articles on the homepage
@@ -447,13 +468,15 @@ zh-CN:
447
468
  explain_feedback_moderation: 你可以設定網點範圍有限度的反饋。這麼做將不會有任何评论引用出現在你的博客,除非你使之生效
448
469
  explain_reject_comments: Publify會自動回絕评论和引用,包含某些可靠的連結總數
449
470
  explain_spam_protection: publify會根據張貼者IP的位址內容還有黑名單來有效防止垃圾郵件。好的防禦可以抑制垃圾郵寄
450
- explain_spamfiltering_html: Publify隨意的使用 <a href='http://akismet.com'>Akismet</a> 篩選垃圾郵件服務。
471
+ explain_spamfiltering_html: Publify隨意的使用 <a href='http://akismet.com'>Akismet</a>
472
+ 篩選垃圾郵件服務。
451
473
  feedback: 回应
452
474
  feedback_settings: Feedback settings
453
475
  max_links: 最大的連結值
454
476
  none: none
455
477
  or: or
456
- remember_to_set_your_recaptcha: Remember to set your reCaptcha keys inside config/initializers/recaptcha.rb
478
+ remember_to_set_your_recaptcha: Remember to set your reCaptcha keys inside
479
+ config/initializers/recaptcha.rb
457
480
  set_to_0_to_never_disable_comments: 設定0為絕不失效的评论
458
481
  set_to_0_to_never_reject_comments: 設定0回絕不回絕的评论
459
482
  spam: Spam
@@ -466,7 +489,10 @@ zh-CN:
466
489
  blog_url: 博客URL
467
490
  cancel: 取消
468
491
  email_address_used_to_notify: email位址使用publify發出通知
469
- explain_allow_users_to_register_html: This will allow users to register themselves as contributors, an unprivileged account level which grants them no rights beyond owning a profile on the site. If you don't want users to register, you can add them via <em>Manage users</em> under <em>Settings</em>.
492
+ explain_allow_users_to_register_html: This will allow users to register themselves
493
+ as contributors, an unprivileged account level which grants them no rights
494
+ beyond owning a profile on the site. If you don't want users to register,
495
+ you can add them via <em>Manage users</em> under <em>Settings</em>.
470
496
  general_settings: 一般設定
471
497
  items_to_display_in_admin_lists: Items to display in admin lists
472
498
  language: 言語
@@ -508,9 +534,10 @@ zh-CN:
508
534
  design: Design
509
535
  display: Display
510
536
  documentation: Documentation
511
- feedback: Feedback
537
+ feedback: 回应
512
538
  general_settings: General settings
513
539
  global_seo_settings: Global SEO settings
540
+ home: 首页
514
541
  in_page_plugins: In page plugins
515
542
  logged_in_as: Logged in as %{login}
516
543
  logout_html: 登出 &raquo;
@@ -535,7 +562,8 @@ zh-CN:
535
562
  write: Write
536
563
  twitter_alert:
537
564
  fill_the_twitter_credentials: fill in the OAuth credentials
538
- how_to_setup_twitter_html: If you want to push short statuses on Twitter, you need to %{twitter_settings_link} Twitter gave you after you %{twitter_registration_link}.
565
+ how_to_setup_twitter_html: If you want to push short statuses on Twitter,
566
+ you need to %{twitter_settings_link} Twitter gave you after you %{twitter_registration_link}.
539
567
  registered_your_application: registered your application
540
568
  sidebar:
541
569
  config:
@@ -544,7 +572,10 @@ zh-CN:
544
572
  you_have_no_plugins_installed: You have no plugins installed
545
573
  index:
546
574
  cancel: 取消
547
- download_more_plugins_html: You can download and install sidebar plugins from our official <a href='https://github.com/fdv/publify/wiki/Sidebar-plugins'>plugin repository</a>. All you have to do is upload the theme directory in your vendor/plugins directory.
575
+ download_more_plugins_html: You can download and install sidebar plugins from
576
+ our official <a href='https://github.com/fdv/publify/wiki/Sidebar-plugins'>plugin
577
+ repository</a>. All you have to do is upload the theme directory in your
578
+ vendor/plugins directory.
548
579
  explain_how_its_works: 在這個博客顯示拖曳改變的sidebar選項。從sidebar選項移除會立即存檔,但是不會執行直到你輸入<公開>鍵
549
580
  or: or
550
581
  publish_changes: 公開變更
@@ -562,6 +593,7 @@ zh-CN:
562
593
  no_tags: 这儿并不存在Tags。让我们开始创建它。
563
594
  or: or
564
595
  save: 保存
596
+ view: View
565
597
  themes:
566
598
  index:
567
599
  active_theme: "%{name} - 執行中主題"
@@ -629,7 +661,7 @@ zh-CN:
629
661
  no_articles_found: 没有找到任何文章
630
662
  archives_article:
631
663
  posted_in: 发表在
632
- article:
664
+ article_author:
633
665
  posted_by: 貼上
634
666
  article_excerpt:
635
667
  continue_reading: Continue reading
@@ -674,7 +706,8 @@ zh-CN:
674
706
  contact_information: Contact information
675
707
  jabber: 'Jabber:'
676
708
  msn: 'MSN:'
677
- this_author_has_not_published_any_article_yet: This author has not published any article yet
709
+ this_author_has_not_published_any_article_yet: This author has not published
710
+ any article yet
678
711
  twitter: 'Twitter:'
679
712
  web_site: 'Web site:'
680
713
  yahoo: 'Yahoo:'
@@ -715,17 +748,26 @@ zh-CN:
715
748
  characters_minimum: Minimum %{min} characters
716
749
  errors:
717
750
  article_type_already_exist: This article type already exists
718
- cant_end_with_rss_or_atom: Can't end in .rss or .atom. These are reserved for feed URLs
751
+ cant_end_with_rss_or_atom: Can't end in .rss or .atom. These are reserved for
752
+ feed URLs
719
753
  no_notes_found: No notes found...
720
754
  no_posts_found: No posts found...
721
755
  page_not_found: Page not found
722
756
  permalink_need_a_title: 'You need a permalink format with an identifier : %%title%%'
723
757
  problem_sending_to_twitter: Oooops something went wrong!
724
- render_sidebar: It seems something went wrong. Maybe some of your sidebars are actually missing and you should either reinstall them or remove them manually
725
- the_page_you_are_looking_for: The page you are looking for has moved or does not exist.
758
+ render_sidebar: It seems something went wrong. Maybe some of your sidebars are
759
+ actually missing and you should either reinstall them or remove them manually
760
+ the_page_you_are_looking_for: The page you are looking for has moved or does not
761
+ exist.
726
762
  generic:
727
763
  change: Change
764
+ conversation: Conversation
765
+ delete: 删除
766
+ edit: 修改
767
+ mark_as_ham: Mark as ham
768
+ mark_as_spam: Mark as spam
728
769
  save: 保存
770
+ short_url: Short url
729
771
  helper:
730
772
  at: at
731
773
  langs:
@@ -763,7 +805,8 @@ zh-CN:
763
805
  publisher: Blog publisher
764
806
  setup:
765
807
  article:
766
- body: Welcome to Publify. This is your first article. Edit or delete it, then start blogging!'
808
+ body: Welcome to Publify. This is your first article. Edit or delete it, then
809
+ start blogging!
767
810
  title: Hello World!
768
811
  index:
769
812
  blog_name: Blog name
@@ -772,7 +815,9 @@ zh-CN:
772
815
  your_mail: Your email
773
816
  page:
774
817
  about: 关于
775
- body: This is an example of a Publify page. You can edit this to write information about yourself or your site so readers know who you are. You can create as many pages as this one as you like and manage all of your content inside Publify.
818
+ body: This is an example of a Publify page. You can edit this to write information
819
+ about yourself or your site so readers know who you are. You can create as
820
+ many pages as this one as you like and manage all of your content inside Publify.
776
821
  tags:
777
822
  index:
778
823
  there_are_no_tags: There are no tags
@@ -5,7 +5,8 @@ zh-TW:
5
5
  back_to_login: Back to login
6
6
  confirm:
7
7
  admin: admin
8
- dont_lose_the_mail_sent: Don't lose the mail sent at %{email} or you won't be able to login anymore
8
+ dont_lose_the_mail_sent: Don't lose the mail sent at %{email} or you won't be
9
+ able to login anymore
9
10
  login: 'Login: %{login}'
10
11
  proceed_to: Proceed to %{link}
11
12
  success: You have successfully signed up.
@@ -29,6 +30,7 @@ zh-TW:
29
30
  access_granted:
30
31
  error: Error, you are not allowed to perform this action
31
32
  article_list:
33
+ feedback: 回應
32
34
  no_articles: There are no articles yet. Why don't you create one?
33
35
  autosave:
34
36
  success: Article was successfully saved
@@ -37,9 +39,10 @@ zh-TW:
37
39
  form:
38
40
  allow_comments: 允許評論
39
41
  allow_comments_status:
40
- one: enabled
41
- zero: disabled
42
+ disabled: disabled
43
+ enabled: enabled
42
44
  allowed_comments_html: Comments are %{allow_comment}
45
+ article_filter: 篩選文章
43
46
  article_type: Article type
44
47
  cancel: 取消
45
48
  default: Default
@@ -57,20 +60,28 @@ zh-TW:
57
60
  save_as_draft: Save as draft
58
61
  status: 身分
59
62
  tags: 標示標籤
60
- tags_explanation_html: Separate tags with commas. Use double quotes (&quot;) around multi-word tags, e.g. &quot;opera house&quot;.
63
+ tags_explanation_html: Separate tags with commas. Use double quotes (&quot;)
64
+ around multi-word tags, e.g. &quot;opera house&quot;.
61
65
  title: 標題
62
66
  type_your_post: Type your post
63
67
  visibility: Visibility
64
68
  index:
69
+ actions: Actions
65
70
  all_articles: All articles
71
+ author: 作者
72
+ created_at: Created at
66
73
  drafts: Drafts
74
+ feedback: 回應
67
75
  manage_articles: Manage articles
68
76
  new_article: New article
69
77
  publication_date: Publication date
70
78
  publication_pending: Publication pending
71
79
  published: 已公開的
80
+ published_at: Publication date
72
81
  search: Search
73
82
  select_an_author: Select an author
83
+ text_filter: Text filter
84
+ title: 標題
74
85
  withdrawn: Withdrawn
75
86
  update:
76
87
  success: Article was successfully updated
@@ -83,14 +94,10 @@ zh-TW:
83
94
  drafts:
84
95
  no_drafts_yet: No drafts yet, why don't you write one
85
96
  your_drafts: Your drafts
86
- inbound:
87
- at: at
88
- at_an_unknown_date: at an unknown date
89
- inbound_links: 導入連結
90
- made_a_link_to_you_on: 連結到你,並且說
91
- no_one_made_link_to_you_yet: 目前沒有人連結到你
92
- you_have_no_internet_connection: 你沒有連結到網路
93
97
  index:
98
+ textile_deprecated_html: The Textile text filter has been deprecated and will
99
+ be removed soon. Some of your content still uses this filter. Run the <code>publify:textile_to_markdown</code>
100
+ rake task to convert it to Markdown, or convert your content manually.
94
101
  welcome_back: 歡迎回來, %{user_name}!
95
102
  overview:
96
103
  change_your_blog_presentation: 修改你的部落格外觀
@@ -102,16 +109,13 @@ zh-TW:
102
109
  update_your_profile_or_change_your_password: 更新資料或者修改密碼
103
110
  write_a_page: 寫一個頁面
104
111
  write_a_post: 寫一篇文章
105
- publify_version:
106
- error: You are at least one major version of Publify out of date. You should upgrade immediately. Download and install <a href='http://publify.co/stable.tgz'>the latest Publify version</a>
107
- notice: There's a new version of Publify available. Why don't you upgrade to <a href='http://publify.co/stable.tgz'>the latest Publify version</a>?
108
- warning: There's a new version of Publify available which may contain important bug fixes. Why don't you upgrade to <a href='http://publify.co/stable.tgz'>the latest Publify version</a>?
109
112
  welcome:
110
113
  approved_count:
111
114
  one: 1 approved
112
115
  other: "%{count} approved"
113
116
  zero: no approved
114
- articles_and_comments_count_since: "%{articles_count} articles and %{comments_count} comments were posted since your last connexion"
117
+ articles_and_comments_count_since: "%{articles_count} articles and %{comments_count}
118
+ comments were posted since your last connexion"
115
119
  articles_count:
116
120
  one: 1 article
117
121
  other: "%{count} articles"
@@ -186,7 +190,7 @@ zh-TW:
186
190
  success: Deleted
187
191
  edit:
188
192
  action_or_other_html: "%{first_action} 或 %{second_action}"
189
- author: Author
193
+ author: 作者
190
194
  cancel: Cancel
191
195
  comments_for_html: Comments for %{article_link}
192
196
  edit_a_comment: Edit a comment
@@ -194,11 +198,12 @@ zh-TW:
194
198
  save: 存檔
195
199
  url: Url
196
200
  your_comment: Your comment
197
- ham:
198
- by: by
199
- created_on: 'on'
200
201
  index:
202
+ actions: Actions
201
203
  all: All
204
+ author: 作者
205
+ content: Content
206
+ created_at: Created at
202
207
  feedback: 回應
203
208
  ham: Ham
204
209
  no_feedback: There is no feedback yet. Why don't you create some?
@@ -206,12 +211,8 @@ zh-TW:
206
211
  presumed_spam: Presumed spam
207
212
  select_all: Select all
208
213
  spam: Spam
214
+ status: 身分
209
215
  unapproved_comments: Unapproved comments
210
- spam:
211
- by: by
212
- cancel: 取消
213
- created_on: 'on'
214
- this_comment_by_was_flagged_as_spam_html: This comment by %{author} was flagged as spam, %{cancel_link}?
215
216
  state:
216
217
  ham: Ham
217
218
  just_marked_as_ham: Just Marked As Ham
@@ -237,6 +238,8 @@ zh-TW:
237
238
  update_database_now: 現在更新資料庫
238
239
  you_are_up_to_date: 你現在是最新的狀態
239
240
  notes:
241
+ edit:
242
+ notes: Notes
240
243
  form:
241
244
  cancel: 取消
242
245
  compose_new_note: Compose new note
@@ -250,8 +253,14 @@ zh-TW:
250
253
  publish_at: 公開
251
254
  publish_settings: Publish settings
252
255
  tweet_id_like: Tweet id like 123456
253
- header:
256
+ index:
254
257
  notes: Notes
258
+ list:
259
+ actions: Actions
260
+ author: 作者
261
+ created_at: Created at
262
+ text_filter: Text filter
263
+ title: 標題
255
264
  show:
256
265
  action_or_other_html: "%{first_action} 或 %{second_action}"
257
266
  are_you_sure: Are you sure you want to delete this note
@@ -264,20 +273,21 @@ zh-TW:
264
273
  form:
265
274
  article_filter: 篩選文章
266
275
  cancel: 取消
267
- offline: offline
268
276
  online: 上線
269
277
  permanent_link: Permanent link
270
278
  publish: 公開
271
279
  publish_settings: Publish settings
272
- published: published
273
280
  save: 存檔
274
281
  status: 身分
275
282
  title: 標題
276
283
  type_your_post: Type your post
277
284
  index:
285
+ actions: Actions
278
286
  author: 作者
287
+ created_at: Created at
279
288
  manage_pages: 管理頁面
280
289
  new_page: New Page
290
+ text_filter: Text filter
281
291
  title: 標題
282
292
  new:
283
293
  success: New page created
@@ -288,7 +298,9 @@ zh-TW:
288
298
  cancel: 取消
289
299
  default: Default
290
300
  description: 説明
291
- explain: The template name is the filename Publify will look for when calling an article of that type. It should be in your theme under views/articles/template name.html.erb
301
+ explain: The template name is the filename Publify will look for when calling
302
+ an article of that type. It should be in your theme under views/articles/template
303
+ name.html.erb
292
304
  name: 名字
293
305
  or: or
294
306
  post_types: Post Types
@@ -318,7 +330,7 @@ zh-TW:
318
330
  are_you_sure: Are you sure?
319
331
  content_type: 內容類型
320
332
  date: Date
321
- delete: Delete
333
+ delete: 刪除
322
334
  file_size: 檔案大小
323
335
  filename: 檔案名稱
324
336
  media_library: Media Library
@@ -334,42 +346,47 @@ zh-TW:
334
346
  warning: 不能被上傳
335
347
  seo:
336
348
  general:
337
- canonical_url: Canonical Url
338
349
  custom_tracking_code: Custom tracking code
339
350
  do_not_index_tags: Do not index tags
340
351
  dofollow: Dofollow
341
- explain: Here you can add anything you want to appear in your application header, such as analytics service tracking code.
342
- explain_humans_txt: It's an initiative for knowing the people behind a website. It's a TXT file that contains information about the different people who have contributed to building the website. http://humanstxt.org/
343
- explain_moderate_feedback: You may want to moderate feedback when turning this on
344
- explain_rss_description: 'You can use the following tags: %author% (author name), %blog_url% (this blog URL), %blog_name% (this blog title) and %permalink_url% (a link to the article you want to protect)'
345
- explain_tag_index_html: Checking this box will add <code>noindex, follow</code> meta tags in every tags page, removing them from search engines and preventing duplicate content issues
352
+ explain: Here you can add anything you want to appear in your application
353
+ header, such as analytics service tracking code.
354
+ explain_moderate_feedback: You may want to moderate feedback when turning
355
+ this on
356
+ explain_rss_description: 'You can use the following tags: %author% (author
357
+ name), %blog_url% (this blog URL), %blog_name% (this blog title) and %permalink_url%
358
+ (a link to the article you want to protect)'
359
+ explain_tag_index_html: Checking this box will add <code>noindex, follow</code>
360
+ meta tags in every tags page, removing them from search engines and preventing
361
+ duplicate content issues
346
362
  general_settings: 一般設定
347
363
  google: Google
348
364
  google_analytics: Google Analytics
349
- google_webmaster_tools_validation_link: Google Webmaster Tools validation link
350
- human: Human
351
- humans_txt: Human
365
+ google_webmaster_tools_validation_link: Google Webmaster Tools validation
366
+ link
352
367
  indexing: Indexing
353
368
  meta_description: Meta description
354
369
  meta_keywords: Meta keywords
355
- read_more_about_html: Read more about %{link}
356
370
  robots_txt: Robots.txt
357
371
  rss_description_message: RSS description message
358
- this_will_display: This will display at the bottom of each post in the RSS feed
359
- use_canonical_url: Use canonical URL
372
+ this_will_display: This will display at the bottom of each post in the RSS
373
+ feed
360
374
  use_dofollow_in_comments: Use dofollow in comments
361
375
  use_meta_keywords: Use meta keywords
362
376
  use_rss_description: Use RSS description
363
377
  permalinks:
364
378
  custom: Custom
365
379
  date_and_title: Date and title
366
- explain: Publify offers you the ability to create a custom URL structure for your permalinks and archives. This can improve the aesthetics, usability, and forward-compatibility of your links.
380
+ explain: Publify offers you the ability to create a custom URL structure for
381
+ your permalinks and archives. This can improve the aesthetics, usability,
382
+ and forward-compatibility of your links.
367
383
  help_on_permalink_settings: Help on permalink settings
368
384
  month_and_title: Month and title
369
385
  permalink_format: Permalink format
370
386
  sample: Here are some examples to get you started.
371
387
  title_only: Title only
372
- you_can_custom_your_url_structure: 'You can customize your URL structure using the following tags:'
388
+ you_can_custom_your_url_structure: 'You can customize your URL structure using
389
+ the following tags:'
373
390
  your_article_day: your article day of publication.
374
391
  your_article_month: your article month of publication.
375
392
  your_article_slug_html: your article slug. <strong>Using this slug is mandatory</strong>.
@@ -392,30 +409,35 @@ zh-TW:
392
409
  paginated_archives: Paginated archives
393
410
  replaced_by_the_archive_date: Replaced by the archive date
394
411
  replaced_by_the_content_body: Replaced by the content body
395
- replaced_with_the_article_categories: Replaced with the article categories (comma separated)
412
+ replaced_with_the_article_categories: Replaced with the article categories
413
+ (comma separated)
396
414
  replaced_with_the_article_page_title: Replaced with the article/page title
397
415
  replaced_with_the_article_tags: Replaced with the article tags (comma separated)
398
416
  replaced_with_the_category_tag_name: Replaced with the category/tag name
399
417
  replaced_with_the_current_date: Replaced with the current date
400
418
  replaced_with_the_current_month: Replaced with the current month
401
419
  replaced_with_the_current_page_number: Replaced with the current page number
402
- replaced_with_the_current_search_phrase: Replaced with the current search phrase
420
+ replaced_with_the_current_search_phrase: Replaced with the current search
421
+ phrase
403
422
  replaced_with_the_current_time: Replaced with the current time
404
423
  replaced_with_the_current_year: Replaced with the current year
405
424
  replaced_with_the_post_page_excerpt: Replaced with the post/page excerpt
406
- replaced_with_the_title_of_the_article_page: Replaced with the title of the article/page
425
+ replaced_with_the_title_of_the_article_page: Replaced with the title of the
426
+ article/page
407
427
  search_results: Search results
408
428
  short_statuses: Short statuses
409
429
  short_statuses_lists: Short statuses lists
410
430
  the_blog_s_name: The blog's name
411
431
  the_blog_s_tagline_description: The blog's tagline / description
412
- these_tags_can_be_included: These tags can be included in your templates and will be replaced when displaying the page.
432
+ these_tags_can_be_included: These tags can be included in your templates and
433
+ will be replaced when displaying the page.
413
434
  title_template: Title template
414
435
  settings:
415
436
  display:
416
437
  cancel: 取消
417
438
  custom_url: Custom URL shortener domain
418
- custom_url_help: If you have a custom domain for URL shortening, enter it here.
439
+ custom_url_help: If you have a custom domain for URL shortening, enter it
440
+ here.
419
441
  date_format: Date format
420
442
  default_archives_show: articles on the archives page
421
443
  default_article_show: articles on the homepage
@@ -447,13 +469,15 @@ zh-TW:
447
469
  explain_feedback_moderation: 你可以設定網點範圍有限度的反饋。這麼做將不會有任何評論引用出現在你的部落格,除非你使之生效
448
470
  explain_reject_comments: Publify會自動回絕評論和引用,包含某些可靠的連結總數
449
471
  explain_spam_protection: publify會根據張貼者IP的位址內容還有黑名單來有效防止垃圾郵件。好的防禦可以抑制垃圾郵寄
450
- explain_spamfiltering_html: Publify隨意的使用 <a href='http://akismet.com'>Akismet</a> 篩選垃圾郵件服務。
472
+ explain_spamfiltering_html: Publify隨意的使用 <a href='http://akismet.com'>Akismet</a>
473
+ 篩選垃圾郵件服務。
451
474
  feedback: 回應
452
475
  feedback_settings: Feedback settings
453
476
  max_links: 最大的連結值
454
477
  none: none
455
478
  or: or
456
- remember_to_set_your_recaptcha: Remember to set your reCaptcha keys inside config/initializers/recaptcha.rb
479
+ remember_to_set_your_recaptcha: Remember to set your reCaptcha keys inside
480
+ config/initializers/recaptcha.rb
457
481
  set_to_0_to_never_disable_comments: 設定0為絕不失效的評論
458
482
  set_to_0_to_never_reject_comments: 設定0回絕不回絕的評論
459
483
  spam: Spam
@@ -466,7 +490,10 @@ zh-TW:
466
490
  blog_url: 部落格URL
467
491
  cancel: 取消
468
492
  email_address_used_to_notify: email位址使用publify發出通知
469
- explain_allow_users_to_register_html: This will allow users to register themselves as contributors, an unprivileged account level which grants them no rights beyond owning a profile on the site. If you don't want users to register, you can add them via <em>Manage users</em> under <em>Settings</em>.
493
+ explain_allow_users_to_register_html: This will allow users to register themselves
494
+ as contributors, an unprivileged account level which grants them no rights
495
+ beyond owning a profile on the site. If you don't want users to register,
496
+ you can add them via <em>Manage users</em> under <em>Settings</em>.
470
497
  general_settings: 一般設定
471
498
  items_to_display_in_admin_lists: Items to display in admin lists
472
499
  language: 言語
@@ -508,9 +535,10 @@ zh-TW:
508
535
  design: Design
509
536
  display: Display
510
537
  documentation: Documentation
511
- feedback: Feedback
538
+ feedback: 回應
512
539
  general_settings: General settings
513
540
  global_seo_settings: Global SEO settings
541
+ home: Home
514
542
  in_page_plugins: In page plugins
515
543
  logged_in_as: Logged in as %{login}
516
544
  logout_html: 登出 &raquo;
@@ -535,7 +563,8 @@ zh-TW:
535
563
  write: Write
536
564
  twitter_alert:
537
565
  fill_the_twitter_credentials: fill in the OAuth credentials
538
- how_to_setup_twitter_html: If you want to push short statuses on Twitter, you need to %{twitter_settings_link} Twitter gave you after you %{twitter_registration_link}.
566
+ how_to_setup_twitter_html: If you want to push short statuses on Twitter,
567
+ you need to %{twitter_settings_link} Twitter gave you after you %{twitter_registration_link}.
539
568
  registered_your_application: registered your application
540
569
  sidebar:
541
570
  config:
@@ -544,7 +573,10 @@ zh-TW:
544
573
  you_have_no_plugins_installed: You have no plugins installed
545
574
  index:
546
575
  cancel: 取消
547
- download_more_plugins_html: You can download and install sidebar plugins from our official <a href='https://github.com/fdv/publify/wiki/Sidebar-plugins'>plugin repository</a>. All you have to do is upload the theme directory in your vendor/plugins directory.
576
+ download_more_plugins_html: You can download and install sidebar plugins from
577
+ our official <a href='https://github.com/fdv/publify/wiki/Sidebar-plugins'>plugin
578
+ repository</a>. All you have to do is upload the theme directory in your
579
+ vendor/plugins directory.
548
580
  explain_how_its_works: 在這個部落格顯示拖曳改變的sidebar選項。從sidebar選項移除會立即存檔,但是不會執行直到你輸入<公開>鍵
549
581
  or: or
550
582
  publish_changes: 公開變更
@@ -562,6 +594,7 @@ zh-TW:
562
594
  no_tags: There are no tags yet. Why don't you start and create one?
563
595
  or: or
564
596
  save: 存檔
597
+ view: View
565
598
  themes:
566
599
  index:
567
600
  active_theme: "%{name} - 執行中主題"
@@ -629,7 +662,7 @@ zh-TW:
629
662
  no_articles_found: 沒有找到任何文章
630
663
  archives_article:
631
664
  posted_in: posted in
632
- article:
665
+ article_author:
633
666
  posted_by: 貼上
634
667
  article_excerpt:
635
668
  continue_reading: Continue reading
@@ -649,7 +682,7 @@ zh-TW:
649
682
  comment_markup_help: 評論顯示協助
650
683
  leave_url_email: leave url/email
651
684
  preview_comment: 預覽評論
652
- your_blog: your blog
685
+ your_blog: 你的部落格
653
686
  your_email: 你的email
654
687
  your_message: 你的訊息
655
688
  your_name: 你的名稱
@@ -674,7 +707,8 @@ zh-TW:
674
707
  contact_information: Contact information
675
708
  jabber: 'Jabber:'
676
709
  msn: 'MSN:'
677
- this_author_has_not_published_any_article_yet: This author has not published any article yet
710
+ this_author_has_not_published_any_article_yet: This author has not published
711
+ any article yet
678
712
  twitter: 'Twitter:'
679
713
  web_site: 'Web site:'
680
714
  yahoo: 'Yahoo:'
@@ -715,17 +749,26 @@ zh-TW:
715
749
  characters_minimum: Minimum %{min} characters
716
750
  errors:
717
751
  article_type_already_exist: This article type already exists
718
- cant_end_with_rss_or_atom: Can't end in .rss or .atom. These are reserved for feed URLs
752
+ cant_end_with_rss_or_atom: Can't end in .rss or .atom. These are reserved for
753
+ feed URLs
719
754
  no_notes_found: No notes found...
720
755
  no_posts_found: No posts found...
721
756
  page_not_found: Page not found
722
757
  permalink_need_a_title: 'You need a permalink format with an identifier : %%title%%'
723
758
  problem_sending_to_twitter: Oooops something went wrong!
724
- render_sidebar: It seems something went wrong. Maybe some of your sidebars are actually missing and you should either reinstall them or remove them manually
725
- the_page_you_are_looking_for: The page you are looking for has moved or does not exist.
759
+ render_sidebar: It seems something went wrong. Maybe some of your sidebars are
760
+ actually missing and you should either reinstall them or remove them manually
761
+ the_page_you_are_looking_for: The page you are looking for has moved or does not
762
+ exist.
726
763
  generic:
727
764
  change: Change
765
+ conversation: Conversation
766
+ delete: 刪除
767
+ edit: 修改
768
+ mark_as_ham: Mark as ham
769
+ mark_as_spam: Mark as spam
728
770
  save: 存檔
771
+ short_url: Short url
729
772
  helper:
730
773
  at: at
731
774
  langs:
@@ -763,7 +806,8 @@ zh-TW:
763
806
  publisher: Blog publisher
764
807
  setup:
765
808
  article:
766
- body: Welcome to Publify. This is your first article. Edit or delete it, then start blogging!'
809
+ body: Welcome to Publify. This is your first article. Edit or delete it, then
810
+ start blogging!
767
811
  title: Hello World!
768
812
  index:
769
813
  blog_name: Blog name
@@ -772,7 +816,9 @@ zh-TW:
772
816
  your_mail: Your email
773
817
  page:
774
818
  about: About
775
- body: This is an example of a Publify page. You can edit this to write information about yourself or your site so readers know who you are. You can create as many pages as this one as you like and manage all of your content inside Publify.
819
+ body: This is an example of a Publify page. You can edit this to write information
820
+ about yourself or your site so readers know who you are. You can create as
821
+ many pages as this one as you like and manage all of your content inside Publify.
776
822
  tags:
777
823
  index:
778
824
  there_are_no_tags: There are no tags