This file is indexed.

/usr/share/gocode/src/github.com/lxc/lxd/shared/i18n/i18n_linux.go is in golang-github-lxc-lxd-dev 2.0.2-0ubuntu1~16.04.1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
// +build linux

package i18n

import (
	"github.com/gosexy/gettext"
)

var TEXTDOMAIN = "lxd"

func G(msgid string) string {
	return gettext.DGettext(TEXTDOMAIN, msgid)
}

func NG(msgid string, msgidPlural string, n uint64) string {
	return gettext.DNGettext(TEXTDOMAIN, msgid, msgidPlural, n)
}

func init() {
	gettext.SetLocale(gettext.LC_ALL, "")
}