diff --git a/app/inc/i18n.php b/app/inc/i18n.php index a7de10d..dde6247 100644 --- a/app/inc/i18n.php +++ b/app/inc/i18n.php @@ -39,11 +39,11 @@ if (isset($_POST['lang']) && is_string($_POST['lang']) && in_array($_POST['lang' $html_lang = substr($locale, 0, 2); /* Date Format */ -$date_format['txt_full'] = _('%A, den %e. %B %Y'); //summary in choix_date.php and removal date in choix_(date|autre).php -$date_format['txt_short'] = _('%A %e %B %Y'); // radio title -$date_format['txt_day'] = _('%a %e'); -$date_format['txt_date'] = _('%Y-%m-%d'); -$date_format['txt_year_month'] = _('%B %Y'); +$date_format['txt_full'] = __('Date\\FULL'); //summary in choix_date.php and removal date in choix_(date|autre).php +$date_format['txt_short'] = __('Date\\SHORT'); // radio title +$date_format['txt_day'] = __('Date\\DAY'); +$date_format['txt_date'] = __('Date\\DATE'); +$date_format['txt_month_year'] = __('Date\\MONTH_YEAR'); if (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN') { //%e can't be used on Windows platform, use %#d instead foreach ($date_format as $k => $v) { $date_format[$k] = preg_replace('#(?title) || empty($_SESSION['form']->admin_name) || (($config['use_smtp']) ? empty($_SESSION['form']->admin_mail) : false)) { - Utils::print_header(_("Error!")); - bandeau_titre(_("Error!")); + Utils::print_header(__("Error!")); + bandeau_titre(__("Error!")); echo '
' . _('Back to the homepage of') . ' ' . NOMAPPLICATION . '
+' . __('Back to the homepage of') . ' ' . NOMAPPLICATION . '
' . _('Your poll will be automatically removed after') . ' ' . $config['default_poll_duration'] . ' ' . _('days') . '.
' . _('You can set a closer removal date for it.') . '
' . __('Step 3\\Your poll will be automatically removed after') . ' ' . $config['default_poll_duration'] . ' ' . __('Generic\\days') . '.
' . __('Step 3\\You can set a closer removal date for it.') . '
' . _('Once you have confirmed the creation of your poll, you will be automatically redirected on the administration page of your poll.') . '
'; +' . __('Step 3\\Once you have confirmed the creation of your poll, you will be automatically redirected on the administration page of your poll.') . '
'; if ($config['use_smtp'] == true) { echo ' -' . _('Then, you will receive quickly two emails: one contening the link of your poll for sending it to the voters, the other contening the link to the administration page of your poll.') . '
'; +' . __('Step 3\\Then, you will receive quickly two emails: one contening the link of your poll for sending it to the voters, the other contening the link to the administration page of your poll.') . '
'; } echo '- - + +