tennpipes-su 3.6.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (192) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +20 -0
  3. data/README.rdoc +70 -0
  4. data/Rakefile +22 -0
  5. data/lib/tennpipes-su.rb +35 -0
  6. data/lib/tennpipes-su/access_control.rb +191 -0
  7. data/lib/tennpipes-su/bootstrap-less/alerts.less +67 -0
  8. data/lib/tennpipes-su/bootstrap-less/badges.less +55 -0
  9. data/lib/tennpipes-su/bootstrap-less/bootstrap.less +49 -0
  10. data/lib/tennpipes-su/bootstrap-less/breadcrumbs.less +26 -0
  11. data/lib/tennpipes-su/bootstrap-less/button-groups.less +226 -0
  12. data/lib/tennpipes-su/bootstrap-less/buttons.less +155 -0
  13. data/lib/tennpipes-su/bootstrap-less/carousel.less +232 -0
  14. data/lib/tennpipes-su/bootstrap-less/close.less +33 -0
  15. data/lib/tennpipes-su/bootstrap-less/code.less +63 -0
  16. data/lib/tennpipes-su/bootstrap-less/component-animations.less +29 -0
  17. data/lib/tennpipes-su/bootstrap-less/dropdowns.less +213 -0
  18. data/lib/tennpipes-su/bootstrap-less/font-awesome/bordered-pulled.less +16 -0
  19. data/lib/tennpipes-su/bootstrap-less/font-awesome/core.less +12 -0
  20. data/lib/tennpipes-su/bootstrap-less/font-awesome/fixed-width.less +6 -0
  21. data/lib/tennpipes-su/bootstrap-less/font-awesome/font-awesome.less +17 -0
  22. data/lib/tennpipes-su/bootstrap-less/font-awesome/icons.less +412 -0
  23. data/lib/tennpipes-su/bootstrap-less/font-awesome/larger.less +13 -0
  24. data/lib/tennpipes-su/bootstrap-less/font-awesome/list.less +19 -0
  25. data/lib/tennpipes-su/bootstrap-less/font-awesome/mixins.less +20 -0
  26. data/lib/tennpipes-su/bootstrap-less/font-awesome/path.less +14 -0
  27. data/lib/tennpipes-su/bootstrap-less/font-awesome/rotated-flipped.less +9 -0
  28. data/lib/tennpipes-su/bootstrap-less/font-awesome/spinning.less +30 -0
  29. data/lib/tennpipes-su/bootstrap-less/font-awesome/stacked.less +20 -0
  30. data/lib/tennpipes-su/bootstrap-less/font-awesome/variables.less +381 -0
  31. data/lib/tennpipes-su/bootstrap-less/forms.less +419 -0
  32. data/lib/tennpipes-su/bootstrap-less/glyphicons.less +233 -0
  33. data/lib/tennpipes-su/bootstrap-less/grid.less +100 -0
  34. data/lib/tennpipes-su/bootstrap-less/input-groups.less +157 -0
  35. data/lib/tennpipes-su/bootstrap-less/jumbotron.less +44 -0
  36. data/lib/tennpipes-su/bootstrap-less/labels.less +64 -0
  37. data/lib/tennpipes-su/bootstrap-less/list-group.less +110 -0
  38. data/lib/tennpipes-su/bootstrap-less/media.less +56 -0
  39. data/lib/tennpipes-su/bootstrap-less/mixins.less +926 -0
  40. data/lib/tennpipes-su/bootstrap-less/modals.less +138 -0
  41. data/lib/tennpipes-su/bootstrap-less/navbar.less +616 -0
  42. data/lib/tennpipes-su/bootstrap-less/navs.less +242 -0
  43. data/lib/tennpipes-su/bootstrap-less/normalize.less +423 -0
  44. data/lib/tennpipes-su/bootstrap-less/pager.less +55 -0
  45. data/lib/tennpipes-su/bootstrap-less/pagination.less +88 -0
  46. data/lib/tennpipes-su/bootstrap-less/panels.less +230 -0
  47. data/lib/tennpipes-su/bootstrap-less/popovers.less +133 -0
  48. data/lib/tennpipes-su/bootstrap-less/print.less +101 -0
  49. data/lib/tennpipes-su/bootstrap-less/progress-bars.less +80 -0
  50. data/lib/tennpipes-su/bootstrap-less/responsive-utilities.less +93 -0
  51. data/lib/tennpipes-su/bootstrap-less/scaffolding.less +134 -0
  52. data/lib/tennpipes-su/bootstrap-less/tables.less +233 -0
  53. data/lib/tennpipes-su/bootstrap-less/tennpipes-su.less +18 -0
  54. data/lib/tennpipes-su/bootstrap-less/theme.less +247 -0
  55. data/lib/tennpipes-su/bootstrap-less/thumbnails.less +36 -0
  56. data/lib/tennpipes-su/bootstrap-less/tooltip.less +95 -0
  57. data/lib/tennpipes-su/bootstrap-less/type.less +296 -0
  58. data/lib/tennpipes-su/bootstrap-less/utilities.less +56 -0
  59. data/lib/tennpipes-su/bootstrap-less/variables.less +827 -0
  60. data/lib/tennpipes-su/bootstrap-less/wells.less +29 -0
  61. data/lib/tennpipes-su/generators/actions.rb +78 -0
  62. data/lib/tennpipes-su/generators/admin_app.rb +169 -0
  63. data/lib/tennpipes-su/generators/admin_page.rb +68 -0
  64. data/lib/tennpipes-su/generators/orm.rb +172 -0
  65. data/lib/tennpipes-su/generators/templates/account/activerecord.rb.tt +41 -0
  66. data/lib/tennpipes-su/generators/templates/account/couchrest.rb.tt +67 -0
  67. data/lib/tennpipes-su/generators/templates/account/datamapper.rb.tt +56 -0
  68. data/lib/tennpipes-su/generators/templates/account/dynamoid.rb.tt +55 -0
  69. data/lib/tennpipes-su/generators/templates/account/minirecord.rb.tt +44 -0
  70. data/lib/tennpipes-su/generators/templates/account/mongoid.rb.tt +54 -0
  71. data/lib/tennpipes-su/generators/templates/account/mongomapper.rb.tt +47 -0
  72. data/lib/tennpipes-su/generators/templates/account/ohm.rb.tt +70 -0
  73. data/lib/tennpipes-su/generators/templates/account/seeds.rb.tt +29 -0
  74. data/lib/tennpipes-su/generators/templates/account/sequel.rb.tt +53 -0
  75. data/lib/tennpipes-su/generators/templates/app.rb.tt +42 -0
  76. data/lib/tennpipes-su/generators/templates/app/controllers/base.rb.tt +5 -0
  77. data/lib/tennpipes-su/generators/templates/app/controllers/sessions.rb.tt +29 -0
  78. data/lib/tennpipes-su/generators/templates/assets/images/favicon.ico +0 -0
  79. data/lib/tennpipes-su/generators/templates/assets/images/font/FontAwesome.otf +0 -0
  80. data/lib/tennpipes-su/generators/templates/assets/images/font/fontawesome-webfont.eot +0 -0
  81. data/lib/tennpipes-su/generators/templates/assets/images/font/fontawesome-webfont.svg +414 -0
  82. data/lib/tennpipes-su/generators/templates/assets/images/font/fontawesome-webfont.ttf +0 -0
  83. data/lib/tennpipes-su/generators/templates/assets/images/font/fontawesome-webfont.woff +0 -0
  84. data/lib/tennpipes-su/generators/templates/assets/images/logo.png +0 -0
  85. data/lib/tennpipes-su/generators/templates/assets/javascripts/application.js +118 -0
  86. data/lib/tennpipes-su/generators/templates/assets/javascripts/bootstrap/affix.js +137 -0
  87. data/lib/tennpipes-su/generators/templates/assets/javascripts/bootstrap/alert.js +88 -0
  88. data/lib/tennpipes-su/generators/templates/assets/javascripts/bootstrap/bootstrap.min.js +6 -0
  89. data/lib/tennpipes-su/generators/templates/assets/javascripts/bootstrap/button.js +107 -0
  90. data/lib/tennpipes-su/generators/templates/assets/javascripts/bootstrap/carousel.js +205 -0
  91. data/lib/tennpipes-su/generators/templates/assets/javascripts/bootstrap/collapse.js +170 -0
  92. data/lib/tennpipes-su/generators/templates/assets/javascripts/bootstrap/dropdown.js +147 -0
  93. data/lib/tennpipes-su/generators/templates/assets/javascripts/bootstrap/modal.js +243 -0
  94. data/lib/tennpipes-su/generators/templates/assets/javascripts/bootstrap/popover.js +110 -0
  95. data/lib/tennpipes-su/generators/templates/assets/javascripts/bootstrap/scrollspy.js +153 -0
  96. data/lib/tennpipes-su/generators/templates/assets/javascripts/bootstrap/tab.js +125 -0
  97. data/lib/tennpipes-su/generators/templates/assets/javascripts/bootstrap/tooltip.js +399 -0
  98. data/lib/tennpipes-su/generators/templates/assets/javascripts/bootstrap/transition.js +48 -0
  99. data/lib/tennpipes-su/generators/templates/assets/javascripts/jquery-1.11.0.min.js +4 -0
  100. data/lib/tennpipes-su/generators/templates/assets/stylesheets/application.css +353 -0
  101. data/lib/tennpipes-su/generators/templates/assets/stylesheets/bootstrap.css +4 -0
  102. data/lib/tennpipes-su/generators/templates/assets/stylesheets/fonts/FontAwesome.otf +0 -0
  103. data/lib/tennpipes-su/generators/templates/assets/stylesheets/fonts/fontawesome-webfont.eot +0 -0
  104. data/lib/tennpipes-su/generators/templates/assets/stylesheets/fonts/fontawesome-webfont.svg +414 -0
  105. data/lib/tennpipes-su/generators/templates/assets/stylesheets/fonts/fontawesome-webfont.ttf +0 -0
  106. data/lib/tennpipes-su/generators/templates/assets/stylesheets/fonts/fontawesome-webfont.woff +0 -0
  107. data/lib/tennpipes-su/generators/templates/erb/app/base/index.erb.tt +15 -0
  108. data/lib/tennpipes-su/generators/templates/erb/app/errors/403.erb.tt +3 -0
  109. data/lib/tennpipes-su/generators/templates/erb/app/errors/404.erb.tt +3 -0
  110. data/lib/tennpipes-su/generators/templates/erb/app/errors/500.erb.tt +3 -0
  111. data/lib/tennpipes-su/generators/templates/erb/app/layouts/application.erb.tt +64 -0
  112. data/lib/tennpipes-su/generators/templates/erb/app/layouts/error.erb.tt +23 -0
  113. data/lib/tennpipes-su/generators/templates/erb/app/sessions/new.erb.tt +44 -0
  114. data/lib/tennpipes-su/generators/templates/erb/page/_form.erb.tt +18 -0
  115. data/lib/tennpipes-su/generators/templates/erb/page/edit.erb.tt +10 -0
  116. data/lib/tennpipes-su/generators/templates/erb/page/index.erb.tt +81 -0
  117. data/lib/tennpipes-su/generators/templates/erb/page/new.erb.tt +9 -0
  118. data/lib/tennpipes-su/generators/templates/haml/app/base/index.haml.tt +12 -0
  119. data/lib/tennpipes-su/generators/templates/haml/app/errors/403.haml.tt +3 -0
  120. data/lib/tennpipes-su/generators/templates/haml/app/errors/404.haml.tt +3 -0
  121. data/lib/tennpipes-su/generators/templates/haml/app/errors/500.haml.tt +3 -0
  122. data/lib/tennpipes-su/generators/templates/haml/app/layouts/application.haml.tt +49 -0
  123. data/lib/tennpipes-su/generators/templates/haml/app/layouts/error.haml.tt +18 -0
  124. data/lib/tennpipes-su/generators/templates/haml/app/sessions/new.haml.tt +38 -0
  125. data/lib/tennpipes-su/generators/templates/haml/page/_form.haml.tt +16 -0
  126. data/lib/tennpipes-su/generators/templates/haml/page/edit.haml.tt +8 -0
  127. data/lib/tennpipes-su/generators/templates/haml/page/index.haml.tt +58 -0
  128. data/lib/tennpipes-su/generators/templates/haml/page/new.haml.tt +7 -0
  129. data/lib/tennpipes-su/generators/templates/page/controller.rb.tt +92 -0
  130. data/lib/tennpipes-su/generators/templates/slim/app/base/index.slim.tt +12 -0
  131. data/lib/tennpipes-su/generators/templates/slim/app/errors/403.slim.tt +3 -0
  132. data/lib/tennpipes-su/generators/templates/slim/app/errors/404.slim.tt +3 -0
  133. data/lib/tennpipes-su/generators/templates/slim/app/errors/500.slim.tt +3 -0
  134. data/lib/tennpipes-su/generators/templates/slim/app/layouts/application.slim.tt +48 -0
  135. data/lib/tennpipes-su/generators/templates/slim/app/layouts/error.slim.tt +19 -0
  136. data/lib/tennpipes-su/generators/templates/slim/app/sessions/new.slim.tt +37 -0
  137. data/lib/tennpipes-su/generators/templates/slim/page/_form.slim.tt +16 -0
  138. data/lib/tennpipes-su/generators/templates/slim/page/edit.slim.tt +8 -0
  139. data/lib/tennpipes-su/generators/templates/slim/page/index.slim.tt +56 -0
  140. data/lib/tennpipes-su/generators/templates/slim/page/new.slim.tt +7 -0
  141. data/lib/tennpipes-su/helpers/authentication_helpers.rb +108 -0
  142. data/lib/tennpipes-su/helpers/view_helpers.rb +87 -0
  143. data/lib/tennpipes-su/locale/admin/cs.yml +56 -0
  144. data/lib/tennpipes-su/locale/admin/da.yml +56 -0
  145. data/lib/tennpipes-su/locale/admin/de.yml +56 -0
  146. data/lib/tennpipes-su/locale/admin/en.yml +56 -0
  147. data/lib/tennpipes-su/locale/admin/es.yml +56 -0
  148. data/lib/tennpipes-su/locale/admin/fr.yml +56 -0
  149. data/lib/tennpipes-su/locale/admin/hu.yml +56 -0
  150. data/lib/tennpipes-su/locale/admin/it.yml +56 -0
  151. data/lib/tennpipes-su/locale/admin/ja.yml +57 -0
  152. data/lib/tennpipes-su/locale/admin/lv.yml +56 -0
  153. data/lib/tennpipes-su/locale/admin/nl.yml +56 -0
  154. data/lib/tennpipes-su/locale/admin/no.yml +56 -0
  155. data/lib/tennpipes-su/locale/admin/pl.yml +56 -0
  156. data/lib/tennpipes-su/locale/admin/pt_br.yml +56 -0
  157. data/lib/tennpipes-su/locale/admin/ro.yml +56 -0
  158. data/lib/tennpipes-su/locale/admin/ru.yml +57 -0
  159. data/lib/tennpipes-su/locale/admin/sv.yml +56 -0
  160. data/lib/tennpipes-su/locale/admin/tr.yml +56 -0
  161. data/lib/tennpipes-su/locale/admin/uk.yml +56 -0
  162. data/lib/tennpipes-su/locale/admin/zh_cn.yml +56 -0
  163. data/lib/tennpipes-su/locale/admin/zh_tw.yml +56 -0
  164. data/lib/tennpipes-su/locale/orm/cs.yml +12 -0
  165. data/lib/tennpipes-su/locale/orm/da.yml +12 -0
  166. data/lib/tennpipes-su/locale/orm/de.yml +12 -0
  167. data/lib/tennpipes-su/locale/orm/en.yml +12 -0
  168. data/lib/tennpipes-su/locale/orm/es.yml +12 -0
  169. data/lib/tennpipes-su/locale/orm/fr.yml +12 -0
  170. data/lib/tennpipes-su/locale/orm/hu.yml +12 -0
  171. data/lib/tennpipes-su/locale/orm/it.yml +12 -0
  172. data/lib/tennpipes-su/locale/orm/ja.yml +12 -0
  173. data/lib/tennpipes-su/locale/orm/lv.yml +12 -0
  174. data/lib/tennpipes-su/locale/orm/nl.yml +12 -0
  175. data/lib/tennpipes-su/locale/orm/no.yml +12 -0
  176. data/lib/tennpipes-su/locale/orm/pl.yml +38 -0
  177. data/lib/tennpipes-su/locale/orm/pt_br.yml +12 -0
  178. data/lib/tennpipes-su/locale/orm/ro.yml +12 -0
  179. data/lib/tennpipes-su/locale/orm/ru.yml +12 -0
  180. data/lib/tennpipes-su/locale/orm/sv.yml +12 -0
  181. data/lib/tennpipes-su/locale/orm/tr.yml +12 -0
  182. data/lib/tennpipes-su/locale/orm/uk.yml +12 -0
  183. data/lib/tennpipes-su/locale/orm/zh_cn.yml +12 -0
  184. data/lib/tennpipes-su/locale/orm/zh_tw.yml +12 -0
  185. data/test/fixtures/sequel.rb +72 -0
  186. data/test/generators/test_account_model_generator.rb +108 -0
  187. data/test/generators/test_admin_app_generator.rb +218 -0
  188. data/test/generators/test_admin_page_generator.rb +140 -0
  189. data/test/helper.rb +47 -0
  190. data/test/test_admin_application.rb +271 -0
  191. data/test/test_locale.rb +25 -0
  192. metadata +298 -0
@@ -0,0 +1,87 @@
1
+ module Tennpipes
2
+ module Admin
3
+ module Helpers
4
+ module ViewHelpers
5
+ ##
6
+ # Icon's Bootstrap helper.
7
+ #
8
+ # @param [Symbol] icon
9
+ # The specified icon type.
10
+ #
11
+ # @param [Symbol] tag
12
+ # The HTML tag.
13
+ #
14
+ # @return [String] HTML tag with prepend icon
15
+ #
16
+ # @example
17
+ # tag_icon(:edit, :list)
18
+ #
19
+ def tag_icon(icon, tag = nil)
20
+ content = content_tag(:i, '', :class=> "fa fa-#{icon}")
21
+ content << " #{tag}"
22
+ end
23
+
24
+ ##
25
+ # Translates a given word for tennpipes admin.
26
+ #
27
+ # @param [String] word
28
+ # The specified word to admin translate.
29
+ # @param [String] default
30
+ # The default fallback if no word is available for the locale.
31
+ #
32
+ # @return [String] The translated word for the current locale.
33
+ #
34
+ # @example
35
+ # # => t("tennpipes.admin.profile", :default => "Profile")
36
+ # pat(:profile)
37
+ #
38
+ # # => t("tennpipes.admin.profile", :default => "My Profile")
39
+ # pat(:profile, "My Profile")
40
+ #
41
+ def tennpipes_admin_translate(word, *args)
42
+ options = args.extract_options!
43
+ options[:default] ||= word.to_s.humanize
44
+ t("tennpipes.admin.#{word}", options)
45
+ end
46
+ alias :pat :tennpipes_admin_translate
47
+
48
+ ##
49
+ # Translates attribute name for the given model.
50
+ #
51
+ # @param [Symbol] model
52
+ # The model name for the translation.
53
+ # @param [Symbol] attribute
54
+ # The attribute name in the model to translate.
55
+ #
56
+ # @return [String] The translated attribute name for the current locale.
57
+ #
58
+ # @example
59
+ # # => t("models.account.attributes.email", :default => "Email")
60
+ # mat(:account, :email)
61
+ #
62
+ def model_attribute_translate(model, attribute)
63
+ t("models.#{model}.attributes.#{attribute}", :default => attribute.to_s.humanize)
64
+ end
65
+ alias :t_attr :model_attribute_translate
66
+ alias :mat :t_attr
67
+
68
+ ##
69
+ # Translates model name.
70
+ #
71
+ # @param [Symbol] attribute
72
+ # The attribute name in the model to translate.
73
+ #
74
+ # @return [String] The translated model name for the current locale.
75
+ #
76
+ # @example
77
+ # # => t("models.account.name", :default => "Account")
78
+ # mt(:account)
79
+ #
80
+ def model_translate(model)
81
+ t("models.#{model}.name", :default => model.to_s.humanize)
82
+ end
83
+ alias :mt :model_translate
84
+ end
85
+ end
86
+ end
87
+ end
@@ -0,0 +1,56 @@
1
+ cs:
2
+ tennpipes:
3
+ admin:
4
+ login:
5
+ title: "přihlášení"
6
+ email: "Email"
7
+ password: "heslo"
8
+ bypass: "Bypass přihlašovací údaje?"
9
+ sign_in: "Přihlásit se"
10
+ error: "E-mail nebo heslo nesprávné."
11
+ save: "Uložit"
12
+ save_and_continue: "Uložit a pokračovat"
13
+ cancel: "Zrušit"
14
+ list: "List"
15
+ edit: "Edit"
16
+ new: "Nový"
17
+ show: "Show"
18
+ delete: "Delete"
19
+ confirm: "Jsi si jistý?"
20
+ created_at: "Vytvořeno"
21
+ all: "All"
22
+ profile: "Upravit profil"
23
+ settings: "Nastavení"
24
+ logout: "Konec admin"
25
+ select_all: "Vybrat vše"
26
+ deselect_all: "Zrušit výběr všech"
27
+ delete_selected: "Odstranit vybrané"
28
+ delete_selected_title: "Jste si jisti, že chcete odstranit všechny vybrané položky?"
29
+ example: "Ex: jednoduchý text"
30
+ new_title: "Nový %{model}"
31
+ create_title: "Úpravy %{model}"
32
+ create_success: " %{model} byl úspěšně vytvořen."
33
+ create_error: "Nelze vytvořit %{model}"
34
+ edit_title: "Úpravy %{model}"
35
+ edit_warning: "Nelze najít %{model} s ID %{id}."
36
+ update_title: "Úpravy %{model}"
37
+ update_success: " %{model} s ID %{id} byl úspěšně aktualizován."
38
+ update_error: "Nelze aktualizovat %{model}."
39
+ update_warning: "Nelze najít %{model} s ID %{id}"
40
+ delete_title: "Delete %{model}?"
41
+ delete_success: " %{model} s ID %{id} byl úspěšně odstraněn."
42
+ delete_error: "Nelze smazat %{model}!"
43
+ delete_warning: "Nelze najít %{model} s ID %{id}."
44
+ destroy_many_error: "Musíte vybrat alespoň jeden %{model} odstranit."
45
+ destroy_many_success: " %{model} %{ids} byly úspěšně smazány."
46
+ custom_errors:
47
+ title: "chyba"
48
+ '403':
49
+ title: "chyba 403"
50
+ description: "zakázaný"
51
+ '404':
52
+ title: "chyba 404"
53
+ description: "nebyl nalezen"
54
+ '500':
55
+ title: "chyba 500"
56
+ description: "Server Error"
@@ -0,0 +1,56 @@
1
+ da:
2
+ tennpipes:
3
+ admin:
4
+ login:
5
+ title: "Login"
6
+ email: "Email"
7
+ password: "adgangskode"
8
+ bypass: "Bypass login?"
9
+ sign_in: "Log ind"
10
+ error: "E-mail eller adgangskode forkert."
11
+ save: "Gem"
12
+ save_and_continue: "Gem og fortsæt"
13
+ cancel: "Cancel"
14
+ list: "List"
15
+ edit: "Edit"
16
+ new: "Ny"
17
+ show: "Show"
18
+ delete: "Delete"
19
+ confirm: "Er du sikker?"
20
+ created_at: "Oprettet"
21
+ all: "Alle"
22
+ profile: "Rediger din profil"
23
+ settings: "Indstillinger"
24
+ logout: "Afslut admin"
25
+ select_all: "Vælg alt"
26
+ deselect_all: "Fravælg alle"
27
+ delete_selected: "Slet valgte"
28
+ delete_selected_title: "Er du sikker på du vil slette alle de valgte elementer?"
29
+ example: "Ex: en simpel tekst"
30
+ new_title: "Ny% {model}"
31
+ create_title: "Redigering af% {model}"
32
+ create_success: "%{model} blev oprettet."
33
+ create_error: "Kunne ikke oprette %{model}"
34
+ edit_title: "Redigering af %{model}"
35
+ edit_warning: "Kunne ikke finde %{model} med id %{id}."
36
+ update_title: "Redigering af %{model}"
37
+ update_success: "%{model} med id %{id} er blevet opdateret."
38
+ update_error: "Kunne ikke opdatere %{model}."
39
+ update_warning: "Kunne ikke finde %{model} med id %{id}"
40
+ delete_title: "Slet %{model}?"
41
+ delete_success: "%{model} med id %{id} blev slettet."
42
+ delete_error: "Kunne ikke slette %{model}!"
43
+ delete_warning: "Kunne ikke finde %{model} med id %{id}."
44
+ destroy_many_error: "Du skal vælge mindst én %{model} for at slette."
45
+ destroy_many_success: "%{model} %{ids} blev slettet."
46
+ custom_errors:
47
+ title: "Error"
48
+ '403':
49
+ title: "Error 403"
50
+ description: "Forbidden"
51
+ '404':
52
+ title: "Error 404"
53
+ description: "Not Found"
54
+ '500':
55
+ title: "Error 500"
56
+ description: "Server Error"
@@ -0,0 +1,56 @@
1
+ de:
2
+ tennpipes:
3
+ admin:
4
+ login:
5
+ title: "Login"
6
+ email: "Email"
7
+ password: "Kennwort"
8
+ bypass: "Login umgehen?"
9
+ sign_in: "Anmeldung"
10
+ error: "E-Mail oder Passwort falsch."
11
+ save: "Speichern"
12
+ save_and_continue: "Speichern und weiter"
13
+ cancel: "Abbrechen"
14
+ list: "Liste"
15
+ edit: "Editieren"
16
+ new: "Neu"
17
+ show: "Anzeigen"
18
+ delete: "Löschen"
19
+ confirm: "Sind Sie sicher?"
20
+ created_at: "Erstellt am"
21
+ all: "Alle"
22
+ profile: "Profil bearbeiten"
23
+ settings: "Einstellungen"
24
+ logout: "Ausloggen"
25
+ select_all: "Alle auswählen"
26
+ deselect_all: "Alle abwählen"
27
+ delete_selected: "Ausgewählte löschen"
28
+ delete_selected_title: "Sind Sie sicher, dass Sie alle ausgewählten Elemente löschen wollen?"
29
+ example: "z.B. eine einfacher Text"
30
+ new_title: "%{model} erstellen"
31
+ create_title: "%{model} erstellen"
32
+ create_success: "%{model} wurde erfolgreich erstellt."
33
+ create_error: "%{model} konnte nicht erstellt werden"
34
+ edit_title: "%{model} bearbeiten"
35
+ edit_warning: "Konnte %{model} mit der ID %{id} nicht finden."
36
+ update_title: "%{model} bearbeiten"
37
+ update_success: "%{model} mit der ID %{id} wurde gespeichert."
38
+ update_error: "Konnte Änderungen von %{model} nicht speichern."
39
+ update_warning: "Konnte %{model} mit der ID %{id} nicht ändern."
40
+ delete_title: "%{model} löschen?"
41
+ delete_success: "%{model} mit der ID %{id} wurde erfolgreich gelöscht."
42
+ delete_error: "Konnte %{model} nicht löschen!"
43
+ delete_warning: "Konnte %{model} mit der ID %{id} nicht finden."
44
+ destroy_many_error: "Sie müssen mindestens ein %{model} zu, löschen auswählen."
45
+ destroy_many_success: "%{model} %{ids} wurden erfolgreich gelöscht."
46
+ custom_errors:
47
+ title: "Fehler"
48
+ '403':
49
+ title: "Fehler 403"
50
+ description: "verboten"
51
+ '404':
52
+ title: "Fehler 404"
53
+ description: "nicht gefunden"
54
+ '500':
55
+ title: "Fehler 500"
56
+ description: "Server-Fehler"
@@ -0,0 +1,56 @@
1
+ en:
2
+ tennpipes:
3
+ admin:
4
+ login:
5
+ title: "Login"
6
+ email: "Email"
7
+ password: "Password"
8
+ bypass: "Bypass login?"
9
+ sign_in: "Sign In"
10
+ error: "Email or password wrong."
11
+ save: "Save"
12
+ save_and_continue: "Save and continue"
13
+ cancel: "Cancel"
14
+ list: "List"
15
+ edit: "Edit"
16
+ new: "New"
17
+ show: "Show"
18
+ delete: "Delete"
19
+ confirm: "Are you sure?"
20
+ created_at: "Created at"
21
+ all: "All"
22
+ profile: "Edit your profile"
23
+ settings: "Settings"
24
+ logout: "Exit the admin"
25
+ select_all: "Select all"
26
+ deselect_all: "Deselect all"
27
+ delete_selected: "Delete selected"
28
+ delete_selected_title: "Are you sure you want to delete all the selected items?"
29
+ example: "Ex: a simple text"
30
+ new_title: "New %{model}"
31
+ create_title: "Editing %{model}"
32
+ create_success: "%{model} was successfully created."
33
+ create_error: "Couldn't create the %{model}"
34
+ edit_title: "Editing %{model}"
35
+ edit_warning: "Couldn't find the %{model} with ID %{id}."
36
+ update_title: "Editing %{model}"
37
+ update_success: "%{model} with ID %{id} was successfully updated."
38
+ update_error: "Couldn't update the %{model}."
39
+ update_warning: "Couldn't find the %{model} with ID %{id}"
40
+ delete_title: "Delete %{model}?"
41
+ delete_success: "%{model} with ID %{id} was successfully deleted."
42
+ delete_error: "Unable to delete %{model}!"
43
+ delete_warning: "Couldn't find the %{model} with ID %{id}."
44
+ destroy_many_error: "You must select at least one %{model} to delete."
45
+ destroy_many_success: "%{model} %{ids} were successfully deleted."
46
+ custom_errors:
47
+ title: "Error"
48
+ '403':
49
+ title: "Error 403"
50
+ description: "Forbidden"
51
+ '404':
52
+ title: "Error 404"
53
+ description: "Not Found"
54
+ '500':
55
+ title: "Error 500"
56
+ description: "Server Error"
@@ -0,0 +1,56 @@
1
+ es:
2
+ tennpipes:
3
+ admin:
4
+ login:
5
+ title: "Login"
6
+ email: "Email"
7
+ password: "contraseña"
8
+ bypass: "Bypass de acceso?"
9
+ sign_in: "registrarse"
10
+ error: "Tu email o password están equivocados."
11
+ save: "Guardar"
12
+ save_and_continue: "Guardar y continuar"
13
+ cancel: "Cancelar"
14
+ list: "Lista"
15
+ edit: "Modificar"
16
+ new: "Nuevo"
17
+ show: "Mostrar"
18
+ delete: "Eliminar"
19
+ confirm: "¿Estás seguro?"
20
+ created_at: "Creado el"
21
+ all: "Todos"
22
+ profile: "Modificá tu perfil"
23
+ settings: "Configuración"
24
+ logout: "Salir del administrador"
25
+ select_all: "Seleccionar todos"
26
+ deselect_all: "Deseleccionar todos"
27
+ delete_selected: "Eliminar seleccionados"
28
+ delete_selected_title: "¿Estás seguro de querer eliminar los ítems seleccionados?"
29
+ example: "Ej.: texto de prueba"
30
+ new_title: "Nuevo %{model}"
31
+ create_title: "Modificar %{model}"
32
+ create_success: "%{model} creado exitosamente."
33
+ create_error: "No se pudo crear %{model}"
34
+ edit_title: "Modificando %{model}"
35
+ edit_warning: "No se pudo encontrar %{model} con ID %{id}."
36
+ update_title: "Modificando %{model}"
37
+ update_success: "%{model} con ID %{id} fue actualizado correctamente."
38
+ update_error: "No se pudo actualizar %{model}."
39
+ update_warning: "No se pudo encontrar %{model} con ID %{id}"
40
+ delete_title: "Elminar %{model}?"
41
+ delete_success: "%{model} con ID %{id} fue eliminado."
42
+ delete_error: "¡No se pudo eliminar %{model}!"
43
+ delete_warning: "No se pudo encontrar %{model} con ID %{id}."
44
+ destroy_many_error: "Tenés que seleccionar al menos un %{model} a eliminar."
45
+ destroy_many_success: "%{model} %{ids} eliminados."
46
+ custom_errors:
47
+ title: "Error"
48
+ '403':
49
+ title: "Error 403"
50
+ description: "prohibido"
51
+ '404':
52
+ title: "Error 404"
53
+ description: "No se encuentra"
54
+ '500':
55
+ title: "Error 500"
56
+ description: "Error del servidor"
@@ -0,0 +1,56 @@
1
+ fr:
2
+ tennpipes:
3
+ admin:
4
+ login:
5
+ title: "Login"
6
+ email: "Email"
7
+ password: "mot de passe"
8
+ bypass: "Bypass oublié?"
9
+ sign_in: "Se connecter"
10
+ error: "E-mail ou mot de passe incorrect."
11
+ save: "Enregistrer"
12
+ save_and_continue: "Enregistrer et continuer"
13
+ cancel: "Annuler"
14
+ list: "Liste"
15
+ edit: "Edit"
16
+ new: "Nouveau"
17
+ show: "Show"
18
+ delete: "Supprimer"
19
+ confirm: "Etes-vous sûr?"
20
+ created_at: "Créé le"
21
+ all: "Tous"
22
+ profile: "Modifier votre profil"
23
+ settings: "Paramètres"
24
+ logout: "Sortir de l'admin"
25
+ select_all: "Sélectionner tout"
26
+ deselect_all: "Désélectionner tout"
27
+ delete_selected: "Supprimer la sélection"
28
+ delete_selected_title: "Etes-vous sûr de vouloir supprimer tous les éléments sélectionnés?"
29
+ example: "Ex: un texte simple"
30
+ new_title: " Nouveau %{model}"
31
+ create_title: "%{model} Édition"
32
+ create_success: "%{model} a été créé avec succès."
33
+ create_error: "Impossible de créer le %{model}}"
34
+ edit_title: "%{model} Édition"
35
+ edit_warning: "Impossible de trouver le %{model} avec l'ID %{id}."
36
+ update_title: "%{model} Édition"
37
+ update_success: "%{model} avec l'ID %{id} a été correctement mis à jour."
38
+ update_error: "Impossible de mettre à jour le %{model}."
39
+ update_warning: "Impossible de trouver le %{model} avec l'ID %{id}"
40
+ delete_title: "Supprimer %{model}?"
41
+ delete_success: "%{model} avec l'ID %{id} a été supprimé avec succès."
42
+ delete_error: "Impossible de supprimer %{model}!"
43
+ delete_warning: "Impossible de trouver le %{model} avec l'ID %{id}."
44
+ destroy_many_error: "Vous devez sélectionner au moins un %{model} à supprimer."
45
+ destroy_many_success: "%{model} %{ids} a été supprimé avec succès."
46
+ custom_errors:
47
+ title: "Erreur"
48
+ '403':
49
+ title: "Erreur 403"
50
+ description: "interdit"
51
+ '404':
52
+ title: "Erreur 404"
53
+ description: "Introuvable"
54
+ '500':
55
+ title: "Erreur 500"
56
+ description: "erreur du serveur"
@@ -0,0 +1,56 @@
1
+ hu:
2
+ tennpipes:
3
+ admin:
4
+ login:
5
+ title: "bejelentkezés"
6
+ email: "Email"
7
+ password: "jelszó"
8
+ bypass: "Bypass bejelentkezés?"
9
+ sign_in: "Bejelentkezés"
10
+ error: "E-mail vagy jelszó helytelen."
11
+ save: "Mentés"
12
+ save_and_continue: "Mentés és folytatás"
13
+ cancel: "Mégse"
14
+ list: "List"
15
+ edit: "Edit"
16
+ new: "Új"
17
+ show: "Show"
18
+ delete: "Törlés"
19
+ confirm: "Biztos benne?"
20
+ created_at: "Létrehozva"
21
+ all: "All"
22
+ profile: "Profil szerkesztése"
23
+ settings: "Settings"
24
+ logout: "Kilépés a admin"
25
+ select_all: "Select All"
26
+ deselect_all: "Unselect All"
27
+ delete_selected: "Törlés kiválasztott"
28
+ delete_selected_title: "Biztosan törölni szeretné az összes kiválasztott elemeket?"
29
+ example: "Pl.: egy egyszerű szöveg"
30
+ new_title: "Új %{model}"
31
+ create_title: "Szerkesztése %{model}"
32
+ create_success: "%{model} sikeresen létrejött."
33
+ create_error: "Nem sikerült létrehozni a %{model}"
34
+ edit_title: "Szerkesztése %{model}"
35
+ edit_warning: "Nem található a %{model} azonosító %{id}."
36
+ update_title: "Szerkesztése %{model}"
37
+ update_success: "%{model} azonosító %{id} sikeresen frissítve."
38
+ update_error: "Nem sikerült frissíteni a %{model}."
39
+ update_warning: "Nem található a %{model} azonosító %{id}"
40
+ delete_title: "Delete %{model}?"
41
+ delete_success: "%{model} azonosító %{id} sikeresen törölve."
42
+ delete_error: "Nem sikerült törölni %{model}!"
43
+ delete_warning: "Nem található a %{model} azonosító %{id}."
44
+ destroy_many_error: "Ki kell választani legalább egy %{model} törölni."
45
+ destroy_many_success: "%{model} %{ids} sikeresen törölve."
46
+ custom_errors:
47
+ title: "Hiba"
48
+ '403':
49
+ title: "Hiba 403"
50
+ description: "tiltott"
51
+ '404':
52
+ title: "Hiba 404"
53
+ description: "Not Found"
54
+ '500':
55
+ title: "Hiba 500"
56
+ description: "Szerverhiba"