Skip to content
Open
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
50 changes: 49 additions & 1 deletion public/assets/locale/en-AU.json
Original file line number Diff line number Diff line change
Expand Up @@ -1184,7 +1184,55 @@
"BUILD_LIST_REMOVE_MSG": "Are you sure you wish to cancel the build job for {{ driver }} from {{ repo }}?",
"BUILD_LIST_REMOVE_LOADING": "Cancelling build job...",
"BUILD_LIST_REMOVE_ERROR": "Failed to cancel build job. Error: {{ error }}",
"BUILD_LIST_REMOVE_SUCCESS": "Successfully cancelled build job."
"BUILD_LIST_REMOVE_SUCCESS": "Successfully cancelled build job.",
"AI_PROVIDERS_EMPTY": "No AI provider is configured. Signage image generation stays hidden until one is added.",
"AI_PROVIDERS_HEADER": "Signage AI providers",
"AI_PROVIDERS_LOAD_FAILED": "The AI providers could not be loaded.",
"AI_PROVIDERS_LOADING": "Loading providers...",
"AI_PROVIDERS_SCOPE": "Providers and usage for this domain. A provider belonging to another domain is not shown here.",
"AI_PROVIDER_ADD": "Add provider",
"AI_PROVIDER_API_KEY": "API key",
"AI_PROVIDER_API_VERSION": "API version",
"AI_PROVIDER_CLIENT_EMAIL": "Service account email",
"AI_PROVIDER_CREDENTIALS_REQUIRED": "Credentials are needed to add a provider",
"AI_PROVIDER_DEPLOYMENT": "Deployment",
"AI_PROVIDER_DOMAIN_QUOTA": "Images per domain per month",
"AI_PROVIDER_EDIT": "Edit AI provider",
"AI_PROVIDER_ENABLED": "Enabled",
"AI_PROVIDER_ENDPOINT": "Endpoint (optional)",
"AI_PROVIDER_IS_DEFAULT": "Default",
"AI_PROVIDER_LOCATION": "Region (Google Vertex only)",
"AI_PROVIDER_LOCATION_REQUIRED": "A region is required for Google Vertex",
"AI_PROVIDER_MODEL": "Default model",
"AI_PROVIDER_NAME": "Name",
"AI_PROVIDER_NAME_REQUIRED": "A name is required",
"AI_PROVIDER_NEW": "New AI provider",
"AI_PROVIDER_PRIVATE_KEY": "Service account private key",
"AI_PROVIDER_PROJECT": "Google project id",
"AI_PROVIDER_REMOVE": "Remove provider",
"AI_PROVIDER_REMOVE_FAILED": "That provider could not be removed",
"AI_PROVIDER_REMOVE_MSG": "Remove {{ name }}? Artwork already generated is kept, but no new images can be made until another provider is configured.",
"AI_PROVIDER_REMOVE_TITLE": "Remove AI provider",
"AI_PROVIDER_REMOVING": "Removing provider...",
"AI_PROVIDER_SAVE_ERROR": "The provider could not be saved",
"AI_PROVIDER_SAVE_SUCCESS": "Provider saved",
"AI_PROVIDER_SAVING": "Saving provider...",
"AI_PROVIDER_TEST": "Test credentials",
"AI_PROVIDER_TESTING": "Asking the vendor for a test image...",
"AI_PROVIDER_TEST_FAILED": "The vendor did not answer",
"AI_PROVIDER_TEST_MSG": "This asks {{ name }} for one small image, which the vendor bills for. The image is discarded.",
"AI_PROVIDER_TEST_OK": "Working, answered in {{ ms }} ms",
"AI_PROVIDER_TEST_TITLE": "Test this provider?",
"AI_PROVIDER_USER_QUOTA": "Images per person per day",
"AI_PROVIDER_VENDOR": "Vendor",
"AI_USAGE_ASKED": "Images asked for",
"AI_USAGE_EMPTY": "Nothing generated yet.",
"AI_USAGE_HEADER": "Usage, last 30 days",
"AI_USAGE_HINT": "What this domain has asked for, per vendor and model.",
"AI_USAGE_JOBS": "Requests",
"AI_USAGE_LOAD_FAILED": "AI usage could not be loaded.",
"AI_USAGE_MADE": "Images made",
"TAB_SIGNAGE_AI": "Signage AI"
},
"CASCADE": {
"RESOLVING": "Working out what would be removed...",
Expand Down
5 changes: 5 additions & 0 deletions src/app/admin/admin.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,11 @@ export class PlaceComponent extends AsyncHandler implements OnInit {
name: i18n('ADMIN.TAB_UPLOADS_LIBRARY'),
icon: { value: 'photo_album' },
},
{
id: 'signage-ai',
name: i18n('ADMIN.TAB_SIGNAGE_AI'),
icon: { value: 'auto_awesome' },
},
{
id: 'signage-plugins',
name: i18n('ADMIN.TAB_SIGNAGE_PLUGINS'),
Expand Down
7 changes: 7 additions & 0 deletions src/app/admin/admin.routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,13 @@ export const ROUTES: Routes = [
(m) => m.StorageComponent,
),
},
{
path: 'signage-ai',
loadComponent: () =>
import('./signage-ai/signage-ai.component').then(
(m) => m.SignageAIComponent,
),
},
{
path: 'upload-library',
loadComponent: () =>
Expand Down
Loading
Loading