padrino-admin 0.10.7 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (164) hide show
  1. checksums.yaml +7 -0
  2. data/Rakefile +22 -1
  3. data/lib/padrino-admin.rb +8 -1
  4. data/lib/padrino-admin/access_control.rb +6 -4
  5. data/lib/padrino-admin/bootstrap-less/accordion.less +34 -0
  6. data/lib/padrino-admin/bootstrap-less/alerts.less +98 -0
  7. data/lib/padrino-admin/bootstrap-less/badges.less +58 -0
  8. data/lib/padrino-admin/bootstrap-less/bootstrap.less +62 -0
  9. data/lib/padrino-admin/bootstrap-less/breadcrumbs.less +25 -0
  10. data/lib/padrino-admin/bootstrap-less/button-groups.less +166 -0
  11. data/lib/padrino-admin/bootstrap-less/buttons.less +175 -0
  12. data/lib/padrino-admin/bootstrap-less/carousel.less +192 -0
  13. data/lib/padrino-admin/bootstrap-less/close.less +32 -0
  14. data/lib/padrino-admin/bootstrap-less/code.less +61 -0
  15. data/lib/padrino-admin/bootstrap-less/component-animations.less +32 -0
  16. data/lib/padrino-admin/bootstrap-less/dropdowns.less +223 -0
  17. data/lib/padrino-admin/bootstrap-less/font-awesome-ie7.less +350 -0
  18. data/lib/padrino-admin/bootstrap-less/font-awesome.less +537 -0
  19. data/lib/padrino-admin/bootstrap-less/forms.less +543 -0
  20. data/lib/padrino-admin/bootstrap-less/glyphicons.less +200 -0
  21. data/lib/padrino-admin/bootstrap-less/grid.less +49 -0
  22. data/lib/padrino-admin/bootstrap-less/jumbotron.less +32 -0
  23. data/lib/padrino-admin/bootstrap-less/labels.less +46 -0
  24. data/lib/padrino-admin/bootstrap-less/media.less +54 -0
  25. data/lib/padrino-admin/bootstrap-less/mixins.less +530 -0
  26. data/lib/padrino-admin/bootstrap-less/modals.less +136 -0
  27. data/lib/padrino-admin/bootstrap-less/navbar.less +379 -0
  28. data/lib/padrino-admin/bootstrap-less/navs.less +277 -0
  29. data/lib/padrino-admin/bootstrap-less/normalize.less +396 -0
  30. data/lib/padrino-admin/bootstrap-less/padrino-admin.less +16 -0
  31. data/lib/padrino-admin/bootstrap-less/pager.less +43 -0
  32. data/lib/padrino-admin/bootstrap-less/pagination.less +100 -0
  33. data/lib/padrino-admin/bootstrap-less/popovers.less +133 -0
  34. data/lib/padrino-admin/bootstrap-less/print.less +74 -0
  35. data/lib/padrino-admin/bootstrap-less/progress-bars.less +118 -0
  36. data/lib/padrino-admin/bootstrap-less/responsive-utilities.less +59 -0
  37. data/lib/padrino-admin/bootstrap-less/scaffolding.less +90 -0
  38. data/lib/padrino-admin/bootstrap-less/tables.less +231 -0
  39. data/lib/padrino-admin/bootstrap-less/thumbnails.less +42 -0
  40. data/lib/padrino-admin/bootstrap-less/tooltip.less +71 -0
  41. data/lib/padrino-admin/bootstrap-less/type.less +252 -0
  42. data/lib/padrino-admin/bootstrap-less/utilities.less +42 -0
  43. data/lib/padrino-admin/bootstrap-less/variables.less +316 -0
  44. data/lib/padrino-admin/bootstrap-less/wells.less +29 -0
  45. data/lib/padrino-admin/generators/actions.rb +18 -2
  46. data/lib/padrino-admin/generators/admin_app.rb +38 -26
  47. data/lib/padrino-admin/generators/admin_page.rb +8 -1
  48. data/lib/padrino-admin/generators/orm.rb +58 -11
  49. data/lib/padrino-admin/generators/templates/account/couchrest.rb.tt +1 -1
  50. data/lib/padrino-admin/generators/templates/account/{mini_record.rb.tt → minirecord.rb.tt} +0 -0
  51. data/lib/padrino-admin/generators/templates/account/mongoid.rb.tt +1 -1
  52. data/lib/padrino-admin/generators/templates/account/ohm.rb.tt +61 -0
  53. data/lib/padrino-admin/generators/templates/account/sequel.rb.tt +1 -1
  54. data/lib/padrino-admin/generators/templates/app.rb.tt +36 -29
  55. data/lib/padrino-admin/generators/templates/app/controllers/{base.rb → base.rb.tt} +1 -2
  56. data/lib/padrino-admin/generators/templates/app/controllers/sessions.rb.tt +6 -3
  57. data/lib/padrino-admin/generators/templates/assets/images/favicon.ico +0 -0
  58. data/lib/padrino-admin/generators/templates/assets/images/font/FontAwesome.otf +0 -0
  59. data/lib/padrino-admin/generators/templates/assets/images/font/fontawesome-webfont.eot +0 -0
  60. data/lib/padrino-admin/generators/templates/assets/images/font/fontawesome-webfont.svg +284 -0
  61. data/lib/padrino-admin/generators/templates/assets/images/font/fontawesome-webfont.ttf +0 -0
  62. data/lib/padrino-admin/generators/templates/assets/images/font/fontawesome-webfont.woff +0 -0
  63. data/lib/padrino-admin/generators/templates/assets/images/logo.png +0 -0
  64. data/lib/padrino-admin/generators/templates/assets/javascripts/application.js +117 -0
  65. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-affix.js +117 -0
  66. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-alert.js +99 -0
  67. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-button.js +105 -0
  68. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-carousel.js +207 -0
  69. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-collapse.js +167 -0
  70. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-dropdown.js +165 -0
  71. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-modal.js +251 -0
  72. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-popover.js +114 -0
  73. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-scrollspy.js +162 -0
  74. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-tab.js +144 -0
  75. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-tooltip.js +361 -0
  76. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-transition.js +60 -0
  77. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-typeahead.js +335 -0
  78. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap.min.js +6 -0
  79. data/lib/padrino-admin/generators/templates/assets/javascripts/jquery-1.9.0.min.js +4 -0
  80. data/lib/padrino-admin/generators/templates/assets/stylesheets/application.css +346 -0
  81. data/lib/padrino-admin/generators/templates/assets/stylesheets/bootstrap.css +952 -0
  82. data/lib/padrino-admin/generators/templates/erb/app/base/index.erb.tt +13 -15
  83. data/lib/padrino-admin/generators/templates/erb/app/errors/403.erb.tt +3 -0
  84. data/lib/padrino-admin/generators/templates/erb/app/errors/404.erb.tt +3 -0
  85. data/lib/padrino-admin/generators/templates/erb/app/errors/500.erb.tt +3 -0
  86. data/lib/padrino-admin/generators/templates/erb/app/layouts/application.erb.tt +59 -39
  87. data/lib/padrino-admin/generators/templates/erb/app/layouts/error.erb.tt +23 -0
  88. data/lib/padrino-admin/generators/templates/erb/app/sessions/new.erb.tt +41 -53
  89. data/lib/padrino-admin/generators/templates/erb/page/_form.erb.tt +16 -9
  90. data/lib/padrino-admin/generators/templates/erb/page/edit.erb.tt +9 -17
  91. data/lib/padrino-admin/generators/templates/erb/page/index.erb.tt +73 -31
  92. data/lib/padrino-admin/generators/templates/erb/page/new.erb.tt +8 -16
  93. data/lib/padrino-admin/generators/templates/haml/app/base/index.haml.tt +11 -24
  94. data/lib/padrino-admin/generators/templates/haml/app/errors/403.haml.tt +3 -0
  95. data/lib/padrino-admin/generators/templates/haml/app/errors/404.haml.tt +3 -0
  96. data/lib/padrino-admin/generators/templates/haml/app/errors/500.haml.tt +3 -0
  97. data/lib/padrino-admin/generators/templates/haml/app/layouts/application.haml.tt +47 -29
  98. data/lib/padrino-admin/generators/templates/haml/app/layouts/error.haml.tt +18 -0
  99. data/lib/padrino-admin/generators/templates/haml/app/sessions/new.haml.tt +33 -28
  100. data/lib/padrino-admin/generators/templates/haml/page/_form.haml.tt +13 -9
  101. data/lib/padrino-admin/generators/templates/haml/page/edit.haml.tt +7 -14
  102. data/lib/padrino-admin/generators/templates/haml/page/index.haml.tt +56 -27
  103. data/lib/padrino-admin/generators/templates/haml/page/new.haml.tt +6 -13
  104. data/lib/padrino-admin/generators/templates/page/controller.rb.tt +57 -12
  105. data/lib/padrino-admin/generators/templates/slim/app/base/index.slim.tt +11 -24
  106. data/lib/padrino-admin/generators/templates/slim/app/errors/403.slim.tt +3 -0
  107. data/lib/padrino-admin/generators/templates/slim/app/errors/404.slim.tt +3 -0
  108. data/lib/padrino-admin/generators/templates/slim/app/errors/500.slim.tt +3 -0
  109. data/lib/padrino-admin/generators/templates/slim/app/layouts/application.slim.tt +43 -26
  110. data/lib/padrino-admin/generators/templates/slim/app/layouts/error.slim.tt +19 -0
  111. data/lib/padrino-admin/generators/templates/slim/app/sessions/new.slim.tt +31 -27
  112. data/lib/padrino-admin/generators/templates/slim/page/_form.slim.tt +13 -11
  113. data/lib/padrino-admin/generators/templates/slim/page/edit.slim.tt +7 -15
  114. data/lib/padrino-admin/generators/templates/slim/page/index.slim.tt +54 -28
  115. data/lib/padrino-admin/generators/templates/slim/page/new.slim.tt +6 -14
  116. data/lib/padrino-admin/helpers/authentication_helpers.rb +6 -4
  117. data/lib/padrino-admin/helpers/view_helpers.rb +27 -5
  118. data/lib/padrino-admin/locale/admin/cs.yml +53 -13
  119. data/lib/padrino-admin/locale/admin/da.yml +53 -13
  120. data/lib/padrino-admin/locale/admin/de.yml +53 -13
  121. data/lib/padrino-admin/locale/admin/en.yml +53 -13
  122. data/lib/padrino-admin/locale/admin/es.yml +53 -13
  123. data/lib/padrino-admin/locale/admin/fr.yml +53 -13
  124. data/lib/padrino-admin/locale/admin/hu.yml +53 -13
  125. data/lib/padrino-admin/locale/admin/it.yml +53 -13
  126. data/lib/padrino-admin/locale/admin/ja.yml +54 -13
  127. data/lib/padrino-admin/locale/admin/lv.yml +53 -13
  128. data/lib/padrino-admin/locale/admin/nl.yml +53 -13
  129. data/lib/padrino-admin/locale/admin/no.yml +53 -13
  130. data/lib/padrino-admin/locale/admin/pl.yml +53 -13
  131. data/lib/padrino-admin/locale/admin/pt_br.yml +53 -13
  132. data/lib/padrino-admin/locale/admin/ro.yml +53 -13
  133. data/lib/padrino-admin/locale/admin/ru.yml +54 -13
  134. data/lib/padrino-admin/locale/admin/sv.yml +53 -13
  135. data/lib/padrino-admin/locale/admin/tr.yml +53 -13
  136. data/lib/padrino-admin/locale/admin/uk.yml +53 -13
  137. data/lib/padrino-admin/locale/admin/zh_cn.yml +53 -13
  138. data/lib/padrino-admin/locale/admin/zh_tw.yml +53 -13
  139. data/lib/padrino-admin/locale/orm/fr.yml +8 -8
  140. data/padrino-admin.gemspec +2 -0
  141. data/test/fixtures/data_mapper.rb +0 -4
  142. data/test/generators/test_account_model_generator.rb +88 -18
  143. data/test/generators/test_admin_app_generator.rb +120 -165
  144. data/test/generators/test_admin_page_generator.rb +53 -56
  145. data/test/helper.rb +4 -0
  146. data/test/test_admin_application.rb +5 -5
  147. data/test/test_locale.rb +3 -3
  148. metadata +119 -35
  149. data/lib/padrino-admin/generators/templates/assets/stylesheets/base.css +0 -95
  150. data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/amro/style.css +0 -364
  151. data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/bec-green/style.css +0 -290
  152. data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/bec/style.css +0 -301
  153. data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/blue/style.css +0 -287
  154. data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/default/style.css +0 -373
  155. data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/djime-cerulean/style.css +0 -305
  156. data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/kathleene/style.css +0 -279
  157. data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/olive/style.css +0 -345
  158. data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/orange/style.css +0 -269
  159. data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/reidb-greenish/style.css +0 -302
  160. data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/ruby/style.css +0 -281
  161. data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/warehouse/style.css +0 -391
  162. data/lib/padrino-admin/generators/templates/erb/app/base/_sidebar.erb.tt +0 -13
  163. data/lib/padrino-admin/generators/templates/haml/app/base/_sidebar.haml.tt +0 -11
  164. data/lib/padrino-admin/generators/templates/slim/app/base/_sidebar.slim.tt +0 -11
@@ -1,16 +1,56 @@
1
1
  ro:
2
2
  padrino:
3
3
  admin:
4
- save: Salvează
5
- cancel: Anulează
6
- list: Listă
7
- edit: Editează
8
- new: Crează
9
- show: Afișează
10
- delete: Șterge
11
- confirm: Ești sigur?
12
- created_at: Creat la
13
- all: Toate
14
- profile: Profil
15
- settings: Setări
16
- logout: Delogare
4
+ login:
5
+ title: "Login"
6
+ email: "Email"
7
+ password: "parolă"
8
+ bypass: "Bypass autentificare?"
9
+ sign_in: "Conectați-vă"
10
+ error: "E-mail sau parola gresita."
11
+ save: "Save"
12
+ save_and_continue: "Salvați și continuați"
13
+ cancel: "Cancel"
14
+ list: "Lista"
15
+ edit: "Edit"
16
+ new: "Noua"
17
+ show: "Show"
18
+ delete: "Delete"
19
+ confirm: "Ești sigur?"
20
+ created_at: "Creat la"
21
+ all: "Toate"
22
+ profile: "Editare profil"
23
+ settings: "Settings"
24
+ logout: "Ieșiți admin"
25
+ select_all: "Select All"
26
+ deselect_all: "Toate Deselectați"
27
+ delete_selected: "Ștergeți cele selectate"
28
+ delete_selected_title: "Sunteți sigur că doriți să ștergeți toate elementele selectate?"
29
+ example: "Ex: un text simplu"
30
+ new_title: "Noul %{model} de"
31
+ create_title: "Editarea% {} model de"
32
+ create_success: "%{model} a fost creat cu succes."
33
+ create_error: "Nu am putut crea %{model}"
34
+ edit_title: "Editarea %{model} de"
35
+ edit_warning: "Nu am putut găsi %{model} cu ID-ul %{id}."
36
+ update_title: "Editarea %{model} de"
37
+ update_success: "%{model} cu ID-ul %{id} a fost actualizat cu succes."
38
+ update_error: "Nu sa putut actualiza %{model}."
39
+ update_warning: "Nu am putut găsi %{model} cu ID-ul %{id}"
40
+ delete_title: "Ștergere %{modelu}?"
41
+ delete_success: "%{model} cu ID-ul %{id} a fost șters cu succes."
42
+ delete_error: "Imposibil de șters %{model}!"
43
+ delete_warning: "Nu am putut găsi %{model} cu ID-ul %{id}."
44
+ destroy_many_error: "Trebuie să selectați cel puțin un de %{model} pentru a șterge."
45
+ destroy_many_success: "%{model} de id-uri %{ids} au fost șterse cu succes."
46
+ custom_errors:
47
+ title: "Eroare"
48
+ '403':
49
+ title: "Eroare 403"
50
+ description: "interzis"
51
+ '404':
52
+ title: "Eroare 404"
53
+ description: "nu a fost găsit"
54
+ '500':
55
+ title: "Eroare 500"
56
+ description: "Eroare de server"
@@ -1,16 +1,57 @@
1
1
  ru:
2
2
  padrino:
3
3
  admin:
4
- save: Сохранить
5
- cancel: Отмена
6
- list: Список
7
- edit: Изменить
8
- new: Добавить
9
- show: Показать
10
- delete: Удалить
11
- confirm: Вы уверены?
12
- created_at: Добавлено
13
- all: Все
14
- profile: Профиль
15
- settings: Настройки
16
- logout: Выход
4
+ login:
5
+ title: "Войти"
6
+ email: "Email"
7
+ password: "пароль"
8
+ bypass: "Пропустить авторизацию?"
9
+ sign_in: "Войти"
10
+ error: "Неправильный Email или пароль"
11
+ save: "Сохранить"
12
+ save_and_continue: "Сохранить и продолжить"
13
+ cancel: "Отмена"
14
+ list: "Список"
15
+ edit: "Edit"
16
+ new: "Новый"
17
+ show: "Показать"
18
+ delete: "Удалить"
19
+ confirm: "Вы уверены?"
20
+ created_at: "Создано"
21
+ all: "Все"
22
+ profile: "Редактировать профиль"
23
+ settings: "Настройки"
24
+ logout: "Выйти"
25
+ login_error: "Неправильный Email или пароль"
26
+ select_all: "Выделить всё"
27
+ deselect_all: "Очистить всё"
28
+ delete_selected: "Удалить"
29
+ delete_selected_title: "Вы уверены, что хотите удалить все выбранные элементы?"
30
+ example: "Ex: простой текст"
31
+ new_title: "Новый %{model}"
32
+ create_title: "Редактирование %{model}"
33
+ create_success: "%{model} был успешно создан."
34
+ create_error: "Невозможно создать %{model}"
35
+ edit_title: "Редактирование %{model}"
36
+ edit_warning: "Не удалось найти %{model} с идентификатором %{id}."
37
+ update_title: "Редактирование %{model}"
38
+ update_success: "%{model} с идентификатором %{id} был успешно обновлен."
39
+ update_error: "Не удалось обновить %{model}."
40
+ update_warning: "Не удалось найти %{model} с идентификатором %{id}"
41
+ delete_title: "Удалить %{model}?"
42
+ delete_success: "%{model} с идентификатором %{id} был успешно удален."
43
+ delete_error: "Не удалось удалить %{model}!"
44
+ delete_warning: "Не удалось найти %{model} с идентификатором %{id}."
45
+ destroy_many_error: "Вы должны выбрать хотя бы один %{model} для удаления."
46
+ destroy_many_success: "%{model} с идентификаторами %{ids} были успешно удалены."
47
+ custom_errors:
48
+ title: "ошибка"
49
+ '403':
50
+ title: "ошибка 403"
51
+ description: "Доступ ограничен"
52
+ '404':
53
+ title: "ошибка 404"
54
+ description: "Страница не найдена"
55
+ '500':
56
+ title: "ошибка 500"
57
+ description: "Ошибка сервера"
@@ -1,16 +1,56 @@
1
1
  sv:
2
2
  padrino:
3
3
  admin:
4
- save: Spara
5
- cancel: Avbryt
6
- list: Lista
7
- edit: Redigera
8
- new: Ny
9
- show: Visa
10
- delete: Radera
11
- confirm: Är du säker?
12
- created_at: Skapad
13
- all: Alla
14
- profile: Profil
15
- settings: Inställningar
16
- logout: Logga ut
4
+ login:
5
+ title: "Login"
6
+ email: "E-post"
7
+ password: "lösenord"
8
+ bypass: "Bypass inloggning?"
9
+ sign_in: "Logga in"
10
+ error: "E-post eller lösenord fel."
11
+ save: "Spara"
12
+ save_and_continue: "Spara och fortsätt"
13
+ cancel: "Avbryt"
14
+ list: "Lista"
15
+ edit: "Redigera"
16
+ new: "Nya"
17
+ show: "Visa"
18
+ delete: "Ta bort"
19
+ confirm: "Är du säker?"
20
+ created_at: "Skapat"
21
+ all: "Alla"
22
+ profile: "Redigera din profil"
23
+ settings: "Inställningar"
24
+ logout: "Avsluta admin"
25
+ select_all: "Markera allt"
26
+ deselect_all: "Avmarkera alla"
27
+ delete_selected: "Ta bort markerade"
28
+ delete_selected_title: "Är du säker på att du vill ta bort alla markerade objekt?"
29
+ example: "Ex: en enkel text"
30
+ new_title: "Ny %{model}"
31
+ create_title: "Redigera %{model}"
32
+ create_success: " %{model} har skapats."
33
+ create_error: "Kunde inte skapa %{model}"
34
+ edit_title: "Redigera %{model}"
35
+ edit_warning: "Kunde inte hitta %{model} med ID %{id}."
36
+ update_title: "Redigera %{model}"
37
+ update_success: " %{model} med ID %{id} har uppdaterats."
38
+ update_error: "Kunde inte uppdatera %{model}."
39
+ update_warning: "Kunde inte hitta %{model} med ID %{id}"
40
+ delete_title: "Ta bort %{model}?"
41
+ delete_success: " %{model} med ID %{id} har tagits bort."
42
+ delete_error: "Kunde inte ta bort %{model}!"
43
+ delete_warning: "Kunde inte hitta %{model} med ID %{id}."
44
+ destroy_many_error: "Du måste välja minst ett %{model} för att radera."
45
+ destroy_many_success: " %{model} %{ids} framgångsrikt bort."
46
+ custom_errors:
47
+ title: "Fel"
48
+ '403':
49
+ title: "Fel 403"
50
+ description: "förbjudna"
51
+ '404':
52
+ title: "Fel 404"
53
+ description: "Not Found"
54
+ '500':
55
+ title: "Fel 500"
56
+ description: "Serverfel"
@@ -1,16 +1,56 @@
1
1
  tr:
2
2
  padrino:
3
3
  admin:
4
- save: Kaydet
5
- cancel: Vazgeç
6
- list: Liste
7
- edit: Değiştir
8
- new: Yeni
9
- show: Göster
10
- delete: Sil
11
- confirm: emin misiniz?
12
- created_at: Oluşturuldu
13
- all: Hepsi
14
- profile: Profil
15
- settings: Ayarlar
16
- logout: Çıkış
4
+ login:
5
+ title: "giriş"
6
+ email: "E-posta"
7
+ password: "şifre"
8
+ bypass: "Giriş Bypass?"
9
+ sign_in: "Giriş"
10
+ error: "E-posta veya şifre yanlış."
11
+ save: "Kaydet"
12
+ save_and_continue: "Kaydet ve devam et"
13
+ cancel: "İptal"
14
+ list: "Liste"
15
+ edit: "Düzenle"
16
+ new: "Yeni"
17
+ show: "Göster"
18
+ delete: "Sil"
19
+ confirm: "Emin misiniz?"
20
+ created_at: "Created at"
21
+ all: "Tüm"
22
+ profile: "Profilinizi düzenleyin"
23
+ settings: "Ayarlar"
24
+ logout: "Yönetici çıkın"
25
+ select_all: "Tümünü Seç"
26
+ deselect_all: "Seçimden Tüm"
27
+ delete_selected: "Seçilenleri sil"
28
+ delete_selected_title: "Eğer tüm seçili öğeleri silmek istediğinizden emin misiniz?"
29
+ example: "Ex: basit bir metin"
30
+ new_title: "Yeni %{model}"
31
+ create_title: "Kurgu %{model}"
32
+ create_success: " %{model} başarıyla oluşturuldu."
33
+ create_error: " %{model} oluşturulamadı"
34
+ edit_title: "Kurgu %{model}"
35
+ edit_warning: "ID %{id} ile %{model} bulamadı."
36
+ update_title: "Kurgu %{model}"
37
+ update_success: "ID %{id} ile %{model} başarıyla güncellendi."
38
+ update_error: " %{model} güncelleme olamazdı."
39
+ update_warning: "ID %{id} ile %{model} bulamadı"
40
+ delete_title: "Sil %{model}?"
41
+ delete_success: "ID %{id} ile %{model} başarıyla silindi."
42
+ delete_error: "% Silinemiyor {model}!"
43
+ delete_warning: "ID %{id} ile %{model} bulamadı."
44
+ destroy_many_error: "Silmek için en az bir %{model} seçmelisiniz."
45
+ destroy_many_success: " %{model} %{ids} başarıyla silindi."
46
+ custom_errors:
47
+ title: "Hata"
48
+ '403':
49
+ title: "Hata 403"
50
+ description: "yasak"
51
+ '404':
52
+ title: "Hata 404"
53
+ description: "Bulunamadı"
54
+ '500':
55
+ title: "Hata 500"
56
+ description: "Sunucu Hatası"
@@ -1,16 +1,56 @@
1
1
  uk:
2
2
  padrino:
3
3
  admin:
4
- save: Зберегти
5
- cancel: Скасувати
6
- list: Список
7
- edit: Змінити
8
- new: Додати
9
- show: Показати
10
- delete: Видалити
11
- confirm: Ви впевнені?
12
- created_at: Додано
13
- all: Всі
14
- profile: Профіль
15
- settings: Налаштування
16
- logout: Вихід
4
+ login:
5
+ title: "Увійти"
6
+ email: "Email"
7
+ password: "пароль"
8
+ bypass: "Обхід ім'я або пароль?"
9
+ sign_in: "Увійти"
10
+ error: "Email або пароль неправильно."
11
+ save: "Зберегти"
12
+ save_and_continue: "Зберегти та продовжити"
13
+ cancel: "Скасування"
14
+ list: "Список"
15
+ edit: "Edit"
16
+ new: "Новий"
17
+ show: "Показати"
18
+ delete: "Видалити"
19
+ confirm: "Ви впевнені?"
20
+ created_at: "Створено"
21
+ all: "Все"
22
+ profile: "Редагувати профіль"
23
+ settings: "Налаштування"
24
+ logout: "Вихід адміністратора"
25
+ select_all: "Виділити все"
26
+ deselect_all: "Очистити все"
27
+ delete_selected: "Видалити"
28
+ delete_selected_title: "Ви впевнені, що хочете видалити всі вибрані елементи?"
29
+ example: "Ex: простий текст"
30
+ new_title: "Нова %{model}"
31
+ create_title: "Редагування %{model}"
32
+ create_success: "%{model} була успішно створена."
33
+ create_error: "Неможливо створити %{model}"
34
+ edit_title: "Редагування %{model}"
35
+ edit_warning: "Не вдалося знайти %{model} з ідентифікатором %{id}."
36
+ update_title: "Редагування %{model}"
37
+ update_success: "%{model} з ідентифікатором %{id} був успішно оновлений."
38
+ update_error: "Не вдалося оновити %{model}."
39
+ update_warning: "Не вдалося знайти %{model} з ідентифікатором %{id}"
40
+ delete_title: "Видалити %{model}?"
41
+ delete_success: "%{model} з ідентифікатором %{id} був успішно видалений."
42
+ delete_error: "Не вдалося видалити %{model}!"
43
+ delete_warning: "Не вдалося знайти %{model} з ідентифікатором %{id}."
44
+ destroy_many_error: "Ви повинні вибрати хоча б одне %{model} моделлю для видалення."
45
+ destroy_many_success: "%{model} %{ids} ідентифікатори були успішно видалені."
46
+ custom_errors:
47
+ title: "помилка"
48
+ '403':
49
+ title: "помилка 403"
50
+ description: "Заборонений"
51
+ '404':
52
+ title: "помилка 404"
53
+ description: "не знайдено"
54
+ '500':
55
+ title: "помилка 500"
56
+ description: "помилка сервера"
@@ -1,16 +1,56 @@
1
1
  zh_cn:
2
2
  padrino:
3
3
  admin:
4
- save: 储存
5
- cancel: 取消
6
- list: 列表
7
- edit: 编辑
8
- new: 新增
9
- show: 显示
10
- delete: 删除
11
- confirm: 确定要执行吗?
12
- created_at: 建立于
13
- all: 所有
14
- profile: 个人资料
15
- settings: 设定
16
- logout: 登出
4
+ login:
5
+ title: "注册"
6
+ email: "电子邮件"
7
+ password: "密码"
8
+ bypass: "旁路登录?"
9
+ sign_in: "Sign In"
10
+ error: "电子邮件或密码错误."
11
+ save: "登录"
12
+ save_and_continue: "保存并继续"
13
+ cancel: "取消"
14
+ list: "名单"
15
+ edit: "编辑"
16
+ new: "新"
17
+ show: "秀"
18
+ delete: "删除"
19
+ confirm: "你确定吗?"
20
+ created_at: "建立于"
21
+ all: "全部"
22
+ profile: "编辑个人资料"
23
+ settings: "设置"
24
+ logout: "退出管理"
25
+ select_all: "全选"
26
+ deselect_all: "全选"
27
+ delete_selected: "删除所选"
28
+ delete_selected_title: "你确定你要删除所有选定的项目吗?"
29
+ example: "例如:一个简单的文本"
30
+ new_title: "新的 %{model}"
31
+ create_title: "编辑 %{model}"
32
+ create_success: "%{model} 已成功创建。"
33
+ create_error: "无法创建 %{model}"
34
+ edit_title: "编辑 %{model}"
35
+ edit_warning: "找不到ID%的 %{id} %{model}"
36
+ update_title: "编辑 %{model}"
37
+ update_success: "ID %{id} 的 %{model} 已成功更新。"
38
+ update_error: "无法更新%{model}"
39
+ update_warning: "找不到 ID %{id} 的 %{model}"
40
+ delete_title: "删除 %{model}?"
41
+ delete_success: "ID %{id} 的 %{model} 被成功删除。"
42
+ delete_error: "无法删除 %{model}!"
43
+ delete_warning: "找不到 ID 的 %{id} %{model}"
44
+ destroy_many_error: "您必须选择至少1 %{model} 删除"
45
+ destroy_many_success: "%{model} %{ids} 已成功删除。"
46
+ custom_errors:
47
+ title: "错误"
48
+ '403':
49
+ title: "错误 403"
50
+ description: "被禁止"
51
+ '404':
52
+ title: "错误 404"
53
+ description: "未找到"
54
+ '500':
55
+ title: "错误 500"
56
+ description: "服务器错误"
@@ -1,16 +1,56 @@
1
1
  zh_tw:
2
2
  padrino:
3
3
  admin:
4
- save: 儲存
5
- cancel: 取消
6
- list: 列表
7
- edit: 編輯
8
- new: 新增
9
- show: 顯示
10
- delete: 刪除
11
- confirm: 確定要執行嗎?
12
- created_at: 建立於
13
- all: 所有
14
- profile: 個人資料
15
- settings: 設定
16
- logout: 登出
4
+ login:
5
+ title: "註冊"
6
+ email: "電子郵件"
7
+ password: "密碼"
8
+ bypass: "旁路登錄?"
9
+ sign_in: "登錄"
10
+ error: "電子郵件或密碼錯誤."
11
+ save: "保存"
12
+ save_and_continue: "保存並繼續"
13
+ cancel: "取消"
14
+ list: "名單"
15
+ edit: "編輯"
16
+ new: "新"
17
+ show: "秀"
18
+ delete: "刪除"
19
+ confirm: "你確定嗎?"
20
+ created_at: "建立於"
21
+ all: "全部"
22
+ profile: "編輯個人資料"
23
+ settings: "設置"
24
+ logout: "退出管理"
25
+ select_all: "全選"
26
+ deselect_all: "全選"
27
+ delete_selected: "刪除所選"
28
+ delete_selected_title: "你確定你要刪除所有選定的項目嗎?"
29
+ example: "例如:一個簡單的文本"
30
+ new_title: "新的 %{model}"
31
+ create_title: "編輯 %{model}"
32
+ create_success: "%{model} 已成功創建。"
33
+ create_error: "無法創建 %{model}"
34
+ edit_title: "編輯 %{model}"
35
+ edit_warning: "找不到 ID 的 %{id} %{model}"
36
+ update_title: "編輯 %{model}"
37
+ update_success: "ID %{id} 的 %{model} l已成功更新。"
38
+ update_error: "無法更新 %{model}"
39
+ update_warning: "找不到 ID %{id} 的 %{model}"
40
+ delete_title: "刪除 %{model}?"
41
+ delete_success: "ID %{id} 的 %{model} 被成功刪除。"
42
+ delete_error: "無法刪除 %{model}!"
43
+ delete_warning: "找不到ID%的 %{id} %{model}"
44
+ destroy_many_error: "您必須選擇至少1 %{model} 刪除"
45
+ destroy_many_success: "%{model} %{ids} 已成功刪除。"
46
+ custom_errors:
47
+ title: "錯誤"
48
+ '403':
49
+ title: "錯誤 403"
50
+ description: "被禁止"
51
+ '404':
52
+ title: "錯誤 404"
53
+ description: "未找到"
54
+ '500':
55
+ title: "錯誤 500"
56
+ description: "服務器錯誤"