Sindbad~EG File Manager
#define ENGLISH_DLL
/* M. Beeson, for MathXpert.
To the translator: Do not translate this file directly. It is being
sent to you for information purposes only. What we need from you to
construct a version of this file for your language is simply a complete
list of all two-letter words used in translating mtext.c, ophelp1.c,
and ophelp2.c. The text enclosed in quotation marks below is essentially
such a list for the English version, but organized as program code.
You can just supply the list as text, we will organize it into code like this.
*/
#include <string.h>
#include "export.h" /* Do not translate this or the next 2 lines */
#include "english1.h"
#ifdef XCODE
#define _stricmp strcasecmp
#endif
/*_______________________________________________________________________*/
int Italian_two_letter_word(char *buffer)
/* return 0 if buffer contains a two-letter word that
occurs in MathXpert's menus or status line text.
Return 1 otherwise. Buffer is presumed to contain
two characters at least.
*/
{ switch(buffer[0])
{ case 'a':
case 'A':
if(!_stricmp(buffer,"al")
)
return 0;
return 1;
case 'b':
case 'B':
return 1;
case 'd':
case 'D':
if(!_stricmp(buffer,"di") || !_stricmp(buffer,"da"))
return 0;
if(!_stricmp(buffer,"de"))
return 0; /* occurs in 'de Moivre' */
return 1;
case 'g':
case 'G':
return 1;
case 'h':
case 'H':
if(!_stricmp(buffer,"ha") || !_stricmp(buffer,"ho"))
return 0;
return 1;
case 'i':
case 'I':
if(!_stricmp(buffer,"il")
)
return 0;
return 1;
case 'l':
if(!_stricmp(buffer,"ln"))
return 0;
if(!_stricmp(buffer,"la"))
return 0;
return 1;
case 'n':
case 'N':
if(!_stricmp(buffer,"no"))
return 0;
return 1;
case 'o':
case 'O':
return 1;
case 's':
case 'S':
return 1;
case 't':
case 'T':
return 1;
case 'u':
case 'U':
return 1;
case 'w':
case 'W':
return 1;
default:
return 1;
}
}
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists