OSDN Git Service

Changed Japanese translation for "New" to match what was suggested in hengbandforosx...
[hengbandforosx/hengbandosx.git] / src / autopick.c
index dbdb076..c58dfad 100644 (file)
@@ -1901,6 +1901,7 @@ bool autopick_autoregister(object_type *o_ptr)
        char pref_file[1024];
        FILE *pref_fff;
        autopick_type an_entry, *entry = &an_entry;
+       concptr tmp;
 
        int match_autopick = is_autopick(o_ptr);
 
@@ -2023,7 +2024,9 @@ bool autopick_autoregister(object_type *o_ptr)
 
        /* Add a line to the file */
        /* Don't kill "entry" */
-       fprintf(pref_fff, "%s\n", autopick_line_from_entry(entry));
+       tmp = autopick_line_from_entry(entry);
+       fprintf(pref_fff, "%s\n", tmp);
+       string_free(tmp);
        fclose(pref_fff);
 
        return TRUE;
@@ -2595,7 +2598,7 @@ static void describe_autopick(char *buff, autopick_type *entry)
        else if (IS_FLG(FLG_MISSILES))
                body_str = "shots, arrows or crossbow bolts";
        else if (IS_FLG(FLG_DEVICES))
-               body_str = "scrolls, wands, staves or rods";
+               body_str = "scrolls, wands, staffs or rods";
        else if (IS_FLG(FLG_LIGHTS))
                body_str = "light sources";
        else if (IS_FLG(FLG_JUNKS))
@@ -3971,8 +3974,8 @@ static GAME_TEXT MN_CL_QUERY[] = "';' (Query to pick up)";
 static GAME_TEXT MN_CL_NO_DISP[] = "'(' (No display on the large map)";
 
 static GAME_TEXT MN_ADJECTIVE_GEN[] = "Adjective (general)";
-static GAME_TEXT MN_RARE[] = "rare (equipments)";
-static GAME_TEXT MN_COMMON[] = "common (equipments)";
+static GAME_TEXT MN_RARE[] = "rare (equipment)";
+static GAME_TEXT MN_COMMON[] = "common (equipment)";
 
 static GAME_TEXT MN_ADJECTIVE_SPECIAL[] = "Adjective (special)";
 static GAME_TEXT MN_BOOSTED[] = "dice boosted (weapons)";