solarsearch 0.0.6 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. data/.specification +2 -1
  2. data/Rakefile +19 -24
  3. data/VERSION +1 -1
  4. data/app/controllers/search_keywords_controller.rb +2 -1
  5. data/app/helpers/article_helper.rb +0 -23
  6. data/app/models/article.rb +4 -3
  7. data/app/models/article_status.rb +2 -0
  8. data/app/models/user.rb +3 -3
  9. data/app/models/user_session.rb +1 -1
  10. data/app/views/article/_article.html.haml +17 -0
  11. data/app/views/article/_article_line.html.haml +14 -0
  12. data/app/views/article/_article_list.html.haml +6 -0
  13. data/app/views/article/_result_summary.html.haml +7 -0
  14. data/app/views/article/_search_form.html.haml +3 -0
  15. data/app/views/article/search.html.haml +7 -0
  16. data/app/views/article/show.html.haml +4 -0
  17. data/app/views/article_statuses/index.html.haml +11 -0
  18. data/app/views/infosources/edit.html.haml +19 -0
  19. data/app/views/infosources/index.html.haml +16 -0
  20. data/app/views/infosources/new.html.haml +17 -0
  21. data/app/views/infosources/show.html.haml +22 -0
  22. data/app/views/infosources/tester.html.haml +7 -0
  23. data/app/views/search_keywords/_form.html.haml +4 -0
  24. data/app/views/search_keywords/edit.html.haml +8 -0
  25. data/app/views/search_keywords/index.html.haml +11 -0
  26. data/app/views/search_keywords/new.html.haml +6 -0
  27. data/app/views/search_keywords/newsupdate.html.haml +11 -0
  28. data/app/views/search_keywords/show.html.haml +12 -0
  29. data/app/views/user_mailer/newsupdate.html.haml +22 -0
  30. data/app/views/user_sessions/new.html.haml +28 -0
  31. data/app/views/users/_user.html.haml +28 -0
  32. data/app/views/users/edit.html.haml +2 -0
  33. data/app/views/users/index.html.haml +10 -0
  34. data/app/views/users/new.html.haml +2 -0
  35. data/app/views/users/show.html.haml +18 -0
  36. data/app/views/users/update.html.haml +0 -0
  37. data/config/locales/hu.yml +152 -110
  38. data/config/locales/sk.yml +152 -110
  39. data/lib/solarsearch/compass.rb +5 -0
  40. data/lib/solarsearch/{locales.rb → rails/locales.rb} +0 -1
  41. data/lib/solarsearch/{routing.rb → rails/routing.rb} +0 -0
  42. data/lib/solarsearch/rails.rb +11 -0
  43. data/lib/solarsearch.rb +6 -7
  44. data/rails/init.rb +1 -0
  45. data/solarsearch.gemspec +47 -16
  46. data/stylesheets/solarsearch/ie.sass +15 -0
  47. data/stylesheets/solarsearch/partials/_article.sass +120 -0
  48. data/stylesheets/solarsearch/partials/_base.sass +11 -0
  49. data/stylesheets/solarsearch/print.sass +3 -0
  50. data/stylesheets/solarsearch/screen.sass +286 -0
  51. data/test/unit/article_test.rb +39 -3
  52. data/test/unit/user_test.rb +25 -4
  53. metadata +43 -12
  54. data/Solarsearch.gemspec +0 -176
  55. data/test/unit/helpers/article_helper_test.rb +0 -20
@@ -1,111 +1,153 @@
1
1
  hu:
2
- #controllers
3
- access_denied_flash: 'Hozzáférés elutasítva'
4
- login_please_flash: 'Jelentkezzen be'
5
-
6
- infosource_fetched_flash: 'Az információforrás megújítva. {{items_fetched}} cikk letöltve.'
7
- nothing_was_fetched_flash: 'Nincs cikk letöltve.'
8
- infosource_creation_success_flash: 'Az információforrás sikeresen kialakítva.'
9
- infosource_update_success_flash: 'Az információforrás módosítása sikeres.'
10
-
11
- news_were_posted_flash: 'A legújabb hírek feladva.'
12
- no_news_were_posted_flash: 'Nincsenek új hírek.'
13
- keyword_does_not_exist_flash: 'Nem létező kulcsszó.'
14
- keyword_creation_success_flash: 'A kulcsszó sikeresen kialakítva.'
15
- keyword_update_denied_flash: 'A kulcsszó módosítása elutasítva.'
16
- keyword_update_success_flash: 'A kulcsszó sikeresen módosítva.'
17
- keyword_destroy_success_flash: 'A kulcsszó sikeresen eltávolítva.'
18
-
19
- login_successful_flash: 'Sikeres bejelentkezés.'
20
- logout_successful_flash: 'Sikeres kijelentkezés.'
21
-
22
- registration_successful_flash: 'Sikeres regisztráció.'
23
- profil_change_success_flash: 'A profil sikeresen módosítva.'
24
-
25
- #models
26
- article_status_sent_word: 'Elküldve'
27
- article_status_viewed_word: 'Megjelenítve'
28
-
29
- given_username_is_not_correct_validation_error: 'csak kisbetűket, számjegyeket és aláhúzást tartalmazhat "_"'
30
- given_email_is_not_correct_validation_error: 'Hibás e-mail cím'
31
- user_not_set_validation_error: 'Nincs felhasználó.'
32
- article_not_set_validation_error: 'Nincs cikk.'
33
- status_not_set_validation_error: 'Nincs állapot.'
34
- status_user_article_not_unique_validation_error: 'A cikk, állapot és felhasználó hármas esetében csak egyetlen bejegyzés lehetséges.'
35
-
36
- #views
37
- unknown_infosource: 'ismeretlen forrás'
38
- did_not_find_any_results_for_query: 'Nincs találat a "{{query}}" lekérdezésre'
39
- search_summary_articles_from: 'Cikkek {{articles_from}}-tól/-től'
40
- search_summary_articles_to: 'cikkek {{articles_to}}-ba/-be'
41
- search_summary_number_of_articles: 'a {{articles_total}} összesített számból.'
42
- pagination_previous_label: 'Előző'
43
- pagination_next_label: 'Következő'
44
- search_articles_button_label: 'Keresd a következő cikkekben'
45
- article_search_view_title: 'Keresés'
46
-
47
- article_statuses_view_title: 'Események'
48
- article_status_line: '{{article_status}} a következő napon {{status_update_date}}:'
49
-
50
- infosources_edit_view_title: 'Az információforrás megváltozott'
51
- infosources_sourcename_form_field_label: 'Címke'
52
- infosources_url_form_field_label: 'URL a következő hírcsatornára'
53
- infosources_list_view_title: 'Információforrások listája'
54
- infosources_new_view_title: 'Új információforrás'
55
- infosources_show_view_title: 'Jelenítsd meg az információforrás részleteit'
56
- infosources_unknown_source_text: 'Ismeretlen forrás'
57
-
58
- infosources_change_action_label: 'Módosítás'
59
- infosources_destroy_action_label: 'Törlés'
60
- infosources_view_action_label: 'Megjelenítés'
61
- infosources_back_to_the_list_action_label: 'Vissza a listához'
62
- infosources_new_action_label: 'Új információforrás'
63
- infosources_create_action_label: 'Létrehozás'
64
- infosources_fetch_action_label: 'A forrás felújítása'
65
- infosources_test_scrapper_for_page_label: 'Az oldal tartalmának kivágása'
66
- infosources_empty_web_page_content_text: 'Üres tartalom'
67
-
68
- search_keywords_submit_action_label: 'Megerősítés'
69
- search_keywords_change_view_title: 'A kulcsszó megváltozott'
70
- search_keywords_index_view_title: 'Kulcsszavak'
71
- search_keywords_show_view_title: 'Kulcsszó'
72
- search_keywords_change_action_label: 'Módosítás'
73
- search_keywords_destroy_action_label: 'Mégse'
74
- search_keywords_back_to_the_list_action_label: 'Vissza a listához'
75
- search_keywords_view_action_label: 'Megjelenítés'
76
- search_keywords_new_search_keyword_text: 'Új kulcsszó:'
77
- search_keywords_my_search_keywords: 'Az én kulcsszavaim (a keresés során használt lekérdezések listája):'
78
- search_keywords_new_view_title: 'Új kulcsszó'
79
- search_keywords_my_news_view_title: 'Saját üzeneteim'
80
- search_keywords_send_to_email_action_label: 'Küldés e-mailben'
81
- search_keywords_query_text: 'Kérdés:'
82
-
83
- this_page_shows_news_not_older_than_xy_days_text: "Ezen az oldalon {{days}} napnál nem régebbi üzenetek jelennek meg."
84
- for_a_keyword_only_xy_results_are_listed: 'Egy kulcsszóra legtöbb {{results}} üzenet kerül megjelenítésre.'
85
- news_which_were_viewed_through_the_web_and_were_of_your_interest_are_not_listed: 'Azok az üzenetek, amelyekről e-mail értesítést küldtünk és amelyeket megjelenített, nem szerepelnek a listán.'
86
-
87
- user_sessions_login_view_title: 'Bejelentkezve'
88
- user_sessions_username_form_field_label: 'Login:'
89
- user_sessions_password_form_field_label: 'Jelszó:'
90
- user_sessions_login_action_label: "Bejelentkezés"
91
-
92
- users_username_form_field_label: 'Felhasználónév'
93
- users_email_form_field_label: 'E-mail'
94
- users_password_from_field_label: 'Jelszó'
95
- users_password_confirmation_label: 'Jelszó megerősítése'
96
- users_submit_form_action_label: 'Megerősítés'
97
- users_change_profile_view_title: 'Profil módosítása'
98
- users_registration_view_title: 'Regisztráció'
99
-
100
- root_page_action_label: 'Főoldal'
101
- my_profile_action_label: 'Saját kontó'
102
- agent_action_label: 'Ügynök'
103
- my_news_action_label: 'Saját hírek'
104
- users_action_label: 'Felhasználók'
105
- inforsources_list_action_label: 'Információforrások'
106
- errors_and_exceptions_action_label: 'Hibák és kivételek'
107
- logout_user_action_label: 'Kijelentkezés ({{username}})'
108
- registration_action_label: 'Regisztráció'
109
- login_action_label: 'Bejelentkezés'
110
-
111
- are_you_sure_confirmation: 'Biztosan ezt akarja?'
2
+ activerecord:
3
+ models:
4
+ user: 'felhasználó'
5
+ article: 'cikk'
6
+ infosource: 'információs forrás'
7
+ logged_exception: 'rögzített hibaüzenet'
8
+ role: 'szerep'
9
+ article_status: 'cikk állapota'
10
+ search_keyword: 'keresés'
11
+ attributes:
12
+ user:
13
+ username: 'felhasználói név'
14
+ email: 'email'
15
+ password: 'jelszó'
16
+ password_confirmation: 'jelszó ismétlése'
17
+ article:
18
+ author: 'szerző'
19
+ title: 'cím'
20
+ summary: 'összefoglalás'
21
+ body: 'tartalom'
22
+ url: 'hivatkozás'
23
+ published_at: 'a publikáció dátuma'
24
+ infosource:
25
+ sourcename: 'a forrás neve'
26
+ sourcefeed: 'feed'
27
+ logged_exception:
28
+ exception_class: 'a hiba osztálya'
29
+ controller_name: 'a kontroller neve'
30
+ action_name: 'az akció neve'
31
+ message: 'üzenet'
32
+ backtrace: 'backtrace'
33
+ environment: 'környezet'
34
+ request: 'kérvény (requests)'
35
+ role:
36
+ name: 'név'
37
+ authorizable_type: 'az autorizáció tipusa'
38
+ authorizable_id: 'az autorizáció identifikációja'
39
+ article_status:
40
+ status: 'állapot'
41
+
42
+ #controllers
43
+ access_denied_flash: 'Hozzáférés elutasítva'
44
+ login_please_flash: 'Jelentkezzen be'
45
+
46
+ infosource_fetched_flash: 'Az információforrás megújítva. {{items_fetched}} cikk letöltve.'
47
+ nothing_was_fetched_flash: 'Nincs cikk letöltve.'
48
+ infosource_creation_success_flash: 'Az információforrás sikeresen kialakítva.'
49
+ infosource_update_success_flash: 'Az információforrás módosítása sikeres.'
50
+
51
+ news_were_posted_flash: 'A legújabb hírek feladva.'
52
+ no_news_were_posted_flash: 'Nincsenek új hírek.'
53
+ keyword_does_not_exist_flash: 'Nem létező kulcsszó.'
54
+ keyword_creation_success_flash: 'A kulcsszó sikeresen kialakítva.'
55
+ keyword_update_denied_flash: 'A kulcsszó módosítása elutasítva.'
56
+ keyword_update_success_flash: 'A kulcsszó sikeresen módosítva.'
57
+ keyword_destroy_success_flash: 'A kulcsszó sikeresen eltávolítva.'
58
+
59
+ login_successful_flash: 'Sikeres bejelentkezés.'
60
+ logout_successful_flash: 'Sikeres kijelentkezés.'
61
+
62
+ registration_successful_flash: 'Sikeres regisztráció.'
63
+ profil_change_success_flash: 'A profil sikeresen módosítva.'
64
+
65
+ #models
66
+ article_status_sent_word: 'Elküldve'
67
+ article_status_viewed_word: 'Megjelenítve'
68
+
69
+ given_username_is_not_correct_validation_error: 'csak kisbetűket, számjegyeket és aláhúzást tartalmazhat "_"'
70
+ given_email_is_not_correct_validation_error: 'Hibás e-mail cím'
71
+ user_not_set_validation_error: 'Nincs felhasználó.'
72
+ article_not_set_validation_error: 'Nincs cikk.'
73
+ status_not_set_validation_error: 'Nincs állapot.'
74
+ status_user_article_not_unique_validation_error: 'A cikk, állapot és felhasználó hármas esetében csak egyetlen bejegyzés lehetséges.'
75
+
76
+ #views
77
+ unknown_infosource: 'ismeretlen forrás'
78
+ did_not_find_any_results_for_query: 'Nincs találat a "{{query}}" lekérdezésre'
79
+ search_summary_articles_from: 'Cikkek {{articles_from}}-tól/-től'
80
+ search_summary_articles_to: 'cikkek {{articles_to}}-ba/-be'
81
+ search_summary_number_of_articles: 'a {{articles_total}} összesített számból.'
82
+ pagination_previous_label: 'Előző'
83
+ pagination_next_label: 'Következő'
84
+ search_articles_button_label: 'Keresd a következő cikkekben'
85
+ article_search_view_title: 'Keresés'
86
+
87
+ article_statuses_view_title: 'Események'
88
+ article_status_line: '{{article_status}} a következő napon {{status_update_date}}:'
89
+
90
+ infosources_edit_view_title: 'Az információforrás megváltozott'
91
+ infosources_sourcename_form_field_label: 'Címke'
92
+ infosources_url_form_field_label: 'URL a következő hírcsatornára'
93
+ infosources_list_view_title: 'Információforrások listája'
94
+ infosources_new_view_title: 'Új információforrás'
95
+ infosources_show_view_title: 'Jelenítsd meg az információforrás részleteit'
96
+ infosources_unknown_source_text: 'Ismeretlen forrás'
97
+
98
+ infosources_change_action_label: 'Módosítás'
99
+ infosources_destroy_action_label: 'Törlés'
100
+ infosources_view_action_label: 'Megjelenítés'
101
+ infosources_back_to_the_list_action_label: 'Vissza a listához'
102
+ infosources_new_action_label: 'Új információforrás'
103
+ infosources_create_action_label: 'Létrehozás'
104
+ infosources_fetch_action_label: 'A forrás felújítása'
105
+ infosources_test_scrapper_for_page_label: 'Az oldal tartalmának kivágása'
106
+ infosources_empty_web_page_content_text: 'Üres tartalom'
107
+
108
+ search_keywords_submit_action_label: 'Megerősítés'
109
+ search_keywords_change_view_title: 'A kulcsszó megváltozott'
110
+ search_keywords_index_view_title: 'Kulcsszavak'
111
+ search_keywords_show_view_title: 'Kulcsszó'
112
+ search_keywords_change_action_label: 'Módosítás'
113
+ search_keywords_destroy_action_label: 'Mégse'
114
+ search_keywords_back_to_the_list_action_label: 'Vissza a listához'
115
+ search_keywords_view_action_label: 'Megjelenítés'
116
+ search_keywords_new_search_keyword_text: 'Új kulcsszó:'
117
+ search_keywords_my_search_keywords: 'Az én kulcsszavaim (a keresés során használt lekérdezések listája):'
118
+ search_keywords_new_view_title: 'Új kulcsszó'
119
+ search_keywords_my_news_view_title: 'Saját üzeneteim'
120
+ search_keywords_send_to_email_action_label: 'Küldés e-mailben'
121
+ search_keywords_query_text: 'Kérdés:'
122
+
123
+ this_page_shows_news_not_older_than_xy_days_text: "Ezen az oldalon {{days}} napnál nem régebbi üzenetek jelennek meg."
124
+ for_a_keyword_only_xy_results_are_listed: 'Egy kulcsszóra legtöbb {{results}} üzenet kerül megjelenítésre.'
125
+ news_which_were_viewed_through_the_web_and_were_of_your_interest_are_not_listed: 'Azok az üzenetek, amelyekről e-mail értesítést küldtünk és amelyeket megjelenített, nem szerepelnek a listán.'
126
+
127
+ user_sessions_try_to_login_again: 'Próbáljon bejelentkezni újra'
128
+ user_sessions_check_your_keyboard: 'Ellenőrizze le a CAPS-LOCK-ot illetve a billentyűzete beállítását'
129
+ user_sessions_login_view_title: 'Bejelentkezve'
130
+ user_sessions_username_form_field_label: 'Login:'
131
+ user_sessions_password_form_field_label: 'Jelszó:'
132
+ user_sessions_login_action_label: "Bejelentkezés"
133
+
134
+ users_username_form_field_label: 'Felhasználónév'
135
+ users_email_form_field_label: 'E-mail'
136
+ users_password_from_field_label: 'Jelszó'
137
+ users_password_confirmation_label: 'Jelszó megerősítése'
138
+ users_submit_form_action_label: 'Megerősítés'
139
+ users_change_profile_view_title: 'Profil módosítása'
140
+ users_registration_view_title: 'Regisztráció'
141
+
142
+ root_page_action_label: 'Főoldal'
143
+ my_profile_action_label: 'Saját kontó'
144
+ agent_action_label: 'Ügynök'
145
+ my_news_action_label: 'Saját hírek'
146
+ users_action_label: 'Felhasználók'
147
+ inforsources_list_action_label: 'Információforrások'
148
+ errors_and_exceptions_action_label: 'Hibák és kivételek'
149
+ logout_user_action_label: 'Kijelentkezés ({{username}})'
150
+ registration_action_label: 'Regisztráció'
151
+ login_action_label: 'Bejelentkezés'
152
+
153
+ are_you_sure_confirmation: 'Biztosan ezt akarja?'
@@ -1,111 +1,153 @@
1
1
  sk:
2
- #controllers
3
- access_denied_flash: 'Prístup zamietnutý'
4
- login_please_flash: 'Prihláste sa'
5
-
6
- infosource_fetched_flash: 'Informačný zdroj bol obnovený. {{items_fetched}} článkov stiahnutých.'
7
- nothing_was_fetched_flash: 'Nebol stiahnutý žiadny článok.'
8
- infosource_creation_success_flash: 'Informačný zdroj bol úspešne vytvorený.'
9
- infosource_update_success_flash: 'Informačný zdroj bol úspešne zmenený.'
10
-
11
- news_were_posted_flash: 'Boli Vám zaslané najnovšie správy.'
12
- no_news_were_posted_flash: 'Nenašli sa pre Vás žiadne nové správy.'
13
- keyword_does_not_exist_flash: 'Neexistujúce kľúčové slovo'
14
- keyword_creation_success_flash: 'Kľúčové slovo úspešne vytvorené.'
15
- keyword_update_denied_flash: 'Zmena klúčového slova zamietnutá'
16
- keyword_update_success_flash: 'Kľúčové slovo úspešne zmenené.'
17
- keyword_destroy_success_flash: 'Kľúčové slovo úspešne zrušené.'
18
-
19
- login_successful_flash: 'Prihlásenie úspešné.'
20
- logout_successful_flash: 'Odhlásenie úspešné.'
21
-
22
- registration_successful_flash: 'Registrácia úspešná.'
23
- profil_change_success_flash: 'Profil bol úspešne zmenený.'
24
-
25
- #models
26
- article_status_sent_word: 'poslané'
27
- article_status_viewed_word: 'zobrazené'
28
-
29
- given_username_is_not_correct_validation_error: 'môže obsahovať len malé písmená, číslice a podčiarknutia "_"'
30
- given_email_is_not_correct_validation_error: 'nie je korektná emailová adresa'
31
- user_not_set_validation_error: 'Chýba používateľ.'
32
- article_not_set_validation_error: 'Chýba článok.'
33
- status_not_set_validation_error: 'Chýba status.'
34
- status_user_article_not_unique_validation_error: 'Pre trojicu článok, status a používateľ môže existovať len jeden záznam.'
35
-
36
- #views
37
- unknown_infosource: 'neznámy zdroj'
38
- did_not_find_any_results_for_query: 'Nenašli sa žiadne výsledky na dotaz "{{query}}"'
39
- search_summary_articles_from: 'Články od {{articles_from}}'
40
- search_summary_articles_to: 'do {{articles_to}}'
41
- search_summary_number_of_articles: 'z celkového počtu {{articles_total}}.'
42
- pagination_previous_label: 'Predchádzajúce'
43
- pagination_next_label: 'Nasledujúce'
44
- search_articles_button_label: 'Hľadaj v článkoch'
45
- article_search_view_title: 'Vyhladávanie'
46
-
47
- article_statuses_view_title: 'Udalosti'
48
- article_status_line: '{{article_status}} dňa {{status_update_date}}:'
49
-
50
- infosources_edit_view_title: 'Zmena informačného zdroja'
51
- infosources_sourcename_form_field_label: 'Názov'
52
- infosources_url_form_field_label: 'URL na feed'
53
- infosources_list_view_title: 'Zoznam informačných zdrojov'
54
- infosources_new_view_title: 'Nový informačný zdroj'
55
- infosources_show_view_title: 'Zobraz detaily informačného zdroja'
56
- infosources_unknown_source_text: 'neznámy zdroj'
57
-
58
- infosources_change_action_label: 'Zmeň'
59
- infosources_destroy_action_label: 'Zruš'
60
- infosources_view_action_label: 'Zobraz'
61
- infosources_back_to_the_list_action_label: 'Späť k zoznamu'
62
- infosources_new_action_label: 'Nový informačný zdroj'
63
- infosources_create_action_label: 'Vytvor'
64
- infosources_fetch_action_label: 'Obnov zdroj'
65
- infosources_test_scrapper_for_page_label: 'Vyrež obsah stránky'
66
- infosources_empty_web_page_content_text: 'Prázdny obsah'
67
-
68
- search_keywords_submit_action_label: 'Potvrdenie'
69
- search_keywords_change_view_title: 'Zmena kľúčového slova'
70
- search_keywords_index_view_title: 'Kľúčové slová'
71
- search_keywords_show_view_title: 'Klúčové slovo'
72
- search_keywords_change_action_label: 'Zmeň'
73
- search_keywords_destroy_action_label: 'Zruš'
74
- search_keywords_back_to_the_list_action_label: 'Späť k zoznamu'
75
- search_keywords_view_action_label: 'Zobraz'
76
- search_keywords_new_search_keyword_text: 'Nové kľúčové slovo:'
77
- search_keywords_my_search_keywords: 'Moje kľúčové slová (zoznam dotazov použitých pri vyhľdávaní):'
78
- search_keywords_new_view_title: 'Nové kľúčové slovo'
79
- search_keywords_my_news_view_title: 'Moje správy'
80
- search_keywords_send_to_email_action_label: 'Pošli na email'
81
- search_keywords_query_text: 'Dotaz:'
82
-
83
- this_page_shows_news_not_older_than_xy_days_text: "Na tejto stránke sú zobrazené správy nie staršie než {{days}} dní."
84
- for_a_keyword_only_xy_results_are_listed: 'Pre jedno klúčové slovo je zobrazených najviac {{results}} správ.'
85
- news_which_were_viewed_through_the_web_and_were_of_your_interest_are_not_listed: 'Správy, o ktorých Vám bol zaslaný email a ktoré ste zobrazili, nie sú uvedené v zozname.'
86
-
87
- user_sessions_login_view_title: 'Prihlásenie'
88
- user_sessions_username_form_field_label: 'Login:'
89
- user_sessions_password_form_field_label: 'Heslo:'
90
- user_sessions_login_action_label: "Prihlásiť"
91
-
92
- users_username_form_field_label: 'Používateľské meno'
93
- users_email_form_field_label: 'Email'
94
- users_password_from_field_label: 'Heslo'
95
- users_password_confirmation_label: 'Potvrdenie hesla'
96
- users_submit_form_action_label: 'Potvrdenie'
97
- users_change_profile_view_title: 'Zmena profilu'
98
- users_registration_view_title: 'Registrácia'
99
-
100
- root_page_action_label: 'Hlavná stránka'
101
- my_profile_action_label: 'Môj účet'
102
- agent_action_label: 'Agent'
103
- my_news_action_label: 'Moje správy'
104
- users_action_label: 'Používatelia'
105
- inforsources_list_action_label: 'Informačné zdroje'
106
- errors_and_exceptions_action_label: 'Chyby a výnimky'
107
- logout_user_action_label: 'Odhlásiť sa ({{username}})'
108
- registration_action_label: 'Registrácia'
109
- login_action_label: 'Prihlásenie'
110
-
111
- are_you_sure_confirmation: 'Ste si istý?'
2
+ activerecord:
3
+ models:
4
+ user: 'používateľ'
5
+ article: 'článok'
6
+ infosource: 'informačný zdroj'
7
+ logged_exception: 'zachytená výnimka'
8
+ role: 'rola'
9
+ article_status: 'status článku'
10
+ search_keyword: 'dotaz'
11
+ attributes:
12
+ user:
13
+ username: 'používateľské meno'
14
+ email: 'email'
15
+ password: 'heslo'
16
+ password_confirmation: 'potvrdenie hesla'
17
+ article:
18
+ author: 'autor'
19
+ title: 'titul'
20
+ summary: 'sumár'
21
+ body: 'obsah'
22
+ url: 'referencia'
23
+ published_at: 'dátum publikovania'
24
+ infosource:
25
+ sourcename: 'názov zdroja'
26
+ sourcefeed: 'feed'
27
+ logged_exception:
28
+ exception_class: 'trieda výnimky'
29
+ controller_name: 'názov kontrolera'
30
+ action_name: 'názov akcie'
31
+ message: 'správa'
32
+ backtrace: 'backtrace'
33
+ environment: 'prostredie'
34
+ request: 'požiadavka'
35
+ role:
36
+ name: 'názov'
37
+ authorizable_type: 'typ autorizácie'
38
+ authorizable_id: 'id autorizácie'
39
+ article_status:
40
+ status: 'status'
41
+
42
+ #controllers
43
+ access_denied_flash: 'Prístup zamietnutý'
44
+ login_please_flash: 'Prihláste sa'
45
+
46
+ infosource_fetched_flash: 'Informačný zdroj bol obnovený. {{items_fetched}} článkov stiahnutých.'
47
+ nothing_was_fetched_flash: 'Nebol stiahnutý žiadny článok.'
48
+ infosource_creation_success_flash: 'Informačný zdroj bol úspešne vytvorený.'
49
+ infosource_update_success_flash: 'Informačný zdroj bol úspešne zmenený.'
50
+
51
+ news_were_posted_flash: 'Boli Vám zaslané najnovšie správy.'
52
+ no_news_were_posted_flash: 'Nenašli sa pre Vás žiadne nové správy.'
53
+ keyword_does_not_exist_flash: 'Neexistujúce kľúčové slovo'
54
+ keyword_creation_success_flash: 'Kľúčové slovo úspešne vytvorené.'
55
+ keyword_update_denied_flash: 'Zmena klúčového slova zamietnutá'
56
+ keyword_update_success_flash: 'Kľúčové slovo úspešne zmenené.'
57
+ keyword_destroy_success_flash: 'Kľúčové slovo úspešne zrušené.'
58
+
59
+ login_successful_flash: 'Prihlásenie úspešné.'
60
+ logout_successful_flash: 'Odhlásenie úspešné.'
61
+
62
+ registration_successful_flash: 'Registrácia úspešná.'
63
+ profil_change_success_flash: 'Profil bol úspešne zmenený.'
64
+
65
+ #models
66
+ article_status_sent_word: 'poslané'
67
+ article_status_viewed_word: 'zobrazené'
68
+
69
+ given_username_is_not_correct_validation_error: 'môže obsahovať len malé písmená, číslice a podčiarknutia "_"'
70
+ given_email_is_not_correct_validation_error: 'nie je korektná emailová adresa'
71
+ user_not_set_validation_error: 'Chýba používateľ.'
72
+ article_not_set_validation_error: 'Chýba článok.'
73
+ status_not_set_validation_error: 'Chýba status.'
74
+ status_user_article_not_unique_validation_error: 'Pre trojicu článok, status a používateľ môže existovať len jeden záznam.'
75
+
76
+ #views
77
+ unknown_infosource: 'neznámy zdroj'
78
+ did_not_find_any_results_for_query: 'Nenašli sa žiadne výsledky na dotaz "{{query}}"'
79
+ search_summary_articles_from: 'Články od {{articles_from}}'
80
+ search_summary_articles_to: 'do {{articles_to}}'
81
+ search_summary_number_of_articles: 'z celkového počtu {{articles_total}}.'
82
+ pagination_previous_label: 'Predchádzajúce'
83
+ pagination_next_label: 'Nasledujúce'
84
+ search_articles_button_label: 'Hľadaj v článkoch'
85
+ article_search_view_title: 'Vyhladávanie'
86
+
87
+ article_statuses_view_title: 'Udalosti'
88
+ article_status_line: '{{article_status}} dňa {{status_update_date}}:'
89
+
90
+ infosources_edit_view_title: 'Zmena informačného zdroja'
91
+ infosources_sourcename_form_field_label: 'Názov'
92
+ infosources_url_form_field_label: 'URL na feed'
93
+ infosources_list_view_title: 'Zoznam informačných zdrojov'
94
+ infosources_new_view_title: 'Nový informačný zdroj'
95
+ infosources_show_view_title: 'Zobraz detaily informačného zdroja'
96
+ infosources_unknown_source_text: 'neznámy zdroj'
97
+
98
+ infosources_change_action_label: 'Zmeň'
99
+ infosources_destroy_action_label: 'Zruš'
100
+ infosources_view_action_label: 'Zobraz'
101
+ infosources_back_to_the_list_action_label: 'Späť k zoznamu'
102
+ infosources_new_action_label: 'Nový informačný zdroj'
103
+ infosources_create_action_label: 'Vytvor'
104
+ infosources_fetch_action_label: 'Obnov zdroj'
105
+ infosources_test_scrapper_for_page_label: 'Vyrež obsah stránky'
106
+ infosources_empty_web_page_content_text: 'Prázdny obsah'
107
+
108
+ search_keywords_submit_action_label: 'Potvrdenie'
109
+ search_keywords_change_view_title: 'Zmena kľúčového slova'
110
+ search_keywords_index_view_title: 'Kľúčové slová'
111
+ search_keywords_show_view_title: 'Klúčové slovo'
112
+ search_keywords_change_action_label: 'Zmeň'
113
+ search_keywords_destroy_action_label: 'Zruš'
114
+ search_keywords_back_to_the_list_action_label: 'Späť k zoznamu'
115
+ search_keywords_view_action_label: 'Zobraz'
116
+ search_keywords_new_search_keyword_text: 'Nové kľúčové slovo:'
117
+ search_keywords_my_search_keywords: 'Moje kľúčové slová (zoznam dotazov použitých pri vyhľdávaní):'
118
+ search_keywords_new_view_title: 'Nové kľúčové slovo'
119
+ search_keywords_my_news_view_title: 'Moje správy'
120
+ search_keywords_send_to_email_action_label: 'Pošli na email'
121
+ search_keywords_query_text: 'Dotaz:'
122
+
123
+ this_page_shows_news_not_older_than_xy_days_text: "Na tejto stránke sú zobrazené správy nie staršie než {{days}} dní."
124
+ for_a_keyword_only_xy_results_are_listed: 'Pre jedno klúčové slovo je zobrazených najviac {{results}} správ.'
125
+ news_which_were_viewed_through_the_web_and_were_of_your_interest_are_not_listed: 'Správy, o ktorých Vám bol zaslaný email a ktoré ste zobrazili, nie sú uvedené v zozname.'
126
+
127
+ user_sessions_try_to_login_again: 'Skúste sa prihlásiť znova'
128
+ user_sessions_check_your_keyboard: 'Skontrolujte CAPS-LOCK a schému klávesnice'
129
+ user_sessions_login_view_title: 'Prihlásenie'
130
+ user_sessions_username_form_field_label: 'Login:'
131
+ user_sessions_password_form_field_label: 'Heslo:'
132
+ user_sessions_login_action_label: "Prihlásiť"
133
+
134
+ users_username_form_field_label: 'Používateľské meno'
135
+ users_email_form_field_label: 'Email'
136
+ users_password_from_field_label: 'Heslo'
137
+ users_password_confirmation_label: 'Potvrdenie hesla'
138
+ users_submit_form_action_label: 'Potvrdenie'
139
+ users_change_profile_view_title: 'Zmena profilu'
140
+ users_registration_view_title: 'Registrácia'
141
+
142
+ root_page_action_label: 'Hlavná stránka'
143
+ my_profile_action_label: 'Môj účet'
144
+ agent_action_label: 'Agent'
145
+ my_news_action_label: 'Moje správy'
146
+ users_action_label: 'Používatelia'
147
+ inforsources_list_action_label: 'Informačné zdroje'
148
+ errors_and_exceptions_action_label: 'Chyby a výnimky'
149
+ logout_user_action_label: 'Odhlásiť sa ({{username}})'
150
+ registration_action_label: 'Registrácia'
151
+ login_action_label: 'Prihlásenie'
152
+
153
+ are_you_sure_confirmation: 'Ste si istý?'
@@ -0,0 +1,5 @@
1
+ require 'compass'
2
+ require 'solarsearch'
3
+
4
+ stylesheet_dir = File.join(SolarSearch.base_directory, 'stylesheets')
5
+ Compass.configuration.add_import_path(stylesheet_dir)
@@ -1,3 +1,2 @@
1
1
  I18n.load_path += Dir[ File.join(File.dirname(__FILE__), '../..', 'config', 'locales', '*.{rb,yml}') ]
2
2
 
3
-
File without changes
@@ -0,0 +1,11 @@
1
+ require 'solarsearch'
2
+
3
+ %w{ controllers helpers models views }.each do |dir|
4
+ path = File.join(File.dirname(__FILE__), '..', 'app', dir)
5
+ $LOAD_PATH << path
6
+ ActiveSupport::Dependencies.load_paths << path
7
+ ActiveSupport::Dependencies.load_once_paths.delete(path)
8
+ end
9
+
10
+ require File.join(File.dirname(__FILE__), 'rails', 'routing')
11
+ require File.join(File.dirname(__FILE__), 'rails', 'locales')
data/lib/solarsearch.rb CHANGED
@@ -1,9 +1,8 @@
1
- %w{ controllers helpers models }.each do |dir|
2
- path = File.join(File.dirname(__FILE__), '..', 'app', dir)
3
- $LOAD_PATH << path
4
- ActiveSupport::Dependencies.load_paths << path
5
- ActiveSupport::Dependencies.load_once_paths.delete(path)
1
+
2
+ module SolarSearch
3
+ def self.base_directory
4
+ File.expand_path(File.join(File.dirname(__FILE__), '..'))
5
+ end
6
6
  end
7
7
 
8
- require 'solarsearch/routing'
9
- require 'solarsearch/locales'
8
+
data/rails/init.rb CHANGED
@@ -1 +1,2 @@
1
1
  require 'solarsearch'
2
+ require 'solarsearch/rails'