diff --git a/doc/README-ja.md b/doc/README-ja.md index e1a0cd7..cb331c8 100644 --- a/doc/README-ja.md +++ b/doc/README-ja.md @@ -360,7 +360,7 @@ let g:syntastic_shell_checkers = ['shellcheck'] scrooloose / syntastic – 構文チェックプラグイン cheat.sh-vim – Vimのサポート -Syntasticは警告とエラー(code analysysツールで見つかった: jshint 、 jshint 、 pylint 、 shellcheckt etc.), and cheat.sh-vim`を表示すると、エディタに書き込まれたプログラミング言語のクエリに関するエラーと警告と回答の説明が表示されます。 +Syntasticは警告とエラー(code analysisツールで見つかった: jshint 、 jshint 、 pylint 、 shellcheckt etc.), and cheat.sh-vim`を表示すると、エディタに書き込まれたプログラミング言語のクエリに関するエラーと警告と回答の説明が表示されます。 cheat.sh Vimプラグインの最も重要な機能が表示されているデモをご覧ください(5分): diff --git a/lib/panela/panela_colors.py b/lib/panela/panela_colors.py index 00bf58b..188f616 100644 --- a/lib/panela/panela_colors.py +++ b/lib/panela/panela_colors.py @@ -306,7 +306,7 @@ class Panela: def put_line(self, x1, y1, x2, y2, char=None, color=None, background=None): """ - Draw line (x1, y1) - (x2, y2) fith foreground color , background color + Draw line (x1, y1) - (x2, y2) fill foreground color , background color and character , if specified. """ @@ -394,7 +394,7 @@ class Panela: def paint(self, x1, y1, x2, y2, c1, c2=None, bg1=None, bg2=None, angle=None, angle_bg=None): """ Paint rectangle (x1,y1) (x2,y2) with foreground color c1 and background bg1 if specified. - If spefied colors c2/bg2, rectangle is painted with linear gradient (inclined under angle). + If specified colors c2/bg2, rectangle is painted with linear gradient (inclined under angle). """ def calculate_color(i, j): diff --git a/lib/routing.py b/lib/routing.py index e45002e..d012c9a 100644 --- a/lib/routing.py +++ b/lib/routing.py @@ -160,7 +160,7 @@ class Router(object): wrongly_formatted_random = topic[:-8] return wrongly_formatted_random - #Here if not a random requst, we just forward the topic + #Here if not a random request, we just forward the topic return topic def get_answers(self, topic: str, request_options:Dict[str, str] = None) -> List[Dict[str, Any]]: diff --git a/share/adapters/oeis.sh b/share/adapters/oeis.sh index d2b64ba..c8884ae 100755 --- a/share/adapters/oeis.sh +++ b/share/adapters/oeis.sh @@ -61,7 +61,7 @@ oeis() ( # Print Description (%N) grep '%N' $DOC | sed "s/^.*${ID} //" printf '\n' - # Print Sequence (Three sections %S %T nd %U) + # Print Sequence (Three sections %S %T and %U) grep '%S' $DOC | sed "s/^.*${ID} //" | tr -d '\n' > $TMP/seq grep '%T' $DOC | sed "s/^.*${ID} //" | tr -d '\n' >> $TMP/seq grep '%U' $DOC | sed "s/^.*${ID} //" | tr -d '\n' >> $TMP/seq diff --git a/share/cht.sh.txt b/share/cht.sh.txt index 2f662ac..c75edf8 100755 --- a/share/cht.sh.txt +++ b/share/cht.sh.txt @@ -114,7 +114,7 @@ You can switch the mode with the --mode switch: cht.sh --mode lite # use https://cheat.sh/ only cht.sh --mode auto # use local installation -For intallation and standalone usage, you need \`git\`, \`python\`, +For installation and standalone usage, you need \`git\`, \`python\`, and \`virtualenv\` to be installed locally. EOF return @@ -731,7 +731,7 @@ cmd_update() { curl -s "${CHTSH_URL}"/:cht.sh > "$TMP2" if ! cmp "$0" "$TMP2" > /dev/null 2>&1; then if grep -q ^__CHTSH_VERSION= "$TMP2"; then - # section was vaildated by us already + # section was validated by us already args=(--shell "$section") cp "$TMP2" "$0" && echo "Updated. Restarting..." && rm "$TMP2" && CHEATSH_RESTART=1 exec "$0" "${args[@]}" else diff --git a/share/intro.txt b/share/intro.txt index c4203a4..69451a9 100644 --- a/share/intro.txt +++ b/share/intro.txt @@ -36,8 +36,8 @@ search term will be displayed: {1curl cht.sh/tar}{2~extract} -If the name of the cheat sheet is omitted, and only the serch query is specified, -all cheat sheets in the namespace are scanned, and the found occurrencies +If the name of the cheat sheet is omitted, and only the search query is specified, +all cheat sheets in the namespace are scanned, and the found occurrences are displayed: {1curl cht.sh/}{2~extract} @@ -147,7 +147,7 @@ Text in the answers is syntactically formatted as comment in the correspondent programming language When using cht.sh, you can copy the result of the last query into the selection -buffer (you may also call it "clibpoard") using {2C} (or {2c}, with text): +buffer (you may also call it "clipboard") using {2C} (or {2c}, with text): {1cht.sh/python> reverse list} {4...}