decentral1se 82a924b0f4
All checks were successful
continuous-integration/drone/push Build is passing
docs: fix option naming
2025-09-30 19:22:48 +02:00
2025-08-26 14:23:46 -04:00
2025-09-30 19:17:34 +02:00
2025-08-27 10:53:53 -04:00
2025-09-30 19:17:34 +02:00
2025-09-30 19:22:48 +02:00

drone-xgettext-go

Build Status

Use the forked xgettext-go as a Drone plugin.

!!! warning "Caution!" This is currently configured very specifically for use with Co-op Cloud abra. More customisability Coming Soon™, see #1

Settings

Optional

  • in: (default: /drone/src) The source directory to scan for source files
  • out: (default: /drone/src/locales/default.pot) The target directory in which to create a pot file.
  • keyword: (default: gotext.Get) The keyword to search for translatable strings.
  • keyword_ctx: (default: gotext.GetC) The keyword to search for translatable strings with context.
  • comments_tag: (default: disabled) "place comment blocks starting with TAG and prceding keyword lines in output file"

Example

---
kind: pipeline
name: Update Gettext catalog template
steps:
  - name: Run xgettext-go
    image: git.coopcloud.tech/toolshed/drone-xgettext-go

Publishing

The version can be bumped in the .drone.yml file. We're sticking with latest as we iterate on the code right now.

If you push a commit to master, the Drone config will publish to git.coopcloud.tech.

Description
No description provided
Readme 44 KiB
Languages
Shell 53.4%
Dockerfile 24.8%
Makefile 21.8%