Lines Matching refs:OUTFILE
47 open OUTFILE, ">$outfile" or die "$0 ERROR: cannot open $outfile for writing!\n";
49 print OUTFILE "// generated file, do not edit\n\n";
50 print OUTFILE "// languages used for last time generation\n";
51 print OUTFILE "// completelangiso: $completelangiso_var\n\n";
70 close OUTFILE;
75 print OUTFILE "#define ALL_LANG(ident, resid) ";
77 print OUTFILE "\\\n\tident ($lang) = resid";
78 print OUTFILE "; " if ( $lang ne $completelangiso[$#completelangiso]);
80 print OUTFILE "\n\n";
85 print OUTFILE "#define OTHER_LANGS ";
88 print OUTFILE "\\\n\tDosName ($lang) = \"$lang\"";
89 print OUTFILE "; " if ( $lang ne $completelangiso[$#completelangiso]);
91 print OUTFILE "\n\n";
96 print OUTFILE "#define DIR_ISOLANGUAGE_ALL_LANG_2 ";
97 print OUTFILE "\\\n\tDosName (en-US) = \"en-US\"; \\\n\t";
98 print OUTFILE "OTHER_LANGS";
99 print OUTFILE "\n\n";
104 print OUTFILE "#define DIR_ISOLANGUAGE_ALL_LANG ";
105 print OUTFILE "\\\n\tDosName (en-US) = \"en\"; \\\n\t";
106 print OUTFILE "OTHER_LANGS";
107 print OUTFILE "\n\n";
112 print OUTFILE "#define DIR_ISOLANGUAGE_ALL_LANG_LPROJ ";
116 print OUTFILE "\\\n\tDosName ($lang) = \"$speciallang.lproj\"";
117 print OUTFILE "; " if ( $lang ne $completelangiso[$#completelangiso]);
119 print OUTFILE "\n\n";
124 print OUTFILE "#define DIR_IDENT_ALL_LANG(name) ";
126 print OUTFILE "\\\n\tDosName ($lang) = STRING(name)";
127 print OUTFILE "; " if ( $lang ne $completelangiso[$#completelangiso]);
129 print OUTFILE "\n\n";
134 print OUTFILE "#define EXTRA_ALL_LANG(name,ext) ";
136 print OUTFILE "\\\n\tName ($lang) = CONFIGLANGFILENAME(name,_$lang,ext)";
137 print OUTFILE "; " if ( $lang ne $completelangiso[$#completelangiso]);
139 print OUTFILE "\n\n";
144 print OUTFILE "#define EXTRA_ALL_LANG_BUT_EN_US(name,ext) ";
148 print OUTFILE "; " unless $first;
150 print OUTFILE
154 print OUTFILE "\n\n";
160 print OUTFILE "#define EXTRA_ALL_GOOD_HELP_LOCALIZATIONS_LANG(name) ";
163 print OUTFILE ";" unless $first;
165 print OUTFILE "\\\n\tName ($lang) = EXTRAFILENAME(name,_$lang)";
167 print OUTFILE "\n\n";
172 print OUTFILE "#define EXTRA_IDENT_ALL_LANG(name) ";
174 print OUTFILE "\\\n\tName ($lang) = STRING(name)";
175 print OUTFILE "; " if ( $lang ne $completelangiso[$#completelangiso]);
177 print OUTFILE "\n\n";
182 print OUTFILE "#define RESFILE_ALL_LANG(name) ";
184 print OUTFILE "\\\n\tName ($lang) = RESFILENAME(name,$lang)";
185 print OUTFILE "; " if ( $lang ne $completelangiso[$#completelangiso]);
187 print OUTFILE "\n\n";
192 print OUTFILE "#define SHORT_RESFILE_ALL_LANG(name) ";
194 print OUTFILE "\\\n\tName ($lang) = SHORTRESFILENAME(name,$lang)";
195 print OUTFILE "; " if ( $lang ne $completelangiso[$#completelangiso]);
197 print OUTFILE "\n\n";
202 print OUTFILE "#define README_ALL_LANG(key, name) ";
204 print OUTFILE "\\\n\tkey ($lang) = READMEFILENAME(name,_$lang)";
205 print OUTFILE "; " if ( $lang ne $completelangiso[$#completelangiso]);
207 print OUTFILE "\n\n";
212 print OUTFILE "#define README_TXT_ALL_LANG(key, name, ext) ";
214 print OUTFILE "\\\n\tkey ($lang) = READMETXTFILENAME(name,_$lang,ext)";
215 print OUTFILE "; " if ( $lang ne $completelangiso[$#completelangiso]);
217 print OUTFILE "\n\n";
223 print OUTFILE "#define VALUE_ALL_LANG_LETTER_DIR ";
224 print OUTFILE "\\\n\tValue (en-US) = STRING(en);";
227 print OUTFILE "\\\n\tValue ($lang) = STRING($lang)";
228 print OUTFILE "; " if ( $lang ne $completelangiso[$#completelangiso]);
230 print OUTFILE "\n\n";
235 print OUTFILE "#define KEY_ALL_LANG_LETTER ";
237 print OUTFILE "\\\n\tKey ($lang) = STRING($lang)";
238 print OUTFILE "; " if ( $lang ne $completelangiso[$#completelangiso]);
240 print OUTFILE "\n\n";
245 print OUTFILE "#define FILE_ALL_LANG_LETTER(name, ext) ";
247 print OUTFILE "\\\n\tName ($lang) = CONFIGLANGFILENAME(name,$lang,ext)";
248 print OUTFILE "; " if ( $lang ne $completelangiso[$#completelangiso]);
250 print OUTFILE "\n\n";