KMessageBox::error(this,i18n("<qt>The following tools did not pass all <b>critical</b> tests:<br>%1<br>Your system is not ready to use. Please consult the results to find out what to fix.</qt>").tqarg(critical.join(", ")),cap);
KMessageBox::error(this,i18n("<qt>The following tools did not pass all <b>critical</b> tests:<br>%1<br>Your system is not ready to use. Please consult the results to find out what to fix.</qt>").arg(critical.join(", ")),cap);
elseif(failure.count()>0)
KMessageBox::information(this,i18n("The following tools did not pass all tests:\n %1\nYou will still be able to use Kile; however, not all features are guaranteed to work.").tqarg(failure.join(", ")),cap);
KMessageBox::information(this,i18n("The following tools did not pass all tests:\n %1\nYou will still be able to use Kile; however, not all features are guaranteed to work.").arg(failure.join(", ")),cap);
else
KMessageBox::information(this,i18n("No problems detected, your system is ready to use."),cap);
KILE_DEBUG()<<"backing up failed ("<<url.prettyURL()<<" -> "<<backupUrl.prettyURL()<<")"<<endl;
emitprintMsg(KileTool::Error,i18n("The file %1 could not be saved, check the permissions and the free disk space!").tqarg(backupUrl.prettyURL()),i18n("Autosave"));
emitprintMsg(KileTool::Error,i18n("The file %1 could not be saved, check the permissions and the free disk space!").arg(backupUrl.prettyURL()),i18n("Autosave"));
if(saveResult==Kate::View::SAVE_ERROR&&fi.size()==0&&!url.isEmpty())// we probably hit bug #125809, inform the user of the possible consequences
emitprintMsg(KileTool::Error,i18n("Kile encountered problems while saving the file %1. Do you have enough free disk space left?").tqarg(url.url()),i18n("Saving"));
emitprintMsg(KileTool::Error,i18n("Kile encountered problems while saving the file %1. Do you have enough free disk space left?").arg(url.url()),i18n("Saving"));
if(KIO::NetAccess::exists(saveURL,true,kapp->mainWidget()))// check for writing possibility
{
intr=KMessageBox::warningContinueCancel(m_ki->parentWidget(),i18n("A file with the name \"%1\" exists already. Do you want to overwrite it ?").tqarg(saveURL.fileName()),i18n("Overwrite File ?"),KGuiItem(i18n("&Overwrite")),TQString());
intr=KMessageBox::warningContinueCancel(m_ki->parentWidget(),i18n("A file with the name \"%1\" exists already. Do you want to overwrite it ?").arg(saveURL.fileName()),i18n("Overwrite File ?"),KGuiItem(i18n("&Overwrite")),TQString());
emitprintMsg(KileTool::Info,i18n("The file %1 is already member of the project %2").tqarg(realurl.filename()).tqarg(project->name()),i18n("Add to Project"));
emitprintMsg(KileTool::Info,i18n("The file %1 is already member of the project %2").arg(realurl.filename()).arg(project->name()),i18n("Add to Project"));
return;
}
elseif(!fi.exists()||!fi.isReadable())
{
emitprintMsg(KileTool::Info,i18n("The file %1 can not be added because it does not exist or is not readable").tqarg(realurl.filename()),i18n("Add to Project"));
emitprintMsg(KileTool::Info,i18n("The file %1 can not be added because it does not exist or is not readable").arg(realurl.filename()),i18n("Add to Project"));
return;
}
@ -1376,7 +1376,7 @@ KileProject* Manager::projectOpen(const KURL & url, int step, int max, bool open
addProject(kp);
emit(updateStructure(false,0L));
emit(updateModetqStatus());
emit(updateModeStatus());
// update undefined references in all project files
KMessageBox::sorry(0L,i18n("The following exception has occurred at line %1 during execution of the script:\n%2").tqarg(lineValue.toInt32(m_interpreter->globalExec())).tqarg(value.toString(m_interpreter->globalExec()).qstring()),i18n("Exception"));
KMessageBox::sorry(0L,i18n("The following exception has occurred at line %1 during execution of the script:\n%2").arg(lineValue.toInt32(m_interpreter->globalExec())).arg(value.toString(m_interpreter->globalExec()).qstring()),i18n("Exception"));
return;
}
}
}
KMessageBox::sorry(0L,i18n("The following exception has occurred during execution of the script:\n%1").tqarg(value.toString(m_interpreter->globalExec()).qstring()),i18n("Exception"));
KMessageBox::sorry(0L,i18n("The following exception has occurred during execution of the script:\n%1").arg(value.toString(m_interpreter->globalExec()).qstring()),i18n("Exception"));
KMessageBox::sorry(0L,i18n("Version %1 of Kile is at least required to execute the script \"%2\". The execution has been aborted.").tqarg(requiredKileVersion).tqarg(script->getName()),i18n("Version Error"));
KMessageBox::sorry(0L,i18n("Version %1 of Kile is at least required to execute the script \"%2\". The execution has been aborted.").arg(requiredKileVersion).arg(script->getName()),i18n("Version Error"));
(void)newKileAction::Tag(i18n("Document Class Selection - \\documentclass{}"),0,TQT_TQOBJECT(parent),TQT_SLOT(insertTag(constKileAction::TagData&)),parent->actionCollection(),"tag_documentclass",
"other options: \nlandscape -- selects landscape format; default is portrait. \ntitlepage, notitlepage -- selects if there should be a separate title page.\nleqno -- display equation number on left side of equations; default is right side.\n"
"fleqn -- display formulae flush left; default is centered.\nonecolumn, twocolumn -- one or two columns; defaults to one column\noneside, twoside -- selects one- or two-sided tqlayout.\n"));
"fleqn -- display formulae flush left; default is centered.\nonecolumn, twocolumn -- one or two columns; defaults to one column\noneside, twoside -- selects one- or two-sided layout.\n"));
(void)newKileAction::Tag(i18n("Tabbing - \\begin{tabbing}"),"tabbing",0,TQT_TQOBJECT(parent),TQT_SLOT(insertTag(constKileAction::TagData&)),parent->actionCollection(),"tag_env_tabbing","\\begin{tabbing}\n","%E\n\\end{tabbing} ",0,1,i18n("The tabbing environment provides a way to align text in columns.\n\\begin{tabbing}\ntext \\= more text \\= still more text \\= last text \\\\\nsecond row \\> \\> more \\\\\n\\end{tabbing}\nCommands :\n\\= Sets a tab stop at the current position.\n\\> Advances to the next tab stop.\n\\< Allows you to put something to the left of the local margin without changing the margin. Can only be used at the start of the line.\n\\+ Moves the left margin of the next and all the following commands one tab stop to the right\n\\- Moves the left margin of the next and all the following commands one tab stop to the left\n\\' Moves everything that you have typed so far in the current column to the right of the previous column, flush against the current column's tab stop. \n\\` Allows you to put text flush right against any tab stop, including tab stop 0\n\\kill Sets tab stops without producing text.\n\\a In a tabbing environment, the commands \\=, \\' and \\` do not produce accents as normal. Instead, the commands \\a=, \\a' and \\a` are used."));
(void)newKileAction::Tag("Tabular - \\begin{tabular}","tabular",0,TQT_TQOBJECT(parent),TQT_SLOT(insertTag(constKileAction::TagData&)),parent->actionCollection(),"tag_env_tabular","\\begin{tabular}{","}\n%E\n\\end{tabular} ",16,0,i18n("\\begin{tabular}[pos]{cols}\ncolumn 1 entry & column 2 entry ... & column n entry \\\\\n...\n\\end{tabular}\npos : Specifies the vertical position; default is tqalignment on the center of the environment.\n t - align on top row\n b - align on bottom row\ncols : Specifies the column formatting.\n l - A column of left-aligned items.\n r - A column of right-aligned items.\n c - A column of centered items.\n | - A vertical line the full height and depth of the environment.\n @{text} - this inserts text in every row.\nThe \\hline command draws a horizontal line the width of the table.\nThe \\cline{i-j} command draws horizontal lines across the columns specified, beginning in column i and ending in column j,\nThe \\vline command draws a vertical line extending the full height and depth of its row."));
(void)newKileAction::Tag("Tabular - \\begin{tabular}","tabular",0,TQT_TQOBJECT(parent),TQT_SLOT(insertTag(constKileAction::TagData&)),parent->actionCollection(),"tag_env_tabular","\\begin{tabular}{","}\n%E\n\\end{tabular} ",16,0,i18n("\\begin{tabular}[pos]{cols}\ncolumn 1 entry & column 2 entry ... & column n entry \\\\\n...\n\\end{tabular}\npos : Specifies the vertical position; default is alignment on the center of the environment.\n t - align on top row\n b - align on bottom row\ncols : Specifies the column formatting.\n l - A column of left-aligned items.\n r - A column of right-aligned items.\n c - A column of centered items.\n | - A vertical line the full height and depth of the environment.\n @{text} - this inserts text in every row.\nThe \\hline command draws a horizontal line the width of the table.\nThe \\cline{i-j} command draws horizontal lines across the columns specified, beginning in column i and ending in column j,\nThe \\vline command draws a vertical line extending the full height and depth of its row."));
(void)newKileAction::Tag("Multicolumn Cells - \\multicolumn","multicolumn",0,TQT_TQOBJECT(parent),TQT_SLOT(insertTag(constKileAction::TagData&)),parent->actionCollection(),"tag_multicolumn","\\multicolumn{","}{}{} ",13,0,i18n("\\multicolumn{cols}{pos}{text}\ncol, specifies the number of columns to span.\npos specifies the formatting of the entry: c for centered, l for flushleft, r for flushright.\ntext specifies what text is to make up the entry."));
(void)newKileAction::Tag(i18n("Horizontal Line - \\hline"),"hline",0,TQT_TQOBJECT(parent),TQT_SLOT(insertTag(constKileAction::TagData&)),parent->actionCollection(),"tag_hline","\\hline ",TQString(),7,0,i18n("The \\hline command draws a horizontal line the width of the table."));
(void)newKileAction::Tag(i18n("Vertical Line - \\vline"),"vline",0,TQT_TQOBJECT(parent),TQT_SLOT(insertTag(constKileAction::TagData&)),parent->actionCollection(),"tag_vline","\\vline ",TQString(),7,0,i18n("The \\vline command draws a vertical line extending the full height and depth of its row."));
sendMessage(Error,i18n("Unable to find %1 or %2; if you are trying to view some other HTML file, go to Settings->Configure Kile->Tools->ViewHTML->Advanced.").tqarg(file1.absFilePath()).tqarg(file2.absFilePath()));
sendMessage(Error,i18n("Unable to find %1 or %2; if you are trying to view some other HTML file, go to Settings->Configure Kile->Tools->ViewHTML->Advanced.").arg(file1.absFilePath()).arg(file2.absFilePath()));
if(KMessageBox::warningYesNo(this,i18n("Cannot find the included file. The file does not exist, is not readable or Kile is unable to determine the correct path to it. The filename causing this error was: %1.\nDo you want to create this file?").tqarg(fname),i18n("Cannot Find File"))
if(KMessageBox::warningYesNo(this,i18n("Cannot find the included file. The file does not exist, is not readable or Kile is unable to determine the correct path to it. The filename causing this error was: %1.\nDo you want to create this file?").arg(fname),i18n("Cannot Find File"))
if(KMessageBox::warningContinueCancel(this,i18n("All your %1 settings will be overwritten with the default settings, are you sure you want to continue?").tqarg(mode))==KMessageBox::Continue)
if(KMessageBox::warningContinueCancel(this,i18n("All your %1 settings will be overwritten with the default settings, are you sure you want to continue?").arg(mode))==KMessageBox::Continue)
if(KMessageBox::warningContinueCancel(this,i18n("Do you want to remove \"%1\" from the document class list?").tqarg(documentclass),i18n("Remove Document Class"))==KMessageBox::Continue)
if(KMessageBox::warningContinueCancel(this,i18n("Do you want to remove \"%1\" from the document class list?").arg(documentclass),i18n("Remove Document Class"))==KMessageBox::Continue)
if(KMessageBox::warningContinueCancel(this,i18n("Do you want to remove \"%1\" from the fontsize list?").tqarg(m_cbPaperSize->currentText()),i18n("Remove Fontsize"))==KMessageBox::Continue)
if(KMessageBox::warningContinueCancel(this,i18n("Do you want to remove \"%1\" from the fontsize list?").arg(m_cbPaperSize->currentText()),i18n("Remove Fontsize"))==KMessageBox::Continue)
if(KMessageBox::warningContinueCancel(this,i18n("Do you want to remove \"%1\" from the papersize list?").tqarg(m_cbPaperSize->currentText()),i18n("Remove Papersize"))==KMessageBox::Continue)
if(KMessageBox::warningContinueCancel(this,i18n("Do you want to remove \"%1\" from the papersize list?").arg(m_cbPaperSize->currentText()),i18n("Remove Papersize"))==KMessageBox::Continue)
KMessageBox::sorry(0L,i18n("The sequence \"%1\" is already assigned to the action \"%2\"").tqarg(str).tqarg(description),i18n("Sequence Already Assigned"));
KMessageBox::sorry(0L,i18n("The sequence \"%1\" is already assigned to the action \"%2\"").arg(str).arg(description),i18n("Sequence Already Assigned"));
break;
case2:
KMessageBox::sorry(0L,i18n("The sequence \"%1\" is a subsequence of \"%2\", which is already assigned to the action \"%3\"").tqarg(str).tqarg(pair.second).tqarg(description),i18n("Sequence Already Assigned"));
KMessageBox::sorry(0L,i18n("The sequence \"%1\" is a subsequence of \"%2\", which is already assigned to the action \"%3\"").arg(str).arg(pair.second).arg(description),i18n("Sequence Already Assigned"));
break;
case3:
KMessageBox::sorry(0L,i18n("The shorter sequence \"%1\" is already assigned to the action \"%2\"").tqarg(pair.second).tqarg(description),i18n("Sequence Already Assigned"));
KMessageBox::sorry(0L,i18n("The shorter sequence \"%1\" is already assigned to the action \"%2\"").arg(pair.second).arg(description),i18n("Sequence Already Assigned"));
TQWhatsThis::add(m_pbFrame4,i18n("Set all border lines."));
TQWhatsThis::add(m_cellframe,i18n("Set user defined border lines. A mouse click into one of the four border ranges will set or clear this special border line."));
setButtonWhatsThis(User1,i18n("Reset all settings to standard cell attributes: left tqalignment, normal font series and tqshape, white background color, black text color, no border lines."));
setButtonWhatsThis(User1,i18n("Reset all settings to standard cell attributes: left alignment, normal font series and shape, white background color, black text color, no border lines."));
}
////////////////////////////// read data //////////////////////////////
TQWhatsThis::add(m_table,i18n("Input data. When you press Enter, the cursor will move to the cell right of the current cell. A click with the right mouse button on a cell or a range of cells will open a popup menu, where you can edit attributes, clear attributes, delete text or define multicolumn cells."));
TQWhatsThis::add(m_table->horizontalHeader(),i18n("Current tqlayout of the preamble. A click with the right mouse button will open a popup menu, where you can edit some attributes of all cells, which belong to the selected columns."));
TQWhatsThis::add(m_table->horizontalHeader(),i18n("Current layout of the preamble. A click with the right mouse button will open a popup menu, where you can edit some attributes of all cells, which belong to the selected columns."));
TQWhatsThis::add(m_table->verticalHeader(),i18n("A click with the right mouse button will open a popup menu, where you can edit some attributes of all cells, which belong to the selected rows."));
TQWhatsThis::add(m_coEnvironment,i18n("Choose an environment."));
TQWhatsThis::add(m_coParameter,i18n("Optional parameter for the chosen environment."));
KMessageBox::error(0,i18n("Could not find a folder to save %1 to.\nCheck whether you have a .kde folder with write permissions in your home folder.").tqarg(fileName));
KMessageBox::error(0,i18n("Could not find a folder to save %1 to.\nCheck whether you have a .kde folder with write permissions in your home folder.").arg(fileName));