Browse Source

Copy translations to a new directory layout.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
master
Slávek Banko 2 months ago
parent
commit
c8b0ade1ef
No known key found for this signature in database GPG Key ID: 608F5293A04BE668
  1. 4
      CMakeLists.txt
  2. 2
      src/CMakeL10n.txt
  3. 1
      translations/CMakeLists.txt
  4. 14
      translations/messages/CMakeLists.txt
  5. 1699
      translations/messages/ar.po
  6. 1649
      translations/messages/be.po
  7. 1676
      translations/messages/br.po
  8. 1865
      translations/messages/bs.po
  9. 1711
      translations/messages/ca.po
  10. 1689
      translations/messages/cs.po
  11. 1697
      translations/messages/csb.po
  12. 1715
      translations/messages/cy.po
  13. 1714
      translations/messages/da.po
  14. 1721
      translations/messages/de.po
  15. 1721
      translations/messages/el.po
  16. 1717
      translations/messages/en_GB.po
  17. 1740
      translations/messages/es.po
  18. 1701
      translations/messages/et.po
  19. 1697
      translations/messages/fi.po
  20. 1724
      translations/messages/fr.po
  21. 1692
      translations/messages/ga.po
  22. 1717
      translations/messages/gl.po
  23. 1721
      translations/messages/he.po
  24. 1754
      translations/messages/hi.po
  25. 1714
      translations/messages/hu.po
  26. 1631
      translations/messages/is.po
  27. 1844
      translations/messages/it.po
  28. 1701
      translations/messages/ja.po
  29. 1730
      translations/messages/ka.po
  30. 1636
      translations/messages/kmplayer.pot
  31. 2289
      translations/messages/lt.po
  32. 1696
      translations/messages/mt.po
  33. 1702
      translations/messages/nb.po
  34. 1721
      translations/messages/nl.po
  35. 1743
      translations/messages/nn.po
  36. 1678
      translations/messages/pa.po
  37. 1717
      translations/messages/pl.po
  38. 1712
      translations/messages/pt.po
  39. 1756
      translations/messages/pt_BR.po
  40. 1644
      translations/messages/ro.po
  41. 1710
      translations/messages/ru.po
  42. 1969
      translations/messages/rw.po
  43. 1682
      translations/messages/sk.po
  44. 1721
      translations/messages/sr.po
  45. 1723
      translations/messages/sr@Latn.po
  46. 1705
      translations/messages/sv.po
  47. 1771
      translations/messages/ta.po
  48. 1719
      translations/messages/tr.po
  49. 1712
      translations/messages/uk.po
  50. 1694
      translations/messages/zh_CN.po

4
CMakeLists.txt

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

2
src/CMakeL10n.txt

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

1
translations/CMakeLists.txt

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

14
translations/messages/CMakeLists.txt

@ -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( )

1699
translations/messages/ar.po
File diff suppressed because it is too large
View File

1649
translations/messages/be.po
File diff suppressed because it is too large
View File

1676
translations/messages/br.po
File diff suppressed because it is too large
View File

1865
translations/messages/bs.po
File diff suppressed because it is too large
View File

1711
translations/messages/ca.po
File diff suppressed because it is too large
View File

1689
translations/messages/cs.po
File diff suppressed because it is too large
View File

1697
translations/messages/csb.po
File diff suppressed because it is too large
View File

1715
translations/messages/cy.po
File diff suppressed because it is too large
View File

1714
translations/messages/da.po
File diff suppressed because it is too large
View File

1721
translations/messages/de.po
File diff suppressed because it is too large
View File

1721
translations/messages/el.po
File diff suppressed because it is too large
View File

1717
translations/messages/en_GB.po
File diff suppressed because it is too large
View File

1740
translations/messages/es.po
File diff suppressed because it is too large
View File

1701
translations/messages/et.po
File diff suppressed because it is too large
View File

1697
translations/messages/fi.po
File diff suppressed because it is too large
View File

1724
translations/messages/fr.po
File diff suppressed because it is too large
View File

1692
translations/messages/ga.po
File diff suppressed because it is too large
View File

1717
translations/messages/gl.po
File diff suppressed because it is too large
View File

1721
translations/messages/he.po
File diff suppressed because it is too large
View File

1754
translations/messages/hi.po
File diff suppressed because it is too large
View File

1714
translations/messages/hu.po
File diff suppressed because it is too large
View File

1631
translations/messages/is.po
File diff suppressed because it is too large
View File

1844
translations/messages/it.po
File diff suppressed because it is too large
View File

1701
translations/messages/ja.po
File diff suppressed because it is too large
View File

1730
translations/messages/ka.po
File diff suppressed because it is too large
View File

1636
translations/messages/kmplayer.pot
File diff suppressed because it is too large
View File

2289
translations/messages/lt.po
File diff suppressed because it is too large
View File

1696
translations/messages/mt.po
File diff suppressed because it is too large
View File

1702
translations/messages/nb.po
File diff suppressed because it is too large
View File

1721
translations/messages/nl.po
File diff suppressed because it is too large
View File

1743
translations/messages/nn.po
File diff suppressed because it is too large
View File

1678
translations/messages/pa.po
File diff suppressed because it is too large
View File

1717
translations/messages/pl.po
File diff suppressed because it is too large
View File

1712
translations/messages/pt.po
File diff suppressed because it is too large
View File

1756
translations/messages/pt_BR.po
File diff suppressed because it is too large
View File

1644
translations/messages/ro.po
File diff suppressed because it is too large
View File

1710
translations/messages/ru.po
File diff suppressed because it is too large
View File

1969
translations/messages/rw.po
File diff suppressed because it is too large
View File

1682
translations/messages/sk.po
File diff suppressed because it is too large
View File

1721
translations/messages/sr.po
File diff suppressed because it is too large
View File

1723
translations/messages/sr@Latn.po
File diff suppressed because it is too large
View File

1705
translations/messages/sv.po
File diff suppressed because it is too large
View File

1771
translations/messages/ta.po
File diff suppressed because it is too large
View File

1719
translations/messages/tr.po
File diff suppressed because it is too large
View File

1712
translations/messages/uk.po
File diff suppressed because it is too large
View File

1694
translations/messages/zh_CN.po
File diff suppressed because it is too large
View File

Loading…
Cancel
Save