| 1 | Source: golang-github-leonelquinteros-gotext |
| 2 | Maintainer: Debian Go Packaging Team <[email protected]> |
| 3 | Uploaders: Stephen Gelman <[email protected]> |
| 4 | Section: golang |
| 5 | Testsuite: autopkgtest-pkg-go |
| 6 | Priority: optional |
| 7 | Build-Depends: debhelper-compat (= 13), |
| 8 | dh-golang, |
| 9 | golang-any, |
| 10 | golang-golang-x-tools-dev, |
| 11 | golang-golang-x-text-dev |
| 12 | Standards-Version: 4.6.0 |
| 13 | Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-leonelquinteros-gotext |
| 14 | Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-leonelquinteros-gotext.git |
| 15 | Homepage: https://github.com/leonelquinteros/gotext |
| 16 | Rules-Requires-Root: no |
| 17 | XS-Go-Import-Path: github.com/leonelquinteros/gotext |
| 18 | |
| 19 | Package: golang-github-leonelquinteros-gotext-dev |
| 20 | Architecture: all |
| 21 | Multi-Arch: foreign |
| 22 | Depends: golang-golang-x-tools-dev, |
| 23 | golang-golang-x-text-dev, |
| 24 | ${misc:Depends} |
| 25 | Description: Go GNU gettext utilities package (library) |
| 26 | GNU gettext utilities (https://www.gnu.org/software/gettext) for Go. |
| 27 | . |
| 28 | Features |
| 29 | . |
| 30 | * Implements GNU gettext support in native Go. |
| 31 | * Complete support for PO files |
| 32 | (https://www.gnu.org/software/gettext/manual/html_node/PO-Files.html) |
| 33 | including: |
| 34 | * Support for multiline strings and headers. |
| 35 | * Support for variables inside translation strings using Go's fmt |
| 36 | syntax (https://golang.org/pkg/fmt/). |
| 37 | * Support for pluralization rules |
| 38 | (https://www.gnu.org/software/gettext/manual/html_node/Translating- |
| 39 | plural-forms.html). |
| 40 | * Support for message contexts |
| 41 | (https://www.gnu.org/software/gettext/manual/html_node/Contexts.html). |
| 42 | * Support for MO files. |
| 43 | * Thread-safe: This package is safe for concurrent use across multiple |
| 44 | goroutines. |
| 45 | * It works with UTF-8 encoding as it's the default for Go language. |
| 46 | * Unit tests available. |
| 47 | * Language codes are automatically simplified from the form en_UK to en |
| 48 | if the first isn't available. |
| 49 | * Ready to use inside Go templates. |
| 50 | * Objects are serializable to []byte to store them in cache. |
| 51 | * Support for Go Modules. |