Commit 53e74863 authored by Joachim Eibl's avatar Joachim Eibl

Patch by Patrick Mézard for max line length of README file and unused

function getLineEndStyleName().
Updated README.


git-svn-id: https://kdiff3.svn.sourceforge.net/svnroot/kdiff3/trunk@172 c8aa9fed-2811-0410-8543-893ada326672
parent 4a606db9
This diff is collapsed.
......@@ -20,7 +20,6 @@
# create_qm_files:
# Create translation files needed by qt-only version.
# Requirements: lconvert from qt4 (Thanks to Richard Hoyle for that tip)
# (previously: msg2qm from qt3-devel-tools)
export LANG=en_US.UTF-8
echo "Create qm files (KDiff3 translation files for the qt-only version)"
if [ "$1" = "local" ]; then
......@@ -33,18 +32,14 @@ if [ "$1" = "local" ]; then
for i in `ls ` ; do
if [ -s $i/kdiff3.po ]; then
# (msg2qm is from "qt3-devel-tools"-package.)
echo Creating ./kdiff3_$i.qm
#/usr/lib/qt3/bin/msg2qm $i/kdiff3.po kdiff3_$i.qm
lconvert -if po -of qm -o $path/kdiff3_$i.qm $i/kdiff3.po
fi
done
elif [ "$1" = "install" ]; then
for i in `ls` ; do
if [ -s $i/kdiff3.po ]; then
# (msg2qm is from "qt3-devel-tools"-package.)
echo Installing /usr/share/locale/$i/LC_MESSAGES/kdiff3.qm
#sudo /usr/lib/qt3/bin/msg2qm $i/kdiff3.po /usr/share/locale/$i/LC_MESSAGES/kdiff3.qm
sudo lconvert -if po -of qm -o /usr/share/locale/$i/LC_MESSAGES/kdiff3.qm $i/kdiff3.po
fi
done
......
......@@ -3194,14 +3194,14 @@ QString WindowTitleWidget::getFileName()
return m_pFileNameLineEdit->text();
}
static QString getLineEndStyleName( e_LineEndStyle eLineEndStyle )
{
if ( eLineEndStyle == eLineEndStyleDos )
return "DOS";
else if ( eLineEndStyle == eLineEndStyleUnix )
return "Unix";
return QString();
}
//static QString getLineEndStyleName( e_LineEndStyle eLineEndStyle )
//{
// if ( eLineEndStyle == eLineEndStyleDos )
// return "DOS";
// else if ( eLineEndStyle == eLineEndStyleUnix )
// return "Unix";
// return QString();
//}
void WindowTitleWidget::setLineEndStyles( e_LineEndStyle eLineEndStyleA, e_LineEndStyle eLineEndStyleB, e_LineEndStyle eLineEndStyleC)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment