Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i18n: Fix long dash confusing xgettext #2035

Merged
merged 1 commit into from
Dec 25, 2021
Merged

i18n: Fix long dash confusing xgettext #2035

merged 1 commit into from
Dec 25, 2021

Conversation

neteler
Copy link
Member

@neteler neteler commented Dec 25, 2021

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

This (probably) requires the update of the messages on Transifex.

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
```
@neteler neteler added backport_needed translation Message translation related labels Dec 25, 2021
@neteler neteler added this to the 8.0.0 milestone Dec 25, 2021
@neteler neteler self-assigned this Dec 25, 2021
Copy link
Contributor

@marisn marisn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My bad. I always forget to use hyphen where en or em dash should be used.

@neteler neteler merged commit acbc1d7 into OSGeo:main Dec 25, 2021
@neteler neteler deleted the i18n_long_dash_fix branch December 25, 2021 22:19
neteler added a commit that referenced this pull request Dec 25, 2021
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
```
@wenzeslaus wenzeslaus changed the title i18N: fix long dash confusing xgettext i18n: Fix long dash confusing xgettext Apr 27, 2022
ninsbl pushed a commit to ninsbl/grass that referenced this pull request Oct 26, 2022
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
```
ninsbl pushed a commit to ninsbl/grass that referenced this pull request Feb 17, 2023
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
```
neteler added a commit to nilason/grass that referenced this pull request Nov 7, 2023
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
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
translation Message translation related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants