From b9177f5e2e3f9697ef1d2863c827d03154ff828e Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Wed, 29 Sep 2010 00:39:45 +0200 Subject: * i18n/L10n and translator documentation updates. * whitespace and indentation updates --- lib/common.php | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'lib/common.php') diff --git a/lib/common.php b/lib/common.php index e08d530f0..236f2d68a 100644 --- a/lib/common.php +++ b/lib/common.php @@ -132,11 +132,17 @@ try { } catch (NoConfigException $e) { // XXX: Throw a conniption if database not installed // XXX: Find a way to use htmlwriter for this instead of handcoded markup + // TRANS: Error message displayed when no configuration file was found for a StatusNet installation. echo '

'. _('No configuration file found. ') .'

'; - echo '

'. _('I looked for configuration files in the following places: ') .'
'; - echo implode($e->configFiles, '
'); + // TRANS: Error message displayed when no configuration file was found for a StatusNet installation. + // TRANS: Is followed by a list of directories (separated by HTML breaks). + echo '

'. _('I looked for configuration files in the following places: ') .'
'; + echo implode($e->configFiles, '
'); + // TRANS: Error message displayed when no configuration file was found for a StatusNet installation. echo '

'. _('You may wish to run the installer to fix this.') .'

'; + // @todo FIXME Link should be in a para? + // TRANS: Error message displayed when no configuration file was found for a StatusNet installation. + // TRANS: The text is link text that leads to the installer page. echo ''. _('Go to the installer.') .''; exit; } - -- cgit v1.2.3-54-g00ecf