muck-activities 0.1.19 → 0.1.20
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/README.rdoc +5 -0
- data/VERSION +1 -1
- data/app/controllers/muck/activities_controller.rb +2 -2
- data/app/helpers/muck_activity_helper.rb +38 -13
- data/app/views/activities/_activity_feed.html.erb +2 -6
- data/app/views/activities/_activity_scripts.html.erb +5 -0
- data/app/views/activities/_cached_activities.html.erb +2 -3
- data/app/views/activities/_contribute.html.erb +22 -0
- data/app/views/activity_templates/_generic.html.erb +1 -1
- data/db/migrate/20090818204527_add_activity_indexes.rb +9 -0
- data/db/migrate/20090819030523_add_attachable_to_activities.rb +13 -0
- data/lib/active_record/acts/muck_activity.rb +4 -0
- data/lib/muck_activities/muck_activity_sources.rb +7 -2
- data/locales/ar.yml +15 -11
- data/locales/bg.yml +17 -13
- data/locales/ca.yml +18 -14
- data/locales/cs.yml +16 -12
- data/locales/da.yml +12 -8
- data/locales/de.yml +17 -13
- data/locales/el.yml +15 -11
- data/locales/en.yml +4 -0
- data/locales/es.yml +15 -11
- data/locales/et.yml +17 -13
- data/locales/fa.yml +17 -13
- data/locales/fi.yml +19 -15
- data/locales/fr.yml +15 -11
- data/locales/gl.yml +21 -17
- data/locales/hi.yml +11 -7
- data/locales/hr.yml +15 -11
- data/locales/hu.yml +18 -14
- data/locales/id.yml +19 -15
- data/locales/it.yml +20 -16
- data/locales/iw.yml +16 -12
- data/locales/ja.yml +17 -13
- data/locales/ko.yml +13 -9
- data/locales/lt.yml +13 -9
- data/locales/lv.yml +15 -11
- data/locales/mt.yml +20 -16
- data/locales/nl.yml +15 -11
- data/locales/no.yml +16 -12
- data/locales/pl.yml +13 -9
- data/locales/pt-PT.yml +17 -13
- data/locales/ro.yml +18 -14
- data/locales/ru.yml +14 -10
- data/locales/sk.yml +16 -12
- data/locales/sl.yml +17 -13
- data/locales/sq.yml +19 -15
- data/locales/sr.yml +20 -16
- data/locales/sv.yml +17 -13
- data/locales/th.yml +18 -14
- data/locales/tl.yml +12 -8
- data/locales/tr.yml +17 -13
- data/locales/uk.yml +15 -11
- data/locales/vi.yml +15 -11
- data/locales/zh-CN.yml +13 -9
- data/locales/zh-TW.yml +12 -8
- data/locales/zh.yml +13 -9
- data/muck-activities.gemspec +12 -5
- data/public/javascripts/muck_activities.js +1 -2
- data/test/rails_root/config/environment.rb +1 -1
- data/test/rails_root/config/global_config.yml +4 -0
- data/test/rails_root/db/migrate/20090818204527_add_activity_indexes.rb +9 -0
- data/test/rails_root/db/migrate/20090819030523_add_attachable_to_activities.rb +13 -0
- data/test/rails_root/test/unit/activity_test.rb +24 -1
- data/test/rails_root/test/unit/share_test.rb +1 -1
- metadata +14 -4
data/locales/sr.yml
CHANGED
@@ -2,29 +2,33 @@
|
|
2
2
|
sr:
|
3
3
|
muck:
|
4
4
|
activities:
|
5
|
-
activity_feed_title: "
|
6
|
-
|
5
|
+
activity_feed_title: "Задња активност"
|
6
|
+
add_photos: "Додај фотографије"
|
7
|
+
add_videos: "Поделите Видео"
|
8
|
+
adding_comment_message: "Додавање коментара ..."
|
7
9
|
all_activities: "Све активности"
|
8
|
-
clear:
|
9
|
-
create_error: "Дошло је до проблема
|
10
|
+
clear: Избрисати
|
11
|
+
create_error: "Дошло је до проблема додавањем захтева активност: {{error}}"
|
10
12
|
delete: Избрисати
|
11
13
|
invite_friends: "Позови пријатеље"
|
12
|
-
item_could_not_be_removed: "
|
13
|
-
item_created: "
|
14
|
-
item_removed: "Ставка успешно уклоњен из
|
15
|
-
joined_status: "{{name}}
|
14
|
+
item_could_not_be_removed: "Ставка се не може бити уклоњен из листе недавних активности."
|
15
|
+
item_created: "Додато активност"
|
16
|
+
item_removed: "Ставка успешно уклоњен из листе недавних активности."
|
17
|
+
joined_status: "{{name}} Придружио {{application_name}}"
|
16
18
|
make_comment: Коментар
|
17
|
-
paging_newer:
|
19
|
+
paging_newer: «Новије
|
18
20
|
paging_older: "Старије »"
|
19
|
-
permission_denied: "
|
20
|
-
post:
|
21
|
+
permission_denied: "Жао нам је, не могу да урадим."
|
22
|
+
post: Поделити
|
21
23
|
problem_with_status: "Дошло је до проблема мења ваш статус"
|
22
24
|
status_indicator: је
|
23
|
-
status_update_prompt: "Шта
|
24
|
-
template_or_item_required: "
|
25
|
+
status_update_prompt: "Шта радиш сада?"
|
26
|
+
template_or_item_required: "Активности захтева предложак или ставку за исправно приказивање"
|
25
27
|
update_error: "Упс ... Дошло је до проблема. {{errors}}"
|
26
|
-
update_status_message: "
|
28
|
+
update_status_message: "Ажурирајте свој статус!"
|
27
29
|
updating_status_message: "Ажурирање вашег статуса. Молимо сачекајте."
|
28
|
-
|
30
|
+
upload_files: "Отпреми датотеке"
|
31
|
+
write: Писати
|
32
|
+
write_prompt: "Напишите коментар ..."
|
29
33
|
activity_templates:
|
30
|
-
status_update: "
|
34
|
+
status_update: "Ажурирање статуса"
|
data/locales/sv.yml
CHANGED
@@ -2,29 +2,33 @@
|
|
2
2
|
sv:
|
3
3
|
muck:
|
4
4
|
activities:
|
5
|
-
activity_feed_title: "
|
5
|
+
activity_feed_title: "Recent Activity"
|
6
|
+
add_photos: "Lägg till foton"
|
7
|
+
add_videos: "Dela videoklipp"
|
6
8
|
adding_comment_message: "Lägga kommentar ..."
|
7
9
|
all_activities: "Alla aktiviteter"
|
8
10
|
clear: Klar
|
9
|
-
create_error: "Det
|
11
|
+
create_error: "Det var ett problem att lägga den efterfrågade aktivitet: {{error}}"
|
10
12
|
delete: "Ta bort"
|
11
|
-
invite_friends: "Bjud
|
12
|
-
item_could_not_be_removed: "Punkt kunde inte
|
13
|
-
item_created: "
|
14
|
-
item_removed: "Punkt
|
15
|
-
joined_status: "{{name}}
|
16
|
-
make_comment:
|
13
|
+
invite_friends: "Bjud vänner"
|
14
|
+
item_could_not_be_removed: "Punkt kunde inte tas bort från den senaste listan över verksamhetsområden."
|
15
|
+
item_created: "Tillsatt aktivitet"
|
16
|
+
item_removed: "Punkt framgångsrikt bort från den senaste listan över verksamhetsområden."
|
17
|
+
joined_status: "{{name}} Gick {{application_name}}"
|
18
|
+
make_comment: Kommentar
|
17
19
|
paging_newer: «Nyare
|
18
20
|
paging_older: "Äldre »"
|
19
21
|
permission_denied: "Tyvärr kan du inte göra det."
|
20
22
|
post: Del
|
21
|
-
problem_with_status: "Det uppstod ett problem
|
23
|
+
problem_with_status: "Det uppstod ett problem att ändra din status"
|
22
24
|
status_indicator: är
|
23
25
|
status_update_prompt: "Vad gör du just nu?"
|
24
|
-
template_or_item_required: "En
|
25
|
-
update_error: "
|
26
|
+
template_or_item_required: "En aktivitet kräver en mall eller ett objekt som visas korrekt"
|
27
|
+
update_error: "Oops ... Fanns ett problem. {{errors}}"
|
26
28
|
update_status_message: "uppdatera din status!"
|
27
|
-
updating_status_message: "Uppdatera din status.
|
29
|
+
updating_status_message: "Uppdatera din status. Please wait."
|
30
|
+
upload_files: "Ladda upp filer"
|
31
|
+
write: Skriva
|
28
32
|
write_prompt: "Skriv en kommentar ..."
|
29
33
|
activity_templates:
|
30
|
-
status_update:
|
34
|
+
status_update: Statusrapporter
|
data/locales/th.yml
CHANGED
@@ -3,28 +3,32 @@ th:
|
|
3
3
|
muck:
|
4
4
|
activities:
|
5
5
|
activity_feed_title: กิจกรรมล่าสุด
|
6
|
+
add_photos: เพิ่มภาพถ่าย
|
7
|
+
add_videos: วิดีโอแบ่งปัน
|
6
8
|
adding_comment_message: "เพิ่มความคิดเห็น ..."
|
7
|
-
all_activities:
|
9
|
+
all_activities: กิจกรรมทั้งหมด
|
8
10
|
clear: ชัดเจน
|
9
|
-
create_error: "
|
11
|
+
create_error: "มีปัญหาเพิ่มกิจกรรมขอ: {{error}} คือ"
|
10
12
|
delete: ลบ
|
11
13
|
invite_friends: เชิญเพื่อน
|
12
|
-
item_could_not_be_removed:
|
13
|
-
item_created:
|
14
|
-
item_removed:
|
15
|
-
joined_status: "{{name}}
|
14
|
+
item_could_not_be_removed: รายการที่ไม่สามารถออกจากรายชื่อกิจกรรมล่าสุด.
|
15
|
+
item_created: กิจกรรมเพิ่ม
|
16
|
+
item_removed: รายการลบสำเร็จจากรายการกิจกรรมล่าสุด.
|
17
|
+
joined_status: "{{name}} ร่วม {{application_name}}"
|
16
18
|
make_comment: ความคิดเห็น
|
17
19
|
paging_newer: «ใหม่กว่า
|
18
20
|
paging_older: "เก่ากว่า »"
|
19
|
-
permission_denied:
|
21
|
+
permission_denied: ขออภัยคุณไม่สามารถทำ.
|
20
22
|
post: แบ่งปัน
|
21
|
-
problem_with_status:
|
23
|
+
problem_with_status: มีปัญหาการเปลี่ยนสถานะของคุณคือ
|
22
24
|
status_indicator: เป็น
|
23
|
-
status_update_prompt:
|
24
|
-
template_or_item_required:
|
25
|
-
update_error: "โอ๊ะ ...
|
26
|
-
update_status_message:
|
27
|
-
updating_status_message: "
|
25
|
+
status_update_prompt: คุณกำลังทำตอนนี้?
|
26
|
+
template_or_item_required: กิจกรรมที่ต้องใช้แม่แบบหรือรายการที่จะแสดงอย่างถูกต้อง
|
27
|
+
update_error: "โอ๊ะ ... มีปัญหาคือ. {{errors}}"
|
28
|
+
update_status_message: "update สถานะของคุณ"
|
29
|
+
updating_status_message: "ปรับปรุงสถานะของ. โปรดรอ."
|
30
|
+
upload_files: อัปโหลดไฟล์
|
31
|
+
write: เขียน
|
28
32
|
write_prompt: "เขียนความคิดเห็น ..."
|
29
33
|
activity_templates:
|
30
|
-
status_update:
|
34
|
+
status_update: ปรับปรุงสถานะ
|
data/locales/tl.yml
CHANGED
@@ -2,29 +2,33 @@
|
|
2
2
|
tl:
|
3
3
|
muck:
|
4
4
|
activities:
|
5
|
-
activity_feed_title: "
|
5
|
+
activity_feed_title: "Recent Aktibidad"
|
6
|
+
add_photos: "Magdagdag ng mga Larawan"
|
7
|
+
add_videos: "Share Videos"
|
6
8
|
adding_comment_message: "Pagdaragdag ng puna ..."
|
7
|
-
all_activities: "
|
9
|
+
all_activities: "Lahat ng mga gawain"
|
8
10
|
clear: Malinaw
|
9
11
|
create_error: "Nagkaroon ng problema ang pagdaragdag ng hiniling na aktibidad: {{error}}"
|
10
12
|
delete: Tanggalin
|
11
13
|
invite_friends: "Imbitahan ang mga Kaibigan"
|
12
14
|
item_could_not_be_removed: "Item ay hindi maaaring tanggalin mula sa listahan ng mga kamakailan-lamang na mga gawain."
|
13
15
|
item_created: "Added aktibidad"
|
14
|
-
item_removed: "Item
|
15
|
-
joined_status: "{{name}}
|
16
|
+
item_removed: "Item matagumpay na tinanggal mula sa listahan ng mga kamakailan-lamang na mga gawain."
|
17
|
+
joined_status: "{{name}} Sumali {{application_name}}"
|
16
18
|
make_comment: Comment
|
17
19
|
paging_newer: "«Mas bagong"
|
18
20
|
paging_older: "Mas luma »"
|
19
|
-
permission_denied: "Paumanhin, hindi mo maaaring gawin
|
21
|
+
permission_denied: "Paumanhin, hindi mo maaaring gawin iyon."
|
20
22
|
post: Ibahagi
|
21
23
|
problem_with_status: "Nagkaroon ng problema sa pagbabago ng iyong kalagayan"
|
22
24
|
status_indicator: ay
|
23
25
|
status_update_prompt: "Ano ang ginagawa mo ngayon?"
|
24
|
-
template_or_item_required: "
|
26
|
+
template_or_item_required: "Ang aktibidad ay nangangailangan ng isang template o isang bagay upang ipakita ang tama"
|
25
27
|
update_error: "Oops ... Nagkaroon ng problema. {{errors}}"
|
26
|
-
update_status_message: "i-update ang iyong
|
28
|
+
update_status_message: "i-update ang iyong katayuan!"
|
27
29
|
updating_status_message: "Ina-update ang iyong kalagayan. Mangyaring maghintay."
|
28
|
-
|
30
|
+
upload_files: "Mag-upload ng file"
|
31
|
+
write: Magsulat
|
32
|
+
write_prompt: "Sumulat ng puna ..."
|
29
33
|
activity_templates:
|
30
34
|
status_update: "Status Updates"
|
data/locales/tr.yml
CHANGED
@@ -2,29 +2,33 @@
|
|
2
2
|
tr:
|
3
3
|
muck:
|
4
4
|
activities:
|
5
|
-
activity_feed_title: "Son
|
6
|
-
|
5
|
+
activity_feed_title: "Son Aktivite"
|
6
|
+
add_photos: "Fotoğraf ekle"
|
7
|
+
add_videos: "Share Videolar"
|
8
|
+
adding_comment_message: "Yorum ekleniyor ..."
|
7
9
|
all_activities: "Tüm Etkinlikler"
|
8
10
|
clear: Temizlemek
|
9
|
-
create_error: "Bir sorun istenen etkinliği
|
11
|
+
create_error: "Bir sorun istenen etkinliği ekleyerek: {{error}} oldu"
|
10
12
|
delete: Silmek
|
11
13
|
invite_friends: "Davet Arkadaşlar"
|
12
|
-
item_could_not_be_removed: "Öğe son faaliyetleri
|
13
|
-
item_created: "
|
14
|
-
item_removed: "Öğe başarıyla son faaliyetleri
|
15
|
-
joined_status: "{{name}}
|
14
|
+
item_could_not_be_removed: "Öğe son faaliyetleri listeden çıkarılır olamazdı."
|
15
|
+
item_created: "Ekledi etkinliği"
|
16
|
+
item_removed: "Öğe başarıyla son faaliyetleri listeden kaldırılır."
|
17
|
+
joined_status: "{{name}} {{application_name}} Katıldı"
|
16
18
|
make_comment: Yorum
|
17
|
-
paging_newer:
|
19
|
+
paging_newer: «Newer
|
18
20
|
paging_older: "Eski »"
|
19
|
-
permission_denied: "Maalesef,
|
21
|
+
permission_denied: "Maalesef, bunu yapamazlar."
|
20
22
|
post: Paylaşmak
|
21
|
-
problem_with_status: "Bir sorun durum
|
23
|
+
problem_with_status: "Bir sorun durum değişiyordu"
|
22
24
|
status_indicator: olmak
|
23
25
|
status_update_prompt: "Şu anda ne yapıyorsun?"
|
24
26
|
template_or_item_required: "Bir faaliyet veya bir madde düzgün görüntülemek için şablon gerektirir"
|
25
|
-
update_error: "
|
27
|
+
update_error: "Oops ... Orada bir sorun var. {{errors}}"
|
26
28
|
update_status_message: "Durum güncelleme!"
|
27
29
|
updating_status_message: "Durum güncelleniyor. Lütfen bekleyin."
|
28
|
-
|
30
|
+
upload_files: "Upload Dosya"
|
31
|
+
write: Yazmak
|
32
|
+
write_prompt: "Yorum yazın ..."
|
29
33
|
activity_templates:
|
30
|
-
status_update: "
|
34
|
+
status_update: "Durum Güncellemeleri"
|
data/locales/uk.yml
CHANGED
@@ -3,17 +3,19 @@ uk:
|
|
3
3
|
muck:
|
4
4
|
activities:
|
5
5
|
activity_feed_title: "Останні дії"
|
6
|
-
|
6
|
+
add_photos: "Додати фотографії"
|
7
|
+
add_videos: "Відправити відео"
|
8
|
+
adding_comment_message: "Додавання коментарю ..."
|
7
9
|
all_activities: "Усі заходи"
|
8
10
|
clear: Ясний
|
9
|
-
create_error: "Був
|
11
|
+
create_error: "Був проблемою додаванні просив діяльності: {{error}}"
|
10
12
|
delete: Видалити
|
11
13
|
invite_friends: "Запросити друзів"
|
12
|
-
item_could_not_be_removed: "Пункт не може бути
|
14
|
+
item_could_not_be_removed: "Пункт не може бути вилучений з останнього списку видів діяльності."
|
13
15
|
item_created: "Додано діяльності"
|
14
|
-
item_removed: "Пункт успішно вилучено з
|
15
|
-
joined_status: "{{name}}
|
16
|
-
make_comment:
|
16
|
+
item_removed: "Пункт успішно вилучено з останнього списку видів діяльності."
|
17
|
+
joined_status: "{{name}} Набрав {{application_name}}"
|
18
|
+
make_comment: Коментарі
|
17
19
|
paging_newer: «Пізніше
|
18
20
|
paging_older: "Раніше »"
|
19
21
|
permission_denied: "На жаль, ви не можете цього робити."
|
@@ -21,10 +23,12 @@ uk:
|
|
21
23
|
problem_with_status: "Був проблема зміни статусу"
|
22
24
|
status_indicator: бути
|
23
25
|
status_update_prompt: "Що ви робите зараз?"
|
24
|
-
template_or_item_required: "Діяльність вимагає шаблон або
|
25
|
-
update_error: "
|
26
|
-
update_status_message: "
|
27
|
-
updating_status_message: "Оновлення статусу. Будь ласка,
|
26
|
+
template_or_item_required: "Діяльність вимагає шаблон або пункт правильного відображення"
|
27
|
+
update_error: "На жаль ... Був проблема. {{errors}}"
|
28
|
+
update_status_message: "оновити статус!"
|
29
|
+
updating_status_message: "Оновлення статусу. Будь ласка, почекайте."
|
30
|
+
upload_files: "Завантажити файли"
|
31
|
+
write: Писати
|
28
32
|
write_prompt: "Напишіть коментар ..."
|
29
33
|
activity_templates:
|
30
|
-
status_update: "Статус
|
34
|
+
status_update: "Статус оновлення"
|
data/locales/vi.yml
CHANGED
@@ -3,28 +3,32 @@ vi:
|
|
3
3
|
muck:
|
4
4
|
activities:
|
5
5
|
activity_feed_title: "Hoạt động gần đây"
|
6
|
+
add_photos: "Thêm hình ảnh"
|
7
|
+
add_videos: "Chia sẻ Video"
|
6
8
|
adding_comment_message: "Thêm nhận xét ..."
|
7
|
-
all_activities: "
|
9
|
+
all_activities: "Mọi hoạt động"
|
8
10
|
clear: "Rõ ràng"
|
9
|
-
create_error: "Có
|
11
|
+
create_error: "Có vấn đề thêm các hoạt động được yêu cầu: {{error}}"
|
10
12
|
delete: Xoá
|
11
13
|
invite_friends: "Mời bạn bè"
|
12
|
-
item_could_not_be_removed: "
|
13
|
-
item_created: "
|
14
|
-
item_removed: "
|
15
|
-
joined_status: "{{name}}
|
14
|
+
item_could_not_be_removed: "Mã không thể được gỡ bỏ khỏi danh sách các hoạt động gần đây."
|
15
|
+
item_created: "Nhập hoạt động"
|
16
|
+
item_removed: "Mã thành công khỏi danh sách các hoạt động gần đây."
|
17
|
+
joined_status: "{{name}} Gia nhập {{application_name}}"
|
16
18
|
make_comment: "Thảo luận"
|
17
|
-
paging_newer: "«
|
19
|
+
paging_newer: "«Mới hơn"
|
18
20
|
paging_older: "Cu hơn »"
|
19
21
|
permission_denied: "Xin lỗi, bạn không thể làm điều đó."
|
20
22
|
post: "Chia sẻ"
|
21
|
-
problem_with_status: "Có
|
23
|
+
problem_with_status: "Có vấn đề thay đổi tình trạng của bạn"
|
22
24
|
status_indicator: là
|
23
25
|
status_update_prompt: "Bạn đang làm gì ngay bây giờ?"
|
24
|
-
template_or_item_required: "Một hoạt động đòi hỏi một mẫu hoặc một mục để hiển thị một cách chính xác"
|
26
|
+
template_or_item_required: "Một hoạt động đòi hỏi một bản mẫu hoặc một mục để hiển thị một cách chính xác"
|
25
27
|
update_error: "Rất tiếc ... Có một vấn đề. {{errors}}"
|
26
28
|
update_status_message: "cập nhật tình trạng của bạn!"
|
27
|
-
updating_status_message: "Cập nhật tình trạng của bạn. Xin vui lòng chờ
|
28
|
-
|
29
|
+
updating_status_message: "Cập nhật tình trạng của bạn. Xin vui lòng chờ đợi."
|
30
|
+
upload_files: "Tải lên tập tin"
|
31
|
+
write: Viết
|
32
|
+
write_prompt: "Viết chú thích ..."
|
29
33
|
activity_templates:
|
30
34
|
status_update: "Tình trạng cập nhật"
|
data/locales/zh-CN.yml
CHANGED
@@ -3,28 +3,32 @@ zh-CN:
|
|
3
3
|
muck:
|
4
4
|
activities:
|
5
5
|
activity_feed_title: 近期活动
|
6
|
+
add_photos: 添加照片
|
7
|
+
add_videos: 分享视频
|
6
8
|
adding_comment_message: 添加评论...
|
7
9
|
all_activities: 所有活动
|
8
10
|
clear: 清楚的
|
9
|
-
create_error: "
|
11
|
+
create_error: "有一个问题,要求加入活动:{{error}}"
|
10
12
|
delete: 删除
|
11
13
|
invite_friends: 邀请朋友
|
12
|
-
item_could_not_be_removed:
|
13
|
-
item_created:
|
14
|
-
item_removed:
|
15
|
-
joined_status: "{{name}}
|
14
|
+
item_could_not_be_removed: 项目无法从列表中删除最近的活动。
|
15
|
+
item_created: 新增活动
|
16
|
+
item_removed: 项目成功地从列表中删除最近的活动。
|
17
|
+
joined_status: "{{name}}加入{{application_name}}"
|
16
18
|
make_comment: 评论
|
17
19
|
paging_newer: «较新
|
18
20
|
paging_older: 较旧»
|
19
21
|
permission_denied: 对不起,你不能这样做。
|
20
22
|
post: 共享
|
21
|
-
problem_with_status:
|
23
|
+
problem_with_status: 有一个问题,改变你的状态
|
22
24
|
status_indicator: 是
|
23
|
-
status_update_prompt:
|
24
|
-
template_or_item_required:
|
25
|
+
status_update_prompt: 你在做什么现在?
|
26
|
+
template_or_item_required: 一个活动需要一个模板或一个项目以显示正确
|
25
27
|
update_error: "哎呀...有一个问题。 {{errors}}"
|
26
|
-
update_status_message:
|
28
|
+
update_status_message: 更新您的状态!
|
27
29
|
updating_status_message: 更新您的状态。请稍候。
|
30
|
+
upload_files: 上传文件
|
31
|
+
write: 写
|
28
32
|
write_prompt: 撰写评论...
|
29
33
|
activity_templates:
|
30
34
|
status_update: 状态更新
|
data/locales/zh-TW.yml
CHANGED
@@ -3,28 +3,32 @@ zh-TW:
|
|
3
3
|
muck:
|
4
4
|
activities:
|
5
5
|
activity_feed_title: 近期活動
|
6
|
+
add_photos: 添加照片
|
7
|
+
add_videos: 分享視頻
|
6
8
|
adding_comment_message: 添加評論...
|
7
9
|
all_activities: 所有活動
|
8
10
|
clear: 清楚的
|
9
|
-
create_error: "
|
11
|
+
create_error: "有一個問題,要求加入活動:{{error}}"
|
10
12
|
delete: 刪除
|
11
13
|
invite_friends: 邀請朋友
|
12
|
-
item_could_not_be_removed:
|
13
|
-
item_created:
|
14
|
+
item_could_not_be_removed: 項目無法刪除從最近的活動清單。
|
15
|
+
item_created: 新增活動
|
14
16
|
item_removed: 項目成功地從最近的活動清單。
|
15
|
-
joined_status: "{{name}}
|
17
|
+
joined_status: "{{name}}加入{{application_name}}"
|
16
18
|
make_comment: 評論
|
17
19
|
paging_newer: «較新
|
18
20
|
paging_older: 較舊»
|
19
21
|
permission_denied: 對不起,你不能這樣做。
|
20
22
|
post: 共享
|
21
|
-
problem_with_status:
|
23
|
+
problem_with_status: 有一個問題,改變你的狀態
|
22
24
|
status_indicator: 是
|
23
|
-
status_update_prompt:
|
24
|
-
template_or_item_required:
|
25
|
+
status_update_prompt: 你在做什麼現在?
|
26
|
+
template_or_item_required: 一個活動需要一個模板或一個項目以顯示正確
|
25
27
|
update_error: "哎呀...有一個問題。 {{errors}}"
|
26
|
-
update_status_message:
|
28
|
+
update_status_message: 更新您的狀態!
|
27
29
|
updating_status_message: 更新您的狀態。請稍候。
|
30
|
+
upload_files: 上傳文件
|
31
|
+
write: 寫
|
28
32
|
write_prompt: 撰寫評論...
|
29
33
|
activity_templates:
|
30
34
|
status_update: 狀態更新
|
data/locales/zh.yml
CHANGED
@@ -3,28 +3,32 @@ zh:
|
|
3
3
|
muck:
|
4
4
|
activities:
|
5
5
|
activity_feed_title: 近期活动
|
6
|
+
add_photos: 添加照片
|
7
|
+
add_videos: 分享视频
|
6
8
|
adding_comment_message: 添加评论...
|
7
9
|
all_activities: 所有活动
|
8
10
|
clear: 清楚的
|
9
|
-
create_error: "
|
11
|
+
create_error: "有一个问题,要求加入活动:{{error}}"
|
10
12
|
delete: 删除
|
11
13
|
invite_friends: 邀请朋友
|
12
|
-
item_could_not_be_removed:
|
13
|
-
item_created:
|
14
|
-
item_removed:
|
15
|
-
joined_status: "{{name}}
|
14
|
+
item_could_not_be_removed: 项目无法从列表中删除最近的活动。
|
15
|
+
item_created: 新增活动
|
16
|
+
item_removed: 项目成功地从列表中删除最近的活动。
|
17
|
+
joined_status: "{{name}}加入{{application_name}}"
|
16
18
|
make_comment: 评论
|
17
19
|
paging_newer: «较新
|
18
20
|
paging_older: 较旧»
|
19
21
|
permission_denied: 对不起,你不能这样做。
|
20
22
|
post: 共享
|
21
|
-
problem_with_status:
|
23
|
+
problem_with_status: 有一个问题,改变你的状态
|
22
24
|
status_indicator: 是
|
23
|
-
status_update_prompt:
|
24
|
-
template_or_item_required:
|
25
|
+
status_update_prompt: 你在做什么现在?
|
26
|
+
template_or_item_required: 一个活动需要一个模板或一个项目以显示正确
|
25
27
|
update_error: "哎呀...有一个问题。 {{errors}}"
|
26
|
-
update_status_message:
|
28
|
+
update_status_message: 更新您的状态!
|
27
29
|
updating_status_message: 更新您的状态。请稍候。
|
30
|
+
upload_files: 上传文件
|
31
|
+
write: 写
|
28
32
|
write_prompt: 撰写评论...
|
29
33
|
activity_templates:
|
30
34
|
status_update: 状态更新
|
data/muck-activities.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{muck-activities}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.20"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Justin Ball"]
|
12
|
-
s.date = %q{2009-
|
12
|
+
s.date = %q{2009-09-10}
|
13
13
|
s.description = %q{Activity engine for the muck system.}
|
14
14
|
s.email = %q{justinball@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -25,9 +25,11 @@ Gem::Specification.new do |s|
|
|
25
25
|
"app/helpers/muck_activity_helper.rb",
|
26
26
|
"app/models/activity_feed.rb",
|
27
27
|
"app/views/activities/_activity_feed.html.erb",
|
28
|
+
"app/views/activities/_activity_scripts.html.erb",
|
28
29
|
"app/views/activities/_cached_activities.html.erb",
|
29
30
|
"app/views/activities/_comment.html.erb",
|
30
31
|
"app/views/activities/_comments.html.erb",
|
32
|
+
"app/views/activities/_contribute.html.erb",
|
31
33
|
"app/views/activities/_current_status.html.erb",
|
32
34
|
"app/views/activities/_current_status_wrapper.html.erb",
|
33
35
|
"app/views/activities/_status_update.html.erb",
|
@@ -37,6 +39,8 @@ Gem::Specification.new do |s|
|
|
37
39
|
"config/muck_activities_routes.rb",
|
38
40
|
"db/migrate/20090402033319_add_muck_activities.rb",
|
39
41
|
"db/migrate/20090730044139_add_comment_cache.rb",
|
42
|
+
"db/migrate/20090818204527_add_activity_indexes.rb",
|
43
|
+
"db/migrate/20090819030523_add_attachable_to_activities.rb",
|
40
44
|
"install.rb",
|
41
45
|
"lib/active_record/acts/muck_activity.rb",
|
42
46
|
"lib/muck_activities.rb",
|
@@ -134,6 +138,8 @@ Gem::Specification.new do |s|
|
|
134
138
|
"test/rails_root/db/migrate/20090613173314_create_comments.rb",
|
135
139
|
"test/rails_root/db/migrate/20090730044139_add_comment_cache.rb",
|
136
140
|
"test/rails_root/db/migrate/20090803185323_create_shares.rb",
|
141
|
+
"test/rails_root/db/migrate/20090818204527_add_activity_indexes.rb",
|
142
|
+
"test/rails_root/db/migrate/20090819030523_add_attachable_to_activities.rb",
|
137
143
|
"test/rails_root/features/step_definitions/webrat_steps.rb",
|
138
144
|
"test/rails_root/features/support/env.rb",
|
139
145
|
"test/rails_root/features/support/paths.rb",
|
@@ -309,12 +315,11 @@ Gem::Specification.new do |s|
|
|
309
315
|
"test/rails_root/test/unit/user_test.rb",
|
310
316
|
"uninstall.rb"
|
311
317
|
]
|
312
|
-
s.has_rdoc = true
|
313
318
|
s.homepage = %q{http://github.com/jbasdf/muck_activities}
|
314
319
|
s.rdoc_options = ["--charset=UTF-8"]
|
315
320
|
s.require_paths = ["lib"]
|
316
321
|
s.rubyforge_project = %q{muck-activities}
|
317
|
-
s.rubygems_version = %q{1.3.
|
322
|
+
s.rubygems_version = %q{1.3.5}
|
318
323
|
s.summary = %q{Activity engine for the muck system}
|
319
324
|
s.test_files = [
|
320
325
|
"test/rails_root/app/controllers/application_controller.rb",
|
@@ -347,6 +352,8 @@ Gem::Specification.new do |s|
|
|
347
352
|
"test/rails_root/db/migrate/20090613173314_create_comments.rb",
|
348
353
|
"test/rails_root/db/migrate/20090730044139_add_comment_cache.rb",
|
349
354
|
"test/rails_root/db/migrate/20090803185323_create_shares.rb",
|
355
|
+
"test/rails_root/db/migrate/20090818204527_add_activity_indexes.rb",
|
356
|
+
"test/rails_root/db/migrate/20090819030523_add_attachable_to_activities.rb",
|
350
357
|
"test/rails_root/features/step_definitions/webrat_steps.rb",
|
351
358
|
"test/rails_root/features/support/env.rb",
|
352
359
|
"test/rails_root/features/support/paths.rb",
|
@@ -365,7 +372,7 @@ Gem::Specification.new do |s|
|
|
365
372
|
|
366
373
|
if s.respond_to? :specification_version then
|
367
374
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
368
|
-
s.specification_version =
|
375
|
+
s.specification_version = 3
|
369
376
|
|
370
377
|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
371
378
|
s.add_runtime_dependency(%q<muck-engine>, [">= 0"])
|
@@ -7,8 +7,7 @@ function apply_activity_ajax_methods(){
|
|
7
7
|
hide_comment_boxes();
|
8
8
|
apply_comment_hover();
|
9
9
|
apply_activity_hover();
|
10
|
-
jQuery('.activity-no-comments').hide();
|
11
|
-
|
10
|
+
jQuery('.activity-no-comments').hide();
|
12
11
|
jQuery('.activity-has-comments').find('textarea').click(function(){
|
13
12
|
show_comment_box(this);
|
14
13
|
});
|
@@ -8,6 +8,10 @@ default: &DEFAULT
|
|
8
8
|
session_key: _uploader_session
|
9
9
|
session_secret: ea55c4d5e105735fdfb1caec46711b3dd14ec976d0ba95b4c0f575cb046cc358bce7a335ee36eb29253fb680ef8b838d871f6baeff48220fee8e9e42ab84774b
|
10
10
|
|
11
|
+
# enable_activity_file_uploads: true # Turn on file uploads in the activity feed. Requires that uploader be installed.
|
12
|
+
# enable_activity_image_uploads: true # Turn on image uploads in the activity feed. Requires that uploader and muck_albums be installed.
|
13
|
+
# enable_activity_video_sharing: true # Turn on video sharing in the activity feed.
|
14
|
+
#
|
11
15
|
production:
|
12
16
|
<<: *DEFAULT
|
13
17
|
|
@@ -0,0 +1,13 @@
|
|
1
|
+
class AddAttachableToActivities < ActiveRecord::Migration
|
2
|
+
def self.up
|
3
|
+
add_column :activities, :attachable_id, :integer
|
4
|
+
add_column :activities, :attachable_type, :string
|
5
|
+
add_index :activities, ["attachable_id", "attachable_type"]
|
6
|
+
end
|
7
|
+
|
8
|
+
def self.down
|
9
|
+
remove_column :activities, :attachable_id
|
10
|
+
remove_column :activities, :attachable_type
|
11
|
+
remove_index :activities, ["attachable_id", "attachable_type"]
|
12
|
+
end
|
13
|
+
end
|