commit
c38becea71
|
@ -43,12 +43,13 @@ import spservices from '../../services/spservices';
|
|||
import { Map, ICoordinates, MapType } from "@pnp/spfx-controls-react/lib/Map";
|
||||
import { EventRecurrenceInfo } from '../../controls/EventRecurrenceInfo/EventRecurrenceInfo';
|
||||
import { getGUID } from '@pnp/common';
|
||||
import { toLocaleShortDateString } from '../../utils/dateUtils';
|
||||
|
||||
const DayPickerStrings: IDatePickerStrings = {
|
||||
months: [strings.January, strings.February, strings.March, strings.April, strings.May, strings.June, strings.July, strings.August, strings.September, strings.October, strings.November, strings.December],
|
||||
shortMonths: [strings.Jan, strings.Feb, strings.Mar, strings.Apr, strings.May, strings.Jun, strings.Jul, strings.Aug, strings.Sep, strings.Oct, strings.Nov, strings.Dez],
|
||||
days: [strings.Sunday, strings.Monday, strings.Tuesday, strings.Wednesday, strings.Thursday, strings.Friday, strings.Saturday],
|
||||
shortDays: [strings.ShortDay_S, strings.ShortDay_M, strings.ShortDay_T, strings.ShortDay_W, strings.ShortDay_Tursday, strings.ShortDay_Friday, strings.ShortDay_Saunday],
|
||||
shortDays: [strings.ShortDay_S, strings.ShortDay_M, strings.ShortDay_T, strings.ShortDay_W, strings.ShortDay_Thursday, strings.ShortDay_Friday, strings.ShortDay_Sunday],
|
||||
goToToday: strings.GoToDay,
|
||||
prevMonthAriaLabel: strings.PrevMonth,
|
||||
nextMonthAriaLabel: strings.NextMonth,
|
||||
|
@ -615,14 +616,14 @@ export class Event extends React.Component<IEventProps, IEventState> {
|
|||
{
|
||||
(this.state.eventData && (this.state.eventData.EventType !== "0" && this.state.showRecurrenceSeriesInfo !== true)) ?
|
||||
<div>
|
||||
<h2 style={{ display: 'inline-block', verticalAlign: 'top' }}>Recurrence Event</h2>
|
||||
<h2 style={{ display: 'inline-block', verticalAlign: 'top' }}>{ strings.recurrenceEventLabel }</h2>
|
||||
<DefaultButton
|
||||
style={{ display: 'inline-block', marginLeft: '330px', verticalAlign: 'top', width: 'auto' }}
|
||||
iconProps={{ iconName: 'RecurringEvent' }}
|
||||
allowDisabledFocus={true}
|
||||
onClick={this.onEditRecurrence}
|
||||
>
|
||||
Edit Recurrence Series
|
||||
{ strings.editRecurrenceSeries }
|
||||
</DefaultButton>
|
||||
|
||||
</div>
|
||||
|
@ -658,6 +659,7 @@ export class Event extends React.Component<IEventProps, IEventState> {
|
|||
value={this.state.startDate}
|
||||
label={strings.StartDateLabel}
|
||||
onSelectDate={this.onSelectDateStart}
|
||||
formatDate={toLocaleShortDateString}
|
||||
disabled={this.state.userPermissions.hasPermissionAdd || this.state.userPermissions.hasPermissionEdit ? false : true}
|
||||
hidden={this.state.showRecurrenceSeriesInfo}
|
||||
/>
|
||||
|
@ -729,6 +731,7 @@ export class Event extends React.Component<IEventProps, IEventState> {
|
|||
value={this.state.endDate}
|
||||
label={strings.EndDateLabel}
|
||||
onSelectDate={this.onSelectDateEnd}
|
||||
formatDate={toLocaleShortDateString}
|
||||
disabled={this.state.userPermissions.hasPermissionAdd || this.state.userPermissions.hasPermissionEdit ? false : true}
|
||||
hidden={this.state.showRecurrenceSeriesInfo}
|
||||
/>
|
||||
|
@ -799,9 +802,9 @@ export class Event extends React.Component<IEventProps, IEventState> {
|
|||
<Toggle
|
||||
defaultChecked={false}
|
||||
inlineLabel={true}
|
||||
label="Recurrence ?"
|
||||
onText="On"
|
||||
offText="Off"
|
||||
label={ strings.ifRecurrenceLabel }
|
||||
onText={ strings.onLabel }
|
||||
offText={ strings.offLabel }
|
||||
onChange={(ev, checked: boolean) => {
|
||||
ev.preventDefault();
|
||||
this.setState({ showRecurrenceSeriesInfo: checked, newRecurrenceEvent: checked });
|
||||
|
@ -827,7 +830,7 @@ export class Event extends React.Component<IEventProps, IEventState> {
|
|||
)
|
||||
}
|
||||
|
||||
< Label > Event Description</Label>
|
||||
< Label > {strings.eventDescriptionLabel }</Label>
|
||||
|
||||
<div className={styles.description}>
|
||||
<Editor
|
||||
|
|
|
@ -84,29 +84,29 @@ export class EventRecurrenceInfo extends React.Component<IEventRecurrenceInfoPro
|
|||
|
||||
<div style={{ display: 'inline-block', verticalAlign: 'top' }}>
|
||||
<ChoiceGroup
|
||||
label="Recurrence Information"
|
||||
label={ strings.recurrenceInformationLabel }
|
||||
selectedKey={this.state.selectedRecurrenceRule}
|
||||
options={[
|
||||
{
|
||||
key: 'daily',
|
||||
iconProps: { iconName: 'CalendarDay' },
|
||||
text: 'Daily'
|
||||
text: strings.dailyLabel
|
||||
},
|
||||
{
|
||||
key: 'weekly',
|
||||
iconProps: { iconName: 'CalendarWeek' },
|
||||
text: 'Weekly'
|
||||
text: strings.weeklyLabel
|
||||
},
|
||||
{
|
||||
key: 'monthly',
|
||||
iconProps: { iconName: 'Calendar' },
|
||||
text: 'Monthly',
|
||||
text: strings.monthlyLabel,
|
||||
|
||||
},
|
||||
{
|
||||
key: 'yearly',
|
||||
iconProps: { iconName: 'Calendar' },
|
||||
text: 'Yearly',
|
||||
text: strings.yearlyLabel,
|
||||
}
|
||||
]}
|
||||
onChange={this._onRecurrenceFrequenceChange}
|
||||
|
|
|
@ -13,6 +13,7 @@ import {
|
|||
MaskedTextField,
|
||||
} from 'office-ui-fabric-react';
|
||||
import { DatePicker, DayOfWeek, IDatePickerStrings } from 'office-ui-fabric-react/lib/DatePicker';
|
||||
import { toLocaleShortDateString } from '../../utils/dateUtils';
|
||||
|
||||
import spservices from '../../services/spservices';
|
||||
|
||||
|
@ -20,7 +21,7 @@ const DayPickerStrings: IDatePickerStrings = {
|
|||
months: [strings.January, strings.February, strings.March, strings.April, strings.May, strings.June, strings.July, strings.August, strings.September, strings.October, strings.November, strings.December],
|
||||
shortMonths: [strings.Jan, strings.Feb, strings.Mar, strings.Apr, strings.May, strings.Jun, strings.Jul, strings.Aug, strings.Sep, strings.Oct, strings.Nov, strings.Dez],
|
||||
days: [strings.Sunday, strings.Monday, strings.Tuesday, strings.Wednesday, strings.Thursday, strings.Friday, strings.Saturday],
|
||||
shortDays: [strings.ShortDay_S, strings.ShortDay_M, strings.ShortDay_T, strings.ShortDay_W, strings.ShortDay_Tursday, strings.ShortDay_Friday, strings.ShortDay_Saunday],
|
||||
shortDays: [strings.ShortDay_S, strings.ShortDay_M, strings.ShortDay_T, strings.ShortDay_W, strings.ShortDay_Thursday, strings.ShortDay_Friday, strings.ShortDay_Sunday],
|
||||
goToToday: strings.GoToDay,
|
||||
prevMonthAriaLabel: strings.PrevMonth,
|
||||
nextMonthAriaLabel: strings.NextMonth,
|
||||
|
@ -44,7 +45,7 @@ export class EventRecurrenceInfoDaily extends React.Component<IEventRecurrenceIn
|
|||
super(props);
|
||||
|
||||
|
||||
this.onPaternChange = this.onPaternChange.bind(this);
|
||||
this.onPatternChange = this.onPatternChange.bind(this);
|
||||
this.state = {
|
||||
selectedKey: 'daily',
|
||||
selectPatern: 'every',
|
||||
|
@ -162,7 +163,7 @@ export class EventRecurrenceInfoDaily extends React.Component<IEventRecurrenceIn
|
|||
});
|
||||
this.applyRecurrence();
|
||||
}
|
||||
private onPaternChange(ev: React.SyntheticEvent<HTMLElement>, option: IChoiceGroupOption): void {
|
||||
private onPatternChange(ev: React.SyntheticEvent<HTMLElement>, option: IChoiceGroupOption): void {
|
||||
ev.preventDefault();
|
||||
this.setState({
|
||||
selectPatern: option.key,
|
||||
|
@ -294,7 +295,7 @@ export class EventRecurrenceInfoDaily extends React.Component<IEventRecurrenceIn
|
|||
|
||||
</div>
|
||||
<div style={{ width: '100%', paddingTop: '10px' }}>
|
||||
<Label>Patern</Label>
|
||||
<Label>{ strings.patternLabel }</Label>
|
||||
<ChoiceGroup
|
||||
selectedKey={this.state.selectPatern}
|
||||
options={[
|
||||
|
@ -325,13 +326,13 @@ export class EventRecurrenceInfoDaily extends React.Component<IEventRecurrenceIn
|
|||
text: strings.everyweekdays,
|
||||
}
|
||||
]}
|
||||
onChange={this.onPaternChange}
|
||||
onChange={this.onPatternChange}
|
||||
required={true}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div style={{ paddingTop: '22px' }}>
|
||||
<Label>Date Range</Label>
|
||||
<Label>{ strings.dateRangeLabel }</Label>
|
||||
<div style={{ display: 'inline-block', verticalAlign: 'top', paddingRight: '35px', paddingTop: '10px' }}>
|
||||
|
||||
<DatePicker
|
||||
|
@ -342,6 +343,7 @@ export class EventRecurrenceInfoDaily extends React.Component<IEventRecurrenceIn
|
|||
label={strings.StartDateLabel}
|
||||
value={this.state.startDate}
|
||||
onSelectDate={this.onStartDateChange}
|
||||
formatDate={toLocaleShortDateString}
|
||||
/>
|
||||
|
||||
</div>
|
||||
|
@ -368,8 +370,10 @@ export class EventRecurrenceInfoDaily extends React.Component<IEventRecurrenceIn
|
|||
ariaLabel="Select a date"
|
||||
style={{ display: 'inline-block', verticalAlign: 'top', paddingLeft: '22px', }}
|
||||
onSelectDate={this.onEndDateChange}
|
||||
formatDate={toLocaleShortDateString}
|
||||
value={this.state.endDate}
|
||||
disabled={this.state.disableEndDate}
|
||||
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
@ -390,7 +394,7 @@ export class EventRecurrenceInfoDaily extends React.Component<IEventRecurrenceIn
|
|||
disabled={this.state.disableNumberOcurrences}
|
||||
errorMessage={this.state.errorMessageNumberOcurrences}
|
||||
onChange={this.onNumberOfOcurrencesChange} />
|
||||
<Label styles={{ root: { display: 'inline-block', verticalAlign: 'top', paddingLeft: '10px' } }}>Ocurrences</Label>
|
||||
<Label styles={{ root: { display: 'inline-block', verticalAlign: 'top', paddingLeft: '10px' } }}>{ strings.occurrencesLabel }</Label>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -16,6 +16,7 @@ import {
|
|||
} from 'office-ui-fabric-react';
|
||||
|
||||
import { DatePicker, DayOfWeek, IDatePickerStrings } from 'office-ui-fabric-react/lib/DatePicker';
|
||||
import { toLocaleShortDateString } from '../../utils/dateUtils';
|
||||
|
||||
import spservices from '../../services/spservices';
|
||||
import { string } from 'prop-types';
|
||||
|
@ -24,7 +25,7 @@ const DayPickerStrings: IDatePickerStrings = {
|
|||
months: [strings.January, strings.February, strings.March, strings.April, strings.May, strings.June, strings.July, strings.August, strings.September, strings.October, strings.November, strings.December],
|
||||
shortMonths: [strings.Jan, strings.Feb, strings.Mar, strings.Apr, strings.May, strings.Jun, strings.Jul, strings.Aug, strings.Sep, strings.Oct, strings.Nov, strings.Dez],
|
||||
days: [strings.Sunday, strings.Monday, strings.Tuesday, strings.Wednesday, strings.Thursday, strings.Friday, strings.Saturday],
|
||||
shortDays: [strings.ShortDay_S, strings.ShortDay_M, strings.ShortDay_T, strings.ShortDay_W, strings.ShortDay_Tursday, strings.ShortDay_Friday, strings.ShortDay_Saunday],
|
||||
shortDays: [strings.ShortDay_S, strings.ShortDay_M, strings.ShortDay_T, strings.ShortDay_W, strings.ShortDay_Thursday, strings.ShortDay_Friday, strings.ShortDay_Sunday],
|
||||
goToToday: strings.GoToDay,
|
||||
prevMonthAriaLabel: strings.PrevMonth,
|
||||
nextMonthAriaLabel: strings.NextMonth,
|
||||
|
@ -580,6 +581,7 @@ export class EventRecurrenceInfoMonthly extends React.Component<IEventRecurrence
|
|||
label={strings.StartDateLabel}
|
||||
value={this.state.startDate}
|
||||
onSelectDate={this.onStartDateChange}
|
||||
formatDate= {toLocaleShortDateString}
|
||||
/>
|
||||
|
||||
</div>
|
||||
|
@ -606,6 +608,7 @@ export class EventRecurrenceInfoMonthly extends React.Component<IEventRecurrence
|
|||
ariaLabel={strings.StartDatePlaceHolder}
|
||||
style={{ display: 'inline-block', verticalAlign: 'top', paddingLeft: '22px', }}
|
||||
onSelectDate={this.onEndDateChange}
|
||||
formatDate={toLocaleShortDateString}
|
||||
value={this.state.endDate}
|
||||
disabled={this.state.disableEndDate}
|
||||
/>
|
||||
|
|
|
@ -14,24 +14,25 @@ import {
|
|||
Checkbox,
|
||||
} from 'office-ui-fabric-react';
|
||||
import { DatePicker, DayOfWeek, IDatePickerStrings } from 'office-ui-fabric-react/lib/DatePicker';
|
||||
import { toLocaleShortDateString } from '../../utils/dateUtils';
|
||||
|
||||
import spservices from '../../services/spservices';
|
||||
|
||||
const DayPickerStrings: IDatePickerStrings = {
|
||||
months: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],
|
||||
months: [strings.January, strings.February, strings.March, strings.April, strings.May, strings.June, strings.July, strings.August, strings.September, strings.October, strings.November, strings.December],
|
||||
|
||||
shortMonths: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
|
||||
shortMonths: [strings.Jan, strings.Feb, strings.Mar, strings.Apr, strings.May, strings.Jun, strings.Jul, strings.Aug, strings.Sep, strings.Oct, strings.Nov, strings.Dez],
|
||||
|
||||
days: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
|
||||
days: [strings.Sunday, strings.Monday, strings.Tuesday, strings.Wednesday, strings.Thursday, strings.Friday, strings.Saturday],
|
||||
|
||||
shortDays: ['S', 'M', 'T', 'W', 'T', 'F', 'S'],
|
||||
shortDays: [strings.ShortDay_Sunday, strings.ShortDay_M, strings.ShortDay_T, strings.ShortDay_W, strings.ShortDay_Thursday, strings.ShortDay_Friday, strings.ShortDay_S],
|
||||
|
||||
goToToday: 'Go to today',
|
||||
prevMonthAriaLabel: 'Go to previous month',
|
||||
nextMonthAriaLabel: 'Go to next month',
|
||||
prevYearAriaLabel: 'Go to previous year',
|
||||
nextYearAriaLabel: 'Go to next year',
|
||||
closeButtonAriaLabel: 'Close date picker'
|
||||
goToToday: strings.GoToDay,
|
||||
prevMonthAriaLabel: strings.PrevMonth,
|
||||
nextMonthAriaLabel: strings.NextMonth,
|
||||
prevYearAriaLabel: strings.PrevYear,
|
||||
nextYearAriaLabel: strings.NextYear,
|
||||
closeButtonAriaLabel: strings.CloseDate
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -407,6 +408,7 @@ export class EventRecurrenceInfoWeekly extends React.Component<IEventRecurrenceI
|
|||
label={strings.StartDateLabel}
|
||||
value={this.state.startDate}
|
||||
onSelectDate={this.onStartDateChange}
|
||||
formatDate={toLocaleShortDateString}
|
||||
/>
|
||||
|
||||
</div>
|
||||
|
@ -433,6 +435,7 @@ export class EventRecurrenceInfoWeekly extends React.Component<IEventRecurrenceI
|
|||
ariaLabel={strings.StartDatePlaceHolder}
|
||||
style={{ display: 'inline-block', verticalAlign: 'top', paddingLeft: '22px', }}
|
||||
onSelectDate={this.onEndDateChange}
|
||||
formatDate={toLocaleShortDateString}
|
||||
value={this.state.endDate}
|
||||
disabled={this.state.disableEndDate}
|
||||
/>
|
||||
|
|
|
@ -15,7 +15,7 @@ import {
|
|||
MaskedTextField
|
||||
} from 'office-ui-fabric-react';
|
||||
import { DatePicker, DayOfWeek, IDatePickerStrings } from 'office-ui-fabric-react/lib/DatePicker';
|
||||
|
||||
import { toLocaleShortDateString } from '../../utils/dateUtils';
|
||||
import spservices from '../../services/spservices';
|
||||
|
||||
const DayPickerStrings: IDatePickerStrings = {
|
||||
|
@ -561,7 +561,7 @@ export class EventRecurrenceInfoYearly extends React.Component<IEventRecurrenceI
|
|||
</div>
|
||||
|
||||
<div style={{ paddingTop: '22px' }}>
|
||||
<Label>Date Range</Label>
|
||||
<Label>{ strings.dateRangeLabel }</Label>
|
||||
<div style={{ display: 'inline-block', verticalAlign: 'top', paddingRight: '35px', paddingTop: '10px' }}>
|
||||
|
||||
<DatePicker
|
||||
|
@ -572,6 +572,7 @@ export class EventRecurrenceInfoYearly extends React.Component<IEventRecurrenceI
|
|||
label={strings.StartDateLabel}
|
||||
value={this.state.startDate}
|
||||
onSelectDate={this.onStartDateChange}
|
||||
formatDate={toLocaleShortDateString}
|
||||
/>
|
||||
|
||||
</div>
|
||||
|
@ -598,6 +599,7 @@ export class EventRecurrenceInfoYearly extends React.Component<IEventRecurrenceI
|
|||
ariaLabel={strings.StartDatePlaceHolder}
|
||||
style={{ display: 'inline-block', verticalAlign: 'top', paddingLeft: '22px', }}
|
||||
onSelectDate={this.onEndDateChange}
|
||||
formatDate={toLocaleShortDateString}
|
||||
value={this.state.endDate}
|
||||
disabled={this.state.disableEndDate}
|
||||
/>
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
import * as moment from 'moment';
|
||||
|
||||
export function toLocaleLongDateString(date: Date) {
|
||||
return moment(date).format('LL');
|
||||
}
|
||||
|
||||
export function toLocaleShortDateString(date: Date) {
|
||||
return moment(date).format('ll');
|
||||
}
|
|
@ -62,23 +62,23 @@ define([], function () {
|
|||
Tuesday: "Tuesday",
|
||||
Monday: "Monday",
|
||||
Sunday: "Sunday",
|
||||
Jan:'Jan',
|
||||
Feb:'Feb',
|
||||
Mar:'Mar',
|
||||
Apr:'Apr',
|
||||
May:'May',
|
||||
Jun:'Jun',
|
||||
Jul:'Jul',
|
||||
Aug:'Aug',
|
||||
Sep:'Sep',
|
||||
Oct:'Oct',
|
||||
Nov:'Nov',
|
||||
Dez:'Dez',
|
||||
Jan:"Jan",
|
||||
Feb:"Feb",
|
||||
Mar:"Mar",
|
||||
Apr:"Apr",
|
||||
May:"May",
|
||||
Jun:"Jun",
|
||||
Jul:"Jul",
|
||||
Aug:"Aug",
|
||||
Sep:"Sep",
|
||||
Oct:"Oct",
|
||||
Nov:"Nov",
|
||||
Dez:"Dez",
|
||||
December: "December",
|
||||
November: " 'November'",
|
||||
November: "November",
|
||||
October: "October",
|
||||
September: "September",
|
||||
August: " 'August'",
|
||||
August: "August",
|
||||
July: "July",
|
||||
June: "June",
|
||||
May: "May",
|
||||
|
@ -100,17 +100,31 @@ define([], function () {
|
|||
EventTitleErrorMessage: "Event Title is required.",
|
||||
EventTitleLabel: "Event title",
|
||||
EventPanelTitle: "Edit/Add Event",
|
||||
"PropertyPaneDescription": "Calendar",
|
||||
"BasicGroupName": "Properties",
|
||||
SiteUrlFieldLabel: 'Site Url',
|
||||
ListFieldLabel: 'Calendar List name',
|
||||
weekLabel: 'Week',
|
||||
dayLable: 'Day',
|
||||
agenda: 'Agenda',
|
||||
monthLabel: 'Month',
|
||||
"todayLabel": 'Today',
|
||||
"previousLabel": 'Previous',
|
||||
"nextLabel": "Next",
|
||||
"showMore": 'more'
|
||||
PropertyPaneDescription: "Calendar",
|
||||
BasicGroupName: "Properties",
|
||||
SiteUrlFieldLabel: "Site Url",
|
||||
ListFieldLabel: "Calendar List name",
|
||||
weekLabel: "Week",
|
||||
dayLable: "Day",
|
||||
agenda: "Agenda",
|
||||
monthLabel: "Month",
|
||||
todayLabel: "Today",
|
||||
previousLabel: "Previous",
|
||||
nextLabel: "Next",
|
||||
showMore: "more",
|
||||
recurrenceEventLabel: "Recurrence Event",
|
||||
editRecurrenceSeries: "Edit Recurrence Series",
|
||||
ifRecurrenceLabel: "Recurrence ?",
|
||||
onLabel: "On",
|
||||
offLabel: "Off",
|
||||
eventDescriptionLabel: "Event Description",
|
||||
recurrenceInformationLabel: "Recurrence Information",
|
||||
dailyLabel: "Daily",
|
||||
weeklyLabel: "Weekly",
|
||||
monthlyLabel: "Monthly",
|
||||
yearlyLabel: "Yearly",
|
||||
patternLabel: "Pattern",
|
||||
dateRangeLabel: "Date Range",
|
||||
occurrencesLabel: "occurrences"
|
||||
}
|
||||
});
|
||||
|
|
|
@ -47,9 +47,9 @@ declare interface ICalendarWebPartStrings {
|
|||
NextMonth: string;
|
||||
PrevMonth: string;
|
||||
GoToDay: string;
|
||||
ShortDay_Saunday: string;
|
||||
ShortDay_Sunday: string;
|
||||
ShortDay_Friday: string;
|
||||
ShortDay_Tursday: string;
|
||||
ShortDay_Thursday: string;
|
||||
ShortDay_W: string;
|
||||
ShortDay_T: string;
|
||||
ShortDay_M: string;
|
||||
|
@ -112,6 +112,21 @@ declare interface ICalendarWebPartStrings {
|
|||
previousLabel: string;
|
||||
nextLabel: string;
|
||||
showMore: string;
|
||||
recurrenceEventLabel: string;
|
||||
editRecurrenceSeries: string;
|
||||
ifRecurrenceLabel: string;
|
||||
onLabel: string;
|
||||
offLabel: string;
|
||||
eventDescriptionLabel: string;
|
||||
recurrenceInformationLabel: string;
|
||||
dailyLabel: string;
|
||||
weeklyLabel: string;
|
||||
monthlyLabel: string;
|
||||
yearlyLabel: string;
|
||||
patternLabel: string;
|
||||
dateRangeLabel: string;
|
||||
occurrencesLabel: string;
|
||||
|
||||
}
|
||||
|
||||
declare module 'CalendarWebPartStrings' {
|
||||
|
|
|
@ -0,0 +1,131 @@
|
|||
define([], function () {
|
||||
return {
|
||||
WeeksOnLabel: "vecka på",
|
||||
PaternLabel: "Schema",
|
||||
OcurrencesLabel: "Tillfällen",
|
||||
dateRangeLabel: "Datumintervall",
|
||||
weekEndDay: "Helgdag",
|
||||
weekDayLabel: "Veckodag",
|
||||
lastLabel: "sista",
|
||||
fourthLabel: "fjärde",
|
||||
thirdLabel: "tredje",
|
||||
secondLabel: "andra",
|
||||
firstLabel: "första",
|
||||
theLabel: "",
|
||||
MonthsLabel: "månad(er)",
|
||||
ofEveryLabel: "för varje ",
|
||||
AllowedValues1to12Label: "Tillåtna värder 1 till 12",
|
||||
noEndDate: "inget slutdatum",
|
||||
everyweekdays: "alla veckodagar",
|
||||
days: "dag",
|
||||
every: "var",
|
||||
EndByLabel: "slutar den",
|
||||
EndAfterLabel: "slutar efter",
|
||||
HttpErrorMessage: "Fel vid inläsning av kalenderhändelser:",
|
||||
CategoryPlaceHolder: "Välj en kategori",
|
||||
CategoryLabel: "Kategori",
|
||||
EnDateValidationMessage: "startdatum är senare än slutdatum",
|
||||
SartDateValidationMessage: "startdatum är senare än slutdatum",
|
||||
eventSelectDatesLabel: "Visa endast händelser mellan följande datum",
|
||||
ConfirmeDeleteMessage: "Bekräfta borttag av händelse ? Om händelsen är en återkommande händelse kommer alla tillfällen att raderas ",
|
||||
DialogConfirmDeleteTitle: "Ta bort händelse",
|
||||
SpinnerDeletingLabel: "Tar bort...",
|
||||
DialogCloseButtonLabel: "Avbryt",
|
||||
DialogConfirmDeleteLabel: "Ta bort",
|
||||
SaveButtonLabel: "Spara",
|
||||
DeleteButtonLabel: "Ta bort",
|
||||
CancelButtonLabel: "Avbryt",
|
||||
LoadingEventsLabel: "Laddar händelser...",
|
||||
WebPartConfigButtonLabel: "Inställningar",
|
||||
WebpartConfigDescription: "Ställ in kalender lista ",
|
||||
WebpartConfigIconText: "Ställ in Kalenderwebbdelen",
|
||||
EventOwnerLabel: "ägare",
|
||||
InvalidDateFormat: "Ogiltigt datumformat.",
|
||||
IsRequired: "Fältet är obligatoriskt.",
|
||||
CloseDate: "Stäng datumväljaren",
|
||||
NextYear: "Gå till nästa år",
|
||||
PrevYear: "Gå till föregående år",
|
||||
NextMonth: "Gå till nästa månad",
|
||||
PrevMonth: "Gå till föregående månad",
|
||||
GoToDay: "Gå till idag",
|
||||
ShortDay_Saunday: "S",
|
||||
ShortDay_Friday: "F",
|
||||
ShortDay_Tursday: "To",
|
||||
ShortDay_W: "O",
|
||||
ShortDay_T: "Ti",
|
||||
ShortDay_M: "M",
|
||||
ShortDay_S: "L",
|
||||
Saturday: "Lördag",
|
||||
Friday: "Fredag",
|
||||
Thursday: "Torsdag",
|
||||
Wednesday: "Onsdag",
|
||||
Tuesday: "Tisdag",
|
||||
Monday: "Måndag",
|
||||
Sunday: "Söndag",
|
||||
Jan:"Jan",
|
||||
Feb:"Feb",
|
||||
Mar:"Mar",
|
||||
Apr:"Apr",
|
||||
May:"Maj",
|
||||
Jun:"Jun",
|
||||
Jul:"Jul",
|
||||
Aug:"Aug",
|
||||
Sep:"Sep",
|
||||
Oct:"Okt",
|
||||
Nov:"Nov",
|
||||
Dez:"Dec",
|
||||
December: "December",
|
||||
November: "November",
|
||||
October: "Oktober",
|
||||
September: "September",
|
||||
August: "Augusti",
|
||||
July: "Juli",
|
||||
June: "Juni",
|
||||
May: "Maj",
|
||||
April: "April",
|
||||
March: "Mars",
|
||||
February: "Februari",
|
||||
January: "Januari",
|
||||
LocationLabel: "Platssökning och Karta",
|
||||
LocationTextLabel: "Plats",
|
||||
AttendeesLabel: "Deltagare",
|
||||
EndMinLabel: "Min",
|
||||
EndHourLabel: "Timme",
|
||||
EndDateLabel: "Slutdatum",
|
||||
EndDatePlaceHolder: "Välj ett datum...",
|
||||
StartMinLabel: "Min",
|
||||
StartHourLabel: "Timme",
|
||||
StartDateLabel: "Startdatum",
|
||||
StartDatePlaceHolder: "Välj ett datum...",
|
||||
EventTitleErrorMessage: "Titel på händelsen är obligatoriskt.",
|
||||
EventTitleLabel: "Titel",
|
||||
EventPanelTitle: "Redigera/Lägg till händelse",
|
||||
PropertyPaneDescription: "Kalender",
|
||||
BasicGroupName: "Egenskaper",
|
||||
SiteUrlFieldLabel: "Site Url",
|
||||
ListFieldLabel: "Kalenderlista",
|
||||
weekLabel: "Vecka",
|
||||
dayLable: "Dag",
|
||||
agenda: "Agenda",
|
||||
monthLabel: "Månad",
|
||||
todayLabel: "Idag",
|
||||
previousLabel: "Föregående",
|
||||
nextLabel: "Nästa",
|
||||
showMore: "mer",
|
||||
recurrenceEventLabel: "Återkommande händelse",
|
||||
editRecurrenceSeries: "Redigera återkommande händelse",
|
||||
ifRecurrenceLabel: "Återkommande ?",
|
||||
onLabel: "På",
|
||||
offLabel: "Av",
|
||||
eventDescriptionLabel: "Beskrivning",
|
||||
recurrenceInformationLabel: "Intervall",
|
||||
dailyLabel: "Dagligen",
|
||||
weeklyLabel: "Veckovis",
|
||||
monthlyLabel: "Månatligen",
|
||||
yearlyLabel: "Årligen",
|
||||
patternLabel: "Schema",
|
||||
dateRangeLabel: "Datumintervall",
|
||||
occurrencesLabel: "tillfällen"
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue