Skip to content

Commit

Permalink
Title and description tags removed from exported SVGs (#1253)
Browse files Browse the repository at this point in the history
Signed-off-by: DSCaskey <[email protected]>
Co-authored-by: DSCaskey <[email protected]>
  • Loading branch information
Onetchou and DSCaskey authored Mar 2, 2025
1 parent 6c69143 commit fc7f296
Show file tree
Hide file tree
Showing 20 changed files with 10 additions and 85 deletions.
4 changes: 0 additions & 4 deletions share/translations/seamly2d_cs_CZ.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9935,10 +9935,6 @@ Press enter to temporarily add it to the list.</source>
<source>Open Image File</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Pattern</source>
<translation type="unfinished">Střih</translation>
</message>
</context>
<context>
<name>QmuParser</name>
Expand Down
20 changes: 8 additions & 12 deletions share/translations/seamly2d_de_DE.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4210,7 +4210,7 @@ for writing</source>
<translation>Date %1 kann nicht zum schreiben geöffnet werden</translation>
</message>
<message>
<source>Unable to get exclusive access to file
<source>Unable to get exclusive access to file
%1
Possibly the file is already being downloaded.</source>
<translation type="unfinished"></translation>
Expand Down Expand Up @@ -5335,7 +5335,7 @@ Das Programm wird WIE ES IST, OHNE GEWÄHRLEISTUNG JEGLICHER ART, EINSCHLIESSLIC
<translation>Millimeter</translation>
</message>
<message>
<source>Margins go beyond printing.
<source>Margins go beyond printing.

Apply settings anyway?</source>
<translation type="unfinished"></translation>
Expand Down Expand Up @@ -9953,10 +9953,6 @@ Drücken Sie die Eingabetaste, um ihn vorübergehend in die Liste aufzunehmen.</
<source>Open Image File</source>
<translation>Bilddatei öffnen</translation>
</message>
<message>
<source>Pattern</source>
<translation>Schnittmuster</translation>
</message>
</context>
<context>
<name>QmuParser</name>
Expand Down Expand Up @@ -10385,13 +10381,13 @@ Drücken Sie die Eingabetaste, um ihn vorübergehend in die Liste aufzunehmen.</
<translation>Zoll</translation>
</message>
<message>
<source>Selects what decimal separator char to use.
When checked the separator for the user&apos;s locale is used.
<source>Selects what decimal separator char to use.
When checked the separator for the user&apos;s locale is used.
When unchecked the period is used.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>When checked the Welcome window will not be displayed.
<source>When checked the Welcome window will not be displayed.
You can change this setting in the SeamlyMe preferences.</source>
<translation type="unfinished"></translation>
</message>
Expand Down Expand Up @@ -10459,13 +10455,13 @@ You can change this setting in the SeamlyMe preferences.</source>
<translation>Legt den Klickton für die Knotenauswahl fest.</translation>
</message>
<message>
<source>Selects what decimal separator char to use.
When checked the separator for the user&apos;s locale is used.
<source>Selects what decimal separator char to use.
When checked the separator for the user&apos;s locale is used.
When unchecked the period is used.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>When checked the Welcome window will not be displayed.
<source>When checked the Welcome window will not be displayed.
You can change this setting in the Seamly2D preferences.</source>
<translation type="unfinished"></translation>
</message>
Expand Down
4 changes: 0 additions & 4 deletions share/translations/seamly2d_el_GR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9935,10 +9935,6 @@ Press enter to temporarily add it to the list.</source>
<source>Open Image File</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Pattern</source>
<translation type="unfinished">Πατρόν</translation>
</message>
</context>
<context>
<name>QmuParser</name>
Expand Down
4 changes: 0 additions & 4 deletions share/translations/seamly2d_en_CA.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9938,10 +9938,6 @@ Press enter to temporarily add it to the list.</source>
<source>Open Image File</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Pattern</source>
<translation type="unfinished">Pattern</translation>
</message>
</context>
<context>
<name>QmuParser</name>
Expand Down
4 changes: 0 additions & 4 deletions share/translations/seamly2d_en_GB.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9938,10 +9938,6 @@ Press enter to temporarily add it to the list.</source>
<source>Open Image File</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Pattern</source>
<translation type="unfinished">Pattern</translation>
</message>
</context>
<context>
<name>QmuParser</name>
Expand Down
4 changes: 0 additions & 4 deletions share/translations/seamly2d_en_IN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9938,10 +9938,6 @@ Press enter to temporarily add it to the list.</source>
<source>Open Image File</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Pattern</source>
<translation type="unfinished">Pattern</translation>
</message>
</context>
<context>
<name>QmuParser</name>
Expand Down
4 changes: 0 additions & 4 deletions share/translations/seamly2d_en_US.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9938,10 +9938,6 @@ Press enter to temporarily add it to the list.</source>
<source>Open Image File</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Pattern</source>
<translation type="unfinished">Pattern</translation>
</message>
</context>
<context>
<name>QmuParser</name>
Expand Down
4 changes: 0 additions & 4 deletions share/translations/seamly2d_es_ES.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10011,10 +10011,6 @@ actualización:</translation>
<source>Open Image File</source>
<translation>Abrir archivo de imagen</translation>
</message>
<message>
<source>Pattern</source>
<translation>Patrón</translation>
</message>
</context>
<context>
<name>QmuParser</name>
Expand Down
4 changes: 0 additions & 4 deletions share/translations/seamly2d_fi_FI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9935,10 +9935,6 @@ Press enter to temporarily add it to the list.</source>
<source>Open Image File</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Pattern</source>
<translation type="unfinished">Kaava</translation>
</message>
</context>
<context>
<name>QmuParser</name>
Expand Down
4 changes: 0 additions & 4 deletions share/translations/seamly2d_fr_FR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9938,10 +9938,6 @@ Press enter to temporarily add it to the list.</source>
<source>Open Image File</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Pattern</source>
<translation type="unfinished">Patron</translation>
</message>
</context>
<context>
<name>QmuParser</name>
Expand Down
4 changes: 0 additions & 4 deletions share/translations/seamly2d_he_IL.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9934,10 +9934,6 @@ Press enter to temporarily add it to the list.</source>
<source>Open Image File</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Pattern</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QmuParser</name>
Expand Down
4 changes: 0 additions & 4 deletions share/translations/seamly2d_id_ID.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9935,10 +9935,6 @@ Press enter to temporarily add it to the list.</source>
<source>Open Image File</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Pattern</source>
<translation type="unfinished">Pola</translation>
</message>
</context>
<context>
<name>QmuParser</name>
Expand Down
4 changes: 0 additions & 4 deletions share/translations/seamly2d_it_IT.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9938,10 +9938,6 @@ Press enter to temporarily add it to the list.</source>
<source>Open Image File</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Pattern</source>
<translation type="unfinished">Modello</translation>
</message>
</context>
<context>
<name>QmuParser</name>
Expand Down
4 changes: 0 additions & 4 deletions share/translations/seamly2d_nl_NL.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9943,10 +9943,6 @@ Press enter to temporarily add it to the list.</source>
<source>Open Image File</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Pattern</source>
<translation>Patroon</translation>
</message>
</context>
<context>
<name>QmuParser</name>
Expand Down
4 changes: 0 additions & 4 deletions share/translations/seamly2d_pt_BR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9934,10 +9934,6 @@ Press enter to temporarily add it to the list.</source>
<source>Open Image File</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Pattern</source>
<translation type="unfinished">Molde</translation>
</message>
</context>
<context>
<name>QmuParser</name>
Expand Down
4 changes: 0 additions & 4 deletions share/translations/seamly2d_ro_RO.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9934,10 +9934,6 @@ Press enter to temporarily add it to the list.</source>
<source>Open Image File</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Pattern</source>
<translation type="unfinished">Model</translation>
</message>
</context>
<context>
<name>QmuParser</name>
Expand Down
4 changes: 0 additions & 4 deletions share/translations/seamly2d_ru_RU.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9970,10 +9970,6 @@ Press enter to temporarily add it to the list.</source>
<source>Open Image File</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Pattern</source>
<translation>Выкройка</translation>
</message>
</context>
<context>
<name>QmuParser</name>
Expand Down
4 changes: 0 additions & 4 deletions share/translations/seamly2d_uk_UA.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9937,10 +9937,6 @@ Press enter to temporarily add it to the list.</source>
<source>Open Image File</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Pattern</source>
<translation type="unfinished">Лекало</translation>
</message>
</context>
<context>
<name>QmuParser</name>
Expand Down
4 changes: 0 additions & 4 deletions share/translations/seamly2d_zh_CN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9934,10 +9934,6 @@ Press enter to temporarily add it to the list.</source>
<source>Open Image File</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Pattern</source>
<translation type="unfinished">样板</translation>
</message>
</context>
<context>
<name>QmuParser</name>
Expand Down
3 changes: 2 additions & 1 deletion src/libs/vformat/svg_generator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,8 @@ void SvgGenerator::addSvgFromScene(QGraphicsScene *scene)
svgGenerator.setOutputDevice(&buffer);
svgGenerator.setSize(m_paper->rect().size().toSize());
svgGenerator.setViewBox(m_paper->rect());
svgGenerator.setTitle(QObject::tr("Pattern"));
svgGenerator.setTitle(QString());
svgGenerator.setDescription(QString());
svgGenerator.setResolution(m_resolution);

QPainter painter;
Expand Down

0 comments on commit fc7f296

Please sign in to comment.