Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Korean translations (ko.po) not properly formatted #2517

Open
scarf005 opened this issue Oct 1, 2024 · 0 comments
Open

Korean translations (ko.po) not properly formatted #2517

scarf005 opened this issue Oct 1, 2024 · 0 comments

Comments

@scarf005
Copy link

scarf005 commented Oct 1, 2024

Affected Version

yay v12.4.2 - libalpm v15.0.0

Describe the bug

πŸ“¦[scarf@arch-distrobox yay]$ LANG=ko_KR.UTF-8 yay -S tlrc
:: %!s(int=2)에 μ‚¬μš©ν•  수 μžˆλŠ” &{%!d(string=cargo) %!d(string=) %!d(string=) 7059752343256422140 1}개 κ³΅κΈ‰μžκ°€ μžˆμŠ΅λ‹ˆλ‹€:
:: μ €μž₯μ†Œ extra
    1) rust 2) rustup 

숫자λ₯Ό μž…λ ₯ν•˜μ„Έμš” (κΈ°λ³Έκ°’=1): 
==> ^C
πŸ“¦[scarf@arch-distrobox yay]$ LANG=c yay -S tlrc
:: There are 2 providers available for cargo:
:: Repository extra
    1) rust 2) rustup

Reproduction Steps

  1. follow https://github.com/Jguer/yay?tab=readme-ov-file#source
  2. run LANG=ko_KR.UTF-8 yay -S tlrc
  3. the formatting is not properly applied unlike english one.

yay/po/ko.po

Lines 433 to 435 in 138c2dd

#: pkg/db/ialpm/alpm.go:179 pkg/dep/dep_graph.go:726
msgid "There are %d providers available for %s:"
msgstr "%s에 μ‚¬μš©ν•  수 μžˆλŠ” %d개 κ³΅κΈ‰μžκ°€ μžˆμŠ΅λ‹ˆλ‹€:"

Expected behavior

expected: cargo에 μ‚¬μš©ν•  수 μžˆλŠ” 2개 κ³΅κΈ‰μžκ°€ μžˆμŠ΅λ‹ˆλ‹€:
actual: %!s(int=2)에 μ‚¬μš©ν•  수 μžˆλŠ” &{%!d(string=cargo) %!d(string=) %!d(string=) 7059752343256422140 1}개 κ³΅κΈ‰μžκ°€ μžˆμŠ΅λ‹ˆλ‹€:

Output

{
        "aururl": "https://aur.archlinux.org",
        "aurrpcurl": "https://aur.archlinux.org/rpc?",
        "buildDir": "/home/scarf/.cache/yay",
        "editor": "",
        "editorflags": "",
        "makepkgbin": "makepkg",
        "makepkgconf": "",
        "pacmanbin": "pacman",
        "pacmanconf": "/etc/pacman.conf",
        "redownload": "no",
        "answerclean": "",
        "answerdiff": "",
        "answeredit": "",
        "answerupgrade": "",
        "gitbin": "git",
        "gpgbin": "gpg",
        "gpgflags": "",
        "mflags": "",
        "sortby": "votes",
        "searchby": "name-desc",
        "gitflags": "",
        "removemake": "ask",
        "sudobin": "sudo",
        "sudoflags": "",
        "version": "12.4.2",
        "requestsplitn": 150,
        "completionrefreshtime": 7,
        "maxconcurrentdownloads": 1,
        "bottomup": true,
        "sudoloop": false,
        "timeupdate": false,
        "devel": true,
        "cleanAfter": false,
        "keepSrc": false,
        "provides": true,
        "pgpfetch": true,
        "cleanmenu": true,
        "diffmenu": true,
        "editmenu": false,
        "combinedupgrade": true,
        "useask": false,
        "batchinstall": false,
        "singlelineresults": false,
        "separatesources": true,
        "debug": false,
        "rpc": true,
        "doubleconfirm": true,
        "rebuild": "no"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant