if (strlen($this->startTime)) {
$startTime = @strtotime($this->startTime);
if ($startTime === false) {
- $this->errorMessage = $this->getLanguageItemPrefix().'.'.$this->getPropertyName().'.error.startNotValid';
+ $this->errorMessage = 'wcf.condition.timestamp.error.startNotValid';
throw new UserInputException($this->getPropertyName(), 'startNotValid');
}
if (strlen($this->endTime)) {
$endTime = @strtotime($this->endTime);
if ($endTime === false) {
- $this->errorMessage = $this->getLanguageItemPrefix().'.'.$this->getPropertyName().'.error.endNotValid';
+ $this->errorMessage = 'wcf.condition.timestamp.error.endNotValid';
throw new UserInputException($this->getPropertyName(), 'endNotValid');
}
}
if ($endTime !== null && $startTime !== null && $endTime < $startTime) {
- $this->errorMessage = $this->getLanguageItemPrefix().'.'.$this->getPropertyName().'.error.endBeforeStart';
+ $this->errorMessage = 'wcf.condition.timestamp.error.endBeforeStart';
throw new UserInputException($this->getPropertyName(), 'endBeforeStart');
}
if (strlen($this->registrationDateStart)) {
$registrationDateStart = @strtotime($this->registrationDateStart);
if ($registrationDateStart === false) {
- $this->errorMessage = 'wcf.user.condition.registrationDate.error.startNotValid';
+ $this->errorMessage = 'wcf.condition.timestamp.error.startNotValid';
throw new UserInputException('registrationDate', 'startNotValid');
}
if (strlen($this->registrationDateEnd)) {
$registrationDateEnd = @strtotime($this->registrationDateEnd);
if ($registrationDateEnd === false) {
- $this->errorMessage = 'wcf.user.condition.registrationDate.error.endNotValid';
+ $this->errorMessage = 'wcf.condition.timestamp.error.endNotValid';
throw new UserInputException('registrationDate', 'endNotValid');
}
}
if ($registrationDateEnd !== null && $registrationDateStart !== null && $registrationDateEnd < $registrationDateStart) {
- $this->errorMessage = 'wcf.user.condition.registrationDate.error.endBeforeStart';
+ $this->errorMessage = 'wcf.condition.timestamp.error.endBeforeStart';
throw new UserInputException('registrationDate', 'endBeforeStart');
}
<item name="wcf.condition.lessThan"><![CDATA[weniger als]]></item>
<item name="wcf.condition.lessThan.error.maxValue"><![CDATA[Der „weniger als“-Wert darf nicht größer sein als {#$maxValue}.]]></item>
<item name="wcf.condition.lessThan.error.minValue"><![CDATA[Der „weniger als“-Wert darf nicht kleiner sein als {#$minValue}.]]></item>
+ <item name="wcf.condition.timestamp.error.endBeforeStart"><![CDATA[Das Enddatum ist vor dem Startdatum.]]></item>
+ <item name="wcf.condition.timestamp.error.endNotValid"><![CDATA[Das Startdatum ist ungültig.]]></item>
+ <item name="wcf.condition.timestamp.error.startNotValid"><![CDATA[Das Enddatum ist ungültig.]]></item>
</category>
<category name="wcf.dashboard">
<item name="wcf.user.condition.notGroupIDs.description"><![CDATA[Benutzer dürfen in den ausgewählten Benutzergruppen nicht Mitglied sein.]]></item>
<item name="wcf.user.condition.notGroupIDs.error.groupIDsIntersection"><![CDATA[Die ausgewählten Benutzergruppen in „in Benutzergruppen“ und „nicht in Benutzergruppen“ sind widersprüchlich.]]></item>
<item name="wcf.user.condition.registrationDate"><![CDATA[Registrierungsdatum]]></item>
- <item name="wcf.user.condition.registrationDate.error.endBeforeStart"><![CDATA[Das Enddatum ist vor dem Startdatum.]]></item>
- <item name="wcf.user.condition.registrationDate.error.endNotValid"><![CDATA[Das Startdatum ist ungültig.]]></item>
- <item name="wcf.user.condition.registrationDate.error.startNotValid"><![CDATA[Das Enddatum ist ungültig.]]></item>
<item name="wcf.user.condition.registrationDateInterval"><![CDATA[Tage seit Registrierung]]></item>
<item name="wcf.user.condition.state"><![CDATA[Zustand]]></item>
<item name="wcf.user.condition.state.isBanned"><![CDATA[Gesperrt]]></item>
<item name="wcf.condition.lessThan"><![CDATA[less than]]></item>
<item name="wcf.condition.lessThan.error.maxValue"><![CDATA[The “less than” value may not be greater than {#$maxValue}.]]></item>
<item name="wcf.condition.lessThan.error.minValue"><![CDATA[The “less than” value may not be less than {#$minValue}.]]></item>
+ <item name="wcf.condition.timestamp.error.endBeforeStart"><![CDATA[The end date is prior to the start date.]]></item>
+ <item name="wcf.condition.timestamp.error.endNotValid"><![CDATA[The start date is not valid.]]></item>
+ <item name="wcf.condition.timestamp.error.startNotValid"><![CDATA[The end date is not valid.]]></item>
</category>
<category name="wcf.dashboard">
<item name="wcf.user.condition.notGroupIDs.description"><![CDATA[Users may not be a member of the selected user groups.]]></item>
<item name="wcf.user.condition.notGroupIDs.error.groupIDsIntersection"><![CDATA[The selected user groups in “in User Groups“ and “not in User Groups“ are conflicting.]]></item>
<item name="wcf.user.condition.registrationDate"><![CDATA[Registration Date]]></item>
- <item name="wcf.user.condition.registrationDate.error.endBeforeStart"><![CDATA[The end date is prior to the start date.]]></item>
- <item name="wcf.user.condition.registrationDate.error.endNotValid"><![CDATA[The start date is not valid.]]></item>
- <item name="wcf.user.condition.registrationDate.error.startNotValid"><![CDATA[The end date is not valid.]]></item>
<item name="wcf.user.condition.registrationDateInterval"><![CDATA[Days since registration]]></item>
<item name="wcf.user.condition.state"><![CDATA[State]]></item>
<item name="wcf.user.condition.state.isBanned"><![CDATA[Banned]]></item>