r20029 by craig - #11857: Remove extensions from format descriptions

scribus-commit scribus-commit at lists.scribus.net
Sun Apr 26 16:21:46 UTC 2015


Author: craig
Date: Sun Apr 26 16:21:45 2015
New Revision: 20029

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20029
Log:
#11857: Remove extensions from format descriptions

Modified:
    trunk/Scribus/scribus/plugins/import/shape/importshapeplugin.cpp
    trunk/Scribus/scribus/plugins/import/sml/importsmlplugin.cpp
    trunk/Scribus/scribus/plugins/import/xar/importxarplugin.cpp
    trunk/Scribus/scribus/util_formats.cpp

Modified: trunk/Scribus/scribus/plugins/import/shape/importshapeplugin.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20029&path=/trunk/Scribus/scribus/plugins/import/shape/importshapeplugin.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/import/shape/importshapeplugin.cpp (original)
+++ trunk/Scribus/scribus/plugins/import/shape/importshapeplugin.cpp Sun Apr 26 16:21:45 2015
@@ -52,8 +52,8 @@
 {
 	importAction->setText( tr("Import Dia Shapes..."));
 	FileFormat* fmt = getFormatByExt("sml");
-	fmt->trName = tr("Dia Shapes \"*.shape\" File");
-	fmt->filter = tr("Dia Shapes \"*.shape\" File (*.shape *.SHAPE)");
+	fmt->trName = tr("Dia Shapes File");
+	fmt->filter = tr("Dia Shapes File (*.shape *.SHAPE)");
 }
 
 ImportShapePlugin::~ImportShapePlugin()

Modified: trunk/Scribus/scribus/plugins/import/sml/importsmlplugin.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20029&path=/trunk/Scribus/scribus/plugins/import/sml/importsmlplugin.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/import/sml/importsmlplugin.cpp (original)
+++ trunk/Scribus/scribus/plugins/import/sml/importsmlplugin.cpp Sun Apr 26 16:21:45 2015
@@ -52,8 +52,8 @@
 {
 	importAction->setText( tr("Import Sml..."));
 	FileFormat* fmt = getFormatByExt("sml");
-	fmt->trName = tr("Kivio Stencils \"*.sml\" File");
-	fmt->filter = tr("Kivio Stencils \"*.sml\" File (*.sml *.SML)");
+	fmt->trName = tr("Kivio Stencils File");
+	fmt->filter = tr("Kivio Stencils File (*.sml *.SML)");
 }
 
 ImportSmlPlugin::~ImportSmlPlugin()

Modified: trunk/Scribus/scribus/plugins/import/xar/importxarplugin.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20029&path=/trunk/Scribus/scribus/plugins/import/xar/importxarplugin.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/import/xar/importxarplugin.cpp (original)
+++ trunk/Scribus/scribus/plugins/import/xar/importxarplugin.cpp Sun Apr 26 16:21:45 2015
@@ -52,8 +52,8 @@
 {
 	importAction->setText( tr("Import Xara..."));
 	FileFormat* fmt = getFormatByExt("xar");
-	fmt->trName = tr("XARA \"*.xar\" File");
-	fmt->filter = tr("XARA \"*.xar\" File (*.xar *.XAR)");
+	fmt->trName = tr("XARA File");
+	fmt->filter = tr("XARA File (*.xar *.XAR)");
 }
 
 ImportXarPlugin::~ImportXarPlugin()

Modified: trunk/Scribus/scribus/util_formats.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20029&path=/trunk/Scribus/scribus/util_formats.cpp
==============================================================================
--- trunk/Scribus/scribus/util_formats.cpp (original)
+++ trunk/Scribus/scribus/util_formats.cpp Sun Apr 26 16:21:45 2015
@@ -75,20 +75,20 @@
 	m_fmts.insert(FormatsManager::UNICONV, QStringList() << "cdt" << "ccx" << "cmx" << "aff" << "sk" << "sk1" << "plt" << "dxf" << "dst" << "pes" << "exp" << "pcs");
 	m_fmts.insert(FormatsManager::PCT,  QStringList() << "pct" << "pic" << "pict");
 
-	m_fmtNames[FormatsManager::EPS]  = QObject::tr("Encapsulated PostScript \"*.eps\"");
+	m_fmtNames[FormatsManager::EPS]  = QObject::tr("Encapsulated PostScript");
 	m_fmtNames[FormatsManager::GIF]  = QObject::tr("GIF");
 	m_fmtNames[FormatsManager::JPEG] = QObject::tr("JPEG");
 	m_fmtNames[FormatsManager::PAT]  = QObject::tr("Pattern Files");
 	m_fmtNames[FormatsManager::PDF]  = QObject::tr("PDF Document");
 	m_fmtNames[FormatsManager::PGF]  = QObject::tr("PGF");
 	m_fmtNames[FormatsManager::PNG]  = QObject::tr("PNG");
-	m_fmtNames[FormatsManager::PS]   = QObject::tr("PostScript \"*.ps\"");
-	m_fmtNames[FormatsManager::PSD]  = QObject::tr("Adobe Photoshop \"*.psd\"");
+	m_fmtNames[FormatsManager::PS]   = QObject::tr("PostScript");
+	m_fmtNames[FormatsManager::PSD]  = QObject::tr("Adobe Photoshop");
 	m_fmtNames[FormatsManager::TIFF] = QObject::tr("TIFF");
 	m_fmtNames[FormatsManager::XPM]  = QObject::tr("XPM");
-	m_fmtNames[FormatsManager::WMF]  = QObject::tr("Windows Meta File \"*.wmf\"");
-	m_fmtNames[FormatsManager::SVG]  = QObject::tr("Scalable Vector Graphics \"*.svg\"");
-	m_fmtNames[FormatsManager::AI]   = QObject::tr("Adobe Illustrator \"*.ai\"");
+	m_fmtNames[FormatsManager::WMF]  = QObject::tr("Windows Meta File");
+	m_fmtNames[FormatsManager::SVG]  = QObject::tr("Scalable Vector Graphics");
+	m_fmtNames[FormatsManager::AI]   = QObject::tr("Adobe Illustrator");
 	m_fmtNames[FormatsManager::XFIG] = QObject::tr("Xfig File");
 	m_fmtNames[FormatsManager::CVG]  = QObject::tr("Calamus CVG File");
 	m_fmtNames[FormatsManager::WPG]  = QObject::tr("Word Perfect WPG File");




More information about the scribus-commit mailing list