• R/O
  • SSH
  • HTTPS

xangband: Commit


Commit MetaInfo

Révision1897 (tree)
l'heure2013-03-17 13:41:07
Auteuriks

Message de Log

Remove elvish*.txt to prevent some maintenances of this variant

Change Summary

Modification

--- TinyAngband/trunk/lib/file/elvish_j.txt (revision 1896)
+++ TinyAngband/trunk/lib/file/elvish_j.txt (nonexistent)
@@ -1,25 +0,0 @@
1-N:*:Default
2-丕
3-个
4-丱
5-乂
6-亞
7-从
8-丗
9-卍
10-卩
11-屮
12-乢
13-屶
14-巛
15-巫
16-幵
17-幺
18-爻
19-爿
20-矗
21-磊
22-艸
23-蟲
24-鹵
25-龜
--- TinyAngband/trunk/lib/file/elvish.txt (revision 1896)
+++ TinyAngband/trunk/lib/file/elvish.txt (nonexistent)
@@ -1,217 +0,0 @@
1-N:*:Default
2-adan
3-ael
4-in
5-agl
6-ar
7-aina
8-alda
9-al
10-qua
11-am
12-arth
13-amon
14-anca
15-an
16-dune
17-anga
18-anna
19-ann
20-on
21-ar
22-ien
23-atar
24-band
25-bar
26-ad
27-bel
28-eg
29-brag
30-ol
31-breth
32-il
33-brith
34-cal
35-en
36-gal
37-en
38-cam
39-car
40-ak
41-cel
42-eb
43-cor
44-on
45-cu
46-cui
47-vie
48-cul
49-curu
50-dae
51-dag
52-or
53-del
54-din
55-dol
56-dor
57-draug
58-du
59-duin
60-dur
61-ear
62-ech
63-or
64-edh
65-el
66-eith
67-elen
68-er
69-ereg
70-es
71-gal
72-fal
73-as
74-far
75-oth
76-faug
77-fea
78-fin
79-for
80-men
81-fuin
82-gaer
83-gaur
84-gil
85-gir
86-ith
87-glin
88-gol
89-odh
90-gond
91-gor
92-groth
93-grod
94-gul
95-gurth
96-gwaith
97-gwath
98-wath
99-had
100-hod
101-haudh
102-heru
103-him
104-hini
105-hith
106-hoth
107-hyar
108-men
109-ia
110-iant
111-iath
112-iaur
113-ilm
114-iluve
115-kal
116-gal
117-kano
118-kel
119-kemen
120-khel
121-ek
122-khil
123-kir
124-lad
125-laure
126-lhach
127-lin
128-lith
129-lok
130-lom
131-lome
132-londe
133-los
134-loth
135-luin
136-maeg
137-mal
138-man
139-mel
140-men
141-menel
142-mer
143-eth
144-min
145-as
146-mir
147-mith
148-mor
149-moth
150-nan
151-nar
152-naug
153-dil
154-dur
155-nel
156-dor
157-nen
158-nim
159-orn
160-orod
161-os
162-pal
163-an
164-pel
165-quen
166-quet
167-ram
168-ran
169-rant
170-ras
171-rauko
172-ril
173-rim
174-ring
175-ris
176-roch
177-rom
178-rond
179-ros
180-ruin
181-ruth
182-sarn
183-ser
184-eg
185-sil
186-sir
187-sul
188-tal
189-dal
190-tal
191-ath
192-tar
193-tath
194-ar
195-taur
196-tel
197-thal
198-thang
199-thar
200-thaur
201-thin
202-thol
203-thon
204-thor
205-on
206-til
207-tin
208-tir
209-tol
210-tum
211-tur
212-uial
213-ur
214-val
215-wen
216-wing
217-yave
--- TinyAngband/trunk/lib/file/Makefile.am (revision 1896)
+++ TinyAngband/trunk/lib/file/Makefile.am (revision 1897)
@@ -1,12 +1,10 @@
11 ## Makefile.am -- Process this file with automake to process Makefile.in
22
33 angband_files = \
4- aname.txt crime.txt dead.txt \
5- death.txt elvish.txt mondeath.txt \
4+ aname.txt crime.txt dead.txt death.txt mondeath.txt \
65 monfear.txt monfrien.txt monspeak.txt news.txt \
76 rumors.txt silly.txt timefun.txt timenorm.txt \
8- aname_j.txt crime_j.txt dead_j.txt \
9- death_j.txt elvish_j.txt mondeath_j.txt \
7+ aname_j.txt crime_j.txt dead_j.txt death_j.txt mondeath_j.txt \
108 monfear_j.txt monfrien_j.txt monspeak_j.txt news_j.txt \
119 rumors_j.txt silly_j.txt timefun_j.txt timenorm_j.txt \
1210 sname.txt nname.txt
--- TinyAngband/trunk/src/flavor.c (revision 1896)
+++ TinyAngband/trunk/src/flavor.c (revision 1897)
@@ -104,56 +104,18 @@
104104 /* make random name */
105105 void get_table_name(char *out_string)
106106 {
107-#ifdef JP
108107 char Syllable[80];
108+ char tmp[80];
109109
110- strcpy(out_string, "『");
111- get_rnd_line("aname_j.txt", 1, Syllable);
112- strcat(out_string, Syllable);
113- get_rnd_line("aname_j.txt", 2, Syllable);
114- strcat(out_string, Syllable);
115- strcat(out_string, "』");
116-#else
117-#if 1
118- char Syllable[80];
119-
120- strcpy(out_string, "'");
121- get_rnd_line("aname.txt", 1, Syllable);
122- strcat(out_string, Syllable);
123- get_rnd_line("aname.txt", 2, Syllable);
124- strcat(out_string, Syllable);
125- strcat(out_string, "'");
126- out_string[1] = toupper(out_string[1]);
127-#else
128- int testcounter = randint1(3) + 1;
129-
130- strcpy(out_string, "'");
131-
132- if (randint1(3) == 2)
133- {
134- while (testcounter--)
135- strcat(out_string, syllables[randint0(MAX_SYLLABLES)]);
136- }
137- else
138- {
139- char Syllable[80];
140- testcounter = randint1(2) + 1;
141- while (testcounter--)
142- {
143- (void)get_rnd_line("elvish.txt", 0, Syllable);
144- strcat(out_string, Syllable);
145- }
146- }
147-
148- out_string[1] = toupper(out_string[1]);
149-
150- strcat(out_string, "'");
110+ get_rnd_line(_("aname_j.txt", "aname.txt"), 1, Syllable);
111+ strcpy(tmp, Syllable);
112+ get_rnd_line(_("aname_j.txt", "aname.txt"), 2, Syllable);
113+ strcat(tmp, Syllable);
114+#ifndef JP
115+ tmp[1] = toupper(tmp[1]);
151116 #endif
152-#endif
117+ sprintf(out_string, _("『%s』", "'%s'"), tmp);
153118
154-
155- out_string[18] = '\0';
156-
157119 return;
158120 }
159121
Afficher sur ancien navigateur de dépôt.