Index: trunk/phase3/languages/Language.php |
— | — | @@ -1940,7 +1940,8 @@ |
1941 | 1941 | |
1942 | 1942 | if ( $value > 0 || ( $name == 'seconds' && empty( $segments ) ) ) { |
1943 | 1943 | $seconds -= $value * $length; |
1944 | | - $segments[] = wfMsgExt( 'duration-' . $name, 'parsemag', $value ); |
| 1944 | + $message = new Message( 'duration-' . $name, array( $value ) ); |
| 1945 | + $segments[] = $message->inLanguage( $this )->escaped(); |
1945 | 1946 | } |
1946 | 1947 | } |
1947 | 1948 | |