Skip to content

Instantly share code, notes, and snippets.

@spotzero
Last active August 29, 2016 12:56
Show Gist options
  • Save spotzero/530250f798bc14f250af2fff108a26a7 to your computer and use it in GitHub Desktop.
Save spotzero/530250f798bc14f250af2fff108a26a7 to your computer and use it in GitHub Desktop.
diff --git a/entity_translation.admin.inc b/entity_translation.admin.inc
index 3bdf410..66ac4e2 100644
--- a/entity_translation.admin.inc
+++ b/entity_translation.admin.inc
@@ -252,7 +252,7 @@ function entity_translation_overview($entity_type, $entity, $callback = NULL) {
foreach ($languages as $language) {
$classes = array();
$options = array();
- $language_name = $language->name;
+ $language_name = t($language->name);
$langcode = $language->language;
$edit_path = $handler->getEditPath($langcode);
$add_path = "{$handler->getEditPath()}/add/$source/$langcode";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment