uploader 0.2.8 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Gemfile +13 -0
- data/README.rdoc +7 -2
- data/Rakefile +3 -3
- data/VERSION +1 -1
- data/app/controllers/uploader/uploads_controller.rb +2 -2
- data/app/helpers/uploader_helper.rb +51 -3
- data/app/views/uploads/_uploadify.html.erb +16 -0
- data/lib/active_record/acts/uploader_upload.rb +7 -6
- data/lib/daemons/amazonaws.rb +1 -1
- data/lib/uploader/middleware/flash_session_cookie_middleware.rb +4 -3
- data/lib/uploader/tasks.rb +1 -1
- data/locales/ar.yml +12 -12
- data/locales/bg.yml +13 -13
- data/locales/ca.yml +13 -13
- data/locales/cs.yml +13 -13
- data/locales/da.yml +8 -8
- data/locales/de.yml +12 -12
- data/locales/el.yml +16 -16
- data/locales/en.yml +2 -2
- data/locales/es.yml +12 -12
- data/locales/et.yml +14 -14
- data/locales/fa.yml +15 -15
- data/locales/fi.yml +14 -14
- data/locales/fr.yml +12 -12
- data/locales/gl.yml +15 -15
- data/locales/hi.yml +15 -15
- data/locales/hr.yml +13 -13
- data/locales/hu.yml +13 -13
- data/locales/id.yml +8 -8
- data/locales/it.yml +16 -16
- data/locales/iw.yml +12 -12
- data/locales/ja.yml +16 -16
- data/locales/ko.yml +13 -13
- data/locales/lt.yml +10 -10
- data/locales/lv.yml +11 -11
- data/locales/mt.yml +13 -13
- data/locales/nl.yml +8 -8
- data/locales/no.yml +8 -8
- data/locales/pl.yml +13 -13
- data/locales/pt-PT.yml +13 -13
- data/locales/ro.yml +13 -13
- data/locales/ru.yml +13 -13
- data/locales/sk.yml +14 -14
- data/locales/sl.yml +13 -13
- data/locales/sq.yml +13 -13
- data/locales/sr.yml +14 -14
- data/locales/sv.yml +6 -6
- data/locales/th.yml +18 -18
- data/locales/tl.yml +11 -11
- data/locales/tr.yml +15 -15
- data/locales/uk.yml +14 -14
- data/locales/vi.yml +12 -12
- data/locales/zh-CN.yml +11 -11
- data/locales/zh-TW.yml +11 -11
- data/locales/zh.yml +11 -11
- data/public/images/{SWFUploadButton.png → swfupload/SWFUploadButton.png} +0 -0
- data/public/images/{cancelbutton.gif → swfupload/cancelbutton.gif} +0 -0
- data/public/images/uploadify/cancel.png +0 -0
- data/public/javascripts/jquery/jquery.uploadify.min.js +26 -0
- data/public/javascripts/swf/swfobject.js +4 -0
- data/public/stylesheets/uploadify.css +53 -0
- data/public/swf/expressInstall.swf +0 -0
- data/public/swf/uploadify.swf +0 -0
- data/rails/init.rb +9 -1
- data/test/rails_root/app/controllers/application_controller.rb +4 -0
- data/test/rails_root/app/controllers/default_controller.rb +5 -0
- data/test/rails_root/app/models/upload.rb +26 -0
- data/test/rails_root/app/models/user.rb +11 -1
- data/test/rails_root/app/views/default/index.html.erb +6 -0
- data/test/rails_root/app/views/default/uploadify.html.erb +17 -0
- data/test/rails_root/config/environment.rb +1 -1
- data/test/rails_root/config/environments/test.rb +2 -8
- data/test/rails_root/config/routes.rb +1 -1
- data/test/rails_root/lib/daemons/amazonaws.rb +1 -1
- data/test/rails_root/public/images/cancelbutton.gif +0 -0
- data/test/rails_root/public/images/swfupload/SWFUploadButton.png +0 -0
- data/test/rails_root/public/images/swfupload/cancelbutton.gif +0 -0
- data/test/rails_root/public/images/uploadify/cancel.png +0 -0
- data/test/rails_root/public/javascripts/jquery/jquery-ui.js +763 -273
- data/test/rails_root/public/javascripts/jquery/jquery.js +150 -15
- data/test/rails_root/public/javascripts/jquery/jquery.uploadify.min.js +26 -0
- data/test/rails_root/public/javascripts/swf/swfobject.js +4 -0
- data/test/rails_root/public/javascripts/swfupload/swfupload.cookies.js +2 -2
- data/test/rails_root/public/javascripts/swfupload/swfupload.js +325 -136
- data/test/rails_root/public/javascripts/swfupload/swfupload.proxy.js +96 -0
- data/test/rails_root/public/javascripts/swfupload/swfupload.queue.js +83 -61
- data/test/rails_root/public/javascripts/swfupload/swfupload.speed.js +346 -0
- data/test/rails_root/public/javascripts/swfupload/swfupload.swfobject.js +4 -3
- data/test/rails_root/public/stylesheets/uploadify.css +53 -0
- data/test/rails_root/public/swf/expressInstall.swf +0 -0
- data/test/rails_root/public/swf/swfupload.swf +0 -0
- data/test/rails_root/public/swf/swfupload_fp9.swf +0 -0
- data/test/rails_root/public/swf/uploadify.swf +0 -0
- data/test/rails_root/test/factories.rb +1 -1
- data/test/rails_root/test/functional/default_controller_test.rb +20 -1
- data/test/rails_root/test/functional/uploads_controller_test.rb +21 -21
- data/test/rails_root/test/test_helper.rb +0 -1
- data/test/rails_root/test/unit/upload_test.rb +131 -32
- data/uploader.gemspec +28 -8
- metadata +31 -10
- data/locales/pt.yml +0 -17
data/Gemfile
ADDED
data/README.rdoc
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Uploader makes it easy to integrate multiple file uploads into your application using SWFUpload
|
|
4
4
|
|
|
5
|
+
== ----NOTES----
|
|
6
|
+
SWFUpload hasn't been updated in a while. Uploader 0.2.8 has been updated with the latest beta version of SWFUpload but it appears to have errors in some instances.
|
|
7
|
+
Version 0.2.8 will be the last version to use swfupload.
|
|
8
|
+
|
|
9
|
+
We are currently working on a new upload gem that will use pupload
|
|
5
10
|
|
|
6
11
|
== Installation
|
|
7
12
|
|
|
@@ -247,13 +252,13 @@ If you want to use a different model or several models just add a rake task to y
|
|
|
247
252
|
desc 'Send all uploads to S3. (Will only send uploads from a model named Upload)'
|
|
248
253
|
task :upload_to_s3 do
|
|
249
254
|
|
|
250
|
-
uploads = Upload.
|
|
255
|
+
uploads = Upload.pending_s3_migrations
|
|
251
256
|
uploads.each do |upload|
|
|
252
257
|
upload.remote = upload.local
|
|
253
258
|
upload.save!
|
|
254
259
|
end
|
|
255
260
|
|
|
256
|
-
photos = Photo.
|
|
261
|
+
photos = Photo.pending_s3_migrations
|
|
257
262
|
photos.each do |photo|
|
|
258
263
|
photo.remote = photo.local
|
|
259
264
|
photo.save!
|
data/Rakefile
CHANGED
|
@@ -32,11 +32,11 @@ begin
|
|
|
32
32
|
require 'jeweler'
|
|
33
33
|
Jeweler::Tasks.new do |gemspec|
|
|
34
34
|
gemspec.name = "uploader"
|
|
35
|
-
gemspec.summary = "SWFUpload + Paperclip wrapped in an engine with love."
|
|
35
|
+
gemspec.summary = "Uploadify, SWFUpload + Paperclip wrapped in an engine with love."
|
|
36
36
|
gemspec.email = "justinball@gmail.com"
|
|
37
37
|
gemspec.homepage = "http://github.com/jbasdf/uploader"
|
|
38
|
-
gemspec.description = "Uploader gem that makes it simple add multiple file uploads to your Rails project using SWFUpload and Paperclip"
|
|
39
|
-
gemspec.authors = ["Justin Ball", "David South"]
|
|
38
|
+
gemspec.description = "Uploader gem that makes it simple add multiple file uploads to your Rails project using SWFUpload, Uploadify and Paperclip"
|
|
39
|
+
gemspec.authors = ["Justin Ball", "Joel Duffin", "David South"]
|
|
40
40
|
gemspec.files.include %w( test/rails_root/db/schema.rb )
|
|
41
41
|
gemspec.rubyforge_project = 'uploader'
|
|
42
42
|
gemspec.add_dependency "mime-types"
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
1.0.0
|
|
@@ -34,12 +34,12 @@ class Uploader::UploadsController < ApplicationController
|
|
|
34
34
|
end
|
|
35
35
|
end
|
|
36
36
|
|
|
37
|
-
def
|
|
37
|
+
def multiupload
|
|
38
38
|
@upload = Upload.new
|
|
39
39
|
@upload.is_public = true if params[:is_public] == true
|
|
40
40
|
@upload.creator = get_creator
|
|
41
41
|
@upload.uploadable = @parent
|
|
42
|
-
@upload.
|
|
42
|
+
@upload.multiupload_local = params[:Filedata]
|
|
43
43
|
@upload.save!
|
|
44
44
|
respond_to do |format|
|
|
45
45
|
format.js { render :text => get_upload_text(@upload) }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
module UploaderHelper
|
|
2
2
|
|
|
3
|
-
# Output a form capable of uploading files to the server.
|
|
3
|
+
# Output a form capable of uploading files to the server using swfupload.
|
|
4
4
|
# parent: The object to which the uploads will be attached
|
|
5
5
|
# display_upload_indicators: Indicates whether or not to show the upload progress
|
|
6
6
|
# container_prefix: Prefixes each id in the html with the specified text. Useful if there is to be more than one form on a page.
|
|
@@ -23,9 +23,57 @@ module UploaderHelper
|
|
|
23
23
|
:options => options}
|
|
24
24
|
end
|
|
25
25
|
|
|
26
|
+
# Output a form capable of uploading multiple files to the server using uploadify.
|
|
27
|
+
# parent: The object to which the uploads will be attached
|
|
28
|
+
# display_upload_indicators: Indicates whether or not to show the upload progress
|
|
29
|
+
# container_prefix: Prefixes each id in the html with the specified text. Useful if there is to be more than one form on a page.
|
|
30
|
+
# Options is a hash containing any valid option for uploadify:
|
|
31
|
+
# http://www.uploadify.com/documentation/
|
|
32
|
+
def uploadify_form(parent, display_upload_indicators = true, container_prefix = '', options = {})
|
|
33
|
+
container_prefix = 'uploadify' if container_prefix.blank?
|
|
34
|
+
|
|
35
|
+
uploadify_options = {
|
|
36
|
+
:uploader => '/swf/uploadify.swf',
|
|
37
|
+
:script => new_upload_path_with_parent_information(parent),
|
|
38
|
+
:cancelImg => '/images/uploadify/cancel.png',
|
|
39
|
+
:fileDesc => "All Files",
|
|
40
|
+
:fileExt => "*.*",
|
|
41
|
+
:auto => true,
|
|
42
|
+
:multi => true,
|
|
43
|
+
:buttonText => 'Upload',
|
|
44
|
+
:scriptData => {
|
|
45
|
+
'_http_accept' => 'application/javascript',
|
|
46
|
+
'_method' => 'post',
|
|
47
|
+
"#{session_key}" => 'session_key_replace_',
|
|
48
|
+
'authenticity_token' => 'authenticity_token_replace_'
|
|
49
|
+
}
|
|
50
|
+
}.merge(options)
|
|
51
|
+
|
|
52
|
+
uploadify_options_json = uploadify_options.to_json
|
|
53
|
+
# This is a bit of a hack but to_json will surround 'encodeURIComponent' with quotes so it won't execute.
|
|
54
|
+
# We need it to execute. The double encode is required - u on the server and encodeURIComponent on the client.
|
|
55
|
+
uploadify_options_json.gsub!('"session_key_replace_"', "encodeURIComponent('#{u(cookies[session_key])}')")
|
|
56
|
+
uploadify_options_json.gsub!('"authenticity_token_replace_"', "encodeURIComponent('#{u(form_authenticity_token)}')")
|
|
57
|
+
|
|
58
|
+
render :partial => 'uploads/uploadify', :locals => { :parent => parent,
|
|
59
|
+
:container_prefix => container_prefix,
|
|
60
|
+
:uploadify_options => uploadify_options_json}
|
|
61
|
+
end
|
|
62
|
+
|
|
26
63
|
def new_upload_path_with_session_information(upload_parent, format = 'js')
|
|
27
|
-
session_key
|
|
28
|
-
|
|
64
|
+
multiupload_uploads_path({:format => format, :session_key => cookies[session_key], :request_forgery_protection_token => form_authenticity_token}.merge(make_parent_params(upload_parent)))
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
def new_upload_path_with_parent_information(upload_parent, format = 'js')
|
|
68
|
+
multiupload_uploads_path({:format => format}.merge(make_parent_params(upload_parent)))
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
def session_key
|
|
72
|
+
if defined?(Rails.application)
|
|
73
|
+
Rails.application.config.session_options[:key]
|
|
74
|
+
else
|
|
75
|
+
ActionController::Base.session_options[:key]
|
|
76
|
+
end
|
|
29
77
|
end
|
|
30
78
|
|
|
31
79
|
def make_parent_params(parent)
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<% if !defined?(@uploadify_scripts_included) -%>
|
|
2
|
+
<% @uploadify_scripts_included = true -%>
|
|
3
|
+
<% content_for :head do -%>
|
|
4
|
+
<%= javascript_include_tag %w{ jquery/jquery.uploadify.min.js swf/swfobject.js }, :cache => 'uploadify_cached' %>
|
|
5
|
+
<%= stylesheet_link_tag 'uploadify' %>
|
|
6
|
+
<% end -%>
|
|
7
|
+
<% end -%>
|
|
8
|
+
|
|
9
|
+
<% form_for :upload, :url => uploads_path(make_parent_params(parent)), :html => { :multipart => true, :id => container_prefix } do |f| -%>
|
|
10
|
+
<p><%= f.file_field :local, :size => 25 %></p>
|
|
11
|
+
<%= submit_tag t('uploader.upload_file') %>
|
|
12
|
+
<% end %>
|
|
13
|
+
|
|
14
|
+
<script type='text/javascript'>
|
|
15
|
+
jQuery('form#<%=container_prefix%>').uploadify(<%=uploadify_options%>);
|
|
16
|
+
</script>
|
|
@@ -22,17 +22,18 @@ module ActiveRecord
|
|
|
22
22
|
def acts_as_uploader(options)
|
|
23
23
|
|
|
24
24
|
#Named scopes
|
|
25
|
-
named_scope :
|
|
26
|
-
named_scope :
|
|
27
|
-
named_scope :
|
|
25
|
+
named_scope :newest, :order => "created_at DESC"
|
|
26
|
+
named_scope :by_filename, :order => "local_file_name DESC"
|
|
27
|
+
named_scope :newest, :order => "created_at DESC"
|
|
28
28
|
named_scope :public, :conditions => 'is_public = true'
|
|
29
29
|
named_scope :images, :conditions => "local_content_type IN (#{Uploader::MimeTypeGroups::IMAGE_TYPES.collect{|type| "'#{type}'"}.join(',')})"
|
|
30
30
|
named_scope :documents, :conditions => "local_content_type IN (#{(Uploader::MimeTypeGroups::WORD_TYPES + Uploader::MimeTypeGroups::EXCEL_TYPES + Uploader::MimeTypeGroups::PDF_TYPES).collect{|type| "'#{type}'"}.join(',')})"
|
|
31
31
|
named_scope :files, :conditions => "local_content_type NOT IN (#{Uploader::MimeTypeGroups::IMAGE_TYPES.collect{|type| "'#{type}'"}.join(',')})"
|
|
32
|
-
named_scope :
|
|
32
|
+
named_scope :recent, lambda { |*args| { :conditions => ["created_at > ?", (args.first || 7.days.ago.to_s(:db)) ]} }
|
|
33
33
|
named_scope :created_by, lambda { |*args| { :conditions => ["creator_id = ?", (args.first) ]} }
|
|
34
|
-
named_scope :
|
|
34
|
+
named_scope :pending_s3_migrations, lambda { { :conditions => ["remote_file_name IS NULL"], :order => 'created_at DESC' } }
|
|
35
35
|
|
|
36
|
+
|
|
36
37
|
# Paperclip
|
|
37
38
|
has_attached_file :local, options[:has_attached_file].merge(:storage => :filesystem) # Override any storage settings. This one has to be local.
|
|
38
39
|
has_attached_file :remote, options[:has_attached_file].merge(:url => ':s3_alias_url',
|
|
@@ -85,7 +86,7 @@ module ActiveRecord
|
|
|
85
86
|
end
|
|
86
87
|
end
|
|
87
88
|
|
|
88
|
-
def
|
|
89
|
+
def multiupload_local=(filedata)
|
|
89
90
|
filedata.content_type = MIME::Types.type_for(filedata.original_filename)[0].to_s
|
|
90
91
|
self.local = filedata
|
|
91
92
|
end
|
data/lib/daemons/amazonaws.rb
CHANGED
|
@@ -8,10 +8,11 @@ module Uploader
|
|
|
8
8
|
end
|
|
9
9
|
def call(env)
|
|
10
10
|
if env['HTTP_USER_AGENT'] =~ /^(Adobe|Shockwave) Flash/
|
|
11
|
-
|
|
12
|
-
env['HTTP_COOKIE'] = [ @session_key, params[@session_key] ].join('=').freeze unless params[@session_key].nil?
|
|
11
|
+
req = Rack::Request.new(env)
|
|
12
|
+
env['HTTP_COOKIE'] = [ @session_key, req.params[@session_key] ].join('=').freeze unless req.params[@session_key].nil?
|
|
13
|
+
env['HTTP_ACCEPT'] = "#{req.params['_http_accept']}".freeze unless req.params['_http_accept'].nil?
|
|
13
14
|
end
|
|
14
15
|
@app.call(env)
|
|
15
16
|
end
|
|
16
17
|
end
|
|
17
|
-
end
|
|
18
|
+
end
|
data/lib/uploader/tasks.rb
CHANGED
|
@@ -18,7 +18,7 @@ module Uploader
|
|
|
18
18
|
|
|
19
19
|
desc 'Send all uploads to S3. (Will only send uploads from a model named Upload)'
|
|
20
20
|
task :upload_to_s3 do
|
|
21
|
-
uploads = Upload.
|
|
21
|
+
uploads = Upload.pending_s3_migrations
|
|
22
22
|
uploads.each do |upload|
|
|
23
23
|
upload.remote = upload.local
|
|
24
24
|
upload.save!
|
data/locales/ar.yml
CHANGED
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
ar:
|
|
3
3
|
uploader:
|
|
4
4
|
cancel_all: "إلغاء جميع الاحصائيات"
|
|
5
|
-
file_delete_permission_denied: "
|
|
6
|
-
file_deleted: "
|
|
5
|
+
file_delete_permission_denied: "لا يوجد لديك الإذن لحذف هذا الملف."
|
|
6
|
+
file_deleted: "حذف ملف"
|
|
7
7
|
file_upload_error: "حدث خطأ أثناء تحميل الملف."
|
|
8
|
-
javascript_not_enabled: "نحن آسفون.
|
|
8
|
+
javascript_not_enabled: "نحن آسفون. يمكن أن يتم تحميل SWFUpload. يجب أن يكون جافا سكريبت لتتمكن من التمتع SWFUpload."
|
|
9
9
|
manage_files: "إدارة الملفات"
|
|
10
|
-
manage_photos_files: "إدارة
|
|
11
|
-
missing_parent_id_error: "
|
|
10
|
+
manage_photos_files: "إدارة الصور / الملفات"
|
|
11
|
+
missing_parent_id_error: "الرجاء تحديد الكائن الأصل"
|
|
12
12
|
permission_denied: "ليس لديك إذن لإكمال هذا الإجراء."
|
|
13
|
-
show_degraded_container: "استخدام رافع
|
|
14
|
-
show_swfupload_container: "استخدام متعدد
|
|
15
|
-
standard_file_upload_error: "حدث خطأ أثناء تحميل الملف : {
|
|
16
|
-
successful_upload: "
|
|
13
|
+
show_degraded_container: "استخدام معيار رافع"
|
|
14
|
+
show_swfupload_container: "استخدام متعدد رافع الملف. (يتطلب فلاش)"
|
|
15
|
+
standard_file_upload_error: "حدث خطأ أثناء تحميل الملف : %{error}. الرجاء التأكد من أن الملف هو صالح. تحقق للتأكد من أن الملف ليس فارغا. ثم حاول مرة أخرى."
|
|
16
|
+
successful_upload: "تم الرفع بنجاح الملف."
|
|
17
17
|
swf_loading: "SWFUpload يتم تحميل. يرجى الانتظار قليلا..."
|
|
18
|
-
swf_not_loading: "نحن آسفون.
|
|
19
|
-
swf_taking_to_long: "SWFUpload وقتا طويلا
|
|
20
|
-
upload_file: "
|
|
18
|
+
swf_not_loading: "نحن آسفون. يمكن أن يتم تحميل SWFUpload. قد تحتاج إلى تثبيت أو ترقية فلاش لاعب. زيارة %{url} للحصول على فلاش لاعب."
|
|
19
|
+
swf_taking_to_long: "SWFUpload يأخذ وقتا طويلا للتحميل أو تحميل قد فشلت. الرجاء التأكد من أن يتم تمكين البرنامج المساعد فلاش والتي يتم تثبيتها على إصدار عمل أدوبي فلاش لاعب."
|
|
20
|
+
upload_file: "تحميل ملف"
|
|
21
21
|
upload_files: "تحميل ملفات"
|
data/locales/bg.yml
CHANGED
|
@@ -3,19 +3,19 @@ bg:
|
|
|
3
3
|
uploader:
|
|
4
4
|
cancel_all: "Отмени всички качвания"
|
|
5
5
|
file_delete_permission_denied: "Вие нямате право да изтриете този файл."
|
|
6
|
-
file_deleted: "
|
|
6
|
+
file_deleted: "Изтрити файлове"
|
|
7
7
|
file_upload_error: "Възникна грешка при качването на файла."
|
|
8
|
-
javascript_not_enabled: "Съжаляваме. SWFUpload не
|
|
8
|
+
javascript_not_enabled: "Съжаляваме. SWFUpload не може да зареди. Трябва да имате ДжаваСкрипт поддръжка за да ползват SWFUpload."
|
|
9
9
|
manage_files: "Управление на файлове"
|
|
10
|
-
manage_photos_files: "Управление
|
|
11
|
-
missing_parent_id_error: "Моля, посочете обект майка"
|
|
12
|
-
permission_denied: "Вие нямате право да
|
|
13
|
-
show_degraded_container: "
|
|
14
|
-
show_swfupload_container: "
|
|
15
|
-
standard_file_upload_error: "Възникна грешка при качването на файла: {
|
|
10
|
+
manage_photos_files: "Управление на снимки / файлове"
|
|
11
|
+
missing_parent_id_error: "Моля, посочете един обект майка"
|
|
12
|
+
permission_denied: "Вие нямате право да извърши съответното действие."
|
|
13
|
+
show_degraded_container: "Използват се стандартни качване"
|
|
14
|
+
show_swfupload_container: "Използвайте няколко файла за качване. (Изисква Flash)"
|
|
15
|
+
standard_file_upload_error: "Възникна грешка при качването на файла: %{error}. Моля, уверете се, че файлът е валиден. Проверете дали файлът не е празна. След това опитайте отново."
|
|
16
16
|
successful_upload: "Успешно качен файл."
|
|
17
|
-
swf_loading: "SWFUpload се зарежда. Моля, изчакайте
|
|
18
|
-
swf_not_loading: "Съжаляваме. SWFUpload не
|
|
19
|
-
swf_taking_to_long: "SWFUpload е необходимо много
|
|
20
|
-
upload_file: "Качване на
|
|
21
|
-
upload_files: "
|
|
17
|
+
swf_loading: "SWFUpload се зарежда. Моля, изчакайте един момент ..."
|
|
18
|
+
swf_not_loading: "Съжаляваме. SWFUpload не може да зареди. Може да се наложи да инсталирате или ъпгрейд Flash Player. Посетете %{url} да получите Player Flash."
|
|
19
|
+
swf_taking_to_long: "SWFUpload е необходимо много време да се зареди или ако товарът е неуспешно. Моля, уверете се, че Flash Plug-in е активирана и че работна версия на Adobe Flash Player е инсталиран."
|
|
20
|
+
upload_file: "Качване на файл"
|
|
21
|
+
upload_files: "Качване на файлове"
|
data/locales/ca.yml
CHANGED
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
ca:
|
|
3
3
|
uploader:
|
|
4
4
|
cancel_all: "Cancel tots els fitxers enviats"
|
|
5
|
-
file_delete_permission_denied: "
|
|
6
|
-
file_deleted: "
|
|
5
|
+
file_delete_permission_denied: "No té permís per eliminar aquest arxiu."
|
|
6
|
+
file_deleted: "Suprimit arxiu"
|
|
7
7
|
file_upload_error: "S'ha produït un error en carregar l'arxiu."
|
|
8
|
-
javascript_not_enabled: "Ho sentim. SWFUpload no va poder carregar. Vostè ha de tenir Javascript per poder gaudir de SWFUpload."
|
|
8
|
+
javascript_not_enabled: "Ho sentim. SWFUpload no es va poder carregar. Vostè ha de tenir Javascript per poder gaudir de SWFUpload."
|
|
9
9
|
manage_files: "Administrar arxius"
|
|
10
|
-
manage_photos_files: "Manejar
|
|
10
|
+
manage_photos_files: "Manejar fotos / arxius"
|
|
11
11
|
missing_parent_id_error: "Si us plau, especifiqueu un objecte primari"
|
|
12
|
-
permission_denied: "Vostè no té permís per
|
|
13
|
-
show_degraded_container: "
|
|
14
|
-
show_swfupload_container: "Utilitzeu múltiples
|
|
15
|
-
standard_file_upload_error: "S'ha produït un error en carregar l'arxiu: {
|
|
16
|
-
successful_upload: "
|
|
12
|
+
permission_denied: "Vostè no té permís per realitzar aquesta acció."
|
|
13
|
+
show_degraded_container: "L'ús estàndard de carregador"
|
|
14
|
+
show_swfupload_container: "Utilitzeu múltiples fitxers uploader. (Requereix Flash)"
|
|
15
|
+
standard_file_upload_error: "S'ha produït un error en carregar l'arxiu: %{error}. Assegureu-vos que l'arxiu és vàlid. Comproveu que l'arxiu no està buit. A continuació, proveu de nou."
|
|
16
|
+
successful_upload: "Carregat correctament l'arxiu."
|
|
17
17
|
swf_loading: "SWFUpload s'està carregant. Si us plau, espereu un moment ..."
|
|
18
|
-
swf_not_loading: "Ho sentim. SWFUpload no va poder carregar.
|
|
19
|
-
swf_taking_to_long: "SWFUpload està prenent
|
|
20
|
-
upload_file:
|
|
21
|
-
upload_files:
|
|
18
|
+
swf_not_loading: "Ho sentim. SWFUpload no es va poder carregar. Podria ser necessari instal lar o actualitzar Flash Player. Visiteu el %{url} per obtenir el Flash Player."
|
|
19
|
+
swf_taking_to_long: "SWFUpload està prenent molt de temps per carregar o la càrrega ha fallat. Assegureu-vos que el plugin de Flash està habilitada i que una versió de treball d'Adobe Flash Player està instal lat."
|
|
20
|
+
upload_file: "Pujar Arxiu"
|
|
21
|
+
upload_files: Carregar
|
data/locales/cs.yml
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
---
|
|
2
2
|
cs:
|
|
3
3
|
uploader:
|
|
4
|
-
cancel_all: "Zrušit
|
|
5
|
-
file_delete_permission_denied: "Nemáte
|
|
4
|
+
cancel_all: "Zrušit všech uploadů"
|
|
5
|
+
file_delete_permission_denied: "Nemáte oprávnění smazat tento soubor."
|
|
6
6
|
file_deleted: "Smazaný soubor"
|
|
7
|
-
file_upload_error: "
|
|
8
|
-
javascript_not_enabled: "Je nám líto. SWFUpload
|
|
7
|
+
file_upload_error: "Vyskytla se chyba při nahrávání souboru."
|
|
8
|
+
javascript_not_enabled: "Je nám líto. SWFUpload nepodařilo načíst. Musíte mít povolen JavaScript těšit SWFUpload."
|
|
9
9
|
manage_files: "Správa souborů"
|
|
10
|
-
manage_photos_files: "Správa Fotografie /
|
|
11
|
-
missing_parent_id_error: "
|
|
10
|
+
manage_photos_files: "Správa Fotografie / Archiv"
|
|
11
|
+
missing_parent_id_error: "Zadejte prosím rodiče objektu"
|
|
12
12
|
permission_denied: "Nemáte oprávnění k dokončení této akce."
|
|
13
|
-
show_degraded_container: "
|
|
14
|
-
show_swfupload_container: "
|
|
15
|
-
standard_file_upload_error: "
|
|
13
|
+
show_degraded_container: "Použijte standardní přesouvat"
|
|
14
|
+
show_swfupload_container: "Používejte více-uploader souboru. (Vyžaduje Flash)"
|
|
15
|
+
standard_file_upload_error: "Vyskytla se chyba při nahrávání souboru: %{error}. Ujistěte se, že soubor je platný. Zkontrolujte, zda soubor není prázdný. Pak zkuste to znovu."
|
|
16
16
|
successful_upload: "Úspěšně uploadovaný soubor."
|
|
17
|
-
swf_loading: "SWFUpload se
|
|
18
|
-
swf_not_loading: "Je nám líto. SWFUpload
|
|
19
|
-
swf_taking_to_long: "SWFUpload
|
|
20
|
-
upload_file: "
|
|
17
|
+
swf_loading: "SWFUpload se načítá. Počkejte prosím chvíli ..."
|
|
18
|
+
swf_not_loading: "Je nám líto. SWFUpload nepodařilo načíst. Možná budete muset nainstalovat nebo aktualizovat Flash Player. Navštivte %{url} dostat Flash Player."
|
|
19
|
+
swf_taking_to_long: "SWFUpload trvá dlouho zatížení nebo zatížení selhala. Prosím, ujistěte se, že Flash Plugin je povoleno, a že pracovní verzi Adobe Flash Player je nainstalován."
|
|
20
|
+
upload_file: "Upload souborů"
|
|
21
21
|
upload_files: "Upload souborů"
|
data/locales/da.yml
CHANGED
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
da:
|
|
3
3
|
uploader:
|
|
4
4
|
cancel_all: "Annuller Alle Uploads"
|
|
5
|
-
file_delete_permission_denied: "Du har ikke tilladelse til at slette
|
|
5
|
+
file_delete_permission_denied: "Du har ikke tilladelse til at slette den pågældende fil."
|
|
6
6
|
file_deleted: "Slettet fil"
|
|
7
7
|
file_upload_error: "Der opstod en fejl under overførsel af filen."
|
|
8
8
|
javascript_not_enabled: "Vi beklager. SWFUpload kunne ikke indlæse. Du skal have Javascript aktiveret for at nyde SWFUpload."
|
|
9
|
-
manage_files: "
|
|
10
|
-
manage_photos_files: "Administrer
|
|
9
|
+
manage_files: "Administrer filer"
|
|
10
|
+
manage_photos_files: "Administrer Fotos / Files"
|
|
11
11
|
missing_parent_id_error: "Angiv en forælder objekt"
|
|
12
12
|
permission_denied: "Du har ikke tilladelse til at fuldføre denne handling."
|
|
13
13
|
show_degraded_container: "Brug standard uploader"
|
|
14
|
-
show_swfupload_container: "Brug
|
|
15
|
-
standard_file_upload_error: "Der opstod en fejl under
|
|
14
|
+
show_swfupload_container: "Brug flere fil uploader. (Kræver Flash)"
|
|
15
|
+
standard_file_upload_error: "Der opstod en fejl under upload af filen: %{error}. Sørg for, at filen er gyldig. Kontroller, at filen ikke er tom. Prøv derefter igen."
|
|
16
16
|
successful_upload: "Uploadet fil."
|
|
17
17
|
swf_loading: "SWFUpload indlæses. Vent et øjeblik ..."
|
|
18
|
-
swf_not_loading: "Vi beklager. SWFUpload kunne ikke indlæse. Du skal muligvis installere eller opgradere Flash Player. Besøg {
|
|
19
|
-
swf_taking_to_long: "SWFUpload tager lang tid at
|
|
20
|
-
upload_file: "Upload
|
|
18
|
+
swf_not_loading: "Vi beklager. SWFUpload kunne ikke indlæse. Du skal muligvis installere eller opgradere Flash Player. Besøg %{url} at få Flash Player."
|
|
19
|
+
swf_taking_to_long: "SWFUpload tager lang tid at hente eller last mislykkedes. Vær sikker på, at Flash-plugin er aktiveret, og at en arbejdsgruppe version af Adobe Flash Player er installeret."
|
|
20
|
+
upload_file: "Upload File"
|
|
21
21
|
upload_files: "Upload filer"
|
data/locales/de.yml
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
---
|
|
2
2
|
de:
|
|
3
3
|
uploader:
|
|
4
|
-
cancel_all: "
|
|
5
|
-
file_delete_permission_denied: "Sie haben keine Berechtigung,
|
|
4
|
+
cancel_all: "Abbrechen Alle Uploads"
|
|
5
|
+
file_delete_permission_denied: "Sie haben keine Berechtigung, um die Datei zu löschen."
|
|
6
6
|
file_deleted: "Gelöschte Datei"
|
|
7
7
|
file_upload_error: "Fehler beim Hochladen der Datei."
|
|
8
|
-
javascript_not_enabled: "Es tut uns leid. SWFUpload konnte nicht geladen werden. Sie müssen JavaScript aktivieren, damit Sie genießen
|
|
8
|
+
javascript_not_enabled: "Es tut uns leid. SWFUpload konnte nicht geladen werden. Sie müssen JavaScript aktivieren, damit Sie SWFUpload genießen."
|
|
9
9
|
manage_files: "Dateien verwalten"
|
|
10
|
-
manage_photos_files: "Fotos verwalten /
|
|
11
|
-
missing_parent_id_error: "Bitte geben Sie
|
|
12
|
-
permission_denied: "Sie haben
|
|
10
|
+
manage_photos_files: "Fotos verwalten / Dateien"
|
|
11
|
+
missing_parent_id_error: "Bitte geben Sie ein übergeordnetes Objekt"
|
|
12
|
+
permission_denied: "Sie haben keine Berechtigung, diese Aktion abzuschließen."
|
|
13
13
|
show_degraded_container: "Verwenden Sie Standard-Uploader"
|
|
14
|
-
show_swfupload_container: "Verwenden Sie mehrere Datei
|
|
15
|
-
standard_file_upload_error: "Fehler beim Hochladen der Datei: {
|
|
16
|
-
successful_upload: "Erfolgreich
|
|
14
|
+
show_swfupload_container: "Verwenden Sie mehrere Uploader-Datei. (Benötigt Flash)"
|
|
15
|
+
standard_file_upload_error: "Fehler beim Hochladen der Datei: %{error}. Bitte stellen Sie sicher, dass die Datei gültig ist. Überprüfen Sie, ob Sie die Datei nicht leer ist. Dann versuchen Sie es erneut."
|
|
16
|
+
successful_upload: "Erfolgreich hochgeladene Datei."
|
|
17
17
|
swf_loading: "SWFUpload wird geladen. Bitte einen Moment warten ..."
|
|
18
|
-
swf_not_loading: "Es tut uns leid. SWFUpload konnte nicht geladen werden. Möglicherweise müssen Sie
|
|
19
|
-
swf_taking_to_long: "SWFUpload
|
|
18
|
+
swf_not_loading: "Es tut uns leid. SWFUpload konnte nicht geladen werden. Möglicherweise müssen Sie installieren oder aktualisieren Flash Player. Besuchen Sie die %{url}, um die Flash Player."
|
|
19
|
+
swf_taking_to_long: "SWFUpload nimmt eine lange Zeit zu laden oder die Last ist fehlgeschlagen. Bitte stellen Sie sicher, dass das Flash-Plugin aktiviert ist und dass eine funktionierende Version des Adobe Flash Player installiert ist."
|
|
20
20
|
upload_file: "Upload File"
|
|
21
|
-
upload_files: "Dateien
|
|
21
|
+
upload_files: "Upload von Dateien"
|
data/locales/el.yml
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
---
|
|
2
2
|
el:
|
|
3
3
|
uploader:
|
|
4
|
-
cancel_all: "
|
|
5
|
-
file_delete_permission_denied: "Δεν έχετε
|
|
4
|
+
cancel_all: "Ακύρωση όλων των Uploads"
|
|
5
|
+
file_delete_permission_denied: "Δεν έχετε άδεια για να διαγράψετε το αρχείο."
|
|
6
6
|
file_deleted: "Διαγράφεται αρχείο"
|
|
7
|
-
file_upload_error: "
|
|
8
|
-
javascript_not_enabled: "
|
|
9
|
-
manage_files: "
|
|
7
|
+
file_upload_error: "Προέκυψε σφάλμα κατά τη μεταφόρτωση του αρχείου."
|
|
8
|
+
javascript_not_enabled: "Λυπούμαστε. SWFUpload δε μπορεί να φορτώσει. Θα πρέπει να έχετε ενεργοποιημένη τη Javascript για να απολαύσετε SWFUpload."
|
|
9
|
+
manage_files: "Διαχείριση Αρχείων"
|
|
10
10
|
manage_photos_files: "Διαχειριστείτε Φωτογραφίες / Αρχεία"
|
|
11
|
-
missing_parent_id_error: "
|
|
12
|
-
permission_denied: "Δεν έχετε
|
|
13
|
-
show_degraded_container: "
|
|
14
|
-
show_swfupload_container: "Χρήση πολλαπλών αρχείων uploader. (
|
|
15
|
-
standard_file_upload_error: "
|
|
16
|
-
successful_upload: "Επιτυχώς
|
|
17
|
-
swf_loading: "SWFUpload φορτώνει.
|
|
18
|
-
swf_not_loading: "
|
|
19
|
-
swf_taking_to_long: "SWFUpload παίρνει πολύ χρόνο για να φορτώσει ή
|
|
20
|
-
upload_file: "
|
|
21
|
-
upload_files: "
|
|
11
|
+
missing_parent_id_error: "Προσδιορίστε ένα γονικό αντικείμενο"
|
|
12
|
+
permission_denied: "Δεν έχετε άδεια για να ολοκληρώσει τη δράση αυτή."
|
|
13
|
+
show_degraded_container: "Χρησιμοποιήστε το πρότυπο uploader"
|
|
14
|
+
show_swfupload_container: "Χρήση πολλαπλών αρχείων uploader. (Απαιτεί Flash)"
|
|
15
|
+
standard_file_upload_error: "Προέκυψε σφάλμα κατά τη μεταφόρτωση του αρχείου: %{error}. Παρακαλώ βεβαιωθείτε ότι το αρχείο είναι έγκυρο. Ελέγξτε για να βεβαιωθείτε ότι το αρχείο δεν είναι κενός. Στη συνέχεια, προσπαθήστε ξανά."
|
|
16
|
+
successful_upload: "Επιτυχώς φορτώθηκε το αρχείο."
|
|
17
|
+
swf_loading: "SWFUpload φορτώνει. Περιμένετε ένα λεπτό ..."
|
|
18
|
+
swf_not_loading: "Λυπούμαστε. SWFUpload δε μπορεί να φορτώσει. Μπορεί να χρειαστεί να εγκαταστήσετε ή να αναβαθμίσετε τον Flash Player. Επισκεφθείτε την %{url} να πάρει το Flash Player."
|
|
19
|
+
swf_taking_to_long: "SWFUpload παίρνει πολύ χρόνο για να φορτώσει ή του φορτίου έχει αποτύχει. Παρακαλώ βεβαιωθείτε ότι το Flash Plugin είναι ενεργοποιημένη και ότι μια λειτουργική έκδοση του Adobe Flash Player είναι εγκατεστημένο."
|
|
20
|
+
upload_file: "Ανέβασμα αρχείου"
|
|
21
|
+
upload_files: "Ανέβασμα Αρχείων"
|