[Rt-commit] rt branch, 4.0/loc-cleanups, updated. rt-4.0.1rc1-5-g4ccab9b

Shawn Moore sartak at bestpractical.com
Mon May 23 17:40:05 EDT 2011


The branch, 4.0/loc-cleanups has been updated
       via  4ccab9be34ca500d84a51dea3af67baec778c716 (commit)
      from  45fc17aa683e8416aeb17fd0af34b38e6a6bd05b (commit)

Summary of changes:
 devel/tools/extract-message-catalog |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit 4ccab9be34ca500d84a51dea3af67baec778c716
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Mon May 23 17:38:58 2011 -0400

    Skip StyleGuide from loc extraction
    
        There's no reason to translate the couple of strings in this file,
        they are not executed.

diff --git a/devel/tools/extract-message-catalog b/devel/tools/extract-message-catalog
index 3b66ae7..b3392ef 100755
--- a/devel/tools/extract-message-catalog
+++ b/devel/tools/extract-message-catalog
@@ -125,6 +125,7 @@ sub extract_strings_from_code {
         qr!lib/blib|lib/t/autogen|var|m4|local|share/fonts! );
     return if ( /\.(?:pot|po|bak|gif|png|psd|jpe?g|svg|css|js)$/ );
     return if ( /~|,D|,B$|extract-message-catalog$|tweak-template-locstring$/ );
+    return if ( /StyleGuide.pod/ );
     return if ( /^[\.#]/ );
     return if ( -f "$_.in" );
 

-----------------------------------------------------------------------


More information about the Rt-commit mailing list