From 5b5eba38ca98c6d77ace3618b4c5214a9f77358e Mon Sep 17 00:00:00 2001
From: Cyril Giraud
Date: Sun, 19 Oct 2014 00:26:09 +0200
Subject: [PATCH] Issue #20: setup.php and help.php fixed (to be reviewed) +
translations updates.
---
htdocs/help.php | 2 +-
htdocs/setup.php | 18 ++-
po/ar.po | 406 ++++++++++++++++++++++++++++++++++++++++++++++-
po/ca.po | 404 +++++++++++++++++++++++++++++++++++++++++++++-
po/cs_CZ.po | 404 +++++++++++++++++++++++++++++++++++++++++++++-
po/de.po | 404 +++++++++++++++++++++++++++++++++++++++++++++-
po/es_AR.po | 404 +++++++++++++++++++++++++++++++++++++++++++++-
po/es_ES.po | 404 +++++++++++++++++++++++++++++++++++++++++++++-
po/es_MX.po | 404 +++++++++++++++++++++++++++++++++++++++++++++-
po/es_VE.po | 404 +++++++++++++++++++++++++++++++++++++++++++++-
po/et.po | 404 +++++++++++++++++++++++++++++++++++++++++++++-
po/fi.po | 404 +++++++++++++++++++++++++++++++++++++++++++++-
po/fr.po | 402 +++++++++++++++++++++++++++++++++++++++++++++-
po/hu.po | 404 +++++++++++++++++++++++++++++++++++++++++++++-
po/id_ID.po | 404 +++++++++++++++++++++++++++++++++++++++++++++-
po/it.po | 404 +++++++++++++++++++++++++++++++++++++++++++++-
po/ja.po | 404 +++++++++++++++++++++++++++++++++++++++++++++-
po/ko_KR.po | 404 +++++++++++++++++++++++++++++++++++++++++++++-
po/messages.pot | 39 ++++-
po/nb_NO.po | 404 +++++++++++++++++++++++++++++++++++++++++++++-
po/nl.po | 404 +++++++++++++++++++++++++++++++++++++++++++++-
po/pl.po | 404 +++++++++++++++++++++++++++++++++++++++++++++-
po/pt_BR.po | 406 ++++++++++++++++++++++++++++++++++++++++++++++-
po/pt_PT.po | 404 +++++++++++++++++++++++++++++++++++++++++++++-
po/ru.po | 404 +++++++++++++++++++++++++++++++++++++++++++++-
po/sk_SK.po | 404 +++++++++++++++++++++++++++++++++++++++++++++-
po/sv.po | 404 +++++++++++++++++++++++++++++++++++++++++++++-
27 files changed, 9672 insertions(+), 85 deletions(-)
diff --git a/htdocs/help.php b/htdocs/help.php
index 298cb6b1..84daa5ec 100644
--- a/htdocs/help.php
+++ b/htdocs/help.php
@@ -5,7 +5,7 @@ $session->LoginRequired();
include("interactive-page.php");
-$c->page_title = "DAViCal CalDAV Server - Configuration Help";
+$c->page_title = translate('DAViCal CalDAV Server - Configuration Help');
include("page-header.php");
$wiki_help = '';
diff --git a/htdocs/setup.php b/htdocs/setup.php
index ac43670c..652f3615 100644
--- a/htdocs/setup.php
+++ b/htdocs/setup.php
@@ -390,12 +390,18 @@ else {
$site_statistics_table = "Statistics unavailable";
}
+$heading_php_info = translate('PHP Information');
+
$heading_config_clients = translate('Configuring Calendar Clients for DAViCal');
+$davical_client_page = translate('The client setup page on the DAViCal website has information on how to configure Evolution, Sunbird, Lightning and Mulberry to use remotely hosted calendars.');
+$davical_no_calendar_interface = translate('The administrative interface has no facility for viewing or modifying calendar data.');
$heading_config_davical = translate('Configuring DAViCal');
+$davical_moslty_working = translate ('If you can read this then things must be mostly working already.');
$davical_configuration_errors = ( $config_warnings == '' ? '' : ''
. translate('Your configuration produced PHP errors which should be corrected') . '
'
. $config_warnings.' '
);
+$davical_installation_page = translate('The installation page on the DAViCal website has some further information on how to install and configure this application.');
echo <<
$heading_config_davical
-If you can read this then things must be mostly working already.
+$davical_moslty_working
$davical_configuration_errors
-The installation page on the DAViCal website has
-some further information on how to install and configure this application.
+$davical_installation_page
$heading_config_clients
-The client setup page on the DAViCal website has information on how
-to configure Evolution, Sunbird, Lightning and Mulberry to use remotely hosted calendars.
-The administrative interface has no facility for viewing or modifying calendar data.
+$davical_client_page
+$davical_no_calendar_interface
$heading_site_statistics
$site_statistics_table
-PHP Information
+$heading_php_info