Verified Commit 667a2f53 authored by Dave Long's avatar Dave Long
Browse files

fix: #3577953 Remove "Sorry" from the codebase

By: dieterholvoet
By: longwave
By: thirteenthdown
(cherry picked from commit fbbb893d)
parent 8d0478b5
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -78,6 +78,7 @@
      "ist",
      "please",
      "queuing",
      "sorry",
      "whitelist",
      "whitelisted",
      "writeable"
+1 −1
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@ class OEmbedResourceConstraint extends SymfonyConstraint {
  public function __construct(
    mixed $options = NULL,
    public $unknownProviderMessage = 'The given URL does not match any known oEmbed providers.',
    public $disallowedProviderMessage = 'Sorry, the @name provider is not allowed.',
    public $disallowedProviderMessage = 'The @name provider is not allowed.',
    public $invalidResourceMessage = 'The provided URL does not represent a valid oEmbed resource.',
    public $providerErrorMessage = 'An error occurred while trying to retrieve the oEmbed provider database.',
    ?array $groups = NULL,
+1 −1
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@ public function build() {
   */
  public function validateConfigurationForm(array &$form, FormStateInterface $form_state) {
    parent::validateConfigurationForm($form, $form_state);
    $form_state->setError($form['label'], 'Sorry system error. Save again.');
    $form_state->setError($form['label'], 'System error. Save again.');
  }

}
+1 −1
Original line number Diff line number Diff line
@@ -284,7 +284,7 @@ public function testValidationMessages(): void {
      $web_assert->assertWaitOnAjaxRequest();
      // The settings_tray_test_validation test plugin form always has a
      // validation error.
      $web_assert->elementContains('css', '#drupal-off-canvas', 'Sorry system error. Save again');
      $web_assert->elementContains('css', '#drupal-off-canvas', 'System error. Save again.');
      $this->disableEditMode();
      $block->delete();
    }
+1 −1
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ public function greet() {
    if (isset($this->service)) {
      return $this->service->greet() . ' World';
    }
    return 'Sorry, no service.';
    return 'No service.';
  }

}
Loading