summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeL10n.txt3
-rw-r--r--CMakeLists.txt17
-rw-r--r--README14
-rw-r--r--README.md40
-rw-r--r--doc/CMakeLists.txt14
-rw-r--r--doc/en/CMakeLists.txt1
-rw-r--r--doc/man/CMakeLists.txt5
-rw-r--r--translations/CMakeLists.txt1
-rw-r--r--translations/desktop_files/pl.po21
-rw-r--r--translations/desktop_files/pt_BR.po20
-rw-r--r--translations/messages/CMakeLists.txt14
-rw-r--r--translations/messages/it.po31
12 files changed, 90 insertions, 91 deletions
diff --git a/CMakeL10n.txt b/CMakeL10n.txt
index a525b71..a91bd2a 100644
--- a/CMakeL10n.txt
+++ b/CMakeL10n.txt
@@ -9,12 +9,11 @@
#
#################################################
-cmake_minimum_required( VERSION 2.8 )
+cmake_minimum_required( VERSION 3.1 )
##### include our cmake modules #################
-set( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules" )
include( TDEL10n )
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c7de801..eafe418 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -7,13 +7,12 @@
############################################
-cmake_minimum_required( VERSION 2.8.12 )
+cmake_minimum_required( VERSION 3.1 )
#### general package setup
project( kbibtex )
-set( VERSION R14.0.11 )
#### include essential cmake modules
@@ -29,10 +28,14 @@ include( CheckCXXSourceCompiles )
#### include our cmake modules
-set( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules" )
include( TDEMacros )
+##### set version number ########################
+
+tde_set_project_version( )
+
+
##### setup install paths
include( TDESetupPaths )
@@ -70,8 +73,12 @@ set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined"
add_subdirectory( src )
add_subdirectory( xslt )
-tde_conditional_add_subdirectory( BUILD_DOC doc )
-tde_conditional_add_subdirectory( BUILD_TRANSLATIONS translations )
+
+
+##### other data ################################
+
+tde_conditional_add_project_docs( BUILD_DOC )
+tde_conditional_add_project_translations( BUILD_TRANSLATIONS )
##### write configure files
diff --git a/README b/README
deleted file mode 100644
index 1336267..0000000
--- a/README
+++ /dev/null
@@ -1,14 +0,0 @@
-KBibTeX - BibTeX editor for TDE.
-
-
-An application to manage bibliography databases in the BibTeX format.
-KBibTeX can be used as a standalone program, but can also be embedded
-into other TDE applications (e.g. as bibliography editor into Kile).
-
-KBibTeX can query online ressources (e.g. Google scholar) via
-customizable search URLs. It is also able to import complete datasets
-from NCBI Pubmed. It also supports tagging references with keywords and
-manages references to local files.
-
-BibTeX files can be exported into HTML, XML, PDF, PS and RTF format
-using a number of citation styles.
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..3d53db1
--- /dev/null
+++ b/README.md
@@ -0,0 +1,40 @@
+
+KBibTeX - BibTeX editor for TDE.
+
+
+An application to manage bibliography databases in the BibTeX format.
+KBibTeX can be used as a standalone program, but can also be embedded
+into other TDE applications (e.g. as bibliography editor into Kile).
+
+KBibTeX can query online ressources (e.g. Google scholar) via
+customizable search URLs. It is also able to import complete datasets
+from NCBI Pubmed. It also supports tagging references with keywords and
+manages references to local files.
+
+BibTeX files can be exported into HTML, XML, PDF, PS and RTF format
+using a number of citation styles.
+
+.
+
+Contributing
+--------------
+
+If you wish to contribute to KBibTeX, you might do so:
+
+- TDE Gitea Workspace (TGW) collaboration tool.
+ https://mirror.git.trinitydesktop.org/gitea
+
+- TDE Weblate Translation Workspace (TWTW) collaboration tool.
+ https://mirror.git.trinitydesktop.org/weblate
+
+
+Translations status
+---------------------
+
+### messages
+[![Translations status](https://mirror.git.trinitydesktop.org/weblate/widgets/applications/-/kbibtex/multi-auto.svg
+"Engage in translating")](https://mirror.git.trinitydesktop.org/weblate/projects/applications/kbibtex/)
+
+### desktop files
+[![Translations status](https://mirror.git.trinitydesktop.org/weblate/widgets/applications/-/kbibtex-desktop-files/multi-auto.svg
+"Engage in translating")](https://mirror.git.trinitydesktop.org/weblate/projects/applications/kbibtex-desktop-files/)
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
deleted file mode 100644
index 70d6348..0000000
--- a/doc/CMakeLists.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-file( GLOB _dirs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} * )
-string( REGEX REPLACE "[ \r\n\t]+" ";" _linguas "$ENV{LINGUAS}" )
-
-foreach( _dir ${_dirs} )
- if( IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/${_dir} AND
- EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${_dir}/CMakeLists.txt )
- if( "${_dir}" STREQUAL "en" OR
- "${_dir}" STREQUAL "man" OR
- "${_linguas}" MATCHES "^;*$" OR
- ";${_linguas};" MATCHES ";${_dir};" )
- add_subdirectory( ${_dir} )
- endif( )
- endif()
-endforeach()
diff --git a/doc/en/CMakeLists.txt b/doc/en/CMakeLists.txt
deleted file mode 100644
index ba3ef3e..0000000
--- a/doc/en/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-tde_create_handbook( DESTINATION ${PROJECT_NAME} )
diff --git a/doc/man/CMakeLists.txt b/doc/man/CMakeLists.txt
deleted file mode 100644
index 8512250..0000000
--- a/doc/man/CMakeLists.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-INSTALL(
- FILES ${PROJECT_NAME}.1
- DESTINATION ${MAN_INSTALL_DIR}/man1
- COMPONENT doc
-)
diff --git a/translations/CMakeLists.txt b/translations/CMakeLists.txt
deleted file mode 100644
index 42b186a..0000000
--- a/translations/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-tde_auto_add_subdirectories()
diff --git a/translations/desktop_files/pl.po b/translations/desktop_files/pl.po
index 6504d66..0c2f442 100644
--- a/translations/desktop_files/pl.po
+++ b/translations/desktop_files/pl.po
@@ -1,36 +1,37 @@
# SOME DESCRIPTIVE TITLE.
# This file is put in the public domain.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
+# Marek W <coronzon88@gmail.com>, 2021.
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-04-05 15:39+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"
+"PO-Revision-Date: 2021-10-18 20:30+0000\n"
+"Last-Translator: Marek W <coronzon88@gmail.com>\n"
+"Language-Team: Polish <https://mirror.git.trinitydesktop.org/weblate/"
+"projects/applications/kbibtex-desktop-files/pl/>\n"
"Language: pl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
+"|| n%100>=20) ? 1 : 2;\n"
+"X-Generator: Weblate 4.8.1\n"
#. Name
#: kbibtex.desktop:2
-#, fuzzy
msgid "KBibTeX"
-msgstr "Moduł KBibTeX"
+msgstr "KBibTeX"
#. GenericName
#: kbibtex.desktop:3
msgid "Bibliography Manager"
-msgstr ""
+msgstr "Menedżer bibliografii"
#. Comment
#: kbibtex.desktop:8
msgid "A BibTeX editor for TDE"
-msgstr ""
+msgstr "Edytor BibTeX dla TDE"
#. Name
#: kbibtex_part.desktop:3
diff --git a/translations/desktop_files/pt_BR.po b/translations/desktop_files/pt_BR.po
index 7754a51..87f47e6 100644
--- a/translations/desktop_files/pt_BR.po
+++ b/translations/desktop_files/pt_BR.po
@@ -1,36 +1,36 @@
# SOME DESCRIPTIVE TITLE.
# This file is put in the public domain.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
+# Sebastião Guerra <sebastiao.luiz.guerra@gmail.com>, 2021.
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-04-05 15:39+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"
+"PO-Revision-Date: 2021-12-17 21:59+0000\n"
+"Last-Translator: Sebastião Guerra <sebastiao.luiz.guerra@gmail.com>\n"
+"Language-Team: Portuguese (Brazil) <https://mirror.git.trinitydesktop.org/"
+"weblate/projects/applications/kbibtex-desktop-files/pt_BR/>\n"
"Language: pt_BR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=n > 1;\n"
+"X-Generator: Weblate 4.9.1\n"
#. Name
#: kbibtex.desktop:2
-#, fuzzy
msgid "KBibTeX"
-msgstr "Parte do KBibTeX"
+msgstr "KBibTeX"
#. GenericName
#: kbibtex.desktop:3
msgid "Bibliography Manager"
-msgstr ""
+msgstr "Gerenciador de bibliografia"
#. Comment
#: kbibtex.desktop:8
msgid "A BibTeX editor for TDE"
-msgstr ""
+msgstr "Um editor BibTeX para o TDE"
#. Name
#: kbibtex_part.desktop:3
diff --git a/translations/messages/CMakeLists.txt b/translations/messages/CMakeLists.txt
deleted file mode 100644
index 75c89f8..0000000
--- a/translations/messages/CMakeLists.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-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( )
diff --git a/translations/messages/it.po b/translations/messages/it.po
index be3475c..9942937 100644
--- a/translations/messages/it.po
+++ b/translations/messages/it.po
@@ -3,13 +3,14 @@
#
# Berto <bertolini@tlc.unipr.it>, 2008, 2009.
# Angelo Compagnucci <angelo.compagnucci@gmail.com>, 2008.
+# Michele Calgaro <michele.calgaro@yahoo.it>, 2021.
msgid ""
msgstr ""
"Project-Id-Version: it\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2020-05-11 04:19+0200\n"
-"PO-Revision-Date: 2019-05-31 19:15+0000\n"
-"Last-Translator: stefano <ifx@lazytux.it>\n"
+"POT-Creation-Date: 2021-07-07 18:28+0000\n"
+"PO-Revision-Date: 2021-08-15 13:14+0000\n"
+"Last-Translator: Michele Calgaro <michele.calgaro@yahoo.it>\n"
"Language-Team: Italian <https://mirror.git.trinitydesktop.org/weblate/"
"projects/applications/kbibtex/it/>\n"
"Language: it\n"
@@ -17,7 +18,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
-"X-Generator: Weblate 3.6.1\n"
+"X-Generator: Weblate 4.7.2\n"
#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
msgid ""
@@ -238,8 +239,8 @@ msgid ""
"_n: This BibTeX file contains 1 element.\n"
"This BibTeX file contains %n elements."
msgstr ""
-"Questo file BibTeX contiene 1 elemento.\n"
-"Questo file BibTeX contiene %n elementi."
+"Questo file BibTeX contiene 1 elemento.\n"
+"Questo file BibTeX contiene %n elementi."
#: documentwidget.cpp:610
msgid "File Statistics"
@@ -736,7 +737,7 @@ msgstr "A&pri"
#: entrywidgetpublication.cpp:308
msgid "The fields 'Chapter' or 'Pages' are required, but both are missing"
-msgstr "I campi 'Capitolo' o 'Pagine' sono obbligatori, ma mancano entrambi"
+msgstr "I campi 'Capitolo' o 'Pagine' sono obbligatori, ma mancano entrambi"
#: entrywidgetpublication.cpp:325
msgid "The field 'Journal' refers to a not existing entry"
@@ -745,7 +746,7 @@ msgstr "Il campo 'Rivista' si riferisce ad un elemento inesistente"
#: entrywidgetpublication.cpp:392
#, c-format
msgid "http://en.wikipedia.org/w/index.php?title=Special:Booksources&isbn=%1"
-msgstr "http://it.wikipedia.org/wiki/Wikipedia:Fonti_librarie"
+msgstr "http://en.wikipedia.org/w/index.php?title=Special:Booksources&isbn=%1"
#: entrywidgetpublication.cpp:405 entrywidgetpublication.cpp:407
#: settings.cpp:655
@@ -1073,7 +1074,7 @@ msgstr "Chiudi Documento"
#: kbibtex_part.cpp:251 kbibtex_part.cpp:369 kbibtexshell.cpp:316
msgid "BibTeX (*.bib)"
-msgstr "BibTeX (*.bib)"
+msgstr "BibTeX (*.bib)"
#: kbibtex_part.cpp:251 kbibtex_part.cpp:273 kbibtex_part.cpp:369
#: kbibtexshell.cpp:316
@@ -1121,7 +1122,7 @@ msgstr "hypertext markup langage (*.html)"
#: kbibtex_part.cpp:273
msgid "Rich Text Format (*.rtf)"
-msgstr "Formato Rich Text (*.rtf)"
+msgstr "Formato Rich Text (*.rtf)"
#: kbibtex_part.cpp:333
msgid "Exporting"
@@ -1330,7 +1331,7 @@ msgstr "Aggiungi un libro al file BibTeX"
#: kbibtex_part.cpp:493 settings.cpp:704
msgid "Booklet"
-msgstr "Booklet"
+msgstr "Opuscolo"
#: kbibtex_part.cpp:493
msgid "Add a booklet to the BibTeX file"
@@ -1399,7 +1400,7 @@ msgstr "Aggiungi una tesi di dottorato al file BibTeX"
#: kbibtex_part.cpp:502 settings.cpp:724
msgid "Proceedings"
-msgstr "Proceedings"
+msgstr "Procedimenti"
#: kbibtex_part.cpp:502
msgid "Add some proceedings to the BibTeX file"
@@ -1407,7 +1408,7 @@ msgstr "Aggiungi dei proceedings al file BibTeX"
#: kbibtex_part.cpp:503 settings.cpp:726
msgid "TechReport"
-msgstr "TechReport"
+msgstr "Rapporto tecnico"
#: kbibtex_part.cpp:503
msgid "Add a technical report to the BibTeX file"
@@ -1415,7 +1416,7 @@ msgstr "Aggiungi un report tecnico al file BibTeX"
#: kbibtex_part.cpp:504 settings.cpp:728
msgid "Unpublished"
-msgstr "Unpublished"
+msgstr "Inedito"
#: kbibtex_part.cpp:504
msgid "Add an unpublished document to the BibTeX file"
@@ -1696,7 +1697,7 @@ msgstr "Sconosciuto"
#: settings.cpp:706
msgid "Collection"
-msgstr "Collection"
+msgstr "Collezione"
#: settings.cpp:708
msgid "Electronic"