From 041c93ce0bc00cb6417ce2e4bdce2ed84d37f50a Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Tue, 22 May 2012 12:31:37 +0200 Subject: Removed $Id$ --- bin/cleandb.sh | 4 ---- bin/decrypt.sh | 3 --- bin/dumpschema.sh | 4 ---- bin/exportgettext.sh | 6 +----- bin/importgettext.sh | 13 ++++--------- bin/indexcontacts.sh | 4 ---- bin/installto.sh | 3 --- bin/update.sh | 3 --- 8 files changed, 5 insertions(+), 35 deletions(-) (limited to 'bin') diff --git a/bin/cleandb.sh b/bin/cleandb.sh index 174cbb1f5..ecf258320 100755 --- a/bin/cleandb.sh +++ b/bin/cleandb.sh @@ -1,7 +1,6 @@ #!/usr/bin/env php | +-----------------------------------------------------------------------+ - - $Id$ - */ define('INSTALL_PATH', realpath(dirname(__FILE__) . '/..') . '/' ); diff --git a/bin/decrypt.sh b/bin/decrypt.sh index d257f9bb4..95fdefc42 100755 --- a/bin/decrypt.sh +++ b/bin/decrypt.sh @@ -1,7 +1,6 @@ #!/usr/bin/env php | +-----------------------------------------------------------------------+ - - $Id$ */ /*- diff --git a/bin/dumpschema.sh b/bin/dumpschema.sh index e44b292a8..6d5cde723 100755 --- a/bin/dumpschema.sh +++ b/bin/dumpschema.sh @@ -1,7 +1,6 @@ #!/usr/bin/env php | +-----------------------------------------------------------------------+ - - $Id$ - */ define('INSTALL_PATH', realpath(dirname(__FILE__) . '/..') . '/' ); diff --git a/bin/exportgettext.sh b/bin/exportgettext.sh index c1e6302f1..f4a3fdbf3 100755 --- a/bin/exportgettext.sh +++ b/bin/exportgettext.sh @@ -1,7 +1,6 @@ #!/usr/bin/env php | +-----------------------------------------------------------------------+ - - $Id$ - */ define('INSTALL_PATH', realpath(dirname(__FILE__) . '/..') . '/' ); @@ -205,7 +201,7 @@ EOF; $msgid = $is_pot ? $msgstr : ($GLOBALS['en_US'][$label] ?: $label); $messages[$msgid][] = $label; } - + foreach ($messages as $msgid => $labels) { $out .= "\n"; foreach ($labels as $label) diff --git a/bin/importgettext.sh b/bin/importgettext.sh index aab61013b..a63ac0054 100755 --- a/bin/importgettext.sh +++ b/bin/importgettext.sh @@ -1,7 +1,6 @@ #!/usr/bin/env php | +-----------------------------------------------------------------------+ - - $Id$ - */ define('INSTALL_PATH', realpath(dirname(__FILE__) . '/..') . '/' ); @@ -39,7 +35,7 @@ else if (is_file($srcdir)) { foreach ($out as $outfn => $texts) { $lang = preg_match('!/([a-z]{2}(_[A-Z]{2})?)[./]!', $outfn, $m) ? $m[1] : ''; $varname = strpos($outfn, 'messages.inc') !== false ? 'messages' : 'labels'; - + $header = << $texts) { +-----------------------------------------------------------------------+ | Author: %-62s| +-----------------------------------------------------------------------+ - @version %s$ */ $%s = array(); EOF; - $output = sprintf($header, $lang, $varname.'.inc', date('Y'), $texts['_translator'], '$Id', $varname); + $output = sprintf($header, $lang, $varname.'.inc', date('Y'), $texts['_translator'], $varname); foreach ($texts as $label => $value) { if (is_array($value)) { var_dump($outfn, $label, $value); exit; } @@ -131,7 +126,7 @@ function import_file($fn) $out[$file][$label] = $msgstr; } } - + $msgid = null; $msgstr = ''; $dests = array(); @@ -167,7 +162,7 @@ function import_file($fn) $out[$file]['_translator'] = $translator; } } - + return $language ? $out : array(); } diff --git a/bin/indexcontacts.sh b/bin/indexcontacts.sh index 3f1e8119a..a9a5a952a 100755 --- a/bin/indexcontacts.sh +++ b/bin/indexcontacts.sh @@ -1,7 +1,6 @@ #!/usr/bin/env php | +-----------------------------------------------------------------------+ - - $Id$ - */ define('INSTALL_PATH', realpath(dirname(__FILE__) . '/..') . '/' ); diff --git a/bin/installto.sh b/bin/installto.sh index eb43b99d4..3a64476a6 100755 --- a/bin/installto.sh +++ b/bin/installto.sh @@ -17,9 +17,6 @@ +-----------------------------------------------------------------------+ | Author: Thomas Bruederli | +-----------------------------------------------------------------------+ - - $Id$ - */ define('INSTALL_PATH', realpath(dirname(__FILE__) . '/..') . '/' ); diff --git a/bin/update.sh b/bin/update.sh index 46874ebf8..60dc95b9d 100755 --- a/bin/update.sh +++ b/bin/update.sh @@ -17,9 +17,6 @@ +-----------------------------------------------------------------------+ | Author: Thomas Bruederli | +-----------------------------------------------------------------------+ - - $Id$ - */ define('INSTALL_PATH', realpath(dirname(__FILE__) . '/..') . '/' ); -- cgit v1.2.3