[WIP] Use the correct version of qsgen2
This commit is contained in:
@ -1,117 +1,217 @@
|
||||
qsgenlang=(
|
||||
_qsgen2_msg_2 "- Forced Update: Generating Everything"
|
||||
_qsgen2_msg_3 "* %SCRIPT_NAME% cannot parse this site. Exiting. *"
|
||||
_qsgen2_msg_4 "Please install Pandoc."
|
||||
_qsgen2_msg_5 "No valid generator found. Are you sure you've selected the correct generator in 'config'?"
|
||||
_qsgen2_msg_6 "Using the"
|
||||
_qsgen2_msg_6.1 "-engine for files:"
|
||||
_qsgen2_msg_7 "- Created by kekePower - 2018-"
|
||||
_qsgen2_msg_8 "- See"
|
||||
_qsgen2_msg_8.1 "for more information."
|
||||
_qsgen2_msg_9 "Contents of the Config file:"
|
||||
_list_pages_msg_1 "_list_pages: No Pages found with extension"
|
||||
_list_pages_msg_2 "_list_pages: Adding file to array:"
|
||||
_list_blogs_msg_1 "_list_blogs: No blog files found."
|
||||
_list_blogs_msg_2 "_list_blogs: Adding file to array:"
|
||||
_blog_cache_msg_1 "_blog_cache: HASH VALUE:"
|
||||
_blog_cache_msg_2 "1. _blog_cache:"
|
||||
_blog_cache_msg_3 "2. _blog_cache: current_cache:"
|
||||
_blog_cache_msg_4 "3. _blog_cache: new_cache_file:"
|
||||
_blog_cache_msg_5 "4. _blog_cache: new_current_cache:"
|
||||
_pages_cache_msg_1 "PAGES HASH VALUE:"
|
||||
_pages_cache_msg_2 "1. pages_cache:"
|
||||
_pages_cache_msg_3 "1. _pages_cache: current_cache:"
|
||||
_pages_cache_msg_4 "2. _pages_cache: pages_file:"
|
||||
_pages_cache_msg_5 "2. _pages_cache: current_cache:"
|
||||
_last_updated_msg_1 "_last_updated: Setting date and version in footer"
|
||||
_last_updated_msg_1 "_last_updated:"
|
||||
_f_last_updated_msg_1 "_f_last_updated: Setting date and version in footer of file"
|
||||
_f_last_updated_msg_2 "_f_last_updated:"
|
||||
_f_last_updated_msg_3 "_f_last_updated: File"
|
||||
_f_last_updated_msg_3.1 "not found."
|
||||
_pages_msg_1 "_pages: Running function _pages_cache"
|
||||
_pages_msg_2 "* You do not have any pages *"
|
||||
_pages_msg_3 "Generating Pages"
|
||||
_pages_msg_4 "_pages: pages_array is not empty"
|
||||
_pages_msg_5 "_pages: Setting Pages template"
|
||||
_pages_msg_6 "Unable to find the Pages template:"
|
||||
_pages_msg_7 "_pages: Reading Pages template into pages_tpl"
|
||||
_pages_msg_9 "_pages: Loading page_content once -"
|
||||
_pages_msg_10 "_pages: Finding page_title"
|
||||
_pages_msg_11 "_pages:"
|
||||
_pages_msg_12 "_pages: Removing #title line from page_content"
|
||||
_pages_msg_13 "_pages: Running engine on"
|
||||
_pages_msg_14 "_pages: Checking for #link, #showimg and #ytvideo in page_content"
|
||||
_pages_msg_15 "_pages: #link is present, run _link: page_content"
|
||||
_pages_msg_16 "_pages: #showimg is present, run _image: page_content"
|
||||
_pages_msg_17 "_pages: #ytvideo is present, run _youtube: page_content"
|
||||
_pages_msg_18 "_pages: Replacing #pagetitle, #tagline and #sitename in pages_tpl"
|
||||
_pages_msg_19 "_pages: Replacing BODY with page_content in pages_tpl"
|
||||
_pages_msg_20 "_pages: _last_updated in pages_tpl"
|
||||
_pages_msg_21 "_pages: Lowercase filenames, always"
|
||||
_pages_msg_22 "_pages: Running _cleanup"
|
||||
_pages_msg_23 "- Parsing"
|
||||
_pages_msg_24 "- blog_in_index ="
|
||||
_pages_msg_25 "- Printing blog temp file:"
|
||||
_pages_msg_26 "Updating index.html with new blog posts"
|
||||
_pages_msg_27 "- Parsing"
|
||||
_pages_msg_28 "- blog_in_index ="
|
||||
_pages_msg_29 "- No new or updated Pages found"
|
||||
_blogs_msg_1 "_blogs: Running function _list_blogs"
|
||||
_blogs_msg_2 "* You do not have any blogs *"
|
||||
_blogs_msg_3 "Generating Blogs"
|
||||
_blogs_msg_4 "_blogs: Running function _blog_cache"
|
||||
_blogs_msg_5 "Unable to find theme template for Blogs."
|
||||
_blogs_msg_6 "_blogs: Processing pre-data for"
|
||||
_blogs_msg_7 "_blogs: Looking for DATE: Found"
|
||||
_blogs_msg_8 "_blogs: Looking for BLOG_TITLE: Found"
|
||||
_blogs_msg_9 "* _blogs: DATE metadata missing in"
|
||||
_blogs_msg_10 "* _blogs: BLOG_TITLE metadata missing in"
|
||||
_blogs_msg_11 "_blogs: Adding data for"
|
||||
_blogs_msg_11.1 "to array to export"
|
||||
_blogs_msg_12 "_blogs: Processing"
|
||||
_blogs_msg_14 "_blogs: Processing substitutes in"
|
||||
_blogs_msg_15 "_blogs: Running function"
|
||||
_blogs_msg_15.1 "for"
|
||||
_blogs_msg_16 "_blogs: Checking for #link, #showimg and #ytvideo in blog_content"
|
||||
_blogs_msg_17 "_blogs: #link is present, run _link: blog_content"
|
||||
_blogs_msg_18 "_blogs: #showimg is present, run _link: blog_content"
|
||||
_blogs_msg_19 "_blogs: #ytvideo is present, run _link: blog_content"
|
||||
_blogs_msg_20 "_blogs: Replacing tagline, sitename and pagetitle"
|
||||
_blogs_msg_21 "_blogs: Creating directory"
|
||||
_blogs_msg_22 "_blogs: Writing blog to disk:"
|
||||
_blogs_msg_23 "_blogs: new_updated_blogs=true"
|
||||
_blogs_msg_24 "- No new or updated Blogs found"
|
||||
_blogs_msg_25 "* _blogs: Running _blog_idx_for_index"
|
||||
_blogs_msg_26 "* _blogs: Running _blog_index"
|
||||
_blog_idx_for_index_msg_1 "- Populating"
|
||||
_blog_idx_for_index_msg_2 "_blog_idx_for_index: Initiating function"
|
||||
_blog_idx_for_index_msg_3 "_blog_idx_for_index: BLOG_META_STR_ARRAY:"
|
||||
_blog_idx_for_index_msg_4 "_blog_idx_for_index: meta_str from BLOG_META_STR_ARRAY from _blogs"
|
||||
_blog_idx_for_index_msg_5 "_blog_idx_for_index:"
|
||||
_blog_idx_for_index_msg_6 "_blog_idx_for_index: Iterate over each component and extract information"
|
||||
_blog_idx_for_index_msg_7 "_blog_idx_for_index: Running"
|
||||
_blog_idx_for_index_msg_7.1 "on content to catch QStags in Ingress"
|
||||
_blog_idx_for_index_msg_8 "_blog_idx_for_index: Writing _blog_idx_for_index to file:"
|
||||
_blog_idx_for_index_msg_9 "_blog_idx_for_index: blog_list_content ="
|
||||
_blog_index_msg_1 "_blog_index: blog_in_index="
|
||||
_blog_index_msg_2 "_blog_index: new_updated_blogs="
|
||||
_blog_index_msg_3 "_blog_index: Running function _blog_index"
|
||||
_blog_index_msg_4 "_blog_index: blog_in_index ="
|
||||
_blog_index_msg_5 "- Generating Page:"
|
||||
_blog_index_msg_6 "_blog_index: Replacing sitename and tagline"
|
||||
_blog_index_msg_7 "_blog_index: Replacing BODY with content of"
|
||||
_blog_index_msg_8 "_blog_index: Writing"
|
||||
_blog_index_msg_9 "_blog_index: Content length of blog_index_content:"
|
||||
_add_blog_list_to_index_msg_1 "_add_blog_list_to_index: Inserting blog list to index.html"
|
||||
_sitemap_msg_1 "Generating Sitemap"
|
||||
_sitemap_msg_2 "Sitemap generated at"
|
||||
_link_msg_1 "_link: URL_MAIN(line):"
|
||||
_link_msg_2 "_link_ URL:"
|
||||
_link_msg_3 "_link: Text:"
|
||||
_image_msg_1 "_image: Processing line:"
|
||||
_youtube_msg_1 "_youtube: Processing line:"
|
||||
_cleanup_msg_1 "_cleanup: Cleaning up tags in content"
|
||||
_html_msg_1 "_html: Converting QStags in content"
|
||||
_zhtml_msg_1 "_zhtml: Converting QStags in content"
|
||||
)
|
||||
# Quick Site Generator 2 - English Language File
|
||||
# This file contains all user-facing strings for the application
|
||||
|
||||
# Error Messages
|
||||
error.missing_dependencies = "Missing required dependencies: %s"
|
||||
error.config_validation_failed = "Configuration validation failed. Please check your configuration files."
|
||||
error.config_missing_key = "Missing required configuration: %s"
|
||||
error.invalid_url = "site_url must start with http:// or https://"
|
||||
error.directory_not_found = "Directory does not exist: %s"
|
||||
error.theme_not_found = "Theme directory not found: %s"
|
||||
error.theme_config_not_found = "Theme configuration not found: %s"
|
||||
error.theme_config_creation_failed = "Failed to create theme configuration: %s"
|
||||
error.config_parse = "Failed to parse config file: %s"
|
||||
error.invalid_path = "Invalid path: %s"
|
||||
error.write_failed = "Failed to write to temporary file: %s"
|
||||
error.move_failed = "Failed to move temporary file to: %s"
|
||||
error.config_load_failed = "Failed to load configuration file: %s"
|
||||
error.config_not_found = "No valid configuration file found."
|
||||
error.create_blog_index_failed = "Failed to create blog index at: %s"
|
||||
error.create_sample_post_failed = "Failed to create sample blog post at: %s"
|
||||
error.create_sample_page_failed = "Failed to create sample page at: %s"
|
||||
error.engine_not_found = "Engine not found or not executable: %s"
|
||||
error.unknown_generator = "Unknown generator: %s"
|
||||
error.unknown_option = "Unknown option: %s"
|
||||
error.directory_not_empty = "Directory '%s' already exists and is not empty."
|
||||
error.theme_creation_failed = "Failed to create theme: %s"
|
||||
error.config_creation_failed = "Failed to create configuration file: %s"
|
||||
error.directory_creation_failed = "Failed to create directory: %s"
|
||||
error.file_creation_failed = "Failed to create file: %s"
|
||||
error.layout_creation_failed = "Failed to create layout file: %s"
|
||||
error.stylesheet_creation_failed = "Failed to create stylesheet: %s"
|
||||
error.script_creation_failed = "Failed to create script file: %s"
|
||||
|
||||
# Warning Messages
|
||||
warning.optional_dependency = "Optional tool '%s' is required for %s but not found"
|
||||
warning.dependency_version = "%s version %s is below the recommended version %s"
|
||||
warning.legacy_config = "Using legacy config file. Consider renaming '%s' to 'site.conf'"
|
||||
warning.git_repo = "Warning: Running in a git repository directory. Make sure this is intended."
|
||||
warning.outdated_dependencies = "Some dependencies are outdated:"
|
||||
|
||||
# Info Messages
|
||||
info.legacy_config = "Warning: Using legacy '%s' file. Consider renaming to 'site.conf'"
|
||||
info.legacy_config_used = "Using legacy config file. Consider renaming 'config' to 'site.conf'"
|
||||
info.config_help = "Please create 'site.conf' in your project directory."
|
||||
info.config_template = "You can use 'config.example' as a template."
|
||||
info.git_repo_help = "If you want to generate the site, run from the project root directory."
|
||||
info.usage = "Usage: %s <command> [options]"
|
||||
info.engine_usage = "Usage: _run_engine <input>"
|
||||
info.creating_blog_index = "Creating blog index file..."
|
||||
info.creating_sample_post = "Creating sample blog post..."
|
||||
info.creating_sample_page = "Creating sample page..."
|
||||
info.setting_up_project = "Setting up project structure..."
|
||||
info.creating_directories = "Creating project directories..."
|
||||
info.initializing_blog = "Initializing blog..."
|
||||
info.initializing_pages = "Initializing pages..."
|
||||
info.initializing_theme = "Initializing theme..."
|
||||
info.initializing_config = "Initializing configuration..."
|
||||
info.initializing_complete = "Initialization complete!"
|
||||
info.initializing_aborted = "Initialization aborted."
|
||||
info.use_force_option = "Use --force to overwrite the existing directory."
|
||||
info.get_started_instructions = "To get started"
|
||||
info.happy_coding = "Happy coding!"
|
||||
info.initializing_project = "Initializing project..."
|
||||
info.initializing_blog_cache = "Initializing blog cache..."
|
||||
info.initializing_pages_cache = "Initializing pages cache..."
|
||||
|
||||
# Debug Messages
|
||||
debug.loading_config = "Loading config file: %s"
|
||||
debug.loaded_config = "=== Loaded Configuration ==="
|
||||
debug.config_value = "%s: %s"
|
||||
debug.config_end = "==========================="
|
||||
debug.raw_config = "=== Raw Config File ==="
|
||||
debug.raw_config_end = "======================"
|
||||
debug.blog_cache_update = "Updating blog cache at %s"
|
||||
debug.blog_cache_bytes = "Blog cache updated with %d bytes"
|
||||
debug.blog_cache_loading = "Loading blog index from cache"
|
||||
debug.blog_cache_stale_new = "Blog cache stale: New or updated blogs detected"
|
||||
debug.blog_cache_stale_missing = "Blog cache stale: Cache file does not exist"
|
||||
debug.blog_cache_stale_old = "Blog cache stale: Cache is older than 1 hour"
|
||||
debug.blog_cache_fresh = "Blog cache is fresh"
|
||||
debug.pages_cache_update = "Updating pages cache at %s"
|
||||
debug.pages_cache_bytes = "Pages cache updated with %d bytes"
|
||||
debug.pages_cache_loading = "Loading pages index from cache"
|
||||
debug.pages_cache_stale_new = "Pages cache stale: New or updated pages detected"
|
||||
debug.pages_cache_stale_missing = "Pages cache stale: Cache file does not exist"
|
||||
debug.pages_cache_stale_old = "Pages cache stale: Cache is older than 1 hour"
|
||||
debug.pages_cache_fresh = "Pages cache is fresh"
|
||||
|
||||
# Blog Messages
|
||||
blog.not_found = "No blog files found."
|
||||
blog.generating = "Generating blog"
|
||||
blog.no_template = "Unable to find the blog template: %s"
|
||||
blog.cache_updated = "Blog cache updated"
|
||||
blog.cache_loading = "Loading blog cache"
|
||||
blog.cache_stale = "Blog cache is stale, rebuilding..."
|
||||
blog.cache_fresh = "Blog cache is fresh"
|
||||
blog.post_updated = "Updated blog post: %s"
|
||||
blog.post_skipped = "Skipped (no changes): %s"
|
||||
blog.post_error = "Error processing blog post: %s"
|
||||
|
||||
# Blog Generation Messages
|
||||
blog.hello_world_title = "Hello, World!"
|
||||
blog.published_on = "Published on"
|
||||
blog.welcome_message = "Welcome to your new blog! This is a sample blog post."
|
||||
blog.getting_started = "Getting Started"
|
||||
blog.edit_this_post = "You can edit this post at %s"
|
||||
blog.features = "Features"
|
||||
blog.feature_markdown = "Markdown support"
|
||||
blog.feature_easy_customize = "Easy to customize"
|
||||
blog.feature_fast_lightweight = "Fast and lightweight"
|
||||
blog.next_steps = "Next Steps"
|
||||
blog.step_edit_post = "Edit this post"
|
||||
blog.step_add_posts = "Add more posts"
|
||||
blog.step_customize_theme = "Customize your theme"
|
||||
blog.step_publish_site = "Publish your site"
|
||||
blog.happy_blogging = "Happy blogging!"
|
||||
blog.latest_posts = "Latest Posts"
|
||||
blog.sample_post = "Blog Post"
|
||||
blog.categories = "Categories"
|
||||
blog.sample_category = "Category"
|
||||
blog.archives = "Archives"
|
||||
blog.tags = "Tags"
|
||||
blog.about = "About"
|
||||
blog.about_text = "This is a sample blog index page. You can edit it at %s"
|
||||
|
||||
# Page Generation Messages
|
||||
page.about_me_title = "About Me"
|
||||
page.welcome_title = "Welcome to My Site"
|
||||
page.welcome_message = "This is a sample about page. You can edit it at %s"
|
||||
page.my_story_title = "My Story"
|
||||
page.my_story_content = "I'm a passionate developer who loves creating amazing websites with qsgen2!"
|
||||
page.skills_title = "Skills"
|
||||
page.skill_webdev = "Web Development"
|
||||
page.skill_design = "Design"
|
||||
page.skill_opensource = "Open Source"
|
||||
page.contact_title = "Contact"
|
||||
page.contact_content = "You can reach me at: email@example.com"
|
||||
page.about_site_title = "About This Site"
|
||||
page.about_site_content = "This site was built with [qsgen2](https://github.com/kekePower/qsgen2)."
|
||||
|
||||
# Success Messages
|
||||
success.config_loaded = "Configuration loaded successfully"
|
||||
success.build_complete = "Build completed successfully"
|
||||
success.blog_index_created = "Created blog index at: %s"
|
||||
success.sample_post_created = "Created sample blog post at: %s"
|
||||
success.sample_page_created = "Created sample page at: %s"
|
||||
success.project_initialized = "Project initialized successfully!"
|
||||
success.theme_initialized = "Theme initialized successfully!"
|
||||
success.config_initialized = "Configuration file created successfully!"
|
||||
|
||||
# System Messages
|
||||
system.created_by = "- Created by kekePower - 2018-%s"
|
||||
system.see_help = "- See '%s help' for more information."
|
||||
|
||||
# List Messages
|
||||
list.pages_not_found = "_list_pages: No Pages found with ext %s"
|
||||
list.pages_adding = "_list_pages: Adding file to array: %s"
|
||||
list.blogs_not_found = "_list_blogs: No blog files found."
|
||||
list.blogs_adding = "_list_blogs: Adding file to array: %s"
|
||||
|
||||
# Blog Cache Messages
|
||||
blog_cache.hash = "_blog_cache: HASH VALUE:"
|
||||
blog_cache.current = "1. _blog_cache:"
|
||||
blog_cache.cache_file = "2. _blog_cache: current_cache:"
|
||||
blog_cache.new_cache = "3. _blog_cache: new_cache_file:"
|
||||
blog_cache.new_current = "4. _blog_cache: new_current_cache:"
|
||||
|
||||
# Pages Cache Messages
|
||||
page_cache.hash = "PAGES HASH VALUE:"
|
||||
page_cache.current = "1. pages_cache:"
|
||||
page_cache.cache_file = "2. _pages_cache: current_cache:"
|
||||
page_cache.pages_file = "2. _pages_cache: pages_file:"
|
||||
|
||||
# Navigation
|
||||
nav.home = "Home"
|
||||
nav.blog = "Blog"
|
||||
nav.about = "About"
|
||||
|
||||
# Footer
|
||||
footer.all_rights_reserved = "All rights reserved."
|
||||
|
||||
# Configuration
|
||||
config.site_config_title = "Site Configuration"
|
||||
config.theme_config_title = "Theme Configuration"
|
||||
config.site_name_default = "My Awesome Site"
|
||||
config.site_tagline_default = "A static site generated with qsgen2"
|
||||
config.site_description_default = "This is my awesome static site"
|
||||
config.your_name = "Your Name"
|
||||
config.theme_description = "A custom theme for qsgen2"
|
||||
config.theme_files_title = "Theme files (relative to theme directory)"
|
||||
|
||||
# CSS and JavaScript
|
||||
css.main_styles = "Main Styles"
|
||||
js.main_javascript = "Main JavaScript"
|
||||
js.console_message = "Hello from qsgen2!"
|
||||
js.add_custom_javascript = "Add any custom JavaScript here"
|
||||
js.your_code_here = "Your code here"
|
||||
|
||||
# Last Updated Messages
|
||||
last_updated.setting = "_last_updated: Setting date and version in footer"
|
||||
last_updated.file_not_found = "_f_last_updated: File %s not found."
|
||||
|
||||
# Pages Messages
|
||||
pages.generating = "Generating Pages"
|
||||
pages.none = "* You do not have any pages *"
|
||||
pages.no_template = "Unable to find the Pages template: %s"
|
||||
|
||||
# Pandoc Messages
|
||||
pandoc.install = "Please install Pandoc."
|
||||
pandoc.download = "https://github.com/jgm/pandoc/releases"
|
||||
|
||||
# Generator Messages
|
||||
generator.not_found = "No valid generator found. Are you sure you've selected the correct generator in 'config'?"
|
||||
|
||||
# Build Messages
|
||||
build.forced = "- Forced Update: Generating Everything"
|
||||
build.using_engine = "Using the %s -engine for files:"
|
||||
|
Reference in New Issue
Block a user