1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-21 08:31:27 -05:00
forgejo/routers
buckybytes 0d3ddec26c
Editor error message misleading due to re-used key. (#29859)
The error message:

`editor.file_changed_while_editing = The file contents have changed
since you started editing. <a target="_blank" rel="noopener noreferrer"
href="%s">Click here</a> to see them or <strong>Commit Changes
again</strong> to overwrite them.`

Is re-used in inappropriate contexts. The link in the key goes to a 404
when the key is used in a situation where the file contents have not
changed.

Added two new keys to differentiate commit id mismatch and push out of
date conditions.

(cherry picked from commit 16e360099d0a515d429538ec88cff1f3ede23fb4)
2024-03-26 19:04:25 +01:00
..
api Merge pull request '[TESTS] fail when log.Error is called' (#2657) from oliverpool/forgejo:fail_test_on_log_error into forgejo 2024-03-24 07:28:31 +00:00
common Use relative links for commits, mentions, and issues in markdown (#29427) 2024-03-20 08:46:28 +01:00
install Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
private Sync branches first (gitea#29714) 2024-03-18 17:39:34 +01:00
utils Improve user search display name (#29002) 2024-02-01 17:10:16 +00:00
web Editor error message misleading due to re-used key. (#29859) 2024-03-26 19:04:25 +01:00
init.go Actions Artifacts v4 backend (#28965) 2024-03-06 12:10:45 +08:00