X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FConsole%2FPhpToPo.php;h=9acea8539313b0fd2284aa02d541daf6909a46bc;hb=0b1f67f5b33cd9a57e9bebeec76cbb8898f2ab27;hp=b88ef023eab600739fe1f9abe0a255a879193711;hpb=c8a322baf0b95ea15bfa8031d77a555b2a13f0bf;p=friendica.git diff --git a/src/Console/PhpToPo.php b/src/Console/PhpToPo.php index b88ef023ea..9acea85393 100644 --- a/src/Console/PhpToPo.php +++ b/src/Console/PhpToPo.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Console; @@ -6,8 +25,6 @@ use Friendica\App; /** * Read a strings.php file and create messages.po in the same directory - * - * @author Hypolite Petovan */ class PhpToPo extends \Asika\SimpleConsole\Console { @@ -46,7 +63,7 @@ HELP; return $help; } - protected function doExecute() + protected function doExecute(): int { if ($this->getOption('v')) { $this->out('Class: ' . __CLASS__); @@ -82,7 +99,7 @@ HELP; $out = ''; $out .= "# FRIENDICA Distributed Social Network\n"; - $out .= "# Copyright (C) 2010, 2011, 2012, 2013 the Friendica Project\n"; + $out .= "# Copyright (C) 2010-2023, the Friendica project\n"; $out .= "# This file is distributed under the same license as the Friendica package.\n"; $out .= "# \n"; $out .= 'msgid ""' . "\n";