diff --git a/core/includes/form.inc b/core/includes/form.inc
index 6ebbac4..aabbfb5 100644
--- a/core/includes/form.inc
+++ b/core/includes/form.inc
@@ -3094,7 +3094,7 @@ function form_pre_render_conditional_form_element($element) {
     $element['#attributes']['title'] = $element['#title'];
     if (!empty($element['#required'])) {
       // Append an indication that this field is required.
-      $element['#attributes']['title'] .= ' (' . $t('Required') . ')';
+      $element['#attributes']['title'] .= ' (' . t('Required') . ')';
     }
   }
 
@@ -3586,6 +3586,9 @@ function form_process_fieldset(&$element, &$form_state) {
  *   The modified element with all group members.
  */
 function form_pre_render_fieldset($element) {
+  // This is also used in the installer, pre-database setup.
+  $t = get_t();
+
   // Fieldsets may be rendered outside of a Form API context.
   if (!isset($element['#parents']) || !isset($element['#groups'])) {
     return $element;
