muck-activities 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.rdoc +69 -0
  3. data/Rakefile +78 -0
  4. data/VERSION +1 -0
  5. data/app/controllers/muck/activities_controller.rb +152 -0
  6. data/app/helpers/muck_activity_helper.rb +67 -0
  7. data/app/models/activity.rb +62 -0
  8. data/app/models/activity_feed.rb +16 -0
  9. data/app/views/activities/_activity_feed.html.erb +18 -0
  10. data/app/views/activities/_cached_activities.html.erb +8 -0
  11. data/app/views/activities/_comment.html.erb +6 -0
  12. data/app/views/activities/_comments.html.erb +7 -0
  13. data/app/views/activities/_current_status.html.erb +14 -0
  14. data/app/views/activities/_current_status_wrapper.html.erb +4 -0
  15. data/app/views/activities/_delete.html.erb +11 -0
  16. data/app/views/activities/_status_update.html.erb +35 -0
  17. data/app/views/activities/_template_filter.html.erb +6 -0
  18. data/app/views/activity_templates/_status_update.html.erb +12 -0
  19. data/config/muck_activities_routes.rb +3 -0
  20. data/db/migrate/20090402033319_add_muck_activities.rb +36 -0
  21. data/install.rb +1 -0
  22. data/lib/muck_activities/initialize_routes.rb +8 -0
  23. data/lib/muck_activities/tasks.rb +28 -0
  24. data/lib/muck_activities.rb +76 -0
  25. data/locales/ar.yml +24 -0
  26. data/locales/bg.yml +24 -0
  27. data/locales/ca.yml +24 -0
  28. data/locales/cs.yml +24 -0
  29. data/locales/da.yml +24 -0
  30. data/locales/de.yml +24 -0
  31. data/locales/el.yml +24 -0
  32. data/locales/en.yml +25 -0
  33. data/locales/es.yml +24 -0
  34. data/locales/fr.yml +24 -0
  35. data/locales/it.yml +24 -0
  36. data/locales/iw.yml +24 -0
  37. data/locales/ja.yml +24 -0
  38. data/locales/ko.yml +24 -0
  39. data/locales/lt.yml +24 -0
  40. data/locales/lv.yml +24 -0
  41. data/locales/nl.yml +24 -0
  42. data/locales/no.yml +25 -0
  43. data/locales/pl.yml +24 -0
  44. data/locales/pt.yml +24 -0
  45. data/locales/ro.yml +24 -0
  46. data/locales/ru.yml +24 -0
  47. data/locales/sk.yml +24 -0
  48. data/locales/sl.yml +24 -0
  49. data/locales/sr.yml +24 -0
  50. data/locales/sv.yml +24 -0
  51. data/locales/tl.yml +24 -0
  52. data/locales/uk.yml +24 -0
  53. data/locales/vi.yml +24 -0
  54. data/locales/zh-CN.yml +24 -0
  55. data/locales/zh-TW.yml +24 -0
  56. data/locales/zh.yml +24 -0
  57. data/public/images/loading.gif +0 -0
  58. data/public/javascripts/muck_activities.js +65 -0
  59. data/rails/init.rb +4 -0
  60. data/rdoc/classes/ActionController/Routing/RouteSet.html +148 -0
  61. data/rdoc/classes/ActionController/Routing.html +107 -0
  62. data/rdoc/classes/ActionController.html +107 -0
  63. data/rdoc/classes/MuckActivity/ActMethods.html +189 -0
  64. data/rdoc/classes/MuckActivity/InstanceMethods.html +244 -0
  65. data/rdoc/classes/MuckActivity/Tasks.html +146 -0
  66. data/rdoc/created.rid +1 -0
  67. data/rdoc/files/README_rdoc.html +212 -0
  68. data/rdoc/files/lib/muck_activity/initialize_routes_rb.html +101 -0
  69. data/rdoc/files/lib/muck_activity/tasks_rb.html +110 -0
  70. data/rdoc/files/lib/muck_activity_rb.html +108 -0
  71. data/rdoc/fr_class_index.html +32 -0
  72. data/rdoc/fr_file_index.html +30 -0
  73. data/rdoc/fr_method_index.html +33 -0
  74. data/rdoc/index.html +24 -0
  75. data/rdoc/rdoc-style.css +208 -0
  76. data/tasks/muck_activity_tasks.rake +1 -0
  77. data/test/factories.rb +41 -0
  78. data/test/functional/activities_controller_test.rb +64 -0
  79. data/test/shoulda_macros/controller.rb +43 -0
  80. data/test/test_helper.rb +38 -0
  81. data/test/unit/activity_feed_test.rb +5 -0
  82. data/test/unit/activity_test.rb +57 -0
  83. data/uninstall.rb +1 -0
  84. metadata +169 -0
@@ -0,0 +1,28 @@
1
+ require 'rake'
2
+ require 'rake/tasklib'
3
+ require 'fileutils'
4
+
5
+ module MuckActivity
6
+ class Tasks < ::Rake::TaskLib
7
+ def initialize
8
+ define
9
+ end
10
+
11
+ private
12
+ def define
13
+
14
+ namespace :muck do
15
+ namespace :activity do
16
+ desc "Sync required files from activity."
17
+ task :sync do
18
+ path = File.join(File.dirname(__FILE__), *%w[.. ..])
19
+ system "rsync -ruv #{path}/db ."
20
+ system "rsync -ruv #{path}/public ."
21
+ end
22
+ end
23
+ end
24
+
25
+ end
26
+ end
27
+ end
28
+ MuckActivity::Tasks.new
@@ -0,0 +1,76 @@
1
+ require 'cgi'
2
+
3
+ module MuckActivity # :nodoc:
4
+
5
+ def self.included(base) # :nodoc:
6
+ base.extend ActMethods
7
+ end
8
+
9
+ module ActMethods
10
+
11
+ # +has_activities+ gives the class it is called on an activity feed and a method called
12
+ # +add_activity+ that can add activities into a feed. Retrieve activity feed items
13
+ # via object.activities. ie @user.activities.
14
+ def has_activities
15
+ unless included_modules.include? InstanceMethods
16
+ has_many :activity_feeds, :as => :ownable
17
+ has_many :activities, :through => :activity_feeds, :order => 'created_at desc'
18
+ include InstanceMethods
19
+ end
20
+ end
21
+
22
+ # +acts_as_activity_source+ gives the class it is called on a method called
23
+ # +add_activity+ that can add activities into a feed.
24
+ def acts_as_activity_source
25
+ unless included_modules.include? InstanceMethods
26
+ include InstanceMethods
27
+ end
28
+ end
29
+
30
+ end
31
+
32
+ module InstanceMethods
33
+
34
+ # +add_activity+ adds an activity to all activites feeds that belong to the objects found in feed_to.
35
+ # * +feed_to+: an array of objects that have +has_activities+ declared on them. The generated activity
36
+ # will be pushed into the feed of each of these objects.
37
+ # * +source+: the object that peformed the activity ie a user or group
38
+ # * +item+: an object that will be used to generated the entry in an activity feed
39
+ # * +template+: name of an partial that will be used to generated the entry in the activity feed. Place
40
+ # templates in /app/views/activity_templates
41
+ # * +title+: optional title that can be used in the template
42
+ # * +content+: option content that can be used in the template. Useful for activities that might not have
43
+ # an item but instead might have a message or other text.
44
+ # * +check_method+: method that will be called on each item in the feed_to array. If the method evaluates
45
+ # to false the activity won't be added to the object's activity feed. An example usage would be
46
+ # letting users configure which items they want to have in their activity feed.
47
+ def add_activity(feed_to, source, item, template, title = '', content = '', check_method = nil)
48
+ feed_to = [feed_to] unless feed_to.is_a?(Array)
49
+ activity = Activity.create(:item => item, :source => source, :template => template, :title => title, :content => content)
50
+ feed_to.each do |ft|
51
+ if check_method
52
+ ft.activities << activity if ft.send(check_method)
53
+ else
54
+ ft.activities << activity
55
+ end
56
+ end
57
+ end
58
+
59
+ # +status+ returns the first activity item from the user's activity feed that is a status update.
60
+ # Used for displaying the last status update the user made
61
+ def status
62
+ self.activities.find(:first, :conditions => ['is_status_update = true'], :order => 'created_at DESC')
63
+ end
64
+
65
+ def can_view?(check_object)
66
+ self == check_object
67
+ end
68
+ end
69
+
70
+ end
71
+
72
+ ActiveRecord::Base.send(:include, MuckActivity)
73
+ ActionController::Base.send(:include, MuckActivity)
74
+ ActionController::Base.send :helper, MuckActivityHelper
75
+
76
+ I18n.load_path += Dir[ File.join(File.dirname(__FILE__), '..', 'locales', '*.{rb,yml}') ]
data/locales/ar.yml ADDED
@@ -0,0 +1,24 @@
1
+ ---
2
+ ar:
3
+ muck:
4
+ activities:
5
+ activity_feed_title: "النشاط الأخير"
6
+ all_activities: "جميع الأنشطة"
7
+ clear: واضح
8
+ invite_friends: "دعوة الأصدقاء"
9
+ item_could_not_be_removed: "البند لا يمكن شطبها من قائمة الأنشطة الأخيرة."
10
+ item_created: "واضاف النشاط"
11
+ item_removed: "البند بنجاح في الآونة الأخيرة من الأنشطة القائمة."
12
+ joined_status: "{{name}} joined {{application_name}}"
13
+ paging_newer: «أحدث
14
+ paging_older: "أقدم »"
15
+ permission_denied: "عذرا ، لا يمكنك فعل ذلك."
16
+ post: مشاركة
17
+ problem_with_status: "هناك مشكلة في تغيير حالتك"
18
+ status_indicator: يكون
19
+ status_update_prompt: "ماذا تفعل الآن؟"
20
+ template_or_item_required: "نشاط يتطلب القالب أو بندا لعرض بشكل صحيح"
21
+ time_ago: "قبل {{time_in_words}}"
22
+ update_error: "عفوا... كانت هناك مشكلة. {{errors}}"
23
+ update_status_message: "تحديث مركز!"
24
+ updating_status_message: "تحديث حالتك. الرجاء الانتظار."
data/locales/bg.yml ADDED
@@ -0,0 +1,24 @@
1
+ ---
2
+ bg:
3
+ muck:
4
+ activities:
5
+ activity_feed_title: "Скорошна активност"
6
+ all_activities: "Всички дейности"
7
+ clear: Ясен
8
+ invite_friends: "Поканете приятели"
9
+ item_could_not_be_removed: "Точка не могат да бъдат отстранени от последните дейности списък."
10
+ item_created: "Добавен дейност"
11
+ item_removed: "Позиция успешно отстранява от последните дейности списък."
12
+ joined_status: "{{name}} joined {{application_name}}"
13
+ paging_newer: «По-нови
14
+ paging_older: "По-стари »"
15
+ permission_denied: "За съжаление, не можете да направите това."
16
+ post: Дял
17
+ problem_with_status: "Имаше проблем с промяна на статута"
18
+ status_indicator: е
19
+ status_update_prompt: "Какво правите в момента?"
20
+ template_or_item_required: "Една дейност изисква шаблон или елемент да показва правилно"
21
+ time_ago: "{{time_in_words}} Назад"
22
+ update_error: "Опа ... Имаше проблем. {{errors}}"
23
+ update_status_message: "обновите своя статус!"
24
+ updating_status_message: "Актуализиране на вашия статус. Моля, изчакайте."
data/locales/ca.yml ADDED
@@ -0,0 +1,24 @@
1
+ ---
2
+ ca:
3
+ muck:
4
+ activities:
5
+ activity_feed_title: "Activitat recent"
6
+ all_activities: "Totes les activitats"
7
+ clear: Clar
8
+ invite_friends: "Convidar amics"
9
+ item_could_not_be_removed: "Tema no pot ser eliminat de la llista d&#39;activitats recents."
10
+ item_created: "Afegit activitat"
11
+ item_removed: "Ha eliminat el tema de la recent llista d&#39;activitats."
12
+ joined_status: "{{name}} joined {{application_name}}"
13
+ paging_newer: "«Més recent"
14
+ paging_older: "Més antic »"
15
+ permission_denied: "Ho sentim, no pots fer això."
16
+ post: Compartir
17
+ problem_with_status: "Hi ha hagut un problema de canviar el seu estatut"
18
+ status_indicator: és
19
+ status_update_prompt: "Què estàs fent ara?"
20
+ template_or_item_required: "Una activitat que requereix d&#39;una plantilla o un element per mostrar correctament"
21
+ time_ago: "{{time_in_words}} Fa"
22
+ update_error: "Quin ... Hi ha hagut un problema. {{errors}}"
23
+ update_status_message: "actualització del seu estat!"
24
+ updating_status_message: "L&#39;actualització del seu estat. Si us plau, espereu."
data/locales/cs.yml ADDED
@@ -0,0 +1,24 @@
1
+ ---
2
+ cs:
3
+ muck:
4
+ activities:
5
+ activity_feed_title: "Poslední aktivita"
6
+ all_activities: "Všechny aktivity"
7
+ clear: Jasný
8
+ invite_friends: "Pozvat přátele"
9
+ item_could_not_be_removed: "Bod nemohl být odstraněn z posledních aktivit seznamu."
10
+ item_created: "Přidáno činnost"
11
+ item_removed: "Bod byl úspěšně odstraněn z posledních aktivit seznamu."
12
+ joined_status: "{{name}} joined {{application_name}}"
13
+ paging_newer: «Novější
14
+ paging_older: "Starší »"
15
+ permission_denied: "Omlouváme se, ale nemůžete udělat."
16
+ post: Sdílet
17
+ problem_with_status: "Došlo k problému při změně stavu"
18
+ status_indicator: je
19
+ status_update_prompt: "Co děláte teď?"
20
+ template_or_item_required: "Činnost vyžaduje šablony nebo položky na displeji správně"
21
+ time_ago: "{{time_in_words}} Ago"
22
+ update_error: "Jejda ... Došlo k problému. {{errors}}"
23
+ update_status_message: "aktualizovat svůj stav!"
24
+ updating_status_message: "Aktualizaci stavu. Prosím čekejte."
data/locales/da.yml ADDED
@@ -0,0 +1,24 @@
1
+ ---
2
+ da:
3
+ muck:
4
+ activities:
5
+ activity_feed_title: "Seneste aktivitet"
6
+ all_activities: "Alle aktiviteter"
7
+ clear: Klar
8
+ invite_friends: "Inviter venner"
9
+ item_could_not_be_removed: "Konto ikke kunne fjernes fra de seneste aktiviteter listen."
10
+ item_created: "Lagt aktivitet"
11
+ item_removed: "Konto held fjernet fra de seneste aktiviteter listen."
12
+ joined_status: "{{name}} joined {{application_name}}"
13
+ paging_newer: «Nyere
14
+ paging_older: "Ældre »"
15
+ permission_denied: "Beklager, men du kan ikke gøre det."
16
+ post: Del
17
+ problem_with_status: "Der var et problem at ændre din status"
18
+ status_indicator: er
19
+ status_update_prompt: "Hvad laver du lige nu?"
20
+ template_or_item_required: "En aktivitet kræver en skabelon eller et emne til at vise korrekt"
21
+ time_ago: "{{time_in_words}} Siden"
22
+ update_error: "Ups ... Der var et problem. {{errors}}"
23
+ update_status_message: "opdatere din status!"
24
+ updating_status_message: "Opdatering af din status. Vent venligst."
data/locales/de.yml ADDED
@@ -0,0 +1,24 @@
1
+ ---
2
+ de:
3
+ muck:
4
+ activities:
5
+ activity_feed_title: "Letzte Aktivitäten"
6
+ all_activities: "Alle Aktivitäten"
7
+ clear: Klar
8
+ invite_friends: "Freunde einladen"
9
+ item_could_not_be_removed: "Punkt konnte nicht entfernt werden aus den jüngsten Aktivitäten Liste."
10
+ item_created: "Hinzugefügt Tätigkeit"
11
+ item_removed: "Posten erfolgreich aus der jüngsten Aktivitäten Liste."
12
+ joined_status: "{{name}} joined {{application_name}}"
13
+ paging_newer: «Neuere
14
+ paging_older: "Ältere »"
15
+ permission_denied: "Sorry, Sie können das nicht."
16
+ post: Anteil
17
+ problem_with_status: "Es gab ein Problem, wenn Sie Ihre Status"
18
+ status_indicator: ist
19
+ status_update_prompt: "Was machst du jetzt?"
20
+ template_or_item_required: "Eine Tätigkeit erfordert eine Vorlage oder ein Element, um korrekt"
21
+ time_ago: "{{time_in_words}} Vor"
22
+ update_error: "Ups ... Es gab ein Problem. {{errors}}"
23
+ update_status_message: "aktualisieren Sie Ihren Status!"
24
+ updating_status_message: "Aktualisieren Sie Ihren Status. Bitte warten."
data/locales/el.yml ADDED
@@ -0,0 +1,24 @@
1
+ ---
2
+ el:
3
+ muck:
4
+ activities:
5
+ activity_feed_title: "Πρόσφατη δραστηριότητα"
6
+ all_activities: "Όλες οι δραστηριότητες"
7
+ clear: Καθαρός
8
+ invite_friends: "Πρόσκληση φίλων"
9
+ item_could_not_be_removed: "Το σημείο δεν μπορούσε να αφαιρεθεί από τον κατάλογο πρόσφατες δραστηριότητες."
10
+ item_created: "Προστέθηκε δραστηριότητα"
11
+ item_removed: "Θέση με επιτυχία από τις πρόσφατες δραστηριότητες λίστα."
12
+ joined_status: "{{name}} joined {{application_name}}"
13
+ paging_newer: «Νεότερα
14
+ paging_older: "Παλαιότερο »"
15
+ permission_denied: "Λυπούμαστε, δεν μπορείτε να το κάνετε αυτό."
16
+ post: Μοιράζομαι
17
+ problem_with_status: "Υπήρξε πρόβλημα στην αλλαγή σας"
18
+ status_indicator: είναι
19
+ status_update_prompt: "Τι κάνεις τώρα;"
20
+ template_or_item_required: "Μια δραστηριότητα απαιτεί ένα πρότυπο ή ένα στοιχείο για να εμφανιστεί σωστά"
21
+ time_ago: "{{time_in_words}} Πριν"
22
+ update_error: "Ωχ ... Υπήρξε ένα πρόβλημα. {{errors}}"
23
+ update_status_message: "ενημέρωση σας!"
24
+ updating_status_message: "Η ενημέρωση σας. Παρακαλώ περιμένετε."
data/locales/en.yml ADDED
@@ -0,0 +1,25 @@
1
+ en:
2
+ muck:
3
+ activities:
4
+ item_removed: 'Item successfully removed from the recent activities list.'
5
+ item_could_not_be_removed: 'Item could not be removed from the recent activities list.'
6
+ item_created: 'Added activity'
7
+ permission_denied: "Sorry, you can't do that."
8
+ status_update_prompt: "What are you doing right now?"
9
+ activity_feed_title: 'Recent Activity'
10
+ updating_status_message: "Updating your status. Please wait."
11
+ status_indicator: is
12
+ invite_friends: Invite Friends
13
+ joined_status: "{{name}} joined {{application_name}}"
14
+ post: Share
15
+ clear: Clear
16
+ problem_with_status: "There was a problem changing your status"
17
+ update_error: "Oops... There was a problem. {{errors}}"
18
+ update_status_message: "update your status!"
19
+ time_ago: "{{time_in_words}} ago"
20
+ template_or_item_required: "An activity requires a template or an item to display correctly"
21
+ paging_newer: '&laquo; Newer'
22
+ paging_older: 'Older &raquo;'
23
+ all_activities: All Activities
24
+ make_comment: Comment
25
+ write_prompt: "Write a comment..."
data/locales/es.yml ADDED
@@ -0,0 +1,24 @@
1
+ ---
2
+ es:
3
+ muck:
4
+ activities:
5
+ activity_feed_title: "Actividad reciente"
6
+ all_activities: "Todas las actividades"
7
+ clear: Claro
8
+ invite_friends: "Invitar a amigos"
9
+ item_could_not_be_removed: "Tema no puede ser removido de la lista de actividades recientes."
10
+ item_created: "Añadido actividad"
11
+ item_removed: "Ha eliminado el tema de la reciente lista de actividades."
12
+ joined_status: "{{name}} joined {{application_name}}"
13
+ paging_newer: "«Más reciente"
14
+ paging_older: "Más antiguo »"
15
+ permission_denied: "Lo sentimos, no puedes hacer eso."
16
+ post: Compartir
17
+ problem_with_status: "Ha habido un problema de cambiar su estatuto"
18
+ status_indicator: es
19
+ status_update_prompt: "¿Qué estás haciendo ahora?"
20
+ template_or_item_required: "Una actividad que requiere de una plantilla o un elemento para mostrar correctamente"
21
+ time_ago: "{{time_in_words}} Hace"
22
+ update_error: "Vaya ... Ha habido un problema. {{errors}}"
23
+ update_status_message: "actualización de su estado!"
24
+ updating_status_message: "La actualización de su estado. Por favor, espere."
data/locales/fr.yml ADDED
@@ -0,0 +1,24 @@
1
+ ---
2
+ fr:
3
+ muck:
4
+ activities:
5
+ activity_feed_title: "Activité récente"
6
+ all_activities: "Toutes les activités"
7
+ clear: Clair
8
+ invite_friends: "Inviter des amis"
9
+ item_could_not_be_removed: "Point ne peut pas être retiré de la liste des activités récentes."
10
+ item_created: "Ajouté activité"
11
+ item_removed: "Point supprimé de la liste des activités récentes."
12
+ joined_status: "{{name}} joined {{application_name}}"
13
+ paging_newer: «Newer
14
+ paging_older: "Older »"
15
+ permission_denied: "Désolé, vous ne pouvez pas faire cela."
16
+ post: Partager
17
+ problem_with_status: "Il y avait un problème de changer votre statut"
18
+ status_indicator: est
19
+ status_update_prompt: "Que faites-vous actuellement?"
20
+ template_or_item_required: "Une activité exige un modèle ou un élément pour afficher correctement"
21
+ time_ago: "Il ya {{time_in_words}}"
22
+ update_error: "Oops ... Il y avait un problème. {{errors}}"
23
+ update_status_message: "mise à jour de votre statut!"
24
+ updating_status_message: "Mise à jour de votre statut. Attendez s&#39;il vous plaît."
data/locales/it.yml ADDED
@@ -0,0 +1,24 @@
1
+ ---
2
+ it:
3
+ muck:
4
+ activities:
5
+ activity_feed_title: "Attività recenti"
6
+ all_activities: "Tutte le attività"
7
+ clear: Chiaro
8
+ invite_friends: "Invita Amici"
9
+ item_could_not_be_removed: "Voce non può essere rimosso dalla lista delle attività recenti."
10
+ item_created: "Aggiunto attività"
11
+ item_removed: "Voce successo rimosso dalla recente attività lista."
12
+ joined_status: "{{name}} joined {{application_name}}"
13
+ paging_newer: "«Più recenti"
14
+ paging_older: "Meno recenti »"
15
+ permission_denied: "Siamo spiacenti, non puoi farlo."
16
+ post: Condividere
17
+ problem_with_status: "C&#39;è stato un problema di cambiare il proprio stato"
18
+ status_indicator: è
19
+ status_update_prompt: "Che cosa stai facendo ora?"
20
+ template_or_item_required: "L&#39;attività richiede un modello o un elemento per visualizzare correttamente"
21
+ time_ago: "{{time_in_words}} Fa"
22
+ update_error: "Oops ... Si è verificato un problema. {{errors}}"
23
+ update_status_message: "aggiornare lo stato!"
24
+ updating_status_message: "Aggiornare il proprio status. Ti preghiamo di attendere."
data/locales/iw.yml ADDED
@@ -0,0 +1,24 @@
1
+ ---
2
+ iw:
3
+ muck:
4
+ activities:
5
+ activity_feed_title: "פעילות אחרונה"
6
+ all_activities: "כל הפעילויות"
7
+ clear: ברור
8
+ invite_friends: "הזמן חברים"
9
+ item_could_not_be_removed: "פריט שלא ניתן היה להסיר את רשימת הפעילויות האחרונות."
10
+ item_created: "פעילות נוסף"
11
+ item_removed: "פריט בהצלחה להסיר את רשימת הפעילויות האחרונות."
12
+ joined_status: "{{name}} joined {{application_name}}"
13
+ paging_newer: "«חדש יותר"
14
+ paging_older: "ישן יותר »"
15
+ permission_denied: "אנו מצטערים, אבל אתה לא יכול לעשות את זה."
16
+ post: לשתף
17
+ problem_with_status: "ישנה בעיה לשנות את המצב"
18
+ status_indicator: הוא
19
+ status_update_prompt: "מה אתה עושה עכשיו?"
20
+ template_or_item_required: "פעילות מחייב תבנית או פריט כדי להציג כראוי"
21
+ time_ago: "לפני {{time_in_words}}"
22
+ update_error: "אופס ... הייתה בעיה. {{errors}}"
23
+ update_status_message: "עדכן את הסטטוס!"
24
+ updating_status_message: "אפשרות לעדכן את המצב. אנא המתן."
data/locales/ja.yml ADDED
@@ -0,0 +1,24 @@
1
+ ---
2
+ ja:
3
+ muck:
4
+ activities:
5
+ activity_feed_title: 最近のアクティビティ
6
+ all_activities: すべてのアクティビティ
7
+ clear: 片付ける
8
+ invite_friends: 友だちを招待
9
+ item_could_not_be_removed: アイテムは、最近の活動をリストから削除されませんでした。
10
+ item_created: 追加の活動
11
+ item_removed: アイテムが正常に、最近の活動をリストから削除されます。
12
+ joined_status: "{{name}} joined {{application_name}}"
13
+ paging_newer: «新しい
14
+ paging_older: 古い»
15
+ permission_denied: 申し訳ありませんが、そんなことはできない。
16
+ post: 共有する
17
+ problem_with_status: ステータスの変更中にエラーが発生しました
18
+ status_indicator: なる
19
+ status_update_prompt: 現在は何やってんの?
20
+ template_or_item_required: の活動や、アイテムが正常に表示するにはテンプレートが必要
21
+ time_ago: "{{time_in_words}}前"
22
+ update_error: "おっと...中に問題が発生した。 {{errors}}"
23
+ update_status_message: お客様の状況を更新!
24
+ updating_status_message: あなたのステータスを更新する。しばらくお待ちください。
data/locales/ko.yml ADDED
@@ -0,0 +1,24 @@
1
+ ---
2
+ ko:
3
+ muck:
4
+ activities:
5
+ activity_feed_title: "최근 활동"
6
+ all_activities: "모든 활동"
7
+ clear: 맑은
8
+ invite_friends: "친구 초대"
9
+ item_could_not_be_removed: "상품은 최근 활동을 목록에서 제거되지 않을 수있습니다."
10
+ item_created: "올린날짜 활동"
11
+ item_removed: "상품을 성공적으로 최근 활동을 목록에서 제거됩니다."
12
+ joined_status: "{{name}} joined {{application_name}}"
13
+ paging_newer: «최근
14
+ paging_older: 이전»
15
+ permission_denied: "죄송 해요, 그렇게 할 수 없어."
16
+ post: 공유
17
+ problem_with_status: "거기에 문제가 당신의 상태를 변경했습니다"
18
+ status_indicator: 이다
19
+ status_update_prompt: "너 지금 뭐하는거야?"
20
+ template_or_item_required: "활동 또는 항목을 올바르게 표시하는 템플릿이 필요합니다"
21
+ time_ago: "{{time_in_words}} 전"
22
+ update_error: "죄송합니다 ... 거기에 문제가있습니다. {{errors}}"
23
+ update_status_message: "귀하의 상태를 업데이 트!"
24
+ updating_status_message: "귀하의 상태를 업데이 트했다. 잠시 기다려주십시오."
data/locales/lt.yml ADDED
@@ -0,0 +1,24 @@
1
+ ---
2
+ lt:
3
+ muck:
4
+ activities:
5
+ activity_feed_title: "Recent Activity"
6
+ all_activities: "Visi Veikla"
7
+ clear: Aiškus
8
+ invite_friends: "Pakviesti draugų"
9
+ item_could_not_be_removed: "Punktas negali būti pašalinta iš paskutinių veiklos sąrašas."
10
+ item_created: "Pridėta veikla"
11
+ item_removed: "Prekė sėkmingai pašalinta iš paskutinių veiklos sąrašas."
12
+ joined_status: "{{name}} joined {{application_name}}"
13
+ paging_newer: «Naujesni
14
+ paging_older: "Senesni »"
15
+ permission_denied: "Atsiprašome, jūs negalite padaryti."
16
+ post: Dalytis
17
+ problem_with_status: "Iškilo problema pakeisti savo statusą"
18
+ status_indicator: yra
19
+ status_update_prompt: "Ką jūs darote dabar?"
20
+ template_or_item_required: "Veiklą reikia šabloną arba elementą rodyti teisingai"
21
+ time_ago: "{{time_in_words}} Atgal"
22
+ update_error: "Oi ... Iškilo problema. {{errors}}"
23
+ update_status_message: "Atnaujinkite savo statusą!"
24
+ updating_status_message: "Atnaujinama savo statusą. Prašome palaukti."
data/locales/lv.yml ADDED
@@ -0,0 +1,24 @@
1
+ ---
2
+ lv:
3
+ muck:
4
+ activities:
5
+ activity_feed_title: "Jaunākās darbības"
6
+ all_activities: "Visas darbības"
7
+ clear: Skaidrs
8
+ invite_friends: "Uzaicināt draugu"
9
+ item_could_not_be_removed: "Postenis nevarēja izņemt no neseno darbību sarakstu."
10
+ item_created: "Pievienots aktivitāte"
11
+ item_removed: "Postenis veiksmīgi izņemta no neseno darbību sarakstu."
12
+ joined_status: "{{name}} joined {{application_name}}"
13
+ paging_newer: «Jaunāki
14
+ paging_older: "Vecāks »"
15
+ permission_denied: "Atvainojiet, jūs nevarat darīt."
16
+ post: Dalīties
17
+ problem_with_status: "Radās problēma, mainot statusu"
18
+ status_indicator: ir
19
+ status_update_prompt: "Ko tu dari tieši tagad?"
20
+ template_or_item_required: "Darbību nepieciešama veidne vai prece attēlot pareizi"
21
+ time_ago: "{{time_in_words}} Ago"
22
+ update_error: "Ups ... Radās problēma. {{errors}}"
23
+ update_status_message: "atjauniniet savu statusu!"
24
+ updating_status_message: "Atjaunināšana Jūsu statusu. Lūdzu, uzgaidiet."
data/locales/nl.yml ADDED
@@ -0,0 +1,24 @@
1
+ ---
2
+ nl:
3
+ muck:
4
+ activities:
5
+ activity_feed_title: "Recente activiteit"
6
+ all_activities: "Alle activiteiten"
7
+ clear: Helder
8
+ invite_friends: "Vrienden uitnodigen"
9
+ item_could_not_be_removed: "Post kan niet worden verwijderd uit de recente activiteiten lijst."
10
+ item_created: "Toegevoegd activiteit"
11
+ item_removed: "Post succesvol verwijderd uit de recente activiteiten lijst."
12
+ joined_status: "{{name}} joined {{application_name}}"
13
+ paging_newer: «Nieuwer
14
+ paging_older: "Ouder »"
15
+ permission_denied: "Sorry, kan je niet doen."
16
+ post: Delen
17
+ problem_with_status: "Er is een probleem verandert uw status"
18
+ status_indicator: is
19
+ status_update_prompt: "Wat doe je nu?"
20
+ template_or_item_required: "Een activiteit is een sjabloon of een item om de juiste"
21
+ time_ago: "{{time_in_words}} Geleden"
22
+ update_error: "Oeps ... Er was een probleem. {{errors}}"
23
+ update_status_message: "update your status!"
24
+ updating_status_message: "Updaten van uw status. Please wait."
data/locales/no.yml ADDED
@@ -0,0 +1,25 @@
1
+ ---
2
+ ? "no"
3
+ :
4
+ muck:
5
+ activities:
6
+ activity_feed_title: "Nylig aktivitet"
7
+ all_activities: "Alle Aktiviteter"
8
+ clear: Klar
9
+ invite_friends: "Inviter venner"
10
+ item_could_not_be_removed: "Elementet kan ikke bli fjernet fra det siste aktiviteter listen."
11
+ item_created: "Lagt til aktivitet"
12
+ item_removed: "Elementet er fjernet fra den nylige aktiviteter listen."
13
+ joined_status: "{{name}} joined {{application_name}}"
14
+ paging_newer: «Nyere
15
+ paging_older: "Eldre »"
16
+ permission_denied: "Beklager, du kan ikke gjøre det."
17
+ post: Dele
18
+ problem_with_status: "Det var et problem med å endre status"
19
+ status_indicator: er
20
+ status_update_prompt: "Hva gjør du nå?"
21
+ template_or_item_required: "En aktivitet som krever en mal eller et element for å vise riktig"
22
+ time_ago: "{{time_in_words}} Siden"
23
+ update_error: "Oops ... Det var et problem. {{errors}}"
24
+ update_status_message: "oppdatere statusen din!"
25
+ updating_status_message: "Oppdatere statusen din. Vennligst vent."
data/locales/pl.yml ADDED
@@ -0,0 +1,24 @@
1
+ ---
2
+ pl:
3
+ muck:
4
+ activities:
5
+ activity_feed_title: "Recent Activity"
6
+ all_activities: "Wszystkie działania"
7
+ clear: Jasny
8
+ invite_friends: "Zaproś przyjaciół"
9
+ item_could_not_be_removed: "Pozycja nie może być usunięty z listy ostatnich działań."
10
+ item_created: "Dodano działalności"
11
+ item_removed: "Pozycja pomyślnie usunięty z ostatnich działań listy."
12
+ joined_status: "{{name}} joined {{application_name}}"
13
+ paging_newer: «Nowsze
14
+ paging_older: "Starsze »"
15
+ permission_denied: "Niestety, nie możesz zrobić."
16
+ post: Dzielić
17
+ problem_with_status: "Wystąpił problem zmieniających swój status"
18
+ status_indicator: jest
19
+ status_update_prompt: "Co robisz teraz?"
20
+ template_or_item_required: "Działalność wymaga szablonu lub elementu, aby wyświetlić prawidłowo"
21
+ time_ago: "{{time_in_words}} Temu"
22
+ update_error: "Ups ... Wystąpił problem. {{errors}}"
23
+ update_status_message: "zaktualizować swój status!"
24
+ updating_status_message: "Uaktualnianie stanu. Proszę czekać."
data/locales/pt.yml ADDED
@@ -0,0 +1,24 @@
1
+ ---
2
+ pt:
3
+ muck:
4
+ activities:
5
+ activity_feed_title: "Atividade recente"
6
+ all_activities: "Todas as actividades"
7
+ clear: Apagar
8
+ invite_friends: "Convidar amigos"
9
+ item_could_not_be_removed: "O ponto não pode ser removido da lista recentes actividades."
10
+ item_created: "Adicionado actividade"
11
+ item_removed: "Item removido com êxito da recente actividades lista."
12
+ joined_status: "{{name}} joined {{application_name}}"
13
+ paging_newer: «Recentes
14
+ paging_older: "Antigos »"
15
+ permission_denied: "Desculpe, você não pode fazer isso."
16
+ post: Compartilhar
17
+ problem_with_status: "Houve um problema ao mudar o seu estado"
18
+ status_indicator: é
19
+ status_update_prompt: "O que você está fazendo agora?"
20
+ template_or_item_required: "Uma actividade requer um modelo ou um item para exibir corretamente"
21
+ time_ago: "{{time_in_words}} Atrás"
22
+ update_error: "Opa ... Houve um problema. {{errors}}"
23
+ update_status_message: "actualizar o seu estado!"
24
+ updating_status_message: "Atualizando o seu estado. Aguarde."
data/locales/ro.yml ADDED
@@ -0,0 +1,24 @@
1
+ ---
2
+ ro:
3
+ muck:
4
+ activities:
5
+ activity_feed_title: "Activitate recentă"
6
+ all_activities: "Toate activităţile"
7
+ clear: Limpede
8
+ invite_friends: "Invitaţi prieteni"
9
+ item_could_not_be_removed: "Postul nu a putut fi eliminate de pe lista de activităţi recente."
10
+ item_created: "Adăugat activitate"
11
+ item_removed: "Postul a fost eliminat cu succes din ultimii activităţilor lista."
12
+ joined_status: "{{name}} joined {{application_name}}"
13
+ paging_newer: "«Mai nou"
14
+ paging_older: "Mai vechi »"
15
+ permission_denied: "Ne pare rău, nu puteţi face acest lucru."
16
+ post: Împărtăşi
17
+ problem_with_status: "A apărut o problemă la modificarea statutului"
18
+ status_indicator: este
19
+ status_update_prompt: "Ce faci acum?"
20
+ template_or_item_required: "O activitate care necesită un şablon sau un element pentru a afişa corect"
21
+ time_ago: "{{time_in_words}} În urmă"
22
+ update_error: "Oops ... Nu a fost o problema. {{errors}}"
23
+ update_status_message: "actualizare statutul dumneavoastra!"
24
+ updating_status_message: "Actualizarea statutul dumneavoastra. Vă rugăm să aşteptaţi."