Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • D desktop-menu-antix
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Service Desk
    • Milestones
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • antiX-Dave
  • desktop-menu-antix
  • Merge requests
  • !5

Added gettext translations support, ready for transifex

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Robin Antix requested to merge Robin-antiX/desktop-menu-antix:test-05 into master May 12, 2022
  • Overview 0
  • Commits 21
  • Changes 8

Prepared the script for gettext translation. Created language template file (.pot) containing developer notes to enable translators at transifex to understand the meaning of each entry and locating its display position on runtime to allow them a concise translation.

Made a test translation to german language to see whether everything works as expected. Resulting .po and .mo files already present in respective subfolders (/locale//LC_MESSAGES and /po).

Updates: Ressource is present at transifex meanwhile.

Fix for reading config file if script runs sudoed.

Multiple print statements in help message replaced by a single one. This modification will not break translation files.

(this merge request contains all commits from previous merge requests #3 and #4)

Edited May 13, 2022 by Robin Antix
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: test-05