ICU-4758 Changes to conform to XLIFF 1.1 and the ICU Resource Bundle Profile document.

X-SVN-Rev: 21772
This commit is contained in:
Eric Mader 2007-06-18 23:36:49 +00:00
parent 9864bf50d6
commit 202d784973
3 changed files with 295 additions and 484 deletions

View File

@ -1377,6 +1377,17 @@ parseImport(char *tag, uint32_t startline, const struct UString* comment, UError
/* Open the input file for reading */
if (inputdir == NULL)
{
#if 1
/*
* Always save file file name, even if there's
* no input directory specified. MIGHT BREAK SOMETHING
*/
int32_t filenameLength = uprv_strlen(filename);
fullname = (char *) uprv_malloc(filenameLength + 1);
uprv_strcpy(fullname, filename);
#endif
file = T_FileStream_open(filename, "rb");
}
else

View File

@ -28,8 +28,8 @@ U_NAMESPACE_USE
#define MAX_SPLIT_STRINGS 20
const char *patternStrings[UPC_LIMIT]={
"^translate\\s*?(.*)",
"^note\\s*?(.*)"
"^translate\\s*(.*)",
"^note\\s*(.*)"
};
U_CFUNC int32_t

File diff suppressed because it is too large Load Diff