typus 0.9.17
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +8 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +86 -0
- data/Rakefile +61 -0
- data/VERSION +1 -0
- data/app/controllers/admin/master_controller.rb +354 -0
- data/app/controllers/typus_controller.rb +128 -0
- data/app/helpers/admin/form_helper.rb +386 -0
- data/app/helpers/admin/master_helper.rb +104 -0
- data/app/helpers/admin/public_helper.rb +27 -0
- data/app/helpers/admin/sidebar_helper.rb +236 -0
- data/app/helpers/admin/table_helper.rb +227 -0
- data/app/helpers/typus_helper.rb +194 -0
- data/app/models/typus_mailer.rb +14 -0
- data/app/models/typus_user.rb +5 -0
- data/app/views/admin/dashboard/_sidebar.html.erb +9 -0
- data/app/views/admin/resources/edit.html.erb +24 -0
- data/app/views/admin/resources/index.html.erb +23 -0
- data/app/views/admin/resources/new.html.erb +22 -0
- data/app/views/admin/resources/show.html.erb +18 -0
- data/app/views/admin/shared/_footer.html.erb +1 -0
- data/app/views/admin/shared/_pagination.html.erb +28 -0
- data/app/views/layouts/admin.html.erb +73 -0
- data/app/views/layouts/typus.html.erb +29 -0
- data/app/views/typus/dashboard.html.erb +9 -0
- data/app/views/typus/recover_password.html.erb +7 -0
- data/app/views/typus/reset_password.html.erb +15 -0
- data/app/views/typus/sign_in.html.erb +9 -0
- data/app/views/typus/sign_up.html.erb +7 -0
- data/app/views/typus_mailer/reset_password_link.erb +11 -0
- data/config/locales/typus/de.yml +109 -0
- data/config/locales/typus/es.yml +109 -0
- data/config/locales/typus/language.yml.template +113 -0
- data/config/locales/typus/pt-BR.yml +111 -0
- data/config/locales/typus/ru.yml +111 -0
- data/generators/typus/templates/config/initializers/typus.rb +33 -0
- data/generators/typus/templates/config/typus/README +51 -0
- data/generators/typus/templates/config/typus/application.yml +6 -0
- data/generators/typus/templates/config/typus/application_roles.yml +23 -0
- data/generators/typus/templates/config/typus/typus.yml +14 -0
- data/generators/typus/templates/config/typus/typus_roles.yml +2 -0
- data/generators/typus/templates/db/create_typus_users.rb +21 -0
- data/generators/typus/templates/public/images/admin/arrow_down.gif +0 -0
- data/generators/typus/templates/public/images/admin/arrow_up.gif +0 -0
- data/generators/typus/templates/public/images/admin/spinner.gif +0 -0
- data/generators/typus/templates/public/images/admin/status_false.gif +0 -0
- data/generators/typus/templates/public/images/admin/status_true.gif +0 -0
- data/generators/typus/templates/public/images/admin/trash.gif +0 -0
- data/generators/typus/templates/public/javascripts/admin/application.js +14 -0
- data/generators/typus/templates/public/stylesheets/admin/reset.css +68 -0
- data/generators/typus/templates/public/stylesheets/admin/screen.css +729 -0
- data/generators/typus/typus_generator.rb +122 -0
- data/generators/typus_update_schema_to_01/templates/config/typus.yml +14 -0
- data/generators/typus_update_schema_to_01/templates/migration.rb +11 -0
- data/generators/typus_update_schema_to_01/typus_update_schema_to_01_generator.rb +19 -0
- data/lib/typus.rb +122 -0
- data/lib/typus/active_record.rb +307 -0
- data/lib/typus/authentication.rb +142 -0
- data/lib/typus/configuration.rb +85 -0
- data/lib/typus/extensions/routes.rb +15 -0
- data/lib/typus/format.rb +55 -0
- data/lib/typus/generator.rb +81 -0
- data/lib/typus/hash.rb +8 -0
- data/lib/typus/locale.rb +17 -0
- data/lib/typus/object.rb +21 -0
- data/lib/typus/quick_edit.rb +40 -0
- data/lib/typus/reloader.rb +15 -0
- data/lib/typus/string.rb +11 -0
- data/lib/typus/templates/index.html.erb +11 -0
- data/lib/typus/templates/resource_controller.rb.erb +15 -0
- data/lib/typus/templates/resource_controller_test.rb.erb +10 -0
- data/lib/typus/templates/resources_controller.rb.erb +37 -0
- data/lib/typus/user.rb +134 -0
- data/lib/vendor/active_record.rb +15 -0
- data/lib/vendor/paginator.rb +143 -0
- data/rails/init.rb +3 -0
- data/tasks/typus_tasks.rake +32 -0
- data/test/config/broken/application.yml +68 -0
- data/test/config/broken/application_roles.yml +20 -0
- data/test/config/broken/empty.yml +0 -0
- data/test/config/broken/empty_roles.yml +0 -0
- data/test/config/broken/undefined.yml +3 -0
- data/test/config/broken/undefined_roles.yml +6 -0
- data/test/config/default/typus.yml +14 -0
- data/test/config/default/typus_roles.yml +2 -0
- data/test/config/empty/empty_01.yml +0 -0
- data/test/config/empty/empty_01_roles.yml +0 -0
- data/test/config/empty/empty_02.yml +0 -0
- data/test/config/empty/empty_02_roles.yml +0 -0
- data/test/config/locales/es.yml +10 -0
- data/test/config/ordered/001_roles.yml +2 -0
- data/test/config/ordered/002_roles.yml +2 -0
- data/test/config/unordered/app_one_roles.yml +2 -0
- data/test/config/unordered/app_two_roles.yml +2 -0
- data/test/config/working/application.yml +68 -0
- data/test/config/working/application_roles.yml +22 -0
- data/test/config/working/typus.yml +14 -0
- data/test/config/working/typus_roles.yml +2 -0
- data/test/fixtures/app/controllers/admin/assets_controller.rb +2 -0
- data/test/fixtures/app/controllers/admin/categories_controller.rb +2 -0
- data/test/fixtures/app/controllers/admin/comments_controller.rb +2 -0
- data/test/fixtures/app/controllers/admin/pages_controller.rb +2 -0
- data/test/fixtures/app/controllers/admin/posts_controller.rb +2 -0
- data/test/fixtures/app/controllers/admin/status_controller.rb +6 -0
- data/test/fixtures/app/controllers/admin/typus_users_controller.rb +2 -0
- data/test/fixtures/app/controllers/admin/watch_dog_controller.rb +6 -0
- data/test/fixtures/app/views/admin/comments/_edit.html.erb +1 -0
- data/test/fixtures/app/views/admin/comments/_index.html.erb +1 -0
- data/test/fixtures/app/views/admin/comments/_new.html.erb +1 -0
- data/test/fixtures/app/views/admin/comments/_show.html.erb +1 -0
- data/test/fixtures/app/views/admin/comments/_sidebar.html.erb +1 -0
- data/test/fixtures/app/views/admin/dashboard/_content.html.erb +1 -0
- data/test/fixtures/app/views/admin/dashboard/_sidebar.html.erb +1 -0
- data/test/fixtures/app/views/admin/resources/_sidebar.html.erb +1 -0
- data/test/fixtures/app/views/admin/shared/_footer.html.erb +1 -0
- data/test/fixtures/app/views/admin/status/index.html.erb +1 -0
- data/test/fixtures/app/views/admin/templates/_datepicker.html.erb +1 -0
- data/test/fixtures/assets.yml +11 -0
- data/test/fixtures/categories.yml +14 -0
- data/test/fixtures/comments.yml +27 -0
- data/test/fixtures/pages.yml +41 -0
- data/test/fixtures/posts.yml +37 -0
- data/test/fixtures/typus_users.yml +54 -0
- data/test/functional/admin/assets_controller_test.rb +57 -0
- data/test/functional/admin/categories_controller_test.rb +106 -0
- data/test/functional/admin/comments_controller_test.rb +120 -0
- data/test/functional/admin/master_controller_test.rb +5 -0
- data/test/functional/admin/posts_controller_test.rb +261 -0
- data/test/functional/admin/status_controller_test.rb +43 -0
- data/test/functional/admin/typus_users_controller_test.rb +239 -0
- data/test/functional/typus_controller_test.rb +321 -0
- data/test/helper.rb +51 -0
- data/test/helpers/admin/form_helper_test.rb +337 -0
- data/test/helpers/admin/master_helper_test.rb +69 -0
- data/test/helpers/admin/public_helper_test.rb +26 -0
- data/test/helpers/admin/sidebar_helper_test.rb +335 -0
- data/test/helpers/admin/table_helper_test.rb +239 -0
- data/test/helpers/typus_helper_test.rb +117 -0
- data/test/lib/active_record_test.rb +382 -0
- data/test/lib/configuration_test.rb +94 -0
- data/test/lib/hash_test.rb +11 -0
- data/test/lib/routes_test.rb +71 -0
- data/test/lib/string_test.rb +25 -0
- data/test/lib/typus_test.rb +85 -0
- data/test/models.rb +51 -0
- data/test/schema.rb +64 -0
- data/test/unit/typus_mailer_test.rb +33 -0
- data/test/unit/typus_test.rb +17 -0
- data/test/unit/typus_user_roles_test.rb +90 -0
- data/test/unit/typus_user_test.rb +177 -0
- data/test/vendor/active_record_test.rb +18 -0
- data/test/vendor/paginator_test.rb +136 -0
- data/typus.gemspec +228 -0
- metadata +241 -0
@@ -0,0 +1,7 @@
|
|
1
|
+
<% form_tag admin_recover_password_path do %>
|
2
|
+
<ul>
|
3
|
+
<li><label for="email"><%= _("Email") %></label>
|
4
|
+
<%= text_field :user, :email, :size => 20, :class => 'text' %></li>
|
5
|
+
<li><%= submit_tag _("Recover password"), :class => 'button' %> <%= link_to _("I remember my password"), admin_sign_in_path %></li>
|
6
|
+
</ul>
|
7
|
+
<% end %>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<% form_tag admin_reset_password_path do %>
|
2
|
+
|
3
|
+
<%= hidden_field_tag :token, @user.token %>
|
4
|
+
|
5
|
+
<%= error_messages_for :user, :header_message => nil, :message => nil %>
|
6
|
+
|
7
|
+
<ul>
|
8
|
+
<li><label for="password"><%= _("Password") %></label>
|
9
|
+
<%= password_field :user, :password, :size => 20, :class => 'text' %></li>
|
10
|
+
<li><label for="password"><%= _("Password confirm") %></label>
|
11
|
+
<%= password_field :user, :password_confirmation, :size => 20, :class => 'text' %></li>
|
12
|
+
<li><%= submit_tag _("Change password"), :class => 'button' %> <%= link_to _("I remember my password"), admin_sign_in_path %></li>
|
13
|
+
</ul>
|
14
|
+
|
15
|
+
<% end %>
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<% form_tag admin_sign_in_path(:back_to => params[:back_to]) do %>
|
2
|
+
<ul>
|
3
|
+
<li><label for="email"><%= _("Email") %></label>
|
4
|
+
<%= text_field :user, :email, :size => 20, :class => 'text' %></li>
|
5
|
+
<li><label for="password"><%= _("Password") %></label>
|
6
|
+
<%= password_field :user, :password, :size => 20, :class => 'text' %></li>
|
7
|
+
<li><%= submit_tag _("Sign in"), :class => 'button' %> <%= link_to _("Recover password"), admin_recover_password_path if Typus::Configuration.options[:recover_password] %></li>
|
8
|
+
</ul>
|
9
|
+
<% end %>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
|
2
|
+
<%= _("You can update your password at") %>:
|
3
|
+
|
4
|
+
<%= url_for admin_reset_password_url(:token => @user.token) %>
|
5
|
+
|
6
|
+
<%= _("If you didn't request a password update, you can ignore this message") %>
|
7
|
+
|
8
|
+
<%= _("Have a nice day") %>
|
9
|
+
|
10
|
+
--
|
11
|
+
<%= Typus::Configuration.options[:app_name] %>
|
@@ -0,0 +1,109 @@
|
|
1
|
+
# German translations for Typus
|
2
|
+
# by Michael Grunewalder <http://michael.grunewalder.com>
|
3
|
+
|
4
|
+
de:
|
5
|
+
"Email": "Email"
|
6
|
+
"Password": "Passwort"
|
7
|
+
"Password confirmation": "Passwort Bestätigung"
|
8
|
+
"Sign in": "Anmelden"
|
9
|
+
"Recover password": "Passwort vergessen?"
|
10
|
+
"Sign up": "Konto erstellen"
|
11
|
+
"Enter your email below to create the first user": "Geben Sie Ihre Email Adresse unten ein, um den ersten Benutzer zu erstellen"
|
12
|
+
"That doesn't seem like a valid email address": "Das schein keine gültige Email Dresse zu sein"
|
13
|
+
"I remember my password": "Ich erinnere mein Passwort"
|
14
|
+
"Password recovery link sent to your email": "Der Link zur Wiederfindung des Passworts wurde an Ihre Email Adresse gechickt"
|
15
|
+
"A valid token is required": "Ein gültiges Merkmal ist erforderlich"
|
16
|
+
"The email and/or password you entered is invalid": "Die eingegebene Email Adresse und/oder das Passwort ist ungültig"
|
17
|
+
"There are not defined applications in config/typus/*.yml": "Es gibt keine definierten Anwendungen in config/typus/*.yml"
|
18
|
+
"Overview": "Übersicht"
|
19
|
+
"Options": "Optionen"
|
20
|
+
"Password confirm": "Passwort bestätigen"
|
21
|
+
"Change password": "Passwort ändern"
|
22
|
+
"There are no {{records}}": "Keine {{records}}vorhanden"
|
23
|
+
"There are no {{records}} under this filter": "Unter diesem Filter sind keine {{records}} vorhanden"
|
24
|
+
"Dashboard": "Dashboard"
|
25
|
+
"Create entry": "Eintrag erstellen"
|
26
|
+
"Update entry": "Eintrag ändern"
|
27
|
+
"New": "Neu"
|
28
|
+
"Show": "Anzeigen"
|
29
|
+
"Edit": "Bearbeiten"
|
30
|
+
"Login": "Anmeldem"
|
31
|
+
"Setup": "Einrichten"
|
32
|
+
"Create": "Erstellen"
|
33
|
+
"Sign out": "Abmelden"
|
34
|
+
"Update": "Überarbeiten"
|
35
|
+
"View site": "Site anzeigen"
|
36
|
+
"Logged as": "Aufgezeichnet als"
|
37
|
+
"Remove filter": "Filter entfernen"
|
38
|
+
"Back to list": "Zur7uuml;ck zur Liste"
|
39
|
+
"Actions": "Aktionen"
|
40
|
+
"Add": "Zufügen"
|
41
|
+
"← Previous": "← Vorheriger"
|
42
|
+
"Next →": "Nächster &rarr"
|
43
|
+
"Previous": "Vorheriger"
|
44
|
+
"Next": "Nächster"
|
45
|
+
"Search": "Suchen"
|
46
|
+
"Search by": "Suchen nach"
|
47
|
+
"{{model}} successfully updated": "{{model}} erfolgreich geändert"
|
48
|
+
"{{model}} successfully created": "{{model}} erfolgreich erstellt"
|
49
|
+
"{{model}} successfully removed": "{{model}} erfolgreich gelöscht"
|
50
|
+
"{{model}} {{attribute}} changed": "{{model}} {{attribute}} geändert"
|
51
|
+
"You're adding a new {{resource_from}} to {{resource_to}}": "Sie fügen eine neue {{resource_from}} an {{resource_to}}"
|
52
|
+
"You're adding a new {{resource_from}}": "Sie erstellen eine neue {{resource_from}}"
|
53
|
+
"You're updating a {{resource_from}} for {{resource_to}}": "Sie bearbeiten eine {{resource_from}} fü {{resource_to}}"
|
54
|
+
"You're updating a {{resource_from}}": "Sie bearbeiten eine {{resource_from}}"
|
55
|
+
"Toggle is disabled": "Schalter ist deaktiviert"
|
56
|
+
"Record moved {{to}}": "Datensatz verschoben nach {{to}}"
|
57
|
+
"{{model_a}} related to {{model_b}}": "{{model_a}} ist verknüpft mit {{model_b}}"
|
58
|
+
"{{model_a}} successfully assigned to {{model_b}}": "{{model_a}} erfolgreich an {{model_b}} zugewiesen"
|
59
|
+
"{{model_a}} unrelated from {{model_b}}": "{{model_a}} unverbunden mit {{model_b}}"
|
60
|
+
"{{model_a}} removed from {{model_b}}": "{{model_a}} erfolgreich von {{model_b}}entfernt"
|
61
|
+
"Your new password is {{password}}": "Ihr neues Passwort ist {{password}}"
|
62
|
+
"Add entry": "Eintrag erstellen"
|
63
|
+
"Go to": "Gehe zu"
|
64
|
+
"First name": "Vorname"
|
65
|
+
"Last name": "Nachname"
|
66
|
+
"Roles": "Rollen"
|
67
|
+
"Status": "Status"
|
68
|
+
"Typus User": "Typus Benutzer"
|
69
|
+
"System Users Administration": "System Benutzer Verwaltung"
|
70
|
+
"Resources": "Resourcen"
|
71
|
+
"Up": "Hoch"
|
72
|
+
"Down": "Runter"
|
73
|
+
"filter by": "filter nach"
|
74
|
+
"Checked if active": "Angekreuzt wenn activiert"
|
75
|
+
"As you're not the admin or the owner of this record you cannot edit it": "Nur der Administrator oder der Eigent7uuml;er des Datensates kann ihn bearbeiten"
|
76
|
+
"You can't change your role": "Sie können Ihre Rolle nicht ändern"
|
77
|
+
"Error! Typus User or role doesn't exist": "Fehler: Typus Benutzer oder Rolle existiert nicht"
|
78
|
+
"You can't toggle your status": "Sie können Ihren Status nicht umschalten"
|
79
|
+
"You're not allowed to toggle status": "Sie können den Status nicht umschalten"
|
80
|
+
"You can't remove yourself": "Sie können sich selbst nicht entfernen"
|
81
|
+
"You're not allowed to remove Typus Users": "Sie sind nicht berechtigt den Typus Benutzer zu entfernen"
|
82
|
+
"{{current_user_role}} can't perform action. ({{action}})": "{{current_user_role}} kann die Aktion nicht ausführen. ({{action}})"
|
83
|
+
"{{current_user_role}} can't go to {{action}} on {{controller}}": "{{current_user_role}} kann {{action}} von {{controller}} nicht asuführen"
|
84
|
+
"{{current_user_role}} can't delete this item": "{{current_user_role}} kann diesen Eintrag nicht löschen"
|
85
|
+
"{{current_user_role}} can't perform action ({{action}})": "{{current_user_role}} kann diese Aktion nicht ausführen"
|
86
|
+
"{{current_user_role}} can't display items": "{{current_user_role}} kann Einträge nicht anzeigen"
|
87
|
+
"You can update your password at": "Sie k7ouml;nnen Ihr Passwort ändern unter"
|
88
|
+
"If you didn't request a password update, you can ignore this message": "Falls Sie keine Passwort Äderung beantragt haben, können Sie diese nachricht ignorieren"
|
89
|
+
"Have a nice day": "Haben Sie einen guten Tag"
|
90
|
+
"Reset password": "Passwort zurücksetzen"
|
91
|
+
"Add new": "Erstellen"
|
92
|
+
"Do you want to cancel it?": "Wollen Sie abbrechen?"
|
93
|
+
"Click here": "Hier klicken"
|
94
|
+
"Are you sure you want to leave this page?": "Sind Sie sicher, dass Sie diese Seite verlassen möchten?"
|
95
|
+
"If you have made any changes to the fields without clicking the Save/Update entry button, your changes will be lost": "Wenn Sie Änderungen an Feldern vorgenommen haben, ohne den Speichern/Bearbeiten Knopf gedr7uuml;ckt zu haben, gehen diese Änderungen verloren"
|
96
|
+
"Click OK to continue, or click Cancel to stay on this page": "Klicken Sie OK zum Fortfahren oder Abbrechen um auf dieser Seite zu bleiben"
|
97
|
+
"Remove entry?": "Eintrag entfernen?"
|
98
|
+
"Unrelate {{unrelate_model}} from {{unrelate_model_from}}?": "Verknüpfung zwischen {{unrelate_model}} und {{unrelate_model_from}}entfernen?"
|
99
|
+
"Change {{attribute}}?": "{{attribute}}ändern?"
|
100
|
+
"Set language": "Sprache einstellen"
|
101
|
+
"Today": "Heute"
|
102
|
+
"Past 7 days": "Letzten 7 Tage"
|
103
|
+
"This month": "Diesen Monat"
|
104
|
+
"This year": "Dieses Jahr"
|
105
|
+
"{{model}} filtered by {{filtered_by}}": "{{model}} gefiltert nach {{filtered_by}}"
|
106
|
+
"True": "Richtig"
|
107
|
+
"False": "Falsch"
|
108
|
+
"Set language to": "Sprache wechseln zu"
|
109
|
+
"Are you sure you want to sign out and end your session?": "Wollen Sie sich abmelden und die Sitzung beenden?"
|
@@ -0,0 +1,109 @@
|
|
1
|
+
# Spanish translations for Typus
|
2
|
+
# by Felipe Talavera <http://github.com/flype>
|
3
|
+
|
4
|
+
es:
|
5
|
+
"Email": "Correo"
|
6
|
+
"Password": "Contraseña"
|
7
|
+
"Password confirmation": "Confirmar contraseña"
|
8
|
+
"Sign in": "Entrar"
|
9
|
+
"Recover password": "Recuperar contraseña"
|
10
|
+
"Sign up": "Crear cuenta"
|
11
|
+
"Enter your email below to create the first user": "Introduce tu email para crear el primer usuario."
|
12
|
+
"That doesn't seem like a valid email address": "Eso no parecia una dirección válida de correo electrónico."
|
13
|
+
"I remember my password": "Recuerdo mi contraseña"
|
14
|
+
"Password recovery link sent to your email": "Enlace de recuperación de contraseña enviado a tu correo electrónico."
|
15
|
+
"A valid token is required": "Se requiere un token válido."
|
16
|
+
"The email and/or password you entered is invalid": "El correo y/o la contraseña proporcionadas no son válidas."
|
17
|
+
"There are not defined applications in config/typus/*.yml": "There are not defined applications in config/typus/*.yml"
|
18
|
+
"Overview": "Visión general"
|
19
|
+
"Options": "Opciones"
|
20
|
+
"Password confirm": "Confirmación de contraseña"
|
21
|
+
"Change password": "Cambiar contraseña"
|
22
|
+
"There are no {{records}}": "No hay {{records}}."
|
23
|
+
"There are no {{records}} under this filter": "No hay {{records}} con este filtro."
|
24
|
+
"Dashboard": "Dashboard"
|
25
|
+
"Create entry": "Crear entrada"
|
26
|
+
"Update entry": "Actualizar entrada"
|
27
|
+
"New": "Nuevo"
|
28
|
+
"Show": "Mostrar"
|
29
|
+
"Edit": "Editar"
|
30
|
+
"Login": "Login"
|
31
|
+
"Setup": "Configurar"
|
32
|
+
"Create": "Crear"
|
33
|
+
"Sign out": "Salir"
|
34
|
+
"Update": "Actualizado"
|
35
|
+
"View site": "Ver web"
|
36
|
+
"Logged as": "Autenticado como"
|
37
|
+
"Remove filter": "Quitar filtro"
|
38
|
+
"Back to list": "Volver al listado"
|
39
|
+
"Actions": "Acciones"
|
40
|
+
"Add": "Añadir"
|
41
|
+
"← Previous": "← Anterior"
|
42
|
+
"Next →": "Siguente →"
|
43
|
+
"Previous": "Anterior"
|
44
|
+
"Next": "Siguiente"
|
45
|
+
"Search": "Búsqueda"
|
46
|
+
"Search by": "Buscar por"
|
47
|
+
"{{model}} successfully updated": "{{model}} satisfactoriamente actualizado."
|
48
|
+
"{{model}} successfully created": "{{model}} satisfactoriamente creado."
|
49
|
+
"{{model}} successfully removed": "{{model}} satisfactoriamente eliminado."
|
50
|
+
"{{model}} {{attribute}} changed": "{{model}} {{attribute}} cambiado."
|
51
|
+
"You're adding a new {{resource_from}} to {{resource_to}}": "Estas añadiendo un nuevo {{resource_from}} a {{resource_to}}."
|
52
|
+
"You're adding a new {{resource_from}}": "Estas añadiendo un nuevo {{resource_from}}."
|
53
|
+
"You're updating a {{resource_from}} for {{resource_to}}": "Estas actualizando un {{resource_from}} de {{resource_to}}."
|
54
|
+
"You're updating a {{resource_from}}": "Estas actualizando un {{resource_from}}."
|
55
|
+
"Toggle is disabled": "Toggle is disabled."
|
56
|
+
"Record moved {{to}}": "Record moved {{to}}."
|
57
|
+
"{{model_a}} related to {{model_b}}": "{{model_a}} relacionado con {{model_b}}."
|
58
|
+
"{{model_a}} successfully assigned to {{model_b}}": "{{model_a}} asignado satisfactoriamente a {{model_b}}."
|
59
|
+
"{{model_a}} unrelated from {{model_b}}": "{{model_a}} no esta relacionado con {{model_b}}."
|
60
|
+
"{{model_a}} removed from {{model_b}}": "{{model_a}} borrado de {{model_b}}."
|
61
|
+
"Your new password is {{password}}": "Tu nueva contraseña es {{password}}."
|
62
|
+
"Add entry": "Añadir entrada"
|
63
|
+
"Go to": "Ir a"
|
64
|
+
"First name": "Nombre"
|
65
|
+
"Last name": "Apellidos"
|
66
|
+
"Roles": "Roles"
|
67
|
+
"Status": "Estado"
|
68
|
+
"Typus User": "Typus User"
|
69
|
+
"System Users Administration": "Administrar Usuarios del Sistema"
|
70
|
+
"Resources": "Recursos"
|
71
|
+
"Up": "Subir"
|
72
|
+
"Down": "Bajar"
|
73
|
+
"filter by": "filtrar por"
|
74
|
+
"Checked if active": "Marca para activar"
|
75
|
+
"As you're not the admin or the owner of this record you cannot edit it": "Como no eres el admin o el propietario de este registro no puedes editarlo."
|
76
|
+
"You can't change your role": "No puedes cambiar tu propio rol."
|
77
|
+
"Error! Typus User or role doesn't exist": "Error! Typus User o el role no existen."
|
78
|
+
"You can't toggle your status": "No puedes cambiar tu estado."
|
79
|
+
"You're not allowed to toggle status": "No se te permite cambiar tu estado."
|
80
|
+
"You can't remove yourself": "No te puedes eliminar a ti mismo."
|
81
|
+
"You're not allowed to remove Typus Users": "No se te permite borrar usuarios de typus."
|
82
|
+
"{{current_user_role}} can't perform action. ({{action}})": "{{current_user_role}} no puede realizar la acción. ({{action}})"
|
83
|
+
"{{current_user_role}} can't go to {{action}} on {{controller}}": "{{current_user_role}} no pude ir a {{action}} en {{controller}}."
|
84
|
+
"{{current_user_role}} can't delete this item": "{{current_user_role}} no puede borrar este elemento."
|
85
|
+
"{{current_user_role}} can't perform action ({{action}})": "{{current_user_role}} no puede relizar la accion ({{action}})"
|
86
|
+
"{{current_user_role}} can't display items": "{{current_user_role}} no puede mostrar los elementos."
|
87
|
+
"You can update your password at": "Puedes actualizar tu contraseña en"
|
88
|
+
"If you didn't request a password update, you can ignore this message": "Si no pediste una actualización de tu contraseña, puedes ignorar este mensaje."
|
89
|
+
"Have a nice day": "Que tengas un buen dia."
|
90
|
+
"Reset password": "Cambiar contraseña"
|
91
|
+
"Add new": "Añadir nuevo"
|
92
|
+
"Do you want to cancel it?": "¿Quieres cancelarlo?"
|
93
|
+
"Click here": "Pulsa aquí"
|
94
|
+
"Are you sure you want to leave this page?": "¿Estas seguro que quieres abandonar esta página?"
|
95
|
+
"If you have made any changes to the fields without clicking the Save/Update entry button, your changes will be lost": "Si has relizado algún cambio en los campos sin pulsar en el botón de Guardar/Actualizar, tus cambios se perderán."
|
96
|
+
"Click OK to continue, or click Cancel to stay on this page": "Pulse OK para continuar, o pulse Cancelar para permanecer en esta página."
|
97
|
+
"Remove entry?": "¿Borrar entrada?"
|
98
|
+
"Unrelate {{unrelate_model}} from {{unrelate_model_from}}?": "Unrelate {{unrelate_model}} from {{unrelate_model_from}}?"
|
99
|
+
"Change {{attribute}}?": "Change {{attribute}}?"
|
100
|
+
"Set language": "Cambiar idioma"
|
101
|
+
"Today": "Hoy"
|
102
|
+
"Past 7 days": "Últimos 7 dias"
|
103
|
+
"This month": "Este mes"
|
104
|
+
"This year": "Este año"
|
105
|
+
"{{model}} filtered by {{filtered_by}}": "{{model}} filtrados por {{filtered_by}}"
|
106
|
+
"True": "Verdadero"
|
107
|
+
"False": "Falso"
|
108
|
+
"Set language to": "Idioma"
|
109
|
+
"Are you sure you want to sign out and end your session?":
|
@@ -0,0 +1,113 @@
|
|
1
|
+
##
|
2
|
+
# This is the complete translating yaml reference for Typus.
|
3
|
+
##
|
4
|
+
|
5
|
+
# <language> translations for Typus
|
6
|
+
# by <your_name> <contact_form>
|
7
|
+
|
8
|
+
<language>:
|
9
|
+
"Email":
|
10
|
+
"Password":
|
11
|
+
"Password confirmation":
|
12
|
+
"Sign in":
|
13
|
+
"Recover password":
|
14
|
+
"Sign up":
|
15
|
+
"Enter your email below to create the first user":
|
16
|
+
"That doesn't seem like a valid email address":
|
17
|
+
"I remember my password":
|
18
|
+
"Password recovery link sent to your email":
|
19
|
+
"A valid token is required":
|
20
|
+
"The email and/or password you entered is invalid":
|
21
|
+
"There are not defined applications in config/typus/*.yml":
|
22
|
+
"Overview":
|
23
|
+
"Options":
|
24
|
+
"Password confirm":
|
25
|
+
"Change password":
|
26
|
+
"There are no {{records}}":
|
27
|
+
"There are no {{records}} under this filter":
|
28
|
+
"Dashboard":
|
29
|
+
"Create entry":
|
30
|
+
"Update entry":
|
31
|
+
"New":
|
32
|
+
"Show":
|
33
|
+
"Edit":
|
34
|
+
"Login":
|
35
|
+
"Setup":
|
36
|
+
"Create":
|
37
|
+
"Sign out":
|
38
|
+
"Update":
|
39
|
+
"View site":
|
40
|
+
"Logged as":
|
41
|
+
"Remove filter":
|
42
|
+
"Back to list":
|
43
|
+
"Actions":
|
44
|
+
"Add":
|
45
|
+
"← Previous":
|
46
|
+
"Next →":
|
47
|
+
"Previous":
|
48
|
+
"Next":
|
49
|
+
"Search":
|
50
|
+
"Search by":
|
51
|
+
"{{model}} successfully updated":
|
52
|
+
"{{model}} successfully created":
|
53
|
+
"{{model}} successfully removed":
|
54
|
+
"{{model}} {{attribute}} changed":
|
55
|
+
"You're adding a new {{resource_from}} to {{resource_to}}":
|
56
|
+
"You're adding a new {{resource_from}}":
|
57
|
+
"You're updating a {{resource_from}} for {{resource_to}}":
|
58
|
+
"You're updating a {{resource_from}}":
|
59
|
+
"Toggle is disabled":
|
60
|
+
"Record moved {{to}}":
|
61
|
+
"{{model_a}} related to {{model_b}}":
|
62
|
+
"{{model_a}} successfully assigned to {{model_b}}":
|
63
|
+
"{{model_a}} unrelated from {{model_b}}":
|
64
|
+
"{{model_a}} removed from {{model_b}}":
|
65
|
+
"Your new password is {{password}}":
|
66
|
+
"Add entry":
|
67
|
+
"Go to":
|
68
|
+
"First name":
|
69
|
+
"Last name":
|
70
|
+
"Roles":
|
71
|
+
"Status":
|
72
|
+
"Typus User":
|
73
|
+
"System Users Administration":
|
74
|
+
"Resources":
|
75
|
+
"Up":
|
76
|
+
"Down":
|
77
|
+
"filter by":
|
78
|
+
"Checked if active":
|
79
|
+
"As you're not the admin or the owner of this record you cannot edit it":
|
80
|
+
"You can't change your role":
|
81
|
+
"Error! Typus User or role doesn't exist":
|
82
|
+
"You can't toggle your status":
|
83
|
+
"You're not allowed to toggle status":
|
84
|
+
"You can't remove yourself":
|
85
|
+
"You're not allowed to remove Typus Users":
|
86
|
+
"{{current_user_role}} can't perform action. ({{action}})":
|
87
|
+
"{{current_user_role}} can't go to {{action}} on {{controller}}":
|
88
|
+
"{{current_user_role}} can't delete this item":
|
89
|
+
"{{current_user_role}} can't perform action ({{action}})":
|
90
|
+
"{{current_user_role}} can't display items":
|
91
|
+
"You can update your password at":
|
92
|
+
"If you didn't request a password update, you can ignore this message":
|
93
|
+
"Have a nice day":
|
94
|
+
"Reset password":
|
95
|
+
"Add new":
|
96
|
+
"Do you want to cancel it?":
|
97
|
+
"Click here":
|
98
|
+
"Are you sure you want to leave this page?":
|
99
|
+
"If you have made any changes to the fields without clicking the Save/Update entry button, your changes will be lost":
|
100
|
+
"Click OK to continue, or click Cancel to stay on this page":
|
101
|
+
"Remove entry?":
|
102
|
+
"Unrelate {{unrelate_model}} from {{unrelate_model_from}}?":
|
103
|
+
"Change {{attribute}}?":
|
104
|
+
"Set language":
|
105
|
+
"Today":
|
106
|
+
"Past 7 days":
|
107
|
+
"This month":
|
108
|
+
"This year":
|
109
|
+
"{{model}} filtered by {{filtered_by}}":
|
110
|
+
"True":
|
111
|
+
"False":
|
112
|
+
"Set language to":
|
113
|
+
"Are you sure you want to sign out and end your session?":
|
@@ -0,0 +1,111 @@
|
|
1
|
+
# Portuguese (pt-br) translations for Typus
|
2
|
+
# by George Guimarães <http://github.com/georgeguimaraes>
|
3
|
+
|
4
|
+
pt-BR:
|
5
|
+
"Email": "Email"
|
6
|
+
"Password": "Senha"
|
7
|
+
"Password confirmation": "Senha confirmação"
|
8
|
+
"Sign in": "Entrar"
|
9
|
+
"Recover password": "Recuperar senha"
|
10
|
+
"Sign up": "Criar conta"
|
11
|
+
"Enter your email below to create the first user": "Escreva seu email para criar o primeiro usuário"
|
12
|
+
"That doesn't seem like a valid email address": "Este não parece um email válido"
|
13
|
+
"I remember my password": "Lembro minha senha"
|
14
|
+
"Password recovery link sent to your email": "Link para recuperar senha enviado para seu email."
|
15
|
+
"A valid token is required": "É necessário um token válido."
|
16
|
+
"The email and/or password you entered is invalid": "O email e/ou a senha que você colocou são inválidos."
|
17
|
+
"There are not defined applications in config/typus/*.yml": "Não há aplicativos definidos em config/typus/*.yml"
|
18
|
+
"Overview": "Visão geral"
|
19
|
+
"Options": "Opções"
|
20
|
+
"Password confirmation": "Confirmação de senha"
|
21
|
+
"Change password": "Trocar senha"
|
22
|
+
"There are no {{records}}": "Não há {{records}}."
|
23
|
+
"There are no {{records}} under this filter": "Não há {{records}} com este filtro."
|
24
|
+
"Dashboard": "Painel"
|
25
|
+
"Create entry": "Criar entrada"
|
26
|
+
"Update entry": "Atualizar entrada"
|
27
|
+
"New": "Novo"
|
28
|
+
"Show": "Mostrar"
|
29
|
+
"Edit": "Editar"
|
30
|
+
"Login": "Login"
|
31
|
+
"Setup": "Configurar"
|
32
|
+
"Create": "Criar"
|
33
|
+
"Sign out": "Sair"
|
34
|
+
"Update": "Atualizado"
|
35
|
+
"View site": "Ver site"
|
36
|
+
"Logged as": "Logado como"
|
37
|
+
"Remove filter": "Remover filtro"
|
38
|
+
"Back to list": "Voltar à lista"
|
39
|
+
"Actions": "Ações"
|
40
|
+
"Add": "Adicionar"
|
41
|
+
"← Previous": "← Anterior"
|
42
|
+
"Next →": "Próximo →"
|
43
|
+
"Previous": "Anterior"
|
44
|
+
"Next": "Próximo"
|
45
|
+
"Search": "Busca"
|
46
|
+
"Search by": "Buscar por"
|
47
|
+
"{{model}} successfully updated": "{{model}} atualizado com sucesso."
|
48
|
+
"{{model}} successfully created": "{{model}} criado com sucesso."
|
49
|
+
"{{model}} successfully removed": "{{model}} removido com sucesso."
|
50
|
+
"{{model}} {{attribute}} changed": "{{model}} {{attribute}} atualizado."
|
51
|
+
"You're adding a new {{resource_from}} to {{resource_to}}": "Você está adicionando um novo {{resource_from}} a {{resource_to}}."
|
52
|
+
"You're adding a new {{resource_from}}": "Você está adicionando um novo {{resource_from}}."
|
53
|
+
"You're updating a {{resource_from}} for {{resource_to}}": "Você está atualizando um {{resource_from}} de {{resource_to}}."
|
54
|
+
"You're updating a {{resource_from}}": "Você está atualizando um {{resource_from}}."
|
55
|
+
"Toggle is disabled": "Toggle está desabilitado."
|
56
|
+
"Record moved {{to}}": "Registro movido {{to}}."
|
57
|
+
"{{model_a}} related to {{model_b}}": "{{model_a}} relacionado com {{model_b}}."
|
58
|
+
"{{model_a}} successfully assigned to {{model_b}}": "{{model_a}} atribuído com sucesso a {{model_b}}."
|
59
|
+
"{{model_a}} unrelated from {{model_b}}": "{{model_a}} não está relacionado com {{model_b}}."
|
60
|
+
"{{model_a}} removed from {{model_b}}": "{{model_a}} removido de {{model_b}}."
|
61
|
+
"Your new password is {{password}}": "Sua nova senha é {{password}}."
|
62
|
+
"Add entry": "Adicionar entrada"
|
63
|
+
"Go to": "Ir a"
|
64
|
+
"First name": "Primeiro nome"
|
65
|
+
"Last name": "Sobrenome"
|
66
|
+
"Roles": "Função"
|
67
|
+
"Status": "Status"
|
68
|
+
"Typus User": "Usuário do sistema"
|
69
|
+
"System Users Administration": "Administrar usuários do sistema"
|
70
|
+
"Resources": "Recursos"
|
71
|
+
"Up": "Subir"
|
72
|
+
"Down": "Descer"
|
73
|
+
"filter by": "filtrar por"
|
74
|
+
"Checked if active": "Marcar para ativar"
|
75
|
+
"As you're not the admin or the owner of this record you cannot edit it": "Como você não é o dono desse registro ou o admin, você não pode editá-lo."
|
76
|
+
"You can't change your role": "Você não pode mudar sua própria função no sistema."
|
77
|
+
"Error! Typus User or role doesn't exist": "Erro! Usuário ou função não existe."
|
78
|
+
"You can't toggle your status": "Você não pode mudar seu status."
|
79
|
+
"You're not allowed to toggle status": "Você não está autorizado a mudar o status."
|
80
|
+
"You can't remove yourself": "Você não pode apagar a si mesmo."
|
81
|
+
"You're not allowed to remove Typus Users": "Você não está autorizado a apagar usuários do sistema."
|
82
|
+
"{{current_user_role}} can't perform action. ({{action}})": "{{current_user_role}} não pode realizar a ação. ({{action}})"
|
83
|
+
"{{current_user_role}} can't go to {{action}} on {{controller}}": "{{current_user_role}} não pode ir a {{action}} no {{controller}}."
|
84
|
+
"{{current_user_role}} can't delete this item": "{{current_user_role}} não pode apagar este item."
|
85
|
+
"{{current_user_role}} can't perform action ({{action}})": "{{current_user_role}} não pode realizar a ação ({{action}})"
|
86
|
+
"{{current_user_role}} can't display items": "{{current_user_role}} não pode mostrar os items."
|
87
|
+
"You can update your password at": "Você pode atualizar sua senha em"
|
88
|
+
"If you didn't request a password update, you can ignore this message": "Se você não pediu uma renovação de senha, por favor ignore esta mensagem."
|
89
|
+
"Have a nice day": "Tenha um bom dia."
|
90
|
+
"Reset password": "Trocar senha"
|
91
|
+
"Add new": "Adicionar novo"
|
92
|
+
"Do you want to cancel it?": "Quer cancelar?"
|
93
|
+
"Click here": "Clique aqui"
|
94
|
+
"Are you sure you want to leave this page?": "Tem certeza que quer sair desta página?"
|
95
|
+
"If you have made any changes to the fields without clicking the Save/Update entry button, your changes will be lost": "Se você fez alterações nos campos e não clicou no botão de Salvar/Atualizar, suas alterações serão perdidas"
|
96
|
+
"Click OK to continue, or click Cancel to stay on this page": "Clique OK para continuar, ou clique em Cancelar para ficar nesta página."
|
97
|
+
"Remove entry?": "Remover entrada?"
|
98
|
+
"Unrelate {{unrelate_model}} from {{unrelate_model_from}}?": "Desvincular {{unrelate_model}} de {{unrelate_model_from}}?"
|
99
|
+
"Change {{attribute}}?": "Mudar {{attribute}}?"
|
100
|
+
"Set language": "Mudar idioma"
|
101
|
+
"Today": "Hoje"
|
102
|
+
"Past 7 days": "Últimos 7 dias"
|
103
|
+
"This month": "Este mês"
|
104
|
+
"This year": "Este ano"
|
105
|
+
"Created at": "Criado em"
|
106
|
+
"Updated at": "Atualizado em"
|
107
|
+
"{{model}} filtered by {{filtered_by}}": "{{model}} filtrados por {{filtered_by}}"
|
108
|
+
"True": "Verdadeiro"
|
109
|
+
"False": "Falso"
|
110
|
+
"Set language to": "Idioma"
|
111
|
+
"Are you sure you want to sign out and end your session?": "Tem certeza que quer sair e encerrar sua sessão?"
|