~super-friends/friends-app/13.04

« back to all changes in this revision

Viewing changes to po/po.pro

  • Committer: Ken VanDine
  • Date: 2013-03-24 16:20:15 UTC
  • Revision ID: ken.vandine@canonical.com-20130324162015-foaib6tyihe1howh
added a few translations

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
TEMPLATE = subdirs
2
2
 
 
3
DEFINES += GETTEXT_PACKAGE="friends-app"
 
4
 
3
5
system(./generate_mo.sh)
4
6
 
5
7
MO_FILES = $$system(ls *.mo)
8
10
for(mo_file, MO_FILES) {
9
11
  mo_name = $$replace(mo_file,.mo,)
10
12
  mo_targetpath = $(INSTALL_ROOT)/usr/share/locale/$${mo_name}/LC_MESSAGES
11
 
  mo_target = $${mo_targetpath}/componentshowcase.mo
 
13
  mo_target = $${mo_targetpath}/friends-app.mo
12
14
  !isEmpty(install_mo_commands): install_mo_commands += &&
13
15
  install_mo_commands += test -d $$mo_targetpath || mkdir -p $$mo_targetpath
14
16
  install_mo_commands += && cp $$mo_file $$mo_target