diff options
author | silverwind <me@silverwind.io> | 2020-06-12 13:26:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-12 14:26:37 +0300 |
commit | bc4f7ba69b01c6f10f6ea26325bf61485adaa0ff (patch) | |
tree | 3b7a6dafcc034b2f9605b20673cad4d82d25a844 /options | |
parent | 2b573f49cf42cf157b89db3acc1c1dfa0d33cacb (diff) | |
download | gitea-bc4f7ba69b01c6f10f6ea26325bf61485adaa0ff.tar.gz gitea-bc4f7ba69b01c6f10f6ea26325bf61485adaa0ff.zip |
Add automatic JS license generation (#11810)
* Add automatic JS license generation
Removed librejs file and replaced it with a plaintext file that is built
from all JS dependencies that are included in the webpack build. It does
not cover the few remaining statically vendored files and fomantic is
added manually because it's not yet in the webpack build process.
Fixes: https://github.com/go-gitea/gitea/issues/11630
* fix lint
* remove jslicense, we're not librejs compatible any more
* remove license.txt test as it depens on absent files
* small optimization
* trailing comma
* localize and capitalize the word 'licenses'
* reduce text to just 'Licenses'
Co-authored-by: Lauris BH <lauris@nix.lv>
Diffstat (limited to 'options')
-rw-r--r-- | options/locale/locale_en-US.ini | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 958b70131e..662ea49aca 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -20,6 +20,7 @@ user_profile_and_more = Profile and Settingsā¦ signed_in_as = Signed in as enable_javascript = This website works better with JavaScript. toc = Table of Contents +licenses = Licenses username = Username email = Email Address |