When verifying an SSH public key, the proposed command line has parts translated, when it shouldn't. #8733

Closed
opened 2025-11-02 08:15:49 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @p-kraszewski on GitHub (Mar 22, 2022).

Description

When you select the option to verify SSH public key, gitea proposes command line to perform that action. With Polish locale this looks like that:

Możesz wygenerować podpis używając:

echo -n "blah blah blak" | ssh-keygen -Y znak -n gitea -f /ścieżka_do_twojego_klucza_publicznego`

The problem is with -Y znak part, which should remain untranslated as -Y sign, because as-is it causes ssh-keygen to bail with Unsupported operation for -Y: "znak" error.

Gitea Version

1.17.0+dev-314-g2b55422cd

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

FreeBSD 13.0

How are you running Gitea?

As rc.d service.

Database

SQLite

Originally created by @p-kraszewski on GitHub (Mar 22, 2022). ### Description When you select the option to verify SSH public key, `gitea` proposes command line to perform that action. With Polish locale this looks like that: ``` Możesz wygenerować podpis używając: echo -n "blah blah blak" | ssh-keygen -Y znak -n gitea -f /ścieżka_do_twojego_klucza_publicznego` ``` The problem is with `-Y znak` part, which should _remain untranslated_ as `-Y sign`, because as-is it causes `ssh-keygen` to bail with `Unsupported operation for -Y: "znak"` error. ### Gitea Version 1.17.0+dev-314-g2b55422cd ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System FreeBSD 13.0 ### How are you running Gitea? As `rc.d` service. ### Database SQLite
GiteaMirror added the type/bug label 2025-11-02 08:15:49 -06:00
Author
Owner

@zeripath commented on GitHub (Mar 22, 2022):

This is an issue with the crowdin string. I have fixed this in crowdin.

@zeripath commented on GitHub (Mar 22, 2022): This is an issue with the crowdin string. I have fixed this in crowdin.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#8733