Skip to content

Commit

Permalink
Change button labels
Browse files Browse the repository at this point in the history
  • Loading branch information
phalkunz committed Jul 21, 2017
1 parent a772c8f commit ec321c7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions client/lang/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if (typeof(ss) === 'undefined' || typeof(ss.i18n) === 'undefined') {
}
} else {
ss.i18n.addDictionary('en', {
"CampaignAdmin.ADDCAMPAIGN": "Add campaign",
"CampaignAdmin.ADDCAMPAIGN": "Add new",
"CampaignAdmin.DELETECAMPAIGN": "Are you sure you want to delete this record?",
"CampaignAdmin.DRAFT": "Draft",
"CampaignAdmin.ITEM_SUMMARY_PLURAL": "%s items",
Expand All @@ -17,4 +17,4 @@ if (typeof(ss) === 'undefined' || typeof(ss.i18n) === 'undefined') {
"CampaignAdmin.REMOVED": "Removed",
"CampaignAdmin.REVERTCAMPAIGN": "Revert"
});
}
}
4 changes: 2 additions & 2 deletions client/lang/src/en.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"CampaignAdmin.ADDCAMPAIGN": "Add campaign",
"CampaignAdmin.ADDCAMPAIGN": "Add new",
"CampaignAdmin.DELETECAMPAIGN": "Are you sure you want to delete this record?",
"CampaignAdmin.DRAFT": "Draft",
"CampaignAdmin.ITEM_SUMMARY_PLURAL": "%s items",
Expand All @@ -9,4 +9,4 @@
"CampaignAdmin.PUBLISHCAMPAIGN": "Publish campaign",
"CampaignAdmin.REMOVED": "Removed",
"CampaignAdmin.REVERTCAMPAIGN": "Revert"
}
}
2 changes: 1 addition & 1 deletion lang/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ en:
CANCEL: Cancel
ERROR_DUPLICATE_NAME: 'Name "{Name}" already exists'
MENUTITLE: Campaigns
SAVE: Save
SAVE: Create
SAVEDERROR: Error.
SAVEDUP: Saved.
2 changes: 1 addition & 1 deletion src/CampaignAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ public function getCampaignCreateForm()
'campaignCreateForm',
$fields,
FieldList::create(
FormAction::create('save', _t(__CLASS__.'.SAVE', 'Save'))
FormAction::create('save', _t(__CLASS__.'.SAVE', 'Create'))
->setIcon('save'),
FormAction::create('cancel', _t(__CLASS__.'.CANCEL', 'Cancel'))
->setUseButtonTag(true)
Expand Down

0 comments on commit ec321c7

Please sign in to comment.