1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-02 02:40:58 +01:00

T6883, Button to save document in legalpad should say "Save Document" instead of "Edit Document"

Summary: Fixes T6883, Legalpad action button on edit document page should say "Save Document" instead of "Edit Document"

Test Plan: Open Legalpad, open existing document, blue action button should say "Save Document"

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T6883

Differential Revision: https://secure.phabricator.com/D11291
This commit is contained in:
lkassianik 2015-01-08 16:11:53 -08:00 committed by epriestley
parent 638cf20c9d
commit 4aea5325fd

View file

@ -189,7 +189,7 @@ final class LegalpadDocumentEditController extends LegalpadController {
$title = pht('Create Document'); $title = pht('Create Document');
$short = pht('Create'); $short = pht('Create');
} else { } else {
$submit->setValue(pht('Edit Document')); $submit->setValue(pht('Save Document'));
$submit->addCancelButton( $submit->addCancelButton(
$this->getApplicationURI('view/'.$document->getID())); $this->getApplicationURI('view/'.$document->getID()));
$title = pht('Edit Document'); $title = pht('Edit Document');