Verified Commit ef81a53f authored by ita1024's avatar ita1024

Remove the Beamer-distributed files because most LaTeX distribution provide them nowadays

parent d489cf70
......@@ -4,7 +4,8 @@ Semantik 1.0.6
* Fix some annoying with the base directory changing to /tmp
* Persist font settings in documents
* Update the French translation data
* Export png files in httml and latex documents
* Export png files in html and latex documents
* Remove the Beamer files: most LaTeX distributions provide them nowadays
Semantik 1.0.5
--------------
......
......@@ -97,11 +97,11 @@ The options "--width" and "--height" can be used to change t
<tip category="semantik">
<html>
<h3>9. Code snippets in LaTeX</h3>
<h3>9. Code snippets</h3>
<p>
Code snippets can be highlighted with Minted in pdflatex documents or Beamer presentations.
Enable Minted by setting adding source code in the data box and adding the variable <i>minted_lang</i>
to the variables box, for example: <pre>minted_lang=java</pre>
Code snippets can be highlighted by Pygments in html, S5, Beamer, Pdflatex or html documents.
Enable Pygments by setting adding source code in the data box and adding the variable <i>code_lang</i>
to the variables box, for example: <pre>code_lang=java</pre>
</p>
</html>
</tip>
......@@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://gitlab.com/ita1024/semantik/issues\n"
"POT-Creation-Date: 2018-10-12 23:33+0200\n"
"POT-Creation-Date: 2018-10-14 11:00+0200\n"
"PO-Revision-Date: 2012-10-21 19:45+0200\n"
"Last-Translator: Pavel Fric <pavelfric@seznam.cz>\n"
"Language-Team: Czech <kde-i18n-doc@kde.org>\n"
......@@ -190,43 +190,43 @@ msgstr "Obrázek"
msgid "Click to set Item %1"
msgstr "Klepněte pro umístění položky %1"
#: canvas_view.cpp:1250 fig/box_view.cpp:2066
#: canvas_view.cpp:1245 fig/box_view.cpp:2066
msgid ""
"*.png|PNG Files (*.png)\n"
"*.svg|SVG Files (*.svg)\n"
"*.pdf|PDF Files (*.pdf)"
msgstr ""
#: canvas_view.cpp:1288 fig/box_view.cpp:2104
#: canvas_view.cpp:1283 fig/box_view.cpp:2104
msgid "No destination file selected"
msgstr "Nevybrán žádný cílový soubor"
#: canvas_view.cpp:1312 fig/box_view.cpp:2128
#: canvas_view.cpp:1307 fig/box_view.cpp:2128
msgid "Exported '%1'"
msgstr "Vyvedeno '%1'"
#: canvas_view.cpp:1314 fig/box_view.cpp:2130
#: canvas_view.cpp:1309 fig/box_view.cpp:2130
msgid "Could not save to %1"
msgstr "Nepodařilo se uložit do %1"
#: canvas_view.cpp:1314 fig/box_view.cpp:2130
#: canvas_view.cpp:1309 fig/box_view.cpp:2130
msgid "Missing picture"
msgstr "Chybí obrázek"
#: canvas_view.cpp:1607
#: canvas_view.cpp:1602
#, fuzzy
msgid "Semantik map"
msgstr "Semantik"
#: canvas_view.cpp:1645 fig/box_view.cpp:1990
#: canvas_view.cpp:1640 fig/box_view.cpp:1990
msgid "Printing cancelled"
msgstr ""
#: canvas_view.cpp:1656 fig/box_view.cpp:2001
#: canvas_view.cpp:1651 fig/box_view.cpp:2001
msgid "Printing completed"
msgstr ""
#: canvas_view.cpp:1660 fig/box_view.cpp:2005
#: canvas_view.cpp:1655 fig/box_view.cpp:2005
msgid "Problem during printing :-("
msgstr ""
......@@ -419,13 +419,13 @@ msgstr ""
#. i18n: ectx: @info:tipoftheday
#: data/tips.cpp:93
msgid ""
"<h3>9. Code snippets in LaTeX</h3>\n"
"<h3>9. Code snippets</h3>\n"
"<p>\n"
"Code snippets can be highlighted with Minted in pdflatex documents or Beamer "
"presentations.\n"
"Enable Minted by setting adding source code in the data box and adding the "
"variable <i>minted_lang</i>\n"
"to the variables box, for example: <pre>minted_lang=java</pre>\n"
"Code snippets can be highlighted by Pygments in html, S5, Beamer, Pdflatex "
"or html documents.\n"
"Enable Pygments by setting adding source code in the data box and adding the "
"variable <i>code_lang</i>\n"
"to the variables box, for example: <pre>code_lang=java</pre>\n"
"</p>\n"
msgstr ""
......
......@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: semantik\n"
"Report-Msgid-Bugs-To: https://gitlab.com/ita1024/semantik/issues\n"
"POT-Creation-Date: 2018-10-12 23:33+0200\n"
"POT-Creation-Date: 2018-10-14 11:00+0200\n"
"PO-Revision-Date: 2015-11-28 15:00+0100\n"
"Last-Translator: St. Briest\n"
"Language-Team:\n"
......@@ -190,42 +190,42 @@ msgstr "Bild"
msgid "Click to set Item %1"
msgstr "Klicken um Element %1 zu setzen"
#: canvas_view.cpp:1250 fig/box_view.cpp:2066
#: canvas_view.cpp:1245 fig/box_view.cpp:2066
msgid ""
"*.png|PNG Files (*.png)\n"
"*.svg|SVG Files (*.svg)\n"
"*.pdf|PDF Files (*.pdf)"
msgstr ""
#: canvas_view.cpp:1288 fig/box_view.cpp:2104
#: canvas_view.cpp:1283 fig/box_view.cpp:2104
msgid "No destination file selected"
msgstr "Keine Zieldatei ausgewählt"
#: canvas_view.cpp:1312 fig/box_view.cpp:2128
#: canvas_view.cpp:1307 fig/box_view.cpp:2128
msgid "Exported '%1'"
msgstr "'%1' exportiert"
#: canvas_view.cpp:1314 fig/box_view.cpp:2130
#: canvas_view.cpp:1309 fig/box_view.cpp:2130
msgid "Could not save to %1"
msgstr "%1 kann nicht gesichert werden"
#: canvas_view.cpp:1314 fig/box_view.cpp:2130
#: canvas_view.cpp:1309 fig/box_view.cpp:2130
msgid "Missing picture"
msgstr "fehlendes Bild"
#: canvas_view.cpp:1607
#: canvas_view.cpp:1602
msgid "Semantik map"
msgstr "Semantik map"
#: canvas_view.cpp:1645 fig/box_view.cpp:1990
#: canvas_view.cpp:1640 fig/box_view.cpp:1990
msgid "Printing cancelled"
msgstr "Druck abgebrochen"
#: canvas_view.cpp:1656 fig/box_view.cpp:2001
#: canvas_view.cpp:1651 fig/box_view.cpp:2001
msgid "Printing completed"
msgstr "Druck vollständig"
#: canvas_view.cpp:1660 fig/box_view.cpp:2005
#: canvas_view.cpp:1655 fig/box_view.cpp:2005
msgid "Problem during printing :-("
msgstr "Problem während des Drucks :-("
......@@ -416,13 +416,13 @@ msgstr ""
#. i18n: ectx: @info:tipoftheday
#: data/tips.cpp:93
msgid ""
"<h3>9. Code snippets in LaTeX</h3>\n"
"<h3>9. Code snippets</h3>\n"
"<p>\n"
"Code snippets can be highlighted with Minted in pdflatex documents or Beamer "
"presentations.\n"
"Enable Minted by setting adding source code in the data box and adding the "
"variable <i>minted_lang</i>\n"
"to the variables box, for example: <pre>minted_lang=java</pre>\n"
"Code snippets can be highlighted by Pygments in html, S5, Beamer, Pdflatex "
"or html documents.\n"
"Enable Pygments by setting adding source code in the data box and adding the "
"variable <i>code_lang</i>\n"
"to the variables box, for example: <pre>code_lang=java</pre>\n"
"</p>\n"
msgstr ""
......
......@@ -3,7 +3,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://gitlab.com/ita1024/semantik/issues\n"
"POT-Creation-Date: 2018-10-12 23:33+0200\n"
"POT-Creation-Date: 2018-10-14 11:00+0200\n"
"PO-Revision-Date: 2009-07-28 12:17+0300\n"
"Last-Translator: \n"
"Language-Team: Ελληνικά <kde-i18n-doc@kde.org>\n"
......@@ -192,46 +192,46 @@ msgstr "Εικόνα"
msgid "Click to set Item %1"
msgstr "Κλικ για τον ορισμό αντικειμένου %1"
#: canvas_view.cpp:1250 fig/box_view.cpp:2066
#: canvas_view.cpp:1245 fig/box_view.cpp:2066
msgid ""
"*.png|PNG Files (*.png)\n"
"*.svg|SVG Files (*.svg)\n"
"*.pdf|PDF Files (*.pdf)"
msgstr ""
#: canvas_view.cpp:1288 fig/box_view.cpp:2104
#: canvas_view.cpp:1283 fig/box_view.cpp:2104
msgid "No destination file selected"
msgstr ""
#: canvas_view.cpp:1312 fig/box_view.cpp:2128
#: canvas_view.cpp:1307 fig/box_view.cpp:2128
#, fuzzy
msgid "Exported '%1'"
msgstr "Αποθηκεύτηκε '%1'"
#: canvas_view.cpp:1314 fig/box_view.cpp:2130
#: canvas_view.cpp:1309 fig/box_view.cpp:2130
#, fuzzy
msgid "Could not save to %1"
msgstr "Κλικ για τον ορισμό αντικειμένου %1"
#: canvas_view.cpp:1314 fig/box_view.cpp:2130
#: canvas_view.cpp:1309 fig/box_view.cpp:2130
#, fuzzy
msgid "Missing picture"
msgstr "Αλλαγή εικόνας"
#: canvas_view.cpp:1607
#: canvas_view.cpp:1602
#, fuzzy
msgid "Semantik map"
msgstr "Semantik"
#: canvas_view.cpp:1645 fig/box_view.cpp:1990
#: canvas_view.cpp:1640 fig/box_view.cpp:1990
msgid "Printing cancelled"
msgstr ""
#: canvas_view.cpp:1656 fig/box_view.cpp:2001
#: canvas_view.cpp:1651 fig/box_view.cpp:2001
msgid "Printing completed"
msgstr ""
#: canvas_view.cpp:1660 fig/box_view.cpp:2005
#: canvas_view.cpp:1655 fig/box_view.cpp:2005
msgid "Problem during printing :-("
msgstr ""
......@@ -425,13 +425,13 @@ msgstr ""
#. i18n: ectx: @info:tipoftheday
#: data/tips.cpp:93
msgid ""
"<h3>9. Code snippets in LaTeX</h3>\n"
"<h3>9. Code snippets</h3>\n"
"<p>\n"
"Code snippets can be highlighted with Minted in pdflatex documents or Beamer "
"presentations.\n"
"Enable Minted by setting adding source code in the data box and adding the "
"variable <i>minted_lang</i>\n"
"to the variables box, for example: <pre>minted_lang=java</pre>\n"
"Code snippets can be highlighted by Pygments in html, S5, Beamer, Pdflatex "
"or html documents.\n"
"Enable Pygments by setting adding source code in the data box and adding the "
"variable <i>code_lang</i>\n"
"to the variables box, for example: <pre>code_lang=java</pre>\n"
"</p>\n"
msgstr ""
......
......@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: https://gitlab.com/ita1024/semantik/issues\n"
"POT-Creation-Date: 2018-10-12 23:33+0200\n"
"POT-Creation-Date: 2018-10-14 11:00+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"
......@@ -180,42 +180,42 @@ msgstr ""
msgid "Click to set Item %1"
msgstr ""
#: canvas_view.cpp:1250 fig/box_view.cpp:2066
#: canvas_view.cpp:1245 fig/box_view.cpp:2066
msgid ""
"*.png|PNG Files (*.png)\n"
"*.svg|SVG Files (*.svg)\n"
"*.pdf|PDF Files (*.pdf)"
msgstr ""
#: canvas_view.cpp:1288 fig/box_view.cpp:2104
#: canvas_view.cpp:1283 fig/box_view.cpp:2104
msgid "No destination file selected"
msgstr ""
#: canvas_view.cpp:1312 fig/box_view.cpp:2128
#: canvas_view.cpp:1307 fig/box_view.cpp:2128
msgid "Exported '%1'"
msgstr ""
#: canvas_view.cpp:1314 fig/box_view.cpp:2130
#: canvas_view.cpp:1309 fig/box_view.cpp:2130
msgid "Could not save to %1"
msgstr ""
#: canvas_view.cpp:1314 fig/box_view.cpp:2130
#: canvas_view.cpp:1309 fig/box_view.cpp:2130
msgid "Missing picture"
msgstr ""
#: canvas_view.cpp:1607
#: canvas_view.cpp:1602
msgid "Semantik map"
msgstr ""
#: canvas_view.cpp:1645 fig/box_view.cpp:1990
#: canvas_view.cpp:1640 fig/box_view.cpp:1990
msgid "Printing cancelled"
msgstr ""
#: canvas_view.cpp:1656 fig/box_view.cpp:2001
#: canvas_view.cpp:1651 fig/box_view.cpp:2001
msgid "Printing completed"
msgstr ""
#: canvas_view.cpp:1660 fig/box_view.cpp:2005
#: canvas_view.cpp:1655 fig/box_view.cpp:2005
msgid "Problem during printing :-("
msgstr ""
......@@ -404,13 +404,13 @@ msgstr ""
#. i18n: ectx: @info:tipoftheday
#: data/tips.cpp:93
msgid ""
"<h3>9. Code snippets in LaTeX</h3>\n"
"<h3>9. Code snippets</h3>\n"
"<p>\n"
"Code snippets can be highlighted with Minted in pdflatex documents or Beamer "
"presentations.\n"
"Enable Minted by setting adding source code in the data box and adding the "
"variable <i>minted_lang</i>\n"
"to the variables box, for example: <pre>minted_lang=java</pre>\n"
"Code snippets can be highlighted by Pygments in html, S5, Beamer, Pdflatex "
"or html documents.\n"
"Enable Pygments by setting adding source code in the data box and adding the "
"variable <i>code_lang</i>\n"
"to the variables box, for example: <pre>code_lang=java</pre>\n"
"</p>\n"
msgstr ""
......
......@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: https://gitlab.com/ita1024/semantik/issues\n"
"POT-Creation-Date: 2018-10-12 23:33+0200\n"
"POT-Creation-Date: 2018-10-14 11:00+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"
......@@ -181,7 +181,7 @@ msgstr "Image"
msgid "Click to set Item %1"
msgstr "Cliquer pour mettre en place l'item %1"
#: canvas_view.cpp:1250 fig/box_view.cpp:2066
#: canvas_view.cpp:1245 fig/box_view.cpp:2066
msgid ""
"*.png|PNG Files (*.png)\n"
"*.svg|SVG Files (*.svg)\n"
......@@ -191,35 +191,35 @@ msgstr ""
"*.svg|Fichiers SVG (*.svg)\n"
"*.pdf|Fichiers PDF (*.pdf)"
#: canvas_view.cpp:1288 fig/box_view.cpp:2104
#: canvas_view.cpp:1283 fig/box_view.cpp:2104
msgid "No destination file selected"
msgstr "Aucun fichier de destination sélectionné"
#: canvas_view.cpp:1312 fig/box_view.cpp:2128
#: canvas_view.cpp:1307 fig/box_view.cpp:2128
msgid "Exported '%1'"
msgstr "'%1' exporté"
#: canvas_view.cpp:1314 fig/box_view.cpp:2130
#: canvas_view.cpp:1309 fig/box_view.cpp:2130
msgid "Could not save to %1"
msgstr "Impossible de sauvegarder %1"
#: canvas_view.cpp:1314 fig/box_view.cpp:2130
#: canvas_view.cpp:1309 fig/box_view.cpp:2130
msgid "Missing picture"
msgstr "Image manquante"
#: canvas_view.cpp:1607
#: canvas_view.cpp:1602
msgid "Semantik map"
msgstr "Carte Semantik"
#: canvas_view.cpp:1645 fig/box_view.cpp:1990
#: canvas_view.cpp:1640 fig/box_view.cpp:1990
msgid "Printing cancelled"
msgstr "Impression annulée"
#: canvas_view.cpp:1656 fig/box_view.cpp:2001
#: canvas_view.cpp:1651 fig/box_view.cpp:2001
msgid "Printing completed"
msgstr "Impression terminée"
#: canvas_view.cpp:1660 fig/box_view.cpp:2005
#: canvas_view.cpp:1655 fig/box_view.cpp:2005
msgid "Problem during printing :-("
msgstr "Problème lors de l'impression"
......@@ -492,22 +492,22 @@ msgstr ""
#. i18n: ectx: @info:tipoftheday
#: data/tips.cpp:93
msgid ""
"<h3>9. Code snippets in LaTeX</h3>\n"
"<h3>9. Code snippets</h3>\n"
"<p>\n"
"Code snippets can be highlighted with Minted in pdflatex documents or Beamer "
"presentations.\n"
"Enable Minted by setting adding source code in the data box and adding the "
"variable <i>minted_lang</i>\n"
"to the variables box, for example: <pre>minted_lang=java</pre>\n"
"Code snippets can be highlighted by Pygments in html, S5, Beamer, Pdflatex "
"or html documents.\n"
"Enable Pygments by setting adding source code in the data box and adding the "
"variable <i>code_lang</i>\n"
"to the variables box, for example: <pre>code_lang=java</pre>\n"
"</p>\n"
msgstr ""
"<h3>9. Extraits de code LaTeX</h3>\n"
"<h3>9. Extraits de code</h3>\n"
"<p>\n"
"Les extraits de code peuvent bénéficier de la coloration synthaxique de "
"Minted dans les documents LaTeX ou les présentations Beamer.\n"
"Pour activer Minted, définir l'ajoût du code source dans la fenêtre des "
"données et ajouter la variable <i>minted_lang</i>\n"
"dans la fenêtre des variables, par exemple : <pre>minted_lang=java</pre>\n"
"Pygments dans les documents de type Beamer, Pdflatex, S5 ou Html.\n"
"Pour activer Pygments, définir l'ajoût du code source dans la fenêtre des "
"données et ajouter la variable <i>code_lang</i>\n"
"dans la fenêtre des variables, par exemple : <pre>code_lang=java</pre>\n"
"</p>\n"
#: data_view.cpp:17
......
......@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: semantik\n"
"Report-Msgid-Bugs-To: https://gitlab.com/ita1024/semantik/issues\n"
"POT-Creation-Date: 2018-10-12 23:33+0200\n"
"POT-Creation-Date: 2018-10-14 11:00+0200\n"
"PO-Revision-Date: 2015-02-08 01:01+0300\n"
"Last-Translator: AlexL <loginov.alex.valer@gmail.com>\n"
"Language-Team: Russian <kde-russian@lists.kde.ru>\n"
......@@ -191,42 +191,42 @@ msgstr "Картинка"
msgid "Click to set Item %1"
msgstr "Нажмите, чтобы установить объект %1"
#: canvas_view.cpp:1250 fig/box_view.cpp:2066
#: canvas_view.cpp:1245 fig/box_view.cpp:2066
msgid ""
"*.png|PNG Files (*.png)\n"
"*.svg|SVG Files (*.svg)\n"
"*.pdf|PDF Files (*.pdf)"
msgstr ""
#: canvas_view.cpp:1288 fig/box_view.cpp:2104
#: canvas_view.cpp:1283 fig/box_view.cpp:2104
msgid "No destination file selected"
msgstr "Не выбран файл назначения"
#: canvas_view.cpp:1312 fig/box_view.cpp:2128
#: canvas_view.cpp:1307 fig/box_view.cpp:2128
msgid "Exported '%1'"
msgstr "'%1' экспортирован"
#: canvas_view.cpp:1314 fig/box_view.cpp:2130
#: canvas_view.cpp:1309 fig/box_view.cpp:2130
msgid "Could not save to %1"
msgstr "Не удалось сохранить %1"
#: canvas_view.cpp:1314 fig/box_view.cpp:2130
#: canvas_view.cpp:1309 fig/box_view.cpp:2130
msgid "Missing picture"
msgstr "Отсутствует картинка"
#: canvas_view.cpp:1607
#: canvas_view.cpp:1602
msgid "Semantik map"
msgstr "Карта Semantik"
#: canvas_view.cpp:1645 fig/box_view.cpp:1990
#: canvas_view.cpp:1640 fig/box_view.cpp:1990
msgid "Printing cancelled"
msgstr "Печать отменена"
#: canvas_view.cpp:1656 fig/box_view.cpp:2001
#: canvas_view.cpp:1651 fig/box_view.cpp:2001
msgid "Printing completed"
msgstr "Печать завершена"
#: canvas_view.cpp:1660 fig/box_view.cpp:2005
#: canvas_view.cpp:1655 fig/box_view.cpp:2005
msgid "Problem during printing :-("
msgstr "Проблема при печати :-("
......@@ -419,13 +419,13 @@ msgstr ""
#. i18n: ectx: @info:tipoftheday
#: data/tips.cpp:93
msgid ""
"<h3>9. Code snippets in LaTeX</h3>\n"
"<h3>9. Code snippets</h3>\n"
"<p>\n"
"Code snippets can be highlighted with Minted in pdflatex documents or Beamer "
"presentations.\n"
"Enable Minted by setting adding source code in the data box and adding the "
"variable <i>minted_lang</i>\n"
"to the variables box, for example: <pre>minted_lang=java</pre>\n"
"Code snippets can be highlighted by Pygments in html, S5, Beamer, Pdflatex "
"or html documents.\n"
"Enable Pygments by setting adding source code in the data box and adding the "
"variable <i>code_lang</i>\n"
"to the variables box, for example: <pre>code_lang=java</pre>\n"
"</p>\n"
msgstr ""
......
......@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: https://gitlab.com/ita1024/semantik/issues\n"
"POT-Creation-Date: 2018-10-12 23:33+0200\n"
"POT-Creation-Date: 2018-10-14 11:00+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"
......@@ -186,42 +186,42 @@ msgstr ""
msgid "Click to set Item %1"
msgstr ""
#: canvas_view.cpp:1250 fig/box_view.cpp:2066
#: canvas_view.cpp:1245 fig/box_view.cpp:2066
msgid ""
"*.png|PNG Files (*.png)\n"
"*.svg|SVG Files (*.svg)\n"
"*.pdf|PDF Files (*.pdf)"
msgstr ""
#: canvas_view.cpp:1288 fig/box_view.cpp:2104
#: canvas_view.cpp:1283 fig/box_view.cpp:2104
msgid "No destination file selected"
msgstr ""
#: canvas_view.cpp:1312 fig/box_view.cpp:2128
#: canvas_view.cpp:1307 fig/box_view.cpp:2128
msgid "Exported '%1'"
msgstr ""
#: canvas_view.cpp:1314 fig/box_view.cpp:2130
#: canvas_view.cpp:1309 fig/box_view.cpp:2130
msgid "Could not save to %1"
msgstr ""
#: canvas_view.cpp:1314 fig/box_view.cpp:2130
#: canvas_view.cpp:1309 fig/box_view.cpp:2130
msgid "Missing picture"
msgstr ""
#: canvas_view.cpp:1607
#: canvas_view.cpp:1602
msgid "Semantik map"
msgstr ""
#: canvas_view.cpp:1645 fig/box_view.cpp:1990
#: canvas_view.cpp:1640 fig/box_view.cpp:1990
msgid "Printing cancelled"
msgstr ""
#: canvas_view.cpp:1656 fig/box_view.cpp:2001
#: canvas_view.cpp:1651 fig/box_view.cpp:2001
msgid "Printing completed"
msgstr ""
#: canvas_view.cpp:1660 fig/box_view.cpp:2005
#: canvas_view.cpp:1655 fig/box_view.cpp:2005
msgid "Problem during printing :-("
msgstr ""
......@@ -410,13 +410,13 @@ msgstr ""
#. i18n: ectx: @info:tipoftheday
#: data/tips.cpp:93
msgid ""
"<h3>9. Code snippets in LaTeX</h3>\n"
"<h3>9. Code snippets</h3>\n"
"<p>\n"
"Code snippets can be highlighted with Minted in pdflatex documents or Beamer "
"presentations.\n"
"Enable Minted by setting adding source code in the data box and adding the "
"variable <i>minted_lang</i>\n"
"to the variables box, for example: <pre>minted_lang=java</pre>\n"
"Code snippets can be highlighted by Pygments in html, S5, Beamer, Pdflatex "
"or html documents.\n"
"Enable Pygments by setting adding source code in the data box and adding the "
"variable <i>code_lang</i>\n"
"to the variables box, for example: <pre>code_lang=java</pre>\n"
"</p>\n"
msgstr ""
......
......@@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: semantik 0.7.3\n"
"Report-Msgid-Bugs-To: https://gitlab.com/ita1024/semantik/issues\n"
"POT-Creation-Date: 2018-10-12 23:33+0200\n"
"POT-Creation-Date: 2018-10-14 11:00+0200\n"
"PO-Revision-Date: 2010-01-26 18:08+0100\n"
"Last-Translator: Slavko\n"
"Language-Team: Slovenský <nomail>\n"
......@@ -192,46 +192,46 @@ msgstr "Obrázok"
msgid "Click to set Item %1"
msgstr "Kliknite pre výber položky %1"
#: canvas_view.cpp:1250 fig/box_view.cpp:2066
#: canvas_view.cpp:1245 fig/box_view.cpp:2066
msgid ""
"*.png|PNG Files (*.png)\n"
"*.svg|SVG Files (*.svg)\n"
"*.pdf|PDF Files (*.pdf)"
msgstr ""
#: canvas_view.cpp:1288 fig/box_view.cpp:2104
#: canvas_view.cpp:1283 fig/box_view.cpp:2104
msgid "No destination file selected"
msgstr ""
#: canvas_view.cpp:1312 fig/box_view.cpp:2128
#: canvas_view.cpp:1307 fig/box_view.cpp:2128
#, fuzzy
msgid "Exported '%1'"
msgstr "Uložené '%1'"
#: canvas_view.cpp:1314 fig/box_view.cpp:2130
#: canvas_view.cpp:1309 fig/box_view.cpp:2130
#, fuzzy
msgid "Could not save to %1"
msgstr "Kliknite pre výber položky %1"
#: canvas_view.cpp:1314 fig/box_view.cpp:2130
#: canvas_view.cpp:1309 fig/box_view.cpp:2130
#, fuzzy
msgid "Missing picture"
msgstr "Zmeniť obrázok"
#: canvas_view.cpp:1607
#: canvas_view.cpp:1602
#, fuzzy
msgid "Semantik map"
msgstr "Semantik"
#: canvas_view.cpp:1645 fig/box_view.cpp:1990
#: canvas_view.cpp:1640 fig/box_view.cpp:1990
msgid "Printing cancelled"
msgstr ""
#: canvas_view.cpp:1656 fig/box_view.cpp:2001
#: canvas_view.cpp:1651 fig/box_view.cpp:2001
msgid "Printing completed"
msgstr ""
#: canvas_view.cpp:1660 fig/box_view.cpp:2005
#: canvas_view.cpp:1655 fig/box_view.cpp:2005
msgid "Problem during printing :-("
msgstr ""
......@@ -423,13 +423,13 @@ msgstr ""
#. i18n: ectx: @info:tipoftheday
#: data/tips.cpp:93
msgid ""
"<h3>9. Code snippets in LaTeX</h3>\n"
"<h3>9. Code snippets</h3>\n"
"<p>\n"
"Code snippets can be highlighted with Minted in pdflatex documents or Beamer "
"presentations.\n"
"Enable Minted by setting adding source code in the data box and adding the "
"variable <i>minted_lang</i>\n"
"to the variables box, for example: <pre>minted_lang=java</pre>\n"
"Code snippets can be highlighted by Pygments in html, S5, Beamer, Pdflatex "
"or html documents.\n"
"Enable Pygments by setting adding source code in the data box and adding the "
"variable <i>code_lang</i>\n"
"to the variables box, for example: <pre>code_lang=java</pre>\n"
"</p>\n"
msgstr ""
......
......@@ -111,24 +111,25 @@ def print_figure_slides(node, recurse=False):
typo = node.get_val('type')
if typo in ['text']:
body = parse_raw(node.get_val('text')).strip()
lang = node.get_var('minted_lang').strip()
lang = node.get_var('code_lang').strip() or node.get_var('minted_lang').strip()
if body and not lang:
sys.stderr.write('For code snippets, set the variable minted_lang\n')
sys.stderr.write('For code snippets, set the variable code_lang\n')
if body and lang:
settings['use_minted'] = 1
filename = 'code-%s.minted' % node.get_val("id")
minted_opts = node.get_var('minted_opts').strip() or 'linenos'
with open(outdir + '/' + filename, 'w', encoding='utf-8') as f:
f.write(body)
title = tex_convert(node.get_val('summary'))
out('\\begin{frame}[fragile]\n')
out('\\frametitle{%s}\n\n' % title)
out('\\begin{tcolorbox}\n')
#out('\\begin{tcolorbox}\n')
out('\\tiny\n')
out('\\ttfamily\n')
out('\\inputminted{%s}{%s}\n' % (lang, '../' + filename))
out('\\end{tcolorbox}\n')
out('\\inputminted[%s]{%s}{%s}\n' % (minted_opts, lang, '../' + filename))
#out('\\end{tcolorbox}\n')
out('\\end{frame}\n')
elif typo in ['table', 'diag', 'img']:
txt = tex_convert(node.get_val('summary'))
......@@ -238,9 +239,6 @@ settings['doc_content'] = ''.join(buf)
# now write main.tex