Index: trunk/tools/ToolserverI18N/public_html/index.php |
— | — | @@ -167,23 +167,23 @@ |
168 | 168 | // 29+ days |
169 | 169 | if ( $lifetime > 29*24*3600 ) { |
170 | 170 | $class = 'perfect'; |
171 | | - $time = floor( $lifetime/3600/24/7 ) . '+ ' . _g('weeks'); |
| 171 | + $time = floor( $lifetime/3600/24/7 ) . '+ ' . _g( 'weeks', array( 'parsemag' => true ) ); |
172 | 172 | |
173 | 173 | // 10+ days |
174 | 174 | } elseif ( $lifetime > 10*24*3600 ) { |
175 | 175 | $class = 'good'; |
176 | | - $time = floor( $lifetime/3600/24 ) . '+ ' . _g('days'); |
| 176 | + $time = floor( $lifetime/3600/24 ) . '+ ' . _g( 'days', array( 'parsemag' => true ) ); |
177 | 177 | |
178 | 178 | // 1+ day |
179 | 179 | } elseif ( $lifetime > 24*3600 ) { |
180 | 180 | $class = 'bad'; |
181 | | - $time = floor( $lifetime/3600/24 ) . '+ ' . _g('days'); |
| 181 | + $time = floor( $lifetime/3600/24 ) . '+ ' . _g( 'days', array( 'parsemag' => true ) ); |
182 | 182 | $after = $renew; |
183 | 183 | |
184 | 184 | // Less than a day |
185 | 185 | } else { |
186 | 186 | $class = 'worst'; |
187 | | - $time = '<' . ceil( $lifetime/3600 ) . ' ' . _g('hours'); |
| 187 | + $time = '<' . ceil( $lifetime/3600 ) . ' ' . _g( 'hours', array( 'parsemag' => true ) ); |
188 | 188 | $after = $renew; |
189 | 189 | |
190 | 190 | } |
— | — | @@ -199,7 +199,7 @@ |
200 | 200 | . ')<br />' |
201 | 201 | . kfTag( _( 'cookie-expiration' ) . _g( 'colon-separator' ), 'label' ) . kfTag( '', 'input', array( 'value' => $time, 'class' => "cookie-health $class", 'readonly' => 'readonly' ) ) |
202 | 202 | . ' (' |
203 | | - . kfTag( _( 'renew-cookies', array( 'parsemag' => true ) ), 'a', array( 'href' => $Tool->generatePermalink( array( 'action' => 'renewcookies' ) ) ) ) |
| 203 | + . kfTag( _( 'renew-cookies' ), 'a', array( 'href' => $Tool->generatePermalink( array( 'action' => 'renewcookies' ) ) ) ) |
204 | 204 | . ')<br />' |
205 | 205 | . $after |
206 | 206 | . '</div></fieldset></form></div><!-- #tab-currentsettings -->' |