muck-services 0.1.47 → 3.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/.gitignore +2 -1
- data/LICENSE +1 -1
- data/README.rdoc +32 -48
- data/Rakefile +14 -16
- data/VERSION +1 -1
- data/app/controllers/admin/muck/feeds_controller.rb +1 -1
- data/app/controllers/muck/aggregations_controller.rb +4 -6
- data/app/controllers/muck/feed_previews_controller.rb +2 -10
- data/app/controllers/muck/feeds_controller.rb +1 -1
- data/app/controllers/muck/identity_feeds_controller.rb +2 -6
- data/app/controllers/muck/topics_controller.rb +3 -3
- data/app/controllers/muck/visits_controller.rb +3 -3
- data/app/helpers/muck_services_feeds_helper.rb +3 -3
- data/app/helpers/muck_services_service_helper.rb +2 -2
- data/app/models/aggregation.rb +4 -18
- data/app/models/entry.rb +2 -2
- data/app/models/feed.rb +7 -9
- data/app/models/oai_endpoint.rb +6 -6
- data/app/models/personal_recommendation.rb +4 -5
- data/app/models/service.rb +6 -6
- data/app/models/service_category.rb +1 -1
- data/app/models/services_mailer.rb +10 -12
- data/app/views/activity_templates/{_entry_comment.html.erb → _entry_comment.erb} +0 -0
- data/app/views/activity_templates/{_entry_share.html.erb → _entry_share.erb} +0 -0
- data/app/views/admin/feeds/index.html.erb +8 -9
- data/app/views/admin/oai_endpoints/index.html.erb +4 -4
- data/app/views/aggregations/{_feeds.html.erb → _feeds.erb} +0 -0
- data/app/views/aggregations/edit.html.erb +3 -3
- data/app/views/aggregations/index.html.erb +1 -1
- data/app/views/aggregations/new.html.erb +1 -1
- data/app/views/aggregations/preview.html.erb +1 -1
- data/app/views/feed_previews/{new.html.erb → new.erb} +0 -0
- data/app/views/feed_previews/{select_feeds.html.erb → select_feeds.erb} +0 -0
- data/app/views/feeds/_feed.html.erb +1 -1
- data/app/views/feeds/_feed_row.html.erb +1 -1
- data/app/views/feeds/_form.html.erb +2 -2
- data/app/views/feeds/edit.html.erb +2 -2
- data/app/views/feeds/index.html.erb +7 -8
- data/app/views/feeds/new.html.erb +2 -2
- data/app/views/feeds/new_extended.html.erb +2 -2
- data/app/views/feeds/new_oai_rss.html.erb +2 -2
- data/app/views/identity_feeds/{_form.html.erb → _form.erb} +1 -1
- data/app/views/oai_endpoints/_form.html.erb +2 -2
- data/app/views/oai_endpoints/_oai_endpoint_row.html.erb +1 -1
- data/app/views/parts/_add_feed.html.erb +1 -1
- data/app/views/services_mailer/{notification_feed_added.text.html.erb → notification_feed_added.html.erb} +0 -0
- data/app/views/services_mailer/{notification_feed_added.text.plain.erb → notification_feed_added.text.erb} +0 -0
- data/app/views/services_mailer/{notification_oai_endpoint_added.text.html.erb → notification_oai_endpoint_added.html.erb} +0 -0
- data/app/views/services_mailer/{notification_oai_endpoint_added.text.plain.erb → notification_oai_endpoint_added.text.erb} +0 -0
- data/app/views/topics/_form.html.erb +1 -1
- data/app/views/topics/new.html.erb +1 -1
- data/app/views/visits/_toolbar.html.erb +3 -3
- data/{locales → config/locales}/ar.yml +34 -34
- data/{locales → config/locales}/bg.yml +34 -34
- data/{locales → config/locales}/ca.yml +34 -34
- data/{locales → config/locales}/cs.yml +34 -34
- data/{locales → config/locales}/da.yml +34 -34
- data/{locales → config/locales}/de.yml +34 -34
- data/{locales → config/locales}/el.yml +34 -34
- data/{locales → config/locales}/en.yml +34 -36
- data/{locales → config/locales}/es.yml +34 -34
- data/{locales → config/locales}/et.yml +34 -34
- data/{locales → config/locales}/fa.yml +34 -34
- data/{locales → config/locales}/fi.yml +34 -34
- data/{locales → config/locales}/fr.yml +34 -34
- data/{locales → config/locales}/gl.yml +34 -34
- data/{locales → config/locales}/hi.yml +34 -34
- data/{locales → config/locales}/hr.yml +34 -34
- data/{locales → config/locales}/hu.yml +34 -34
- data/{locales → config/locales}/id.yml +34 -34
- data/{locales → config/locales}/it.yml +34 -34
- data/{locales → config/locales}/iw.yml +34 -34
- data/{locales → config/locales}/ja.yml +34 -34
- data/{locales → config/locales}/ko.yml +34 -34
- data/{locales → config/locales}/lt.yml +34 -34
- data/{locales → config/locales}/lv.yml +34 -34
- data/{locales → config/locales}/mt.yml +34 -34
- data/{locales → config/locales}/nl.yml +34 -34
- data/{locales → config/locales}/no.yml +34 -34
- data/{locales → config/locales}/pl.yml +34 -34
- data/{locales → config/locales}/pt-PT.yml +34 -34
- data/{locales → config/locales}/ro.yml +34 -34
- data/{locales → config/locales}/ru.yml +34 -34
- data/{locales → config/locales}/sk.yml +34 -34
- data/{locales → config/locales}/sl.yml +34 -34
- data/{locales → config/locales}/sq.yml +34 -34
- data/{locales → config/locales}/sr.yml +34 -34
- data/{locales → config/locales}/sv.yml +34 -34
- data/{locales → config/locales}/th.yml +34 -34
- data/{locales → config/locales}/tl.yml +34 -34
- data/{locales → config/locales}/tr.yml +34 -34
- data/{locales → config/locales}/uk.yml +34 -34
- data/{locales → config/locales}/vi.yml +34 -34
- data/{locales → config/locales}/zh-CN.yml +34 -34
- data/{locales → config/locales}/zh-TW.yml +34 -34
- data/{locales → config/locales}/zh.yml +34 -34
- data/config/routes.rb +73 -0
- data/lib/muck-services.rb +24 -0
- data/lib/muck-services/config.rb +36 -0
- data/lib/muck-services/engine.rb +32 -0
- data/lib/{muck_services → muck-services}/exceptions.rb +0 -0
- data/lib/{muck_services → muck-services}/languages.rb +0 -0
- data/lib/muck-services/models/aggregation_owner.rb +17 -0
- data/lib/muck-services/models/feed_owner.rb +24 -0
- data/lib/muck-services/models/feed_parent.rb +18 -0
- data/lib/muck-services/models/recommendation.rb +14 -0
- data/lib/muck-services/models/recommendation_owner.rb +15 -0
- data/lib/muck-services/models/services_comment.rb +24 -0
- data/lib/muck-services/models/services_share.rb +18 -0
- data/lib/{muck_services → muck-services}/muck_custom_form_builder.rb +1 -3
- data/lib/{muck_services → muck-services}/services.rb +0 -0
- data/lib/tasks/muck_services.rake +101 -0
- data/muck-services.gemspec +364 -520
- data/test/{rails_root → rails_test}/app/controllers/application_controller.rb +1 -9
- data/test/{rails_root → rails_test}/app/controllers/default_controller.rb +0 -0
- data/test/{rails_root → rails_test}/app/helpers/application_helper.rb +0 -0
- data/test/{rails_root → rails_test}/app/models/activity.rb +1 -1
- data/test/{rails_root → rails_test}/app/models/comment.rb +3 -3
- data/test/rails_test/app/models/country.rb +13 -0
- data/test/rails_test/app/models/language.rb +15 -0
- data/test/{rails_root → rails_test}/app/models/share.rb +3 -3
- data/test/rails_test/app/models/state.rb +13 -0
- data/test/{rails_root → rails_test}/app/models/user.rb +8 -8
- data/test/{rails_root → rails_test}/app/models/user_session.rb +0 -0
- data/test/rails_test/config/application.rb +42 -0
- data/test/rails_test/config/boot.rb +13 -0
- data/test/rails_test/config/environment.rb +5 -0
- data/test/rails_test/config/environments/development.rb +26 -0
- data/test/rails_test/config/environments/production.rb +49 -0
- data/test/rails_test/config/environments/test.rb +35 -0
- data/test/rails_test/config/initializers/backtrace_silencers.rb +7 -0
- data/test/{rails_root → rails_test}/config/initializers/inflections.rb +2 -2
- data/test/rails_test/config/initializers/mce_options.rb +83 -0
- data/test/{rails_root → rails_test}/config/initializers/mime_types.rb +0 -0
- data/test/rails_test/config/initializers/muck.rb +66 -0
- data/test/rails_test/config/initializers/secret_token.rb +7 -0
- data/test/rails_test/config/initializers/session_store.rb +8 -0
- data/test/rails_test/config/routes.rb +12 -0
- data/test/{rails_root → rails_test}/db/migrate/20090320174818_create_muck_permissions_and_roles.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090327231918_create_users.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090402033319_add_muck_activities.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090402234137_create_languages.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090426041056_create_countries.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090426041103_create_states.rb +0 -0
- data/test/rails_test/db/migrate/20090512013727_create_profiles.rb +21 -0
- data/test/rails_test/db/migrate/20090517040220_create_uploads.rb +38 -0
- data/test/{rails_root → rails_test}/db/migrate/20090602191243_create_muck_raker.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090613173314_create_comments.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090619211125_create_tag_clouds.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090623181458_add_grain_size_to_entries.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090623193525_add_grain_size_to_tag_clouds.rb +0 -0
- data/test/rails_test/db/migrate/20090703055724_add_contents.rb +49 -0
- data/test/{rails_root → rails_test}/db/migrate/20090703175825_denormalize_entries_subjects.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090704220055_create_slugs.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090716035935_change_tag_cloud_grain_sizes.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090717173900_add_contributor_to_feeds.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090717175825_normalize_entries_subjects.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090721043213_change_services_title_to_name.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090721054927_remove_services_not_null_from_feeds.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090723050510_create_feed_parents.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090728165716_add_etag_to_feeds.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090730044139_add_comment_cache.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090730045848_add_comment_cache_to_entries.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090730154102_allow_null_user.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090803185323_create_shares.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090804184247_add_comment_count_to_shares.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090804211240_add_entry_id_to_shares.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090804231857_add_shares_uri_index.rb +0 -0
- data/test/rails_test/db/migrate/20090806230610_add_layout_to_contents.rb +9 -0
- data/test/rails_test/db/migrate/20090808175401_add_contents_comment_counter_cache.rb +9 -0
- data/test/{rails_root → rails_test}/db/migrate/20090818204527_add_activity_indexes.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090819030523_add_attachable_to_activities.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090826220530_change_services_sequence_to_sort.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090826225652_create_identity_feeds.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090827005105_add_identity_fields_to_services.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090827015308_create_service_categories.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090827221502_add_prompt_and_template_to_services.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090915041650_aggregations_to_polymorphic.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090922174200_update_oai_endpoints.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090922231552_add_dates_to_oai_endpoints.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090923150807_rename_name_in_aggregation.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090924200750_add_uri_data_template_to_services.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20091006183742_add_feed_count_to_aggregation.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20091022150615_add_uri_key_to_services.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20091115011828_add_aggregations_for_personal_recs.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20091116094447_rename_action_table.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20091118203605_add_default_feed_type_to_aggregation_feed.rb +0 -0
- data/test/rails_test/db/migrate/20091124203137_add_location_to_profiles.rb +15 -0
- data/test/rails_test/db/migrate/20091124205819_add_fields_to_profiles.rb +21 -0
- data/test/{rails_root → rails_test}/db/migrate/20100123035450_create_access_codes.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20100123233654_create_access_code_requests.rb +0 -0
- data/test/rails_test/db/migrate/20100206000906_remove_name_fields.rb +15 -0
- data/test/rails_test/db/migrate/20100903205928_add_dead_entry_fields.rb +13 -0
- data/test/{rails_root → rails_test}/features/step_definitions/common_steps.rb +0 -0
- data/test/{rails_root → rails_test}/features/step_definitions/visit_steps.rb +0 -0
- data/test/rails_test/features/step_definitions/web_steps.rb +219 -0
- data/test/{rails_root → rails_test}/features/step_definitions/webrat_steps.rb +0 -0
- data/test/rails_test/features/support/custom_env.rb +19 -0
- data/test/rails_test/features/support/env.rb +58 -0
- data/test/rails_test/features/support/paths.rb +33 -0
- data/test/rails_test/lib/daemons/amazonaws.rb +36 -0
- data/test/{rails_root → rails_test}/public/dispatch.rb +0 -0
- data/test/rails_test/spec/controllers/admin/feeds_controller_spec.rb +38 -0
- data/test/rails_test/spec/controllers/admin/oai_endpoints_controller_spec.rb +30 -0
- data/test/{rails_root/test/functional/aggregation_feeds_controller_test.rb → rails_test/spec/controllers/aggregation_feeds_controller_spec.rb} +24 -24
- data/test/rails_test/spec/controllers/aggregations_controller_spec.rb +89 -0
- data/test/rails_test/spec/controllers/feed_previews_controller_spec.rb +32 -0
- data/test/rails_test/spec/controllers/feeds_controller_spec.rb +78 -0
- data/test/{rails_root/test/functional/identity_feeds_controller_test.rb → rails_test/spec/controllers/identity_feeds_controller_spec.rb} +44 -44
- data/test/rails_test/spec/controllers/oai_endpoints_controller_spec.rb +42 -0
- data/test/rails_test/spec/controllers/topics_controller_spec.rb +50 -0
- data/test/rails_test/spec/controllers/visits_controller_spec.rb +21 -0
- data/test/{rails_root/test → rails_test/spec}/factories.rb +6 -1
- data/test/rails_test/spec/mailers/services_mailer_spec.rb +31 -0
- data/test/{rails_root/test/unit/aggregation_feed_test.rb → rails_test/spec/models/aggregation_feed_spec.rb} +6 -9
- data/test/{rails_root/test/unit/aggregation_test.rb → rails_test/spec/models/aggregation_spec.rb} +23 -23
- data/test/{rails_root/test/unit/entry_test.rb → rails_test/spec/models/entry_spec.rb} +70 -74
- data/test/{rails_root/test/unit/feed_parent_test.rb → rails_test/spec/models/feed_parent_spec.rb} +5 -5
- data/test/{rails_root/test/unit/feed_test.rb → rails_test/spec/models/feed_spec.rb} +77 -81
- data/test/{rails_root/test/unit/identity_feed_test.rb → rails_test/spec/models/identity_feed_spec.rb} +5 -5
- data/test/rails_test/spec/models/oai_endpoint_spec.rb +78 -0
- data/test/rails_test/spec/models/personal_recommendation_spec.rb +60 -0
- data/test/{rails_root/test/unit/recommendation_test.rb → rails_test/spec/models/recommendation_spec.rb} +6 -8
- data/test/rails_test/spec/models/service_category_spec.rb +19 -0
- data/test/rails_test/spec/models/service_spec.rb +383 -0
- data/test/{rails_root/test/unit/share_test.rb → rails_test/spec/models/share_spec.rb} +8 -11
- data/test/{rails_root/test/unit/tag_cloud_test.rb → rails_test/spec/models/tag_cloud_spec.rb} +4 -4
- data/test/{rails_root/test/unit/user_test.rb → rails_test/spec/models/user_spec.rb} +9 -11
- data/test/{rails_root/test/test_helper.rb → rails_test/spec/spec_helper.rb} +8 -19
- metadata +345 -470
- data/app/views/services_mailer/notification_feed_added.text.ar.html.erb +0 -4
- data/app/views/services_mailer/notification_feed_added.text.ar.plain.erb +0 -7
- data/app/views/services_mailer/notification_feed_added.text.bg.html.erb +0 -4
- data/app/views/services_mailer/notification_feed_added.text.bg.plain.erb +0 -7
- data/app/views/services_mailer/notification_feed_added.text.ca.html.erb +0 -4
- data/app/views/services_mailer/notification_feed_added.text.ca.plain.erb +0 -7
- data/app/views/services_mailer/notification_feed_added.text.cs.html.erb +0 -4
- data/app/views/services_mailer/notification_feed_added.text.cs.plain.erb +0 -7
- data/app/views/services_mailer/notification_feed_added.text.da.html.erb +0 -4
- data/app/views/services_mailer/notification_feed_added.text.da.plain.erb +0 -7
- data/app/views/services_mailer/notification_feed_added.text.de.html.erb +0 -4
- data/app/views/services_mailer/notification_feed_added.text.de.plain.erb +0 -7
- data/app/views/services_mailer/notification_feed_added.text.el.html.erb +0 -4
- data/app/views/services_mailer/notification_feed_added.text.el.plain.erb +0 -7
- data/app/views/services_mailer/notification_feed_added.text.es.html.erb +0 -4
- data/app/views/services_mailer/notification_feed_added.text.es.plain.erb +0 -7
- data/app/views/services_mailer/notification_feed_added.text.et.html.erb +0 -4
- data/app/views/services_mailer/notification_feed_added.text.et.plain.erb +0 -7
- data/app/views/services_mailer/notification_feed_added.text.fa.html.erb +0 -4
- data/app/views/services_mailer/notification_feed_added.text.fa.plain.erb +0 -7
- data/app/views/services_mailer/notification_feed_added.text.fi.html.erb +0 -4
- data/app/views/services_mailer/notification_feed_added.text.fi.plain.erb +0 -7
- data/app/views/services_mailer/notification_feed_added.text.fr.html.erb +0 -4
- data/app/views/services_mailer/notification_feed_added.text.fr.plain.erb +0 -7
- data/app/views/services_mailer/notification_feed_added.text.gl.html.erb +0 -4
- data/app/views/services_mailer/notification_feed_added.text.gl.plain.erb +0 -7
- data/app/views/services_mailer/notification_feed_added.text.hi.html.erb +0 -4
- data/app/views/services_mailer/notification_feed_added.text.hi.plain.erb +0 -7
- data/app/views/services_mailer/notification_feed_added.text.hr.html.erb +0 -4
- data/app/views/services_mailer/notification_feed_added.text.hr.plain.erb +0 -7
- data/app/views/services_mailer/notification_feed_added.text.hu.html.erb +0 -4
- data/app/views/services_mailer/notification_feed_added.text.hu.plain.erb +0 -7
- data/app/views/services_mailer/notification_feed_added.text.id.html.erb +0 -4
- data/app/views/services_mailer/notification_feed_added.text.id.plain.erb +0 -7
- data/app/views/services_mailer/notification_feed_added.text.it.html.erb +0 -4
- data/app/views/services_mailer/notification_feed_added.text.it.plain.erb +0 -7
- data/app/views/services_mailer/notification_feed_added.text.iw.html.erb +0 -4
- data/app/views/services_mailer/notification_feed_added.text.iw.plain.erb +0 -7
- data/app/views/services_mailer/notification_feed_added.text.ja.html.erb +0 -4
- data/app/views/services_mailer/notification_feed_added.text.ja.plain.erb +0 -7
- data/app/views/services_mailer/notification_feed_added.text.ko.html.erb +0 -4
- data/app/views/services_mailer/notification_feed_added.text.ko.plain.erb +0 -7
- data/app/views/services_mailer/notification_feed_added.text.lt.html.erb +0 -4
- data/app/views/services_mailer/notification_feed_added.text.lt.plain.erb +0 -7
- data/app/views/services_mailer/notification_feed_added.text.lv.html.erb +0 -4
- data/app/views/services_mailer/notification_feed_added.text.lv.plain.erb +0 -7
- data/app/views/services_mailer/notification_feed_added.text.mt.html.erb +0 -4
- data/app/views/services_mailer/notification_feed_added.text.mt.plain.erb +0 -7
- data/app/views/services_mailer/notification_feed_added.text.nl.html.erb +0 -4
- data/app/views/services_mailer/notification_feed_added.text.nl.plain.erb +0 -7
- data/app/views/services_mailer/notification_feed_added.text.no.html.erb +0 -4
- data/app/views/services_mailer/notification_feed_added.text.no.plain.erb +0 -7
- data/app/views/services_mailer/notification_feed_added.text.pl.html.erb +0 -4
- data/app/views/services_mailer/notification_feed_added.text.pl.plain.erb +0 -7
- data/app/views/services_mailer/notification_feed_added.text.pt-PT.html.erb +0 -4
- data/app/views/services_mailer/notification_feed_added.text.pt-PT.plain.erb +0 -7
- data/app/views/services_mailer/notification_feed_added.text.ro.html.erb +0 -4
- data/app/views/services_mailer/notification_feed_added.text.ro.plain.erb +0 -7
- data/app/views/services_mailer/notification_feed_added.text.ru.html.erb +0 -4
- data/app/views/services_mailer/notification_feed_added.text.ru.plain.erb +0 -7
- data/app/views/services_mailer/notification_feed_added.text.sk.html.erb +0 -4
- data/app/views/services_mailer/notification_feed_added.text.sk.plain.erb +0 -7
- data/app/views/services_mailer/notification_feed_added.text.sl.html.erb +0 -4
- data/app/views/services_mailer/notification_feed_added.text.sl.plain.erb +0 -7
- data/app/views/services_mailer/notification_feed_added.text.sq.html.erb +0 -4
- data/app/views/services_mailer/notification_feed_added.text.sq.plain.erb +0 -7
- data/app/views/services_mailer/notification_feed_added.text.sr.html.erb +0 -4
- data/app/views/services_mailer/notification_feed_added.text.sr.plain.erb +0 -7
- data/app/views/services_mailer/notification_feed_added.text.sv.html.erb +0 -4
- data/app/views/services_mailer/notification_feed_added.text.sv.plain.erb +0 -7
- data/app/views/services_mailer/notification_feed_added.text.th.html.erb +0 -4
- data/app/views/services_mailer/notification_feed_added.text.th.plain.erb +0 -7
- data/app/views/services_mailer/notification_feed_added.text.tl.html.erb +0 -4
- data/app/views/services_mailer/notification_feed_added.text.tl.plain.erb +0 -7
- data/app/views/services_mailer/notification_feed_added.text.tr.html.erb +0 -4
- data/app/views/services_mailer/notification_feed_added.text.tr.plain.erb +0 -7
- data/app/views/services_mailer/notification_feed_added.text.uk.html.erb +0 -4
- data/app/views/services_mailer/notification_feed_added.text.uk.plain.erb +0 -7
- data/app/views/services_mailer/notification_feed_added.text.vi.html.erb +0 -4
- data/app/views/services_mailer/notification_feed_added.text.vi.plain.erb +0 -7
- data/app/views/services_mailer/notification_feed_added.text.zh-CN.html.erb +0 -4
- data/app/views/services_mailer/notification_feed_added.text.zh-CN.plain.erb +0 -7
- data/app/views/services_mailer/notification_feed_added.text.zh-TW.html.erb +0 -4
- data/app/views/services_mailer/notification_feed_added.text.zh-TW.plain.erb +0 -7
- data/app/views/services_mailer/notification_feed_added.text.zh.html.erb +0 -4
- data/app/views/services_mailer/notification_feed_added.text.zh.plain.erb +0 -7
- data/app/views/services_mailer/notification_oai_endpoint_added.text.ar.html.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.ar.plain.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.bg.html.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.bg.plain.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.ca.html.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.ca.plain.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.cs.html.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.cs.plain.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.da.html.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.da.plain.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.de.html.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.de.plain.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.el.html.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.el.plain.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.es.html.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.es.plain.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.et.html.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.et.plain.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.fa.html.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.fa.plain.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.fi.html.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.fi.plain.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.fr.html.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.fr.plain.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.gl.html.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.gl.plain.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.hi.html.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.hi.plain.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.hr.html.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.hr.plain.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.hu.html.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.hu.plain.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.id.html.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.id.plain.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.it.html.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.it.plain.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.iw.html.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.iw.plain.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.ja.html.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.ja.plain.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.ko.html.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.ko.plain.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.lt.html.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.lt.plain.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.lv.html.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.lv.plain.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.mt.html.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.mt.plain.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.nl.html.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.nl.plain.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.no.html.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.no.plain.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.pl.html.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.pl.plain.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.pt-PT.html.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.pt-PT.plain.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.ro.html.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.ro.plain.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.ru.html.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.ru.plain.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.sk.html.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.sk.plain.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.sl.html.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.sl.plain.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.sq.html.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.sq.plain.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.sr.html.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.sr.plain.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.sv.html.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.sv.plain.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.th.html.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.th.plain.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.tl.html.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.tl.plain.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.tr.html.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.tr.plain.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.uk.html.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.uk.plain.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.vi.html.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.vi.plain.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.zh-CN.html.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.zh-CN.plain.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.zh-TW.html.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.zh-TW.plain.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.zh.html.erb +0 -4
- data/app/views/services_mailer/notification_oai_endpoint_added.text.zh.plain.erb +0 -4
- data/config/muck_services_routes.rb +0 -43
- data/lib/active_record/acts/muck_aggregation_owner.rb +0 -30
- data/lib/active_record/acts/muck_feed_owner.rb +0 -36
- data/lib/active_record/acts/muck_feed_parent.rb +0 -23
- data/lib/active_record/acts/muck_recommendations.rb +0 -24
- data/lib/active_record/acts/muck_services_comment.rb +0 -40
- data/lib/active_record/acts/muck_services_share.rb +0 -32
- data/lib/muck_services.rb +0 -23
- data/lib/muck_services/initialize_routes.rb +0 -8
- data/lib/muck_services/tasks.rb +0 -117
- data/rails/init.rb +0 -18
- data/test/rails_root/config/boot.rb +0 -109
- data/test/rails_root/config/environment.rb +0 -41
- data/test/rails_root/config/environments/cucumber.rb +0 -21
- data/test/rails_root/config/environments/development.rb +0 -37
- data/test/rails_root/config/environments/production.rb +0 -1
- data/test/rails_root/config/environments/test.rb +0 -24
- data/test/rails_root/config/initializers/requires.rb +0 -13
- data/test/rails_root/config/initializers/session_store.rb +0 -8
- data/test/rails_root/config/routes.rb +0 -11
- data/test/rails_root/db/schema.rb +0 -504
- data/test/rails_root/features/support/env.rb +0 -14
- data/test/rails_root/features/support/paths.rb +0 -36
- data/test/rails_root/script/create_project.rb +0 -52
- data/test/rails_root/test/functional/admin/feeds_controller_test.rb +0 -37
- data/test/rails_root/test/functional/admin/oai_endpoints_controller_test.rb +0 -30
- data/test/rails_root/test/functional/aggregations_controller_test.rb +0 -89
- data/test/rails_root/test/functional/feed_previews_controller_test.rb +0 -32
- data/test/rails_root/test/functional/feeds_controller_test.rb +0 -78
- data/test/rails_root/test/functional/oai_endpoints_controller_test.rb +0 -42
- data/test/rails_root/test/functional/topics_controller_test.rb +0 -50
- data/test/rails_root/test/functional/visits_controller_test.rb +0 -21
- data/test/rails_root/test/unit/comment_test.rb +0 -38
- data/test/rails_root/test/unit/oai_endpoint_test.rb +0 -84
- data/test/rails_root/test/unit/personal_recommendation_test.rb +0 -78
- data/test/rails_root/test/unit/service_category_test.rb +0 -19
- data/test/rails_root/test/unit/service_test.rb +0 -386
- data/test/rails_root/test/unit/services_mailer_test.rb +0 -35
- data/test/rails_root/vendor/plugins/jrails/init.rb +0 -1
- data/test/rails_root/vendor/plugins/jrails/install.rb +0 -9
- data/test/rails_root/vendor/plugins/jrails/lib/jrails.rb +0 -421
- data/test/rails_root/vendor/plugins/jrails/rails/init.rb +0 -15
- data/test/rails_root/vendor/plugins/ssl_requirement/lib/ssl_requirement.rb +0 -62
- data/test/rails_root/vendor/plugins/ssl_requirement/test/ssl_requirement_test.rb +0 -132
data/app/models/oai_endpoint.rb
CHANGED
|
@@ -21,11 +21,11 @@ class OaiEndpoint < ActiveRecord::Base
|
|
|
21
21
|
|
|
22
22
|
validates_presence_of :uri
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
24
|
+
scope :banned, where("status = ?", MuckServices::Status::BANNED)
|
|
25
|
+
scope :valid, where("status >= 0")
|
|
26
|
+
scope :by_title, order("title ASC")
|
|
27
|
+
scope :newer_than, lambda { |*args| where("created_at > ?", args.first || DateTime.now) }
|
|
28
|
+
scope :by_newest, order("created_at DESC").includes(:default_language)
|
|
29
29
|
|
|
30
30
|
attr_protected :status, :contributor_id
|
|
31
31
|
|
|
@@ -38,7 +38,7 @@ class OaiEndpoint < ActiveRecord::Base
|
|
|
38
38
|
end
|
|
39
39
|
|
|
40
40
|
def inform_admin
|
|
41
|
-
ServicesMailer.
|
|
41
|
+
ServicesMailer.notification_feed_added(self).deliver
|
|
42
42
|
end
|
|
43
43
|
|
|
44
44
|
end
|
|
@@ -17,9 +17,8 @@ class PersonalRecommendation < ActiveRecord::Base
|
|
|
17
17
|
belongs_to :personal_recommendable, :polymorphic => true
|
|
18
18
|
belongs_to :destination, :polymorphic => true
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
named_scope :users, :conditions => ["personal_recommendations.destination_type = 'User'"]
|
|
20
|
+
scope :newer_than, lambda { |*args| where("created_at > ?", args.first || DateTime.now) }
|
|
21
|
+
scope :by_newest, order("created_at DESC")
|
|
22
|
+
scope :entries_only, where("personal_recommendations.destination_type = 'Entry'")
|
|
23
|
+
scope :users, where("personal_recommendations.destination_type = 'User'")
|
|
25
24
|
end
|
data/app/models/service.rb
CHANGED
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
class Service < ActiveRecord::Base
|
|
23
23
|
|
|
24
24
|
belongs_to :service_category
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
25
|
+
scope :sorted_id, order("id ASC")
|
|
26
|
+
scope :sorted, order("sort ASC")
|
|
27
|
+
scope :identity_services, where('use_for = ?', 'identity')
|
|
28
|
+
scope :tag_services, where('use_for = ?', 'tags')
|
|
29
|
+
scope :photo_services, where("service_categories.id = services.service_category_id AND service_categories.name = 'Photos'").includes('service_category')
|
|
30
30
|
|
|
31
31
|
# Indicates whether service is primarily a photo service ie from flick, picasa, etc
|
|
32
32
|
#
|
|
@@ -133,7 +133,7 @@ class Service < ActiveRecord::Base
|
|
|
133
133
|
elsif self.name == 'Amazon'
|
|
134
134
|
return [] if username.blank?
|
|
135
135
|
# Have to build and sign Amazon wishlist rss feeds
|
|
136
|
-
am = AmazonRequest.new(
|
|
136
|
+
am = AmazonRequest.new(Secrets.amazon_access_key_id, Secrets.amazon_secret_access_key, Secrets.ecs_to_rss_wishlist, Secrets.amazon_associate_tag)
|
|
137
137
|
results = am.get_amazon_feeds(username) # username needs to be the user's Amazon email
|
|
138
138
|
results.collect { |result| OpenStruct.new(:url => result, :title => 'Amazon Wishlist') }
|
|
139
139
|
elsif !self.uri_data_template.blank? && !username.blank?
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
#
|
|
9
9
|
|
|
10
10
|
class ServiceCategory < ActiveRecord::Base
|
|
11
|
-
|
|
11
|
+
scope :sorted, order("sort ASC")
|
|
12
12
|
has_many :services, :order => 'sort ASC'
|
|
13
13
|
has_many :identity_services, :class_name => 'Service', :order => 'sort ASC', :conditions => ['use_for = ?', 'identity']
|
|
14
14
|
has_many :tag_services, :class_name => 'Service', :order => 'sort ASC', :conditions => ['use_for = ?', 'tags']
|
|
@@ -1,21 +1,19 @@
|
|
|
1
1
|
class ServicesMailer < ActionMailer::Base
|
|
2
|
-
unloadable
|
|
3
2
|
|
|
4
|
-
layout 'email_default'
|
|
5
|
-
default_url_options[:host] = GlobalConfig.application_url
|
|
6
|
-
|
|
7
3
|
def notification_feed_added(feed)
|
|
8
|
-
|
|
9
|
-
subject
|
|
10
|
-
|
|
11
|
-
|
|
4
|
+
@feed = feed
|
|
5
|
+
mail(:to => MuckEngine.configuration.admin_email, :subject => I18n.t('muck.services.new_global_feed', :application_name => MuckEngine.configuration.application_name)) do |format|
|
|
6
|
+
format.html
|
|
7
|
+
format.text
|
|
8
|
+
end
|
|
12
9
|
end
|
|
13
10
|
|
|
14
11
|
def notification_oai_endpoint_added(oai_endpoint)
|
|
15
|
-
|
|
16
|
-
subject
|
|
17
|
-
|
|
18
|
-
|
|
12
|
+
@oai_endpoint = oai_endpoint
|
|
13
|
+
mail(:to => MuckEngine.configuration.admin_email, :subject => I18n.t('muck.services.new_global_feed', :application_name => MuckEngine.configuration.application_name)) do |format|
|
|
14
|
+
format.html
|
|
15
|
+
format.text
|
|
16
|
+
end
|
|
19
17
|
end
|
|
20
18
|
|
|
21
19
|
end
|
|
File without changes
|
|
File without changes
|
|
@@ -7,15 +7,14 @@
|
|
|
7
7
|
</p>
|
|
8
8
|
<table class="feeds">
|
|
9
9
|
<tr>
|
|
10
|
-
<th><%= link_to t('muck.services.approval_status'),
|
|
11
|
-
<th><%= link_to t('muck.services.
|
|
12
|
-
<th><%= link_to t('muck.services.
|
|
13
|
-
<th><%= link_to t('muck.services.
|
|
14
|
-
<th
|
|
15
|
-
<th
|
|
16
|
-
<th><%= link_to t('muck.services.
|
|
17
|
-
<th><%= link_to t('muck.services.
|
|
18
|
-
<th><%= link_to t('muck.services.status'), sort_feeds_url(params[:order], params[:asc], 'status') %></th>
|
|
10
|
+
<th><%= link_to t('muck.services.approval_status'), sort_feeds_link(params[:order], params[:asc], 'status', true) %></th>
|
|
11
|
+
<th><%= link_to t('muck.services.status'), sort_feeds_link(params[:order], params[:asc], 'status', true) %></th>
|
|
12
|
+
<th><%= link_to t('muck.services.default_language'), sort_feeds_link(params[:order], params[:asc], 'languages.english_name', true) %></th>
|
|
13
|
+
<th><%= link_to t('muck.services.entries_count'), sort_feeds_link(params[:order], params[:asc], 'entries_count', true) %></th>
|
|
14
|
+
<th><%= link_to t('muck.services.repository'), sort_feeds_link(params[:order], params[:asc], 'harvested_from_title', true) %></th>
|
|
15
|
+
<th><%= link_to t('muck.services.title'), sort_feeds_link(params[:order], params[:asc], 'title', true) %></th>
|
|
16
|
+
<th><%= link_to t('muck.services.harvested_at'), sort_feeds_link(params[:order], params[:asc], 'last_harvested_at', true) %></th>
|
|
17
|
+
<th><%= link_to t('muck.services.added_date'), sort_feeds_link(params[:order], params[:asc], 'created_at', true) %></th>
|
|
19
18
|
</tr>
|
|
20
19
|
<%= render :partial => 'feeds/feed_row', :collection => @feeds, :locals => { :show_admin => true } %>
|
|
21
20
|
</table>
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
</p>
|
|
8
8
|
<table class="feeds">
|
|
9
9
|
<tr>
|
|
10
|
-
<th><%= link_to t('muck.services.status'),
|
|
11
|
-
<th><%= link_to t('muck.services.default_language'),
|
|
12
|
-
<th><%= link_to t('muck.services.title'),
|
|
13
|
-
<th><%= link_to t('muck.services.added_date'),
|
|
10
|
+
<th><%= link_to t('muck.services.status'), sort_feeds_link(params[:order], params[:asc], 'status', true) %></th>
|
|
11
|
+
<th><%= link_to t('muck.services.default_language'), sort_feeds_link(params[:order], params[:asc], 'languages.english_name', true) %></th>
|
|
12
|
+
<th><%= link_to t('muck.services.title'), sort_feeds_link(params[:order], params[:asc], 'title', true) %></th>
|
|
13
|
+
<th><%= link_to t('muck.services.added_date'), sort_feeds_link(params[:order], params[:asc], 'created_at', true) %></th>
|
|
14
14
|
</tr>
|
|
15
15
|
<%= render :partial => 'oai_endpoints/oai_endpoint_row', :collection => @oai_endpoints, :locals => { :show_admin => true } %>
|
|
16
16
|
</table>
|
|
File without changes
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
<div class="box">
|
|
7
7
|
<h2><%= t('muck.services.edit_aggregation')%></h2>
|
|
8
|
-
|
|
8
|
+
<%= muck_form_for(@aggregation, :url => polymorphic_url([@parent, @aggregation]), :id => 'update-aggregation-form') do |f| -%>
|
|
9
9
|
<%= f.text_field :title, { :label => t('muck.services.add_aggregation_title') } %>
|
|
10
10
|
<%= f.submit t('muck.general.save'), :id => 'update-aggregation-button' %>
|
|
11
11
|
<% end -%>
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
|
|
14
14
|
<div class="box">
|
|
15
15
|
<h2><%= t('muck.services.add_feed') %></h2>
|
|
16
|
-
|
|
16
|
+
<%= muck_form_for(@aggregation, :url => polymorphic_url([@parent, @aggregation]), :id => 'add-feed-form') do |f| -%>
|
|
17
17
|
<%= text_field_tag :uri, '', :id => 'add_uri' %>
|
|
18
18
|
<%= submit_tag t('muck.services.add_feed'), :id => 'add-feed-button' %>
|
|
19
19
|
<div id="add-feed-waiting" class="waiting" style="display:none;"><%= t('muck.services.searching_for_feed')%></div>
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
<div class="box">
|
|
28
28
|
<h2><%= I18n.t('muck.services.add_sources_by_tag') %></h2>
|
|
29
|
-
|
|
29
|
+
<%= muck_form_for(@aggregation, :url => polymorphic_url([@parent, @aggregation]), :id => 'add-sources-form') do |f| -%>
|
|
30
30
|
<%= text_field_tag :terms %>
|
|
31
31
|
<%= f.submit t('muck.services.add_more_sources'), :id => 'add-sources-button' %>
|
|
32
32
|
<div id="edit-data-sources" class="services-main span-16 column">
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<h1><%= @page_title %></h1>
|
|
3
3
|
|
|
4
4
|
<div id="search-container" class="services-main span-24 column">
|
|
5
|
-
|
|
5
|
+
<%= muck_form_for(:aggregation, :url => preview_aggregations_path(@parent), :html => {:method => :get}) do |f| -%>
|
|
6
6
|
<%= render :partial => 'aggregations/preview_form', :locals => {:f => f} %>
|
|
7
7
|
<% end -%>
|
|
8
8
|
</div>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<%= output_errors('', {:class => 'help-box'}) %>
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
<%= muck_form_for(:aggregation, :url => preview_aggregations_path(@parent), :html => {:method => :get}) do |f| -%>
|
|
4
4
|
<div id="add-data-source" class="services-main span-6 column">
|
|
5
5
|
<%= render :partial => 'aggregations/preview_form', :locals => {:f => f} %>
|
|
6
6
|
</div>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<%= output_errors('', {:class => 'help-box'}) %>
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
<%= muck_form_for(:aggregation, :url => polymorphic_url([@parent, :aggregations])) do |f| -%>
|
|
4
4
|
|
|
5
5
|
<div class="span-24">
|
|
6
6
|
<h2><%= @title %></h2>
|
|
File without changes
|
|
File without changes
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
<div><span class="label"><%= t('muck.services.entries_count') %></span>: <%= feed.entries_count.nil? ? "0" : feed.entries_count.to_s %></div>
|
|
8
8
|
<div><span class="label"><%= t('muck.services.contributor') %></span>: <%= feed_contributor_link(@feed) %></div>
|
|
9
9
|
<% if defined?(show_admin) && show_admin -%>
|
|
10
|
-
|
|
10
|
+
<%= form_for(feed, :url => admin_feed_path(feed), :html => { :method => :put }) do |f| -%>
|
|
11
11
|
<div><span class="label"><%= t('muck.services.approval_status') %></span>:
|
|
12
12
|
<% if feed.banned? -%>
|
|
13
13
|
<%= hidden_field_tag :status, 'approve' %>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<tr>
|
|
2
2
|
<% if defined?(show_admin) && show_admin -%>
|
|
3
3
|
<td>
|
|
4
|
-
|
|
4
|
+
<%= form_for(feed_row, :url => admin_feed_path(feed_row), :html => { :method => :put }) do |f| -%>
|
|
5
5
|
<% if feed_row.banned? -%>
|
|
6
6
|
<%= hidden_field_tag :status, 'approve' %>
|
|
7
7
|
<%= image_submit_tag '/images/icons/exclaim.png', {:width => '16', :height => '16', :alt => t('muck.services.validate_feed') } %>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<%=
|
|
2
|
-
|
|
1
|
+
<%= output_errors('', {:class => 'help-box'}, @feed) %>
|
|
2
|
+
<%= muck_form_for(:feed, :url => polymorphic_url([parent, :feeds], :format => 'pjs')) do |f| -%>
|
|
3
3
|
<%= f.text_field :title, { :label => t('muck.services.title' ) } %>
|
|
4
4
|
<%= f.text_field :uri, { :label => t('muck.services.add_feed_url' ) } %>
|
|
5
5
|
<%= f.hidden_field :service_id %>
|
|
@@ -46,9 +46,9 @@ function validate()
|
|
|
46
46
|
|
|
47
47
|
<h1>Edit Collection Metadata: <%= @feed.title %></h1>
|
|
48
48
|
|
|
49
|
-
<%=
|
|
49
|
+
<%= output_errors('', {:class => 'help-box'}, @feed) %>
|
|
50
50
|
|
|
51
|
-
|
|
51
|
+
<%= form_for :feed, @feed, :url => feed_path(@feed), :html => {:method => :put, :onsubmit => "return validate()"} do |f| %>
|
|
52
52
|
|
|
53
53
|
<p>
|
|
54
54
|
<b>Collection Title</b><br />
|
|
@@ -7,14 +7,13 @@
|
|
|
7
7
|
</p>
|
|
8
8
|
<table class="feeds">
|
|
9
9
|
<tr>
|
|
10
|
-
<th><%= link_to t('muck.services.
|
|
11
|
-
<th><%= link_to t('muck.services.
|
|
12
|
-
<th><%= link_to t('muck.services.
|
|
13
|
-
<th
|
|
14
|
-
<th
|
|
15
|
-
<th><%= link_to t('muck.services.
|
|
16
|
-
<th><%= link_to t('muck.services.
|
|
17
|
-
<th><%= link_to t('muck.services.status'), sort_feeds_url(params[:order], params[:asc], 'status') %></th>
|
|
10
|
+
<th><%= link_to t('muck.services.status'), sort_feeds_link(params[:order], params[:asc], 'status') %></th>
|
|
11
|
+
<th><%= link_to t('muck.services.default_language'), sort_feeds_link(params[:order], params[:asc], 'languages.english_name') %></th>
|
|
12
|
+
<th><%= link_to t('muck.services.entries_count'), sort_feeds_link(params[:order], params[:asc], 'entries_count') %></th>
|
|
13
|
+
<th><%= link_to t('muck.services.repository'), sort_feeds_link(params[:order], params[:asc], 'harvested_from_title') %></th>
|
|
14
|
+
<th><%= link_to t('muck.services.title'), sort_feeds_link(params[:order], params[:asc], 'title') %></th>
|
|
15
|
+
<th><%= link_to t('muck.services.harvested_at'), sort_feeds_link(params[:order], params[:asc], 'last_harvested_at') %></th>
|
|
16
|
+
<th><%= link_to t('muck.services.added_date'), sort_feeds_link(params[:order], params[:asc], 'created_at') %></th>
|
|
18
17
|
</tr>
|
|
19
18
|
<%= render :partial => 'feeds/feed_row', :collection => @feeds %>
|
|
20
19
|
</table>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<div id="add_single_feed">
|
|
2
|
-
<%=
|
|
3
|
-
|
|
2
|
+
<%= output_errors('', {:class => 'help-box'}, @feed) %>
|
|
3
|
+
<%= muck_form_for(:feed, :url => polymorphic_url([@parent, :feeds])) do |f| -%>
|
|
4
4
|
<%= f.text_field :uri, { :label => t('muck.services.add_feed_url' ) } %>
|
|
5
5
|
<%= f.text_field :title, { :label => t('muck.services.title' ) } %>
|
|
6
6
|
<%= hidden_field_tag :layout, params[:layout] %>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<div id="add_single_feed">
|
|
2
2
|
<h1><%= t('muck.services.add_extended_feed_title') %></h1>
|
|
3
3
|
<p><%= t('muck.services.add_extended_feed_sub_title') %></p>
|
|
4
|
-
<%=
|
|
5
|
-
|
|
4
|
+
<%= output_errors('', {:class => 'help-box'}, @feed) %>
|
|
5
|
+
<%= muck_form_for(:feed, :url => polymorphic_url([@parent, :feeds])) do |f| -%>
|
|
6
6
|
<%= f.text_field :title, { :label => t('muck.services.title' ) } %>
|
|
7
7
|
<%= f.text_field :short_title, { :label => t('muck.services.short_title' ) } %>
|
|
8
8
|
<%= f.text_field :harvested_from_title, { :label => t('muck.services.repository_title' ) } %>
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
|
|
8
8
|
<div id="rss" class="add_data_container">
|
|
9
9
|
<h1><%= t('muck.services.add_rss_feed') %></h1>
|
|
10
|
-
<%=
|
|
11
|
-
|
|
10
|
+
<%= output_errors('', {:class => 'help-box'}, @feed) %>
|
|
11
|
+
<%= muck_form_for(:feed, :url => polymorphic_url([@parent, :feeds])) do |f| -%>
|
|
12
12
|
<%= f.text_field :title, { :label => t('muck.services.title' ) } %>
|
|
13
13
|
<%= f.text_field :uri, { :label => t('muck.services.add_feed_url' ) } %>
|
|
14
14
|
<%= f.muck_services_language_select :default_language_id %>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<div id="identity-feed">
|
|
2
|
-
|
|
2
|
+
<%= form_for(:feed, :url => url_by_identity_feed(parent, @identity_feed, service)) do |f| -%>
|
|
3
3
|
<%= service_title(service) %>
|
|
4
4
|
<% if service.template.blank? -%>
|
|
5
5
|
<% if service.uri_data_template.blank? -%>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<%=
|
|
2
|
-
|
|
1
|
+
<%= output_errors('', {:class => 'help-box'}, @oai_endpoint) %>
|
|
2
|
+
<%= muck_form_for(:oai_endpoint, :url => oai_endpoints_url) do |f| -%>
|
|
3
3
|
<%= f.text_field :title, { :label => t('muck.services.title' ) } %>
|
|
4
4
|
<%= f.text_field :uri, { :label => t('muck.services.add_feed_url' ) } %>
|
|
5
5
|
<%= f.text_field :metadata_prefix, { :label => t('muck.services.metadata_prefix' ) } %>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<tr>
|
|
2
2
|
<% if defined?(show_admin) && show_admin -%>
|
|
3
3
|
<td>
|
|
4
|
-
|
|
4
|
+
<%= form_for(oai_endpoint_row, :url => admin_feed_path(oai_endpoint_row), :html => { :method => :put }) do |f| -%>
|
|
5
5
|
<% if oai_endpoint_row.banned? -%>
|
|
6
6
|
<%= hidden_field_tag :status, 'approve' %>
|
|
7
7
|
<%= image_submit_tag '/images/icons/exclaim.png', {:width => '16', :height => '16', :alt => t('muck.services.validate_feed') } %>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<div id="add-feed">
|
|
2
2
|
<%= output_errors(t('muck.services.problem_adding_feed'), {:class => 'help-box'}, @feed) %>
|
|
3
|
-
|
|
3
|
+
<%= muck_form_for(:feed, :url => select_feeds_feed_previews_path) do |f| -%>
|
|
4
4
|
<%= f.text_field :uri, { :label => t('muck.services.add_feed_url' ) } %>
|
|
5
5
|
<div class="button form-row">
|
|
6
6
|
<%= submit_tag t('muck.services.add_feed'), :id => 'add_feed_uri' %>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
<%= muck_form_for(:topic, :url => topics_path, :html => {:method => :post}) do |f| -%>
|
|
2
2
|
<%= text_field_tag :terms, params[:terms] || @terms %>
|
|
3
3
|
<%= f.submit t('muck.services.build_topic'), :id => 'generate_topic' %>
|
|
4
4
|
<span id="generating_topic_message" style="display:none;">
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<%= output_errors('', {:class => 'help-box'}) %>
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
<%= muck_form_for(:topic, :url => topics_path, :html => {:method => :post}) do |f| -%>
|
|
4
4
|
<div id="add-data-source" class="services-main span-6 column">
|
|
5
5
|
<h2><%= I18n.t('muck.services.search_for') %></h2>
|
|
6
6
|
<%= text_field_tag :terms, params[:terms] %>
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
<a id="close_frame_text" title="Remove frame and go to this web address." class="url_fragment" href="<%= @resource_uri %>"><%= t('muck.services.close') %></a>
|
|
8
8
|
</div>
|
|
9
9
|
<div id="search" class="section">
|
|
10
|
-
|
|
10
|
+
<%= form_tag(search_entries_path, {:method => :get}) do -%>
|
|
11
11
|
<div id="search_box"><%= text_field_tag(:q, '', :id => 'search-box') %></div>
|
|
12
12
|
<input id="search_go" class="input-button" type="submit" value="<%= t('muck.services.search_button') %>"/>
|
|
13
13
|
<% end -%>
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
<%#= link_to t('muck.services.remix'), new_content_path(@entry), :id => 'share' - copy the page into the content system %>
|
|
18
18
|
<%#= link_to t('muck.services.save'), new_content_path(@entry), :id => 'share' - save the content for use later on %>
|
|
19
19
|
<% if logged_in? -%>
|
|
20
|
-
<%= link_to t('muck.services.share'), new_user_share_path(current_user, :title => @entry.title, :uri => @resource_uri), :id => 'share' if
|
|
20
|
+
<%= link_to t('muck.services.share'), new_user_share_path(current_user, :title => @entry.title, :uri => @resource_uri), :id => 'share' if MuckServices.configuration.enable_services_shares -%>
|
|
21
21
|
<% else -%>
|
|
22
22
|
<span id="share_login"><%= t('muck.services.login_or_signup_prompt', :signup => link_to(t('muck.services.signup'), signup_path, :id => 'signup'), :login => link_to(t('muck.services.login'), login_path, :id => 'login') ) %></span>
|
|
23
23
|
<% end -%>
|
|
24
|
-
<%= link_to t('muck.services.comment_entries_count', :count => @comment_count), entry_comments_path(@entry), :id => 'comment' if
|
|
24
|
+
<%= link_to t('muck.services.comment_entries_count', :count => @comment_count), entry_comments_path(@entry), :id => 'comment' if MuckServices.configuration.enable_services_comments -%>
|
|
25
25
|
</div>
|
|
26
26
|
</div>
|
|
@@ -13,7 +13,7 @@ ar:
|
|
|
13
13
|
add_feed_advanced: "إضافة تغذية (متقدم)"
|
|
14
14
|
add_feed_title: "إضافة تغذية جديدة"
|
|
15
15
|
add_feed_url: "عنوان الموقع :"
|
|
16
|
-
add_feeds_to_aggregation: "إضافة إلى يغذي {
|
|
16
|
+
add_feeds_to_aggregation: "إضافة إلى يغذي %{title}"
|
|
17
17
|
add_more_sources: "تضيف المصادر"
|
|
18
18
|
add_new_feed_title: "إضافة تغذية جديدة"
|
|
19
19
|
add_oai: "إضافة صلى"
|
|
@@ -23,11 +23,11 @@ ar:
|
|
|
23
23
|
add_rss_feed: "إضافة آر إس إس"
|
|
24
24
|
add_sources_by_tag: "إضافة المزيد من يغذي بالسمات."
|
|
25
25
|
added_date: وأضاف
|
|
26
|
-
aggregation_deleted: "{
|
|
26
|
+
aggregation_deleted: "%{title}حذف"
|
|
27
27
|
aggregation_updated: "التجميع حدثت"
|
|
28
28
|
all_resources: "جميع الموارد"
|
|
29
|
-
already_added_uri_feed: "كنت قد قمت بالفعل بإضافة رابط {
|
|
30
|
-
already_added_username_feed: "كنت قد قمت بالفعل بإضافة حساب {
|
|
29
|
+
already_added_uri_feed: "كنت قد قمت بالفعل بإضافة رابط %{uri}"
|
|
30
|
+
already_added_username_feed: "كنت قد قمت بالفعل بإضافة حساب %{service}}مع %{username}المستخدم"
|
|
31
31
|
already_shared: "كنت في السابق مشترك لهذه الصفحة."
|
|
32
32
|
amazon_prompt: "الرجاء إدخال بريد إلكتروني تستخدمه مع Amazon.com"
|
|
33
33
|
approval_status: وافق
|
|
@@ -51,10 +51,10 @@ ar:
|
|
|
51
51
|
collections_long: "مجموعات المفهرس"
|
|
52
52
|
comment_entries_count:
|
|
53
53
|
one: "1 تعليق"
|
|
54
|
-
other: "تعليقات {
|
|
54
|
+
other: "تعليقات %{count}"
|
|
55
55
|
contributor: المساهم
|
|
56
|
-
course_search_results: "دورات <b
|
|
57
|
-
course_tag_results: "دورات <b
|
|
56
|
+
course_search_results: "دورات <b>%{first}}-- %{last}}من %{total}}ل%{terms}البحث</b>"
|
|
57
|
+
course_tag_results: "دورات <b>%{first}}-- %{last}}من %{total}}الموسومة %{terms}</b>"
|
|
58
58
|
courses_tag_cloud_label: "تصفح الدورات باستخدام السمات <a href=\"/resources\">[تصفح جميع الموارد]</a>"
|
|
59
59
|
default_language: لغة
|
|
60
60
|
demo: تجريبي
|
|
@@ -66,21 +66,21 @@ ar:
|
|
|
66
66
|
discover_feed_message: "بحثا عن معلومات حول عنوان الموقع الذي قمت بتقديمه. يرجى الانتظار."
|
|
67
67
|
display_address: "عرض العناوين"
|
|
68
68
|
display_url: "رابط ليتم عرضها :"
|
|
69
|
-
download_opml: "[أبمل تنزيل الملف
|
|
69
|
+
download_opml: "[أبمل تنزيل الملف ل%{terms}"
|
|
70
70
|
edit_aggregation: "عدل التجميع"
|
|
71
|
-
edit_aggregation_title: "تحرير {
|
|
71
|
+
edit_aggregation_title: "تحرير %{title}"
|
|
72
72
|
entries_count: الإدخالات
|
|
73
|
-
entry_commment_contents: "وعلق على {
|
|
74
|
-
explore: "البحث عن {
|
|
73
|
+
entry_commment_contents: "وعلق على %{resource}"
|
|
74
|
+
explore: "البحث عن %{topic}"
|
|
75
75
|
facebook: فيسبوك
|
|
76
76
|
facebook_instructions: "على بلدي صلة صفحة ، انقر بالزر الايمن على 'بلدي صلة' ونسخ الارتباط. نحن سوف تدرج تلقائيا ، والوضع ، وصلات والملاحظات."
|
|
77
|
-
facebook_link: "يمكنك العثور على عنوان موقعك الخاص بك على صفحة فيسبوك بلدي صلة. {
|
|
77
|
+
facebook_link: "يمكنك العثور على عنوان موقعك الخاص بك على صفحة فيسبوك بلدي صلة. %{link}ثم انقر على 'بلدي صلة'"
|
|
78
78
|
facebook_notes: "فيسبوك الحواشي"
|
|
79
79
|
facebook_notifications: "فيسبوك الإشعارات"
|
|
80
80
|
facebook_prompt: "بك أمام بلدي صلة رابط"
|
|
81
81
|
facebook_shares: "فيسبوك المشتركة وصلات"
|
|
82
82
|
failed_harvests: "وأدى فشل المحاصيل"
|
|
83
|
-
failed_last_request: "فشل الطلب الأخير : {
|
|
83
|
+
failed_last_request: "فشل الطلب الأخير : %{error}"
|
|
84
84
|
feed: تغذية
|
|
85
85
|
feed_banned_message: "تغذية كانت محظورة."
|
|
86
86
|
feed_display_address: "رابط الخلاصة"
|
|
@@ -97,7 +97,7 @@ ar:
|
|
|
97
97
|
finding_topics: "البحث عن القصص ذات الصلة..."
|
|
98
98
|
for: لأجل
|
|
99
99
|
friendfeed_prompt: "FriendFeed آر رابط"
|
|
100
|
-
friendfeed_rss: "يمكنك العثور على عنوان موقعك في أسفل بك {
|
|
100
|
+
friendfeed_rss: "يمكنك العثور على عنوان موقعك في أسفل بك %{link}."
|
|
101
101
|
generate_new_topic: "إنشاء موضوع جديد"
|
|
102
102
|
generating_topic_message: "البحث. هذا الأمر قد يستغرق ذلك دقيقة أو نحو ذلك...."
|
|
103
103
|
get_recommendations: "الحصول على التوصيات"
|
|
@@ -110,16 +110,16 @@ ar:
|
|
|
110
110
|
hide: إخفاء
|
|
111
111
|
identity_feed_removed: "إزالة الخدمة"
|
|
112
112
|
identity_feeds: "هوية الخلاصات"
|
|
113
|
-
import_service: "{
|
|
113
|
+
import_service: "%{service}استيراد"
|
|
114
114
|
language_not_supported: "اللغة المطلوبة غير معتمدة"
|
|
115
115
|
latest_aggregations: "أحدث المجموعات"
|
|
116
116
|
linkedin_prompt: "ينكدين لمحة عامة عنوان"
|
|
117
|
-
linkedin_rss: "يمكنك العثور على عنوان موقعك في أسفل بك {
|
|
117
|
+
linkedin_rss: "يمكنك العثور على عنوان موقعك في أسفل بك %{link}."
|
|
118
118
|
loading_content_image: "<٪ = ر ( 'muck.services.loading_image') ٪>"
|
|
119
119
|
loading_image: "تحميل صورة"
|
|
120
120
|
loading_message: تحميل...
|
|
121
121
|
login: "تسجيل الدخول"
|
|
122
|
-
login_or_signup_prompt: "{
|
|
122
|
+
login_or_signup_prompt: "%{signup}}أو %{login}لمناقشة وتقاسم الموارد."
|
|
123
123
|
login_to_comment: "الدخول لتتمكن من إضافة تعليق"
|
|
124
124
|
metadata: التعريف
|
|
125
125
|
metadata_prefix: "الفوقية بادئة"
|
|
@@ -127,9 +127,9 @@ ar:
|
|
|
127
127
|
my_services: "بلدي الخدمات"
|
|
128
128
|
narrow_further: "مزيد من النتائج الضيقة"
|
|
129
129
|
netflix_prompt: "آر إس إس كيو نتفليإكس] رابط"
|
|
130
|
-
netflix_rss: "يمكنك العثور على عنوان موقعك الخاص بك على {
|
|
130
|
+
netflix_rss: "يمكنك العثور على عنوان موقعك الخاص بك على %{link}. علما بأن هناك العديد من يغذي متاحة على الصفحة الخاصة بك نتفليإكس] الصف (الصف ، والتوصيات ، ويستعرض الفيلم ، الخ). كما تضيف الكثير من تشاء!"
|
|
131
131
|
new_aggregation: "تجميع جديدة"
|
|
132
|
-
new_global_feed: "وتغذية جديدة قد أضيفت إلى {
|
|
132
|
+
new_global_feed: "وتغذية جديدة قد أضيفت إلى %{application_name}"
|
|
133
133
|
new_search: "بحث جديد"
|
|
134
134
|
new_topic_title: "البحث عن موضوع جديد وبناء على صفحة النتائج."
|
|
135
135
|
next: التالي
|
|
@@ -138,10 +138,10 @@ ar:
|
|
|
138
138
|
no_feeds_at_uri: "لم نتمكن من العثور على رابط معين"
|
|
139
139
|
no_feeds_found: "لا يغذي تم العثور على"
|
|
140
140
|
no_feeds_from_username: "لم نتمكن من العثور على حساب معين"
|
|
141
|
-
no_hits: "البحث -- <b
|
|
141
|
+
no_hits: "البحث -- <b>%{search}}--</b> لم يطابق أي <b>%{resource_type}.</b> الرجاء تجربة بحث أخر ، أو اختر لغة مختلفة."
|
|
142
142
|
no_recommendations: "تم العثور على أية توصيات."
|
|
143
|
-
no_tagged_courses: "أي <b>دورات</b> تم العثور على المعلمة مع <b
|
|
144
|
-
no_tagged_resources: "لم تكن هناك <b>موارد</b> وجدت المعلمة مع <b
|
|
143
|
+
no_tagged_courses: "أي <b>دورات</b> تم العثور على المعلمة مع <b>%{tags}}.</b> <a href='/resources'>البدء مرة أخرى</a> أو إظهار <a href='/resources/tags/%{tags}}'>جميع الموارد الموسومة %{tags}.</a>"
|
|
144
|
+
no_tagged_resources: "لم تكن هناك <b>موارد</b> وجدت المعلمة مع <b>%{tags}.</b> <a href='/resources'>البدء مرة أخرى.</a>"
|
|
145
145
|
no_tags: "لم تتوفر بعد السمات"
|
|
146
146
|
no_terms_error: "يرجى تحديد فترة ولاية أو قائمة المصطلحات."
|
|
147
147
|
oai_endpoint_successfully_created: "نجحت في اضافة صلى نقطة النهاية"
|
|
@@ -149,8 +149,8 @@ ar:
|
|
|
149
149
|
of: من
|
|
150
150
|
ok: موافق
|
|
151
151
|
only_courses: "فقط المقررات"
|
|
152
|
-
opml_feeds_for: "ليغذي {
|
|
153
|
-
opml_generated: "ليغذي {
|
|
152
|
+
opml_feeds_for: "ليغذي %{terms}"
|
|
153
|
+
opml_generated: "ليغذي %{terms}"
|
|
154
154
|
personal_recommendations: التوصيات
|
|
155
155
|
photos: صور
|
|
156
156
|
please_specify_url: "يرجى تحديد رابط"
|
|
@@ -171,8 +171,8 @@ ar:
|
|
|
171
171
|
repository: التعريف
|
|
172
172
|
repository_short_title: "مستودع قصيرة العنوان :"
|
|
173
173
|
repository_title: "مستودع العنوان :"
|
|
174
|
-
resource_search_results: "الموارد <b
|
|
175
|
-
resource_tag_results: "الموارد <b
|
|
174
|
+
resource_search_results: "الموارد <b>%{first}}-- %{last}}من %{total}}ل%{terms}البحث</b>"
|
|
175
|
+
resource_tag_results: "الموارد <b>%{first}}-- %{last}}من %{total}}الموسومة %{terms}</b>"
|
|
176
176
|
resources_tag_cloud_label: "استعراض الموارد باستخدام السمات <a href=\"/resources?grain_size=course\">[تصفح دورات فقط]</a>"
|
|
177
177
|
results: النتائج
|
|
178
178
|
rss: "آر إس إس"
|
|
@@ -187,8 +187,8 @@ ar:
|
|
|
187
187
|
searching_for_feed: "البحث عن يغذي..."
|
|
188
188
|
select_feeds_prompt: "حدد يغذي كنت أود أن أضيف :"
|
|
189
189
|
select_service_prompt: "يرجى اختيار خدمة"
|
|
190
|
-
service_feed_name: "{
|
|
191
|
-
service_username: "اسم المستخدم {
|
|
190
|
+
service_feed_name: "%{term}}على %{service}"
|
|
191
|
+
service_username: "اسم المستخدم %{service}"
|
|
192
192
|
setup_aggregation: "الإعداد التجميع"
|
|
193
193
|
share: مشاركة
|
|
194
194
|
short_title: "الاسم المختصر :"
|
|
@@ -196,21 +196,21 @@ ar:
|
|
|
196
196
|
show_tagged_courses: "وتظهر فقط الدورات"
|
|
197
197
|
show_tagged_resources: "وتظهر أي نوع من الموارد"
|
|
198
198
|
signup: التوقيع
|
|
199
|
-
signup_to_save_aggreation: "{
|
|
199
|
+
signup_to_save_aggreation: "%{login}}أو %{signup}لحفظ هذا البحث"
|
|
200
200
|
spinner_image: "في انتظار الصور"
|
|
201
201
|
start_over: "البدء من جديد"
|
|
202
202
|
status: حالة
|
|
203
203
|
submitting_feed_message: "تقديم خلاصتك..."
|
|
204
|
-
successfully_added_uri_feed: "نجحت في إضافة {
|
|
205
|
-
successfully_added_username_feed: "نجحت في إضافة {
|
|
204
|
+
successfully_added_uri_feed: "نجحت في إضافة %{uri}"
|
|
205
|
+
successfully_added_username_feed: "نجحت في إضافة %{service}"
|
|
206
206
|
tags: السمات
|
|
207
207
|
terms_instructions: "وإضافة العديد من السمات أو عبارات بقدر ما تريد. منفصلة مع كل فاصلة. مثل الغذاء ، وصفات ، وأفضل أماكن لتناول الطعام ، والعضوي"
|
|
208
208
|
title: العنوان
|
|
209
|
-
topic_feeds_for: "ليغذي {
|
|
210
|
-
topic_generated: "النتائج
|
|
209
|
+
topic_feeds_for: "ليغذي %{terms}"
|
|
210
|
+
topic_generated: "النتائج ل`%{terms}`."
|
|
211
211
|
type_of_metadata: "النوع من البيانات الوصفية :"
|
|
212
212
|
uri: رابط
|
|
213
|
-
url_not_in_index: "<a href='{
|
|
213
|
+
url_not_in_index: "<a href='%{uri}'>والموارد المطلوبة لتوصيات</a> لم يتم فهرستها. الرجاء إضافة مستودع يحتوي على البيانات الوصفية للمورد لإضافته إلى المؤشر."
|
|
214
214
|
validate_feed: "علامة تغذية كصالح"
|
|
215
215
|
videos: "أشرطة الفيديو"
|
|
216
216
|
visit: زيارة
|