]> source.dussan.org Git - nextcloud-server.git/commitdiff
Merge pull request #14326 from owncloud/remove-unnessary-backslashes-from-translation
authorMorris Jobke <hey@morrisjobke.de>
Wed, 4 Mar 2015 08:58:42 +0000 (09:58 +0100)
committerMorris Jobke <hey@morrisjobke.de>
Wed, 4 Mar 2015 08:58:42 +0000 (09:58 +0100)
Remove unnecessary backslashes from translations

1  2 
lib/private/app.php

index 97b975d24537e2226bfe075dddbff8febd2ed269,8e334bedba9901e3eb055ce9988a835df4e46362..e39165695cfd78d81715afd3680e2861ff2ffe1d
@@@ -1062,13 -1100,13 +1062,13 @@@ class OC_App 
                        $app = self::downloadApp($app);
                }
  
 -              if($app!==false) {
 +              if ($app !== false) {
                        // check if the app is compatible with this version of ownCloud
                        $info = self::getAppInfo($app);
 -                      $version=OC_Util::getVersion();
 -                      if(!self::isAppCompatible($version, $info)) {
 +                      $version = OC_Util::getVersion();
 +                      if (!self::isAppCompatible($version, $info)) {
                                throw new \Exception(
-                                       $l->t('App \"%s\" can\'t be installed because it is not compatible with this version of ownCloud.',
+                                       $l->t('App "%s" cannot be installed because it is not compatible with this version of ownCloud.',
                                                array($info['name'])
                                        )
                                );
                        // check for required dependencies
                        $dependencyAnalyzer = new DependencyAnalyzer(new Platform($config), $l);
                        $missing = $dependencyAnalyzer->analyze($app);
 -                      if(!empty($missing)) {
 +                      if (!empty($missing)) {
                                $missingMsg = join(PHP_EOL, $missing);
                                throw new \Exception(
-                                       $l->t('App \"%s\" cannot be installed because the following dependencies are not fulfilled: %s',
+                                       $l->t('App "%s" cannot be installed because the following dependencies are not fulfilled: %s',
                                                array($info['name'], $missingMsg)
                                        )
                                );