forgejo/options/locale
Jonathan Tran 81467e6f35
Display SVG files as images instead of text (#14101)
* Change to display SVG files as images

* Remove unsafe styles from SVG CSP

* Add integration test to test SVG headers

* Add config setting to disable SVG rendering

* Add test for img tag when loading SVG image

* Remove the Raw view button for svg files since we don't fully support this

* Fix copyright year

* Rename and move config setting

* Add setting to cheat sheet in docs

* Fix so that comment matches cheat sheet

* Add allowing styles in CSP based on pull request feedback

* Re-enable raw button since we show SVG styles now

* Change so that SVG files are editable

* Add UI to toggle between source and rendered image for SVGs

* Change to show blame button for SVG images

* Fix to update ctx data

* Add test for DetectContentType when file is longer than sniffLen

Co-authored-by: Jonathan Tran <jon@allspice.io>
Co-authored-by: Kyle D <kdumontnu@gmail.com>
2021-01-12 22:45:19 -05:00
..
locale_bg-BG.ini [skip ci] Updated translations via Crowdin 2020-12-10 04:48:55 +00:00
locale_cs-CZ.ini [skip ci] Updated translations via Crowdin 2021-01-07 13:41:39 +00:00
locale_de-DE.ini [skip ci] Updated translations via Crowdin 2021-01-06 01:39:13 +00:00
locale_en-US.ini Display SVG files as images instead of text (#14101) 2021-01-12 22:45:19 -05:00
locale_es-ES.ini [skip ci] Updated translations via Crowdin 2020-12-22 02:55:02 +00:00
locale_fa-IR.ini [skip ci] Updated translations via Crowdin 2020-12-21 08:32:25 +00:00
locale_fi-FI.ini [skip ci] Updated translations via Crowdin 2020-12-10 04:48:55 +00:00
locale_fr-FR.ini [skip ci] Updated translations via Crowdin 2020-12-21 08:32:25 +00:00
locale_hu-HU.ini [skip ci] Updated translations via Crowdin 2020-12-21 08:32:25 +00:00
locale_id-ID.ini [skip ci] Updated translations via Crowdin 2020-12-21 08:32:25 +00:00
locale_it-IT.ini [skip ci] Updated translations via Crowdin 2020-12-21 08:32:25 +00:00
locale_ja-JP.ini [skip ci] Updated translations via Crowdin 2021-01-07 13:41:39 +00:00
locale_ko-KR.ini [skip ci] Updated translations via Crowdin 2020-12-21 08:32:25 +00:00
locale_lv-LV.ini [skip ci] Updated translations via Crowdin 2020-12-22 02:55:02 +00:00
locale_ml-IN.ini [skip ci] Updated translations via Crowdin 2020-12-10 04:48:55 +00:00
locale_nl-NL.ini [skip ci] Updated translations via Crowdin 2021-01-13 00:51:06 +00:00
locale_pl-PL.ini [skip ci] Updated translations via Crowdin 2020-12-21 08:32:25 +00:00
locale_pt-BR.ini [skip ci] Updated translations via Crowdin 2020-12-21 08:32:25 +00:00
locale_pt-PT.ini [skip ci] Updated translations via Crowdin 2020-12-22 02:55:02 +00:00
locale_ru-RU.ini [skip ci] Updated translations via Crowdin 2020-12-22 02:55:02 +00:00
locale_sr-SP.ini [skip ci] Updated translations via Crowdin 2020-12-10 04:48:55 +00:00
locale_sv-SE.ini [skip ci] Updated translations via Crowdin 2020-12-21 08:32:25 +00:00
locale_tr-TR.ini [skip ci] Updated translations via Crowdin 2020-12-29 00:39:54 +00:00
locale_uk-UA.ini [skip ci] Updated translations via Crowdin 2020-12-21 08:32:25 +00:00
locale_zh-CN.ini [skip ci] Updated translations via Crowdin 2020-12-22 02:55:02 +00:00
locale_zh-HK.ini [skip ci] Updated translations via Crowdin 2020-12-10 04:48:55 +00:00
locale_zh-TW.ini [skip ci] Updated translations via Crowdin 2021-01-10 18:06:29 +00:00
TRANSLATORS European Portuguese translation (#11568) 2020-06-05 09:07:56 +01:00