@@ 178-184 (lines=7) @@ | ||
175 | $this->json[$realName] = $value; |
|
176 | } |
|
177 | ||
178 | protected function handleMessagesDirs( $realName, $value ) { |
|
179 | foreach ( $value as $key => $dirs ) { |
|
180 | foreach ( (array)$dirs as $dir ) { |
|
181 | $this->json[$realName][$key][] = $this->stripPath( $dir, $this->dir ); |
|
182 | } |
|
183 | } |
|
184 | } |
|
185 | ||
186 | protected function handleExtensionMessagesFiles( $realName, $value, $vars ) { |
|
187 | foreach ( $value as $key => $file ) { |
|
@@ 212-218 (lines=7) @@ | ||
209 | return $val; |
|
210 | } |
|
211 | ||
212 | protected function removeAbsolutePath( $realName, $value ) { |
|
213 | $out = []; |
|
214 | foreach ( $value as $key => $val ) { |
|
215 | $out[$key] = $this->stripPath( $val, $this->dir ); |
|
216 | } |
|
217 | $this->json[$realName] = $out; |
|
218 | } |
|
219 | ||
220 | protected function handleCredits( $realName, $value ) { |
|
221 | $keys = array_keys( $value ); |