Plugin Directory


Ignore:
Timestamp:
09/13/2026 12:06:51 PM (6 weeks ago)
Author:
thesiim
Message:

Version 1.77.0 release

File:
1 edited

Legend:

Unmodified
Added
Removed
  • seatreg/trunk/php/seatreg_strings.php

    r3674169 r3693621  
    1010        $translations->emailNotCorrect = esc_html__('Email address is not correct', 'seatreg');
    1111        $translations->somethingWentWrong = esc_html__('Something went wrong. Please try again', 'seatreg');
    12         $translations->selectionIsEmpty = esc_html__('Seat selection is empty', 'seatreg');
    13     $translations->selectionIsEmptyPlace = esc_html__('Place selection is empty', 'seatreg');
    14     $translations->youCanAdd_ = esc_html__('You can add ', 'seatreg');
    15     $translations->_toCartClickTab = esc_html__(' to selection by selecting boxes', 'seatreg');
    16         $translations->toCartClickTab = esc_html__(' to selection by clicking/tabbing them', 'seatreg');
     12        /* translators: %s: the word the admin uses for a seat, capitalized */
     13        $translations->selectionIsEmpty = esc_html__('%s selection is empty', 'seatreg');
     14        /* translators: %s: the word the admin uses for seats, plural */
     15        $translations->youCanAddToSelection = esc_html__('You can add %s to selection by selecting boxes', 'seatreg');
    1716        $translations->regClosedAtMoment = esc_html__('Registration is closed at the moment', 'seatreg');
    1817        $translations->confWillBeSentTo = esc_html__('Confirmation will be sent to:', 'seatreg');
    1918        $translations->confWillBeSentTogmail = esc_html__('Confirmation will be sent to (Gmail):', 'seatreg');
    2019        $translations->gmailReq = esc_html__('Email (Gmail required)', 'seatreg');
    21         $translations->_fromRoom_ = esc_html__(' from room ', 'seatreg');
    22         $translations->_toSelection = esc_html__(' to booking?', 'seatreg');
    23         $translations->_isOccupied = esc_html__(' is occupied', 'seatreg');
    24         $translations->_isPendingState = esc_html__(' is in pending state', 'seatreg');
     20        /* translators: %1$s: the word the admin uses for a seat, %2$s: the seat number, %3$s: the word the admin uses for a room, %4$s: the room name */
     21        $translations->addSpotFromRoomToBooking = esc_html__('Add %1$s %2$s from %3$s %4$s to booking?', 'seatreg');
     22        /* translators: %1$s: the word the admin uses for a seat, %2$s: the seat number, %3$s: the word the admin uses for a room, %4$s: the room name */
     23        $translations->spotFromRoom = esc_html__('%1$s %2$s from %3$s %4$s', 'seatreg');
     24        /* translators: %s: the word the admin uses for a seat */
     25        $translations->spotIsOccupied = esc_html__('This %s is occupied', 'seatreg');
     26        /* translators: %s: the word the admin uses for a seat */
     27        $translations->spotIsPendingState = esc_html__('This %s is in pending state', 'seatreg');
    2528        $translations->regOwnerNotConfirmed = esc_html__('(registration admin has not confirmed it)', 'seatreg');
    2629        $translations->selectionIsFull = esc_html__('Booking is full', 'seatreg');
    27     $translations->_isAlreadySelected = esc_html__(' is already selected!', 'seatreg');
     30        /* translators: %1$s: the word the admin uses for a seat, capitalized, %2$s: the seat number */
     31    $translations->spotAlreadySelected = esc_html__('%1$s %2$s is already selected!', 'seatreg');
    2832        $translations->_regUnderConstruction = esc_html__('Under construction', 'seatreg');
    2933        $translations->emptyField = esc_html__('Empty field', 'seatreg');
    3034        $translations->remove = esc_html__('Remove', 'seatreg');
    31         $translations->add_ = esc_html__('Add ', 'seatreg');
    3235        $translations->addToBooking = esc_html__('Add to Booking', 'seatreg');
    33         $translations->openSeatsInRoom_ = esc_html__('Open seats in the room: ', 'seatreg');
    34     $translations->openPlacesInRoom_ = esc_html__('Open places in the room: ', 'seatreg');
    35         $translations->pendingSeatInRoom_ = esc_html__('Pending bookings in the room: ', 'seatreg');
    36         $translations->confirmedSeatInRoom_ = esc_html__('Approved bookings in the room: ', 'seatreg');
    37         $translations->seat = esc_html__('seat', 'seatreg');
    38     $translations->place = esc_html__('place', 'seatreg');
     36        /* translators: %1$s: the word the admin uses for seats, plural, %2$s: the word the admin uses for a room, %3$s: number of open seats */
     37        $translations->openSpotsInRoom = esc_html__('Open %1$s in the %2$s: %3$s', 'seatreg');
     38        /* translators: %1$s: the word the admin uses for a room, %2$s: number of pending bookings */
     39        $translations->pendingBookingsInRoom = esc_html__('Pending bookings in the %1$s: %2$s', 'seatreg');
     40        /* translators: %1$s: the word the admin uses for a room, %2$s: number of approved bookings */
     41        $translations->approvedBookingsInRoom = esc_html__('Approved bookings in the %1$s: %2$s', 'seatreg');
    3942        $translations->firstName = esc_html__('Firstname', 'seatreg');
    4043        $translations->lastName = esc_html__('Lastname', 'seatreg');
    4144        $translations->eMail = esc_html__('Email', 'seatreg');
    42         $translations->this_ = esc_html__('This ', 'seatreg');
    43     $translations->_selected = esc_html__(' selected', 'seatreg');
    44     $translations->_seatSelected = esc_html__(' seat selected', 'seatreg');
    45     $translations->_seatsSelected = esc_html__(' seats selected', 'seatreg');
    46     $translations->_placeSelected = esc_html__(' place selected', 'seatreg');
    47     $translations->_placesSelected = esc_html__(' places selected', 'seatreg');
     45        /* translators: %1$s: number of selected seats, %2$s: the word the admin uses for a seat, singular or plural to match the number */
     46    $translations->spotsSelected = esc_html__('%1$s %2$s selected', 'seatreg');
    4847    $translations->bookingsConfirmed = esc_html__('Your booking is approved', 'seatreg');
    4948    $translations->bookingsConfirmedPending = esc_html__('Your booking is now in pending state. Registration admin needs to approve it', 'seatreg');
    50     $translations->selectingGuide = esc_html__('Select a seat you want to add to booking', 'seatreg');
    51     $translations->selectingGuidePlace = esc_html__('Select a place you want to add to booking', 'seatreg');
     49    /* translators: %s: the word the admin uses for a seat */
     50    $translations->selectingGuide = esc_html__('Select a %s you want to add to booking', 'seatreg');
    5251    $translations->Booked = esc_html__('Booked', 'seatreg');
    5352    $translations->Pending = esc_html__('Pending', 'seatreg');
    54     $translations->maxSeatsToAdd = esc_html__('Total seats you can add to booking is ', 'seatreg');
    55     $translations->maxPlacesToAdd = esc_html__('Total places you can add to booking is ', 'seatreg');
    56     $translations->seatCosts_ = esc_html__('Booking this seat costs ', 'seatreg');
    57     $translations->placeCosts_ = esc_html__('Booking this place costs ', 'seatreg');
     53    /* translators: %1$s: the word the admin uses for seats, plural, %2$s: the maximum number */
     54    $translations->maxSpotsToAdd = esc_html__('Total %1$s you can add to booking is %2$s', 'seatreg');
     55    /* translators: %1$s: the word the admin uses for a seat, %2$s: the price */
     56    $translations->spotCosts = esc_html__('Booking this %1$s costs %2$s', 'seatreg');
    5857    $translations->bookingTotalCostIs_ = esc_html__('Booking total cost is ', 'seatreg');
    5958    $translations->receiptSent = esc_html__('Booking receipt has been sent to your email', 'seatreg');
    … …  
    6160    $translations->yes = esc_html__('Yes', 'seatreg');
    6261    $translations->no = esc_html__('No', 'seatreg');
    63     $translations->seatIsLocked = esc_html__('Seat is locked', 'seatreg');
    64     $translations->placeIsLocked = esc_html__('Place is locked', 'seatreg');
     62    /* translators: %s: the word the admin uses for a seat, capitalized */
     63    $translations->spotIsLocked = esc_html__('%s is locked', 'seatreg');
    6564    $translations->pleaseEnterPassword = esc_html__('Please enter password', 'seatreg');
    6665    $translations->passwordNotCorrect = esc_html__('Password is not correct', 'seatreg');
    … …  
    8180function seatreg_generate_admin_strings() {
    8281    $translations = new stdClass();
     82    $translations->overviewConfirmed = esc_html__('Confirmed', 'seatreg');
     83    $translations->overviewPending = esc_html__('Pending', 'seatreg');
     84    $translations->overviewOpen = esc_html__('Open', 'seatreg');
    8385    $translations->hoverDeleteSuccess = esc_html__('Hover text deleted', 'seatreg');
    8486    $translations->hoverTextAdded = esc_html__('Hover text added', 'seatreg');
    … …  
    8688    $translations->legendColorChanged = esc_html__('Legend color changed', 'seatreg');
    8789    $translations->buildingGridUpdated = esc_html__('Building grid updated', 'seatreg');
    88     $translations->roomNameChanged = esc_html__('Room name changed', 'seatreg');
    89     $translations->roomNameSet = esc_html__('New room added', 'seatreg');
    90     $translations->roomNotExist = esc_html__('Room does not exist', 'seatreg');
    91     $translations->seatNotExist = esc_html__('Seat does not exist', 'seatreg');
    92     $translations->seatIdNotExist = esc_html__('Seat id dose not exist', 'seatreg');
    93     $translations->seatAlreadyBookedPending = esc_html__('Seat is already booked/pending', 'seatreg');
     90    /* translators: %s: the word the admin uses for a room, capitalized */
     91    $translations->roomNameChanged = esc_html( _x('%s name changed', 'layout builder confirmation after renaming a room', 'seatreg') );
     92    /* translators: %s: the word the admin uses for a room */
     93    $translations->roomNameSet = esc_html__('New %s added', 'seatreg');
     94    /* translators: %s: the word the admin uses for a room, capitalized */
     95    $translations->roomNotExist = esc_html( _x('%s does not exist', 'booking manager error when the given room name matches nothing', 'seatreg') );
     96    /* translators: %s: the word the admin uses for a seat, capitalized */
     97    $translations->seatIdNotExist = esc_html__('%s id does not exist', 'seatreg');
     98    /* translators: %s: the word the admin uses for a seat, capitalized */
     99    $translations->seatAlreadyBookedPending = esc_html__('%s is already booked/pending', 'seatreg');
    94100    $translations->errorBookingUpdate = esc_html__('Error updating booking', 'seatreg');
    95101    $translations->hoverError = esc_html__('Error while creating hover', 'seatreg');
    … …  
    99105    $translations->legendColorTaken = esc_html__('Legend color is taken. Choose another', 'seatreg');
    100106    $translations->legendAddedTo = esc_html__('Legend added to', 'seatreg');
    101     $translations->oneRoomNeeded = esc_html__('You must have at least one room', 'seatreg');
    102     $translations->alreadyInRoom = esc_html__('Already in this room', 'seatreg');
    103     $translations->allRoomsNeedName = esc_html__('All rooms must have name', 'seatreg');
     107    /* translators: %s: the word the admin uses for a room */
     108    $translations->oneRoomNeeded = esc_html__('You must have at least one %s', 'seatreg');
     109    /* translators: %s: the word the admin uses for a room */
     110    $translations->alreadyInRoom = esc_html__('Already in this %s', 'seatreg');
     111    /* translators: %s: the word the admin uses for rooms, plural */
     112    $translations->allRoomsNeedName = esc_html__('All %s must have name', 'seatreg');
    104113    $translations->illegalCharactersDetec = esc_html__('Illegal characters detected', 'seatreg');
    105114    $translations->illegalCharactersDetecCouponCode = esc_html__('Illegal characters detected in coupon code', 'seatreg');
    … …  
    107116    $translations->illegalCharactersDetecDiscount = esc_html__('Illegal characters detected in discount value', 'seatreg');
    108117    $translations->missingName = esc_html__('Name missing', 'seatreg');
    109     $translations->cantDelRoom_ = esc_html__('You can\'t delete room ', 'seatreg');
    110     $translations->_cantDelRoomBecause = esc_html__(' because it contains pending or confirmed seats. You must remove them with manager first.', 'seatreg');
    111     $translations->roomNameMissing = esc_html__('Room name is missing', 'seatreg');
    112     $translations->roomNameExists = esc_html__('Room name already exists. You must choose another', 'seatreg');
     118    /* translators: %1$s: the word the admin uses for a room, %2$s: the room name */
     119    $translations->cantDeleteRoom = esc_html__('You can\'t delete %1$s %2$s because it contains pending or confirmed seats. You must remove them with manager first.', 'seatreg');
     120    /* translators: %s: the word the admin uses for a room, capitalized */
     121    $translations->roomNameMissing = esc_html( _x('%s name is missing', 'layout builder, empty room name field', 'seatreg') );
     122    /* translators: %s: the word the admin uses for a room, capitalized */
     123    $translations->roomNameExists = esc_html( _x('%s name already exists. You must choose another', 'layout builder, duplicate room name', 'seatreg') );
    113124    $translations->youHaveSelected = esc_html__('You have selected', 'seatreg');
    114125    $translations->_boxesSpanLi = esc_html__(' box/boxes</span></li>', 'seatreg');
    … …  
    123134    $translations->_noSelectBoxToAddLegend = esc_html__(' You have not selected any box/boxes to add legends', 'seatreg');
    124135    $translations->_charRemaining = esc_html__(' characters remaining', 'seatreg');
    125     $translations->deleteRoom_ = esc_html__('Are you sure you want to delete room ', 'seatreg');
     136    /* translators: %1$s: the word the admin uses for a room, %2$s: the room name */
     137    $translations->deleteRoomConfirm = esc_html__('Are you sure you want to delete %1$s %2$s?', 'seatreg');
    126138    $translations->unsavedChanges = esc_html__('Unsaved changes. You sure you want to leave?', 'seatreg');
    127139    $translations->createLegend = esc_html__('Create new legend', 'seatreg');
    … …  
    135147    $translations->box = esc_html__('box', 'seatreg');
    136148    $translations->noBoxesSelected = esc_html__('No boxes selected', 'seatreg');
    137     $translations->pendingSeat = esc_html__('Pending seat', 'seatreg');
    138     $translations->pendingPlace = esc_html__('Pending place', 'seatreg');
    139     $translations->confirmedSeat = esc_html__('Approved seat', 'seatreg');
    140     $translations->confirmedPlace= esc_html__('Approved place', 'seatreg');
     149    /* translators: %s: the word the admin uses for a seat */
     150    $translations->pendingSeat = esc_html__('Pending %s', 'seatreg');
     151    /* translators: %s: the word the admin uses for a seat */
     152    $translations->confirmedSeat = esc_html__('Approved %s', 'seatreg');
    141153    $translations->save = esc_html__('Save', 'seatreg');
    142154    $translations->saving = esc_html__('Saving...', 'seatreg');
    143155    $translations->saved = esc_html__('Saved', 'seatreg');
    144     $translations->room = esc_html__('room', 'seatreg');
    145156    $translations->bookingUpdated = esc_html__('Booking updated', 'seatreg');
    146157    $translations->notSet = esc_html__('Not set', 'seatreg');
    … …  
    152163    $translations->pleaseAddAtLeastOneOption = esc_html__('Please add at least one option', 'seatreg');
    153164    $translations->nameAlreadyUsed = esc_html__('Name already used', 'seatreg');
    154     $translations->noBgImageInRoom = esc_html__('Current room does not have background image', 'seatreg');
    155     $translations->removeFromRoom = esc_html__('Remove from room', 'seatreg');
     165    /* translators: %s: the word the admin uses for a room */
     166    $translations->noBgImageInRoom = esc_html__('Current %s does not have background image', 'seatreg');
     167    /* translators: %s: the word the admin uses for a room */
     168    $translations->removeFromRoom = esc_html( _x('Remove from %s', 'layout builder, remove the background image from the room', 'seatreg') );
    156169    $translations->choosePictureToUpload = esc_html__('Choose a picture to upload', 'seatreg');
    157170    $translations->imageNameIllegalChar = esc_html__('Image name contains illegal characters', 'seatreg');
    158     $translations->addToRoomBackground = esc_html__('Add to room background', 'seatreg');
     171    /* translators: %s: the word the admin uses for a room */
     172    $translations->addToRoomBackground = esc_html__('Add to %s background', 'seatreg');
    159173    $translations->remove = esc_html__('Remove', 'seatreg');
    160174    $translations->showPendingBookings = esc_html__('Show pending bookings', 'seatreg');
    … …  
    175189    $translations->pleaseProvideStripeApiSecretKey = esc_html__('Please provide Stripe API secret key', 'seatreg');
    176190    $translations->pricesAdded = esc_html__('Prices added', 'seatreg');
    177     $translations->noSeatsSelected = esc_html__('No seats/places selected!', 'seatreg');
     191    /* translators: %s: the word the admin uses for seats, plural */
     192    $translations->noSeatsSelected = esc_html__('No %s selected!', 'seatreg');
    178193    $translations->emailNotCorrect = esc_html__('Email address is not correct', 'seatreg');
    179194    $translations->emailFromNotCorrect = esc_html__('Email FROM address is not correct', 'seatreg');
    … …  
    188203    $translations->bookingPermanentlyDeleted = esc_html__('Booking permanently deleted', 'seatreg');
    189204    $translations->newBookingWasAddedRefreshingThaPage = esc_html__('Booking was added. Page will refresh in a second', 'seatreg');
    190     $translations->duplicateSeatDetected = esc_html__('Duplicate seat detected!', 'seatreg');
     205    /* translators: %s: the word the admin uses for a seat */
     206    $translations->duplicateSeatDetected = esc_html__('Duplicate %s detected!', 'seatreg');
    191207    $translations->emailTemplateNotCorrect = esc_html__('Email template is missing required keywords', 'seatreg');
    192208    $translations->approvedBookingEmailTemplateIllegalCharacter = esc_html__('The approved booking email template contains disallowed characters.', 'seatreg');
    193209    $translations->pendingBookingEmailTemplateIllegalCharacter = esc_html__('The pending booking email template contains disallowed characters.', 'seatreg');
    194210    $translations->emailVerificationEmailTemplateIllegalCharacter = esc_html__('The email verification template contains disallowed characters.', 'seatreg');
    195     $translations->lockSeat = esc_html__('Lock seat', 'seatreg');
     211    /* translators: %s: the word the admin uses for a seat */
     212    $translations->lockSeat = esc_html__('Lock %s', 'seatreg');
    196213    $translations->setPassword = esc_html__('Set password', 'seatreg');
    197214    $translations->changesApplied = esc_html__('Changes applied', 'seatreg');
    … …  
    227244    $translations->bookingMainEmail = esc_html__('Booking main email', 'seatreg');
    228245    $translations->editEmailNotValid = esc_html__('Provided email address is not valid', 'seatreg');
    229     $translations->multiBookingMailEmailEditDesc = esc_html__('Primary contact email if more than one seat is booked', 'seatreg');
    230     $translations->roomDescriptionSet = esc_html__('Room description changed', 'seatreg');
     246    /* translators: %s: the word the admin uses for a seat */
     247    $translations->multiBookingMailEmailEditDesc = esc_html__('Primary contact email if more than one %s is booked', 'seatreg');
     248    /* translators: %s: the word the admin uses for a room, capitalized */
     249    $translations->roomDescriptionSet = esc_html( _x('%s description changed', 'layout builder confirmation after editing a room description', 'seatreg') );
    231250    $translations->primaryEmailValidationFailed = esc_html__('Booking primary email validation failed', 'seatreg');
    232251    $translations->pleaseEnterBookingPrimaryEmail = esc_html__('Please enter booking primary email', 'seatreg');
    … …  
    241260    $translations->flowGroupAfter = esc_html__('After submitting', 'seatreg');
    242261    $translations->flowJumpToSetting = esc_html__('Go to this setting', 'seatreg');
     262    //The summary previews the form as it is typed, so it needs the words the seats checkbox would pick
    243263    $translations->flowSeatSingular = esc_html__('seat', 'seatreg');
    244264    $translations->flowSeatPlural = esc_html__('seats', 'seatreg');
    … …  
    250270    $translations->flowPassword = esc_html__('Visitors must enter the access password to view it.', 'seatreg');
    251271    $translations->flowRequireLogin = esc_html__('Only visitors logged in to your site can book.', 'seatreg');
    252     /* translators: %1$d: number of bookings, %2$s: seats or places */
     272    /* translators: %1$d: number of bookings, %2$s: the word the admin uses for seats, plural */
    253273    $translations->flowWpBookingLimit = esc_html__('Each logged-in user can make at most %1$d separate bookings (a single booking can include several %2$s).', 'seatreg');
    254     /* translators: %1$d: number of seats, %2$s: seats or places */
     274    /* translators: %1$d: number of seats, %2$s: the word the admin uses for seats, plural */
    255275    $translations->flowWpSeatLimit = esc_html__('Across all their bookings, each logged-in user can book at most %1$d %2$s.', 'seatreg');
    256276    $translations->flowDateWindowBoth = esc_html__('Bookings can only be made within the registration\'s scheduled start and end dates.', 'seatreg');
    … …  
    265285    $translations->calendarNoDatesSelected = esc_html__('No dates selected yet', 'seatreg');
    266286    $translations->calendarRemoveDate = esc_html__('Remove date', 'seatreg');
    267     /* translators: %s: seats or places */
     287    /* translators: %s: the word the admin uses for seats, plural */
    268288    $translations->flowSelect = esc_html__('Visitors select %s on the map.', 'seatreg');
    269     /* translators: %1$s: seats or places, %2$d: maximum number per booking */
     289    /* translators: %1$s: the word the admin uses for seats, plural, %2$d: maximum number per booking */
    270290    $translations->flowSelectMax = esc_html__('Visitors select %1$s on the map, up to %2$d per booking.', 'seatreg');
    271     /* translators: %1$s: seats or places, %2$s: comma-separated list of shown details */
     291    /* translators: %1$s: the word the admin uses for seats, plural, %2$s: comma-separated list of shown details */
    272292    $translations->flowShowBookingData = esc_html__('Already-booked %1$s publicly display the booking details you have chosen to show (%2$s).', 'seatreg');
    273293    $translations->flowShowBookingDataFullName = esc_html__('full name', 'seatreg');
    274     /* translators: %s: seat or place */
     294    /* translators: %s: the word the admin uses for a seat */
    275295    $translations->flowAutoDialog = esc_html__('The booking form opens automatically as soon as a %s is selected.', 'seatreg');
    276     /* translators: %s: seats or places */
     296    /* translators: %s: the word the admin uses for seats, plural */
    277297    $translations->flowManualDialog = esc_html__('After choosing %s, visitors open the selection menu to complete their booking.', 'seatreg');
    278     /* translators: %s: seat or place */
     298    /* translators: %s: the word the admin uses for a seat */
    279299    $translations->flowOnePersonCheckout = esc_html__('Booking details are entered once and applied to every %s.', 'seatreg');
    280     /* translators: %s: seat or place */
     300    /* translators: %s: the word the admin uses for a seat */
    281301    $translations->flowPerSeatCheckout = esc_html__('Booking details are entered for each %s.', 'seatreg');
    282302    $translations->flowRequireName = esc_html__('A full name (first and last) is required.', 'seatreg');
    283303    $translations->flowGmailRequired = esc_html__('A Gmail address is required.', 'seatreg');
    284     /* translators: %1$d: maximum number of bookings per email, %2$s: seats or places */
     304    /* translators: %1$d: maximum number of bookings per email, %2$s: the word the admin uses for seats, plural */
    285305    $translations->flowEmailLimit = esc_html__('A booking\'s main contact email can be used for at most %1$d bookings (a single booking can include several %2$s).', 'seatreg');
    286306    $translations->flowCustomFields = esc_html__('Bookers also fill in the custom fields you have created, which are required by default.', 'seatreg');
Note: See TracChangeset for help on using the changeset viewer.