Index: trunk/extensions/Translate/scripts/sync-group.php |
— | — | @@ -45,7 +45,7 @@ |
46 | 46 | exit( 1 ); |
47 | 47 | } |
48 | 48 | |
49 | | -// In case both group and groupprefix would be set, MessageGroups::getMessageGroups |
| 49 | +// In case both group and groupprefix would be set, MessageGroups::getGroups |
50 | 50 | // will give preference to groupIds. |
51 | 51 | $groupIds = isset( $options['group'] ) ? explode( ',', trim( $options['group'] ) ) : null; |
52 | 52 | $groupPrefix = isset( $options['groupprefix'] ) ? $options['groupprefix'] : null; |
Index: trunk/extensions/Translate/scripts/export.php |
— | — | @@ -88,11 +88,11 @@ |
89 | 89 | |
90 | 90 | $reqLangs = Cli::parseLanguageCodes( $options['lang'] ); |
91 | 91 | |
92 | | -// In case both group and groupprefix would be set, MessageGroups::getMessageGroups |
| 92 | +// In case both group and groupprefix would be set, MessageGroups::getGroups |
93 | 93 | // will give preference to groupIds. |
94 | 94 | $groupIds = isset( $options['group'] ) ? explode( ',', trim( $options['group'] ) ) : null; |
95 | 95 | $groupPrefix = isset( $options['groupprefix'] ) ? $options['groupprefix'] : null; |
96 | | -$groups = MessageGroups::getMessageGroups( $groupIds, $groupPrefix ); |
| 96 | +$groups = MessageGroups::getGroups( $groupIds, $groupPrefix ); |
97 | 97 | |
98 | 98 | if ( !count( $groups ) ) { |
99 | 99 | STDERR( "No valid message groups identified." ); |