website-htmx-rustelo-code/site/i18n/locales/en/manager/cli.ftl
2026-07-10 03:44:13 +01:00

95 lines
No EOL
4.8 KiB
Text

# Page Manager CLI - English Translations
# All keys MUST have mgr- prefix for shared locales system
# Welcome and headers
mgr-cli-title = Rustelo Page Manager (for now Static Content)
mgr-cli-description = Manage and generate new pages with templates, routes, and translations
mgr-cli-project-root = Project root: {$path}
mgr-cli-available-languages = Available languages: {$languages}
# Prompts
mgr-prompt-page-name = Page name (PascalCase, e.g., 'ContactForm', 'AboutUs'):
mgr-prompt-page-name-help = Use PascalCase naming. This will be your component name.
mgr-prompt-template-select = Select page template:
mgr-prompt-template-help = Choose the template that best fits your page needs
mgr-prompt-languages-select = Select languages:
mgr-prompt-languages-help = Choose which languages to generate translations for
mgr-prompt-route-path = Route path:
mgr-prompt-route-path-help = URL path for this page (must start with '/')
mgr-prompt-auto-scaffold = Auto-scaffold page files?
mgr-prompt-auto-scaffold-help = Generate mod.rs, unified.rs, and FTL translation files
mgr-prompt-custom-priority = Set custom route priority?
mgr-prompt-custom-priority-help = Higher priority routes are matched first (default: 1.0)
mgr-prompt-priority-value = Route priority (0.1 - 10.0):
mgr-prompt-custom-patterns = Customize i18n translation patterns?
mgr-prompt-custom-patterns-help = Advanced: customize the prefixes used for translation keys
mgr-prompt-patterns-value = I18n patterns (comma-separated):
mgr-prompt-patterns-example = Example: page-gen-contact-, contact-form-
mgr-prompt-final-confirm = Generate page with this configuration?
# Configuration summary
mgr-config-summary = 📋 Configuration Summary:
mgr-config-name = Name: {$name}
mgr-config-module = Module: {$module}
mgr-config-template = Template: {$template} ({$description})
mgr-config-languages = Languages: {$languages}
mgr-config-route = Route: {$route}
mgr-config-auto-scaffold = Auto-scaffold: {$enabled}
# Labels
mgr-label-name = Name
mgr-label-module = Module
mgr-label-template = Template
mgr-label-languages = Languages
mgr-label-route = Route
mgr-label-auto-scaffold = Auto-scaffold
# Text values
mgr-text-yes = Yes
mgr-text-no = No
# Status messages
mgr-status-generating = 🏗️ Generating page...
mgr-status-cancelled = 🚫 Generation cancelled.
mgr-status-completed = ✨ Page generation completed successfully!
# Next steps
mgr-next-steps = 💡 Next steps:
mgr-next-steps-with-scaffold = 💡 Next steps:\n 1. Run 'cargo build' to compile the new page\n 2. Check the generated FTL files and customize translations\n 3. Implement your page logic in the unified.rs file\n 4. Test your page at {$route}
mgr-next-steps-without-scaffold = 💡 Next steps:\n 1. Run 'cargo build' to update route generation\n 2. Implement the page component manually\n 3. Add the component export to pages/src/lib.rs
# Warnings
mgr-warning-page-exists = Page module '{$module}' already exists.
mgr-warning-overwrite-confirm = Overwrite existing page?
mgr-warning-cannot-proceed = Cannot proceed with existing page. Choose a different name or allow overwriting.
# Error messages
mgr-error-project-root = Could not find project root. Run this command from within a Rustelo project.
mgr-error-generator-init = Failed to initialize page generator
mgr-error-page-name = Failed to get page name
mgr-error-template-selection = Failed to get template selection
mgr-error-language-selection = Failed to get language selection
mgr-error-route-path = Failed to get route path
mgr-error-auto-scaffold = Failed to get auto-scaffold preference
mgr-error-priority = Failed to get priority preference
mgr-error-priority-value = Failed to get route priority
mgr-error-patterns = Failed to get i18n patterns preference
mgr-error-patterns-value = Failed to get i18n patterns
mgr-error-confirmation = Failed to get confirmation
mgr-error-generation = Page generation failed
mgr-error-at-least-one-language = At least one language must be selected
# Validation errors
mgr-validation-name-empty = Page name cannot be empty
mgr-validation-name-case = Page name must start with an uppercase letter (PascalCase)
mgr-validation-name-chars = Page name must contain only ASCII letters and numbers
mgr-validation-name-length = Page name too long (max 50 characters)
mgr-validation-name-reserved = '{$name}' is a reserved name, please choose another
mgr-validation-path-empty = Route path cannot be empty
mgr-validation-path-start = Route path must start with '/'
mgr-validation-path-end = Route path cannot end with '/' (except root)
mgr-validation-path-consecutive = Route path cannot contain consecutive slashes
mgr-validation-path-chars = Route path must contain only ASCII characters and no spaces
mgr-validation-path-reserved = '{$path}' conflicts with reserved paths
mgr-validation-priority-range = Priority must be between 0.1 and 10.0
mgr-validation-priority-number = Priority must be a valid number