typo 5.4.4 → 5.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (292) hide show
  1. data/CHANGELOG +59 -28
  2. data/MAINTAINERS +9 -17
  3. data/README +28 -20
  4. data/UPGRADE +6 -2
  5. data/app/controllers/accounts_controller.rb +1 -1
  6. data/app/controllers/admin/content_controller.rb +1 -1
  7. data/app/controllers/admin/feedback_controller.rb +3 -3
  8. data/app/controllers/admin/pages_controller.rb +2 -0
  9. data/app/controllers/application_controller.rb +6 -1
  10. data/app/controllers/articles_controller.rb +13 -1
  11. data/app/helpers/application_helper.rb +5 -2
  12. data/app/helpers/authors_helper.rb +14 -3
  13. data/app/models/article.rb +6 -4
  14. data/app/models/blog.rb +0 -4
  15. data/app/models/blog_sweeper.rb +1 -1
  16. data/app/models/content.rb +10 -5
  17. data/app/models/page_cache.rb +6 -7
  18. data/app/models/user.rb +1 -0
  19. data/app/views/admin/content/_form.html.erb +13 -11
  20. data/app/views/admin/content/_images.html.erb +1 -1
  21. data/app/views/admin/content/_simple_editor.html.erb +1 -0
  22. data/app/views/admin/content/_visual_editor.html.erb +1 -0
  23. data/app/views/admin/dashboard/_overview.html.erb +7 -7
  24. data/app/views/admin/pages/_form.html.erb +1 -0
  25. data/app/views/admin/pages/_images.html.erb +18 -0
  26. data/app/views/admin/pages/_simple_editor.html.erb +1 -2
  27. data/app/views/admin/pages/_visual_editor.html.erb +2 -1
  28. data/app/views/admin/pages/index.html.erb +1 -1
  29. data/app/views/admin/settings/feedback.html.erb +2 -1
  30. data/app/views/admin/tags/edit.html.erb +1 -1
  31. data/app/views/articles/_article.html.erb +17 -13
  32. data/app/views/articles/_article_content.html.erb +1 -0
  33. data/app/views/articles/_comment_box.html.erb +1 -1
  34. data/app/views/articles/_password_form.html.erb +10 -0
  35. data/app/views/articles/groupings.html.erb +1 -1
  36. data/app/views/articles/index.html.erb +1 -2
  37. data/app/views/articles/read.html.erb +1 -4
  38. data/app/views/articles/search.html.erb +1 -1
  39. data/app/views/layouts/administration.html.erb +1 -1
  40. data/app/views/shared/_search.html.erb +1 -1
  41. data/config/ckeditor.yml +14 -0
  42. data/config/environment.rb +13 -25
  43. data/config/environments/test.rb +1 -3
  44. data/config/filemanager.yml +16 -0
  45. data/config/initializers/access_rules.rb +5 -0
  46. data/config/routes.rb +5 -1
  47. data/db/migrate/004_add_sidebars.rb +3 -9
  48. data/db/migrate/089_drop_cache_information_table.rb +31 -0
  49. data/db/migrate/090_remove_keywords_from_posts.rb +9 -0
  50. data/db/migrate/091_adds_password_protection_to_posts.rb +9 -0
  51. data/doc/CACHE.SETUP.README +36 -0
  52. data/lang/de_DE.rb +6 -1
  53. data/lang/pl_PL.rb +221 -89
  54. data/lib/filemanager.rb +53 -0
  55. data/lib/filemanager/controller.rb +217 -0
  56. data/lib/i18n_interpolation_deprecation.rb +26 -0
  57. data/lib/rails_patch/active_support.rb +4 -0
  58. data/lib/tasks/release.rake +4 -131
  59. data/lib/typo_version.rb +1 -1
  60. data/public/.htaccess +6 -5
  61. data/public/filemanager/images/avi.gif +0 -0
  62. data/public/filemanager/images/box.gif +0 -0
  63. data/public/filemanager/images/bullet.gif +0 -0
  64. data/public/filemanager/images/close.gif +0 -0
  65. data/public/filemanager/images/closelabel.gif +0 -0
  66. data/public/filemanager/images/doc.gif +0 -0
  67. data/public/filemanager/images/donate-button.gif +0 -0
  68. data/public/filemanager/images/download-icon.gif +0 -0
  69. data/public/filemanager/images/folder.gif +0 -0
  70. data/public/filemanager/images/gif.gif +0 -0
  71. data/public/filemanager/images/htm.gif +0 -0
  72. data/public/filemanager/images/html.gif +0 -0
  73. data/public/filemanager/images/image-1.jpg +0 -0
  74. data/public/filemanager/images/image.gif +0 -0
  75. data/public/filemanager/images/jpg.gif +0 -0
  76. data/public/filemanager/images/loading.gif +0 -0
  77. data/public/filemanager/images/mov.gif +0 -0
  78. data/public/filemanager/images/nextlabel.gif +0 -0
  79. data/public/filemanager/images/pdf.gif +0 -0
  80. data/public/filemanager/images/png.gif +0 -0
  81. data/public/filemanager/images/ppt.gif +0 -0
  82. data/public/filemanager/images/prevlabel.gif +0 -0
  83. data/public/filemanager/images/rar.gif +0 -0
  84. data/public/filemanager/images/rm.gif +0 -0
  85. data/public/filemanager/images/rmvb.gif +0 -0
  86. data/public/filemanager/images/separator.gif +0 -0
  87. data/public/filemanager/images/spacer.gif +0 -0
  88. data/public/filemanager/images/swf.gif +0 -0
  89. data/public/filemanager/images/thumb-1.jpg +0 -0
  90. data/public/filemanager/images/tool_copy.gif +0 -0
  91. data/public/filemanager/images/tool_cut.gif +0 -0
  92. data/public/filemanager/images/tool_del.gif +0 -0
  93. data/public/filemanager/images/tool_folder.gif +0 -0
  94. data/public/filemanager/images/tool_imagemanager.gif +0 -0
  95. data/public/filemanager/images/tool_new.gif +0 -0
  96. data/public/filemanager/images/tool_paste.gif +0 -0
  97. data/public/filemanager/images/tool_props.gif +0 -0
  98. data/public/filemanager/images/tool_refresh.gif +0 -0
  99. data/public/filemanager/images/tool_unzip.gif +0 -0
  100. data/public/filemanager/images/tool_upload.gif +0 -0
  101. data/public/filemanager/images/tool_zip.gif +0 -0
  102. data/public/filemanager/images/txt.gif +0 -0
  103. data/public/filemanager/images/unknown.gif +0 -0
  104. data/public/filemanager/images/wmv.gif +0 -0
  105. data/public/filemanager/images/xls.gif +0 -0
  106. data/public/filemanager/images/zip.gif +0 -0
  107. data/public/filemanager/javascripts/filemanager.js +6 -0
  108. data/public/filemanager/javascripts/lang/en.js +31 -0
  109. data/public/filemanager/javascripts/lang/zh_CN.js +31 -0
  110. data/public/filemanager/javascripts/lightbox.js +497 -0
  111. data/public/filemanager/javascripts/translate.js +42 -0
  112. data/public/filemanager/resources/resources.txt +1 -0
  113. data/public/filemanager/stylesheets/filelist.css +147 -0
  114. data/public/filemanager/stylesheets/general.css +135 -0
  115. data/public/filemanager/stylesheets/lightbox.css +27 -0
  116. data/public/javascripts/prototype_ext.js +117 -0
  117. data/public/stylesheets/administration.css +19 -2
  118. data/themes/dirtylicious/views/articles/_article.html.erb +16 -12
  119. data/themes/dirtylicious/views/articles/_article_content.html.erb +1 -0
  120. data/themes/dirtylicious/views/articles/_password_form.html.erb +10 -0
  121. data/themes/scribbish/views/articles/_article.html.erb +18 -14
  122. data/themes/scribbish/views/articles/_article_content.html.erb +1 -0
  123. data/themes/scribbish/views/articles/_password_form.html.erb +10 -0
  124. data/themes/standard_issue/views/articles/_article.html.erb +16 -12
  125. data/themes/standard_issue/views/articles/_article_content.html.erb +1 -0
  126. data/themes/standard_issue/views/articles/_password_form.html.erb +10 -0
  127. data/themes/true-blue-3/helpers/theme_helper.rb +2 -2
  128. data/themes/true-blue-3/images/submit_form.jpg +0 -0
  129. data/themes/true-blue-3/stylesheets/style.css +27 -3
  130. data/themes/true-blue-3/views/articles/_article.html.erb +13 -8
  131. data/themes/true-blue-3/views/articles/_article_content.html.erb +1 -0
  132. data/themes/true-blue-3/views/articles/_comment_form.html.erb +1 -1
  133. data/themes/true-blue-3/views/articles/_password_form.html.erb +10 -0
  134. data/themes/true-blue-3/views/categories/_article.html.erb +5 -0
  135. data/themes/true-blue-3/views/tags/_article.html.erb +4 -0
  136. data/themes/typographic/views/articles/_article.html.erb +16 -12
  137. data/themes/typographic/views/articles/_article_content.html.erb +1 -0
  138. data/themes/typographic/views/articles/_password_form.html.erb +10 -0
  139. data/vendor/plugins/easy-ckeditor/app/controllers/ckeditor_controller.rb +2 -1
  140. data/vendor/plugins/easy-ckeditor/lib/ckeditor.rb +1 -20
  141. data/vendor/plugins/easy-ckeditor/{tasks → lib/tasks}/ckeditor_tasks.rake +0 -0
  142. data/vendor/plugins/filemanager/app/controllers/fm/filemanager_controller.rb +22 -0
  143. data/vendor/plugins/filemanager/app/views/fm/filemanager/index.html.erb +512 -0
  144. data/vendor/plugins/filemanager/app/views/fm/filemanager/view.html.erb +67 -0
  145. data/vendor/plugins/filemanager/filemanager.yml +16 -0
  146. data/vendor/plugins/static_sidebar/lib/static_sidebar.rb +4 -2
  147. data/vendor/plugins/typo_converter/{tasks → lib/tasks}/typo_converters_tasks.rake +0 -0
  148. data/vendor/plugins/typo_login_system/lib/access_control.rb +24 -1
  149. data/vendor/plugins/typo_textfilter_code/{tasks → lib/tasks}/typo_textfilter_code_tasks.rake +0 -0
  150. data/vendor/plugins/typo_textfilter_code/lib/typo_textfilter_code.rb +4 -3
  151. data/vendor/plugins/typo_textfilter_flickr/{tasks → lib/tasks}/typo_textfilter_flickr_tasks.rake +0 -0
  152. data/vendor/plugins/typo_textfilter_htmlfilter/{tasks → lib/tasks}/typo_textfilter_htmlfilter_tasks.rake +0 -0
  153. data/vendor/plugins/typo_textfilter_lightbox/{tasks → lib/tasks}/typo_textfilter_lightbox_tasks.rake +0 -0
  154. data/vendor/plugins/typo_textfilter_markdown/{tasks → lib/tasks}/typo_textfilter_markdown_tasks.rake +0 -0
  155. data/vendor/plugins/typo_textfilter_none/{tasks → lib/tasks}/typo_textfilter_none_tasks.rake +0 -0
  156. data/vendor/plugins/typo_textfilter_smartypants/{tasks → lib/tasks}/typo_textfilter_smartypants_tasks.rake +0 -0
  157. data/vendor/plugins/typo_textfilter_textile/{tasks → lib/tasks}/typo_textfilter_textile_tasks.rake +0 -0
  158. data/vendor/plugins/typo_textfilter_textile_and_markdown/{tasks → lib/tasks}/typo_textfilter_textile_and_markdown_tasks.rake +0 -0
  159. data/vendor/plugins/xml_sidebar/views/content.rhtml +1 -1
  160. metadata +190 -195
  161. data/app/controllers/admin/cache_controller.rb +0 -9
  162. data/app/models/cache_information.rb +0 -19
  163. data/db/schema.rb +0 -242
  164. data/doc/test_themes.rb +0 -50
  165. data/public/javascripts/ckeditor/config.js +0 -27
  166. data/spec/controllers/accounts_controller_spec.rb +0 -414
  167. data/spec/controllers/admin/cache_controller_spec.rb +0 -18
  168. data/spec/controllers/admin/categories_controller_spec.rb +0 -73
  169. data/spec/controllers/admin/content_controller_spec.rb +0 -443
  170. data/spec/controllers/admin/dashboard_controller_spec.rb +0 -13
  171. data/spec/controllers/admin/feedback_controller_spec.rb +0 -308
  172. data/spec/controllers/admin/pages_controller_spec.rb +0 -80
  173. data/spec/controllers/admin/profiles_controller_spec.rb +0 -22
  174. data/spec/controllers/admin/resources_controller_spec.rb +0 -53
  175. data/spec/controllers/admin/settings_controller_spec.rb +0 -80
  176. data/spec/controllers/admin/tags_controller_spec.rb +0 -64
  177. data/spec/controllers/admin/textfilters_controller_spec.rb +0 -20
  178. data/spec/controllers/admin/themes_controller_spec.rb +0 -30
  179. data/spec/controllers/admin/users_controller_spec.rb +0 -109
  180. data/spec/controllers/application_controller_spec.rb +0 -18
  181. data/spec/controllers/articles_controller_spec.rb +0 -440
  182. data/spec/controllers/authors_controller_spec.rb +0 -42
  183. data/spec/controllers/backend_controller_spec.rb +0 -337
  184. data/spec/controllers/categories_controller_spec.rb +0 -117
  185. data/spec/controllers/comments_controller_spec.rb +0 -137
  186. data/spec/controllers/routes/articles_routing_spec.rb +0 -31
  187. data/spec/controllers/routes/xml_routing_spec.rb +0 -71
  188. data/spec/controllers/setup_controller_spec.rb +0 -24
  189. data/spec/controllers/tags_controller_spec.rb +0 -147
  190. data/spec/controllers/textfilter_controller_spec.rb +0 -192
  191. data/spec/controllers/theme_controller_spec.rb +0 -39
  192. data/spec/controllers/xml_controller_spec.rb +0 -185
  193. data/spec/factories.rb +0 -69
  194. data/spec/helpers/application_helper_spec.rb +0 -25
  195. data/spec/helpers/content_helper_spec.rb +0 -28
  196. data/spec/lib/text_filter_plugin_spec.rb +0 -15
  197. data/spec/models/amazon_sidebar_spec.rb +0 -40
  198. data/spec/models/article_closing_spec.rb +0 -42
  199. data/spec/models/article_spec.rb +0 -515
  200. data/spec/models/blog_spec.rb +0 -116
  201. data/spec/models/cache_information_spec.rb +0 -42
  202. data/spec/models/cache_support_spec.rb +0 -51
  203. data/spec/models/category_spec.rb +0 -44
  204. data/spec/models/comment_spec.rb +0 -240
  205. data/spec/models/configuration_spec.rb +0 -91
  206. data/spec/models/content_state/feedback_states_spec.rb +0 -64
  207. data/spec/models/notification_spec.rb +0 -8
  208. data/spec/models/page_cache_spec.rb +0 -30
  209. data/spec/models/page_spec.rb +0 -91
  210. data/spec/models/ping_pinger_spec.rb +0 -33
  211. data/spec/models/ping_spec.rb +0 -154
  212. data/spec/models/redirect_spec.rb +0 -17
  213. data/spec/models/resource_spec.rb +0 -39
  214. data/spec/models/route_cache_spec.rb +0 -11
  215. data/spec/models/sidebar_spec.rb +0 -7
  216. data/spec/models/static_sidebar_spec.rb +0 -17
  217. data/spec/models/tag_spec.rb +0 -65
  218. data/spec/models/text_filter_spec.rb +0 -34
  219. data/spec/models/theme_spec.rb +0 -45
  220. data/spec/models/trackback_spec.rb +0 -60
  221. data/spec/models/trigger_spec.rb +0 -40
  222. data/spec/models/user_spec.rb +0 -198
  223. data/spec/rcov.opts +0 -2
  224. data/spec/spec.opts +0 -4
  225. data/spec/spec_helper.rb +0 -133
  226. data/spec/views/articles/index_spec.rb +0 -63
  227. data/spec/views/articles/read_spec.rb +0 -67
  228. data/spec/views/comments/html_sanitization_spec.rb +0 -119
  229. data/test/fixtures/blogs.yml +0 -27
  230. data/test/fixtures/categories.yml +0 -29
  231. data/test/fixtures/categorizations.yml +0 -31
  232. data/test/fixtures/contents.yml +0 -231
  233. data/test/fixtures/feedback.yml +0 -180
  234. data/test/fixtures/notification_mailer/article +0 -3
  235. data/test/fixtures/notification_mailer/comment +0 -3
  236. data/test/fixtures/notification_mailer/trackback +0 -3
  237. data/test/fixtures/notifications.yml +0 -0
  238. data/test/fixtures/page_caches.yml +0 -7
  239. data/test/fixtures/profiles.yml +0 -27
  240. data/test/fixtures/redirects.yml +0 -10
  241. data/test/fixtures/resources.yml +0 -21
  242. data/test/fixtures/sidebars.yml +0 -10
  243. data/test/fixtures/tags.yml +0 -10
  244. data/test/fixtures/text_filters.yml +0 -37
  245. data/test/fixtures/triggers.yml +0 -1
  246. data/test/fixtures/users.yml +0 -101
  247. data/test/mocks/test/dns_mock.rb +0 -13
  248. data/test/mocks/test/flickr_mock.rb +0 -30
  249. data/test/mocks/test/http_mock.rb +0 -39
  250. data/test/mocks/test/theme_mock.rb +0 -5
  251. data/test/mocks/test/xmlrpc_mock.rb +0 -28
  252. data/test/mocks/themes/123-numbers-in-path/about.markdown +0 -0
  253. data/test/mocks/themes/CamelCaseDirectory/about.markdown +0 -0
  254. data/test/mocks/themes/i-have-special-chars/about.markdown +0 -0
  255. data/test/mocks/themes/typographic/about.markdown +0 -7
  256. data/test/mocks/themes/typographic/images/Thumbs.db +0 -0
  257. data/test/mocks/themes/typographic/images/accept.png +0 -0
  258. data/test/mocks/themes/typographic/images/accept50.png +0 -0
  259. data/test/mocks/themes/typographic/images/bg_body.jpg +0 -0
  260. data/test/mocks/themes/typographic/images/bg_white.png +0 -0
  261. data/test/mocks/themes/typographic/images/bg_wrapper.jpg +0 -0
  262. data/test/mocks/themes/typographic/images/bullet_bottom.png +0 -0
  263. data/test/mocks/themes/typographic/images/bullet_right.png +0 -0
  264. data/test/mocks/themes/typographic/images/email_open.png +0 -0
  265. data/test/mocks/themes/typographic/images/email_open50.png +0 -0
  266. data/test/mocks/themes/typographic/images/meta.png +0 -0
  267. data/test/mocks/themes/typographic/images/page_edit.png +0 -0
  268. data/test/mocks/themes/typographic/images/page_edit50.png +0 -0
  269. data/test/mocks/themes/typographic/images/tag.png +0 -0
  270. data/test/mocks/themes/typographic/images/user.png +0 -0
  271. data/test/mocks/themes/typographic/images/user50.png +0 -0
  272. data/test/mocks/themes/typographic/images/world_link.png +0 -0
  273. data/test/mocks/themes/typographic/images/world_link50.png +0 -0
  274. data/test/mocks/themes/typographic/layouts/default.html.erb +0 -42
  275. data/test/mocks/themes/typographic/preview.png +0 -0
  276. data/test/mocks/themes/typographic/stylesheets/colors.css +0 -51
  277. data/test/mocks/themes/typographic/stylesheets/layout.css +0 -346
  278. data/test/mocks/themes/typographic/stylesheets/reset.css +0 -5
  279. data/test/mocks/themes/typographic/stylesheets/style.css +0 -36
  280. data/test/mocks/themes/typographic/views/articles/_article.html.erb +0 -41
  281. data/test/mocks/themes/typographic/views/articles/_comment.html.erb +0 -14
  282. data/test/mocks/themes/typographic/views/articles/_comment_form.html.erb +0 -48
  283. data/test/mocks/themes/typographic/views/articles/_comment_list.html.erb +0 -7
  284. data/test/mocks/themes/typographic/views/articles/_trackback.html.erb +0 -9
  285. data/test/mocks/themes/typographic/views/articles/comment_preview.html.erb +0 -10
  286. data/test/mocks/themes/typographic/views/articles/index.html.erb +0 -5
  287. data/test/mocks/themes/typographic/views/articles/read.html.erb +0 -42
  288. data/test/mocks/themes/typographic/views/shared/_search.html.erb +0 -17
  289. data/test/mocks/themes/typographic/views/theme/static_view_test.html.erb +0 -1
  290. data/test/test_helper.rb +0 -13
  291. data/themes/true-blue-3/images/frederic-de-villamil.jpg +0 -0
  292. data/themes/true-blue-3/images/textarea_bg.jpg +0 -0
@@ -21,8 +21,6 @@ config.action_controller.allow_forgery_protection = false
21
21
 
22
22
  Migrator.offer_migration_when_available = false
23
23
  require 'ruby-debug'
24
- config.gem "thoughtbot-factory_girl",
25
- :lib => "factory_girl",
26
- :source => "http://gems.github.com"
24
+ config.gem "factory_girl", :version => '~> 1.2.4'
27
25
  config.gem 'rspec', :lib => false
28
26
  config.gem 'rspec-rails', :lib => false
@@ -0,0 +1,16 @@
1
+ image.type: jpg gif png
2
+ flash.type: swf
3
+ movie.type: mov avi wmv
4
+ rm.type: rm rmvb
5
+ plain.type: txt ini inf html htm rb jsp php asp
6
+ office.type: doc dot xls xla ppt pps ppz pot hlp chm ods
7
+ word.type: doc dot
8
+ excel.type: xls xla ods
9
+ ppt.type: ppt pps ppz pot
10
+ help.type: hlp chm
11
+ none.type: rar zip
12
+ resources.url: /files
13
+ resources.path: <%= RAILS_ROOT %>/public/files
14
+ encoding.to: UTF-8
15
+ encoding.from: UTF-8
16
+ temp.dir:
@@ -84,6 +84,11 @@ AccessControl.map :require => [ :admin, :publisher, :contributor ] do |map|
84
84
  project.submenu "Customize sidebar", { :controller => "admin/sidebar", :action => "index" }
85
85
  project.submenu "Theme editor", { :controller => "admin/themes", :action => "editor" }
86
86
  project.submenu "View theme catalogue", { :controller => "admin/themes", :action => "catalogue" }
87
+
88
+ AccessControl.search_plugins_directory.each do |plugin|
89
+ project.submenu AccessControl.get_plugin_litteral_name(plugin),
90
+ { :controller => "admin/#{AccessControl.get_plugin_controller_name(plugin)}", :action => "index" }
91
+ end
87
92
  end
88
93
 
89
94
  map.project_module :settings, nil do |project|
@@ -3,6 +3,9 @@ ActionController::Routing::Routes.draw do |map|
3
3
  # default
4
4
  map.root :controller => 'articles', :action => 'index'
5
5
 
6
+ # for Filemanager
7
+ map.connect 'fm/filemanager/:action/:id', :controller => 'Fm::Filemanager'
8
+
6
9
  # TODO: use only in archive sidebar. See how made other system
7
10
  map.articles_by_month ':year/:month', :controller => 'articles', :action => 'index', :year => /\d{4}/, :month => /\d{1,2}/
8
11
  map.articles_by_month_page ':year/:month/page/:page', :controller => 'articles', :action => 'index', :year => /\d{4}/, :month => /\d{1,2}/
@@ -42,7 +45,7 @@ ActionController::Routing::Routes.draw do |map|
42
45
  map.connect '/archives/', :controller => "articles", :action => "archives"
43
46
  map.connect '/setup', :controller => 'setup', :action => 'index'
44
47
  map.connect '/setup/confirm', :controller => 'setup', :action => 'confirm'
45
-
48
+
46
49
  # I thinks it's useless. More investigating
47
50
  map.connect "trackbacks/:id/:day/:month/:year",
48
51
  :controller => 'trackbacks', :action => 'create', :conditions => {:method => :post}
@@ -87,6 +90,7 @@ ActionController::Routing::Routes.draw do |map|
87
90
  end
88
91
 
89
92
  map.connect 'previews/:id', :controller => 'articles', :action => 'preview'
93
+ map.connect 'check_password', :controller => 'articles', :action => 'check_password'
90
94
 
91
95
  # Work around the Bad URI bug
92
96
  %w{ accounts backend files sidebar textfilter xml }.each do |i|
@@ -28,15 +28,9 @@ class AddSidebars < ActiveRecord::Migration
28
28
  show_count: true
29
29
  count: "10"')
30
30
  Bare4Sidebar.create(:active_position=>3, :controller=>'static', :active_config=>'--- !map:HashWithIndifferentAccess
31
- title: Links
32
- body: |+
33
- <ul>
34
- <li><a href="http://www.typosphere.org" title="Typo">Typosphere</a></li>
35
- <li><a href="http://typogarden.org">Typogarden</a></li>
36
- <li><a href="http://www.bofh.org.uk" title="Just a Summary">Just A Summary</a></li>
37
- <li><a href="http://fredericdevillamil.com" title="Frédéric de Villamil">Ergonomie, Rails et bonnes pratiques du web</a></li>
38
- <li><a href="/admin">Admin</a></li>
39
- </ul>'
31
+ body: "<ul>\n <li><a href=\"http://www.typosphere.org\" title=\"Typo\">Typosphere</a></li>\n <li><a href=\"http://typogarden.org\">Typogarden</a></li>\n <li><a href=\"http://t37.net.com\" title=\"Ergonomie Web\">Fr\xC3\xA9d\xC3\xA9ric</a></li>\n <li><a href=\"http://www.matijs.net/\" title=\"Matijs\">Matijs</a></li>\n <li><a href=\"http://blog.shingara.fr\" title=\"Cyril\">Cyril</a></li>\n <li><a href=\"http://www.bofh.org.uk\" title=\"Just a Summary\">Piers</a></li>\n <li><a href=\"/admin\">Admin</a></li>\n\
32
+ </ul>\n"
33
+ title: Links'
40
34
  )
41
35
  Bare4Sidebar.create(:active_position=>4, :controller=>'xml', :active_config=>'--- !map:HashWithIndifferentAccess
42
36
  format: rss20
@@ -0,0 +1,31 @@
1
+ # Dummy class to declare the model before droping
2
+ class CacheInformation < ActiveRecord::Base
3
+
4
+ end
5
+
6
+ class DropCacheInformationTable < ActiveRecord::Migration
7
+ def self.up
8
+ # On 99.9% existing blogs, cache will be installed in public/
9
+ # That means we first need to wipe existing files or they will be served
10
+ # And the cache will never be accessed
11
+ list = CacheInformation.find(:all)
12
+
13
+ list.each do |file|
14
+ path = File.join(RAILS_ROOT, 'public', file.path)
15
+ if File.exist?(path)
16
+ FileUtils.rm(path)
17
+ end
18
+ end
19
+
20
+ drop_table :cache_informations
21
+ end
22
+
23
+ def self.down
24
+ create_table :cache_informations do |t|
25
+ t.string :path
26
+ t.timestamps
27
+ end
28
+ # Add index on path because there are validates_uniqueness on it
29
+ add_index :cache_informations, :path
30
+ end
31
+ end
@@ -0,0 +1,9 @@
1
+ class RemoveKeywordsFromPosts < ActiveRecord::Migration
2
+ def self.up
3
+ remove_column :contents, :keywords
4
+ end
5
+
6
+ def self.down
7
+ add_column :contents, :keywords, :string
8
+ end
9
+ end
@@ -0,0 +1,9 @@
1
+ class AddsPasswordProtectionToPosts < ActiveRecord::Migration
2
+ def self.up
3
+ add_column :contents, :password, :string
4
+ end
5
+
6
+ def self.down
7
+ remove_column :contents, :password
8
+ end
9
+ end
@@ -0,0 +1,36 @@
1
+ To fully profit from Typo static caching capabilities, you need to add the
2
+ following rewrite rules to either your .htaccess or your virtualhost after
3
+ declaring the document root.
4
+
5
+ == Rewrite Rules For Apache
6
+
7
+ RewriteEngine On
8
+
9
+ RewriteCond %{DOCUMENT_ROOT}/cache/index.html -f
10
+ RewriteRule ^/$ /cache/index.html [PT]
11
+
12
+ RewriteCond %{DOCUMENT_ROOT}/cache/%{REQUEST_FILENAME} -f
13
+ RewriteRule ^/(.*)$ /cache/$1 [PT]
14
+
15
+ RewriteCond %{DOCUMENT_ROOT}/cache/%{REQUEST_FILENAME}.html -f
16
+ RewriteRule ^/(.*)$ /cache/$1.html [PT]
17
+
18
+ == Rewrite Rules For Nginx
19
+
20
+ if (-f $request_filename) {
21
+ break;
22
+ }
23
+
24
+ if (-f $document_root/cache/index.html) {
25
+ rewrite ^/$ /cache/index.html break;
26
+ }
27
+
28
+ if (-f $document_root/cache$uri) {
29
+ rewrite (.*) /cache$1 break;
30
+ break;
31
+ }
32
+
33
+ if (-f $document_root/cache$uri.html) {
34
+ rewrite (.*) /cache$1.html break;
35
+ break;
36
+ }
@@ -442,7 +442,8 @@ Localization.define('de_DE') do |l|
442
442
  l.store "Your message", "Meine Nachricht"
443
443
  l.store "Comment Markup Help", "Hilfe zu Kommentar Markup"
444
444
  l.store "Preview comment", "Kommentar Vorschau"
445
-
445
+ l.store 'leave url/email', 'hinterlasse url/email'
446
+
446
447
  #articles/_trackback.rhtml
447
448
  l.store "From", "Von"
448
449
 
@@ -457,6 +458,7 @@ Localization.define('de_DE') do |l|
457
458
 
458
459
  #articles/index.rhtml
459
460
  l.store "Read more", "Mehr lesen"
461
+ l.store "Continue reading", "Weiter lesen"
460
462
  l.store "Older posts", "Weitere Artikel"
461
463
 
462
464
  #articles/read.rhtml
@@ -468,6 +470,9 @@ Localization.define('de_DE') do |l|
468
470
 
469
471
  l.store "Pictures from", "Bilder von"
470
472
 
473
+ #views/shared/_search.rhtml
474
+ l.store 'Live Search', 'Suche'
475
+
471
476
  #vendor/plugins/aimpresence_sidebar/aimpresence_sidebar.rb
472
477
  l.store "AIM Presence", "AIM Anwesenheit"
473
478
 
@@ -1,18 +1,24 @@
1
1
  # localization Marcin Gil <marcin.gil@gmail.com>
2
+ # additional localization Szymon (jeznet) Jeż <szymon@jez.net.pl>
2
3
 
3
4
  Localization.define('pl_PL') do |l|
4
5
  # General
5
6
  l.store "your blog", "Twój blog"
6
7
  l.store "Typo admin", "administracja Typo"
7
8
  l.store "Publish", "Publikuj"
9
+ l.store "Dashboard", "Podsumowanie"
8
10
  l.store "Manage", "Zarządzaj"
11
+ l.store "Customize", "Personalizuj"
9
12
  l.store "Feedback", "Komentarze"
10
13
  l.store "Design", "Wygląd"
11
- l.store "%d Users", ["Użytkownik", "%d Użytkownicy"]
14
+ l.store "%d users", "%d użytkownicy"
15
+ l.store "1 user", "użytkownik"
16
+ l.store "no users", "brak użytkowników"
12
17
  l.store "Settings", "Ustawienia"
13
18
  l.store "Things you can do", "Dostępne działania"
14
19
  l.store "with %s Famfamfam iconset %s", "z %s ze zbioru ikon Famfamfam %s"
15
-
20
+ l.store "is proudly powered by", "dumnie działa na"
21
+
16
22
  #admin/login.rhtml
17
23
  l.store "Username", "Użytkownik"
18
24
  l.store "Password", "Hasło"
@@ -23,7 +29,7 @@ Localization.define('pl_PL') do |l|
23
29
  l.store "You are now logged out of the system", "Wylogowano z systemu"
24
30
  l.store "Do you want to go to your blog?", "Czy chcesz obejrzeć Twój blog?"
25
31
  l.store "Logoff", "Wyloguj"
26
-
32
+
27
33
  # admin/signup.rhtml
28
34
  l.store "Signup", "Zapisz się"
29
35
  l.store "Desired login", "Proponowany login"
@@ -31,7 +37,7 @@ Localization.define('pl_PL') do |l|
31
37
  l.store "Email", "Email"
32
38
  l.store "Choose password", "Wybierz hasło"
33
39
  l.store "Confirm password", "Potwierdź hasło"
34
-
40
+
35
41
  # admin/dashboard/index.rhtml
36
42
  l.store "What can you do ?", "Co możesz zrobić?"
37
43
  l.store "Write Post", "Utworzyć wpis"
@@ -39,82 +45,120 @@ Localization.define('pl_PL') do |l|
39
45
  l.store "Update your profile or change your password", "Zaktualizować profil lub zmienić hasło"
40
46
  l.store "Change your blog presentation", "Zmienić wygląd swojego bloga"
41
47
  l.store "Enable plugins", "Aktywować wtyczki"
42
- l.store "Last Comments", "Ostatnie komentarze"
43
- l.store "Last posts", "Ostatnie wpisy"
44
- l.store "Most popular", "Najpopularniejsze"
48
+ l.store "Latest Posts", "Ostatnie Wpisy"
45
49
  l.store "Typo documentation", "Oficjalna dokumentacja Typo"
46
50
  l.store "No comments yet", "Brak komentarzy"
47
-
51
+ l.store "Latest news from the Typo development blog", "Najnowsze wieści z bloga developerskiego Typo"
52
+
53
+ # app/views/admin/dashboard/_overview.html.erb
54
+ l.store "This place gives you a quick overview of what happens on your Typo blog and what you can do. Maybe will you want to %s, %s or %s.",
55
+ "To miejsce daje ci szybki podgląd na to co dzieje się na twoim blogu i to co możesz zrobić. Może chcesz %s, %s or %s."
56
+ l.store "update your profile or change your password", "zaktualizować profil lub zmienić hasło"
57
+ l.store "You can also do a bit of design, %s or %s.", "Możesz również trochę poprojektować wygląd, %s lub %s."
58
+ l.store "change your blog presentation", "zmienić wygląd swojego bloga"
59
+ l.store "enable plugins", "aktywować wtyczkę"
60
+ l.store "write a post", "utworzyć wpis"
61
+ l.store "write a page", "utworzyć stronę"
62
+
63
+ # app/views/admin/dashboard/_welcome.html.erb
64
+ l.store "Welcome back, %s!", "Witamy spowrotem, %s!"
65
+ l.store "%d articles and %d comments were posted since your last connexion", "%d artykułów i %d komentarzy zostało opublikowanych od twojego ostaniego połączenia"
66
+ l.store "You're running Typo %s", "Działasz na Typo %s"
67
+ l.store "Total posts : %d", "Liczba wszystkich wpisów: %d"
68
+ l.store "Your posts : %d", "Twoje wpisy: %d"
69
+ l.store "Total comments : %d", "Liczba wszystkich komentarzy: %d"
70
+ l.store "Spam comments : %d", "Niechciane komentarze (spam): %d"
71
+
72
+ # app/views/admin/dashboard/_inbound.html.erb
73
+ l.store "Inbound links", "Linki przychodzące"
74
+ l.store "No one made a link to you yet", "Nikt jeszcze nie stworzył do ciebie łącza"
75
+ l.store " made a link to you saying ", " wykonał do ciebie łącze o treści "
76
+ l.store "You have no internet connection", "Nie masz połączenia internetowego"
77
+
78
+ # app/views/admin/dashboard/_comments.html.erb
79
+ l.store "Latest Comments", "Ostatnie komentarze"
80
+ l.store "No comments yet", "Brak komentarzy"
81
+ l.store "By %s on %s", "Przez %s odnośnie %s"
82
+
83
+ # app/views/admin/dashboard/_popular.html.erb
84
+ l.store "Most popular", "Najpopularniejsze"
85
+ l.store "Nothing to show yet", "Nie ma jeszcze nic do pokazania"
86
+
48
87
  #admin/base/recent_comments.rhtml
49
88
  l.store "Recent comments", "Ostatnie komentarze"
50
89
 
51
90
  #admin/base/recent_trackbacks.rhtml
52
91
  l.store "Recent trackbacks", "Ostatnie trackbacki"
53
-
92
+
54
93
  #admin/blacklist/_blacklis_patterns.rhtml
55
94
  l.store "Pattern", "Wzorzec"
56
95
  l.store "Type", "Typ"
57
96
  l.store "Edit", "Zmień"
58
97
  l.store "Delete", "Usuń"
59
-
98
+
60
99
  #admin/blacklist/_form.rhtml
61
100
  l.store "String", "Ciąg znaków"
62
101
  l.store "Regex", "Wyrażenie regularne"
63
-
102
+
64
103
  #admin/blacklist/_quick_post.rhtml
65
104
  l.store "Add pattern", "Dodaj wzorzec"
66
105
  l.store "Cancel", "Anuluj"
67
106
  l.store "or", "lub"
68
-
107
+
69
108
  #admin/blacklist/destroy.rhtml
70
109
  l.store "Blacklist Patterns", "Czarna lista"
71
110
  l.store "Show this pattern", "Pokaż ten wzorzec"
72
111
  l.store "Are you sure you want to delete this item?", "Czy na pewno chcesz usunąć tą pozycję?"
73
-
112
+
74
113
  #admin/blacklist/edit.rhtml
75
114
  l.store "Editing pattern", "Zmiana wzorca"
76
-
115
+
77
116
  #admin/blacklist/list.rhtml
78
117
  l.store "Create new Blacklist", "Utwórz nową czarną listę"
79
-
118
+
80
119
  #admin/cache/list.rhtml
81
120
  l.store "Cache", "Bufor"
82
-
121
+
83
122
  #admin/categories/_categories.rhtml
84
123
  l.store "Category title", "Tytuł kategorii"
85
- l.store "%d Articles", ["Artykuł", "%d Artykuły"]
86
-
124
+ l.store "%d articles", "%d artykuły"
125
+ l.store "1 article", "1 artykuł"
126
+ l.store "no articles", "brak artykułów"
127
+
87
128
  #admin/categories/_form.rhtml
88
129
  l.store "Name", "Nazwa"
89
-
130
+
90
131
  #admin/categories/_quick_post.rhtml
91
132
  l.store "Title", "Tytuł"
92
133
  l.store "Add category", "Dodaj kategorię"
93
-
134
+
94
135
  #admin/categorie/destroy.rhtml
95
- l.store "%d Categories", ["Kategoria", "%d Kategorie"]
136
+ l.store "%d categories", "%d kategorie"
137
+ l.store "1 category", "kategoria"
138
+ l.store "no categories", "brak kategori"
96
139
  l.store "Show this category", "Pokaż tą kategorię"
97
140
  l.store "Delete this category", "Usuń tą kategorię"
98
141
  l.store "Are you sure you want to delete the category ", "Czy na pewno chcesz skasować kategorię "
99
142
 
100
143
  #admin/category/list.html.erb
101
144
  l.store "add new", "dodaj nową"
102
-
145
+
103
146
  #admin/category/edit.rhtml
104
- l.store "Editing category", "Edytuj kategorię"
105
-
147
+ l.store "Editing category", "Edytuj kategorię"
148
+
106
149
  #admin/category/list.rhtml
107
150
  l.store "Manage Categories", "Zarządzaj kategoriami"
108
151
  l.store "Create new category", "Utwórz nową kategorię"
152
+ l.store "New Category", "Utwórz nową kategorię"
109
153
  l.store "Reorder", "Zmień porządek"
110
154
  l.store "Sort alphabetically", "Sortuj alfabetycznie"
111
155
  l.store "Manage Articles", "Zarządzaj artykułami"
112
156
  l.store "Manage Pages", "Zarządzaj stronami"
113
157
  l.store "Manage Resources", "Zarządzaj zasobami"
114
-
158
+
115
159
  #admin/category/reorder.rhtml
116
160
  l.store "(Done)", "(Zakończono)"
117
-
161
+
118
162
  #admin/category/show
119
163
  l.store "Edit this category", "Edytuj tą kategorię"
120
164
  l.store "Articles in", "Artykuły w"
@@ -122,45 +166,50 @@ Localization.define('pl_PL') do |l|
122
166
  #admin/comments/_form.rhtml
123
167
  l.store "Author", "Autor"
124
168
  l.store "Url", "Strona web"
125
- l.store "Body", "Treść"
126
-
169
+ l.store "Body", "Treść"
170
+
127
171
  #admin/comments/comments.rhtml
128
172
  l.store "on", "na"
129
173
 
130
174
  #admin/comments/destroy.rhtml
131
175
  l.store "Comments for", "Komentarze do"
132
-
176
+
133
177
  #admin/comments/edit.rhtml
134
178
  l.store "Show this comment", "Pokaż komentarz"
135
179
  l.store "View comment on your blog", "Obejrzyj komentarz na blogu"
136
180
  l.store "Editing comment", "Edycja komentarza"
137
-
181
+
138
182
  #admin/comments/list.rhtml
139
183
  l.store "IP", "Adres IP"
140
184
  l.store "Posted date", "Data publikacji"
141
-
185
+
142
186
  #admin/comments/new.rhtml
143
187
  l.store "Creating comment", "Tworzenie komentarza"
144
-
188
+
145
189
  #admin/content/_articles.rhtml
146
190
  l.store "Posts", "Wpisy"
147
191
  l.store "Uploads", "Załadowane zasoby"
148
192
  l.store "Post title", "Tytuł wpisu"
149
193
  l.store "Posted at", "Data publikacji"
150
- l.store "%d Comments", ["Komentarz", "%d Komentarze"]
151
- l.store "%d Trackbacks", ["Trackback", "%d Trackbacki"]
194
+ l.store "%d comments", "%d komentarze"
195
+ l.store "1 comment", "1 komentarz"
196
+ l.store "%d trackbacks", "%d trackbacki"
197
+ l.store "1 trackback", "1 trackback"
152
198
  l.store "View", "Obejrzyj"
153
199
  l.store "Status", "Stan"
154
200
  l.store "Offline", "Offline"
155
201
  l.store "Online", "Online"
156
202
  l.store "no trackbacks", "brak trackbacków"
157
203
  l.store "no comments", "brak komentarzy"
158
-
204
+ l.store "Continue reading", "Czytaj dalej"
205
+ l.store "Files", "Pliki"
206
+ l.store "Images", "Grafika"
207
+
159
208
  #admin/content/_attachment.rhtml
160
209
  l.store "Remove", "Skasuj"
161
210
  l.store "Really delete attachment", "Na pewno skasować?"
162
211
  l.store "Add Another Attachment", "Dodaj kolejny załącznik"
163
-
212
+
164
213
  #admin/content/_form.rhtml
165
214
  l.store "Article Body", "Nagłówek artykułu"
166
215
  l.store "Post", "Wpis"
@@ -168,7 +217,9 @@ Localization.define('pl_PL') do |l|
168
217
  l.store "Optional Extended Content", "Opcjonalna treść rozszerzona"
169
218
  l.store "Article Content", "Treść artykułu"
170
219
  l.store "Extended Content", "Treść rozszerzona"
171
- l.store "%d Tags", ["Tag", "%d Tagi"]
220
+ l.store "%d tags", "%d tagi"
221
+ l.store "1 tag", "1 tag"
222
+ l.store "no tags", "brak tagów"
172
223
  l.store "Save", "Zapisz"
173
224
  l.store "Article Attachments", "Załączniki artykułu"
174
225
  l.store "Article Options", "Opcje artykułu"
@@ -179,24 +230,24 @@ Localization.define('pl_PL') do |l|
179
230
  l.store "Publish at", "Opublikowane dnia"
180
231
  l.store "Textfilter", "Filtr tekstu"
181
232
  l.store "Toggle Extended Content", "Przełącz treść rozszerzoną"
182
-
233
+
183
234
  #admin/content/_pages.rhtml
184
235
  l.store "Previous page", "Poprzednia strona"
185
236
  l.store "Next page", "Następna strona"
186
-
237
+
187
238
  #admin/content/_show_categories.rhtml
188
239
  l.store "Currently this article is listed in following categories", "Artykuł jest opublikowany w następujących kategoriach"
189
240
  l.store "You can add it to the following categories", "Możesz dodać go do następujących kategorii"
190
-
241
+
191
242
  #admin/content/_show_ressources.rhtml
192
243
  l.store "Currently this article has the following resources", "Artykuł ma dołączone następujące zasoby"
193
244
  l.store "You can associate the following resources", "Możesz przypisać do artykułu następujące zasoby"
194
-
245
+
195
246
  #admin/content/destroy.rhtml
196
247
  l.store "Show this article", "Pokaż artykuł"
197
248
  l.store "Are you sure you want to delete this article", "Czy na pewno chcesz usunąć ten artykuł"
198
249
  l.store "Delete this article", "Usuń artykuł"
199
-
250
+
200
251
  #admin/content/edit.rhtml
201
252
  l.store "Edit Article", "Edytuj artykuł"
202
253
  l.store "View article on your blog", "Obejrzyj artykuł na blogu"
@@ -207,13 +258,13 @@ Localization.define('pl_PL') do |l|
207
258
 
208
259
  #admin/content/preview.rhtml
209
260
  l.store "Posted by", "Opublikowane przez"
210
-
261
+
211
262
  #admin/content/show.rhtml
212
263
  l.store "Preview Article", "Podgląd artykułu"
213
264
  l.store "Edit this article", "Edytuj ten artykuł"
214
265
  l.store "Last updated", "Ostatnio zmieniany"
215
266
  l.store "Attachments", "Załączniki"
216
-
267
+
217
268
  #admin/feedback/list.rhtml
218
269
  l.store "Limit to spam", "Pokaż spam"
219
270
  l.store "Limit to unconfirmed", "Pokaż niepotwierdzone"
@@ -221,12 +272,12 @@ Localization.define('pl_PL') do |l|
221
272
  l.store "Blacklist", "Czarna lista"
222
273
  l.store "Feedback Search", "Przeszukaj komentarze"
223
274
  l.store "Comments and Trackbacks for", "Komentarze i trackbacki do"
224
-
275
+
225
276
  #admin/general/task
226
277
  l.store "Basic settings", "Ustawienia podstawowe"
227
278
  l.store "Advanced settings", "Ustawienia zaawansowane"
228
279
  l.store "Blog advanced settings", "Ustawienia zaawansowane bloga"
229
-
280
+
230
281
  #admin/general/index.rhtml
231
282
  l.store "Blog settings", "Ustawienia bloga"
232
283
  l.store "Which settings group would you like to edit", "Którą grupę ustawień chcesz zmodyfikować"
@@ -299,7 +350,7 @@ Localization.define('pl_PL') do |l|
299
350
  l.store "Empty Fragment Cache", "Usuń bufor fragmentów"
300
351
  l.store "Rebuild cached HTML", "Przebuduj bufor HTML"
301
352
  l.store "days", "dni"
302
-
353
+
303
354
  #admin/general/update_database
304
355
  l.store "Database migration", "Migruj bazę danych"
305
356
  l.store "Information", "Informacja"
@@ -313,30 +364,30 @@ Localization.define('pl_PL') do |l|
313
364
  l.store "Update database now", "Aktualizuj bazę danych"
314
365
  l.store "may take a moment", "może zająć dłuższą chwilę"
315
366
  l.store "config updated.", "konfiguracja zaktualizowana."
316
-
367
+
317
368
  #admin/pages/_form.rhtml
318
369
  l.store "Page Body", "Nagłówek strony"
319
370
  l.store "Page Content", "Treść strony"
320
371
  l.store "Location", "Lokacja"
321
372
  l.store "Page Options", "Opcje strony"
322
-
373
+
323
374
  #admin/pages/_pages.rhtml
324
375
  l.store "Action", "Akcje"
325
376
  l.store "Pages", "Strony"
326
377
  l.store "Show this page", "Pokaż tą stronę"
327
378
  l.store "Are you sure you want to delete the page", "Czy na pewno chcesz usunąć tą stronę"
328
379
  l.store "Delete this page", "Usuń tą stronę"
329
-
380
+
330
381
  #admin/pages/edit.rhtml
331
382
  l.store "Create new page", "Utwórz nową stronę"
332
383
  l.store "View page on your blog", "Zaprezentuj stronę na blogu"
333
384
  l.store "Editing page", "Edytuj stronę"
334
385
  l.store "Manage Text Filters", "Zarządzaj filtrami tekstu"
335
-
386
+
336
387
  #admin/pages/show.rhtml
337
388
  l.store "Edit this page", "Edytuj tą stronę"
338
389
  l.store "by", "przez"
339
-
390
+
340
391
  #admin/ressources/_metadata_add.rhtml
341
392
  l.store "Resource MetaData", "Metadane zasobu"
342
393
  l.store "Set iTunes metadata for this enclosure", "Ustaw metadane iTunes"
@@ -344,11 +395,11 @@ Localization.define('pl_PL') do |l|
344
395
  l.store "Key Words", "Słowa kluczowe"
345
396
  l.store "seperate with spaces", "rozdziel spacjami"
346
397
  l.store "Category", "Kategoria"
347
-
398
+
348
399
  #admin/resources/_metadata_edit.rhtml
349
400
  l.store "Remove iTunes Metadata", "Usuń metadane iTunes"
350
401
  l.store "Content Type", "Typ treści"
351
-
402
+
352
403
  #admin/resources/_resources.rhtml
353
404
  l.store "Filename", "Nazwa pliku"
354
405
  l.store "right-click for link", "Kliknij PPM by uzyskać łącze"
@@ -369,16 +420,16 @@ Localization.define('pl_PL') do |l|
369
420
  l.store "Upload", "Wyślij"
370
421
  l.store "Upload a new Resource", "Wyślij nowy zasób"
371
422
  l.store "File", "Plik"
372
-
423
+
373
424
  #admin/sidebar/_avaliables.rhtml
374
425
  l.store "You have no plugins installed", "Brak zainstalowanych wtyczek"
375
-
426
+
376
427
  #admin/sidebar/_publish.rhtml
377
428
  l.store "Changes published", "Opublikowane zmiany"
378
-
429
+
379
430
  #admin/sidebar/_target.rhtml
380
431
  l.store "Drag some plugins here to fill your sidebar", "Przeciągnij i upuść wtyczki na pasek boczny"
381
-
432
+
382
433
  #admin/sidebar/index.rhtml
383
434
  l.store "Choose theme", "Wybierz temat"
384
435
  l.store "Drag and drop to change the sidebar items displayed on this blog. To remove items from the sidebar just click remove Changes are saved immediately, but not activated until you click the 'Publish' button", "Przeciągnij i upuść pozycje, które mają być wyświetlone na blogu. By usunąć pozycję naciśnij *Usuń*. Zmiany są zapisywane od razu, lecz nie są aktywne do momentu kliknięcia 'Publikuj zmiany'"
@@ -391,85 +442,85 @@ Localization.define('pl_PL') do |l|
391
442
  l.store "Markup type", "Typ znaczników"
392
443
  l.store "Post-processing filters", "Filtr post-process"
393
444
  l.store "Parameters", "Parametry"
394
-
445
+
395
446
  #admin/textfilters/_macros.rhtml
396
447
  l.store "Show Help", "Pomoc"
397
-
448
+
398
449
  #admin/textfilters/_textfilters.rhtml
399
450
  l.store "Markup", "Znaczniki"
400
451
  l.store "Filters", "Filtry"
401
-
452
+
402
453
  #admin/textfilters/destroy.rhtml
403
454
  l.store "Text Filters", "Filtry tekstu"
404
455
  l.store "Are you sure you want to delete this filter", "Czy na pewno chcesz usunąć ten filtr tekstu"
405
456
  l.store "Delete this filter", "Usuń filtr"
406
-
457
+
407
458
  #admin/textfilters/edit.rhtml
408
459
  l.store "Editing textfilter", "Modyfikuj filtr"
409
-
460
+
410
461
  #admin/textfilters/list.rhtml
411
462
  l.store "Create new text filter", "Utwórz nowy filtr"
412
- l.store "Customize Sidebar", "Spersonalizuj pasek boczny"
463
+ l.store "Customize Sidebar", "Personalizuj pasek boczny"
413
464
  l.store "Macros", "Makra"
414
-
465
+
415
466
  #admin/textfilters/macro_help.rhtml
416
467
  l.store "Macro Filter Help", "Pomoc makr filtrów"
417
468
  l.store "Creating text filter", "Tworzenie filtra tekstó"
418
-
469
+
419
470
  #admin/textfilters/show.rhtml
420
471
  l.store "Text Filter Details", "Szczegóły filtra tekstu"
421
472
  l.store "Edit this filter", "Modyfikuj ten filtr"
422
473
  l.store "See help text for this filter", "Zobacz pomoc dla tego filtra"
423
-
474
+
424
475
  #admin/themes/index.rhtml
425
476
  l.store "Choose theme", "Wybierz temat"
426
477
  l.store "Activate", "Aktywuj"
427
478
  l.store "Active theme", "Temat aktywny"
428
-
479
+
429
480
  #admin/trackbacks/edit.rhtml
430
481
  l.store "Trackbacks for", "Trackbacki do"
431
482
  l.store "Editing trackback", "Modyfikuj trackback"
432
-
483
+
433
484
  #admin/trackbacks/new.rhtml
434
485
  l.store "Creating trackback", "Tworzenie trackbacka"
435
486
  l.store "Edit this trackback", "Modyfikuj ten trackback"
436
-
487
+
437
488
  #admin/users/_form.rhtml
438
489
  l.store "Jabber", "Jabber"
439
490
  l.store "Password Confirmation", "Potwierdzenie hasła"
440
491
  l.store "Send notification messages via email", "Wysyłaj powiadomienia emailem"
441
492
  l.store "Send notification messages when new articles are posted", "Wysyłaj powiadomienia o nowych artykułach"
442
493
  l.store "Send notification messages when comments are posted", "Wysyłaj powiadomienia o nowych komentarzach"
443
-
494
+
444
495
  #admin/user/_user.rhtml
445
496
  l.store "Number of Articles", "Liczba artykułów"
446
497
  l.store "Number of Comments", "Liczba komentarzy"
447
498
  l.store "Notified", "Powiadamiony"
448
499
  l.store "via email", "emailem"
449
-
500
+
450
501
  #admin/user/destroy.rhtml
451
502
  l.store "Show this user", "Pokazuj tego użytkownika"
452
503
  l.store "Really delete user", "Na pewno usunąć użytkownika"
453
-
504
+
454
505
  #admin/user/edit.rhtml
455
506
  l.store "Edit User", "Zmień dane użytkownika"
456
507
  l.store "Editing User", "Zmiana danych użytkownika"
457
508
  l.store "New User", "Nowy użytkownik"
458
509
  l.store "Add new user", "Dodaj nowego użytkownika"
459
-
510
+
460
511
  #admin/user/new.rhtml
461
512
  l.store "Creating user", "Tworzenie użytkownika"
462
-
513
+
463
514
  #admin/user/show.rhtml
464
515
  l.store "User's articles", "Artykuły użytkownika"
465
516
  l.store "Notify via email", "Powiadamiaj emailem"
466
517
  l.store "Notify on new articles", "Powiadamiaj o nowych artykułach"
467
518
  l.store "Notify on new comments", "Powiadamiaj o nowych komentarzach"
468
-
519
+
469
520
  #articles/_comment.rhtml
470
521
  l.store "said", "powiedział"
471
522
  l.store "This comment has been flagged for moderator approval. It won't appear on this blog until the author approves it", "Ten komentarz oczekuje na akceptację. Nie ukaże się do czasu zaakceptowania przez autora."
472
-
523
+
473
524
  #articles/_comment_box.rhtml
474
525
  l.store "Your name", "Twoja nazwa"
475
526
  l.store "Your blog", "Twój blog"
@@ -477,50 +528,54 @@ Localization.define('pl_PL') do |l|
477
528
  l.store "Your message", "Treść"
478
529
  l.store "Comment Markup Help", "Pomoc języka formatowania"
479
530
  l.store "Preview comment", "Obejrzyj komentarz"
480
-
531
+ l.store 'leave url/email', 'zostaw url/email'
532
+
481
533
  #articles/_trackback.rhtml
482
534
  l.store "From", "Z"
483
-
535
+
484
536
  #articles/archives.rhtml
485
537
  l.store "No articles found", "Brak artykułów"
486
-
538
+
487
539
  #articles/comment_preview.rhtml
488
540
  l.store "is about to say", "zaraz powie"
489
-
541
+
490
542
  #articles/groupings.rhtml
491
543
  l.store "There are", "Istnieje"
492
-
544
+
493
545
  #articles/index.rhtml
494
546
  l.store "Read more", "Czytaj dalej"
495
547
  l.store "Older posts", "Starsze wpisy"
496
-
548
+
497
549
  #articles/read.rhtml
498
550
  l.store "Leave a response", "Skomentuj"
499
551
  l.store "Use the following link to trackback from your own site", "Użyj następującego trackbacka na swojej stronie"
500
552
  l.store "RSS feed for this post", "Subskrypcja RSS dla tego wpisu"
501
553
  l.store "trackback uri", "Adres trackback"
502
554
  l.store "Comments are disabled", "Komentarze wyłączone"
503
-
555
+
504
556
  l.store "Pictures from", "Zdjęcia z"
505
-
557
+
558
+ #views/shared/_search.rhtml
559
+ l.store 'Live Search', 'Wyszukiwarka'
560
+
506
561
  #vendor/plugins/aimpresence_sidebar/aimpresence_sidebar.rb
507
562
  l.store "AIM Presence", "Status AIM"
508
563
 
509
564
  #vendor/plugins/aimpresence_sidebar/views/content.rb
510
565
  l.store "AIM Status", "Status AIM"
511
-
566
+
512
567
  #vendor/plugins/xml_sidebar/xml_sidebar.rb
513
568
  l.store "XML Syndication", "Subskrypcja XML"
514
569
 
515
570
  #vendor/plugins/xml_sidebar/xml_sidebar.rb
516
571
  l.store "Syndicate", "Subskrypcje"
517
-
572
+
518
573
  #vendor/plugins/archives_sidebar/views/content.rb
519
574
  l.store "Archives", "Archiwa"
520
-
575
+
521
576
  #vendor/plugins/tags_sidebar/views/content.rb
522
577
  l.store "Tags", "Tagi"
523
-
578
+
524
579
  #app/helpers/admin/base_helper.rb
525
580
  l.store "Back to overview", "Wróć do podglądu"
526
581
  l.store "log out", "wyloguj"
@@ -550,4 +605,81 @@ Localization.define('pl_PL') do |l|
550
605
  l.store "Content Type was successfully updated.", "Typ zawartości został pomyślnie zaktualizowany."
551
606
  l.store "Error occurred while updating Content Type.", "Wystąpił błąd w trakcie aktualizacji typu zawartości."
552
607
  l.store "complete", "zakończony"
608
+
609
+ #vendor/plugins/xml_sidebar/views/content.rhtml
610
+ l.store 'Articles feed', 'Artykuły RSS'
611
+ l.store 'Comments feed', 'Komentarze RSS'
612
+ l.store 'Trackbacks feed', 'Trackbacki RSS' # FIXME This translation could be better?
613
+ l.store 'Articles', 'Artykuły'
614
+ l.store 'Comments', 'Komentarze'
615
+ l.store 'Trackbacks', 'Trackbacki' # FIXME
616
+
617
+ #vendor/plugins/category_sidebar/views/content.rhtml
618
+ l.store 'Categories', 'Kategorie'
619
+
620
+ #app/helpers/articles_helper.rb
621
+ l.store 'Posted in', 'Opublikowano w'
622
+ l.store 'posted in', 'opublikowano w'
623
+
624
+ #articles/_comment_box.rhtml
625
+ l.store 'submit', 'Prześlij'
626
+
627
+ #vendor/plugins/will-paginate
628
+ l.store "Previous", "Poprzednie"
629
+ l.store "Next", "Następne"
630
+
631
+ # Other, Not sorted
632
+ l.store "Search", "Szukaj"
633
+ l.store "Date", "Data"
634
+ l.store "Log out", "Wyloguj"
635
+
636
+ # Taken from the es_MX translation.
637
+
638
+ #app/helpers/application_helper.rb
639
+ l.store 'no', 'nie'
640
+ l.store 'comment', 'komentarz'
641
+ l.store 'comments', 'komentarze'
642
+ l.store 'trackback', '' # FIXME
643
+ l.store 'trackbacki', ''
644
+ l.store 'less than', 'mniej niż'
645
+ l.store 'a minute', 'minuta'
646
+ l.store 'second', 'sekunda'
647
+ l.store 'seconds', 'sekundy'
648
+ l.store 'minute', 'minuta'
649
+ l.store 'minutes', 'minuty'
650
+ l.store 'hour', 'godzina'
651
+ l.store 'hours', 'godziny'
652
+ l.store '20 seconds', '20 sekund'
653
+ l.store 'half a minute', 'pół minuty'
654
+ l.store 'about', 'o' # FIXME
655
+ l.store '1 hour', 'jedna godzina'
656
+ l.store '1 minute', 'jedna minuta'
657
+ l.store '1 day', 'jeden dzień'
658
+ l.store '1 year', 'jeden rok'
659
+ l.store '1 month', 'jeden miesiąc'
660
+ l.store 'day', 'dzień'
661
+ l.store 'days', 'dni'
662
+ l.store 'month', 'miesiąc'
663
+ l.store 'months', 'miesiące'
664
+ l.store 'year', 'rok'
665
+ l.store 'years', 'lata'
666
+ l.store 'over', 'ponad'
667
+ l.store 'ago', 'temu'
668
+
669
+ # TODO: How to make this work? Why is it not working.
670
+ # All Javascript strings go here, with the js_ prefix (only needed in this file)
671
+ l.store 'js_hour', 'godzina'
672
+ l.store 'js_minute', 'minuta'
673
+ l.store 'js_hours', 'godziny'
674
+ l.store 'js_minutes', 'minuty'
675
+ l.store 'js_days', 'dni'
676
+ l.store 'js_in', 'w'
677
+ l.store 'js_since', 'od'
678
+ l.store 'js_from now', 'od teraz'
679
+ l.store 'js_ago', 'temu'
680
+ l.store 'js_on', ' '
681
+ l.store 'js_less than a minute', 'mniej niż minutę temu'
682
+ l.store 'js_about one hour', 'około godzinę temu'
683
+ l.store 'js_one day', 'jednen dzień'
684
+ l.store 'js_about one day', 'około jednego dnia'
553
685
  end