[wp-hackers] Re: [wp-svn] [5606] trunk/wp-settings.php: Localize
the "you haven't installed WP yet" message.
Nikolay Bachiyski
nbachiyski at developer.bg
Thu May 31 06:03:01 GMT 2007
2007/5/31, m at wordpress.org <m at wordpress.org>:
>
>
> Revision 5606 Author rob1n Date 2007-05-31 02:03:22 +0000 (Thu, 31 May
> 2007)
> Log Message Localize the "you haven't installed WP yet" message. fixes #4370
>
> Modified Paths
>
> trunk/wp-settings.php
>
> Diff
> Modified: trunk/wp-settings.php (5605 => 5606)
> --- trunk/wp-settings.php 2007-05-31 01:57:10 UTC (rev 5605)
> +++ trunk/wp-settings.php 2007-05-31 02:03:22 UTC (rev 5606)
> @@ -146,7 +146,11 @@
> $link = 'install.php';
> else
> $link = 'wp-admin/install.php';
> - wp_die(sprintf("It doesn't look like you've installed WP yet. Try running
> <a href='%s'>install.php</a>.", $link));
> +
> + wp_die( sprintf(
> + __( 'It doesn’t look like you’ve installed WP yet. Try running
> <a href="%s">install.php</a>.' ),
> + $link
> + ) );
> }
The text domain is not still loaded at this time. We have discussed
that with Ryan before and it would better stay the old way for now --
uninternationalized.
Nikolay.
More information about the wp-hackers
mailing list