{
  "project": {
    "notInside": "Not inside a Nibula project.",
    "alreadyInside": "You are already inside a Nibula project.",
    "alreadyInsideHint": "Run \"nib new\" from outside a project."
  },
  "update": {
    "current": "Current version: {current}",
    "available": "Latest version: {latest}",
    "unknownLatest": "Could not reach the npm registry to check the latest version.",
    "scopeNotice": "The update applies to newly created projects only. Existing ones keep running their own copy of Nibula.",
    "confirm": "Update now? [Y/n] ",
    "cancelled": "Update cancelled.",
    "nonInteractive": "Run the command in a terminal to confirm the update.",
    "upToDate": "Already on the latest version ({current})."
  },
  "validation": {
    "invalidName": "Invalid name.",
    "invalidNameCharacters": "Page name can only contain lowercase letters, numbers, and hyphens.",
    "nameStartsWithNumber": "Page name cannot start with a number.",
    "spacesInName": "Page names cannot contain spaces: use hyphens instead, e.g. \"{example}\".",
    "unsupportedCharacters": "Page name cannot contain: {characters}. Use letters without accents, numbers and hyphens.",
    "protectedName": "\"{name}\" is a protected page name.",
    "reservedName": "\"{name}\" is reserved: the site already uses /{name}/ for its own files.",
    "invalidPath": "Invalid path.",
    "invalidPathCharacters": "Path can only contain letters, numbers, dots, hyphens, underscores and slashes.",
    "templatesLabel": "CLI page templates"
  },
  "page": {
    "alreadyExists": "[skip] page \"{name}\" already exists",
    "doesNotExist": "[skip] page \"{name}\" does not exist",
    "targetExists": "[skip] target page \"{name}\" already exists",
    "templateMissing": "[skip] template not found: {path}",
    "fileMissing": "[skip] not found: {path}",
    "wouldOverwrite": "[skip] page \"{name}\" would overwrite: {files}",
    "recordConflict": "{file} record \"{name}\"",
    "fileCreated": "[created] {path}",
    "fileRenamed": "[renamed] {source} \u2192 {destination}",
    "permalinkKept": "[kept] custom permalink in {path}",
    "fileDeleted": "[deleted] {path}",
    "createFailed": "[error] could not create page files: {error}",
    "renameFailed": "[error] could not rename page files: {error}",
    "deleteFailed": "[error] {path}: {error}"
  },
  "pagesData": {
      "fileMissing": "[skip] not found: {path}",
      "invalidStructure": "[error] {file} must contain an object of pages",
      "parseFailed": "[error] cannot parse {file}: {error}",
      "recordExists": "[skip] record \"{name}\" already exists",
      "recordMissing": "[skip] record \"{name}\" not found",
      "recordAdded": "[updated] record \"{name}\" added",
      "recordRemoved": "[cleaned] record \"{name}\" removed",
      "recordRenamed": "[updated] record \"{source}\" renamed to \"{destination}\""
  },
  "output": {
    "emptyPath": "[skip] empty output path",
    "invalidPath": "[skip] \"{path}\": {error}",
    "protectedPath": "[skip] \"{path}\" cannot be the output folder: it would overlap the project, a source folder or a file",
    "unchanged": "[skip] the output path is already \"{path}\"",
    "readFailed": "[error] cannot read {file}: {error}",
    "updateFailed": "[error] could not update output path: {error}",
    "updating": "\nupdating output path \u2192 \"{path}\"",
    "variableMissing": "[skip] {variable} not found in {file}",
    "keyMissing": "[skip] {key} not found in {file}",
    "fileUpdated": "[updated] {file} \u2192 {path}",
    "missingConfiguration": "(!) {key} not found in {file}",
    "refuseClean": "(!) refusing to empty {path}: it is the project, one of its parent folders, a source folder or a file. Check \"{key}\" in {file}.",
    "cleaned": "(\u2713) cleaned \u2192 {path}",
    "nothingToClean": "(i) nothing to clean \u2192 {path}"
  },
  "cli": {
    "createPrompt": "Name of the new page: ",
    "removePrompt": "Name of the page to remove: ",
    "renameFromPrompt": "Page to rename: ",
    "renameToPrompt": "New name: ",
    "outputPathPrompt": "Folder to put the output in: ",
    "menuPrompt": "Choose an option: ",
    "layoutPrompt": "Select a layout (arrow keys, Enter to confirm):",
    "layoutNotFound": "Layout \"{layout}\" not found. Available layouts: {layouts}",
    "currentOutputPath": "Current path: \"{path}\"",
    "outputPathHint": "The output goes in a \"{folder}\" folder inside the path you enter. Enter \".\" to go back to \"out\".",
    "confirmRemove": "This permanently deletes the source files for \"{name}\". Rebuild to update the output.",
    "cancelled": "Cancelled.",
    "pageNotFound": "Page \"{name}\" does not exist.",
    "pageExists": "Page \"{name}\" already exists.",
    "nameConflict": "\"{name}\" would overwrite files of another page:",
    "pickAnotherName": "Pick a different name.",
    "sameName": "Old and new name are the same.",
    "invalidOption": "Invalid option.",
    "unexpectedError": "Unexpected error: {error}",
    "missingFiles": "This project is missing required files:",
    "incompleteProject": "The project may be incomplete or created with a different Nibula version.",
    "exitHint": "CTRL + C to exit",
    "removedInVersion4": "nib cli will be removed in Nibula 4. Use nib create, nib rename, nib remove and nib path instead."
  },
  "commands": {
    "usage": {
      "create": "nib create <page-name> [-l <layout>]",
      "rename": "nib rename <page-name> <new-name>",
      "remove": "nib remove <page-name> [-y]",
      "path": "nib path [<folder>]"
    },
    "unknownCommand": "Unknown command: {command}",
    "helpHint": "Run \"nib help\" to see the available commands.",
    "missingArguments": "Missing arguments. Usage: {usage}",
    "tooManyArguments": "Too many arguments. Usage: {usage}",
    "spacesInName": "Page names cannot contain spaces: use hyphens instead, e.g. {example}",
    "unknownOption": "Unknown option {option} for \"nib {command}\".",
    "missingValue": "{option} needs a value.",
    "layoutNeeded": "This project has more than one layout: pick one with -l <layout>.",
    "confirmNeeded": "Run the command in a terminal to confirm, or add -y to remove the page without asking.",
    "pathChangeHint": "Change it with: nib path <folder>",
    "projectTooOld": "This project uses Nibula {version}, which has no \"nib {command}\" command. Use \"nib cli\", or update the project's copy with: npm install -D nibula@latest"
  }
}
