summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxjm2016-06-24 11:08:34 (GMT)
committerxjm2016-06-24 11:08:34 (GMT)
commit3e07700c8be2b3a62a9b9137d3fa4281a103b77b (patch)
treed101720dadcc758d44ce16e0832321b05a879a9e
parent60a17522f4bf1323af54c32b115289a475afcaa6 (diff)
Issue #2753049 by pguillard, pashupathi nath gajawada, ChandeepKhosa, ifrik: Change "Save changes" to "Save"
-rw-r--r--core/modules/filter/src/FilterFormatListBuilder.php2
-rw-r--r--core/modules/filter/src/Tests/FilterAdminTest.php2
-rw-r--r--core/modules/filter/src/Tests/FilterDefaultFormatTest.php4
-rw-r--r--core/modules/shortcut/src/Form/SetCustomize.php2
-rw-r--r--core/modules/shortcut/src/Tests/ShortcutSetsTest.php2
5 files changed, 6 insertions, 6 deletions
diff --git a/core/modules/filter/src/FilterFormatListBuilder.php b/core/modules/filter/src/FilterFormatListBuilder.php
index 71458c5..cf08456 100644
--- a/core/modules/filter/src/FilterFormatListBuilder.php
+++ b/core/modules/filter/src/FilterFormatListBuilder.php
@@ -139,7 +139,7 @@ class FilterFormatListBuilder extends DraggableListBuilder {
*/
public function buildForm(array $form, FormStateInterface $form_state) {
$form = parent::buildForm($form, $form_state);
- $form['actions']['submit']['#value'] = $this->t('Save changes');
+ $form['actions']['submit']['#value'] = $this->t('Save');
return $form;
}
diff --git a/core/modules/filter/src/Tests/FilterAdminTest.php b/core/modules/filter/src/Tests/FilterAdminTest.php
index 8d28465..abb7e80 100644
--- a/core/modules/filter/src/Tests/FilterAdminTest.php
+++ b/core/modules/filter/src/Tests/FilterAdminTest.php
@@ -130,7 +130,7 @@ class FilterAdminTest extends WebTestBase {
$edit = array(
"formats[$format_id][weight]" => 5,
);
- $this->drupalPostForm('admin/config/content/formats', $edit, t('Save changes'));
+ $this->drupalPostForm('admin/config/content/formats', $edit, t('Save'));
$this->assertFieldByName("formats[$format_id][weight]", 5, 'Text format weight was saved.');
// Edit text format.
diff --git a/core/modules/filter/src/Tests/FilterDefaultFormatTest.php b/core/modules/filter/src/Tests/FilterDefaultFormatTest.php
index 879119e..39a6295 100644
--- a/core/modules/filter/src/Tests/FilterDefaultFormatTest.php
+++ b/core/modules/filter/src/Tests/FilterDefaultFormatTest.php
@@ -48,7 +48,7 @@ class FilterDefaultFormatTest extends WebTestBase {
$edit = array();
$edit['formats[' . $first_format->id() . '][weight]'] = -2;
$edit['formats[' . $second_format->id() . '][weight]'] = -1;
- $this->drupalPostForm('admin/config/content/formats', $edit, t('Save changes'));
+ $this->drupalPostForm('admin/config/content/formats', $edit, t('Save'));
$this->resetFilterCaches();
// Check that each user's default format is the lowest weighted format that
@@ -64,7 +64,7 @@ class FilterDefaultFormatTest extends WebTestBase {
// default.
$edit = array();
$edit['formats[' . $second_format->id() . '][weight]'] = -3;
- $this->drupalPostForm('admin/config/content/formats', $edit, t('Save changes'));
+ $this->drupalPostForm('admin/config/content/formats', $edit, t('Save'));
$this->resetFilterCaches();
$this->assertEqual(filter_default_format($first_user), filter_default_format($second_user), 'After the formats are reordered, both users have the same default format.');
}
diff --git a/core/modules/shortcut/src/Form/SetCustomize.php b/core/modules/shortcut/src/Form/SetCustomize.php
index 443ff0a..89e5123 100644
--- a/core/modules/shortcut/src/Form/SetCustomize.php
+++ b/core/modules/shortcut/src/Form/SetCustomize.php
@@ -88,7 +88,7 @@ class SetCustomize extends EntityForm {
return array(
'submit' => array(
'#type' => 'submit',
- '#value' => t('Save changes'),
+ '#value' => t('Save'),
'#access' => (bool) Element::getVisibleChildren($form['shortcuts']['links']),
'#submit' => array('::submitForm', '::save'),
),
diff --git a/core/modules/shortcut/src/Tests/ShortcutSetsTest.php b/core/modules/shortcut/src/Tests/ShortcutSetsTest.php
index 0744053..3a04757 100644
--- a/core/modules/shortcut/src/Tests/ShortcutSetsTest.php
+++ b/core/modules/shortcut/src/Tests/ShortcutSetsTest.php
@@ -88,7 +88,7 @@ class ShortcutSetsTest extends ShortcutTestBase {
$weight--;
}
- $this->drupalPostForm(NULL, $edit, t('Save changes'));
+ $this->drupalPostForm(NULL, $edit, t('Save'));
$this->assertRaw(t('The shortcut set has been updated.'));
\Drupal::entityManager()->getStorage('shortcut')->resetCache();