From bddba847f569f872aefa1618d2fe49d69f274c63 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= <gabor@hojtsy.hu>
Date: Mon, 4 Feb 2008 12:35:48 +0000
Subject: [PATCH] #216238 by theborg: theme descriptions were not translated
 properly (minor)

---
 modules/system/system.admin.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc
index 928412531f17..edfb2a9265a4 100644
--- a/modules/system/system.admin.inc
+++ b/modules/system/system.admin.inc
@@ -2167,8 +2167,8 @@ function theme_system_themes_form($form) {
 
     // Fetch info
     $info = $form[$key]['info']['#value'];
-
-    $description = $info['description'];
+    // Localize theme description.
+    $description = t($info['description']);
     // Make sure it is compatible and render the checkbox if so.
     if (isset($form['status']['#incompatible_themes_core'][$key])) {
       unset($form['status'][$key]);
-- 
GitLab