Merge pull request #964 from amortsell/language
Finalized localization issues
This commit is contained in:
commit
e7972c0799
|
@ -254,7 +254,7 @@ export class EventRecurrenceInfoMonthly extends React.Component<IEventRecurrence
|
|||
* @memberof EventRecurrenceInfoMonthly
|
||||
*/
|
||||
private onWeekOrderMonthChange(ev: React.FormEvent<HTMLDivElement>, item: IDropdownOption):void {
|
||||
this.setState({selectedWeekOrderMonth: item.text});
|
||||
this.setState({selectedWeekOrderMonth: item.key.toString()});
|
||||
this.applyRecurrence();
|
||||
}
|
||||
|
||||
|
@ -472,7 +472,7 @@ export class EventRecurrenceInfoMonthly extends React.Component<IEventRecurrence
|
|||
|
||||
</div>
|
||||
<div style={{ width: '100%', paddingTop: '10px' }}>
|
||||
<Label>Patern</Label>
|
||||
<Label>{ strings.patternLabel }</Label>
|
||||
<ChoiceGroup
|
||||
selectedKey={this.state.selectPatern}
|
||||
options={[
|
||||
|
|
|
@ -207,7 +207,7 @@ export class EventRecurrenceInfoYearly extends React.Component<IEventRecurrenceI
|
|||
* @memberof EventRecurrenceInfoYearly
|
||||
*/
|
||||
private onWeekOrderMonthChange(ev: React.FormEvent<HTMLDivElement>, item: IDropdownOption): void {
|
||||
this.setState({ selectedWeekOrderMonth: item.text });
|
||||
this.setState({ selectedWeekOrderMonth: item.key.toString() });
|
||||
this.applyRecurrence();
|
||||
}
|
||||
|
||||
|
@ -232,7 +232,7 @@ export class EventRecurrenceInfoYearly extends React.Component<IEventRecurrenceI
|
|||
* @memberof EventRecurrenceInfoYearly
|
||||
*/
|
||||
private onSelectedWeekDayChange(ev: React.FormEvent<HTMLDivElement>, item: IDropdownOption): void {
|
||||
this.setState({ selectedWeekDay: item.text });
|
||||
this.setState({ selectedWeekDay: item.key.toString() });
|
||||
this.applyRecurrence();
|
||||
}
|
||||
|
||||
|
@ -526,7 +526,7 @@ export class EventRecurrenceInfoYearly extends React.Component<IEventRecurrenceI
|
|||
]}
|
||||
/>
|
||||
</div>
|
||||
<Label styles={{ root: { display: 'inline-block', verticalAlign: 'top', width: '30px', paddingLeft: '10px' } }}>of</Label>
|
||||
<Label styles={{ root: { display: 'inline-block', verticalAlign: 'top', width: '30px', paddingLeft: '10px' } }}>{ strings.ofMonthLabel} </Label>
|
||||
<div style={{ display: 'inline-block', verticalAlign: 'top', width: '100px', paddingLeft: '5px' }}>
|
||||
<Dropdown
|
||||
selectedKey={this.state.selectedYearlyByDayMonth}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
define([], function () {
|
||||
return {
|
||||
WeeksOnLabel: "week(s) on",
|
||||
PaternLabel: "Patern",
|
||||
PaternLabel: "Pattern",
|
||||
OcurrencesLabel: "Ocurrences",
|
||||
dateRangeLabel: "Date Range",
|
||||
weekEndDay: "Weekend Day",
|
||||
|
@ -125,6 +125,7 @@ define([], function () {
|
|||
yearlyLabel: "Yearly",
|
||||
patternLabel: "Pattern",
|
||||
dateRangeLabel: "Date Range",
|
||||
occurrencesLabel: "occurrences"
|
||||
occurrencesLabel: "occurrences",
|
||||
ofMonthLabel: "of"
|
||||
}
|
||||
});
|
||||
|
|
|
@ -126,6 +126,7 @@ declare interface ICalendarWebPartStrings {
|
|||
patternLabel: string;
|
||||
dateRangeLabel: string;
|
||||
occurrencesLabel: string;
|
||||
ofMonthLabel:string;
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -125,7 +125,8 @@ define([], function () {
|
|||
yearlyLabel: "Årligen",
|
||||
patternLabel: "Schema",
|
||||
dateRangeLabel: "Datumintervall",
|
||||
occurrencesLabel: "tillfällen"
|
||||
occurrencesLabel: "tillfällen",
|
||||
ofMonthLabel: "i"
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue