summaryrefslogtreecommitdiffstats
path: root/lib/private/util.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-01-22 14:52:47 +0100
committerMorris Jobke <hey@morrisjobke.de>2015-01-22 14:52:47 +0100
commit55c28608c998c2a09ae572186ccff2075a768843 (patch)
tree92e2500951c8222831e2b0e466cd2688f553e8a8 /lib/private/util.php
parentbb80cf4ecab3a92541bf9c2fccaa204b6ea914f9 (diff)
downloadnextcloud-server-55c28608c998c2a09ae572186ccff2075a768843.tar.gz
nextcloud-server-55c28608c998c2a09ae572186ccff2075a768843.zip
translate error messages
Diffstat (limited to 'lib/private/util.php')
-rw-r--r--lib/private/util.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/private/util.php b/lib/private/util.php
index a4d3b558ce0..2ec526cf35e 100644
--- a/lib/private/util.php
+++ b/lib/private/util.php
@@ -638,15 +638,15 @@ class OC_Util {
if(version_compare(phpversion(), '5.6.0', '>=') &&
\OC::$server->getIniWrapper()->getNumeric('always_populate_raw_post_data') !== -1) {
$errors[] = array(
- 'error' => 'PHP is configured to populate raw post data. Since PHP 5.6 this will lead to PHP throwing notices for perfectly valid code.',
- 'hint' => 'To fix this issue set <code>always_populate_raw_post_data</code> to <code>-1</code> in your php.ini'
+ 'error' => $l->t('PHP is configured to populate raw post data. Since PHP 5.6 this will lead to PHP throwing notices for perfectly valid code.'),
+ 'hint' => $l->t('To fix this issue set <code>always_populate_raw_post_data</code> to <code>-1</code> in your php.ini')
);
}
if (!self::isAnnotationsWorking()) {
$errors[] = array(
- 'error' => 'PHP is apparently setup to strip inline doc blocks. This will make several core apps inaccessible.',
- 'hint' => 'This is probably caused by a cache/accelerator such as Zend OPcache or eAccelerator.'
+ 'error' => $l->t('PHP is apparently setup to strip inline doc blocks. This will make several core apps inaccessible.'),
+ 'hint' => $l->t('This is probably caused by a cache/accelerator such as Zend OPcache or eAccelerator.')
);
}