diff options
author | Evan Prodromou <evan@status.net> | 2010-04-07 10:47:29 -0400 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-04-07 10:47:29 -0400 |
commit | 727ea5a5163249eb40fa0c4b2c63054fc997473b (patch) | |
tree | e7c412d8d858d7d7dba60ea15fb62e6ac83ef1fc /scripts | |
parent | 439fd589eb256e7ee48796ee7c880536325fa2cb (diff) | |
parent | ecf32880254666860335d4fe2a96909cd592d3e8 (diff) |
Merge branch '0.9.x' into 1.0.x
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; } |