r20030 by craig - #11857: Remove extensions from format descriptions
scribus-commit
scribus-commit at lists.scribus.net
Sun Apr 26 17:42:00 UTC 2015
Author: craig
Date: Sun Apr 26 17:41:59 2015
New Revision: 20030
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20030
Log:
#11857: Remove extensions from format descriptions
Modified:
trunk/Scribus/scribus/plugins/import/drw/importdrwplugin.cpp
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/drw/importdrwplugin.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20030&path=/trunk/Scribus/scribus/plugins/import/drw/importdrwplugin.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/import/drw/importdrwplugin.cpp (original)
+++ trunk/Scribus/scribus/plugins/import/drw/importdrwplugin.cpp Sun Apr 26 17:41:59 2015
@@ -59,8 +59,8 @@
{
importAction->setText( tr("Import DRW..."));
FileFormat* fmt = getFormatByExt("drw");
- fmt->trName = tr("Micrografx DRW File");
- fmt->filter = tr("Micrografx DRW File (*.drw *.DRW)");
+ fmt->trName = tr("Micrografx DRW");
+ fmt->filter = tr("Micrografx DRW (*.drw *.DRW)");
fmt->fileExtensions = QStringList() << "drw";
}
Modified: trunk/Scribus/scribus/plugins/import/shape/importshapeplugin.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20030&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 17:41:59 2015
@@ -52,8 +52,8 @@
{
importAction->setText( tr("Import Dia Shapes..."));
FileFormat* fmt = getFormatByExt("sml");
- fmt->trName = tr("Dia Shapes File");
- fmt->filter = tr("Dia Shapes File (*.shape *.SHAPE)");
+ fmt->trName = tr("Dia Shapes");
+ fmt->filter = tr("Dia Shapes (*.shape *.SHAPE)");
}
ImportShapePlugin::~ImportShapePlugin()
@@ -87,9 +87,9 @@
void ImportShapePlugin::registerFormats()
{
FileFormat fmt(this);
- fmt.trName = tr("Dia Shapes \"*.shape\" File"); // Human readable name
+ fmt.trName = tr("Dia Shapes"); // Human readable name
fmt.formatId = 0;
- fmt.filter = tr("Dia shapes \"*.shape\" File (*.shape *.SHAPE)"); // QFileDialog filter
+ fmt.filter = tr("Dia shapes (*.shape *.SHAPE)"); // QFileDialog filter
fmt.fileExtensions = QStringList() << "shape";
fmt.load = true;
fmt.save = false;
Modified: trunk/Scribus/scribus/plugins/import/sml/importsmlplugin.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20030&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 17:41:59 2015
@@ -52,8 +52,8 @@
{
importAction->setText( tr("Import Sml..."));
FileFormat* fmt = getFormatByExt("sml");
- fmt->trName = tr("Kivio Stencils File");
- fmt->filter = tr("Kivio Stencils File (*.sml *.SML)");
+ fmt->trName = tr("Kivio Stencils");
+ fmt->filter = tr("Kivio Stencils (*.sml *.SML)");
}
ImportSmlPlugin::~ImportSmlPlugin()
Modified: trunk/Scribus/scribus/plugins/import/xar/importxarplugin.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20030&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 17:41:59 2015
@@ -52,8 +52,8 @@
{
importAction->setText( tr("Import Xara..."));
FileFormat* fmt = getFormatByExt("xar");
- fmt->trName = tr("XARA File");
- fmt->filter = tr("XARA File (*.xar *.XAR)");
+ fmt->trName = tr("XARA");
+ fmt->filter = tr("XARA (*.xar *.XAR)");
}
ImportXarPlugin::~ImportXarPlugin()
Modified: trunk/Scribus/scribus/util_formats.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20030&path=/trunk/Scribus/scribus/util_formats.cpp
==============================================================================
--- trunk/Scribus/scribus/util_formats.cpp (original)
+++ trunk/Scribus/scribus/util_formats.cpp Sun Apr 26 17:41:59 2015
@@ -90,15 +90,15 @@
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");
+ m_fmtNames[FormatsManager::CVG] = QObject::tr("Calamus CVG");
+ m_fmtNames[FormatsManager::WPG] = QObject::tr("Word Perfect WPG");
m_fmtNames[FormatsManager::BMP] = QObject::tr("BMP");
- m_fmtNames[FormatsManager::ORA] = QObject::tr("Open Raster Files");
+ m_fmtNames[FormatsManager::ORA] = QObject::tr("Open Raster");
#ifdef GMAGICK_FOUND
- m_fmtNames[FormatsManager::GMAGICK] = QObject::tr("GraphicsMagick File");
+ m_fmtNames[FormatsManager::GMAGICK] = QObject::tr("GraphicsMagick");
#endif
- m_fmtNames[FormatsManager::UNICONV] = QObject::tr("UniConvertor File");
- m_fmtNames[FormatsManager::PCT] = QObject::tr("Macintosh Pict File");
+ m_fmtNames[FormatsManager::UNICONV] = QObject::tr("UniConvertor");
+ m_fmtNames[FormatsManager::PCT] = QObject::tr("Macintosh Pict");
m_fmtNames[FormatsManager::QT] = QObject::tr("Qt supported File");
m_fmtMimeTypes.insert(FormatsManager::EPS, QStringList() << "application/postscript");
More information about the scribus-commit
mailing list