Commit graph

178 commits

Author SHA1 Message Date
Leonel Quinteros
327b393ac4
Merge pull request #45 from TropicalPenguin/master-potexport
PO(T) Export, for message extraction
2020-10-05 09:53:34 -03:00
Andrew Williams
01a5eea7fa PO(T) Export, for message extraction
Allows stable round-tripping of PO(T) data across multiple message extraction passes.
Avoids canonicalisation of header keys, while preserving other semantics.
2020-09-29 17:58:59 +13:00
TropicalPenguin
5133d3fd0b
Sync with leonelquinteros/master 2020-09-29 04:18:15 +13:00
Leonel Quinteros Carbano
eef16e8419 Deprecate Travis CI 2020-09-28 10:49:16 -03:00
Leonel Quinteros
015a3e4353
Merge pull request #44 from razor-1/dry-up
move common po.go/mo.go code to domain.go
2020-09-28 10:29:10 -03:00
Jon Snyder
bb276626f3 move common po.go/mo.go code to domain.go
adjust tests to reduce duplication
2020-09-10 13:02:24 -07:00
Leonel Quinteros Carbano
62ce4e85a3 Use official pkg.go.dev badge 2020-08-12 14:25:19 -03:00
Leonel Quinteros Carbano
adfa5fabf8 Update README 2020-08-12 13:48:08 -03:00
Leonel Quinteros
3bb41424ff
Merge pull request #40 from chrisvaughn/cv/ar_bug
call Translation.Get & GetC directly
2020-04-22 12:11:35 -03:00
Chris Vaughn
d791a97f01 call Get & GetC directly instead of using plural=1 for package methods 2020-04-19 14:50:56 -05:00
Chris Vaughn
192fa01364 call Translation.Get & GetC directly instead of calling Translation.GetN with default of plural=1
* add correct Arabic pluralform rules to test
2020-04-16 17:29:45 -05:00
Leonel Quinteros Carbano
362a1d6915 Add xgotext CLI tool installation to build process 2020-04-15 22:16:10 -03:00
Leonel Quinteros Carbano
60d22914a5 Remove old Build configuration. 2020-04-15 22:12:20 -03:00
Leonel Quinteros Carbano
f7464201e6 Add Github Build action badge 2020-04-15 22:08:55 -03:00
Leonel Quinteros
d26d707c73
Create build.yml 2020-04-15 22:03:51 -03:00
Leonel Quinteros
b6df672e9a
Merge pull request #37 from bboehmke/xgotext_verbose
verbose flag for xgotext
2020-03-06 10:52:42 -03:00
Benjamin Böhmke
c40a6e9dd5 xgotext: added verbose flag 2020-03-05 19:40:31 +01:00
Leonel Quinteros
be1a13b346
Merge pull request #36 from bboehmke/xgotext_fixes
xgotext fixes
2020-02-29 16:38:15 -03:00
Benjamin Böhmke
36588ae653 xgotext: updated README.md 2020-02-29 11:42:35 +01:00
Benjamin Böhmke
20f50a5bba xgotext: name generated files .pot 2020-02-28 16:56:38 +01:00
Benjamin Böhmke
5b0ba55f37 xgotext: added option to exclude directories 2020-02-27 19:59:03 +01:00
Benjamin Böhmke
df996c3ae1 xgotext: catch unknown variable type 2020-02-26 21:43:19 +01:00
Benjamin Böhmke
f46758caed xgotext: fixed parsing of error types 2020-02-26 21:08:59 +01:00
Leonel Quinteros
4aa838b8c3
Merge pull request #35 from bboehmke/xgotext_rework
rework of xgotext
2020-02-25 11:15:17 -03:00
Benjamin Böhmke
478f4d29b7 added option to set default domain 2020-02-24 17:52:39 +01:00
Benjamin Böhmke
9091772533 fixed support for older go versions 2020-02-24 15:33:30 +01:00
Benjamin Böhmke
3b92b162e1 moved PO file writing to domain object 2020-02-23 10:08:48 +01:00
Benjamin Böhmke
b8c9a57c39 catch unsupported function calls 2020-02-23 10:00:43 +01:00
Benjamin Böhmke
1891633250 updated CLI README.md 2020-02-23 09:51:48 +01:00
Benjamin Böhmke
75a3d22c53 initial rework of xgotext 2020-02-22 22:37:17 +01:00
Leonel Quinteros
2b59b30398
Update README.md 2019-11-13 14:59:02 -03:00
Leonel Quinteros
208807f5ca
Create go.yml 2019-11-13 14:46:21 -03:00
Leonel Quinteros
823ca32c7a Fallback Po's missing plural translation using plural forms when available. Use western rule n==1 convention only on Locale object without Domain. Fixes #34 2019-10-21 14:43:48 -03:00
Leonel Quinteros
99a9166ded Remove code coverage tool 2019-07-10 18:23:45 -03:00
Leonel Quinteros
6431cb3aea Parse SetDomain methods 2019-02-18 18:09:32 -03:00
Leonel Quinteros
0e382cfe26 First implementation of CLI tool 2019-02-15 15:20:42 -03:00
Leonel Quinteros
ff3209d159 Remove dep files 2018-12-21 14:53:49 -03:00
Leonel Quinteros
0216b71049
Merge pull request #30 from draven-archive/master
Fix gotext.GetD with unloaded domain
2018-12-17 10:02:03 -03:00
draveness
37bac2fe57
Fix gotext.GetD with unloaded domain 2018-12-07 12:32:39 +08:00
Leonel Quinteros
7b73c0d36b Update README 2018-09-12 15:31:27 -03:00
Leonel Quinteros
477ce49ddf Update Travis configuration. 2018-09-12 15:07:17 -03:00
Leonel Quinteros
f28243c54b Add support for Go Modules. Closes #27 2018-09-12 15:03:50 -03:00
Leonel Quinteros
4cbf30d337 Make Locale and Po objects serializable. Closes #23 2018-09-07 18:14:38 -03:00
Leonel Quinteros
302c88af99 Add arabic translation test. See #25 2018-08-14 11:01:14 -03:00
Leonel Quinteros
8e9d9df2e2 Allow Locale backends to work with different Translator sources using AddTranslator method for Locale object. Fixes #22 2018-07-05 11:37:25 -03:00
Leonel Quinteros
431a313411 Merge branch 'master' of github.com:leonelquinteros/gotext 2018-05-29 12:46:28 -03:00
Leonel Quinteros
3c52f5c10b Make golint happy. Fixes #21 2018-05-29 12:46:11 -03:00
Leonel Quinteros
7fd6ac336a
Update ISSUE_TEMPLATE.md 2018-05-14 16:24:26 -03:00
Leonel Quinteros
9161ab1e62
Update PULL_REQUEST_TEMPLATE.md 2018-05-14 16:22:29 -03:00
Leonel Quinteros
2044aeae11
Update ISSUE_TEMPLATE.md 2018-05-14 16:15:38 -03:00