*: fix typos in command names (#11730)

* *: fix typos in command names

* command name fixes in other languages

* fix incorrectly translated commands

* change incorrect file name

* qm move disk alias pages

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
pull/23/head
Juri Dispan 2023-12-14 13:11:19 +01:00 committed by GitHub
parent f1be2745a7
commit 9d383ade68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
18 changed files with 43 additions and 20 deletions

View File

@ -1,4 +1,4 @@
# apt
# apt-get
> أداة إدارة الحزم لديبيان وأوبونتو.
> ابحث عن الحزم باستخدام `apt-cache`.

View File

@ -1,4 +1,4 @@
# gplusplus
# g++
> Kompiliere C++ Quelldateien.
> Teil der GCC (GNU Compiler Collection).

View File

@ -1,4 +1,4 @@
# cortar
# cut
> Cortar campos sean `stdin` o archivos.
> Más información: <https://manned.org/man/freebsd-13.0/cut.1>.

View File

@ -1,4 +1,4 @@
# Compartir Internet
# InternetSharing
> Configura Internet Sharing.
> No debe invocarse manualmente.

View File

@ -1,4 +1,4 @@
# iwr
# sl
> Perintah ini merupakan alias dari `Set-Location` di PowerShell.
> Informasi lebih lanjut: <https://learn.microsoft.com/powershell/module/microsoft.powershell.management/set-location>.

View File

@ -1,4 +1,4 @@
# Bugreport
# bugreportz
> जिप गरिएको एन्ड्रोइड बग रिपोर्ट उत्पन्न गर्नुहोस्।
> यो आदेश `adb shell` मार्फत मात्र प्रयोग गर्न सकिन्छ।

View File

@ -1,4 +1,4 @@
# gplusplus
# g++
> Compila arquivos de código fonte C++.
> Parte do GCC (GNU Compiler Collection).

View File

@ -1,4 +1,4 @@
# arecored
# arecord
> ALSA 声卡驱动的声音录制器。
> 更多信息:<https://manned.org/arecord>.

View File

@ -1,16 +1,16 @@
# gemtopbm
# gemtopnm
> Convert a GEM image file into a PNM image.
> More information: <https://netpbm.sourceforge.net/doc/gemtopnm.html>.
- Convert a GEM image file to a PNM image:
`gemtopbm {{path/to/file.img}} > {{path/to/output.pbm}}`
`gemtopnm {{path/to/file.img}} > {{path/to/output.pnm}}`
- Describe the contents of the specified GEM image:
`gemtopbm -d {{path/to/file.img}}`
`gemtopnm -d {{path/to/file.img}}`
- Display version:
`gemtopbm -version`
`gemtopnm -version`

View File

@ -1,4 +1,4 @@
# kubectl edit
# kubectl expose
> Expose a resource as a new Kubernetes service.
> More information: <https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#expose>.

View File

@ -1,6 +1,6 @@
# kubectl edit
# kubectl label
> Edit Kubernetes resources.
> Label Kubernetes resources.
> More information: <https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#label>.
- Label a pod:

View File

@ -1,4 +1,4 @@
# kubectl edit
# kubectl scale
> Set a new size for a deployment, replica set, replication controller, or stateful set.
> More information: <https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#scale>.

View File

@ -1,4 +1,4 @@
# tldr platform
# tlmgr platform
> Manage TeX Live platforms.
> More information: <https://www.tug.org/texlive/tlmgr.html>.

View File

@ -1,8 +1,8 @@
# qm move_disk
# qm move disk
> This command and `qm move-disk` is an alias of `qm disk move`.
> This command is an alias of `qm disk move`.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
- View documentation for the original command:
`tldr qm-disk-move`
`tldr qm disk move`

View File

@ -0,0 +1,8 @@
# qm move disk
> This command is an alias of `qm disk move`.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
- View documentation for the original command:
`tldr qm disk move`

15
scripts/wrong-filename.sh Executable file
View File

@ -0,0 +1,15 @@
#!/bin/sh
# SPDX-License-Identifier: MIT
set -e
for path in $(find . -name '*.md' -type f); do
COMMAND_NAME_FILE=$(basename "$path" | head -c-4 | tr '-' ' ' | tr '[:upper:]' '[:lower:]')
COMMAND_NAME_PAGE=$(head -n1 "$path" | tail -c+3 | tr '-' ' ' | tr '[:upper:]' '[:lower:]')
if [ "$COMMAND_NAME_FILE" != "$COMMAND_NAME_PAGE" ]; then
echo "$path"
echo "$COMMAND_NAME_FILE"
echo "$COMMAND_NAME_PAGE"
echo "\n\n"
fi
done