Index: trunk/extensions/SignDocument/SpecialSignDocument.i18n.php |
— | — | @@ -65,8 +65,8 @@ |
66 | 66 | 'sign-viewsignatures' => 'view signatures', |
67 | 67 | 'sign-closed' => 'closed', |
68 | 68 | 'sign-error-closed' => 'Signing of this document is currently disabled.', |
69 | | - 'sig-anonymous' => '<i>Anonymous</i>', |
70 | | - 'sig-private' => '<i>Private</i>', |
| 69 | + 'sig-anonymous' => "''Anonymous''", |
| 70 | + 'sig-private' => "''Private''", |
71 | 71 | 'sign-sigdetails' => 'Signature details', |
72 | 72 | 'sign-emailto' => '<a href="mailto:$1">$1</a>', |
73 | 73 | 'sign-iptools' => '<span class="plainlinksneverexpand"><!-- |
Index: trunk/extensions/SignDocument/SpecialSignDocument.php |
— | — | @@ -620,7 +620,7 @@ |
621 | 621 | |
622 | 622 | private function getDetailTableRow( $fieldid, $val, $priv = false ) { |
623 | 623 | return '<tr><td><strong>' . wfMsg( "sign-viewfield-$fieldid" ) . ':</strong></td><td>' |
624 | | - . $val . ( ( $priv ) ? ( ' (' . wfMsg( 'sig-private' ) . ')' ):'' ) . '</td></tr>'; |
| 624 | + . $val . ( ( $priv ) ? wfMsg( 'parentheses', wfMsgExt( 'sig-private', 'parseinline' ) ) : '' ) . '</td></tr>'; |
625 | 625 | } |
626 | 626 | |
627 | 627 | private function runDetailUniqueQuery( $sig ) { |
Index: trunk/extensions/SignDocument/SignDocumentHelpers.php |
— | — | @@ -1,5 +1,4 @@ |
2 | | -<?PHP |
3 | | - |
| 2 | +<?php |
4 | 3 | /** |
5 | 4 | * Helper classes for the SignDocument extensions. This file provides the classes |
6 | 5 | * SignDocumentForm, which represents a document signing form generated by a |
— | — | @@ -624,47 +623,47 @@ |
625 | 624 | } |
626 | 625 | |
627 | 626 | public function getRealName() { |
628 | | - return ( $this->canView( 'realname' ) ) ? $this->mRealName:wfMsg( 'sig-anonymous' ); |
| 627 | + return ( $this->canView( 'realname' ) ) ? $this->mRealName : wfMsgExt( 'sig-anonymous', 'parseinline' ); |
629 | 628 | } |
630 | 629 | |
631 | 630 | public function getAddress() { |
632 | | - return ( $this->canView( 'address' ) ) ? $this->mAddress:wfMsg( 'sig-private' ); |
| 631 | + return ( $this->canView( 'address' ) ) ? $this->mAddress : wfMsgExt( 'sig-private', 'parseinline' ); |
633 | 632 | } |
634 | 633 | |
635 | 634 | public function getCity() { |
636 | | - return ( $this->canView( 'extaddress' ) ) ? $this->mCity:wfMsg( 'sig-private' ); |
| 635 | + return ( $this->canView( 'extaddress' ) ) ? $this->mCity : wfMsgExt( 'sig-private', 'parseinline' ); |
637 | 636 | } |
638 | 637 | |
639 | 638 | public function getState() { |
640 | | - return ( $this->canView( 'extaddress' ) ) ? $this->mState:wfMsg( 'sig-private' ); |
| 639 | + return ( $this->canView( 'extaddress' ) ) ? $this->mState : wfMsgExt( 'sig-private', 'parseinline' ); |
641 | 640 | } |
642 | 641 | |
643 | 642 | public function getCountry() { |
644 | | - return ( $this->canView( 'extaddress' ) ) ? $this->mCountry:wfMsg( 'sig-private' ); |
| 643 | + return ( $this->canView( 'extaddress' ) ) ? $this->mCountry : wfMsgExt( 'sig-private', 'parseinline' ); |
645 | 644 | } |
646 | 645 | |
647 | 646 | public function getZip() { |
648 | | - return ( $this->canView( 'extaddress' ) ) ? $this->mZip:wfMsg( 'sig-private' ); |
| 647 | + return ( $this->canView( 'extaddress' ) ) ? $this->mZip : wfMsgExt( 'sig-private', 'parseinline' ); |
649 | 648 | } |
650 | 649 | |
651 | 650 | public function getPhone() { |
652 | | - return ( $this->canView( 'phone' ) ) ? $this->mPhone:wfMsg( 'sig-private' ); |
| 651 | + return ( $this->canView( 'phone' ) ) ? $this->mPhone : wfMsgExt( 'sig-private', 'parseinline' ); |
653 | 652 | } |
654 | 653 | |
655 | 654 | public function getEmail() { |
656 | | - return ( $this->canView( 'email' ) ) ? $this->mEmail:wfMsg( 'sig-private' ); |
| 655 | + return ( $this->canView( 'email' ) ) ? $this->mEmail : wfMsg( 'sig-private', 'parseinline' ); |
657 | 656 | } |
658 | 657 | |
659 | 658 | public function getBday() { |
660 | | - return ( $this->canView( 'bday' ) ) ? $this->mBday:wfMsg( 'sig-private' ); |
| 659 | + return ( $this->canView( 'bday' ) ) ? $this->mBday : wfMsg( 'sig-private', 'parseinline' ); |
661 | 660 | } |
662 | 661 | |
663 | 662 | public function getIp() { |
664 | | - return ( $this->isPrivileged() ) ? $this->mIp:wfMsg( 'sig-private' ); |
| 663 | + return ( $this->isPrivileged() ) ? $this->mIp : wfMsgExt( 'sig-private', 'parseinline' ); |
665 | 664 | } |
666 | 665 | |
667 | 666 | public function getAgent() { |
668 | | - return ( $this->isPrivileged() ) ? $this->mAgent:wfMsg( 'sig-private' ); |
| 667 | + return ( $this->isPrivileged() ) ? $this->mAgent : wfMsgExt( 'sig-private', 'parseinline' ); |
669 | 668 | } |
670 | 669 | |
671 | 670 | public function getReviewedBy() { |