OSDN Git Service

Merge pull request #24 from backwardsEric/english-player-attack-edits
authorHourier <66951241+Hourier@users.noreply.github.com>
Tue, 9 Feb 2021 10:38:30 +0000 (19:38 +0900)
committerGitHub <noreply@github.com>
Tue, 9 Feb 2021 10:38:30 +0000 (19:38 +0900)
3.0.0.0: minor English edits for src/player-attack

.github/workflows/buildtest-on-linux.yml [new file with mode: 0644]
src/player-info/body-improvement-info.c
src/player-info/class-ability-info.c
src/player-info/weapon-effect-info.c

diff --git a/.github/workflows/buildtest-on-linux.yml b/.github/workflows/buildtest-on-linux.yml
new file mode 100644 (file)
index 0000000..bc9af7c
--- /dev/null
@@ -0,0 +1,43 @@
+name: Build test on Linux
+
+on:
+  # プルリクエストがopen、synchronize、reopenされた時にトリガーする
+  pull_request:
+
+  # 手動トリガーを許可
+  workflow_dispatch:
+
+jobs:
+  build_test:
+    name: Build test on Ubuntu-20.04
+    runs-on: ubuntu-20.04
+    env:
+      CFLAGS: "-pipe -Werror -Wall -Wextra -Wno-format-overflow -Wno-switch -Wno-sign-compare -Wno-unused-parameter -Wno-unused-function"
+    steps:
+      - uses: actions/checkout@v2
+
+      - name: Install required packages
+        run: |
+          sudo apt-get update
+          sudo apt-get install \
+            libncursesw5-dev \
+            libcurl4-openssl-dev \
+            nkf \
+
+      - name: Generate configure
+        run: ./bootstrap
+
+      - name: Configuratoin for Japanese version
+        run: ./configure
+
+      - name: Build Japanese version
+        run: make
+
+      - name: Clean source tree
+        run: make clean
+
+      - name: Configure for English versoin
+        run: ./configure --disable-japanese
+
+      - name: Build English version
+        run: make
index 9d0c431..7da84b8 100644 (file)
@@ -98,10 +98,10 @@ void set_body_improvement_info_3(player_type *creature_ptr, self_info_type *self
         self_ptr->info[self_ptr->line++] = _("あなたは少ない消費魔力で魔法を唱えることができる。", "You can cast spells with fewer mana points.");
 
     if (creature_ptr->easy_spell)
-        self_ptr->info[self_ptr->line++] = _("あなたは低い失敗率で魔法を唱えることができる。", "Fail rate of your magic is decreased.");
+        self_ptr->info[self_ptr->line++] = _("あなたは低い失敗率で魔法を唱えることができる。", "Your magic fails less often.");
 
     if (creature_ptr->heavy_spell)
-        self_ptr->info[self_ptr->line++] = _("あなたは高い失敗率で魔法を唱えなければいけない。", "Fail rate of your magic is increased.");
+        self_ptr->info[self_ptr->line++] = _("あなたは高い失敗率で魔法を唱えなければいけない。", "Your magic fails more often.");
 
     if (creature_ptr->mighty_throw)
         self_ptr->info[self_ptr->line++] = _("あなたは強く物を投げる。", "You can throw objects powerfully.");
index 5399bff..b39be2c 100644 (file)
@@ -106,7 +106,7 @@ void set_class_ability_info(player_type *creature_ptr, self_info_type *self_ptr)
             = _("あなたは1体の生命のあるモンスターを支配することができる。(レベル/4 MP)", "You can dominate a monster (cost level/4).");
         if (creature_ptr->lev > 29)
             self_ptr->info[self_ptr->line++] = _("あなたは視界内の生命のあるモンスターを支配することができる。((レベル+20)/2 MP)",
-                "You can dominate living monsters in sight (cost (level+20)/4).");
+                "You can dominate living monsters in sight (cost (level+20)/2).");
 
         break;
     case CLASS_MAGIC_EATER:
index 8520a06..60f043e 100644 (file)
@@ -98,7 +98,7 @@ void set_weapon_effect_info(player_type *creature_ptr, self_info_type *self_ptr)
     set_brand_attack_info(self_ptr);
     set_slay_info(self_ptr);
     if (has_flag(self_ptr->flags, TR_FORCE_WEAPON))
-        self_ptr->info[self_ptr->line++] = _("あなたの武器はMPを使って攻撃する。", "Your weapon causes greate damages using your MP.");
+        self_ptr->info[self_ptr->line++] = _("あなたの武器はMPを使って攻撃する。", "Your weapon causes great damage using your MP.");
 
     if (has_flag(self_ptr->flags, TR_THROW))
         self_ptr->info[self_ptr->line++] = _("あなたの武器は投げやすい。", "Your weapon can be thrown well.");