Changeset 4f3c188 in git


Ignore:
Timestamp:
20/09/11 12:35:44 (8 years ago)
Author:
Olly Betts <olly@…>
Branches:
svn/1.0, svn/tags/1.0.40
Children:
25b2e05
Parents:
e68ccb7
Message:

Backport change from 1.2.0:
Makefile.am: Include all the available wxstd.mo files into the
Microsoft Windows installer, rather than trying to just include those
which we have translations for. This avoids having to maintain a
list of which to include, and gives users translations of wxWidgets
messages even if they don't get Survex messages translated.

git-svn-id: file:///home/survex-svn/survex/branches/1.0@3702 4b37db11-9a0c-4f06-9ece-9ab7cdaee568

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    re68ccb7 r4f3c188  
     1Tue Sep 20 11:33:03 GMT 2011  Olly Betts <olly@survex.com>
     2
     3        * Backport change from 1.2.0:
     4        * Makefile.am: Include all the available wxstd.mo files into the
     5          Microsoft Windows installer, rather than trying to just include those
     6          which we have translations for.  This avoids having to maintain a
     7          list of which to include, and gives users translations of wxWidgets
     8          messages even if they don't get Survex messages translated.
     9
    110Tue Sep 20 11:22:37 GMT 2011  Olly Betts <olly@survex.com>
    211
  • Makefile.am

    re68ccb7 r4f3c188  
    124124        cp doc/manual/*.png iss_tmp/manual
    125125        cp $(extra_bin) iss_tmp
    126         : # NB check for updates for each new wx version
    127         for a in ca cs de es fr it pt pt_BR sk ; do\
     126        for f in /usr/share/locale/*/LC_MESSAGES/wxstd.mo ; do \
     127         a=`echo "$$f"|sed 's!^/usr/share/locale/\([^/]*\).*!\1!'`; \
    128128         mkdir iss_tmp/$$a;\
    129          cp /usr/share/locale/$$a/LC_MESSAGES/wxstd.mo iss_tmp/$$a;\
     129         cp "$$f" iss_tmp/$$a;\
    130130         echo 'Source: "'"$$a"'\wxstd.mo"; DestDir: "{app}\'"$$a"'"' >> iss_tmp/i18nfiles.iss;\
    131131        done
Note: See TracChangeset for help on using the changeset viewer.