[GRASS-git] [OSGeo/grass] 29565b: i18N: fix long dash confusing xgettext (#2035)

Markus Neteler noreply at github.com
Sat Dec 25 14:21:07 PST 2021


  Branch: refs/heads/releasebranch_8_0
  Home:   https://github.com/OSGeo/grass
  Commit: 29565b298ead585ba42e9113ea5225c27c479645
      https://github.com/OSGeo/grass/commit/29565b298ead585ba42e9113ea5225c27c479645
  Author: Markus Neteler <neteler at gmail.com>
  Date:   2021-12-25 (Sat, 25 Dec 2021)

  Changed paths:
    M imagery/i.cca/main.c
    M imagery/i.cluster/open_files.c
    M imagery/i.maxlik/open.c
    M imagery/i.smap/openfiles.c
    M raster/r.in.pdal/r.in.pdal.html

  Log Message:
  -----------
  i18N: fix long dash confusing xgettext (#2035)

Fixes

```
Generating grassmods...
xgettext --keyword=_ --keyword=n_:1,2 -cGTC -o ./templates/grassmods.pot `find ../ -name '*.c' | grep -v '../lib' | xargs grep -l "_(\"\|n_(\""`
xgettext: Non-ASCII string at ../imagery/i.smap/openfiles.c:43.
          Please specify the source encoding through --from-code.
make: *** [Makefile:52: pot] Error 1
```




More information about the grass-commit mailing list