Ignore:
Timestamp:
02/19/18 07:35:49 (22 months ago)
Author:
gogo
Message:

Rebuild the translation system and language files.

Includes a few kludges to help lc_parse_strings.php detect translation strings.

See README_TRANSLATORS.TXT for description of the translation system.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/contrib/make-release.sh

    r1265 r1402  
    55VER=0.96.1 
    66 
    7 # 
     7if ! [ -f XinhaCore.js ] 
     8then  
     9  echo "Run this script from inside your Xinha Root directory." 
     10  exit 1 
     11fi 
     12 
     13if ! [ -f .svn ] 
     14then  
     15  echo "This script must be run inside a subversion working copy." 
     16  exit 1 
     17fi 
     18 
     19# Create merged language files for translators 
     20php contrib/lc_parse_strings.php 
     21for lang in $(find . -wholename "*/lang/*.js" | sed -r 's/.*\///' | sort | uniq | grep -v base | sed -r 's/.js//') 
     22do 
     23  php contrib/lc_create_merged_file.php $lang lang/merged/$lang.js 
     24done 
     25php contrib/lc_create_merged_file.php NEW lang/merged/__new__.js 
     26 
     27 
    828# 
    929svn export $(pwd) /tmp/Xinha-$VER 
Note: See TracChangeset for help on using the changeset viewer.