added advertising

This commit is contained in:
SlimusMinus
2026-09-23 23:38:54 +03:00
parent 3661985a6a
commit 4e20315998
33 changed files with 3351 additions and 18 deletions

View File

@@ -226,6 +226,121 @@
"footPrivacy": "Privacy",
"footSupport": "Support"
},
"admin": {
"uploadAd": "Fullscreen ad",
"fullscreenTitle": "Fullscreen ad",
"title": "Upload ad video",
"advertisingId": "Advertising ID",
"advertisingIdPlaceholder": "e.g. 1",
"selectVideo": "📹 Choose video",
"selectVideoHint": "MP4 / WebM · video file",
"upload": "Upload",
"uploading": "Uploading...",
"success": "Video uploaded, transcoding started",
"uploadError": "Failed to upload the video",
"onlyVideo": "Only video files can be uploaded"
},
"adminPanel": {
"campaignsNav": "Ads (campaigns)",
"pageTitle": "Advertising campaigns",
"persistHint": "Campaigns and creatives are stored on the server",
"campaignsLoading": "Loading campaigns...",
"campaignsLoadError": "Failed to load campaigns",
"createCampaign": "Create campaign",
"campaignCreated": "Campaign created",
"addAd": "Add creative",
"adCreated": "Creative added",
"videoUploaded": "Video uploaded, transcoding started",
"statusUpdated": "Campaign status updated",
"noCampaigns": "No campaigns yet",
"noCampaignsSub": "Create your first campaign — once moved to ACTIVE, its creatives start appearing in the feed.",
"dates": "Dates",
"dailyCap": "Daily impression cap",
"changeStatus": "Change status",
"ads": "Creatives",
"noAds": "No creatives in this campaign yet",
"showAds": "Show creatives",
"hideAds": "Hide creatives",
"adsLoading": "Loading creatives...",
"adsLoadError": "Failed to load creatives",
"targetUrl": "Target URL",
"weight": "Weight",
"weightHint": "Integer greater than 0",
"processing": "Processing video...",
"processingTimeout": "Processing is taking unusually long, check later",
"ready": "Ready",
"failed": "Processing failed",
"campaignCreateTitle": "New campaign",
"campaignCreateSubmit": "Create campaign",
"campaignEditTitle": "Edit campaign",
"editCampaign": "Edit",
"saveCampaign": "Save",
"campaignUpdated": "Campaign updated",
"campUpdateFailed": "Failed to update campaign",
"campaignName": "Name",
"campaignStart": "Start",
"campaignEnd": "End",
"campaignCap": "Daily impression cap",
"campaignCapHint": "Integer greater than 0",
"campDateCapError": "Check dates and impression cap",
"campCreateFailed": "Failed to create campaign",
"adCreateTitle": "New creative",
"adCreateSubmit": "Add creative",
"adEditTitle": "Edit creative",
"adEditSubmit": "Save",
"adEditInvalid": "Check the URL and weight",
"adEditFailed": "Failed to update creative",
"adUpdated": "Creative updated",
"editAdvertising": "Edit",
"saving": "Saving...",
"savingAd": "Uploading...",
"adType": "Type",
"adImage": "Upload image",
"adImageHint": "JPEG / PNG / WebP · up to {{maxSize}} MB",
"adImageUploading": "Uploading image...",
"adImageRemove": "Remove image",
"adVideo": "Choose video",
"adVideoHint": "MP4 / MOV / WebM · video file",
"videoRequired": "Select a video file",
"adCreateFailed": "Check the creative data",
"adServerError": "Failed to create creative, try again",
"uploadFailed": "Failed to upload file to storage, try again",
"adStatusTitle": "Change campaign status",
"currentStatus": "Current status",
"newStatus": "New status",
"statusTransitionError": "Such a status transition is not allowed",
"statusChangeFailed": "Failed to change campaign status",
"noTransitions": "Campaign is finished — status cannot be changed.",
"apply": "Apply",
"nameTooLong": "Maximum 255 characters",
"endAfterStart": "End date must be strictly later than start date",
"capInvalid": "Enter an integer greater than 0",
"urlInvalid": "Enter a valid URL",
"weightInvalid": "Enter an integer greater than 0",
"mediaKeyRequired": "Upload an image",
"fieldRequired": "Required",
"fullscreenCreate": "Create video",
"fullscreenCreateSubmit": "Create video",
"fullscreenUrlOptional": "optional",
"fullscreenUrlHint": "Opens in a new tab when the video is clicked. Can be left empty.",
"fullscreenLoadError": "Failed to load fullscreen videos",
"fullscreenEmpty": "No fullscreen videos yet",
"fullscreenHint": "Shown once per session after 60 seconds of active feed scrolling in total.",
"fullscreenActivateHint": "Activating a new video automatically makes the previous active one inactive.",
"fullscreenCreated": "Video created",
"fullscreenUploadVideo": "Upload video",
"fullscreenMakeActive": "Make active",
"fullscreenDeactivate": "Deactivate",
"fullscreenActivated": "Video activated",
"fullscreenDeactivated": "Video deactivated",
"fullscreenActionFailed": "Failed to change video status",
"fullscreenActivateInvalid": "A video with this status cannot be activated",
"fullscreenStatusDraft": "Draft",
"fullscreenStatusActive": "Active",
"fullscreenStatusInactive": "Inactive",
"fullscreenNoUrl": "No target URL",
"fullscreenCanActivate": "Ready to activate"
},
"landing": {
"eyebrow": "Service for finding lost pets and items",
"heroTitle": "We believe that everything lost can be found.",
@@ -379,6 +494,12 @@
"common": {
"close": "Close"
},
"fullscreenAd": {
"label": "Ad",
"closeIn": "Close in {{seconds}}s",
"mute": "Mute sound",
"unmute": "Unmute sound"
},
"viewer": {
"goToImage": "Go to image {{number}}"
},