Skip to content

Commit 878e313

Browse files
committed
Update README
1 parent c3fa4e0 commit 878e313

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

README.ja.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ A powerful and flexible Emacs major mode for editing PHP scripts
1717
[GitHubプロジェクト][php-mode]にissueを作成してバグ報告や機能リクエストを送ってください。
1818

1919
> [!NOTE]
20-
> [最新版][releases]のPHP ModeはEmacs 30をサポートしています。<br />アップグレードに伴うトラブルは[Discussions][disscussions-emacs30]に気軽に書き込んでください。
20+
> [最新版][releases]のPHP ModeはEmacs 30をサポートしています。<br />アップグレードに伴うトラブルは[Discussions][discussions-emacs30]に気軽に書き込んでください。
2121
2222
> [!WARNING]
2323
> Emacsをアップグレードした直後に初めてPHPファイルを開いたときに、CC Mode関連のエラーが発生する可能性があります。これは以前のバージョンのEmacsでバイトコンパイルされたPHP Modeがディスクにキャッシュされているために起こるので、PHP Modeの再インストールによって解決します。
2424
>
2525
> **`M-x php-mode-debug-reinstall`** または **`M-x package-reinstall php-mode`** コマンドをお試しください。
2626
2727
[releases]: https://github.com/emacs-php/php-mode/releases
28-
[disscussions-emacs30]: https://github.com/emacs-php/php-mode/discussions/798
28+
[discussions-emacs30]: https://github.com/emacs-php/php-mode/discussions/798
2929

3030
## インストール
3131

README.md

+10-9
Original file line numberDiff line numberDiff line change
@@ -17,33 +17,35 @@ English &nbsp;&nbsp;|&nbsp;&nbsp; [日本語](README.ja.md)
1717
Please submit any bug reports or feature requests by creating issues on [the GitHub page for PHP Mode][php-mode].
1818

1919
> [!NOTE]
20-
> The [latest version][releases] of PHP Mode supports Emacs 30. <br />Please feel free to [write to disucuss][disscussions-emacs30] if you have problems upgrading to Emacs 29.
20+
> The [latest version][releases] of PHP Mode supports Emacs 30.
21+
> Please feel free to [open a discussion][discussions-emacs30] if you have any issues upgrading to Emacs 30.
2122
2223
> [!WARNING]
2324
> After upgrading Emacs, when you open a PHP file for the first time, you may encounter errors related to CC Mode. These errors occur because a previously byte-compiled version of PHP Mode, cached on your disk, differs from the newly installed one. Reinstalling PHP Mode should resolve the issue.
2425
>
2526
> Try running **`M-x php-mode-debug-reinstall`** or **`M-x package-reinstall php-mode`**.
2627
2728
[releases]: https://github.com/emacs-php/php-mode/releases
28-
[disscussions-emacs30]: https://github.com/emacs-php/php-mode/discussions/798
29+
[discussions-emacs30]: https://github.com/emacs-php/php-mode/discussions/798
2930

3031
## Installation
3132

32-
**PHP Mode works with Emacs 27.1 or later**. For details on supported versions, see [Supported Version]. Emacs 28 or later can be installed simply by running the following command.
33+
**PHP Mode works with Emacs 27.1 or later.** For details on supported versions, see [Supported Version].
34+
On Emacs 28 or later, you can install it simply by running:
3335

3436
```
3537
M-x package-install php-mode
3638
```
3739

38-
By [adding MELPA to `package-archives`][melpa-getting-started], you can extend Emacs with many packages from the web.
40+
By [adding MELPA to `package-archives`][melpa-getting-started], you can extend Emacs with numerous packages from the web.
3941

40-
If you don't want to depend on a package manager, you can install Lisp files directly in the traditional way. See [Manual installation][wiki-manual-installation] for our recommended setup method.
42+
If you prefer not to rely on a package manager, you can install the Lisp files directly in the traditional manner. See [Manual installation][wiki-manual-installation] for our recommended method.
4143

4244
## Configuration
4345

4446
### Personal Settings
4547

46-
You can add configurations for PHP mode in the .emacs file (`~/.emacs.d/init.el`):
48+
You can add configurations for PHP Mode in your `.emacs` file (`~/.emacs.d/init.el`):
4749

4850
```lisp
4951
(defun my-php-mode-init ()
@@ -67,7 +69,7 @@ You can add configurations for PHP mode in the .emacs file (`~/.emacs.d/init.el`
6769

6870
### Project Setting
6971

70-
You can add project-specific settings by creating a `.dir-locals.el` or `.dir-locals-2.el` file in the project's root directory. It is recommended not to put these files under version control, as they depend on the packages installed in each user's Emacs.
72+
You can add project-specific settings by creating a `.dir-locals.el` or `.dir-locals-2.el` file in the project's root directory. It is recommended not to put these files under version control, as they depend on the packages installed on each user's Emacs.
7173

7274
```lisp
7375
((nil
@@ -77,13 +79,12 @@ You can add project-specific settings by creating a `.dir-locals.el` or `.dir-lo
7779

7880
## Reporting Bugs
7981

80-
When reporting a bug please run the function `M-x php-mode-debug` and include its output in your bug report. This helps up reproduce any problem you may have.
82+
When reporting a bug, please run `M-x php-mode-debug` and include its output in your bug report. This helps us reproduce any issues you may be experiencing.
8183

8284
## How to Contribute
8385

8486
Please see [CONTRIBUTING.md](CONTRIBUTING.md#english).
8587

86-
8788
## Copyright
8889

8990
PHP Mode is licensed under [GNU General Public License Version 3][gpl-v3] (GPLv3).

0 commit comments

Comments
 (0)