jQuery.extend(CommonResources, {
    SessionFinished: "You don't have enough permissions to perform this action, or your session has expired. Please, relogin.",
    Loading: 'Loading',
    Show: 'Show',
    Hide: 'Hide',
    Done: 'Done',
    Yes: 'Ναι',
    No: 'Όχι',
    Cancel: 'Ακύρωση',
    Change: 'Επεξεργασία',
    SureDeleteElement: 'Are you sure you want to delete this element?',
    SureDeleteFile: 'Are you sure you want to delete this file?',
    SureDeletePermission: 'Are you sure you want to delete this permission?',
    AdditionalSettings: 'Additional settings',
    HideAdditionalSettings: 'Hide additional settings',
    Language: 'Γλώσσα',
    NoOneSelected: 'You must select at least one item.',
    NewElement: 'New element',
    Remove: 'Remove',
    LanguagePrefix: 'el'
});

jQuery.extend(FormResources, {
    FormChanged: 'Form has changed. Are you sure you want to quit?',
    LeaveChangedForm: 'Form has changed. Are you sure you want to leave page?',
    FieldRequired: 'Αυτό το πεδίο είναι υποχρεωτικό'
});

jQuery.extend(MultipleSelectResources, {
    Choose: 'Choose'
});

jQuery.extend(TimespanResources, {
    Hr: 'hr.',
    Min: 'min.',
    HrDecline: 'hour- ,s,s',
    MinDecline: 'minute- ,s,s',
    Undefined: 'Undefined'
});

jQuery.extend(TableResources, {
    SureDeleteView: 'Are you sure you want to delete this view?',
    NoRecordsSelected: 'Please, select items, that you want to delete.',
    SureDeleteRecords: 'Are you sure you want to delete selected items?',
    DeleteError: 'Unable to delete selected items'
});

jQuery.extend(AdSync, {
    SureRecreateSync: 'Are you sure you want to reconfigure synchronization?',
    SureDeleteGroup: 'Are you sure you want to delete the group?',
    ShowEmployees: 'Show employees',
    HideEmployees: 'Hide employees',
    ChangeRoot: 'Changing the root department can lead to re-create child departments'
});

jQuery.extend(ReportResources, {
    SelectGroupField: 'Select group field',
    SelectDateField: 'Select group period',
    SelectField: 'Select field'
});

jQuery.extend(FilterResources, {
ShowAdditionalFields: 'Show additional fields',
HideAdditionalFields: 'Hide additional fields',
FieldTypesAdditionalFields: 'Field types additional fields',
AssetFieldTypesAdditionalFields: 'Asset field types additional fields',
Rename: 'Rename',
SetDefault: 'Set default',
SureFilter: 'Set filter ',
Default: ' as default?',
ConfirmAction: 'Confirm action',
Subscribe: 'Add subscription',
Sibscrptions: 'Show subscriptions',
Delete: 'Delete'
});

jQuery.extend(SmsResources, {
WrongPhone: 'Wrong phone'
});

jQuery.extend(AssetResources, {
EmptyName: 'The name must not be empty',
EmptySearch: 'Enter a name to search or create a group',
ConfirmDeleteGroup: 'Are you sure you want to disband the group?',
ConfirmDeleteGroupFields: 'Are you sure you want to remove all elements of selected block?',
ConfirmDeleteSoft: 'Are you sure you want to remove the software out of sync?',
ConfirmDettach: 'Are you sure you want to remove the software out of group?',
ZabbixHost: 'Zabbix host',
CantMoveToChild: "You can not move asset to one of it's children.",
CreateChildAsset: 'Create child asset',
DeleteAsset: 'Delete asset',
ExportExcel: 'Export to excel',
SureDelete: 'Are you sure you want to delete this asset?',
NoAssetSelected: 'Select at list one asset',
ConfirmResetSettings: "Are you shure you want to reset all style settings and remove custom elements?",
QuestionStyleSettings: "It's requred base knowledges of HTML and CSS for this settings. <br/> What the result of following?",
QuestionStyleSettingsFalse: "Don't know what is CSS",
QuestionStyleSettingsTrue: "Input with red bold label inside of block element",
CurentStyle: "Curent style",
DropDownValues:"Combobox values (comma separated)"
});

jQuery.extend(SubscribeDescriptions, {
day: 'A letter will be sent every day',
week: 'A letter will be sent every Sunday',
month: 'A letter will be sent every last day of the month'
});

jQuery.extend(TaskResources, {
    NoChangeToMeetingRoom: 'You can not move this ticket to the service with ticket type "Meeting room".',
    ChooseService: 'You must select a service!',
    CheckTasksToChooseExecutors: 'Please, check tickets for which you want to assign executors.',
    CheckTasksToMarkAsRead: 'Please, check tickets you want to mark as read.',
    CheckTasksToChangeStatus: 'Please, check tickets whose status you want to change.',
    CheckTasksToChangePriority: 'Please, check tickets whose priority you want to change.',
    SureChangePriority: "When you change the priority, deadline will be automatically recalculated\nbased on ticket's service level.\nAre you sure you want to change the priority?",
    DeadlinePassed: 'Deadline has expired, it is recommended that you will set new deadline. Are you sure you want to save this deadline?',
    ChildDeadlineLaterThanParent: "Deadline of some of descendant tickets is later, than the parent's.\nIt is recommended to set new deadline. Are you sure you want to save this deadline?",
    ParentDeadlineEarlierThanChild: "Deadline of parent ticket is earlier, than this(descendant) ticket's.\nIt is recommended to set new deadline. Are you sure you want to save this deadline?",
    CommentsOnly: 'Short lifetime (only comments)',
    ShowFull: 'Show full lifetime',
    SureDeleteFile: 'Are you sure you want to delete this file?',
    SureDeleteScreenshot: 'Are you sure you want to delete this screenshot?',
    AlreadyExecutor: 'You are already the executor of this ticket.',
    YouAreAssignedAsExecutor: 'You are assigned as executor',
    AlreadyCoordinator: 'You are already the coordinator of this ticket.',
    YouAreAssignedAsCoordinator: 'You are assigned as coordinator',
    AlreadyParticipant: 'You are already the observer of this ticket.',
    YouAreAssignedAsParticipant: 'You are assigned as observer',
    ParentTicketName: 'Parent ticket name',
    OnlyOneCategory: 'You can assign only one category on this ticket',
    OnlyOneExecutor: 'You can assign only one executor on this ticket',
    SelectCoordinator: 'Select at least one coordinator',
    NoFileOrComment: 'Add a comment or a file',
    Back: 'Back',
    CantCreateTask: 'You don’t have permissions to create ticket in this service',
    ChangeServiceForNewTaskWorning: 'Changes made ​​in the fields will not be saved. Continue?',
    AllComments: 'Show all comments',
    Hide: 'hide comments',
    Cancel: 'Are you sure you want to change status to "',
    ReactionDateEarlierThanCreated: 'Reaction date is less than the creation date',
    ReactionDateFactEarlierThanCreated: 'Actual reaction date is less than the creation date',
    DisabledInThisTariff: 'This tariff does not support ticket with type',
    FactReactionDateWarning: 'Unable to reset fact reaction date in ticket status other than initial',
    FactResolutionWarning: 'Unable to reset fact resolution date in fixed ticket status',
    NotificationRules: 'Show notification rules',
    ExecutorGroupNotAssigned: 'No executor group assigned',
    Group: 'Group'
});

jQuery.extend(DashboardResources, {
    Activate: 'Not actual service. Click, to make it actual.',
    Deactivate: 'Actual service. Click, to remove this service from the list of actual services.'
});

jQuery.extend(ScheduleResources, {
    ChooseSchedule: 'Select calendar to create a schedule.',
    SureDelete: 'Are you sure you want to delete this schedule?',
    SureDelete1DaySchedule: 'Are you sure you want to delete this one-day exception?'
});

jQuery.extend(ServiceLevelResources, {
    SureDeleteFile: 'Are you sure you want to delete this file?'
});

jQuery.extend(UserResources, {
    NoUsersSelected: 'No users selected.',
    ChangedMind: 'Ακύρωση',
    SetUserRoleOnService: 'Select a user role on this service:',
    SetSystemRole: 'Select a user system role:',
    CanNotDeleteService: 'You can not delete service, because user is linked through the department.'
});

jQuery.extend(KBResources, {
    CantMoveToChild: "You cant move section to one of it's child sections.",
    SureDeleteDocument: 'Are you sure you want to delete this document?',
    SureDeleteSection: "Are you sure you want to delete this section and all of it's documents?",
    NewSection: 'Δημιουργία ενότητας',
    AddDocument: 'Add document',
    DeleteSection: 'Διαγραφή ενότητας',
    ChooseSection: 'Select section, in which you want to create document.',
    ArticleCreated: 'Knowledge base article created from the ticket №',
    TagFcbkCompleteMessage: 'Type tag text and press Enter...',
    SelectAnyDocument: 'Select at least one document.',
    Subject: 'Subject:',
    Message: 'Message:',
    SelectAnyUser: 'Select at least one recipient.',
    Success: 'Newsletter success',
    SureDeletePermission: 'Are you sure you want to delete this permission?'
});

jQuery.extend(NotificationRuleResources, {
    SureDelete: 'Are you sure you want to delete this notification rule?',
    UsingTemplate: 'Using template: ',
    ChangeTemplate: '. Click to change the template.',
    InheritedTemplate: 'Inherited template. Click to change the template.',
    UseDefaultTemplate: 'Default template is used. Click to change the template.',
    Add: 'Προσθήκη',
    DefaultTemplate: 'Default template',
    Template: 'Template',
    EmailTemplate: 'Πρότυπο ηλεκτρονικού ταχυδρομείου:',
    SmsTemplate: 'Πρότυπο μηνυμάτων:',
    Delete: 'Delete status',
    Save: ' Αποθήκευση ',
    Cancel: ' Ακύρωση ',
    TemplateHint: 'Τα πρότυπα ρυθμίζονται στις <br/> Ρυθμίσεις -> Πρότυπα ειδοποιήσεων',
    AssignExecutor: 'Assign as executor',
    ExecutorsChanged: 'Executors changed',
    AssignParticipant: 'Assign as participant',
    ParticipantsChanged: 'Participants changed',
    AssignCoordinator: 'Assign as coordinator',
    CoordinatorsChanged: 'Coordinators changed',
    DisabledInThisTariff: 'Disabled in this tariff plan',
    AssignGroup: 'Assign in group',
    GroupChanged: 'Executor group changed'
});

jQuery.extend(RoleResources, {
    AskAboutChanges: 'Changes you have made on this tab will not be displayed on tabs "Status transitions" and "Notification rules". You must save the workflow first. Continue without saving?',
    ChooseStatus: 'Choose destination status.',
    ChooseRoles: 'Choose roles who will have permission to perform this status change.',
    NewNameRequired: '"New title" is required field.',
    CheckRecommendToMark: 'No recommended actions selected. Choose recommended actions you want to delete.',
    SureDeleteRecommendat: 'Are you sure you want to delete this recommended action?',
    NoRoleSelected: 'Select at least one role.',
    CoordinationRequired: 'Field coordination status is required',
    WrongTypeFieldsOnTime: 'Invalid data format in the field "How long overdue"',
    WrongTypeFieldsInTime: 'Invalid data format in the field "How much overdue"',
    HistoryHint: 'History allows you to see the old and new values of all fields in the ticket for the entire period of its existence. It is recommended to give this permission only to system administrators.'
});

jQuery.extend(ScreenshotResources, {
    CannotLoadActiveX: 'Failed to initialize IntraClipboard ActiveX-component.',
    NoImageInClipboard: "Clipboard doesn't contain image.\nPress 'Print Screen' key on the keyboard to copy whole screen to the clipboard,\nor 'Alt' + 'Print screen' simultaneously to copy only active window content.",
    FailedToSaveScreenshot: 'Unable to save screenshot. Please, contact IntraService support.',
    FirstSelectRegion: "It's necessary first to select region on image."
});

jQuery.extend(ServiceResources, {
    NoServiceSelected: 'No services selected. Please, select services you want to add.',
    NoCompaniesSelected: 'No companies selected. Please, select companies you want to delete.',
    SureDeleteCompanies: 'Employees of the selected companies will lose access to this service.\nAre you sure you want to delete selected companies?',
    NoAssetsSelected: 'No assets selected. Please, select companies you want to delete.',
    SureDeleteAssets: 'Are you sure you want to delete selected assets?',
    SelectUsersToBlock: 'No users selected. Please, select users you want to block.',
    SureBlockUsers: 'Are you sure you want to block selected users?',
    SelectUsersToUnblock: 'No users selected. Please, select users you want to unblock.',
    SureUnblockUsers: 'Are you sure you want to unblock selected users?',
    CantDeleteCompanyUsers: 'List of users you were going to delete contained some users, assigned on service via {0}. These users cannot be deleted, use "Block users" instead.',
    SureDeleteCompanyUsers: 'List of users you were going to delete contained some users, assigned on service both via {0} and directly. Deleting such users will only reset their service roles to system roles, and they will remain assigned to this service via {0}.\nIs this the intended operation?\n\nIf you want those users not to have access to service - block them instead.',
    NoTaskTypesSelected: 'No ticket types selected. Please, select ticket types you want to delete.',
    SureDeleteTaskTypes: 'Are you sure you want to delete selected ticket types?',
    NameCodeRequired: 'Fields “Name” and “Code” required',
    SureDeleteChildService: 'Are you sure you want to delete this service?',
    NoEscalationRuleSelected: 'No rules selected. Please, select escalation rules you want to delete.',
    SureDeleteEscalationRules: 'Are you sure you want to delete selected escalation rules?',
    EmptyEscalationRuleFields: 'Marked fields must not be empty',
    FillOneTime: 'Fill at least one time field',
    WrongTimeField: 'One of the time fields is wrong. The value must be between 0 and 1000',
    WrongOneTimeField: 'Wrong time field. The value must be between 1 and 1000',
    NoTemplate: 'Select at list one template',
    SelectUser: 'Select at list one role or user',
    SureDeleteGroups: 'Employees of the selected groups will lose access to this service.\nAre you sure you want to delete selected groups?',
    Users: 'Users',
    ExecutorGroup: 'Executor groups',
    UserCompany: 'their department',
    UserGroup: 'executor group',
    UserCompanyGroup: 'their department and executor group'
});

jQuery.extend(SmtpResources, {
    WrongEmail: 'Email is not specified or is invalid',
    VerifyFailed: 'Verify failed.',
    VerifySuccess: 'Verify success.',
    TestMessageSend: 'Sent test email to'
});

jQuery.extend(WorkflowResources, {
    AskAboutChanges: 'Changes you have made on this tab will not be displayed on tabs "Status transitions" and "Notification rules". You must save the workflow first. Continue without saving?',
    ChooseStatus: 'Choose destination status.',
    ChooseRoles: 'Choose roles who will have permission to perform this status change.',
    NewNameRequired: '"New title" is required field.',
    CheckRecommendToMark: 'No recommended actions selected. Choose recommended actions you want to delete.',
    SureDeleteRecommendat: 'Are you sure you want to delete this recommended action?',
    NoRoleSelected: 'Select at least one role or user.',
    CoordinationRequired: 'Field coordination status is required',
    AddAdditionalCondition:'Add additional conditions',
    RemoveAdditionalConditions:'Remove additional conditions',
    AddButton: 'Add a transition on the button',
    RemoveButton: 'Remove the button transition',
    RenameButton: 'Rename the button transition',
    AddCommentRequired: 'Set a comment as binding',
    RemoveCommentRequired: 'Remove a comment as binding',
    ConditionStatuses: 'An additional condition: ',
    ChangeTransition: 'Change transition',
    DeleteTransition:'Delete transition',
    AlertTransitionToNewStatus: 'Forbidden to create transitions to initial status',
    Move: 'Move',
    TransitionDescription: 'Transition from status "{%}" to "{%}"',
    ConcurrenceDescription: 'Concurrence setting for status "{%}"',
    MoveArrowToStatus: 'Drop me on the required status',
    ResetStatusPositions: 'Are you shure that you want to set position of all statuses to default',
    RefreshForResetStatusPositions: 'Positions of statuses will changed after refresh. Refresh this page?',
    ShowMenu: 'Show menu',
    HideMenu: 'Hide menu',
    SureDeleteTransition: 'Are you shure that you want to delete selected transition?'
});

jQuery.extend(CompanyResources, {
    NoCompanySelected: 'No companies selected.',
    NoDocumentsSelected: 'No documents selected. Please, select documents you want to delete.',
    SureDelete: 'Are you sure you want to delete selected documents ',
    SureDeleteTemplates: 'Are you sure you want to delete selected templates?',
    NoTemplatesSelected: 'No templates selected.'
});

jQuery.extend(ImportMailResources, {
    NoMessagesSelected: 'No messages selected. Please, select messages you want to delete.',
    SureDelete: 'Are you sure you want to delete selected messages?',
    TaskFromMailDescription: 'Profile to create tickets from e-mail',
    TaskCommentFromMailDescription: 'Profile for adding comments to ticket based on user responses to the notification e-mail from the system',
    VerifySuccess: 'Verify success.',
    InMailbox: 'In mailbox:',
    Messages: 'messages',
    VerifyFailed: 'Verify failed.'
});

jQuery.extend(NotificationTemplateResources, {
    Expand: 'Expand',
    Collapse: 'Collapse',
    Alert: 'Default template has already been assigned, do you want to reassign to the current template?'
});

jQuery.extend(QuestionnaireResources, {
Question: 'Question',
Default: 'Default',
Answer: 'Answer',
Mark: 'Mark',
AddAnswer: 'Add answer'
});

jQuery.extend(MeetingResources, {
    Loading: 'Loading...',
    DragToSetTime: 'Click and drag for select time period',
    BookMeetingRoom: 'Book a meeting room "',
    ForSelectedPeriod: '" for the selected period of time?',
    ConfirmAction: 'Confirm action',
    OpenTicketForm: 'Open Ticket form?'
});

jQuery.extend(DocumentResources, {
    Contract: 'Contract'
});

jQuery.extend(ExecutorGroupResources, {
TeamLeader: 'Team leader',
Leader: 'Team leader?',
NoGroupsSelected: 'No group selected.'
});

jQuery.extend(TaskRepeatResources, {
DeleteTasks: 'Remove tickets, created by this rules'
});

jQuery.extend(CategoryResources, {
    NoChilds: 'No categories'
});

jQuery.extend(TaskTypeFieldResources, {
    AddChild: 'Add child',
    DefaultValue: 'Default value',
    Rename: 'Rename',
    Localization: 'Localization',
    Delete: 'Delete'
});

