Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Kate Kate
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 20
    • Issues 20
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 8
    • Merge requests 8
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Utilities
  • KateKate
  • Merge requests
  • !35

Merged
Created Oct 04, 2019 by Dominik Haumann@dhaumannDeveloper

External Tools: Translate name and category

  • Overview 0
  • Commits 1
  • Changes 1

The external tools internally are stored in an ini-like file format:

[Tool 0]
category=Git
name=git-cola
...

This patch adds grep/sed magic following how we extract translatable strings from json files in KTextEditor (indenter, scripts).

Running the two grep lines create output like:

// i18n: file: 8
i18nc("External tool category", "Git");

This output is then extracted with the XGETTEXT call a line later.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: feature-fix-external-tools-translation