3 HII String Packs
Unicode files used for creating HII String Packs have the following format:
<StringFileFormat> ::= <CommentLine>*
<LanguageDefs>
<Content>+
The following EBNF describes content is specific to the Unicode files used for generating HII String Packs.
<Content> ::= {<CommentLine>} {<BlankLine>}
{<UnicodeLines>} {<ControlRefactor>}
{<LanguageDefs>} {<SecurityLines>}
{<IncludeLines>}
Additional Definitions used for Unicode files used to create HII String Packs.
<LanguageDefs> ::= <CtrlChar> "langdef" <MS> <LangCode> <MS>
<LangDesc> <EOL>
<LangDesc> ::= <UDblQuote> <Chars> <UDblQuote>
<IncludeLines> ::= <CtrlChar> "include" <UniFile> <EOL>
<UniFile> ::= <UDblQuote> <UniFilename> <UDblQuote>
<UniFilename> ::= <FilenameChars> <MoreFNameChars>* {".uni"} {".UNI"}
<FilenameChars> ::= {<Letter>} {<Digit>}
<MoreFNameChars> ::= {<Letter>} {<Digit>} {"_"}
<CtrlChar> ::= "/"
<ControlRefactor> ::= <CtrlChar> "=" <NewCtrlChar> <EOL>
<NewCtrlChar> ::= (0x0021 - 0xF6FF)
NOTE: Unicode files that are used for generating HII String Packs are the
only type of Unicode file that allows for refactoring the control character
(providing backward compatibility), <CtrlChar>
.
3.1 Example file
//
// Cpu I/O Strings
//
// Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
//
// This program and the accompanying materials are licensed and made
// available under the terms and conditions of the BSD License which
// accompanies this distribution. The full text of the license may
// be found at:
// http://opensource.org/licenses/bsd-license.php
//
// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS
// OR IMPLIED.
//
/= #
#langdef en-US "English, US"
#langdef fr-FR "Français"
#string STR_PROCESSOR_VERSION
#language en-US "NT32 Emulated Processor"
#language fr-FR "Processeur Émulé par NT32"