aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Makefile: Add switch for picking number of parallel fuzz workersHEADmainEuAndreh2025-05-261-1/+2
|
* meta.capim: Add with :dependencies keyEuAndreh2025-05-231-0/+7
|
* src/gotext.go: Fix bad exit of Main()EuAndreh2025-05-151-1/+1
|
* Remove "MIME-Version" extra headerEuAndreh2025-05-1517-26/+0
|
* Use LC_MESSAGES for testsEuAndreh2025-05-151-6/+3
|
* Remove "Content-Transfer-Encoding" "header" from files and stringsEuAndreh2025-05-1517-26/+0
|
* Makefile: Fix dependency of tests/functional/api-usage/main.bin-check targetEuAndreh2025-05-151-1/+3
|
* Do not install po/tests/*.mo filesEuAndreh2025-05-153-4/+7
|
* src/gotext.go: Stop panicking on unknown AST typeEuAndreh2025-05-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It seems that it is panicking on indentantion nodes. I didn't take time to investigate, I only glanced at the error message below and removed the panic(): $ make i18n po4a po/doc/po4a.cfg gotext -k 'Gettext' src/gotext.go > po/gotext/gotext.pot val: &ast.SelectorExpr{X:(*ast.Ident)(0xc00007ed00), Sel:(*ast.Ident)(0xc00007ed20)} panic: unknown type: &{e err} goroutine 1 [running]: gotext.constructValue({0x58c900, 0xc000012240}) /home/andreh/src/gotext/src/gotext.go:158 +0x474 gotext.inspectNodeForTranslations({{0xc000016100, 0x4, 0x4}, {0xc000016130, 0x1, 0x1}, {0x5a7750, 0xb}, {0x7ffc031638af, 0x7}, ...}, ...) /home/andreh/src/gotext/src/gotext.go:206 +0x9a5 gotext.processSingleGoSource.func1({0x5d4648, 0xc000016dc0}) /home/andreh/src/gotext/src/gotext.go:296 +0xbe go/ast.inspector.Visit(0xc0000d2d00, {0x5d4648?, 0xc000016dc0?}) /gnu/store/4viyda7sf79xf14zj9fgjavq45wpm4dd-go-full-1.23.5/lib/go/src/go/ast/walk.go:361 +0x2b go/ast.Walk({0x5d4348?, 0xc0000d2d00?}, {0x5d4648, 0xc000016dc0}) /gnu/store/4viyda7sf79xf14zj9fgjavq45wpm4dd-go-full-1.23.5/lib/go/src/go/ast/walk.go:34 +0x4c go/ast.walkList[...](...) /gnu/store/4viyda7sf79xf14zj9fgjavq45wpm4dd-go-full-1.23.5/lib/go/src/go/ast/walk.go:21 go/ast.Walk({0x5d4348?, 0xc0000d2d00?}, {0x5d4d50, 0xc00007ed40}) /gnu/store/4viyda7sf79xf14zj9fgjavq45wpm4dd-go-full-1.23.5/lib/go/src/go/ast/walk.go:203 +0x179e go/ast.walkList[...](...) /gnu/store/4viyda7sf79xf14zj9fgjavq45wpm4dd-go-full-1.23.5/lib/go/src/go/ast/walk.go:21 go/ast.Walk({0x5d4348?, 0xc0000d2d00?}, {0x5d4918, 0xc0000b6720}) /gnu/store/4viyda7sf79xf14zj9fgjavq45wpm4dd-go-full-1.23.5/lib/go/src/go/ast/walk.go:211 +0x30ad go/ast.Walk({0x5d4348?, 0xc0000d2d00?}, {0x5d4fa8, 0xc0000b6750}) /gnu/store/4viyda7sf79xf14zj9fgjavq45wpm4dd-go-full-1.23.5/lib/go/src/go/ast/walk.go:332 +0xf7c go/ast.walkList[...](...) /gnu/store/4viyda7sf79xf14zj9fgjavq45wpm4dd-go-full-1.23.5/lib/go/src/go/ast/walk.go:21 go/ast.Walk({0x5d4348?, 0xc0000d2d00?}, {0x5d4620, 0xc000182000}) /gnu/store/4viyda7sf79xf14zj9fgjavq45wpm4dd-go-full-1.23.5/lib/go/src/go/ast/walk.go:341 +0x3585 go/ast.Inspect(...) /gnu/store/4viyda7sf79xf14zj9fgjavq45wpm4dd-go-full-1.23.5/lib/go/src/go/ast/walk.go:372 gotext.processSingleGoSource({{0xc000016100, 0x4, 0x4}, {0xc000016130, 0x1, 0x1}, {0x5a7750, 0xb}, {0x7ffc031638a f, 0x7}, ...}, ...) /home/andreh/src/gotext/src/gotext.go:295 +0x456 gotext.processFiles({{0xc000016100, 0x4, 0x4}, {0xc000016130, 0x1, 0x1}, {0x5a7750, 0xb}, {0x7ffc031638af, 0x7}, ...}) /home/andreh/src/gotext/src/gotext.go:269 +0x19b gotext.run({{{0xc000016100, 0x4, 0x4}, {0xc000016130, 0x1, 0x1}, {0x5a7750, 0xb}, {0x7ffc031638af, 0x7}, ...}, ...}) /home/andreh/src/gotext/src/gotext.go:413 +0x5b gotext.Main() /home/andreh/src/gotext/src/gotext.go:580 +0x1f8 main.main() /home/andreh/src/gotext/src/main.go:6 +0xf make: *** [Makefile:207: i18n-code] Error 2 make: *** Attente des tâches non terminées....
* Add po/gotext/EuAndreh2025-05-159-5/+167
|
* Makefile: Replace mandir(1) with instool(1)EuAndreh2025-05-151-2/+2
|
* mkdeps.sh: Better name of varlistsEuAndreh2025-05-153-23/+24
|
* doc/: No longer commit into the repository the generated filesEuAndreh2025-05-149-35/+25
|
* po/: Cleanup garbage generated headersEuAndreh2025-05-149-161/+67
|
* Remove gobang as a dependencyEuAndreh2025-05-143-275/+365
|
* src/gotext.go: Add translatableErrorTEuAndreh2025-05-141-0/+8
|
* src/gotext.go: Move Main() to the end of the fileEuAndreh2025-05-141-21/+14
|
* src/gotext.go: Rename msgID -> msgIDTEuAndreh2025-05-142-31/+31
|
* src/gotext.go: Cleanup LC_* comments and make them constsEuAndreh2025-05-141-26/+10
|
* Remove global `msgIDs` shared variableEuAndreh2025-05-142-40/+56
|
* src/gotext.go: Group together type definitionsEuAndreh2025-05-141-16/+11
|
* src/gotext.go: Fix usage of `var`EuAndreh2025-05-141-48/+56
|
* src/gotext.go: Remove global `opts` shared variableEuAndreh2025-05-142-30/+48
|
* src/gotext.go: Do away with most of the CLI optionsEuAndreh2025-05-142-133/+24
|
* rm LICENSE .travis.ymlEuAndreh2025-05-142-27/+0
|
* rm _examples/gettext.goEuAndreh2025-05-141-21/+0
|
* Absorb go-xgettext/main_test.goEuAndreh2025-05-149-551/+640
|
* Absorb gettext_test.goEuAndreh2025-05-1215-178/+257
|
* mv po/* po/doc/EuAndreh2025-05-129-2/+2
|
* Absorb gettext.goEuAndreh2025-05-122-222/+190
|
* Absorb go-xgettext/main.go: Hackly do away with ad-hoc go-flags packageEuAndreh2025-05-102-357/+426
|
* Setup manpage i18nEuAndreh2025-05-1018-2/+274
|
* Setup Go skeletonEuAndreh2025-05-1016-1/+362
|
* Merge pull request #11 from mvo5/bugfix/fix-tests-on-linuxJosé Carlos2016-08-301-7/+12
|\ | | | | Bugfix/fix tests on linux
| * fix tests on ubuntuMichael Vogt2016-03-091-7/+12
| |
* | Merge pull request #10 from mvo5/feature/travisJosé Carlos2016-06-022-0/+12
|\| | | | | add travis.yml
| * add travis.ymlMichael Vogt2016-03-092-0/+12
|/
* Fixing example with go-xgettext.José Carlos Nieto2016-02-203-1/+1
|
* Adding old LC_* style constants for backward compatibility.José Carlos Nieto2016-02-201-2/+13
|
* Merge branch 'master' of github.com:gosexy/gettextJosé Carlos Nieto2016-02-200-0/+0
|\
| * Merge pull request #9 from gosexy/issue-5José Carlos2016-02-2010-255/+160
| |\ | | | | | | Code cleaning.
* | | Updating example.José Carlos Nieto2016-02-202-19/+11
| | |
* | | Adding a note on #1.José Carlos Nieto2016-02-201-0/+2
| |/ |/|
* | Code cleaning.José Carlos Nieto2016-02-202-60/+84
|\|
| * Merge branch 'master' of github.com:gosexy/gettextJosé Carlos Nieto2016-02-071-40/+65
| |\
| | * Merge pull request #8 from gosexy/issue-7José Carlos2016-02-071-40/+65
| | |\ | | | | | | | | Closes #7
| | | * Closes #7José Carlos Nieto2016-02-071-40/+65
| | |/
| * / Updating readme.José Carlos Nieto2016-02-071-22/+19
| |/
* / Code cleaning.José Carlos Nieto2016-02-2010-255/+158
|/
* Merge pull request #6 from mvo5/feature/xgettextJosé Carlos2016-02-072-0/+855
|\ | | | | Add native go xgettext