Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LT translations #247

Merged
merged 3 commits into from
Mar 29, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/controls/peoplepicker/PeoplePickerComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export class PeoplePicker extends React.Component<IPeoplePickerProps, IPeoplePic
this.groupId = await this.peopleSearchService.getGroupId(groupName, webAbsoluteUrl);
if (!this.groupId) {
this.setState({
errorMessage: "Group could not be found."
errorMessage: strings.PeoplePickerGroupNotFound
});
return;
}
Expand Down
85 changes: 85 additions & 0 deletions src/loc/lt-lt.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
declare var define: any;

define([], () => {
return {
'SiteBreadcrumbLabel': 'Svetainės navigacijos grandinė',

'ListViewGroupEmptyLabel': 'Nenurodyta',

'WebPartTitlePlaceholder': 'Puslapio dalies antraštė',
'WebPartTitleLabel': 'Pridėti antraštę',

"DateTime": {
"L_RelativeDateTime_AFewSecondsFuture": "po kelių sekundžių",
"L_RelativeDateTime_AFewSeconds": "prieš kelias sekundes",
"L_RelativeDateTime_AboutAMinuteFuture": "maždaug po minutės",
"L_RelativeDateTime_AboutAMinute": "beveik prieš minutę",
"L_RelativeDateTime_XMinutesFuture": "po {0} min.",
"L_RelativeDateTime_XMinutes": "prieš {0} min.",
"L_RelativeDateTime_XMinutesFutureIntervals": "0-",
"L_RelativeDateTime_XMinutesIntervals": "0-",
"L_RelativeDateTime_AboutAnHourFuture": "maždaug po valandos",
"L_RelativeDateTime_AboutAnHour": "beveik prieš valandą",
"L_RelativeDateTime_Tomorrow": "rytoj",
"L_RelativeDateTime_Yesterday": "vakar",
"L_RelativeDateTime_TomorrowAndTime": "rytoj, {0}",
"L_RelativeDateTime_YesterdayAndTime": "vakar, {0}",
"L_RelativeDateTime_XHoursFuture": "po {0} val.",
"L_RelativeDateTime_XHours": "prieš {0} val.",
"L_RelativeDateTime_XHoursFutureIntervals": "0-",
"L_RelativeDateTime_XHoursIntervals": "0-",
"L_RelativeDateTime_DayAndTime": "{0}, {1}",
"L_RelativeDateTime_XDaysFuture": "po {0} d.",
"L_RelativeDateTime_XDays": "prieš {0} d.",
"L_RelativeDateTime_XDaysFutureIntervals": "0-",
"L_RelativeDateTime_XDaysIntervals": "0-",
"L_RelativeDateTime_Today": "šiandien"
},
"SendEmailTo": "Siųsti el. laišką {0}",
"StartChatWith": "Pradėti pokalbį su {0}",
"Contact": "Kontaktas",
"UpdateProfile": "Atnaujinti profilį",

"TaxonomyPickerNoTerms": "Terminų rinkinys tuščias",
"TaxonomyPickerExpandTitle": "Išskleisti terminų rinkinį",
"TaxonomyPickerMenuTermSet": "Terminų rinkinio meniu",
"TaxonomyPickerInLabel": "",
"TaxonomyPickerTermSetLabel": "Terminų rinkinys",

peoplePickerComponentTooltipMessage: "Pasirinkite naudotojus",
peoplePickerComponentErrorMessage: "Privalomas laukas",
peoplePickerSuggestionsHeaderText: 'Pasiūlymai',
peoplePickerLoadingText: 'Įkeliama',
PeoplePickerSearchText: 'Ieškoma naudotojų',
PeoplePickerGroupNotFound: "Grupės nepavyko rasti.",

genericNoResultsFoundText: 'Rezultatų nėra',

ListItemPickerSelectValue: 'Pasirinkite reikšmę',
ListItemAttachmentsActionDeleteIconTitle: 'Naikinti',
ListItemAttachmentsactionDeleteTitle: 'Naikinti',
ListItemAttachmentsfileDeletedMsg: 'Failas „{0}“ panaikintas',
ListItemAttachmentsfileDeleteError: 'Klaida naikinant failą „{0}“: {1}',
ListItemAttachmentserrorLoadAttachments: 'Nepavyko įkelti elemento priedų infomacijos: {0}',
ListItemAttachmentsconfirmDelete: 'Ar tikrai norite priedą „{0}“ siųsti į svetainės šiukšlinę?',
ListItemAttachmentsdialogTitle: 'Elemento priedai',
ListItemAttachmentsdialogOKbuttonLabel: 'Gerai',
ListItemAttachmentsdialogCancelButtonLabel: 'Atšaukti',
ListItemAttachmentsdialogOKbuttonLabelOnDelete: 'Naikinti',
ListItemAttachmentsuploadAttachmentDialogTitle: 'Įkelti priedą',
ListItemAttachmentsuploadAttachmentButtonLabel: 'Įkelti priedą',
ListItemAttachmentsuploadAttachmentErrorMsg: 'Failo „{0}“ įkelti nepavyko: {1}',
ListItemAttachmentsCommandBarAddAttachmentLabel: 'Įkelti priedą',
ListItemAttachmentsloadingMessage: 'Failas siunčiamas...',
ListItemAttachmentslPlaceHolderIconText: 'Elemento priedai',
ListItemAttachmentslPlaceHolderDescription: 'Please Add Attachment',
ListItemAttachmentslPlaceHolderButtonLabel: 'Pridėti',

mapsErrorMessage: 'Įkeliant žemėlapį įvyko klaida',
mapsLoadingText: 'Įkeliama',
mapsSearchButtonText: 'Paieška',
mapsTitlePrefix: 'Žemėlapis',

ListViewFilterLabel: "Filtruoti"
};
});
33 changes: 30 additions & 3 deletions src/loc/mystrings.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ declare interface IControlStrings {
ListViewGroupEmptyLabel: string;
WebPartTitlePlaceholder: string;
WebPartTitleLabel: string;
DateTime: { [key: string]: string };
DateTime: IDateTimeStrings;
SendEmailTo: string;
StartChatWith: string;
Contact: string;
Expand All @@ -39,8 +39,8 @@ declare interface IControlStrings {
ListItemAttachmentsdialogOKbuttonLabel: string;
ListItemAttachmentsdialogCancelButtonLabel: string;
ListItemAttachmentsdialogOKbuttonLabelOnDelete: string;
ListItemAttachmentsuploadAttachmentDialogTitle:string;
ListItemAttachmentsuploadAttachmentButtonLabel:string;
ListItemAttachmentsuploadAttachmentDialogTitle: string;
ListItemAttachmentsuploadAttachmentButtonLabel: string;
ListItemAttachmentsuploadAttachmentErrorMsg: String;
ListItemAttachmentsCommandBarAddAttachmentLabel: string;
ListItemAttachmentsloadingMessage: string;
Expand All @@ -54,6 +54,33 @@ declare interface IControlStrings {
mapsTitlePrefix: string;
}

declare interface IDateTimeStrings {
L_RelativeDateTime_AFewSecondsFuture: string;
L_RelativeDateTime_AFewSeconds: string;
L_RelativeDateTime_AboutAMinuteFuture: string;
L_RelativeDateTime_AboutAMinute: string;
L_RelativeDateTime_XMinutesFuture: string;
L_RelativeDateTime_XMinutes: string;
L_RelativeDateTime_XMinutesFutureIntervals: string;
L_RelativeDateTime_XMinutesIntervals: string;
L_RelativeDateTime_AboutAnHourFuture: string;
L_RelativeDateTime_AboutAnHour: string;
L_RelativeDateTime_Tomorrow: string;
L_RelativeDateTime_Yesterday: string;
L_RelativeDateTime_TomorrowAndTime: string;
L_RelativeDateTime_YesterdayAndTime: string;
L_RelativeDateTime_XHoursFuture: string;
L_RelativeDateTime_XHours: string;
L_RelativeDateTime_XHoursFutureIntervals: string;
L_RelativeDateTime_XHoursIntervals: string;
L_RelativeDateTime_DayAndTime: string;
L_RelativeDateTime_XDaysFuture: string;
L_RelativeDateTime_XDays: string;
L_RelativeDateTime_XDaysFutureIntervals: string;
L_RelativeDateTime_XDaysIntervals: string;
L_RelativeDateTime_Today: string;
}

declare module 'ControlStrings' {
const strings: IControlStrings;
export = strings;
Expand Down