1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00

more-info-link: update japanese (#15502)

This commit is contained in:
Managor 2025-01-14 21:59:38 +02:00 committed by GitHub
parent e35cb0254d
commit 5a92f25963
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 3 deletions

View file

@ -169,7 +169,7 @@ The templates can be changed when necessary, but if so, it needs to be updated h
### ja ### ja
```markdown ```markdown
> 詳しくはこちら: <https://example.com> > もっと詳しく: <https://example.com>
``` ```
--- ---

View file

@ -78,7 +78,7 @@ labels = {
"hi": "अधिक जानकारी:", "hi": "अधिक जानकारी:",
"id": "Informasi lebih lanjut:", "id": "Informasi lebih lanjut:",
"it": "Maggiori informazioni:", "it": "Maggiori informazioni:",
"ja": "詳しくはこちら:", "ja": "もっと詳しく:",
"ko": "더 많은 정보:", "ko": "더 많은 정보:",
"lo": "ຂໍ້ມູນເພີ່ມເຕີມ:", "lo": "ຂໍ້ມູນເພີ່ມເຕີມ:",
"ml": "കൂടുതൽ വിവരങ്ങൾ:", "ml": "കൂടുതൽ വിവരങ്ങൾ:",
@ -146,7 +146,9 @@ def set_link(
# build new line # build new line
if locale in ["bn", "hi", "ne"]: if locale in ["bn", "hi", "ne"]:
new_line = f"> {labels[locale]} <{link}>।\n" new_line = f"> {labels[locale]} <{link}>।\n"
elif locale in ["ja", "th"]: elif locale in ["ja"]:
new_line = f"> {labels[locale]} <{link}>。\n"
elif locale in ["th"]:
new_line = f"> {labels[locale]} <{link}>\n" new_line = f"> {labels[locale]} <{link}>\n"
elif locale in ["zh", "zh_TW"]: elif locale in ["zh", "zh_TW"]:
new_line = f"> {labels[locale]}<{link}>.\n" new_line = f"> {labels[locale]}<{link}>.\n"