Unit PasDoc_Languages
Uses
Variables
Description
PasDoc language definitions and translations.
Overview
Classes, Interfaces, Objects and Records
Name | Description |
---|---|
Record TLanguageRecord |
|
Class TPasDocLanguages |
Language class to hold all translated strings |
Functions and Procedures
function LanguageFromIndex(i: integer): string; |
function LanguageFromID(i: TLanguageID): string; |
function SyntaxFromIndex(i: integer): string; |
function SyntaxFromID(i: TLanguageID): string; |
function IDfromLanguage(const s: string): TLanguageID; |
function Translation(id: TTranslationID; lang: TLanguageID): string; |
function LanguageFromStr(S: string; out LanguageId: TLanguageID): boolean; |
function LanguageDescriptor(id: TLanguageID): PLanguageRecord; |
function LanguageCode(const Language: TLanguageID): string; |
Types
TLanguageID = (...); |
TTranslationID = (...); |
RTransTable = array[TTranslationID] of string; |
PTransTable = ˆRTransTable; |
PLanguageRecord = ˆTLanguageRecord; |
Constants
DEFAULT_LANGUAGE = lgEnglish; |
lgDefault = lgEnglish; |
Description
Functions and Procedures
function LanguageFromIndex(i: integer): string; |
Full language name |
function LanguageFromID(i: TLanguageID): string; |
function SyntaxFromIndex(i: integer): string; |
Language abbreviation |
function SyntaxFromID(i: TLanguageID): string; |
function IDfromLanguage(const s: string): TLanguageID; |
Search for language by short or long name |
function Translation(id: TTranslationID; lang: TLanguageID): string; |
Manual translation of id into lang |
function LanguageFromStr(S: string; out LanguageId: TLanguageID): boolean; |
Find a language with Syntax = S (case ignored). Returns |
function LanguageDescriptor(id: TLanguageID): PLanguageRecord; |
access LANGUAGE_ARRAY |
function LanguageCode(const Language: TLanguageID): string; |
Language code, using an official standardardized language names, suitable for Aspell or HTML. |
Types
TLanguageID = (...); |
An enumeration type of all supported languages Values
|
TTranslationID = (...); |
An enumeration type of all static output texts. Warning: count and order changed! Values
|
RTransTable = array[TTranslationID] of string; |
array holding the translated strings, or empty for default (English) text. |
PTransTable = ˆRTransTable; |
PLanguageRecord = ˆTLanguageRecord; |
language descriptor |
Constants
DEFAULT_LANGUAGE = lgEnglish; |
lgDefault = lgEnglish; |
Authors
Generated by PasDoc 0.16.0.