ItEr33S06DocumentacionFormacionItEr32S07 Corrections in English literals

Some of the hard-coded English literals were corrected.
This commit is contained in:
Jacobo Aragunde Pérez 2009-11-05 12:26:50 +01:00 committed by Javier Moran Rua
parent c317c81204
commit 6791de1946
22 changed files with 36 additions and 36 deletions

View file

@ -151,7 +151,7 @@ public class AdvanceTypeCRUDController extends GenericForwardComposer {
}
if (!(advanceTypeModel.distinctNames((String) value))) {
throw new WrongValueException(comp,
_("The name is not valid, Exist other advance type with a similar name. "));
_("The name is not valid, there is another advance type with a similar name. "));
}
}
};

View file

@ -170,7 +170,7 @@ public class BaseCalendarCRUDController extends GenericForwardComposer {
messagesForUser
.showMessage(Level.ERROR,
_("The calendar was not removed because it still has children. "
+ "Some other calendar is derived from this."));
+ "Some other calendar is derived from this one."));
} else {
baseCalendarModel.confirmRemove();
hideConfirmingWindow();

View file

@ -375,7 +375,7 @@ public abstract class BaseCalendarEditionController extends
switch (typeOfDay) {
case ANCESTOR_EXCEPTION:
return _("Derived excpetion");
return _("Derived exception");
case OWN_EXCEPTION:
return _("Exception");
case ZERO_HOURS:

View file

@ -164,7 +164,7 @@ public class CustomMenuController extends Div implements IMenuItemsRegister {
}
public void initializeMenu() {
topItem(_("Planification"), "/planner/index.zul");
topItem(_("Scheduling"), "/planner/index.zul");
topItem(_("Resources"), "/resources/worker/worker.zul",
subItem(_("Workers List"),
@ -179,9 +179,9 @@ public class CustomMenuController extends Div implements IMenuItemsRegister {
"/workreports/workReport.zul"));
topItem(_("Administration"), "/advance/advanceTypes.zul",
subItem(_("Manage advances types"),
subItem(_("Manage advance types"),
"/advance/advanceTypes.zul"),
subItem(_("Manage criterions"),
subItem(_("Manage criteria"),
"/resources/criterions/criterions-V2.zul"),
subItem(_("Calendars"), "/calendars/calendars.zul"),
subItem(_("Label types"), "/labels/labelTypes.zul"));

View file

@ -869,7 +869,7 @@ public class ManageOrderElementAdvancesController extends
advanceMeasurement)) {
throw new WrongValueException(
comp,
_("The date is not valid, the date must be unique for this advance assignment"));
_("The date is not valid, the date must be unique for this advanced assignment"));
}
}
}

View file

@ -247,7 +247,7 @@ class FormBinder {
.get(generic);
throw new WrongValueException(
decimalbox,
_("there are no workers for required criterions. So the generic allocation can't be done"));
_("there are no workers for required criteria. So the generic allocation can't be done"));
}
public void setAllocationsList(Listbox allocationsList) {

View file

@ -62,7 +62,7 @@ import org.zkoss.zkplus.databind.AnnotateDataBinder;
@Scope(BeanDefinition.SCOPE_PROTOTYPE)
public class MultipleTabsPlannerController implements Composer {
public static final String PLANNIFICATION = _("Plannification");
public static final String PLANNIFICATION = _("Scheduling");
public static final String BREADCRUMBS_SEPARATOR = "/common/img/migas_separacion.gif";

View file

@ -225,7 +225,7 @@ public class CriterionAdminController_V2 extends GenericForwardComposer {
try {
criterionsModel_V2.saveCriterionType();
messagesForUser.showMessage(Level.INFO,
_("CriterionType and its criterions saved"));
_("CriterionType and its criteria saved"));
} catch (ValidationException e) {
for (InvalidValue invalidValue : e.getInvalidValues()) {
String message = invalidValue.getPropertyName() + " : "

View file

@ -351,7 +351,7 @@ public class AssignedMachineCriterionsModel implements IAssignedMachineCriterion
Criterion criterion = satisfactionDTO.getCriterionWithItsType()
.getCriterion();
if (checkSameCriterionAndSameInterval(satisfactionDTO)) {
throw new IllegalStateException(_("The {0} can not be assigned to this resource. Its interval overlap with other criterion", criterion.getName()));
throw new IllegalStateException(_("The {0} can not be assigned to this resource. Its interval overlaps with other criterion", criterion.getName()));
}
if (checkNotAllowSimultaneousCriterionsPerResource(satisfactionDTO)) {
throw new IllegalStateException(_("The {0} is not valid, criterionType overlaps with other criterionSatisfaction from the same criterionType", criterion.getName()));

View file

@ -148,11 +148,11 @@ public class CriterionsController extends GenericForwardComposer {
}
if(assignedCriterionsModel.checkSameCriterionAndSameInterval(satisfaction)){
throw new WrongValueException(comp,
_("Criterion is not valid, the criterion overlap other criterionSatisfaction whith same criterion"));
_("Criterion is not valid, it overlaps other criterionSatisfaction with the same criterion"));
}
if(assignedCriterionsModel.checkNotAllowSimultaneousCriterionsPerResource(satisfaction)){
throw new WrongValueException(comp,
_("CriterionType is not valid, the criterionType overlap other criterionSatisfaction whith same criterionType"));
_("CriterionType is not valid, it overlaps other criterionSatisfaction with the same criterionType"));
}
}

View file

@ -300,7 +300,7 @@ public class WorkerModel implements IWorkerModel {
Validate
.isTrue(
type.isAllowSimultaneousCriterionsPerResource(),
_("Must allow multiple active criterions for this type to use this assignment strategy"));
_("You must allow multiple active criteria for this type to use this assignment strategy"));
this.criterionDAO = criterionDAO;
this.resource = resource;
this.type = type;

View file

@ -108,13 +108,13 @@
<rows>
<row>
<label
value="${i18n:_('Budget hours:')}" />
value="${i18n:_('Budget hours')}:" />
<label
value="@{asignedHoursToOrderElementController.estimatedHours}" />
</row>
<row>
<label
value="${i18n:_('Imputed hours:')}" />
value="${i18n:_('Imputed hours')}:" />
<label
value="@{asignedHoursToOrderElementController.totalAsignedHours}" />
</row>

View file

@ -75,8 +75,8 @@
</panelchildren>
</panel>
<!-- Manage criterions -->
<panel id="panelCriterions" title="${i18n:_('Manage criterions')}">
<!-- Manage criteria -->
<panel id="panelCriterions" title="${i18n:_('Manage criteria')}">
<panelchildren>
<vbox id="selectCriterions">
<twowayselector

View file

@ -116,9 +116,9 @@
<intbox id="taskElapsedDays" width="300px" />
</vbox>
</row>
<!-- Required criterions -->
<!-- Required criteria -->
<row>
<label value="${i18n:_('Required criterions')}:" />
<label value="${i18n:_('Required criteria')}:" />
<label value="@{allocationController.taskCriterions}" />
</row>
<!-- Total order hours -->
@ -181,7 +181,7 @@
<window id="splittingWindow" visible="false" apply="${splittingTaskController}" minwidth="${400}" >
<vbox>
<hbox>
<label value="${i18n:_('Total hours:')}" /> <label id="totalHoursLabel"/>
<label value="${i18n:_('Total hours')}:" /> <label id="totalHoursLabel"/>
</hbox>
<grid id="sharesListing" fixedLayout="true">
<columns sizable="true">

View file

@ -18,7 +18,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<panel title="${i18n:_('Asociated Criterions')}" border="normal">
<panel title="${i18n:_('Associated Criteria')}" border="normal">
<panelchildren>
<vbox id="criterionsTree">
<vbox>

View file

@ -24,7 +24,7 @@
<tabbox>
<tabs>
<tab id="tbMachineData" label="${i18n:_('Machine data')}"></tab>
<tab label="${i18n:_('Assigned criterions')}"></tab>
<tab label="${i18n:_('Assigned criteria')}"></tab>
<tab label="${i18n:_('Calendar')}"></tab>
<tab label="${i18n:_('Configuration')}"></tab>
</tabs>

View file

@ -1,17 +1,17 @@
<vbox id="criterionsContainer" style="padding: 10px" >
<vbox id="messagesContainer"/>
<panel title="${i18n:_('Assigned Criterions')}" border="normal">
<panel title="${i18n:_('Assigned criteria')}" border="normal">
<panelchildren>
<hbox align="center">
<separator bar="false" spacing="40px" orient="horizontal"/>
<separator bar="false" spacing="20px" orient="vertical"/>
<button onClick="assignedCriterionsController.addCriterionSatisfaction();"
label="${i18n:_('Add criterion')}" />
<label class="subtitulo" value="${i18n:_('Filters :')}" />
<label class="subtitulo" value="${i18n:_('Filters')}:" />
<combobox id="comboboxFilter"
onSelect="assignedCriterionsController.reload();">
<comboitem label="${i18n:_('All')}" />
<comboitem label="${i18n:_('Currents')}" />
<comboitem label="${i18n:_('Current')}" />
</combobox>
<separator bar="false" spacing="20px" orient="vertical"/>
</hbox>

View file

@ -40,8 +40,8 @@
</vbox>
<vbox>
<!-- Criterions -->
<label value="${i18n:_('Criterions')}" />
<!-- Criteria -->
<label value="${i18n:_('Criteria')}" />
<tree id="criterionsTree" width="280px"
rows="10" vflex="true" multiple="true"
model="@{controller.criterions}">

View file

@ -1,15 +1,15 @@
<panel id="criterionsContainer" title="${i18n:_('Assigned Criterions')}" border="normal">
<panel id="criterionsContainer" title="${i18n:_('Assigned criteria')}" border="normal">
<panelchildren>
<hbox align="center">
<separator bar="false" spacing="40px" orient="horizontal"/>
<separator bar="false" spacing="20px" orient="vertical"/>
<button onClick="assignedCriterionsController.addCriterionSatisfaction();"
label="${i18n:_('Add criterion')}" />
<label class="subtitulo" value="${i18n:_('Filters :')}" />
<label class="subtitulo" value="${i18n:_('Filters')}:" />
<combobox id="comboboxfilter"
onSelect="assignedCriterionsController.reload();">
<comboitem label="${i18n:_('All')}" />
<comboitem label="${i18n:_('Currents')}" />
<comboitem label="${i18n:_('Current')}" />
</combobox>
<separator bar="false" spacing="20px" orient="vertical"/>
</hbox>

View file

@ -26,7 +26,7 @@
<tabbox>
<tabs>
<tab label="${i18n:_('Personal data')}"></tab>
<tab label="${i18n:_('Assigned criterions')}"></tab>
<tab label="${i18n:_('Assigned criteria')}"></tab>
<tab visible="false" label="${i18n:_('Locations')}"></tab>
<tab visible="false" label="${i18n:_('Work record')}"></tab>
<tab label="${i18n:_('Calendar')}"></tab>

View file

@ -27,7 +27,7 @@
model="@{controller.localizations.activeSatisfactions}"
height="200px" multiple="true" checkmark="true">
<listhead>
<listheader label="${i18n:_('Grup')}"
<listheader label="${i18n:_('Group')}"
sort="auto(criterion.name)"></listheader>
<listheader label="${i18n:_('Starting date')}"
sort="auto(startDate)" />

View file

@ -38,17 +38,17 @@
<rows>
<row>
<label
value="${i18n:_('Responsible:')}" />
value="${i18n:_('Responsible')}:" />
<textbox id="responsible"
value="@{controller.workReport.responsible}" width="300px" />
</row>
<row>
<label value="${i18n:_('Place:')}" />
<label value="${i18n:_('Place')}:" />
<textbox
value="@{controller.workReport.place}" width="300px" />
</row>
<row>
<label value="${i18n:_('Date:')}" />
<label value="${i18n:_('Date')}:" />
<datebox id="date"
value="@{controller.workReport.date}" />
</row>