Loading l10n_community/src/Form/TranslateForm.php +4 −3 Original line number Diff line number Diff line Loading @@ -607,9 +607,10 @@ class TranslateForm extends FormBase implements TrustedCallbackInterface { else { if ($this->accessManager->check('submit suggestions')) { $form['edit'] = [ '#markup' => $this->t('Edit a copy'), '#prefix' => '<label title="' . $this->t('Edit a copy') . '">', '#suffix' => '</label>', '#type' => 'html_tag', '#tag' => 'label', '#value' => $this->t('Edit a copy'), '#attributes' => ['title' => $this->t('Edit a copy')], ]; } if (isset($string->username)) { Loading l10n_community/src/L10nTranslator.php +1 −1 Original line number Diff line number Diff line Loading @@ -226,7 +226,7 @@ class L10nTranslator { $query->condition('t.suggestion', 1); $query->orderBy('t.created'); return $query->execute(); return $query->execute()->fetchAll(); } } Loading
l10n_community/src/Form/TranslateForm.php +4 −3 Original line number Diff line number Diff line Loading @@ -607,9 +607,10 @@ class TranslateForm extends FormBase implements TrustedCallbackInterface { else { if ($this->accessManager->check('submit suggestions')) { $form['edit'] = [ '#markup' => $this->t('Edit a copy'), '#prefix' => '<label title="' . $this->t('Edit a copy') . '">', '#suffix' => '</label>', '#type' => 'html_tag', '#tag' => 'label', '#value' => $this->t('Edit a copy'), '#attributes' => ['title' => $this->t('Edit a copy')], ]; } if (isset($string->username)) { Loading
l10n_community/src/L10nTranslator.php +1 −1 Original line number Diff line number Diff line Loading @@ -226,7 +226,7 @@ class L10nTranslator { $query->condition('t.suggestion', 1); $query->orderBy('t.created'); return $query->execute(); return $query->execute()->fetchAll(); } }