forgejo-federation/options/locale
zeripath 248b96d8a3
Use git attributes to determine generated and vendored status for language stats and diffs (#16773)
Replaces #16262
Replaces #16250
Replaces #14833

This PR first implements a `git check-attr` pipe reader - using `git check-attr --stdin -z --cached` - taking account of the change in the output format in git 1.8.5 and creates a helper function to read a tree into a temporary index file for that pipe reader.

It then wires this in to the language stats helper and into the git diff generation.

Files which are marked generated will be folded by default.

Fixes #14786
Fixes #12653
2021-09-09 21:13:36 +01:00
..
locale_bg-BG.ini [skip ci] Updated translations via Crowdin 2021-09-02 00:04:56 +00:00
locale_cs-CZ.ini [skip ci] Updated translations via Crowdin 2021-09-02 00:04:56 +00:00
locale_de-DE.ini [skip ci] Updated translations via Crowdin 2021-09-09 00:04:58 +00:00
locale_el-GR.ini [skip ci] Updated translations via Crowdin 2021-09-07 00:04:55 +00:00
locale_en-US.ini Use git attributes to determine generated and vendored status for language stats and diffs (#16773) 2021-09-09 21:13:36 +01:00
locale_es-ES.ini [skip ci] Updated translations via Crowdin 2021-09-03 00:04:56 +00:00
locale_fa-IR.ini [skip ci] Updated translations via Crowdin 2021-09-02 00:04:56 +00:00
locale_fi-FI.ini [skip ci] Updated translations via Crowdin 2021-08-13 00:07:45 +00:00
locale_fr-FR.ini [skip ci] Updated translations via Crowdin 2021-09-02 00:04:56 +00:00
locale_hu-HU.ini [skip ci] Updated translations via Crowdin 2021-08-23 00:04:31 +00:00
locale_id-ID.ini [skip ci] Updated translations via Crowdin 2021-08-13 00:07:45 +00:00
locale_it-IT.ini [skip ci] Updated translations via Crowdin 2021-09-02 00:04:56 +00:00
locale_ja-JP.ini [skip ci] Updated translations via Crowdin 2021-09-07 00:04:55 +00:00
locale_ko-KR.ini [skip ci] Updated translations via Crowdin 2021-08-13 00:07:45 +00:00
locale_lv-LV.ini [skip ci] Updated translations via Crowdin 2021-09-02 00:04:56 +00:00
locale_ml-IN.ini [skip ci] Updated translations via Crowdin 2021-08-23 00:04:31 +00:00
locale_nl-NL.ini [skip ci] Updated translations via Crowdin 2021-09-02 00:04:56 +00:00
locale_pl-PL.ini [skip ci] Updated translations via Crowdin 2021-09-02 00:04:56 +00:00
locale_pt-BR.ini [skip ci] Updated translations via Crowdin 2021-09-02 00:04:56 +00:00
locale_pt-PT.ini [skip ci] Updated translations via Crowdin 2021-09-02 00:04:56 +00:00
locale_ru-RU.ini [skip ci] Updated translations via Crowdin 2021-09-02 00:04:56 +00:00
locale_sr-SP.ini [skip ci] Updated translations via Crowdin 2021-08-13 00:07:45 +00:00
locale_sv-SE.ini [skip ci] Updated translations via Crowdin 2021-09-02 00:04:56 +00:00
locale_tr-TR.ini [skip ci] Updated translations via Crowdin 2021-09-02 00:04:56 +00:00
locale_uk-UA.ini [skip ci] Updated translations via Crowdin 2021-09-02 00:04:56 +00:00
locale_zh-CN.ini [skip ci] Updated translations via Crowdin 2021-09-09 00:04:58 +00:00
locale_zh-HK.ini [skip ci] Updated translations via Crowdin 2021-08-13 00:07:45 +00:00
locale_zh-TW.ini [skip ci] Updated translations via Crowdin 2021-09-03 00:04:56 +00:00
TRANSLATORS European Portuguese translation (#11568) 2020-06-05 09:07:56 +01:00