diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/update_po_templates.php | 4 | ||||
-rwxr-xr-x | scripts/update_translations.php | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/scripts/update_po_templates.php b/scripts/update_po_templates.php index 0bfa62a22..af9ed8d20 100755 --- a/scripts/update_po_templates.php +++ b/scripts/update_po_templates.php @@ -34,7 +34,7 @@ function update_core($dir, $domain) xgettext \ --from-code=UTF-8 \ --default-domain=$domain \ - --output=locale/$domain.po \ + --output=locale/$domain.pot \ --language=PHP \ --add-comments=TRANS \ --keyword="_m:1,1t" \ @@ -64,7 +64,7 @@ function do_update_plugin($dir, $domain) xgettext \ --from-code=UTF-8 \ --default-domain=$domain \ - --output=locale/$domain.po \ + --output=locale/$domain.pot \ --language=PHP \ --add-comments=TRANS \ --keyword='' \ diff --git a/scripts/update_translations.php b/scripts/update_translations.php index 45fe460a0..89d937e9d 100755 --- a/scripts/update_translations.php +++ b/scripts/update_translations.php @@ -31,7 +31,7 @@ define('LACONICA', true); // compatibility require_once(INSTALLDIR . '/lib/common.php'); // Master StatusNet .pot file location (created by update_pot.sh) -$statusnet_pot = INSTALLDIR . '/locale/statusnet.po'; +$statusnet_pot = INSTALLDIR . '/locale/statusnet.pot'; set_time_limit(60); @@ -98,7 +98,7 @@ foreach ($languages as $language) { $new_file = curl_get_file($file_url); if ($new_file === FALSE) { - echo "Couldn't retrieve .po file for $code: $file_url\n"; + echo "Could not retrieve .po file for $code: $file_url\n"; continue; } |