Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 3276 → Rev 3277

/trunk/Scribus/scribus/druck.cpp
102,7 → 102,7
QToolTip::add( PS3, tr( "Creates PostScript Level 3" ) );
QToolTip::add( PS2, tr( "Creates PostScript Level 2 only, beware,\nthis can create huge files" ) );
QToolTip::add( PS1, tr( "Creates PostScript Level 1 only, beware,\nthis can create huge files" ) );
QToolTip::add( devPar, tr( "This enables you to explicitely set,\nthe media size of the postscript file.\nNot recommended unless\n requested by your printer." ) );
QToolTip::add( devPar, tr( "This enables you to explicitely set,\nthe media size of the PostScript file.\nNot recommended unless\n requested by your printer." ) );
QToolTip::add( GcR, tr( "A way of switching off some of the gray shades which are composed\n"
"of cyan, yellow and magenta and using black instead.\n"
"UCR most affects parts of images which are neutral and/or dark tones\n"
585,7 → 585,7
{
PrefsContext* dirs = prefsFile->getContext("dirs");
QString wdir = dirs->get("druck", ".");
CustomFDialog dia(this, wdir, tr("Save as"), tr("Postscript-Files (*.ps);;All Files (*)"), false, false);
CustomFDialog dia(this, wdir, tr("Save as"), tr("PostScript Files (*.ps);;All Files (*)"), false, false);
if (LineEdit1->text() != "")
dia.setSelection(LineEdit1->text());
if (dia.exec() == QDialog::Accepted)
/trunk/Scribus/scribus/libprefs/prefs.cpp
1429,7 → 1429,7
 
ExtTool = new QWidget( TabWidget3, "ExtTool" );
ExtToolLayout = new QVBoxLayout( ExtTool, 11, 6, "ExtToolLayout");
groupGS = new QGroupBox( tr( "Postscript Interpreter" ), ExtTool, "groupGS" );
groupGS = new QGroupBox( tr( "PostScript Interpreter" ), ExtTool, "groupGS" );
groupGS->setColumnLayout(0, Qt::Vertical );
groupGS->layout()->setSpacing( 6 );
groupGS->layout()->setMargin( 10 );
1627,7 → 1627,7
QToolTip::add( UsePDFTrans, tr( "Enable transparency features within PDF 1.4 export" ) );
QToolTip::add( CaliSlider, tr( "Set the default zoom level" ) );
 
QToolTip::add( GSName, tr( "File system location for the Ghostscript interpreter" ) );
QToolTip::add( GSName, tr( "File system location for the GhostScript interpreter" ) );
QToolTip::add( GSantiText, tr( "Antialias text for EPS and PDF onscreen rendering" ) );
QToolTip::add( GSantiGraph, tr( "Antialias graphics for EPS and PDF onscreen rendering" ) );
QToolTip::add( GimpName, tr( "File system location for graphics editor. If you use gimp\n"
/trunk/Scribus/scribus/annot.cpp
491,7 → 491,7
Layout20->addWidget( TextLabel70 );
 
ActionCombo = new QComboBox( true, tab_2, "ActTyp" );
QString tmp_actcom[] = {tr("None"), tr("Java Script"), tr("Go To"),
QString tmp_actcom[] = {tr("None"), tr("JavaScript"), tr("Go To"),
tr("Submit Form"), tr("Reset Form"), tr("Import Data")};
size_t array_act = sizeof(tmp_actcom) / sizeof(*tmp_actcom);
/* PFJ - 28/02/04 - Altered from uint to int and var name */
1200,7 → 1200,7
QString fileName;
QString wdir = dirs->get("icon", ".");
CustomFDialog dia(this, wdir, tr("Open"),
tr("Images (*.tif *.png *.jpg *.xpm);;Postscript (*.eps);;All Files (*)"), "", true);
tr("Images (*.tif *.png *.jpg *.xpm);;PostScript (*.eps);;All Files (*)"), "", true);
if (dia.exec() == QDialog::Accepted)
fileName = dia.selectedFile();
else
1234,7 → 1234,7
QString fileName;
QString wdir = dirs->get("icon", ".");
CustomFDialog dia(this, wdir, tr("Open"),
tr("Images (*.tif *.png *.jpg *.xpm);;Postscript (*.eps);;All Files (*)"), "", true);
tr("Images (*.tif *.png *.jpg *.xpm);;PostScript (*.eps);;All Files (*)"), "", true);
if (dia.exec() == QDialog::Accepted)
fileName = dia.selectedFile();
else
1257,7 → 1257,7
QString fileName;
QString wdir = dirs->get("icon", ".");
CustomFDialog dia(this, wdir, tr("Open"),
tr("Images (*.tif *.png *.jpg *.xpm);;Postscript (*.eps);;All Files (*)"), "", true);
tr("Images (*.tif *.png *.jpg *.xpm);;PostScript (*.eps);;All Files (*)"), "", true);
if (dia.exec() == QDialog::Accepted)
fileName = dia.selectedFile();
else
1960,7 → 1960,7
NoExport->setEnabled(false);
NoExport->setChecked(false);
ActionCombo->clear();
QString tmp_actcom[] = {tr("None"), tr("Java Script"), tr("Go To"),
QString tmp_actcom[] = {tr("None"), tr("JavaScript"), tr("Go To"),
tr("Submit Form"), tr("Reset Form"), tr("Import Data")};
size_t array_act = sizeof(tmp_actcom) / sizeof(*tmp_actcom);
/* PFJ - 28/02/04 - Altered from uint to int and varname */
1998,7 → 1998,7
sela > 5 ? FramOp->raiseWidget(5) : FramOp->raiseWidget(sela);
ActionCombo->clear();
ActionCombo->insertItem( tr( "None" ) );
ActionCombo->insertItem( tr( "Java Script" ) );
ActionCombo->insertItem( tr( "JavaScript" ) );
ActionCombo->setCurrentItem(QMIN(tmpac, 1));
SetActTyp(tmpac);
break;
/trunk/Scribus/scribus/editor.cpp
68,7 → 68,7
void Editor::OpenScript()
{
QString fileName = QFileDialog::getOpenFileName(dirs->get("editor_open", "."),
tr("Javascripts (*.js);;All Files (*)"),this);
tr("JavaScripts (*.js);;All Files (*)"),this);
if (!fileName.isEmpty())
{
dirs->set("editor_open", fileName.left(fileName.findRev("/")));
84,7 → 84,7
 
void Editor::SaveAs()
{
QString fn = QFileDialog::getSaveFileName(dirs->get("editor_save", "."), tr("Javascripts (*.js);;All Files (*)"), this);
QString fn = QFileDialog::getSaveFileName(dirs->get("editor_save", "."), tr("JavaScripts (*.js);;All Files (*)"), this);
if (!fn.isEmpty())
{
dirs->set("editor_save", fn.left(fn.findRev("/")));
/trunk/Scribus/scribus/scfonts.cpp
122,7 → 122,7
 
/*
Class Foi_postscript
Subclass of Foi, for Postscript fonts that could possibly have a .afm file
Subclass of Foi, for PostScript fonts that could possibly have a .afm file
associated with them for metrics information.
*/
 
/trunk/Scribus/scribus/scribus.cpp
459,7 → 459,7
SetKeyEntry(60, tr("Insert Page Number"), 0, CTRL+Key_NumberSign);
SetKeyEntry(61, tr("Attach Text to Path"), PfadT, 0);
SetKeyEntry(62, tr("Show Layers"), viewLpal, 0);
SetKeyEntry(63, tr("Javascripts..."), jman, 0);
SetKeyEntry(63, tr("JavaScripts..."), jman, 0);
SetKeyEntry(64, tr("Undo"), edUndo, CTRL+Key_Z);
SetKeyEntry(65, tr("Show Page Palette"), viewSepal, 0);
SetKeyEntry(66, tr("Lock/Unlock"), LockOb, CTRL+Key_F);
719,7 → 719,7
SetKeyEntry(15, tr("Styles..."), edid6, 0);
tman = editMenu->insertItem( tr("&Templates..."), this, SLOT(ManageTemp()));
SetKeyEntry(16, tr("Templates..."), tman, 0);
jman = editMenu->insertItem( tr("&Javascripts..."), this, SLOT(ManageJava()));
jman = editMenu->insertItem( tr("&JavaScripts..."), this, SLOT(ManageJava()));
editMenu->setItemEnabled(edUndo, 0);
editMenu->setItemEnabled(edid1, 0);
editMenu->setItemEnabled(edid2, 0);
7242,7 → 7242,7
{
mess = tr("The following Programs are missing:")+"\n\n";
if (HaveGS != 0)
mess += tr("Ghostscript : You cannot use EPS Images")+"\n\n";
mess += tr("GhostScript : You cannot use EPS Images")+"\n\n";
QMessageBox::warning(this, tr("Warning"), mess, 1, 0, 0);
}
setTools(Prefs.Werkv);
7335,7 → 7335,7
wdir = dirs->get("eps", Prefs.DocDir);
else
wdir = dirs->get("eps", ".");
QString fn = CFileDialog( wdir, tr("Save as"), tr("EPS-Files (*.eps);;All Files (*)"), fna, false, false);
QString fn = CFileDialog( wdir, tr("Save as"), tr("EPS Files (*.eps);;All Files (*)"), fna, false, false);
if (!fn.isEmpty())
{
dirs->set("eps", fn.left(fn.findRev("/")));
/trunk/Scribus/scribus/fontprefs.cpp
66,7 → 66,7
FlagsUse.append(cp);
Table1->setCellWidget(a, 1, cp);
QCheckBox *cp2 = new QCheckBox(this, "ps");
cp2->setText( tr("Postscript"));
cp2->setText( tr("PostScript"));
cp2->setChecked(it.current()->EmbedPS);
cp2->setEraseColor(white);
FlagsPS.append(cp2);
393,7 → 393,7
FlagsUse.append(cp);
Table1->setCellWidget(a, 1, cp);
QCheckBox *cp2 = new QCheckBox(this, "ps");
cp2->setText( tr("Postscript"));
cp2->setText( tr("PostScript"));
cp2->setChecked(it.current()->EmbedPS);
cp2->setEraseColor(white);
FlagsPS.append(cp2);