3 ms·
I don't know. Have been asking myself the same question the past month.
by timvisee 5y ago
I don't know. Have been asking myself the same question the past month.
- TheDong 5y agoI think it's the locale files, like this one: https://github.com/timvisee/send/blob/master/public/locales/ja/send.ftl https://github.com/timvisee/send/blob/master/public/locales/... If you look at github/linguist, that's what recognizes languages in repos. It has this rule for FreeMarker: https://github.com/github/linguist/blob/32ec19c013a7f81ffaeead25e6e8f9668c7ed574/lib/linguist/languages.yml#L1706-L1715 https://github.com/github/linguist/blob/32ec19c013a7f81ffaee... It seems a .ftl extension means FreeMarker to linguist, so those localizations show up as such.
- timvisee 5y agoIt should be excluded from the stats as it's marked as documentation though: https://github.com/timvisee/send/blob/master/.gitattributes https://github.com/timvisee/send/blob/master/.gitattributes
- TheDong 5y agoIt shouldn't be excluded because that pattern doesn't match any of the files. If you run `git check-attr --all public/locales/foo/send.ftl` with the current .gitattr file, you'll get no attributes. If you update the attr match to `public/locales/**` or `public/locales/**/*.ftl`, then the `check-attr` command above will match it and show 'linguist-documentation'.
- niea_11 5y agoI think this has something to do with the repo being a fork. The parent repo doesn't have this issue. The "languages" list doesn't mention Freemarker on https://github.com/mozilla/send https://github.com/mozilla/send