hackaround for translators who don't do their job properly
This commit is contained in:
parent
1bc76aa1cd
commit
c9aef0e606
3 changed files with 7 additions and 1 deletions
|
|
@ -1,2 +1,2 @@
|
|||
[default]
|
||||
SWWM_MODVER="\cxSWWM GZ\c- r251 (Tue 19 May 14:41:43 CEST 2020)";
|
||||
SWWM_MODVER="\cxSWWM GZ\c- r251 (Tue 19 May 15:10:31 CEST 2020)";
|
||||
|
|
|
|||
|
|
@ -188,6 +188,12 @@ int main( void )
|
|||
};
|
||||
for ( int i=0; i<NLANGS; i++ )
|
||||
{
|
||||
// [HACKAROUND] only generate if there's no ignore file,
|
||||
// because some people don't do things the right way
|
||||
char ignpath[256];
|
||||
snprintf(ignpath,256,"%s/.ignoreme",langs[i]);
|
||||
struct stat s;
|
||||
if ( !stat(ignpath,&s) ) continue;
|
||||
lf = fopen(langfiles[i],"wb");
|
||||
if ( !lf ) continue;
|
||||
fprintf(lf,"// this file was generated by mklang, "
|
||||
|
|
|
|||
0
lore/ru/.ignoreme
Normal file
0
lore/ru/.ignoreme
Normal file
Loading…
Add table
Add a link
Reference in a new issue