Skip to content

Commit

Permalink
fix go lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mvo5 committed Jul 24, 2015
1 parent aedc13b commit 78ee2fe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions i18n/xgettext-go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ msgstr "Project-Id-Version: %s\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
`, opts.PackageName, opts.MsgIdBugsAddress, formatTime())
`, opts.PackageName, opts.MsgIDBugsAddress, formatTime())
fmt.Fprintf(out, "%s", header)

// yes, this is the way to do it in go
Expand Down Expand Up @@ -238,7 +238,7 @@ var opts struct {

NoLocation bool `long:"no-location" description:"do not write '#: filename:line' lines"`

MsgIdBugsAddress string `long:"msgid-bugs-address" default:"EMAIL" description:"set report address for msgid bugs"`
MsgIDBugsAddress string `long:"msgid-bugs-address" default:"EMAIL" description:"set report address for msgid bugs"`

PackageName string `long:"package-name" description:"set package name in output"`

Expand Down
2 changes: 1 addition & 1 deletion i18n/xgettext-go/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func (s *xgettextTestSuite) SetUpTest(c *C) {
opts.KeywordPlural = "i18n.NG"
opts.SortOutput = true
opts.PackageName = "snappy"
opts.MsgIdBugsAddress = "snappy-devel@lists.ubuntu.com"
opts.MsgIDBugsAddress = "snappy-devel@lists.ubuntu.com"

// mock time
formatTime = func() string {
Expand Down
1 change: 0 additions & 1 deletion po/snappy.pot
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,6 @@ msgstr ""

msgid "This command adds access to a specific hardware device (e.g. /dev/"
"ttyUSB0) for an installed package."
>>>>>>> MERGE-SOURCE
msgstr ""

msgid "This command is no longer available, please use the \"list\" command"
Expand Down

0 comments on commit 78ee2fe

Please sign in to comment.