From e656dcd46abfe069ea83271248dbd7aae36554ca Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Sat, 23 Feb 2008 13:40:45 +0100 Subject: use strftime() instead of date() FS#1335 :!: This patch replaces the use of the date() function with the strftime() function. The latter will respect a set locale and will use localized strings for things like month names. Because the format options for strftime differ from the ones used in date, DokuWiki will rest the value of $conf['dformat'] if it contains an old date format string (detected by missing % characters). Plugins or templates using the $conf['dformat'] need to be updated. darcs-hash:20080223124045-7ad00-6afb2b839afc58781463e25577e06adb675fff79.gz --- lib/plugins/config/lang/cs/lang.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/plugins/config/lang/cs') diff --git a/lib/plugins/config/lang/cs/lang.php b/lib/plugins/config/lang/cs/lang.php index 1b1175bae..1c08e50ee 100644 --- a/lib/plugins/config/lang/cs/lang.php +++ b/lib/plugins/config/lang/cs/lang.php @@ -50,7 +50,7 @@ $lang['youarehere'] = 'Hierarchická "drobečková" navigace'; $lang['typography'] = 'Provádět typografické nahrazování'; $lang['htmlok'] = 'Povolit vložené HTML'; $lang['phpok'] = 'Povolit vložené PHP'; -$lang['dformat'] = 'Formát data (viz PHP funkci date)'; +$lang['dformat'] = 'Formát data (viz PHP funkci strftime)'; $lang['signature'] = 'Podpis'; $lang['toptoclevel'] = 'Nejvyšší úroveň, kterou začít automaticky generovaný obsah'; $lang['maxtoclevel'] = 'Maximální počet úrovní v automaticky generovaném obsahu'; -- cgit v1.2.3