Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Commit

Permalink
Updated translations and small bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dschissler committed Jan 9, 2015
1 parent 2e39727 commit dfe8d88
Show file tree
Hide file tree
Showing 7 changed files with 243 additions and 271 deletions.
288 changes: 141 additions & 147 deletions app/locale/de_DE/LC_MESSAGES/messages.po

Large diffs are not rendered by default.

214 changes: 98 additions & 116 deletions app/locale/ru_RU/LC_MESSAGES/messages.po

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion app/phalcon/common/library/CLI/Console.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,11 @@ public function handle($arguments = null)
} catch (PrintHelpException $e) {
if ($e->getCode() == 1) {
$this->printHelpRecommend($e->getMessage());
exit(1);
} else {
$this->printHelp($e->getCmdDef(), $e->getSpecs());
exit(0);
}
exit(1);
}
}

Expand Down
3 changes: 0 additions & 3 deletions app/phalcon/common/library/CLI/Task.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,11 @@ protected function isSystemUserInGroup($userName, $groupName)
{
$userNameEsc = escapeshellarg($userName);
$cmd = "groups $userNameEsc";
// echo "$cmd\n";
exec($cmd, $output, $ret);
if ($ret !== 0) {
error_log('Unable to determine the groups this user belongs to.');
exit(1);
}
// echo $output[0] . "\n";

$parts = explode(':', $output[0]);
$parts = trim($parts[1]);
Expand Down Expand Up @@ -281,5 +279,4 @@ private function changeProcessToWebUser()
return true;
}


}
1 change: 0 additions & 1 deletion app/phalcon/common/views/layouts/userspublic.volt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
</div>
</div>
{{ content() }}
</div>
{% if DEV %}<!--DEBUG_PANEL-->{% endif %}
</body>
</html>
1 change: 0 additions & 1 deletion app/phalcon/modules/cli/tasks/UserTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ public function createAction($argv)
$opts = $params['opts'];

$emailParts = mailparse_rfc822_parse_addresses($emailRaw);
error_log(var_export($emailParts, true));
if (empty($emailParts) || $emailParts[0]['display'] == $emailParts[0]['address']) {
throw new ArgumentValidationException('Email must be in form: display <address>', 1);
}
Expand Down
4 changes: 2 additions & 2 deletions dev/gulpfile.webpack.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ wpConf =
'.js', '.coffee'
'.html', '.hbs'
'.css', '.scss', '.less'
'.json', '.yaml'
'.json', '.yml', '.yaml'
]

resolveLoader:
Expand Down Expand Up @@ -133,7 +133,7 @@ wpConf =
}
{
# YAML Loader
test: /\.yaml$/
test: /\.(yaml|yml)$/
loader: "json!yaml"
}
{
Expand Down

0 comments on commit dfe8d88

Please sign in to comment.