Aleksander Machniak
2016-05-06 238ac34740746baeee54177e4ed76e817be9e31d
bin/exportgettext.sh
@@ -1,7 +1,6 @@
#!/usr/bin/env php
<?php
/*
 +-----------------------------------------------------------------------+
 | bin/exportgettext.sh                                                  |
 |                                                                       |
@@ -14,12 +13,9 @@
 +-----------------------------------------------------------------------+
 | Author: Thomas Bruederli <roundcube@gmail.com>                        |
 +-----------------------------------------------------------------------+
 $Id$
*/
define('INSTALL_PATH', realpath(dirname(__FILE__) . '/..') . '/' );
define('INSTALL_PATH', realpath(__DIR__ . '/..') . '/' );
require INSTALL_PATH.'program/include/clisetup.php';
if ($argc < 2) {
@@ -42,6 +38,7 @@
   'et_EE' => 'et',
   'el_GR' => 'el',
   'eu_ES' => 'eu',
   'fa_IR' => 'fa',
   'ga_IE' => 'ga',
   'ka_GE' => 'ka',
   'gl_ES' => 'gl',
@@ -53,6 +50,7 @@
   'km_KH' => 'km',
   'ms_MY' => 'ms',
   'mr_IN' => 'mr',
   'ml_IN' => 'ml',
   'pl_PL' => 'pl',
   'si_LK' => 'si',
   'sl_SI' => 'sl',
@@ -204,7 +202,7 @@
      $msgid = $is_pot ? $msgstr : ($GLOBALS['en_US'][$label] ?: $label);
      $messages[$msgid][] = $label;
   }
   foreach ($messages as $msgid => $labels) {
      $out .= "\n";
      foreach ($labels as $label)