tags 504726 patch
thanks
Adeodato Simó a scris:
> * Thomas Schweitzer [Wed, 12 Nov 2008 11:47:53 +0100]:
>
>> Oh, I see.
>> There are such evil people out there? ;-) Ok I never had such a way of
>> abuse on my mind, so I didn't care about that.
>
>> The next version 1.0.3 will have that fixed and I will send the
>> package to Marcela Tiznado so she can upload it for being tested.
>
> Note that at this stage of the release process, only targetted fixes are
> allowed into testing. This means that, if you wat Lenny to release with
> universalindentgui 0.8.x, you should prepare an upload that fixes only
> its RC bugs, and for which the diff of it can be reasonably reviewed by
> the release team.
I have prepared a fix for 504726, but I am uneasy about C++ people looking at
it (is strictly C).
Also, I am aware this will, most likely not work on windows (but since this is
a fix for us and
symlinks are not possible under Windows, I guess is OK).
A package (changelog is referenced against official debian package version) is
available at:
http://users.alioth.debian.org/~eddyp-guest/upload/universalindentgui-0.8.1-1.2/
DSC available at:
http://users.alioth.debian.org/~eddyp-guest/upload/universalindentgui-0.8.1-1.2/universalindentgui_0.8.1-1.2.dsc
--
Regards,
EddyP
=============================================
"Imagination is more important than knowledge" A.Einstein
diff --git a/universalindentgui-0.8.1/debian/changelog b/universalindentgui-0.8.1/debian/changelog
index 38cb52f..d8a10b0 100644
--- a/universalindentgui-0.8.1/debian/changelog
+++ b/universalindentgui-0.8.1/debian/changelog
@@ -1,3 +1,19 @@
+universalindentgui (0.8.1-1.2) unstable; urgency=low
+
+ * Avoid symlink attacks by using mkdtemp (Closes: 504726)
+
+ -- Eddy PetriÈor <[EMAIL PROTECTED]> Wed, 12 Nov 2008 01:34:23 +0200
+
+universalindentgui (0.8.1-1.1) unstable; urgency=high
+
+ * Non-maintainer upload.
+ * urgency high since universalindentgui is actually useless by default
+ (can be hacked to work by setting TMPDIR='/tmp/a')
+ * fixed temporary path asamblation so indents can work
+ (Closes: 486577)
+
+ -- Eddy PetriÈor <[EMAIL PROTECTED]> Wed, 05 Nov 2008 03:51:48 +0200
+
universalindentgui (0.8.1-1) unstable; urgency=low
* New upstream release
diff --git a/universalindentgui-0.8.1/src/mainwindow.cpp b/universalindentgui-0.8.1/src/mainwindow.cpp
index 287662b..67680a8 100644
--- a/universalindentgui-0.8.1/src/mainwindow.cpp
+++ b/universalindentgui-0.8.1/src/mainwindow.cpp
@@ -18,6 +18,7 @@
***************************************************************************/
#include "mainwindow.h"
+#include <stdlib.h>
//! \defgroup grp_MainWindow All concerning main window functionality.
@@ -87,12 +88,16 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) {
QFile::copy( globalFilesDirectoryStr+"/config/UiGuiSyntaxHighlightConfig.ini", settingsDirctoryStr+"/UiGuiSyntaxHighlightConfig.ini" );
}
indenterDirctoryStr = globalFilesDirectoryStr + "/indenters";
-#ifdef Q_OS_WIN
- tempDirctoryStr = QDir::tempPath() + "/UniversalIndentGUI";
-#else
- tempDirctoryStr = QDir::tempPath() + "UniversalIndentGUI";
-#endif
- dirCreator.mkpath( tempDirctoryStr );
+ tempDirctoryStr = QDir::tempPath() + "/uigXXXXXX";
+ QByteArray ba = tempDirctoryStr.toLatin1();
+ char *dtpl = ba.data();
+ char *nd;
+ if ( (nd=mkdtemp( dtpl )) == NULL ) {
+ // failed to create the temp dir
+ qDebug() << "Failed to create temporary directory.\n";
+ exit(1);
+ }
+ tempDirctoryStr = QString(QLatin1String(nd));
}
qDebug() << "Using directories:\nsettings = " << settingsDirctoryStr;
diff --git a/universalindentgui-0.8.1/translations/universalindent.ts b/universalindentgui-0.8.1/translations/universalindent.ts
index c4ab633..bdeffc1 100644
--- a/universalindentgui-0.8.1/translations/universalindent.ts
+++ b/universalindentgui-0.8.1/translations/universalindent.ts
@@ -411,103 +411,103 @@ Credits:</source>
<context>
<name>MainWindow</name>
<message>
- <location filename="../src/mainwindow.cpp" line="1258"/>
+ <location filename="../src/mainwindow.cpp" line="1262"/>
<source>Error opening file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1258"/>
+ <location filename="../src/mainwindow.cpp" line="1262"/>
<source>Cannot read the file </source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="549"/>
+ <location filename="../src/mainwindow.cpp" line="553"/>
<source>Supported by indenter</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1387"/>
+ <location filename="../src/mainwindow.cpp" line="1391"/>
<source>All files</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="514"/>
+ <location filename="../src/mainwindow.cpp" line="518"/>
<source>Choose source code file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="553"/>
+ <location filename="../src/mainwindow.cpp" line="557"/>
<source>Save source code file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="629"/>
+ <location filename="../src/mainwindow.cpp" line="633"/>
<source>Save indent config file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="649"/>
+ <location filename="../src/mainwindow.cpp" line="653"/>
<source>Choose indenter config file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="969"/>
+ <location filename="../src/mainwindow.cpp" line="973"/>
<source>PDF Document</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="998"/>
+ <location filename="../src/mainwindow.cpp" line="1002"/>
<source>Export source code file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="991"/>
+ <location filename="../src/mainwindow.cpp" line="995"/>
<source>HTML Document</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1143"/>
+ <location filename="../src/mainwindow.cpp" line="1147"/>
<source>Modified code</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1145"/>
+ <location filename="../src/mainwindow.cpp" line="1149"/>
<source>The source code has been modified.
Do you want to save your changes?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1353"/>
+ <location filename="../src/mainwindow.cpp" line="1357"/>
<source>Reopen the currently opened source code file by using the text encoding scheme </source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1217"/>
+ <location filename="../src/mainwindow.cpp" line="1221"/>
<source>Save the currently opened source code file by using the text encoding scheme </source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1361"/>
+ <location filename="../src/mainwindow.cpp" line="1365"/>
<source>Set the syntax highlightning to </source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1387"/>
+ <location filename="../src/mainwindow.cpp" line="1391"/>
<source>Shell Script</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1393"/>
+ <location filename="../src/mainwindow.cpp" line="1397"/>
<source>Save shell script</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1535"/>
+ <location filename="../src/mainwindow.cpp" line="1539"/>
<source>File no longer exists</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1535"/>
+ <location filename="../src/mainwindow.cpp" line="1539"/>
<source>The file %1 in the list of recently opened files does no longer exist.</source>
<translation type="unfinished"></translation>
</message>
diff --git a/universalindentgui-0.8.1/translations/universalindent_de.ts b/universalindentgui-0.8.1/translations/universalindent_de.ts
index 2dbc90d..9a2965e 100644
--- a/universalindentgui-0.8.1/translations/universalindent_de.ts
+++ b/universalindentgui-0.8.1/translations/universalindent_de.ts
@@ -664,69 +664,69 @@ Indent console output was:
<context>
<name>MainWindow</name>
<message>
- <location filename="../src/mainwindow.cpp" line="1258"/>
+ <location filename="../src/mainwindow.cpp" line="1262"/>
<source>Error opening file</source>
<translation>Fehler beim Dateiöffnen</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1258"/>
+ <location filename="../src/mainwindow.cpp" line="1262"/>
<source>Cannot read the file </source>
<translation> Kann folgende Datei nicht lesen</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="514"/>
+ <location filename="../src/mainwindow.cpp" line="518"/>
<source>Choose source code file</source>
<translation>Quellcodedatei wählen</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="553"/>
+ <location filename="../src/mainwindow.cpp" line="557"/>
<source>Save source code file</source>
<translation>Quellcodedatei speichern</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="629"/>
+ <location filename="../src/mainwindow.cpp" line="633"/>
<source>Save indent config file</source>
<translation>Formatierer Konfiguration speichern</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="649"/>
+ <location filename="../src/mainwindow.cpp" line="653"/>
<source>Choose indenter config file</source>
<translation>Formatierer Konfigurationsdatei wählen</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="998"/>
+ <location filename="../src/mainwindow.cpp" line="1002"/>
<source>Export source code file</source>
<translation>Quellcode exportieren</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1145"/>
+ <location filename="../src/mainwindow.cpp" line="1149"/>
<source>The source code has been modified.
Do you want to save your changes?</source>
<translation>Die Quellcodedatei wurde geändert.
Möchten Sie die Ãnderungen speichern?</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="549"/>
+ <location filename="../src/mainwindow.cpp" line="553"/>
<source>Supported by indenter</source>
<translation>Von Formatierer unterstützt</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1387"/>
+ <location filename="../src/mainwindow.cpp" line="1391"/>
<source>All files</source>
<translation>Alle Dateien</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="969"/>
+ <location filename="../src/mainwindow.cpp" line="973"/>
<source>PDF Document</source>
<translation>PDF Dokument</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="991"/>
+ <location filename="../src/mainwindow.cpp" line="995"/>
<source>HTML Document</source>
<translation>HTML Dokument</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1143"/>
+ <location filename="../src/mainwindow.cpp" line="1147"/>
<source>Modified code</source>
<translation>Geänderter Quellcode</translation>
</message>
@@ -761,7 +761,7 @@ Möchten Sie die Ãnderungen speichern?</translation>
<translation type="obsolete"> als Programmsprache verwenden.</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1353"/>
+ <location filename="../src/mainwindow.cpp" line="1357"/>
<source>Reopen the currently opened source code file by using the text encoding scheme </source>
<translation>Die momentan geöffnete Quellcodedatei erneut öffnen, unter Verwendung der Textkodierung </translation>
</message>
@@ -796,7 +796,7 @@ Möchten Sie die Ãnderungen speichern?</translation>
<translation type="obsolete">Chinesisch</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1361"/>
+ <location filename="../src/mainwindow.cpp" line="1365"/>
<source>Set the syntax highlightning to </source>
<translation>Setzte Syntax-Hervorhebung für </translation>
</message>
@@ -816,22 +816,22 @@ Möchten Sie die Ãnderungen speichern?</translation>
<translation type="obsolete">Zuletzt geöffnete Dateien</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1387"/>
+ <location filename="../src/mainwindow.cpp" line="1391"/>
<source>Shell Script</source>
<translation>Shell SKript</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1535"/>
+ <location filename="../src/mainwindow.cpp" line="1539"/>
<source>File no longer exists</source>
<translation>Datei existiert nicht mehr</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1535"/>
+ <location filename="../src/mainwindow.cpp" line="1539"/>
<source>The file %1 in the list of recently opened files does no longer exist.</source>
<translation>Die Datei %1 in der Liste der zuletzt geöffneten Dateien existiert nicht mehr.</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1393"/>
+ <location filename="../src/mainwindow.cpp" line="1397"/>
<source>Save shell script</source>
<translation>Shell Skript speichern</translation>
</message>
@@ -865,7 +865,7 @@ Wollen Sie zu Download Website geleitet werden?</translation>
<translation type="obsolete">Sie haben bereits die aktuellste Version von UniversalIndentGUI.</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1217"/>
+ <location filename="../src/mainwindow.cpp" line="1221"/>
<source>Save the currently opened source code file by using the text encoding scheme </source>
<translation>Die momentan geöffnete Quellcodedatei speichern, unter Verwendung der Textkodierung </translation>
</message>
diff --git a/universalindentgui-0.8.1/translations/universalindent_ja_JP.ts b/universalindentgui-0.8.1/translations/universalindent_ja_JP.ts
index d12f777..63b75cb 100644
--- a/universalindentgui-0.8.1/translations/universalindent_ja_JP.ts
+++ b/universalindentgui-0.8.1/translations/universalindent_ja_JP.ts
@@ -411,67 +411,67 @@ Credits:</source>
<context>
<name>MainWindow</name>
<message>
- <location filename="../src/mainwindow.cpp" line="1258"/>
+ <location filename="../src/mainwindow.cpp" line="1262"/>
<source>Error opening file</source>
<translation>ãã¡ã¤ã«ã®èªã¿è¾¼ã¿ã¨ã©ã¼ãçºçãã¾ãã</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1258"/>
+ <location filename="../src/mainwindow.cpp" line="1262"/>
<source>Cannot read the file </source>
<translation>次ã®ãã¡ã¤ã«ãéãã¾ããã§ããã: </translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="549"/>
+ <location filename="../src/mainwindow.cpp" line="553"/>
<source>Supported by indenter</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1387"/>
+ <location filename="../src/mainwindow.cpp" line="1391"/>
<source>All files</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="514"/>
+ <location filename="../src/mainwindow.cpp" line="518"/>
<source>Choose source code file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="553"/>
+ <location filename="../src/mainwindow.cpp" line="557"/>
<source>Save source code file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="629"/>
+ <location filename="../src/mainwindow.cpp" line="633"/>
<source>Save indent config file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="649"/>
+ <location filename="../src/mainwindow.cpp" line="653"/>
<source>Choose indenter config file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="969"/>
+ <location filename="../src/mainwindow.cpp" line="973"/>
<source>PDF Document</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="998"/>
+ <location filename="../src/mainwindow.cpp" line="1002"/>
<source>Export source code file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="991"/>
+ <location filename="../src/mainwindow.cpp" line="995"/>
<source>HTML Document</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1143"/>
+ <location filename="../src/mainwindow.cpp" line="1147"/>
<source>Modified code</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1145"/>
+ <location filename="../src/mainwindow.cpp" line="1149"/>
<source>The source code has been modified.
Do you want to save your changes?</source>
<translation type="unfinished"></translation>
@@ -482,37 +482,37 @@ Do you want to save your changes?</source>
<translation type="obsolete">è¨èª</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1353"/>
+ <location filename="../src/mainwindow.cpp" line="1357"/>
<source>Reopen the currently opened source code file by using the text encoding scheme </source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1361"/>
+ <location filename="../src/mainwindow.cpp" line="1365"/>
<source>Set the syntax highlightning to </source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1387"/>
+ <location filename="../src/mainwindow.cpp" line="1391"/>
<source>Shell Script</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1535"/>
+ <location filename="../src/mainwindow.cpp" line="1539"/>
<source>File no longer exists</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1535"/>
+ <location filename="../src/mainwindow.cpp" line="1539"/>
<source>The file %1 in the list of recently opened files does no longer exist.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1393"/>
+ <location filename="../src/mainwindow.cpp" line="1397"/>
<source>Save shell script</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1217"/>
+ <location filename="../src/mainwindow.cpp" line="1221"/>
<source>Save the currently opened source code file by using the text encoding scheme </source>
<translation type="unfinished"></translation>
</message>
diff --git a/universalindentgui-0.8.1/translations/universalindent_ru.ts b/universalindentgui-0.8.1/translations/universalindent_ru.ts
index 13966e2..a93372f 100644
--- a/universalindentgui-0.8.1/translations/universalindent_ru.ts
+++ b/universalindentgui-0.8.1/translations/universalindent_ru.ts
@@ -467,74 +467,74 @@ Credits:</source>
<context>
<name>MainWindow</name>
<message>
- <location filename="../src/mainwindow.cpp" line="1258"/>
+ <location filename="../src/mainwindow.cpp" line="1262"/>
<source>Error opening file</source>
<translation>ÐÑибка оÑкÑÑÑÐ¸Ñ Ñайла</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1258"/>
+ <location filename="../src/mainwindow.cpp" line="1262"/>
<source>Cannot read the file </source>
<translation>Ðевозможно пÑоÑиÑаÑÑ Ñайл </translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="549"/>
+ <location filename="../src/mainwindow.cpp" line="553"/>
<source>Supported by indenter</source>
<translation>ÐоддеÑживаеÑÑÑ Ð¾ÑÑÑÑпаÑоÑом</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1387"/>
+ <location filename="../src/mainwindow.cpp" line="1391"/>
<source>All files</source>
<translation>ÐÑе ÑайлÑ</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="514"/>
+ <location filename="../src/mainwindow.cpp" line="518"/>
<source>Choose source code file</source>
<translation>ÐÑбÑаÑÑ Ñайл иÑÑ
одного кода</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="553"/>
+ <location filename="../src/mainwindow.cpp" line="557"/>
<source>Save source code file</source>
<translation>СоÑ
ÑаниÑÑ Ñайл иÑÑ
одного кода</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="629"/>
+ <location filename="../src/mainwindow.cpp" line="633"/>
<source>Save indent config file</source>
<translation>СоÑ
ÑаниÑÑ ÐºÐ¾Ð½ÑигÑÑаÑионнÑй Ñайл оÑÑÑÑпаÑоÑа</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="649"/>
+ <location filename="../src/mainwindow.cpp" line="653"/>
<source>Choose indenter config file</source>
<translation>ÐÑбÑаÑÑ ÐºÐ¾Ð½ÑигÑÑаÑионнÑй Ñайл оÑÑÑÑпаÑоÑа</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="969"/>
+ <location filename="../src/mainwindow.cpp" line="973"/>
<source>PDF Document</source>
<translation>ÐокÑÐ¼ÐµÐ½Ñ PDF</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="998"/>
+ <location filename="../src/mainwindow.cpp" line="1002"/>
<source>Export source code file</source>
<translation>ÐкÑпоÑÑ Ñайла иÑÑ
одного кода</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="991"/>
+ <location filename="../src/mainwindow.cpp" line="995"/>
<source>HTML Document</source>
<translation>ÐокÑÐ¼ÐµÐ½Ñ HTML</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1143"/>
+ <location filename="../src/mainwindow.cpp" line="1147"/>
<source>Modified code</source>
<translation>ÐзмененнÑй код</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1145"/>
+ <location filename="../src/mainwindow.cpp" line="1149"/>
<source>The source code has been modified.
Do you want to save your changes?</source>
<translation>ÐÑÑ
однÑй код изменен.
ХоÑиÑе ÑоÑ
ÑаниÑÑ Ð¸Ð·Ð¼ÐµÐ½ÐµÐ½Ð¸Ñ?</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1353"/>
+ <location filename="../src/mainwindow.cpp" line="1357"/>
<source>Reopen the currently opened source code file by using the text encoding scheme </source>
<translation>ÐовÑоÑно оÑкÑÑÑÑ ÑекÑÑий оÑкÑÑÑÑй Ñайл иÑÑ
одного кода, иÑполÑзÑÑ ÑÑ
ÐµÐ¼Ñ ÐºÐ¾Ð´Ð¸ÑÐ¾Ð²Ð°Ð½Ð¸Ñ ÑекÑÑа </translation>
</message>
@@ -549,32 +549,32 @@ Do you want to save your changes?</source>
<translation type="obsolete">Ðе ÑÑÑеÑÑвÑÑÑ ini-ÑÐ°Ð¹Ð»Ñ Ð¾ÑÑÑÑпаÑоÑа в папке "</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1361"/>
+ <location filename="../src/mainwindow.cpp" line="1365"/>
<source>Set the syntax highlightning to </source>
<translation>ÐадаÑÑ Ð¿Ð¾Ð´ÑвеÑÐºÑ ÑинÑакÑиÑа на </translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1387"/>
+ <location filename="../src/mainwindow.cpp" line="1391"/>
<source>Shell Script</source>
<translation>СкÑÐ¸Ð¿Ñ Ð¾Ð±Ð¾Ð»Ð¾Ñки</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1393"/>
+ <location filename="../src/mainwindow.cpp" line="1397"/>
<source>Save shell script</source>
<translation>СоÑ
ÑаниÑÑ ÑкÑÐ¸Ð¿Ñ Ð¾Ð±Ð¾Ð»Ð¾Ñки</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1535"/>
+ <location filename="../src/mainwindow.cpp" line="1539"/>
<source>File no longer exists</source>
<translation>Файл болÑÑе не ÑÑÑеÑÑвÑеÑ</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1535"/>
+ <location filename="../src/mainwindow.cpp" line="1539"/>
<source>The file %1 in the list of recently opened files does no longer exist.</source>
<translation>Файл %1 из ÑпиÑка недавно оÑкÑÑÑÑÑ
Ñайлов болÑÑе не ÑÑÑеÑÑвÑеÑ.</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1217"/>
+ <location filename="../src/mainwindow.cpp" line="1221"/>
<source>Save the currently opened source code file by using the text encoding scheme </source>
<translation>СоÑ
ÑаниÑÑ ÑекÑÑий оÑкÑÑÑÑй Ñайл иÑÑ
одного кода Ñ Ð¸ÑполÑзованием ÑÑ
ÐµÐ¼Ñ ÐºÐ¾Ð´Ð¸ÑÐ¾Ð²Ð°Ð½Ð¸Ñ ÑекÑÑа(sp)</translation>
</message>
diff --git a/universalindentgui-0.8.1/translations/universalindent_uk.ts b/universalindentgui-0.8.1/translations/universalindent_uk.ts
index 0dfdaa6..e1d0415 100644
--- a/universalindentgui-0.8.1/translations/universalindent_uk.ts
+++ b/universalindentgui-0.8.1/translations/universalindent_uk.ts
@@ -467,74 +467,74 @@ Credits:</source>
<context>
<name>MainWindow</name>
<message>
- <location filename="../src/mainwindow.cpp" line="1258"/>
+ <location filename="../src/mainwindow.cpp" line="1262"/>
<source>Error opening file</source>
<translation>Ðомилка вÑдкÑиÑÑÑ Ñайла</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1258"/>
+ <location filename="../src/mainwindow.cpp" line="1262"/>
<source>Cannot read the file </source>
<translation>Ðеможливо пÑоÑиÑаÑи Ñайл </translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="549"/>
+ <location filename="../src/mainwindow.cpp" line="553"/>
<source>Supported by indenter</source>
<translation>ÐÑдÑÑимÑÑÑÑÑÑ Ð²ÑдÑÑÑпаÑем</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1387"/>
+ <location filename="../src/mainwindow.cpp" line="1391"/>
<source>All files</source>
<translation>ÐÑÑ Ñайли</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="514"/>
+ <location filename="../src/mainwindow.cpp" line="518"/>
<source>Choose source code file</source>
<translation>ÐбÑаÑи Ñайл ÐºÐ¾Ð´Ñ Ð´Ð¶ÐµÑела</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="553"/>
+ <location filename="../src/mainwindow.cpp" line="557"/>
<source>Save source code file</source>
<translation>ÐбеÑегÑи Ñайл ÐºÐ¾Ð´Ñ Ð´Ð¶ÐµÑела</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="629"/>
+ <location filename="../src/mainwindow.cpp" line="633"/>
<source>Save indent config file</source>
<translation>ÐбеÑегÑи Ñайл конÑÑгÑÑаÑÑÑ Ð²ÑдÑÑÑпÑв</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="649"/>
+ <location filename="../src/mainwindow.cpp" line="653"/>
<source>Choose indenter config file</source>
<translation>ÐбÑаÑи Ñайл конÑÑгÑÑаÑÑÑ Ð²ÑдÑÑÑпаÑа</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="969"/>
+ <location filename="../src/mainwindow.cpp" line="973"/>
<source>PDF Document</source>
<translation>ÐокÑÐ¼ÐµÐ½Ñ PDF</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="998"/>
+ <location filename="../src/mainwindow.cpp" line="1002"/>
<source>Export source code file</source>
<translation>ÐкÑпоÑÑÑваÑи Ñайл ÐºÐ¾Ð´Ñ Ð´Ð¶ÐµÑела</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="991"/>
+ <location filename="../src/mainwindow.cpp" line="995"/>
<source>HTML Document</source>
<translation>ÐокÑÐ¼ÐµÐ½Ñ HTML</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1143"/>
+ <location filename="../src/mainwindow.cpp" line="1147"/>
<source>Modified code</source>
<translation>ÐмÑнений код</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1145"/>
+ <location filename="../src/mainwindow.cpp" line="1149"/>
<source>The source code has been modified.
Do you want to save your changes?</source>
<translation>Ðод джеÑела змÑнено.
ХоÑеÑе збеÑегÑи змÑни?</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1353"/>
+ <location filename="../src/mainwindow.cpp" line="1357"/>
<source>Reopen the currently opened source code file by using the text encoding scheme </source>
<translation>ÐÑдкÑиÑи поÑоÑний вÑдкÑиÑий Ñайл ÐºÐ¾Ð´Ñ Ð´Ð¶ÐµÑела викоÑиÑÑовÑÑÑи ÑÑ
ÐµÐ¼Ñ ÐºÐ¾Ð´ÑÐ²Ð°Ð½Ð½Ñ ÑекÑÑÑ </translation>
</message>
@@ -549,32 +549,32 @@ Do you want to save your changes?</source>
<translation type="obsolete">Ðе ÑÑнÑÑ ini-ÑайлÑв вÑдÑÑÑпаÑа Ñ ÑеÑÑ "</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1361"/>
+ <location filename="../src/mainwindow.cpp" line="1365"/>
<source>Set the syntax highlightning to </source>
<translation>ÐÑÑановиÑи пÑдÑвÑÑÑÐ²Ð°Ð½Ð½Ñ ÑинÑакÑиÑÑ Ð½Ð° </translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1387"/>
+ <location filename="../src/mainwindow.cpp" line="1391"/>
<source>Shell Script</source>
<translation>СкÑÐ¸Ð¿Ñ Ð¾Ð±Ð¾Ð»Ð¾Ð½ÐºÐ¸</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1393"/>
+ <location filename="../src/mainwindow.cpp" line="1397"/>
<source>Save shell script</source>
<translation>ÐбеÑегÑи ÑкÑÐ¸Ð¿Ñ Ð¾Ð±Ð¾Ð»Ð¾Ð½ÐºÐ¸</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1535"/>
+ <location filename="../src/mainwindow.cpp" line="1539"/>
<source>File no longer exists</source>
<translation>Файл бÑлÑÑе не ÑÑнÑÑ</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1535"/>
+ <location filename="../src/mainwindow.cpp" line="1539"/>
<source>The file %1 in the list of recently opened files does no longer exist.</source>
<translation>Файл %1 з пеÑелÑÐºÑ Ð½ÐµÑодавно вÑдкÑиÑиÑ
ÑайлÑв бÑлÑÑе не ÑÑнÑÑ.</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1217"/>
+ <location filename="../src/mainwindow.cpp" line="1221"/>
<source>Save the currently opened source code file by using the text encoding scheme </source>
<translation>ÐбеÑегÑи поÑоÑний вÑдкÑиÑий Ñайл ÐºÐ¾Ð´Ñ Ð´Ð¶ÐµÑела викоÑиÑÑовÑÑÑи ÑÑ
ÐµÐ¼Ñ ÐºÐ¾Ð´ÑÐ²Ð°Ð½Ð½Ñ ÑекÑÑÑ(sp)</translation>
</message>
diff --git a/universalindentgui-0.8.1/translations/universalindent_zh_TW.ts b/universalindentgui-0.8.1/translations/universalindent_zh_TW.ts
index ee472dd..5dd614d 100644
--- a/universalindentgui-0.8.1/translations/universalindent_zh_TW.ts
+++ b/universalindentgui-0.8.1/translations/universalindent_zh_TW.ts
@@ -540,22 +540,22 @@ Credits:</source>
<translation type="obsolete"> å¥ç¨å°ç¨å¼çé¢</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1387"/>
+ <location filename="../src/mainwindow.cpp" line="1391"/>
<source>All files</source>
<translation>æææªæ¡</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1258"/>
+ <location filename="../src/mainwindow.cpp" line="1262"/>
<source>Cannot read the file </source>
<translation>ç¡æ³è®åæªæ¡</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="649"/>
+ <location filename="../src/mainwindow.cpp" line="653"/>
<source>Choose indenter config file</source>
<translation>鏿鿴工å
·è¨å®æª</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="514"/>
+ <location filename="../src/mainwindow.cpp" line="518"/>
<source>Choose source code file</source>
<translation>é¸ææªæ¡</translation>
</message>
@@ -565,12 +565,12 @@ Credits:</source>
<translation type="obsolete">English</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1258"/>
+ <location filename="../src/mainwindow.cpp" line="1262"/>
<source>Error opening file</source>
<translation>éåæªæ¡æç¼çé¯èª¤</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="998"/>
+ <location filename="../src/mainwindow.cpp" line="1002"/>
<source>Export source code file</source>
<translation>å¯åºæªæ¡</translation>
</message>
@@ -580,7 +580,7 @@ Credits:</source>
<translation type="obsolete">German</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="991"/>
+ <location filename="../src/mainwindow.cpp" line="995"/>
<source>HTML Document</source>
<translation>HTML æä»¶</translation>
</message>
@@ -590,12 +590,12 @@ Credits:</source>
<translation type="obsolete">鏿èªç³»</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1143"/>
+ <location filename="../src/mainwindow.cpp" line="1147"/>
<source>Modified code</source>
<translation>ä¿®æ¹å¾çæªæ¡</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="969"/>
+ <location filename="../src/mainwindow.cpp" line="973"/>
<source>PDF Document</source>
<translation>PDF æä»¶</translation>
</message>
@@ -605,27 +605,27 @@ Credits:</source>
<translation type="obsolete">ç¨å¥ç編碼æ¹å¼éæ°éå</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1353"/>
+ <location filename="../src/mainwindow.cpp" line="1357"/>
<source>Reopen the currently opened source code file by using the text encoding scheme </source>
<translation>éæ°éåç®åçæªæ¡ï¼ç·¨ç¢¼ä½¿ç¨ </translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="629"/>
+ <location filename="../src/mainwindow.cpp" line="633"/>
<source>Save indent config file</source>
<translation>å²åéæ´å·¥å
·çè¨å®</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="553"/>
+ <location filename="../src/mainwindow.cpp" line="557"/>
<source>Save source code file</source>
<translation>å²åæªæ¡</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="549"/>
+ <location filename="../src/mainwindow.cpp" line="553"/>
<source>Supported by indenter</source>
<translation>éæ´å·¥å
·æ¯æ´çæªæ¡é¡å</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1145"/>
+ <location filename="../src/mainwindow.cpp" line="1149"/>
<source>The source code has been modified.
Do you want to save your changes?</source>
<translation>ç¨å¼ç¢¼å·²è¢«ä¿®æ¹ã
@@ -667,7 +667,7 @@ Do you want to save your changes?</source>
<translation type="obsolete">Chinese (Taiwan)</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1361"/>
+ <location filename="../src/mainwindow.cpp" line="1365"/>
<source>Set the syntax highlightning to </source>
<translation>å°èªæ³é«äº®åº¦æ¹å¼è¨çº </translation>
</message>
@@ -677,22 +677,22 @@ Do you want to save your changes?</source>
<translation type="obsolete">é¸æèªæ³é«äº®åº¦</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1387"/>
+ <location filename="../src/mainwindow.cpp" line="1391"/>
<source>Shell Script</source>
<translation>æ¹æ¬¡æª</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1535"/>
+ <location filename="../src/mainwindow.cpp" line="1539"/>
<source>File no longer exists</source>
<translation>æªæ¡ä¸åå¨</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1535"/>
+ <location filename="../src/mainwindow.cpp" line="1539"/>
<source>The file %1 in the list of recently opened files does no longer exist.</source>
<translation>æ¾ä¸å°æªæ¡æ¸
å®è£¡çã%1ã</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1393"/>
+ <location filename="../src/mainwindow.cpp" line="1397"/>
<source>Save shell script</source>
<translation>å²åæ¹æ¬¡æª</translation>
</message>
@@ -711,7 +711,7 @@ Do you want to go to the download website?</source>
ä½ æ³è¦éåä¸è¼é é¢åï¼</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="1217"/>
+ <location filename="../src/mainwindow.cpp" line="1221"/>
<source>Save the currently opened source code file by using the text encoding scheme </source>
<translation>å¦åç®åçæªæ¡ï¼ç·¨ç¢¼ä½¿ç¨ </translation>
</message>