replace "Listings" by "Listing" (plural => singular)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18570 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Michael Schmitt 2007-05-29 21:23:23 +00:00
parent 880b6c4d6e
commit 78b71f9863
7 changed files with 16 additions and 16 deletions

View File

@ -92,7 +92,7 @@ void QIncludeDialog::validate_listings_params()
if (!isOK) {
isOK = true;
listingsTB->setPlainText(
qt_("Input listings parameters on the right. Enter ? for a list of parameters."));
qt_("Input listing parameters on the right. Enter ? for a list of parameters."));
okPB->setEnabled(true);
}
} catch (invalidParam & e) {
@ -208,7 +208,7 @@ void QInclude::update_contents()
dialog_->labelLE->clear();
dialog_->listingsED->clear();
dialog_->listingsTB->setPlainText(
qt_("Input listings parameters on the right. Enter ? for a list of parameters."));
qt_("Input listing parameters on the right. Enter ? for a list of parameters."));
string cmdname = controller().params().getCmdName();
if (cmdname != "include" &&

View File

@ -325,7 +325,7 @@ void QListingsDialog::validate_listings_params()
if (!isOK) {
isOK = true;
listingsTB->setPlainText(
qt_("Input listings parameters on the right. Enter ? for a list of parameters."));
qt_("Input listing parameters on the right. Enter ? for a list of parameters."));
okPB->setEnabled(true);
applyPB->setEnabled(true);
}
@ -394,7 +394,7 @@ void QListingsDialog::on_languageCO_currentIndexChanged(int index)
typedef QController<ControlListings, QView<QListingsDialog> > listings_wrap_base_class;
QListings::QListings(Dialog & parent)
: listings_wrap_base_class(parent, _("Program Listings Settings"))
: listings_wrap_base_class(parent, _("Program Listing Settings"))
{
}
@ -407,7 +407,7 @@ void QListings::build_dialog()
bcview().setApply(dialog_->applyPB);
bcview().setCancel(dialog_->closePB);
dialog_->listingsTB->setPlainText(
qt_("Input listings parameters on the right. Enter ? for a list of parameters."));
qt_("Input listing parameters on the right. Enter ? for a list of parameters."));
update_contents();
}
@ -439,7 +439,7 @@ void QListings::update_contents()
{
// set default values
dialog_->listingsTB->setPlainText(
qt_("Input listings parameters on the right. Enter ? for a list of parameters."));
qt_("Input listing parameters on the right. Enter ? for a list of parameters."));
dialog_->languageCO->setCurrentIndex(findToken(languages, "no language"));
dialog_->dialectCO->setCurrentIndex(0);
dialog_->floatCB->setChecked(false);

View File

@ -289,7 +289,7 @@
</item>
<item>
<property name="text" >
<string>Listings</string>
<string>Listing</string>
</property>
</item>
</widget>

View File

@ -536,7 +536,7 @@
<item row="0" column="1" >
<widget class="QTextEdit" name="listingsED" >
<property name="toolTip" >
<string>Input listings parameters here. Enter ? for a list of parameters.</string>
<string>Input listing parameters here. Enter ? for a list of parameters.</string>
</property>
</widget>
</item>

View File

@ -220,7 +220,7 @@
<enum>Qt::LeftToRight</enum>
</property>
<property name="title" >
<string>Listings settings</string>
<string>Listing settings</string>
</property>
<layout class="QVBoxLayout" >
<property name="margin" >

View File

@ -124,7 +124,7 @@ void InsetListings::read(Buffer const & buf, Lexer & lex)
docstring const InsetListings::editMessage() const
{
return _("Opened Listings Inset");
return _("Opened Listing Inset");
}
@ -248,7 +248,7 @@ bool InsetListings::getStatus(Cursor & cur, FuncRequest const & cmd,
void InsetListings::setButtonLabel()
{
// FIXME UNICODE
setLabel(isOpen() ? _("Listings") : getNewLabel(_("Listings")));
setLabel(isOpen() ? _("Listing") : getNewLabel(_("Listing")));
}

View File

@ -418,12 +418,12 @@ ParValidator::ParValidator()
all_params_["caption"] =
ListingsParam("", false, ALL, "", _(
"This parameter should not be entered here. Please use caption "
"editbox (Include dialog) or insert->caption (listings inset)"));
"editbox (Include dialog) or insert->caption (listing inset)"));
// this option is not handled in the parameter box
all_params_["label"] =
ListingsParam("", false, ALL, "",_(
"This parameter should not be entered here. Please use label "
"editbox (Include dialog) or insert->caption (listings inset)"));
"editbox (Include dialog) or insert->caption (listing inset)"));
all_params_["nolol"] =
ListingsParam("", false, TRUEFALSE, "", empty_hint);
all_params_["captionpos"] =
@ -601,11 +601,11 @@ ListingsParam const & ParValidator::validate(string const & key,
ListingsParam const & ParValidator::param(string const & name) const
{
if (name.empty())
throw invalidParam(_("Invalid (empty) listings param name."));
throw invalidParam(_("Invalid (empty) listing parameter name."));
if (name == "?")
throw invalidParam(bformat(
_("Available listings parameters are %1$s"), from_ascii(all_param_names_)));
_("Available listing parameters are %1$s"), from_ascii(all_param_names_)));
// locate name in parameter table
ListingsParams::const_iterator it = all_params_.find(name);
@ -623,7 +623,7 @@ ListingsParam const & ParValidator::param(string const & name) const
}
}
if (matching_names.empty())
throw invalidParam(bformat(_("Unknown listings param name: %1$s"),
throw invalidParam(bformat(_("Unknown listing parameter name: %1$s"),
from_utf8(name)));
else
throw invalidParam(bformat(_("Parameters starting with '%1$s': %2$s"),