Skip to content
Browse files

Update README.md

  • Loading branch information...
1 parent d86945d commit 868f7669b71c067ade02389a8566dbd9d1bb6610 @bbenezech bbenezech committed Jan 17, 2012
Showing with 69 additions and 0 deletions.
  1. +69 −0 README.md
View
69 README.md
@@ -19,6 +19,75 @@ Hoeven][plukevdh], and [Rein Henrichs][reinh].
[reinh]: https://github.com/reinh
## <a name="announcements"></a>Announcements
+* Translations
+
+The action engine has been totally revamped (for custom actions)
+
+To reflect these changes, translation keys for actions now look like:
+
+```yaml
+
+en:
+ admin:
+ actions:
+ dashboard:
+ page_title: "Site administration"
+ menu_item: "Dashboard"
+ breadcrumb: "Dashboard"
+ index:
+ page_title: "List of %{model_label_plural}"
+ menu_item: "List"
+ breadcrumb: "%{model_label_plural}"
+ show:
+ page_title: "Details for %{model_label} '%{object_label}'"
+ menu_item: "Show"
+ breadcrumb: "%{object_label}"
+ show_in_app:
+ menu_item: "Show in app"
+ new:
+ page_title: "New %{model_label}"
+ menu_item: "Add new"
+ breadcrumb: "New"
+ link: "Create a new %{model_label}"
+ done: "created"
+ edit:
+ page_title: "Update %{model_label} '%{object_label}'"
+ menu_item: "Edit"
+ breadcrumb: "Edit"
+ link: "Update this %{model_label}"
+ done: "updated"
+ delete:
+ page_title: "Delete %{model_label} '%{object_label}'"
+ menu_item: "Delete"
+ breadcrumb: "Delete"
+ link: "Delete '%{object_label}'"
+ done: "deleted"
+ bulk_delete:
+ page_title: "Delete %{model_label_plural}"
+ menu_item: "Multiple delete"
+ breadcrumb: "Multiple delete"
+ bulk_link: "Delete selected %{model_label_plural}"
+ export:
+ page_title: "Export %{model_label}"
+ menu_item: "Export"
+ breadcrumb: "Export"
+ link: "Export found %{model_label_plural}"
+ bulk_link: "Export selected %{model_label_plural}"
+ done: "exported"
+ history_index:
+ page_title: "History for %{model_label_plural}"
+ menu_item: "History"
+ breadcrumb: "History"
+ history_show:
+ page_title: "History for %{model_label} '%{object_label}'"
+ menu_item: "History"
+ breadcrumb: "History"
+
+```
+
+Translations are very likely outdated, copy this in your own `config/locales/rails_admin.yml` and update accordingly.
+
+In the future, translations may move to the wiki, to ease with adding of new I18n keys and remove outdated translations that look like they are officially supported. (Devise did this for example)
* History

0 comments on commit 868f766

Please sign in to comment.
Something went wrong with that request. Please try again.