stable

Clone or download

Read-only

Remove some bad usages of Language->getText in docman

This prevents automation of tab2gettext. This change targets mostly: * approval tables * report & filters * Default title of root folder After that there is still 20 remaining bad usages of getText in docman. $ php tab2gettext broken-gettext-usage --src-dir $HOME/tuleap/plugins/docman Part of request #14656: Bad usage of Language->getText() in docman Change-Id: I5db543bf2d0ac277732087bb0f11221b552dbea6

Modified Files

Name
M plugins/docman/include/ApprovalTable/Factory.class.php +22 −2 Go to diff View file
M plugins/docman/include/ApprovalTable/Reviewer/ReviewerFactory.class.php +31 −2 Go to diff View file
M plugins/docman/include/Docman_Actions.class.php +12 −2 Go to diff View file
M plugins/docman/include/Docman_Controller.class.php +8 −17 Go to diff View file
M plugins/docman/include/Docman_FilterFactory.class.php +2 −1 Go to diff View file
M plugins/docman/include/Docman_HTTPController.class.php +2 −2 Go to diff View file
M plugins/docman/include/Docman_Item.class.php +2 −2 Go to diff View file
M plugins/docman/include/view/Docman_View_ItemDetailsSectionApproval.class.php +26 −7 Go to diff View file
M plugins/docman/include/view/Docman_View_ItemDetailsSectionApprovalCreate.class.php +18 −8 Go to diff View file
M plugins/docman/include/view/Docman_View_ReportSettings.class.php +10 −2 Go to diff View file