Copy translations to a new directory layout.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/5/head
Michele Calgaro 4 years ago
parent 48deaabece
commit 5167e4b937
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -70,7 +70,7 @@ set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined"
add_subdirectory( src )
tde_conditional_add_subdirectory( BUILD_DOC doc )
tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po )
tde_conditional_add_subdirectory( BUILD_TRANSLATIONS translations )
##### write configure files

@ -1,3 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "kstreamripper" )
tde_l10n_create_template( "messages/kstreamripper" )

@ -0,0 +1 @@
tde_auto_add_subdirectories()

@ -0,0 +1,14 @@
file( GLOB_RECURSE po_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.po )
string( REGEX REPLACE "[ \r\n\t]+" ";" _linguas "$ENV{LINGUAS}" )
foreach( _po ${po_files} )
get_filename_component( _lang ${_po} NAME_WE )
if( "${_linguas}" MATCHES "^;*$" OR ";${_linguas};" MATCHES ";${_lang};" )
if( "${_po}" MATCHES "^([^/]*)/.*" )
string( REGEX REPLACE "^([^/]*)/.*" "\\1" _component "${_po}" )
else( )
set( _component "${PROJECT_NAME}" )
endif( )
tde_create_translation( FILES ${_po} LANG ${_lang} OUTPUT_NAME ${_component} )
endif( )
endforeach( )

@ -0,0 +1,199 @@
# SOME DESCRIPTIVE TITLE.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2020-05-11 04:27+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
msgid ""
"_: NAME OF TRANSLATORS\n"
"Your names"
msgstr ""
#. Instead of a literal translation, add your email to the end of the list (separated by a comma).
msgid ""
"_: EMAIL OF TRANSLATORS\n"
"Your emails"
msgstr ""
#: kstreamripper.cpp:197
msgid "found by Zeroconf"
msgstr ""
#: main.cpp:30
msgid "KStreamRipper"
msgstr ""
#: addnewstream.ui:16
#, no-c-format
msgid "Add Stream...."
msgstr ""
#: addnewstream.ui:44
#, no-c-format
msgid "Name:"
msgstr ""
#: addnewstream.ui:52 kstreamripperbase.ui:310
#, no-c-format
msgid "Description:"
msgstr ""
#: addnewstream.ui:75
#, no-c-format
msgid "Url of Stream:"
msgstr ""
#: addnewstream.ui:88
#, no-c-format
msgid "&Ok"
msgstr ""
#: addnewstream.ui:91
#, no-c-format
msgid "Alt+O"
msgstr ""
#: addnewstream.ui:102
#, no-c-format
msgid "Alt+C"
msgstr ""
#: kstreamripperbase.ui:16
#, no-c-format
msgid "KStreamRipper V. 0.3.4"
msgstr ""
#: kstreamripperbase.ui:44
#, no-c-format
msgid "Your Radio Streams:"
msgstr ""
#: kstreamripperbase.ui:103
#, no-c-format
msgid "Stream Options"
msgstr ""
#: kstreamripperbase.ui:114
#, no-c-format
msgid "&Add Stream"
msgstr ""
#: kstreamripperbase.ui:117
#, no-c-format
msgid "Alt+A"
msgstr ""
#: kstreamripperbase.ui:128
#, no-c-format
msgid "&Delete Stream"
msgstr ""
#: kstreamripperbase.ui:131
#, no-c-format
msgid "Alt+D"
msgstr ""
#: kstreamripperbase.ui:142
#, no-c-format
msgid "&Stop Rip"
msgstr ""
#: kstreamripperbase.ui:145
#, no-c-format
msgid "Alt+S"
msgstr ""
#: kstreamripperbase.ui:159
#, no-c-format
msgid "&Tune in"
msgstr ""
#: kstreamripperbase.ui:162
#, no-c-format
msgid "Alt+T"
msgstr ""
#: kstreamripperbase.ui:173
#, no-c-format
msgid "&Rip Stream"
msgstr ""
#: kstreamripperbase.ui:176
#, no-c-format
msgid "Alt+R"
msgstr ""
#: kstreamripperbase.ui:203
#, no-c-format
msgid "Settings"
msgstr ""
#: kstreamripperbase.ui:214
#, no-c-format
msgid "Destination:"
msgstr ""
#: kstreamripperbase.ui:222
#, no-c-format
msgid "Time to Rip:"
msgstr ""
#: kstreamripperbase.ui:230
#, no-c-format
msgid "Add ID3 Tag:"
msgstr ""
#: kstreamripperbase.ui:249
#, no-c-format
msgid "Tune in Command:"
msgstr ""
#: kstreamripperbase.ui:257
#, no-c-format
msgid "seconds"
msgstr ""
#: kstreamripperbase.ui:265
#, no-c-format
msgid "...."
msgstr ""
#: kstreamripperbase.ui:273
#, no-c-format
msgid "xmms <url>"
msgstr ""
#: kstreamripperbase.ui:281
#, no-c-format
msgid "0"
msgstr ""
#: kstreamripperbase.ui:289
#, no-c-format
msgid "Choose a directory"
msgstr ""
#: kstreamripperbase.ui:299
#, no-c-format
msgid "Details"
msgstr ""
#: kstreamripperbase.ui:318
#, no-c-format
msgid "URL:"
msgstr ""
#: kstreamripperui.rc:4
#, no-c-format
msgid "C&ustom"
msgstr ""

@ -0,0 +1,201 @@
# SOME DESCRIPTIVE TITLE.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2020-05-11 04:27+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
#, ignore-inconsistent
msgid ""
"_: NAME OF TRANSLATORS\n"
"Your names"
msgstr ""
#. Instead of a literal translation, add your email to the end of the list (separated by a comma).
#, ignore-inconsistent
msgid ""
"_: EMAIL OF TRANSLATORS\n"
"Your emails"
msgstr ""
#: kstreamripper.cpp:197
msgid "found by Zeroconf"
msgstr ""
#: main.cpp:30
msgid "KStreamRipper"
msgstr ""
#: addnewstream.ui:16
#, no-c-format
msgid "Add Stream...."
msgstr ""
#: addnewstream.ui:44
#, no-c-format
msgid "Name:"
msgstr ""
#: addnewstream.ui:52 kstreamripperbase.ui:310
#, no-c-format
msgid "Description:"
msgstr ""
#: addnewstream.ui:75
#, no-c-format
msgid "Url of Stream:"
msgstr ""
#: addnewstream.ui:88
#, no-c-format
msgid "&Ok"
msgstr ""
#: addnewstream.ui:91
#, no-c-format
msgid "Alt+O"
msgstr ""
#: addnewstream.ui:102
#, no-c-format
msgid "Alt+C"
msgstr ""
#: kstreamripperbase.ui:16
#, no-c-format
msgid "KStreamRipper V. 0.3.4"
msgstr ""
#: kstreamripperbase.ui:44
#, no-c-format
msgid "Your Radio Streams:"
msgstr ""
#: kstreamripperbase.ui:103
#, no-c-format
msgid "Stream Options"
msgstr ""
#: kstreamripperbase.ui:114
#, no-c-format
msgid "&Add Stream"
msgstr ""
#: kstreamripperbase.ui:117
#, no-c-format
msgid "Alt+A"
msgstr ""
#: kstreamripperbase.ui:128
#, no-c-format
msgid "&Delete Stream"
msgstr ""
#: kstreamripperbase.ui:131
#, no-c-format
msgid "Alt+D"
msgstr ""
#: kstreamripperbase.ui:142
#, no-c-format
msgid "&Stop Rip"
msgstr ""
#: kstreamripperbase.ui:145
#, no-c-format
msgid "Alt+S"
msgstr ""
#: kstreamripperbase.ui:159
#, no-c-format
msgid "&Tune in"
msgstr ""
#: kstreamripperbase.ui:162
#, no-c-format
msgid "Alt+T"
msgstr ""
#: kstreamripperbase.ui:173
#, no-c-format
msgid "&Rip Stream"
msgstr ""
#: kstreamripperbase.ui:176
#, no-c-format
msgid "Alt+R"
msgstr ""
#: kstreamripperbase.ui:203
#, no-c-format
msgid "Settings"
msgstr ""
#: kstreamripperbase.ui:214
#, no-c-format
msgid "Destination:"
msgstr ""
#: kstreamripperbase.ui:222
#, no-c-format
msgid "Time to Rip:"
msgstr ""
#: kstreamripperbase.ui:230
#, no-c-format
msgid "Add ID3 Tag:"
msgstr ""
#: kstreamripperbase.ui:249
#, no-c-format
msgid "Tune in Command:"
msgstr ""
#: kstreamripperbase.ui:257
#, no-c-format
msgid "seconds"
msgstr ""
#: kstreamripperbase.ui:265
#, no-c-format
msgid "...."
msgstr ""
#: kstreamripperbase.ui:273
#, no-c-format
msgid "xmms <url>"
msgstr ""
#: kstreamripperbase.ui:281
#, no-c-format
msgid "0"
msgstr ""
#: kstreamripperbase.ui:289
#, no-c-format
msgid "Choose a directory"
msgstr ""
#: kstreamripperbase.ui:299
#, no-c-format
msgid "Details"
msgstr ""
#: kstreamripperbase.ui:318
#, no-c-format
msgid "URL:"
msgstr ""
#: kstreamripperui.rc:4
#, no-c-format
msgid "C&ustom"
msgstr ""
Loading…
Cancel
Save