~ubuntu-sdk-team/ubuntu-ui-toolkit/noDietForPopovers

« back to all changes in this revision

Viewing changes to tests/unit/tst_i18n/tst_i18n.pro

  • Committer: Tarmac
  • Author(s): nick.dedekind at canonical, Nick Dedekind
  • Date: 2015-08-12 11:32:51 UTC
  • mfrom: (1602.1.9 LiveTimer)
  • Revision ID: tarmac-20150812113251-jidi067kc9dl3uxv
Added relative date time i18n.

Approved by PS Jenkins bot, Zsombor Egri.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
include(../test-include.pri)
2
 
QT += gui
3
 
DEFINES += SRCDIR=\\\"$$PWD/\\\"
4
 
 
5
 
DOMAIN = localizedApp
6
 
mo.target = mo
7
 
mo.commands = set -e;
8
 
mo.commands += echo Generating localization for $$DOMAIN;
9
 
mo.commands += mkdir -p $${DOMAIN}/share/locale/en/LC_MESSAGES;
10
 
mo.commands += msgfmt $$PWD/po/en_US.po -o $${DOMAIN}/share/locale/en/LC_MESSAGES/$${DOMAIN}.mo;
11
 
QMAKE_EXTRA_TARGETS += mo
12
 
PRE_TARGETDEPS += mo
13
 
 
14
 
SOURCES += \
15
 
    src/tst_i18n.cpp
16
 
 
17
 
OTHER_FILES += \
18
 
    src/LocalizedApp.qml
 
1
TEMPLATE = subdirs
 
2
SUBDIRS += tst_i18n_LocalizedApp
 
3
SUBDIRS += tst_i18n_RelativeTime