X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fcommon.php;h=ca02a3e7fbc8f7854b570f059bc19abca950198a;hb=1d29ba83150bdd7a23e497ca9a743ac2b6158b6f;hp=ada48b339d5020c34d60e274e49385ed4d5eda2e;hpb=faedddaa817cde70c8ab55803e68454d126e5936;p=quix0rs-gnu-social.git diff --git a/lib/common.php b/lib/common.php index ada48b339d..ca02a3e7fb 100644 --- a/lib/common.php +++ b/lib/common.php @@ -1,7 +1,7 @@ '. _('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. + echo '

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

'; + // 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; } - -// XXX: other formats here - -define('NICKNAME_FMT', VALIDATE_NUM.VALIDATE_ALPHA_LOWER);