Copy translations to a new directory layout.

Use common rules to build translations.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/2/head
Slávek Banko 3 years ago
parent 6aca194f31
commit 37c490ee89
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -98,12 +98,12 @@ set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined"
add_subdirectory( src )
add_subdirectory( icons )
add_subdirectory( xslt )
tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po )
##### other data ################################
tde_conditional_add_project_docs( BUILD_DOC )
tde_conditional_add_project_translations( BUILD_TRANSLATIONS )
install( FILES tellico.desktop
DESTINATION ${XDG_APPS_INSTALL_DIR}

@ -1,12 +0,0 @@
#################################################
#
# (C) 2016 Slávek Banko
# slavek (DOT) banko (AT) axis.cz
#
# Improvements and feedback are welcome
#
# This file is released under GPL >= 2
#
#################################################
tde_create_translation( LANG auto OUTPUT_NAME tellico )

@ -1,23 +0,0 @@
To regenerate the message strings, type
make package-messages
from the top-level directory.
Please note that you need a special for KDE patched version of xgettext. You
can obtain it from http://packages.ubuntu.com/de/edgy/gettext-kde. Don't forget
to make this binary available as xgettext (instead of kde-xgettext) by e.g.
creating a link in your search path.
If you don't do this, code such as i18n("Comic Book Illustrator", "Artist")
would correspond to two separate strings "Comic Book Illustrator" and
"Artist" instead of a combined entry from which only the second one has to be
translated:
msgid ""
"_: Comic Book Illustrator\n"
"Artist"
msgstr "Künstler"
You also need the tool extractrc. In Debian it is available in the package
tdesdk-scripts.

@ -84,7 +84,7 @@ endforeach( )
##### create translation templates ##############
tde_l10n_create_template(
CATALOG "tellico"
CATALOG "messages/tellico"
SOURCES
"."
"core/tellico_config.kcfg.tde_l10n"

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save