Skip to content

Contradictory messages when deleting branch #22624

Closed
@kernie

Description

@kernie
Contributor

Description

When I delete a branch on the Code -> Branch tab, a message pops up that this delete is permanent and cannot be redone.

After confirming I see the image below where I can restore the branch...

grafik

Whether or not this might work it would be better to have a more consistent wording.

By the way thanks for this great software!

Gitea Version

1.18.3

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

Ubuntu 18.04

How are you running Gitea?

Manual server installation with systemd

Database

MySQL

Activity

lunny

lunny commented on Jan 30, 2023

@lunny
Member

It can be reverted in a very short time.

kernie

kernie commented on Jan 31, 2023

@kernie
ContributorAuthor

According to discussion at Crowdin (in German) for repo:branch.delete_desc there is a proposal to change it into:

"Deleting a branch is permanent after 'git cleanup task' was run (by default once per day). It CANNOT be undone. Continue?"

Is options/locale/locale_en-US.ini the right place to create a pull request?

added
issue/needs-feedbackFor bugs, we need more details. For features, the feature must be described in more detail
on Apr 25, 2023
wxiaoguang

wxiaoguang commented on Apr 25, 2023

@wxiaoguang
Contributor
added a commit that references this issue on Apr 28, 2023
ad03c6e
locked as resolved and limited conversation to collaborators on Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/needs-feedbackFor bugs, we need more details. For features, the feature must be described in more detailtype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @lunny@wxiaoguang@kernie

      Issue actions

        Contradictory messages when deleting branch · Issue #22624 · go-gitea/gitea