@@ -9,11 +9,6 @@
<title><%= global_prefs.app_name %></title>
<%- end -%>
<%= stylesheet_link_tag "default" %>
<%= javascript_include_tag :defaults %>
<%= active_scaffold_includes %>
<%= calendar_date_select_includes :default %>
<%= stylesheet_link_tag 'calendar/blue/style' %>
<%= yield :jquery_support %>
<%= yield :head %>
</head>
<body class="<%= @body %>">
@@ -23,9 +18,6 @@
<%= global_prefs.app_name %>
</h1>
<ul id="nav">
<%- menu.each do |link| -%>
<%= menu_li link %>
<%- end -%>
</ul>

<p class="welcome">
@@ -34,12 +26,8 @@
(<%= link_to "Sign out", logout_path %>)
<%- if current_person.admin? -%>
<br />
<%- if admin_view? -%>
<%= link_to("Refresh Blog Feed", '/refreshblog') %> |
<%= link_to("Standard view", home_path) %>
<%- else -%>
<%= link_to("Admin view", admin_preferences_path) %>
<%- end -%>
<%= link_to("Refresh Blog Feed", '/refreshblog') %> |
<%= link_to("Standard view", home_path) %>
<%- end -%>
<%- else -%>
<%= link_to "Sign in", login_path %> or
@@ -36,11 +36,7 @@
<p class="welcome">
<%- if logged_in? -%>
<%- if current_person.admin? -%>
<%- if admin_view? -%>
<%= link_to("Standard view", home_path) %>
<%- else -%>
<%= link_to("Admin view", admin_preferences_path) %>
<%- end -%>
<%= link_to("Admin view", admin_preferences_path) %>
<%- end -%>
<%- else -%>
<%= link_to t('sessions.new.header'), login_path %>
@@ -0,0 +1,97 @@
RailsAdmin.authenticate_with{
unless current_person
session[:return_to] = request.url
redirect_to login_url, :alert => "You must first log in or sign up before accessing this page."
end
}

RailsAdmin.authorize_with :cancan

RailsAdmin.config do |config|
config.included_models = [Exchange,ForumPost,FeedPost,BroadcastEmail,Person]

config.model Exchange do
list do
field :created_at
field :customer do
label "payer"
formatted_value do
value.name
end
end
field :worker do
label "payee"
formatted_value do
value.name
end
end
field :amount
field :metadata do
label "memo"
formatted_value do
value.name
end
end
end
end

config.model FeedPost do
list do
field :title
field :date_published
field :created_at
field :updated_at
end

edit do
field :title
field :content
end
end

config.model ForumPost do
list do
field :person do
formatted_value do
value.name
end
end
field :body
field :created_at
end

edit do
field :body
end
end

config.model Person do
list do
field :last_logged_in_at do
label "last login"
end
field :name
field :email
field :deactivated do
label "disabled"
end
field :email_verified
field :phone
field :admin
field :org
field :openid_identifier
sort_by :last_logged_in_at
end

edit do
field :name
field :email
field :deactivated
field :email_verified
field :phone
field :admin
field :org
# generally not appropriate for admin to edit openid since it is an assertion
end
end
end
@@ -0,0 +1,96 @@
# Sample localization file for English. Add more files in this directory for other locales.
# See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.

bg:
home:
name: "начало"
admin:
dashboard:
pagename: "Администрация"
name: "Табло"
model_name: "Име на модел"
last_used: "Последно използван"
records: "Записи"
modify: "Редактирай"
add_new: "Добави нов"
show: "Покажи"
ago: ""
history:
name: "История"
page_name: "История за %{name}"
no_activity: "Липса на активност"
credentials:
log_out: "Изход"
list:
edit_action: "Редактирай"
delete_action: "Изтрий"
select_action: "Select"
export_action: "Export current view"
export_selected: "Export selected"
add_new: "Добави"
search: "ТЪРСИ"
select: "Избор на %{name} за редакция"
show_all: "Покажи всички"
add_filter: "Add filter"
new:
basic_info: "Информация"
required: "Задължително"
optional: "Незадължително"
one_char: "символ"
many_chars: "символа"
chosen: "Избрано %{name}"
select_choice: "Избери и кликни"
chose_all: "Избери всички"
clear_all: "Изчисти всички"
up: "Up"
down: "Down"
save: "Запамети"
save_and_add_another: "Запамети и добави друг"
save_and_edit: "Запамети и редактирай"
cancel: "Откажи"
delete:
all_of_the_following_related_items_will_be_deleted: "? All of the following related items will be deleted:"
are_you_sure_you_want_to_delete_the_object: "Are you sure you want to delete the %{model_name}"
confirmation: "Да, сигурен съм"
delete_confirmation: "Delete confirmation"
export:
confirmation: "Export to %{name}"
select: "Select fields to export"
fields_from: "Fields from %{name}"
fields_from_associated: "Fields from associated %{name}"
display: "Display %{name}: %{type}"
options_for: "Options for %{name}"
empty_value_for_associated_objects: "<empty>"
csv:
header_for_root_methods: "%{name}" # 'model' is available
header_for_association_methods: "%{name} [%{association}]"
encoding_to: "Encode to"
encoding_to_help: "Choose output encoding. Leave empty to let current input encoding untouched: (%{name})"
skip_header: "No header"
skip_header_help: "Do not output a header (no fields description)"
default_col_sep: ","
col_sep: "Column separator"
col_sep_help: "Leave blank for default ('%{value}')" # value is default_col_sep
flash:
successful: "%{name} е успешно %{action}"
error: "%{name} се провали при %{action}"
noaction: "Не са предприети действия"
actions:
create: "създай"
created: "създаден"
update: "редактирай"
updated: "редактиран"
delete: "изтрий"
deleted: "изтрит"
export: "export"
exported: "exported"
breadcrumbs:
delete: "delete"
history: "history"
edit: "edit"
export: "export"
bulk_destroy: "delete"
new: "new"
model_history: "history"
list: "list"
dashboard: "dashboard"
@@ -0,0 +1,93 @@
da:
home:
name: "hjem"
admin:
dashboard:
pagename: "Administration"
name: "Oversigt"
model_name: "Modelnavn"
last_used: "Sidst brugt"
records: "Antal"
modify: "Rediger"
add_new: "Tilføj ny"
show: "Vis"
ago: "siden"
history:
name: "Historik"
page_name: "Historik for %{name}"
no_activity: "Ingen aktivitet"
credentials:
log_out: "Log ud"
list:
edit_action: "Rediger"
delete_action: "Slet"
select_action: "Select"
export_action: "Export current view"
export_selected: "Export selected"
add_new: "Tilføj ny"
search: "SØG"
select: "Vælg %{name} der skal redigeres"
show_all: "Vis alle"
add_filter: "Add filter"
new:
basic_info: "Grundlæggende informationer"
required: "Påkrævet"
optional: "Ikke påkrævet"
one_char: "tegn"
many_chars: "eller færre tegn"
chosen: "Valgt %{name}"
select_choice: "Vælg og klik"
chose_all: "Vælg alle"
clear_all: "Fravælg alle"
up: "Up"
down: "Down"
save: "Gem"
save_and_add_another: "Gem og tilføj ny"
save_and_edit: "Gem og rediger"
cancel: "Fortryd"
delete:
all_of_the_following_related_items_will_be_deleted: "? All of the following related items will be deleted:"
are_you_sure_you_want_to_delete_the_object: "Are you sure you want to delete the %{model_name}"
confirmation: "Ja, jeg er sikker"
delete_confirmation: "Delete confirmation"
export:
confirmation: "Export to %{name}"
select: "Select fields to export"
fields_from: "Fields from %{name}"
fields_from_associated: "Fields from associated %{name}"
display: "Display %{name}: %{type}"
options_for: "Options for %{name}"
empty_value_for_associated_objects: "<empty>"
csv:
header_for_root_methods: "%{name}" # 'model' is available
header_for_association_methods: "%{name} [%{association}]"
encoding_to: "Encode to"
encoding_to_help: "Choose output encoding. Leave empty to let current input encoding untouched: (%{name})"
skip_header: "No header"
skip_header_help: "Do not output a header (no fields description)"
default_col_sep: ","
col_sep: "Column separator"
col_sep_help: "Leave blank for default ('%{value}')" # value is default_col_sep
flash:
successful: "%{name} er nu %{action}"
error: "%{name} er nu ikke %{action} pga. en fejl"
noaction: "Der er ikke foretaget noget"
actions:
create: "ny"
created: "tilføjet"
update: "opdater"
updated: "opdateret"
delete: "slet"
deleted: "slettet"
export: "export"
exported: "exported"
breadcrumbs:
delete: "delete"
history: "history"
edit: "edit"
export: "export"
bulk_destroy: "delete"
new: "new"
model_history: "history"
list: "list"
dashboard: "dashboard"
@@ -0,0 +1,97 @@
# Sample localization file for English. Add more files in this directory for other locales.
# See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.

de:
home:
name: "Home"
admin:
dashboard:
pagename: "Administration"
name: "Dashboard"
model_name: "Modell Name"
last_used: "Zuletzt verwendet"
records: "Einträge"
modify: "Ändern"
add_new: "Neu hinzufügen"
show: "Anzeigen"
ago: "vor"
history:
name: "Verlauf"
page_name: "Verlauf von %{name}"
no_activity: "Keine Aktivität"
credentials:
log_out: "abmelden"
list:
edit_action: "Bearbeiten"
delete_action: "Löschen"
select_action: "Auswählen"
export_action: "Export current view"
export_selected: "Export selected"
delete_selected: "Auswahl löschen"
add_new: "Neu hinzufügen"
search: "Suchen"
select: "Auswählen %{name} zum Bearbeiten"
show_all: "Alle anzeigen"
add_filter: "Add filter"
new:
basic_info: "Grundlegende Informationen"
required: "Erforderlich"
optional: "Optional"
one_char: "Zeichen"
many_chars: "Zeichen oder weniger"
chosen: "Ausgewählt %{name}"
select_choice: "Treffen Sie Ihre Auswahl und klicken Sie"
chose_all: "Alle auswählen"
clear_all: "Alle zurücksetzen"
up: "Up"
down: "Down"
save: "Speichern"
save_and_add_another: "Speichern und einen weiteren hinzufügen"
save_and_edit: "Speichern und bearbeiten"
cancel: "Abbrechen"
delete:
all_of_the_following_related_items_will_be_deleted: "? All of the following related items will be deleted:"
are_you_sure_you_want_to_delete_the_object: "Are you sure you want to delete the %{model_name}"
confirmation: "Ja, ich bin sicher"
delete_confirmation: "Delete confirmation"
export:
confirmation: "Export to %{name}"
select: "Select fields to export"
fields_from: "Fields from %{name}"
fields_from_associated: "Fields from associated %{name}"
display: "Display %{name}: %{type}"
options_for: "Options for %{name}"
empty_value_for_associated_objects: "<empty>"
csv:
header_for_root_methods: "%{name}" # 'model' is available
header_for_association_methods: "%{name} [%{association}]"
encoding_to: "Encode to"
encoding_to_help: "Choose output encoding. Leave empty to let current input encoding untouched: (%{name})"
skip_header: "No header"
skip_header_help: "Do not output a header (no fields description)"
default_col_sep: ","
col_sep: "Column separator"
col_sep_help: "Leave blank for default ('%{value}')" # value is default_col_sep
flash:
successful: "%{name} wurde erfolgreich %{action}"
error: "%{name} wurde nicht %{action}"
noaction: "Keine Aktionen durchgeführt"
actions:
create: "erstellen"
created: "erstellt"
update: "aktualisieren"
updated: "aktualisiert"
delete: "löschen"
deleted: "gelöscht"
export: "export"
exported: "exported"
breadcrumbs:
delete: "delete"
history: "history"
edit: "edit"
export: "export"
bulk_destroy: "delete"
new: "new"
model_history: "history"
list: "list"
dashboard: "dashboard"
@@ -0,0 +1,97 @@
# Sample localization file for English. Add more files in this directory for other locales.
# See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.

en:
home:
name: "home"
admin:
dashboard:
pagename: "Site administration"
name: "Dashboard"
model_name: "Model name"
last_used: "Last used"
records: "Records"
modify: "Modify"
add_new: "Add new"
show: "Show"
ago: "ago"
history:
name: "History"
page_name: "History for %{name}"
no_activity: "No Activity"
credentials:
log_out: "Log out"
list:
edit_action: "Edit"
delete_action: "Delete"
select_action: "Select"
export_action: "Export current view"
export_selected: "Export selected"
delete_selected: "Delete selected"
add_new: "Add new"
search: "Search"
select: "Select %{name} to edit"
show_all: "Show all"
add_filter: "Add filter"
new:
basic_info: "Basic info"
required: "Required"
optional: "Optional"
one_char: "character"
many_chars: "characters or fewer"
chosen: "Chosen %{name}"
select_choice: "Select your choice(s) and click"
chose_all: "Choose all"
clear_all: "Clear all"
up: "Up"
down: "Down"
save: "Save"
save_and_add_another: "Save and add another"
save_and_edit: "Save and edit"
cancel: "Cancel"
delete:
all_of_the_following_related_items_will_be_deleted: "? All of the following related items will be deleted:"
are_you_sure_you_want_to_delete_the_object: "Are you sure you want to delete the %{model_name}"
confirmation: "Yes, I'm sure"
delete_confirmation: "Delete confirmation"
export:
confirmation: "Export to %{name}"
select: "Select fields to export"
fields_from: "Fields from %{name}"
fields_from_associated: "Fields from associated %{name}"
display: "Display %{name}: %{type}"
options_for: "Options for %{name}"
empty_value_for_associated_objects: "<empty>"
csv:
header_for_root_methods: "%{name}" # 'model' is available
header_for_association_methods: "%{name} [%{association}]"
encoding_to: "Encode to"
encoding_to_help: "Choose output encoding. Leave empty to let current input encoding untouched: (%{name})"
skip_header: "No header"
skip_header_help: "Do not output a header (no fields description)"
default_col_sep: ","
col_sep: "Column separator"
col_sep_help: "Leave blank for default ('%{value}')" # value is default_col_sep
flash:
successful: "%{name} successfully %{action}"
error: "%{name} failed to be %{action}"
noaction: "No actions were taken"
actions:
create: "create"
created: "created"
update: "update"
updated: "updated"
delete: "delete"
deleted: "deleted"
export: "export"
exported: "exported"
breadcrumbs:
delete: "delete"
history: "history"
edit: "edit"
export: "export"
bulk_destroy: "delete"
new: "new"
model_history: "history"
list: "list"
dashboard: "dashboard"
@@ -0,0 +1,94 @@
es:
home:
name: "inicio"
admin:
dashboard:
pagename: "Administración del sitio"
name: "Panel"
model_name: "Nombre del modelo"
last_used: "Último uso"
records: "Registros"
modify: "Modificar"
add_new: "Agregar"
show: "Mostrar"
ago: "atrás"
history:
name: "Histórico"
page_name: "Histórico de %{name}"
no_activity: "No hubo actividad"
credentials:
log_out: "Cerrar sessión"
list:
edit_action: "Editar"
delete_action: "Eliminar"
select_action: "Seleccionar"
export_action: "Exportar vista actual"
export_selected: "Exportar seleccionado"
delete_selected: "Borrar seleccionado"
add_new: "Agregar"
search: "BUSCAR"
select: "Seleccione %{name} para editar"
show_all: "Mostrar todos"
add_filter: "Add filter"
new:
basic_info: "Información Básica"
required: "Obligatorio"
optional: "Opcional"
one_char: "carácter"
many_chars: "caracteres o menos"
chosen: "Seleccionado %{name}"
select_choice: "Seleccione su(s) elección(es) y haga clic"
chose_all: "Elegir todos"
clear_all: "Limpiar todos"
up: "Subir"
down: "Bajar"
save: "Guardar"
save_and_add_another: "Guardar y agregar otro"
save_and_edit: "Guardar y editar"
cancel: "Cancelar"
delete:
all_of_the_following_related_items_will_be_deleted: "? All of the following related items will be deleted:"
are_you_sure_you_want_to_delete_the_object: "Are you sure you want to delete the %{model_name}"
confirmation: "Sí, estoy seguro"
delete_confirmation: "Delete confirmation"
export:
confirmation: "Exportar a %{name}"
select: "Selecciona los campos a exportar"
fields_from: "Campos de %{name}"
fields_from_associated: "Campos asociados de %{name}"
display: "Mostrar %{name}: %{type}"
options_for: "Opciones de %{name}"
empty_value_for_associated_objects: "<vacio>"
csv:
header_for_root_methods: "%{name}" # 'model' esta disponible
header_for_association_methods: "%{name} [%{association}]"
encoding_to: "Codificado a"
encoding_to_help: "Seleccionar la codificación de salida. Dejar vacío para dejar el formato de salida actual sin cambios: (%{name})"
skip_header: "Sin encabezado"
skip_header_help: "No mostrar el encabezado (Sin campos de descripción)"
default_col_sep: ","
col_sep: "Separador de Columna"
col_sep_help: "Dejar vacío por defecto ('%{value}')" # el valor es default_col_sep
flash:
successful: "%{name} fue %{action} correctamente"
error: "%{name} no se pudo %{action} correctamente"
noaction: "No se realizó ninguna acción"
actions:
create: "crear"
created: "creado"
update: "actualizar"
updated: "actualizado"
delete: "borrar"
deleted: "borrado"
export: "exportar"
exported: "exportado"
breadcrumbs:
delete: "delete"
history: "history"
edit: "edit"
export: "export"
bulk_destroy: "delete"
new: "new"
model_history: "history"
list: "list"
dashboard: "dashboard"
@@ -0,0 +1,95 @@

fi:
home:
name: "koti"
admin:
dashboard:
pagename: "Ylläpito"
name: "Hallintapaneeli"
model_name: "Tietuetyyppi"
last_used: "Muokattu viimeksi"
records: "Tietueet"
modify: "Muokkaa"
add_new: "Lisää uusi"
show: "Näytä"
ago: "sitten"
history:
name: "Historia"
page_name: "Historia kohteelle %{name}"
no_activity: "Ei tapahtumia"
credentials:
log_out: "Kirjaudu ulos"
list:
edit_action: "Muokkaa"
delete_action: "Poista"
select_action: "Valitse"
delete_selected: "Poista valitut"
export_action: "Vie nykyinen näkymä"
export_selected: "Vie valitut"
add_new: "Lisää uusi"
search: "Haku"
select: "Valitse muokattava %{name}"
show_all: "Näytä kaikki"
add_filter: "Lisää suodatin"
new:
basic_info: "Perustiedot"
required: "Vaadittu"
optional: "Vapaaehtoinen"
one_char: "merkki"
many_chars: "merkkiä tai vähemmän"
chosen: "Valittu %{name}"
select_choice: "Tee valinnat ja klikkaa"
chose_all: "Valitse kaikki"
clear_all: "Tyhjennä"
up: "Ylös"
down: "Alas"
save: "Tallenna"
save_and_add_another: "Tallenna ja lisää uusi"
save_and_edit: "Tallenna ja muokkaa"
cancel: "Peruuta"
delete:
all_of_the_following_related_items_will_be_deleted: "? All of the following related items will be deleted:"
are_you_sure_you_want_to_delete_the_object: "Are you sure you want to delete the %{model_name}"
confirmation: "Kyllä, olen varma"
delete_confirmation: "Delete confirmation"
export:
confirmation: "Vie %{name} muodossa"
select: "Valitse vietävät kentät"
fields_from: "Kentät %{name} tietueista"
fields_from_associated: "Kentät liittyvistä %{name} tietueista"
display: "Sisällytä %{name}: %{type}"
options_for: "Valinnat %{name} muodolle"
empty_value_for_associated_objects: "<tyhjä>"
csv:
header_for_root_methods: "%{name}" # 'model' is available
header_for_association_methods: "%{name} [%{association}]"
encoding_to: "Koodaus"
encoding_to_help: "Valitse tuotettavan tiedoston merkistökoodaus. Jätä tyhjäksi jos haluat käyttää nykyistä merkistökoodausta: (%{name})"
skip_header: "Ei otsakeriviä"
skip_header_help: "Älä tuota ensimmäiselle riville kenttien nimiä"
default_col_sep: ","
col_sep: "Sarake-erotin"
col_sep_help: "Jättämällä valinnan tyhjäksi käytetään oletuserotinta ('%{value}')" # value is default_col_sep
flash:
successful: "%{name} %{action} onnistuneesti"
error: "Toimenpide epäonnistui eikä %{name} tyyppistä tietuetta %{action}"
noaction: "Mitään ei tehty"
actions:
create: "luo"
created: "luotu"
update: "päivitä"
updated: "päivitetty"
delete: "poista"
deleted: "poistettu"
export: "vie"
exported: "viety"
breadcrumbs:
delete: "delete"
history: "history"
edit: "edit"
export: "export"
bulk_destroy: "delete"
new: "new"
model_history: "history"
list: "list"
dashboard: "dashboard"
@@ -0,0 +1,94 @@
fr:
home:
name: "/"
admin:
dashboard:
pagename: "Administration"
name: "Tableau de bord"
model_name: "Nom du modèle"
last_used: "Utilisé"
records: "Enregistrements"
modify: "Modifier"
add_new: "Nouv."
show: "Voir"
ago: ""
history:
name: "Historique"
page_name: "Historique de %{name}"
credentials:
log_out: "Déconnectez-vous"
list:
edit_action: "Éditer"
delete_action: "Supprimer"
add_new: "Nouveau"
select_action: "Sélectionner"
export_action: "Exporter la vue actuelle"
export_selected: "Exporter les entrées cochées"
delete_selected: "Supprimer les entrées cochées"
search: "Recherche"
select: "Sélectionner un(e) %{name} pour modification"
show_all: "Afficher tout"
add_filter: "Add filter"
new:
basic_info: "INFO DE BASE"
required: "Obligatoire"
optional: "Facultatif"
one_char: "caractère"
many_chars: "caractères ou moins"
chosen: "%{name} choisi"
select_choice: "Sélectionnez"
chose_all: "Choisissez tout"
clear_all: "Effacer tout"
up: "Monter"
down: "Descendre"
save: "Enregistrer"
save_and_add_another: "Enregistrer et créer un(e) autre"
save_and_edit: "Enregistrer et re-modifier"
cancel: "Annuler"
add_new: "Ajouter un(e) %{name}"
delete:
all_of_the_following_related_items_will_be_deleted: " ? Tous les éléments suivants seront supprimés : "
are_you_sure_you_want_to_delete_the_object: "Êtes-vous sûr de vouloir supprimer les éléments suivants : %{model_name}"
confirmation: "Oui, je suis sûr(e)"
delete_confirmation: "Delete confirmation"
export:
confirmation: "Exporter en %{name}"
select: "Sélectionner les champs à exporter"
fields_from: "Champs pour %{name}"
fields_from_associated: "Champs pour l'association %{name}"
display: "Afficher %{name} : %{type}"
options_for: "Options pour %{name}"
empty_value_for_associated_objects: "<vide>"
csv:
header_for_root_methods: "%{name}" # 'model' is available
header_for_association_methods: "%{name} [%{association}]"
encoding_to: "Encoder en..."
encoding_to_help: "Choisir l'encodage de sortie. Laisser vide pour garder l'encodage d'entrée : (%{name})"
skip_header: "Pas d'en-tête"
skip_header_help: "Ne pas afficher d'en-tête (pas de champs de description)"
default_col_sep: ";"
col_sep: "Séparateur de colonnes"
col_sep_help: "Laisser vide pour utiliser la valeur par défaut recommandée pour votre système ('%{value}')"
flash:
successful: "%{name} a été %{action} avec succès"
error: "%{name} n'a pas pu être %{action}"
noaction: "Aucune action !"
actions:
create: "création"
created: "créé(e)"
update: "modification"
updated: "modifié(e)"
delete: "suppression"
deleted: "supprimé(e)"
export: "export"
exported: "exporté(e)"
breadcrumbs:
delete: "delete"
history: "history"
edit: "edit"
export: "export"
bulk_destroy: "delete"
new: "new"
model_history: "history"
list: "list"
dashboard: "dashboard"
@@ -0,0 +1,75 @@
# Sample localization file for English. Add more files in this directory for other locales.
# See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.

hr:
home:
name: "naslovna"
admin:
dashboard:
pagename: "Administracija stranice"
name: "Upravljačka ploča"
model_name: "Naziv modela"
last_used: "Zadni put korišteno"
records: "Zapisa"
modify: "Uredi"
add_new: "Dodaj novi"
show: "Prikaz"
ago: "ago"
history:
name: "Povijest"
page_name: "Povijest za %{name}"
no_activity: "Nema aktivnosti"
credentials:
log_out: "Odjava"
list:
edit_action: "Uredi"
delete_action: "Obriši"
select_action: "Izaberi"
delete_selected: "Obriši odabrano"
add_new: "Dodaj novi"
search: "Traži"
select: "Izaberi %{name} za uređivanje"
show_all: "Prikaži sve"
add_filter: "Add filter"
new:
basic_info: "Osnovni podaci"
required: "Obavezno"
optional: "Opcionalno"
one_char: "znak"
many_chars: "znakova ili manje"
chosen: "Odabrano %{name}"
select_choice: "Odaberi sve željeno i klikni"
chose_all: "Odaberi sve"
clear_all: "Očisti sve"
up: "Gore"
down: "Dolje"
save: "Spremi"
save_and_add_another: "Spremi i dodaj novi"
save_and_edit: "Spremi i uredi"
cancel: "Odustani"
delete:
all_of_the_following_related_items_will_be_deleted: "? All of the following related items will be deleted:"
are_you_sure_you_want_to_delete_the_object: "Are you sure you want to delete the %{model_name}"
confirmation: "Da, siguran sam"
delete_confirmation: "Delete confirmation"
flash:
successful: "%{name} je uspješno %{action}"
error: "%{name} nije uspješno %{action}"
noaction: "Nijedna radnja se nije dogodila"
actions:
create: "kreiraj"
created: "kreirano"
update: "uredi"
updated: "uređeno"
delete: "obriši"
deleted: "obrisano"
breadcrumbs:
delete: "delete"
history: "history"
edit: "edit"
export: "export"
bulk_destroy: "delete"
new: "new"
model_history: "history"
list: "list"
dashboard: "dashboard"
@@ -0,0 +1,96 @@
# Lithuanian

lt:
home:
name: "Pradžia"
admin:
dashboard:
pagename: "Nustatymai"
name: "Nustatymų pasirinkimai"
model_name: "Modelio pavadinimas"
last_used: "Paskutinį kartą naudotas"
records: "Įrašai"
modify: "Keisti"
add_new: "Pridėti"
show: "Rodyti"
ago: "prieš"
history:
name: "Archyvai"
page_name: "%{name} pakeitimų istorija"
no_activity: "Be pasikeitimų"
credentials:
log_out: "Atsijungti"
list:
edit_action: "Tvarkyti"
delete_action: "Pašalinti"
select_action: "Pasirinkti"
delete_selected: "Pašalinti pasirinktus"
export_action: "Export current view"
export_selected: "Export selected"
add_new: "Pridėti"
search: "IEŠKOTI"
select: "Pasirinkti %{name} redagavimui"
show_all: "Rodyti visus įrašus"
add_filter: "Add filter"
new:
basic_info: "Pagrindinė informacija"
required: "Privalomas laukas"
optional: "Nebūtinas"
one_char: "simbolis"
many_chars: "simbolių arba mažiau"
chosen: "Pasirinktas %{name}"
select_choice: "Pasirinkti reikalingus ir patvirtinti"
chose_all: "Pasirinkti visus"
clear_all: "Išvalyti"
up: "Up"
down: "Down"
save: "Išsaugoti"
save_and_add_another: "Išsaugoti ir pridėti naują"
save_and_edit: "Išsaugoti ir tęsti redagavimą"
cancel: "Atšaukti"
delete:
all_of_the_following_related_items_will_be_deleted: "? All of the following related items will be deleted:"
are_you_sure_you_want_to_delete_the_object: "Are you sure you want to delete the %{model_name}"
confirmation: "Taip, aš sutinku"
delete_confirmation: "Delete confirmation"
export:
confirmation: "Export to %{name}"
select: "Select fields to export"
fields_from: "Fields from %{name}"
fields_from_associated: "Fields from associated %{name}"
display: "Display %{name}: %{type}"
options_for: "Options for %{name}"
empty_value_for_associated_objects: "<empty>"
csv:
header_for_root_methods: "%{name}" # 'model' is available
header_for_association_methods: "%{name} [%{association}]"
encoding_to: "Encode to"
encoding_to_help: "Choose output encoding. Leave empty to let current input encoding untouched: (%{name})"
skip_header: "No header"
skip_header_help: "Do not output a header (no fields description)"
default_col_sep: ","
col_sep: "Column separator"
col_sep_help: "Leave blank for default ('%{value}')" # value is default_col_sep
flash:
successful: "%{name} buvo sėkmingai %{action}"
error: "Nepavyko %{action} %{name}"
noaction: "Pakeitimai nebuvo įvykdyti"
actions:
create: "sukurti"
created: "sukurtas"
update: "pakeisti"
updated: "pakeistas"
delete: "pašalinti"
deleted: "pašalintas"
export: "export"
exported: "exported"
breadcrumbs:
delete: "delete"
history: "history"
edit: "edit"
export: "export"
bulk_destroy: "delete"
new: "new"
model_history: "history"
list: "list"
dashboard: "dashboard"
@@ -0,0 +1,94 @@
lv:
home:
name: "sākums"
admin:
dashboard:
pagename: "Saita administrēšana"
name: "Vadības panelis"
model_name: "Modeļa nosaukums"
last_used: "Pēdējo reizi izmantots"
records: "Ieraksti"
modify: "Mainīt"
add_new: "Pievienot jaunu"
show: "Parādīt"
ago: "pirms"
history:
name: "Vēsture"
page_name: "%{name} vēsture"
no_activity: "Nav Aktivitātes"
credentials:
log_out: "Iziet"
list:
edit_action: "Labot"
delete_action: "Dzēst"
select_action: "Izvēlies"
delete_selected: "Dzēst izvēlētos"
export_action: "Export current view"
export_selected: "Export selected"
add_new: "Pievienot jaunu"
search: "Meklēt"
select: "Izvēlieties %{name}, lai labotu"
show_all: "Parādīt visu"
add_filter: "Add filter"
new:
basic_info: "Pamatinformācija"
required: "Nepieciešams"
optional: "Pēc izvēles"
one_char: "simbols"
many_chars: "simboli vai mazāk"
chosen: "Izvēlēts %{name}"
select_choice: "Izvēlieties nepieciešamo un spiediet"
chose_all: "Izvēlēties visus"
clear_all: "Notīrīt"
up: "Up"
down: "Down"
save: "Saglabāt"
save_and_add_another: "Saglabāt un pievienot jaunu"
save_and_edit: "Saglabāt un labot"
cancel: "Atcelt"
delete:
all_of_the_following_related_items_will_be_deleted: "? All of the following related items will be deleted:"
are_you_sure_you_want_to_delete_the_object: "Are you sure you want to delete the %{model_name}"
confirmation: "Jā, esmu pārliecināts"
delete_confirmation: "Delete confirmation"
export:
confirmation: "Export to %{name}"
select: "Select fields to export"
fields_from: "Fields from %{name}"
fields_from_associated: "Fields from associated %{name}"
display: "Display %{name}: %{type}"
options_for: "Options for %{name}"
empty_value_for_associated_objects: "<empty>"
csv:
header_for_root_methods: "%{name}" # 'model' is available
header_for_association_methods: "%{name} [%{association}]"
encoding_to: "Encode to"
encoding_to_help: "Choose output encoding. Leave empty to let current input encoding untouched: (%{name})"
skip_header: "No header"
skip_header_help: "Do not output a header (no fields description)"
default_col_sep: ","
col_sep: "Column separator"
col_sep_help: "Leave blank for default ('%{value}')" # value is default_col_sep
flash:
successful: "%{name} veiksmīgi %{action}"
error: "%{name} netika %{action}"
noaction: "Netika veiktas darbības"
actions:
create: "izveidot"
created: "izveidots"
update: "atjaunot"
updated: "atjaunots"
delete: "dzēst"
deleted: "dzēsts"
export: "export"
exported: "exported"
breadcrumbs:
delete: "delete"
history: "history"
edit: "edit"
export: "export"
bulk_destroy: "delete"
new: "new"
model_history: "history"
list: "list"
dashboard: "dashboard"
@@ -0,0 +1,97 @@
# Sample localization file for English. Add more files in this directory for other locales.
# See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.

mn:
home:
name: "нүүр"
admin:
dashboard:
pagename: "Сайтын удирдлага"
name: "Хянах хэсэг"
model_name: "Моделийн нэр"
last_used: "Сүүлд ашигласан"
records: "Бичлэгүүд"
modify: "Засах"
add_new: "Шинээр нэмэх"
show: "Харах"
ago: "ago"
history:
name: "Түүх"
page_name: "%{name}-н түүх"
no_activity: "No Activity"
credentials:
log_out: "Гарах"
list:
edit_action: "Засах"
delete_action: "Устгах"
select_action: "Сонгох"
delete_selected: "Сонгосны устгах"
export_action: "Export current view"
export_selected: "Export selected"
add_new: "Шинээр нэмэх"
search_btn: "ХАЙХ"
select: "%{name}-г сонгож засах"
show_all: "Бүгдийг харуул"
add_filter: "Add filter"
new:
basic_info: "Үндсэн мэдээлэл"
required: "Шаардлагатай"
optional: "Шаардлагатай бус"
one_char: "тэмдэг"
many_chars: " тэмдэгтүүд"
chosen: "Chosen %{name}"
select_choice: "Сонголтоо сонгоно уу"
chose_all: "Бүгдийг сонгох"
clear_all: "Бүгдийг цэвэрлэ"
up: "Up"
down: "Down"
save: "Хадгал"
save_and_add_another: "Хадгалаад шинээр"
save_and_edit: "Хадгалаад засах"
cancel: "Болих"
delete:
all_of_the_following_related_items_will_be_deleted: "? All of the following related items will be deleted:"
are_you_sure_you_want_to_delete_the_object: "Are you sure you want to delete the %{model_name}"
confirmation: "Итгэлтэй байна уу"
delete_confirmation: "Delete confirmation"
export:
confirmation: "Export to %{name}"
select: "Select fields to export"
fields_from: "Fields from %{name}"
fields_from_associated: "Fields from associated %{name}"
display: "Display %{name}: %{type}"
options_for: "Options for %{name}"
empty_value_for_associated_objects: "<empty>"
csv:
header_for_root_methods: "%{name}" # 'model' is available
header_for_association_methods: "%{name} [%{association}]"
encoding_to: "Encode to"
encoding_to_help: "Choose output encoding. Leave empty to let current input encoding untouched: (%{name})"
skip_header: "No header"
skip_header_help: "Do not output a header (no fields description)"
default_col_sep: ","
col_sep: "Column separator"
col_sep_help: "Leave blank for default ('%{value}')" # value is default_col_sep
flash:
successful: "%{name} was successfully %{action}"
error: "%{name} failed to be %{action}"
noaction: "No actions were taken"
actions:
create: "үүсгэх"
created: "үүссэн"
update: "шинэчлэх"
updated: "шинэчилсэн"
delete: "устгах"
deleted: "устгасан"
export: "export"
exported: "exported"
breadcrumbs:
delete: "delete"
history: "history"
edit: "edit"
export: "export"
bulk_destroy: "delete"
new: "new"
model_history: "history"
list: "list"
dashboard: "dashboard"
@@ -0,0 +1,85 @@
# Norwegian, norsk bokmål (for Rails Admin)
# Contributors:
# - Theodor Tonum - www.yenka.no

nb:
home:
name: "hjem"
admin:
dashboard:
pagename: "Sideadministrasjon"
name: "Kontrollpanel"
model_name: "Modellnavn"
last_used: "Sist brukt"
records: "Oppføringer"
modify: "Redigere"
add_new: "Legge til ny"
show: "Vise"
ago: "siden"
history:
name: "Historikk"
page_name: "Historikk for %{name}"
no_activity: "Ingen aktivitet"
credentials:
log_out: "Logg ut"
list:
edit_action: "Rediger"
delete_action: "Slett"
select_action: "Velg"
export_action: "Eksportér denne visningen"
export_selected: "Eksportér valgte"
delete_selected: "Slett valgte"
add_new: "Legg til ny"
search: "Søk"
select: "Velg %{name} for redigering"
show_all: "Vis alle"
new:
basic_info: "Grunnleggende info"
required: "Påkrevd"
optional: "Valgfritt"
one_char: "tegn."
many_chars: "eller færre tegn."
chosen: "Markér %{name}"
select_choice: "Markér dine valg og klikk"
chose_all: "Markér alle"
clear_all: "Fjern alle"
up: "Opp"
down: "Ned"
save: "Lagre"
save_and_add_another: "Lagre og legg til ny"
save_and_edit: "Lagre og fortsett redigering"
cancel: "Avbryt"
delete:
flash_confirmation: "%{name} er nå slettet"
confirmation: "Ja, jeg er sikker"
export:
confirmation: "Eksportér til %{name}"
select: "Velg felter for eksport"
fields_from: "Felt fra %{name}"
fields_from_associated: "Felt fra assossiert %{name}"
display: "Vis %{name}: %{type}"
options_for: "Valg for %{name}"
empty_value_for_associated_objects: "<blank>"
csv:
header_for_root_methods: "%{name}" # 'model' is available
header_for_association_methods: "%{name} [%{association}]"
encoding_to: "Tegnkoding"
encoding_to_help: "Velg tegnkoding. La stå blank for å standard (%{name})"
skip_header: "Ingen topptekst"
skip_header_help: "Ikke eksporter topptekst (ingen feltbeskrivelse)"
default_col_sep: ","
col_sep: "Kolonneseparator"
col_sep_help: "La stå blank for å standard ('%{value}')" # value is default_col_sep
flash:
successful: "%{name} er nå %{action}"
error: "%{name} ble ikke %{action}"
noaction: "Ingen handlinger ble utført"
actions:
create: "opprette"
created: "opprettet"
update: "oppdatere"
updated: "oppdatert"
delete: "slette"
deleted: "slettet"
export: "eksportere"
exported: "eksportert"
@@ -0,0 +1,129 @@
# Localization file for Dutch.
# Translated from the English locale by Luuk Hendriks (DRiKE on github), used the date and datetime
# from https://github.com/svenfuchs/rails-i18n/blob/master/rails/locale/nl.yml
# credits for those sections to Ariejan de Vroom and Floris Huetink

nl:
home:
name: "home"
admin:
dashboard:
pagename: "Site-administratie"
name: "Dashboard"
model_name: "Model"
last_used: "Laatst gebruikt"
records: "Rijen"
modify: "Aanpassen"
add_new: "Nieuw toevoegen"
show: "Tonen"
ago: "geleden"
history:
name: "Geschiedenis"
page_name: "Geschiedenis van %{name}"
no_activity: "Geen activiteit"
credentials:
log_out: "Uitloggen"
list:
edit_action: "Aanpassen"
delete_action: "Verwijderen"
select_action: "Selecteren"
delete_selected: "Verwijder selectie"
add_new: "Nieuw toevoegen"
search: "Zoeken"
select: "Selecteer %{name} om aan te passen"
show_all: "Toon allen"
add_filter: "Add filter"
new:
basic_info: "Basisinfo"
required: "Vereist"
optional: "Optioneel"
one_char: "karakter"
many_chars: "of minder karakters"
chosen: "Chosen %{name}"
select_choice: "Selecteer keuzes en klik"
chose_all: "Kies allen"
clear_all: "Verwijder allen"
up: "Omhoog"
down: "Omlaag"
save: "Opslaan"
save_and_add_another: "Opslaan en nieuwe toevoegen"
save_and_edit: "Opslaan en aanpassen"
cancel: "Annuleren"
delete:
all_of_the_following_related_items_will_be_deleted: "? All of the following related items will be deleted:"
are_you_sure_you_want_to_delete_the_object: "Are you sure you want to delete the %{model_name}"
confirmation: "Ja, ik weet het zeker"
delete_confirmation: "Delete confirmation"
flash:
successful: "%{name} succesvol %{action}"
error: "%{name} onsuccesvol %{action}"
noaction: "Geen acties uitgevoerd"
actions:
create: "aanmaken"
created: "aangemaakt"
update: "updaten"
updated: "geüpdate"
delete: "verwijderen"
deleted: "verwijderd"
breadcrumbs:
delete: "delete"
history: "history"
edit: "edit"
export: "export"
bulk_destroy: "delete"
new: "new"
model_history: "history"
list: "list"
dashboard: "dashboard"
datetime:
distance_in_words:
half_a_minute: "een halve minuut"
less_than_x_seconds:
one: "minder dan \xC3\xA9\xC3\xA9n seconde"
other: "minder dan %{count} seconden"
x_seconds:
one: "1 seconde"
other: "%{count} seconden"
less_than_x_minutes:
one: "minder dan \xC3\xA9\xC3\xA9n minuut"
other: "minder dan %{count} minuten"
x_minutes:
one: "1 minuut"
other: "%{count} minuten"
about_x_hours:
one: "ongeveer \xC3\xA9\xC3\xA9n uur"
other: "ongeveer %{count} uur"
x_days:
one: "1 dag"
other: "%{count} dagen"
about_x_months:
one: "ongeveer \xC3\xA9\xC3\xA9n maand"
other: "ongeveer %{count} maanden"
x_months:
one: "1 maand"
other: "%{count} maanden"
about_x_years:
one: "ongeveer \xC3\xA9\xC3\xA9n jaar"
other: "ongeveer %{count} jaar"
over_x_years:
one: "meer dan \xC3\xA9\xC3\xA9n jaar"
other: "meer dan %{count} jaar"
almost_x_years:
one: "bijna \xC3\xA9\xC3\xA9n jaar"
other: "bijna %{count} jaar"
date:
formats:
default: "%d/%m/%Y"
short: "%e %b"
long: "%e %B %Y"
only_day: "%e"

day_names: [zondag, maandag, dinsdag, woensdag, donderdag, vrijdag, zaterdag]
abbr_day_names: [zon, maa, din, woe, don, vri, zat]

month_names: [~, januari, februari, maart, april, mei, juni, juli, augustus, september, oktober, november, december]
abbr_month_names: [~, jan, feb, mar, apr, mei, jun, jul, aug, sep, okt, nov, dec]
order:
- :day
- :month
- :year
@@ -0,0 +1,97 @@
# Sample localization file for English. Add more files in this directory for other locales.
# See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.

pl:
home:
name: "start"
admin:
dashboard:
pagename: "Panel administracyjny"
name: "Pulpit"
model_name: "Model"
last_used: "Data zmian"
records: "Liczba rekordów"
modify: "Akcja"
add_new: "Dodaj nowy"
show: "pokaż"
ago: "temu"
history:
name: "Historia"
page_name: "Historia zmian modelu %{name}"
no_activity: "Brak zmian"
credentials:
log_out: "Wyloguj się"
list:
edit_action: "Edytuj"
delete_action: "Usuń"
select_action: "Select"
export_action: "Export current view"
export_selected: "Export selected"
delete_selected: "Delete selected"
add_new: "Dodaj"
search: "SZUKAJ"
select: "Wybierz %{name} do edycji"
show_all: "Wybierz wszystkie"
add_filter: "Add filter"
new:
basic_info: "Atrybuty"
required: "Wymagane"
optional: "Opcjonalnie"
one_char: "znak"
many_chars: "znaków lub mniej"
chosen: "Wybrane %{name}"
select_choice: "Wybierz kilka i kliknij"
chose_all: "Wybierz wszystkie"
clear_all: "Wyczyść"
up: "Up"
down: "Down"
save: "Zapisz"
save_and_add_another: "Zapisz i dodaj kolejny"
save_and_edit: "Zapisz i wróć do edycji"
cancel: "Anuluj"
delete:
all_of_the_following_related_items_will_be_deleted: "? All of the following related items will be deleted:"
are_you_sure_you_want_to_delete_the_object: "Are you sure you want to delete the %{model_name}"
confirmation: "Tak, jestem pewien."
delete_confirmation: "Delete confirmation"
export:
confirmation: "Export to %{name}"
select: "Select fields to export"
fields_from: "Fields from %{name}"
fields_from_associated: "Fields from associated %{name}"
display: "Display %{name}: %{type}"
options_for: "Options for %{name}"
empty_value_for_associated_objects: "<empty>"
csv:
header_for_root_methods: "%{name}" # 'model' is available
header_for_association_methods: "%{name} [%{association}]"
encoding_to: "Encode to"
encoding_to_help: "Choose output encoding. Leave empty to let current input encoding untouched: (%{name})"
skip_header: "No header"
skip_header_help: "Do not output a header (no fields description)"
default_col_sep: ","
col_sep: "Column separator"
col_sep_help: "Leave blank for default ('%{value}')" # value is default_col_sep
flash:
successful: "%{name} został %{action}"
error: "%{name} nie został %{action}"
noaction: "Nie się nie stało"
actions:
create: "dodaj"
created: "dodany"
update: "zapisz"
updated: "zapisany"
delete: "usuń"
deleted: "usunięty"
export: "export"
exported: "exported"
breadcrumbs:
delete: "delete"
history: "history"
edit: "edit"
export: "export"
bulk_destroy: "delete"
new: "new"
model_history: "history"
list: "list"
dashboard: "dashboard"
@@ -0,0 +1,97 @@
# Sample localization file for English. Add more files in this directory for other locales.
# See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.

pt-BR:
home:
name: "início"
admin:
dashboard:
pagename: "Administração do site"
name: "Painel"
model_name: "Nome do model"
last_used: "Última utilização"
records: "Registros"
modify: "Modificar"
add_new: "Adicionar"
show: "Exibir"
ago: "atrás"
history:
name: "Histórico"
page_name: "Histórico de %{name}"
no_activity: "Sem Atividade"
credentials:
log_out: "Desconectar"
list:
edit_action: "Alterar"
delete_action: "Excluir"
export_action: "Exportar tela corrente"
export_selected: "Exportar selecionados"
add_new: "Adicionar"
search: "BUSCAR"
select: "Selecione %{name} para alterar"
show_all: "Exibir todos"
select_action: "Selecionar"
delete_selected: "Excluir selecionados"
add_filter: "Adicionar filtro"
new:
basic_info: "INFORMAÇÕES BÁSICAS"
required: "Obrigatório"
optional: "Opcional"
one_char: "caracter"
many_chars: "caracteres ou menos"
chosen: "Selecionado %{name}"
select_choice: "Selecione sua(s) escolha(s) e clique"
chose_all: "Escolher todos"
clear_all: "Limpar todos"
up: "Subir"
down: "Descer"
save: "Gravar"
save_and_add_another: "Gravar e adicionar outro"
save_and_edit: "Gravar e alterar"
cancel: "Cancelar"
delete:
all_of_the_following_related_items_will_be_deleted: "? All of the following related items will be deleted:"
are_you_sure_you_want_to_delete_the_object: "Are you sure you want to delete the %{model_name}"
confirmation: "Sim, com certeza."
delete_confirmation: "Delete confirmation"
export:
confirmation: "Exportar para %{name}"
select: "Selecione os campos para exportar"
fields_from: "Campos de %{name}"
fields_from_associated: "Campos associados a %{name}"
display: "Mostrar %{name}: %{type}"
options_for: "Opções para %{name}"
empty_value_for_associated_objects: "<empty>"
csv:
header_for_root_methods: "%{name}" # 'model' is available
header_for_association_methods: "%{name} [%{association}]"
encoding_to: "Codificar para"
encoding_to_help: "Escolha o tipo de codificação. Leave empty to let current input encoding untouched: (%{name})"
skip_header: "Sem cabeçalho"
skip_header_help: "Não exportar um cabeçalho (campos sem descrição)"
default_col_sep: ","
col_sep: "Separador de coluna"
col_sep_help: "Deixe em brando para padrão ('%{value}')" # value is default_col_sep
flash:
successful: "%{name} foi %{action} com sucesso!"
error: "%{name} falhou em %{action}"
noaction: "Não ocorreram ações."
actions:
create: "criar"
created: "criado"
update: "atualizar"
updated: "atualizado"
delete: "excluir"
deleted: "excluído"
export: "exportar"
exported: "exportado"
breadcrumbs:
delete: "deletar"
history: "história"
edit: "editar"
export: "exportar"
bulk_destroy: "deletar"
new: "novo"
model_history: "história"
list: "listar"
dashboard: "administração"
@@ -0,0 +1,96 @@
# Sample localization file for English. Add more files in this directory for other locales.
# See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.

pt-PT:
home:
name: "home"
admin:
dashboard:
pagename: "Administração do site"
name: "Painel"
model_name: "Nome do modelo"
last_used: "Última utilização"
records: "Registos"
modify: "Modificar"
add_new: "Adicionar"
show: "Exibir"
ago: "atrás"
history:
name: "Histórico"
page_name: "Histórico de %{name}"
credentials:
log_out: "Terminar sessão"
list:
edit_action: "Editar"
delete_action: "Remover"
select_action: "Select"
export_action: "Export current view"
export_selected: "Export selected"
delete_selected: "Delete selected"
add_new: "Adicionar"
search: "PROCURAR"
select: "Selecione %{name} para editar"
show_all: "Exibir todos"
add_filter: "Add filter"
new:
basic_info: "INFORMAÇÕES BÁSICAS"
required: "Obrigatório"
optional: "Opcional"
one_char: "carácter"
many_chars: "caracteres ou menos"
chosen: "Selecionado %{name}"
select_choice: "Selecione as sua(s) escolha(s) e clique"
chose_all: "Escolher todos"
clear_all: "Limpar todos"
up: "Up"
down: "Down"
save: "Guardar"
save_and_add_another: "Guardar e adicionar outro"
save_and_edit: "Guardar e editar"
cancel: "Cancelar"
delete:
all_of_the_following_related_items_will_be_deleted: "? All of the following related items will be deleted:"
are_you_sure_you_want_to_delete_the_object: "Are you sure you want to delete the %{model_name}"
confirmation: "Sim, com certeza."
delete_confirmation: "Delete confirmation"
export:
confirmation: "Export to %{name}"
select: "Select fields to export"
fields_from: "Fields from %{name}"
fields_from_associated: "Fields from associated %{name}"
display: "Display %{name}: %{type}"
options_for: "Options for %{name}"
empty_value_for_associated_objects: "<empty>"
csv:
header_for_root_methods: "%{name}" # 'model' is available
header_for_association_methods: "%{name} [%{association}]"
encoding_to: "Encode to"
encoding_to_help: "Choose output encoding. Leave empty to let current input encoding untouched: (%{name})"
skip_header: "No header"
skip_header_help: "Do not output a header (no fields description)"
default_col_sep: ","
col_sep: "Column separator"
col_sep_help: "Leave blank for default ('%{value}')" # value is default_col_sep
flash:
successful: "Um registo de %{name}, foi %{action} com sucesso"
error: "Um registo de %{name} falhou ao ser %{action}"
noaction: "Nenhuma acção foi executada."
actions:
create: "criar"
created: "criado"
update: "actualizar"
updated: "actualizado"
delete: "remover"
deleted: "removido"
export: "export"
exported: "exported"
breadcrumbs:
delete: "deletar"
history: "história"
edit: "editar"
export: "exportar"
bulk_destroy: "deletar"
new: "novo"
model_history: "história"
list: "listar"
dashboard: "administração"
@@ -0,0 +1,96 @@
# Russian

ru:
home:
name: "Главная"
admin:
dashboard:
pagename: "Управление сайтом"
name: "Контрольная панель"
model_name: "Название модели"
last_used: "Последнее раз использовалось"
records: "Записи"
modify: "Изменить"
add_new: "Добавить"
show: "Показать"
ago: "назад"
history:
name: "История"
page_name: "История для %{name}"
no_activity: "Без изменений"
credentials:
log_out: "Выйти"
list:
edit_action: "Редактировать"
delete_action: "Удалить"
select_action: "Выбрать"
delete_selected: "Удалить выбранные"
export_action: "Экспортировать данное представление"
export_selected: "Эспортировать выделенное"
add_new: "Добавить"
search: "ПОИСК"
select: "Выберите %{name} для редактирования"
show_all: "Показать все"
add_filter: "Add filter"
new:
basic_info: "Основное"
required: "Требуемое"
optional: "Необязательное"
one_char: "символ"
many_chars: "символов или меньше"
chosen: "Выбрано %{name}"
select_choice: "Выберите нужное и кликните"
chose_all: "Выбрать все"
clear_all: "Очистить"
up: "Выше"
down: "Ниже"
save: "Сохранить"
save_and_add_another: "Сохранить и добавить новый"
save_and_edit: "Сохранить и продолжить редактирование"
cancel: "Отмена"
delete:
all_of_the_following_related_items_will_be_deleted: "? All of the following related items will be deleted:"
are_you_sure_you_want_to_delete_the_object: "Are you sure you want to delete the %{model_name}"
confirmation: "Да, я уверен"
delete_confirmation: "Delete confirmation"
export:
confirmation: "Экспортировать как %{name}"
select: "Выберите поля для экспорта"
fields_from: "Поля из %{name}"
fields_from_associated: "Поля из ассоциированной %{name}"
display: "Показать %{name}: %{type}"
options_for: "Настройки для %{name}"
empty_value_for_associated_objects: "<пусто>"
csv:
header_for_root_methods: "%{name}" # 'model' is available
header_for_association_methods: "%{name} [%{association}]"
encoding_to: "Декодировать как"
encoding_to_help: "Выберите результирующую кодировку. Оставьте пустой, чтобы оставить исходную кодировку нетронутой: (%{name})"
skip_header: "Без заголовка"
skip_header_help: "Не выводить заголовок (без описаний полей)"
default_col_sep: ","
col_sep: "Разделитель столбцов"
col_sep_help: "Оставьте пустым, чтобы было по умолчанию ('%{value}')" # value is default_col_sep
flash:
successful: "%{name} был %{action}"
error: "Не получилось %{action} %{name}"
noaction: "Никаких изменений не выполнено"
actions:
create: "создать"
created: "создан"
update: "обновить"
updated: "обновлен"
delete: "удалить"
deleted: "удален"
export: "экспортировать"
exported: "экспортировано"
breadcrumbs:
delete: "delete"
history: "history"
edit: "edit"
export: "export"
bulk_destroy: "delete"
new: "new"
model_history: "history"
list: "list"
dashboard: "dashboard"
@@ -0,0 +1,97 @@
# Sample localization file for English. Add more files in this directory for other locales.
# See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.

sv:
home:
name: "hem"
admin:
dashboard:
pagename: "Administration"
name: "Instrumentpanel"
model_name: "Modellnamn"
last_used: "Senast använd"
records: "Uppgifter"
modify: "Ändra"
add_new: "Lägg till ny"
show: "Visa"
ago: "sedan"
history:
name: "Historik"
page_name: "Historik för %{name}"
no_activity: "Ingen aktivitet"
credentials:
log_out: "Logga ut"
list:
edit_action: "Redigera"
delete_action: "Ta bort"
select_action: "Marker"
delete_selected: "Ta bort markerade"
export_action: "Export current view"
export_selected: "Export selected"
add_new: "Lägg till ny"
search: "SÖK"
select: "Markera %{name} för att redigera"
show_all: "Visa alla"
add_filter: "Add filter"
new:
basic_info: "Grundläggande information"
required: "Obligatorisk"
optional: "Frivillig"
one_char: "tecken"
many_chars: "tecken eller färre"
chosen: "Valt %{name}"
select_choice: "Välj dina val och klicka"
chose_all: "Välja alla"
clear_all: "Rensa alla"
up: "Up"
down: "Down"
save: "Spara"
save_and_add_another: "Spara och lägg till ny"
save_and_edit: "Spara och redigera"
cancel: "Avbryt"
delete:
all_of_the_following_related_items_will_be_deleted: "? All of the following related items will be deleted:"
are_you_sure_you_want_to_delete_the_object: "Are you sure you want to delete the %{model_name}"
confirmation: "Ja, jag är säker"
delete_confirmation: "Delete confirmation"
export:
confirmation: "Export to %{name}"
select: "Select fields to export"
fields_from: "Fields from %{name}"
fields_from_associated: "Fields from associated %{name}"
display: "Display %{name}: %{type}"
options_for: "Options for %{name}"
empty_value_for_associated_objects: "<empty>"
csv:
header_for_root_methods: "%{name}" # 'model' is available
header_for_association_methods: "%{name} [%{association}]"
encoding_to: "Encode to"
encoding_to_help: "Choose output encoding. Leave empty to let current input encoding untouched: (%{name})"
skip_header: "No header"
skip_header_help: "Do not output a header (no fields description)"
default_col_sep: ","
col_sep: "Column separator"
col_sep_help: "Leave blank for default ('%{value}')" # value is default_col_sep
flash:
successful: "%{name} är %{action}"
error: "lyckades inte %{action} %{name}"
noaction: "Inga åtgärder vidtogs"
actions:
create: "skapa"
created: "skapad"
update: "uppdatera"
updated: "uppdaterad"
delete: "ta bort"
deleted: "borttagen"
export: "export"
exported: "exported"
breadcrumbs:
delete: "delete"
history: "history"
edit: "edit"
export: "export"
bulk_destroy: "delete"
new: "new"
model_history: "history"
list: "list"
dashboard: "dashboard"
@@ -0,0 +1,97 @@
# Sample localization file for English. Add more files in this directory for other locales.
# See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.

tr:
home:
name: "anasayfa"
admin:
dashboard:
pagename: "Site Yönetimi"
name: "Pano"
model_name: "Model adı"
last_used: "Son kullanım"
records: "Kayıtlar"
modify: "Değiştir"
add_new: "Yeni ekle"
show: "Göster"
ago: "önce"
history:
name: "Geçmiş"
page_name: "%{name} geçmişi"
no_activity: "Aktivite yok"
credentials:
log_out: "Çıkış yap"
list:
edit_action: "Düzenle"
delete_action: "Sil"
select_action: "Select"
export_action: "Export current view"
export_selected: "Export selected"
delete_selected: "Delete selected"
add_new: "Yeni ekle"
search: "ARA"
select: "Düzenlemek için seçin: %{name}"
show_all: "Hepsini göster"
add_filter: "Add filter"
new:
basic_info: "Kısa bilgi"
required: "Gerekli"
optional: "İsteğe bağlı"
one_char: "karakter"
many_chars: "karakter ya da daha az"
chosen: "Seçilen: %{name}"
select_choice: "Şık veya şıkları seçin ve tıklayın"
chose_all: "Hepsini seç"
clear_all: "Hepsini temizle"
up: "Up"
down: "Down"
save: "Kaydet"
save_and_add_another: "Kaydet ve başka ekle"
save_and_edit: "Kaydet ve düzenle"
cancel: "İptal et"
delete:
all_of_the_following_related_items_will_be_deleted: "? All of the following related items will be deleted:"
are_you_sure_you_want_to_delete_the_object: "Are you sure you want to delete the %{model_name}"
confirmation: "Evet, eminim"
delete_confirmation: "Delete confirmation"
export:
confirmation: "Export to %{name}"
select: "Select fields to export"
fields_from: "Fields from %{name}"
fields_from_associated: "Fields from associated %{name}"
display: "Display %{name}: %{type}"
options_for: "Options for %{name}"
empty_value_for_associated_objects: "<empty>"
csv:
header_for_root_methods: "%{name}" # 'model' is available
header_for_association_methods: "%{name} [%{association}]"
encoding_to: "Encode to"
encoding_to_help: "Choose output encoding. Leave empty to let current input encoding untouched: (%{name})"
skip_header: "No header"
skip_header_help: "Do not output a header (no fields description)"
default_col_sep: ","
col_sep: "Column separator"
col_sep_help: "Leave blank for default ('%{value}')" # value is default_col_sep
flash:
successful: "%{name} başarıyla %{action}"
error: "İşlem gerçekleştirilemedi"
noaction: "Hiçbir işlem yapılmadı."
actions:
create: "yarat"
created: "yaratıldı"
update: "güncelle"
updated: "güncellendi"
delete: "sil"
deleted: "silindi"
export: "export"
exported: "exported"
breadcrumbs:
delete: "delete"
history: "history"
edit: "edit"
export: "export"
bulk_destroy: "delete"
new: "new"
model_history: "history"
list: "list"
dashboard: "dashboard"
@@ -0,0 +1,94 @@
uk:
home:
name: "Домівка"
admin:
dashboard:
pagename: "Адміністрація"
name: "Панель керування"
model_name: "Ім'я моделі"
last_used: "Останній раз використовувалось"
records: "Записи"
modify: "Змінити"
add_new: "Створити"
show: "Детально"
ago: "тому"
history:
name: "Історія"
page_name: "Історія для %{name}"
no_activity: "Пусто"
credentials:
log_out: "Вийти"
list:
edit_action: "Редагувати"
delete_action: "Видалити"
add_new: "Створити"
select_action: "Select"
export_action: "Export current view"
export_selected: "Export selected"
delete_selected: "Delete selected"
search: "ПОШУК"
select: "Оберіть %{name} для редагування"
show_all: "Показати все"
add_filter: "Add filter"
new:
basic_info: "Основна інформація"
required: "Необхідно"
optional: "Необов'язково"
one_char: "літера"
many_chars: "літер або менше"
chosen: "Обрано %{name}"
select_choice: "Оберіть один чи декілька і натисніть"
chose_all: "Обрати все"
clear_all: "Очистити все"
up: "Up"
down: "Down"
save: "Зберегти"
save_and_add_another: "Зберегти і добавити ще"
save_and_edit: "Зберегти і поредагувати"
cancel: "Скасувати"
delete:
all_of_the_following_related_items_will_be_deleted: "? All of the following related items will be deleted:"
are_you_sure_you_want_to_delete_the_object: "Are you sure you want to delete the %{model_name}"
confirmation: "Так, я впевнений"
delete_confirmation: "Delete confirmation"
export:
confirmation: "Export to %{name}"
select: "Select fields to export"
fields_from: "Fields from %{name}"
fields_from_associated: "Fields from associated %{name}"
display: "Display %{name}: %{type}"
options_for: "Options for %{name}"
empty_value_for_associated_objects: "<empty>"
csv:
header_for_root_methods: "%{name}" # 'model' is available
header_for_association_methods: "%{name} [%{association}]"
encoding_to: "Encode to"
encoding_to_help: "Choose output encoding. Leave empty to let current input encoding untouched: (%{name})"
skip_header: "No header"
skip_header_help: "Do not output a header (no fields description)"
default_col_sep: ","
col_sep: "Column separator"
col_sep_help: "Leave blank for default ('%{value}')" # value is default_col_sep
flash:
successful: "%{name} успішно %{action}"
error: "неможливо %{action} %{name}"
noaction: "Нічого не відбувалось"
actions:
create: "створити"
created: "створено"
update: "оновити"
updated: "оновлено"
delete: "видалити"
deleted: "видалено"
export: "export"
exported: "exported"
breadcrumbs:
delete: "delete"
history: "history"
edit: "edit"
export: "export"
bulk_destroy: "delete"
new: "new"
model_history: "history"
list: "list"
dashboard: "dashboard"
@@ -0,0 +1,101 @@
zh_cn:
home:
name: "主页"
admin:
dashboard:
pagename: "网站管理"
name: "Dashboard"
model_name: "模型名称"
last_used: "最后使用"
records: "记录"
modify: "修改"
add_new: "添加"
show: "查看"
ago: "以前"
history:
name: "历史"
page_name: "%{name}的历史"
no_activity: "非激活"
credentials:
log_out: "登出"
list:
edit_action: "编辑"
delete_action: "删除"
select_action: "选择"
delete_selected: "删除已选择的"
export_action: "导出当前页面"
export_selected: "导出选择记录"
add_new: "添加"
search: "搜索"
select: "%{name}编辑"
show_all: "查看全部"
add_filter: "Add filter"
new:
basic_info: "基本信息"
required: "必须"
optional: "可选"
one_char: "限一个字符"
many_chars: "多个字符"
chosen: "选择%{name}"
select_choice: "选择并点击"
chose_all: "选择全部"
clear_all: "取消全部"
save: "保存"
save_and_add_another: "保存并添加新的"
save_and_edit: "保存并再编辑"
cancel: "取消"
up: "上移"
down: "下移"
edit:
add_new_associated_model_name: "添加新的%{name}"
delete:
all_of_the_following_related_items_will_be_deleted: "? All of the following related items will be deleted:"
are_you_sure_you_want_to_delete_the_object: "Are you sure you want to delete the %{model_name}"
confirmation: "是的,我确定"
delete_confirmation: "Delete confirmation"
export:
confirmation: "Export to %{name}"
select: "选择需要导出的字段"
fields_from: "Fields from %{name}"
fields_from_associated: "Fields from associated %{name}"
display: "Display %{name}: %{type}"
options_for: "Options for %{name}"
empty_value_for_associated_objects: "<empty>"
csv:
header_for_root_methods: "%{name}" # 'model' is available
header_for_association_methods: "%{name} [%{association}]"
encoding_to: "Encode to"
encoding_to_help: "Choose output encoding. Leave empty to let current input encoding untouched: (%{name})"
skip_header: "No header"
skip_header_help: "Do not output a header (no fields description)"
default_col_sep: ","
col_sep: "Column separator"
col_sep_help: "Leave blank for default ('%{value}')" # value is default_col_sep
flash:
successful: "%{name} %{action}成功"
error: "%{name} %{action}失败"
noaction: "没作任何动作"
actions:
create: "创建"
created: "已创建"
update: "更新"
updated: "已更新"
delete: "删除"
deleted: "已删除"
export: "导出"
exported: "已导出"
breadcrumbs:
delete: "delete"
history: "history"
edit: "edit"
export: "export"
bulk_destroy: "delete"
new: "new"
model_history: "history"
list: "list"
dashboard: "dashboard"
datetime:
distance_in_words:
x_days: "%{count}天"
x_hours: "%{count}小时"
x_minutes: "%{count}分钟"
@@ -1,142 +1,118 @@
ActionController::Routing::Routes.draw do |map|
map.resources :member_preferences

map.resources :neighborhoods

map.resources :memberships, :member => {:unsuscribe => :delete, :suscribe => :post}

map.resources :transacts, :as => "transacts/:asset"

map.resources :groups, :has_many => [:offers,:reqs], :shallow => true,
:member => { :join => :post,
:leave => :post,
:exchanges => :get,
:members => :get,
:graphs => :get,
:photos => :get,
:new_photo => :post,
:save_photo => :post,
:delete_photo => :delete } do |group|
group.resources :memberships
group.resource :forum
Oscurrency::Application.routes.draw do
resources :person_sessions
resources :password_resets, :only => [:new, :create, :edit, :update]
resources :member_preferences
resources :neighborhoods
resources :memberships do
member do
delete :unsuscribe
post :suscribe
end
end

map.resources :broadcast_emails

map.resources :bids

map.resources :reqs, :member => {:deactivate => :post} do |req|
req.resources :bids
resources :transacts
resources :groups do
member do
post :join
post :leave
get :exchanges
get :members
get :graphs
get :photos
post :new_photo
post :save_photo
delete :delete_photo
end
resources :memberships
resources :reqs
resources :offers
resource :forum
end

map.resources :offers
resources :bids
resources :reqs do
member do
post :deactivate
end
resources :bids
end

map.resources :categories
resources :offers
resources :categories
resources :events do
member do
get :attend
get :unattend
end
resources :comments
end

map.resources :events, :member => { :attend => :get,
:unattend => :get } do |event|
event.resources :comments
resources :preferences
resources :searches
resources :activities
resources :connections
resources :photos
resources :messages do
collection do
get :sent
get :trash
end
member do
get :reply
put :undestroy
end
end
resources :people do
member do
get :verify_email
get :su
get :common_contacts
get :groups
get :admin_groups
end
resources :messages
resources :accounts
resources :exchanges
resources :addresses
resources :photos
resources :connections
resources :comments
end

map.resources :preferences
map.resources :searches
map.resources :activities
map.resources :connections
map.resources :password_resets, :only => [:new,:create,:edit,:update]
map.resources :photos
#map.open_id_complete 'session', :controller => "sessions", :action => "create", :requirements => { :method => :get }
#map.resource :session
map.resources :person_sessions
map.resources :messages, :collection => { :sent => :get, :trash => :get },
:member => { :reply => :get, :undestroy => :put }
match 'people/verify/:id' => 'people#verify_email'

map.resources :people, :member => { :verify_email => :get,
:su => :get,
:common_contacts => :get }
map.connect 'people/verify/:id', :controller => 'people',
:action => 'verify_email'
map.resources :people, :member => {:groups => :get,
:admin_groups => :get} do |person|
person.resources :messages
person.resources :accounts
person.resources :exchanges
person.resources :addresses
person.resources :photos
person.resources :connections
person.resources :comments
end
map.namespace :admin do |admin|
#admin.resources :people, :active_scaffold => true
#admin.resources :categories, :active_scaffold => true
#admin.resources :neighborhoods, :active_scaffold => true
#admin.resources :exchanges, :active_scaffold => true
#admin.resources :feed_posts, :active_scaffold => true
admin.resources :preferences, :broadcast_emails
namespace :admin do
resources :preferences
end
map.resources :blogs do |blog|
blog.resources :posts do |post|
post.resources :comments
resources :blogs do
resources :posts do
resources :comments
end
end

map.resources :forums do |forums|
forums.resources :topics do |topic|
topic.resources :posts
resources :forums do
resources :topics do
resources :posts
end
end

map.signup '/signup', :controller => 'people', :action => 'new'
map.login '/login', :controller => 'person_sessions', :action => 'new'
map.logout '/logout', :controller => 'person_sessions', :action => 'destroy'
map.home '/', :controller => 'home'
map.refreshblog '/refreshblog', :controller => 'feed_posts', :action => 'refresh_blog'
map.about '/about', :controller => 'home', :action => 'about'
map.practice '/practice', :controller => 'home', :action => 'practice'
map.steps '/steps', :controller => 'home', :action => 'steps'
map.questions '/questions', :controller => 'home', :action => 'questions'
map.contact '/contact', :controller => 'home', :action => 'contact'
map.agreement '/agreement', :controller => 'home', :action => 'agreement'

map.admin_home '/admin/home', :controller => 'home'

map.resources :oauth_clients
map.authorize '/oauth/authorize', :controller => 'oauth', :action => 'authorize'
map.request_token '/oauth/request_token', :controller => 'oauth', :action => 'request_token'
map.access_token '/oauth/access_token', :controller => 'oauth', :action => 'access_token'
map.test_request '/oauth/test_request', :controller => 'oauth', :action => 'test_request'
map.oauth '/oauth', :controller => 'oauth', :action => 'index'

# The priority is based upon order of creation: first created -> highest priority.

# Sample of regular route:
# map.connect 'products/:id', :controller => 'catalog', :action => 'view'
# Keep in mind you can assign values other than :controller and :action

# Sample of named route:
# map.purchase 'products/:id/purchase', :controller => 'catalog', :action => 'purchase'
# This route can be invoked with purchase_url(:id => product.id)

# Sample resource route (maps HTTP verbs to controller actions automatically):
# map.resources :products

# Sample resource route with options:
# map.resources :products, :member => { :short => :get, :toggle => :post }, :collection => { :sold => :get }

# Sample resource route with sub-resources:
# map.resources :products, :has_many => [ :comments, :sales ], :has_one => :seller

# Sample resource route within a namespace:
# map.namespace :admin do |admin|
# # Directs /admin/products/* to Admin::ProductsController (app/controllers/admin/products_controller.rb)
# admin.resources :products
# end

# You can have the root of your site routed with map.root -- just remember to delete public/index.html.
map.root :controller => 'home'

# See how all your routes lay out with "rake routes"

# Install the default routes as the lowest priority.
map.connect ':controller/:action/:id'
map.connect ':controller/:action/:id.:format'
match '/signup' => 'people#new', :as => :signup
match '/login' => 'person_sessions#new', :as => :login
match '/logout' => 'person_sessions#destroy', :as => :logout
match '/refreshblog' => 'feed_posts#refresh_blog', :as => :refreshblog
match '/about' => 'home#about', :as => :about
match '/practice' => 'home#practice', :as => :practice
match '/steps' => 'home#steps', :as => :steps
match '/questions' => 'home#questions', :as => :questions
match '/contact' => 'home#contact', :as => :contact
match '/agreement' => 'home#agreement', :as => :agreement
resources :oauth_clients
match '/oauth/authorize' => 'oauth#authorize', :as => :authorize
match '/oauth/request_token' => 'oauth#request_token', :as => :request_token
match '/oauth/access_token' => 'oauth#access_token', :as => :access_token
match '/oauth/test_request' => 'oauth#test_request', :as => :test_request
match '/oauth' => 'oauth#index', :as => :oauth
match '/home/show/:id' => 'home#show'
root :to => 'home#index'
match '/' => 'home#index', :as => :home
end
@@ -0,0 +1,18 @@
class CreateHistoriesTable < ActiveRecord::Migration
def self.up
create_table :histories do |t|
t.string :message # title, name, or object_id
t.string :username
t.integer :item
t.string :table
t.integer :month, :limit => 2
t.integer :year, :limit => 5
t.timestamps
end
add_index(:histories, [:item, :table, :month, :year])
end

def self.down
drop_table :histories
end
end
@@ -0,0 +1,9 @@
class RenameHistoriesToRailsAdminHistories < ActiveRecord::Migration
def self.up
rename_table :histories, :rails_admin_histories
end

def self.down
rename_table :rails_admin_histories, :histories
end
end
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,30 @@
(function($) {
$(document).ready(function()
{
// jQuery uniform controls (http://pixelmatrixdesign.com/uniform)
$("input:checkbox, input:radio, input:file").uniform();
// Enable uniform for non filtering select elements:
$("select.uniform").uniform();
// For select boxes that we want to be smaller. Used in the controls area of the list view:
$("select.small-uniform").uniform({selectClass: 'selector small'});

// jQuery datepicker for formtastic (http://gist.github.com/271377)
$('input.ui-datepicker').datepicker({ dateFormat: 'dd-mm-yy' });

// Tooltips (http://onehackoranother.com/projects/jquery/tipsy)
$('img').each( function() {
if ($(this).get(0).title != '') {
$(this).tipsy();
}
});

// Scroll effect for anchors (http://flesler.blogspot.com/2007/10/jqueryscrollto.html)
$('a').click(function() {
if ($(this).attr('class') == 'anchor') {
$.scrollTo(this.hash, 500);
$(this.hash).find('span.message').text(this.href);
return false;
}
});
});
})(jQuery)
@@ -0,0 +1,104 @@
/**
* jQuery.LocalScroll
* Copyright (c) 2007-2008 Ariel Flesler - aflesler(at)gmail(dot)com | http://flesler.blogspot.com
* Dual licensed under MIT and GPL.
* Date: 6/3/2008
*
* @projectDescription Animated scrolling navigation, using anchors.
* http://flesler.blogspot.com/2007/10/jquerylocalscroll-10.html
* @author Ariel Flesler
* @version 1.2.6
*
* @id jQuery.fn.localScroll
* @param {Object} settings Hash of settings, it is passed in to jQuery.ScrollTo, none is required.
* @return {jQuery} Returns the same jQuery object, for chaining.
*
* @example $('ul.links').localScroll();
*
* @example $('ul.links').localScroll({ filter:'.animated', duration:400, axis:'x' });
*
* @example $.localScroll({ target:'#pane', axis:'xy', queue:true, event:'mouseover' });
*
* Notes:
* - The plugin requires jQuery.ScrollTo.
* - The hash of settings, is passed to jQuery.ScrollTo, so the settings are valid for that plugin as well.
* - jQuery.localScroll can be used if the desired links, are all over the document, it accepts the same settings.
* - If the setting 'lazy' is set to true, then the binding will still work for later added anchors.
* - The setting 'speed' is deprecated, use 'duration' instead.
* - If onBefore returns false, the event is ignored.
**/
;(function( $ ){
var URI = location.href.replace(/#.*/,'');//local url without hash

var $localScroll = $.localScroll = function( settings ){
$('body').localScroll( settings );
};

//Many of these defaults, belong to jQuery.ScrollTo, check it's demo for an example of each option.
//@see http://www.freewebs.com/flesler/jQuery.ScrollTo/
$localScroll.defaults = {//the defaults are public and can be overriden.
duration:1000, //how long to animate.
axis:'y',//which of top and left should be modified.
event:'click',//on which event to react.
stop:true//avoid queuing animations
/*
lock:false,//ignore events if already animating
lazy:false,//if true, links can be added later, and will still work.
target:null, //what to scroll (selector or element). Keep it null if want to scroll the whole window.
filter:null, //filter some anchors out of the matched elements.
hash: false//if true, the hash of the selected link, will appear on the address bar.
*/
};

//if the URL contains a hash, it will scroll to the pointed element
$localScroll.hash = function( settings ){
settings = $.extend( {}, $localScroll.defaults, settings );
settings.hash = false;//can't be true
if( location.hash )
setTimeout(function(){ scroll( 0, location, settings ); }, 0 );//better wrapped with a setTimeout
};

$.fn.localScroll = function( settings ){
settings = $.extend( {}, $localScroll.defaults, settings );

return ( settings.persistent || settings.lazy )
? this.bind( settings.event, function( e ){//use event delegation, more links can be added later.
var a = $([e.target, e.target.parentNode]).filter(filter)[0];//if a valid link was clicked.
a && scroll( e, a, settings );//do scroll.
})
: this.find('a,area')//bind concretely, to each matching link
.filter( filter ).bind( settings.event, function(e){
scroll( e, this, settings );
}).end()
.end();

function filter(){//is this a link that points to an anchor and passes a possible filter ? href is checked to avoid a bug in FF.
return !!this.href && !!this.hash && this.href.replace(this.hash,'') == URI && (!settings.filter || $(this).is( settings.filter ));
};
};

function scroll( e, link, settings ){
var id = link.hash.slice(1),
elem = document.getElementById(id) || document.getElementsByName(id)[0];
if ( elem ){
e && e.preventDefault();
var $target = $( settings.target || $.scrollTo.window() );//if none specified, then the window.

if( settings.lock && $target.is(':animated') ||
settings.onBefore && settings.onBefore.call(link, e, elem, $target) === false ) return;

if( settings.stop )
$target.queue('fx',[]).stop();//remove all its animations
$target
.scrollTo( elem, settings )//do scroll
.trigger('notify.serialScroll',[elem]);//notify serialScroll about this change
if( settings.hash )
$target.queue(function(){
location = link.hash;
// make sure this function is released
$(this).dequeue();
});
}
};

})( jQuery );
@@ -0,0 +1,150 @@
/**
* jQuery.ScrollTo
* Copyright (c) 2007-2008 Ariel Flesler - aflesler(at)gmail(dot)com | http://flesler.blogspot.com
* Dual licensed under MIT and GPL.
* Date: 2/19/2008
*
* @projectDescription Easy element scrolling using jQuery.
* http://flesler.blogspot.com/2007/10/jqueryscrollto.html
* Tested with jQuery 1.2.1. On FF 2.0.0.11, IE 6, Opera 9.22 and Safari 3 beta. on Windows.
*
* @author Ariel Flesler
* @version 1.3.3
*
* @id jQuery.scrollTo
* @id jQuery.fn.scrollTo
* @param {String, Number, DOMElement, jQuery, Object} target Where to scroll the matched elements.
* The different options for target are:
* - A number position (will be applied to all axes).
* - A string position ('44', '100px', '+=90', etc ) will be applied to all axes
* - A jQuery/DOM element ( logically, child of the element to scroll )
* - A string selector, that will be relative to the element to scroll ( 'li:eq(2)', etc )
* - A hash { top:x, left:y }, x and y can be any kind of number/string like above.
* @param {Number} duration The OVERALL length of the animation, this argument can be the settings object instead.
* @param {Object} settings Hash of settings, optional.
* @option {String} axis Which axis must be scrolled, use 'x', 'y', 'xy' or 'yx'.
* @option {Number} duration The OVERALL length of the animation.
* @option {String} easing The easing method for the animation.
* @option {Boolean} margin If true, the margin of the target element will be deducted from the final position.
* @option {Object, Number} offset Add/deduct from the end position. One number for both axes or { top:x, left:y }.
* @option {Object, Number} over Add/deduct the height/width multiplied by 'over', can be { top:x, left:y } when using both axes.
* @option {Boolean} queue If true, and both axis are given, the 2nd axis will only be animated after the first one ends.
* @option {Function} onAfter Function to be called after the scrolling ends.
* @option {Function} onAfterFirst If queuing is activated, this function will be called after the first scrolling ends.
* @return {jQuery} Returns the same jQuery object, for chaining.
*
* @example $('div').scrollTo( 340 );
*
* @example $('div').scrollTo( '+=340px', { axis:'y' } );
*
* @example $('div').scrollTo( 'p.paragraph:eq(2)', 500, { easing:'swing', queue:true, axis:'xy' } );
*
* @example var second_child = document.getElementById('container').firstChild.nextSibling;
* $('#container').scrollTo( second_child, { duration:500, axis:'x', onAfter:function(){
* alert('scrolled!!');
* }});
*
* @example $('div').scrollTo( { top: 300, left:'+=200' }, { offset:-20 } );
*
* Notes:
* - jQuery.scrollTo will make the whole window scroll, it accepts the same arguments as jQuery.fn.scrollTo.
* - If you are interested in animated anchor navigation, check http://jquery.com/plugins/project/LocalScroll.
* - The options margin, offset and over are ignored, if the target is not a jQuery object or a DOM element.
* - The option 'queue' won't be taken into account, if only 1 axis is given.
*/
;(function( $ ){

var $scrollTo = $.scrollTo = function( target, duration, settings ){
$scrollTo.window().scrollTo( target, duration, settings );
};

$scrollTo.defaults = {
axis:'y',
duration:1
};

//returns the element that needs to be animated to scroll the window
$scrollTo.window = function(){
return $( $.browser.safari ? 'body' : 'html' );
};

$.fn.scrollTo = function( target, duration, settings ){
if( typeof duration == 'object' ){
settings = duration;
duration = 0;
}
settings = $.extend( {}, $scrollTo.defaults, settings );
duration = duration || settings.speed || settings.duration;//speed is still recognized for backwards compatibility
settings.queue = settings.queue && settings.axis.length > 1;//make sure the settings are given right
if( settings.queue )
duration /= 2;//let's keep the overall speed, the same.
settings.offset = both( settings.offset );
settings.over = both( settings.over );

return this.each(function(){
var elem = this, $elem = $(elem),
t = target, toff, attr = {},
win = $elem.is('html,body');
switch( typeof t ){
case 'number'://will pass the regex
case 'string':
if( /^([+-]=)?\d+(px)?$/.test(t) ){
t = both( t );
break;//we are done
}
t = $(t,this);// relative selector, no break!
case 'object':
if( t.is || t.style )//DOM/jQuery
toff = (t = $(t)).offset();//get the real position of the target
}
$.each( settings.axis.split(''), function( i, axis ){
var Pos = axis == 'x' ? 'Left' : 'Top',
pos = Pos.toLowerCase(),
key = 'scroll' + Pos,
act = elem[key],
Dim = axis == 'x' ? 'Width' : 'Height',
dim = Dim.toLowerCase();

if( toff ){//jQuery/DOM
attr[key] = toff[pos] + ( win ? 0 : act - $elem.offset()[pos] );

if( settings.margin ){//if it's a dom element, reduce the margin
attr[key] -= parseInt(t.css('margin'+Pos)) || 0;
attr[key] -= parseInt(t.css('border'+Pos+'Width')) || 0;
}

attr[key] += settings.offset[pos] || 0;//add/deduct the offset

if( settings.over[pos] )//scroll to a fraction of its width/height
attr[key] += t[dim]() * settings.over[pos];
}else
attr[key] = t[pos];//remove the unnecesary 'px'

if( /^\d+$/.test(attr[key]) )//number or 'number'
attr[key] = attr[key] <= 0 ? 0 : Math.min( attr[key], max(Dim) );//check the limits

if( !i && settings.queue ){//queueing each axis is required
if( act != attr[key] )//don't waste time animating, if there's no need.
animate( settings.onAfterFirst );//intermediate animation
delete attr[key];//don't animate this axis again in the next iteration.
}
});
animate( settings.onAfter );

function animate( callback ){
$elem.animate( attr, duration, settings.easing, callback && function(){
callback.call(this, target);
});
};
function max( Dim ){
var el = win ? $.browser.opera ? document.body : document.documentElement : elem;
return el['scroll'+Dim] - el['client'+Dim];
};
});
};

function both( val ){
return typeof val == 'object' ? val : { top:val, left:val };
};

})( jQuery );