Back to all reviewers

Consistent localization formatting

RooCodeInc/Roo-Code
Based on 7 comments
Json

Ensure all localization strings maintain consistent formatting patterns within each locale file. This includes: 1. **Terminal punctuation**: All similar messages should consistently end with appropriate punctuation marks for the locale (periods in English/French, "।" in Hindi, etc.).

Code Style Json

Reviewer Prompt

Ensure all localization strings maintain consistent formatting patterns within each locale file. This includes:

  1. Terminal punctuation: All similar messages should consistently end with appropriate punctuation marks for the locale (periods in English/French, “।” in Hindi, etc.).

  2. Locale-specific punctuation: Use the correct width/style of punctuation marks for each language (e.g., full-width colons “:” in Chinese and Japanese, not ASCII colons “:”).

  3. Variable interpolation syntax: Maintain consistent variable placeholder syntax. Use double curly braces for all variables: `` not {variableName}.

Example (incorrect):

{
  "errors": {
    "invalidApiKey": "Invalid API key. Please check your API key configuration.",
    "apiKeyRequired": "An API key is required for this embedder",
    "vectorDimensionMismatch": "Failed to update vector index. Details: {errorMessage}"
  }
}

Example (correct):

{
  "errors": {
    "invalidApiKey": "Invalid API key. Please check your API key configuration.",
    "apiKeyRequired": "An API key is required for this embedder.",
    "vectorDimensionMismatch": "Failed to update vector index. Details: "
  }
}

Consistent formatting makes localization files more maintainable and ensures a uniform appearance throughout the application.

7
Comments Analyzed
Json
Primary Language
Code Style
Category

Source Discussions