This repository has been archived by the owner on Sep 4, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'decomposedisplaylabel' into 'master'
[libcontacts] Provide decomposeDisplayLabel() function. Contributes to MER#1379 See merge request !1
- Loading branch information
Showing
6 changed files
with
115 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
This library provides a contact cache and various helper functions. | ||
It should be used in conjunction with nemo-qml-plugin-contacts. | ||
|
||
TODO: move this code into the nemo-qml-plugin-contacts repository | ||
(or vice versa) as the separation between these two is artificial. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
TEMPLATE = subdirs | ||
SUBDIRS = src tests | ||
SUBDIRS = src tests translations | ||
OTHER_FILES += rpm/libcontacts-qt5.spec | ||
|
||
tests.depends = src |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
TEMPLATE = aux | ||
|
||
TS_FILE = $$OUT_PWD/libcontacts.ts | ||
EE_QM = $$OUT_PWD/libcontacts_eng_en.qm | ||
|
||
ts.commands += lupdate $$PWD/../src -ts $$TS_FILE | ||
ts.output = $$TS_FILE | ||
ts.input = . | ||
|
||
ts_install.files = $$TS_FILE | ||
ts_install.path = $$PREFIX/share/translations/source | ||
ts_install.CONFIG += no_check_exist | ||
|
||
engineering_english.commands += lrelease -idbased $$TS_FILE -qm $$EE_QM | ||
engineering_english.depends = ts | ||
engineering_english.input = $$TS_FILE | ||
engineering_english.output = $$EE_QM | ||
|
||
TRANSLATIONS_PATH = $$PREFIX/share/translations | ||
engineering_english_install.path = $$TRANSLATIONS_PATH | ||
engineering_english_install.files = $$EE_QM | ||
engineering_english_install.CONFIG += no_check_exist | ||
|
||
QMAKE_EXTRA_TARGETS += ts engineering_english | ||
PRE_TARGETDEPS += ts engineering_english | ||
DEFINES += TRANSLATIONS_PATH=\"\\\"\"$${TRANSLATIONS_PATH}\"\\\"\" | ||
|
||
INSTALLS += ts_install engineering_english_install |