-
Notifications
You must be signed in to change notification settings - Fork 0
DotNet.Localization.Class.DisplayText
EliteDangerousAlmanac / Localization / DisplayText
Defined in: dotnet/src/EliteDangerousAlmanac/Localization/DisplayText.cs:30
Source-backed display names and descriptions for the outfitting, personal-equipment, engineering, material and market catalogues.
The display text this package builds rather than a source publishes.
Every lookup takes the identifier its owning catalogue is keyed by — a Frontier symbol, or the library identifier where the game publishes none, as for a suit tool — and a BCP 47 tag. Case and surrounding whitespace are ignored on both.
English is complete. For a name it is the owning record's own name, and for a description it is the game's display prose, which no other catalogue publishes. Every other language is sparse: a lookup answers null where the pinned source carries no translation, which leaves the application in charge of its own fallback policy. Read GameLocale for how a tag is matched.
A catalogue loads from its shared data file on first use. Every record is immutable, so one caller cannot change another caller's answers.
A mount label, a slot name and a diagnostic message are English prose written here. A lookup answers one for an English tag alone and null otherwise, so an application never mistakes English for the language it asked for. The stable codes beside a diagnostic stay readable whatever the tag, for an application that supplies a message catalogue of its own.
staticBlueprintName(blueprintSymbol,locale):string?
Defined in: dotnet/src/EliteDangerousAlmanac/Localization/DisplayText.cs:113
Reads an engineering blueprint's display name.
string?
The blueprint symbol, such as FSD_LongRange.
string?
A BCP 47 tag.
string?
The name, or null for a miss.
staticCalculationIssueMessage(issue,locale):string?
Defined in: dotnet/src/EliteDangerousAlmanac/Localization/DisplayText.Diagnostics.cs:121
Reads a calculation finding's message.
The finding.
string?
A BCP 47 tag.
string?
The message, or null for a tag that is not English.
ArgumentNullException
The finding is absent.
staticCodexRegionName(regionId,locale):string?
Defined in: dotnet/src/EliteDangerousAlmanac/Localization/DisplayText.cs:163
Reads a galactic codex region's display name.
int
The region identifier, 1 to 42, as Astronomy.CodexRegion.Id carries it. Region 0 means "outside the mapped region grid" and has no name.
string?
A BCP 47 tag, such as de or de-DE.
string?
The name, or null where the identifier is outside 1 to 42 or the catalogue carries no such language.
The catalogue is keyed by the region identifier, not by the English name, because the identifier is the region's stable identity and the name is the value being translated.
Every stored language is complete, so a language it carries always answers. The game leaves many regions untranslated in some languages, and spells Izanami, Temple, Mare Somnia, Xibalba and Tenebrae alike in all six. Those source values are stored verbatim rather than read as a missing translation.
staticCommodityName(symbol,locale):string?
Defined in: dotnet/src/EliteDangerousAlmanac/Localization/DisplayText.cs:137
Reads a market commodity's display name.
string?
The commodity symbol, such as Gold.
string?
A BCP 47 tag.
string?
The name, or null for a miss.
staticExperimentalEffectDescription(effectSymbol,locale):string?
Defined in: dotnet/src/EliteDangerousAlmanac/Localization/DisplayText.cs:130
Reads an experimental effect's description.
string?
The effect symbol.
string?
A BCP 47 tag.
string?
The game's own display prose, or null for a miss. No other catalogue publishes it, English included.
staticExperimentalEffectName(effectSymbol,locale):string?
Defined in: dotnet/src/EliteDangerousAlmanac/Localization/DisplayText.cs:120
Reads an experimental effect's display name.
string?
The effect symbol, such as Weapon_Overload.
string?
A BCP 47 tag.
string?
The name, or null for a miss.
staticLoadoutEditErrorMessage(error,locale):string?
Defined in: dotnet/src/EliteDangerousAlmanac/Localization/DisplayText.Diagnostics.cs:143
Reads a refused edit's message.
The refusal.
string?
A BCP 47 tag.
string?
The message, or null for a tag that is not English.
ArgumentNullException
The refusal is absent.
staticLoadoutIssueMessage(issue,locale):string?
Defined in: dotnet/src/EliteDangerousAlmanac/Localization/DisplayText.Diagnostics.cs:110
Reads a validation finding's message.
The finding.
string?
A BCP 47 tag.
string?
The message, or null for a tag that is not English.
ArgumentNullException
The finding is absent.
staticLoadoutSlotName(slot,locale):string?
Defined in: dotnet/src/EliteDangerousAlmanac/Localization/DisplayText.Diagnostics.cs:87
Reads a ship mount's label.
The mount, as the hull states it.
string?
A BCP 47 tag.
string?
The label, or null for a tag that is not English.
ArgumentNullException
The mount is absent.
staticMaterialName(symbol,locale):string?
Defined in: dotnet/src/EliteDangerousAlmanac/Localization/DisplayText.cs:173
Reads an engineering material's display name.
string?
The material symbol, such as GridResistors.
string?
A BCP 47 tag.
string?
The name, or null for a miss.
staticMicroResourceName(symbol,locale):string?
Defined in: dotnet/src/EliteDangerousAlmanac/Localization/DisplayText.cs:180
Reads an Odyssey micro-resource's display name.
string?
The micro-resource symbol, such as graphene.
string?
A BCP 47 tag.
string?
The name, or null for a miss.
staticModuleName(symbol,locale):string?
Defined in: dotnet/src/EliteDangerousAlmanac/Localization/DisplayText.cs:92
Reads an outfitting module's display name.
string?
Frontier's module symbol, such as Int_Hyperdrive_Size6_Class5.
string?
A BCP 47 tag, such as de or de-DE.
string?
The name, or null where no module carries the symbol or the catalogue carries no such language.
Every stored language is complete for this catalogue, so a language it carries always answers. This lookup reads the name table alone, and never the module stats.
staticOutfittingFamilyName(familyId,locale):string?
Defined in: dotnet/src/EliteDangerousAlmanac/Localization/DisplayText.cs:106
Reads an outfitting family's display name.
string?
The family identifier, such as shieldGenerators.
string?
A BCP 47 tag.
string?
The name, or null where no family carries the identifier or the source publishes no label for it.
This catalogue is the sparsest one: a family the game does not name separately in its outfitting menu has English alone.
staticPersonalModificationDescription(modificationSymbol,locale):string?
Defined in: dotnet/src/EliteDangerousAlmanac/Localization/DisplayText.cs:225
Reads a personal modification's description.
string?
The recipe symbol.
string?
A BCP 47 tag.
string?
The game's own display prose, or null for a miss.
staticPersonalModificationName(modificationSymbol,locale):string?
Defined in: dotnet/src/EliteDangerousAlmanac/Localization/DisplayText.cs:218
Reads a personal modification's display name.
string?
The recipe symbol, such as weapon_scope.
string?
A BCP 47 tag.
string?
The name, or null for a miss.
staticPersonalMountName(mount,locale):string?
Defined in: dotnet/src/EliteDangerousAlmanac/Localization/DisplayText.Diagnostics.cs:74
Reads a suit weapon mount's label.
The mount.
string?
A BCP 47 tag.
string?
The label, or null for a tag that is not English, or a mount no suit carries.
ArgumentNullException
The mount is absent.
staticPersonalToolName(id,locale):string?
Defined in: dotnet/src/EliteDangerousAlmanac/Localization/DisplayText.cs:204
Reads a suit tool's display name.
string?
The tool identifier, such as energylink.
string?
A BCP 47 tag.
string?
The name, or null for a miss.
staticPersonalWeaponDescription(symbol,locale):string?
Defined in: dotnet/src/EliteDangerousAlmanac/Localization/DisplayText.cs:211
Reads a personal weapon's description.
string?
The weapon's item symbol.
string?
A BCP 47 tag.
string?
The game's own display prose, or null for a miss.
staticPreEngineeredVariantName(variant,locale):string?
Defined in: dotnet/src/EliteDangerousAlmanac/Localization/DisplayText.Diagnostics.cs:51
Reads a pre-engineered variant's display name.
The variant, which names the article the game sells.
string?
A BCP 47 tag.
string?
The name, or null where no record carries the variant or the source publishes no spelling for the language.
A variant is named by its whole identity rather than by its base module: one hull module carries several purchased articles, and each has a name of its own.
ArgumentNullException
The variant is absent.
staticSlefDiagnosticMessage(diagnostic,locale):string?
Defined in: dotnet/src/EliteDangerousAlmanac/Localization/DisplayText.Diagnostics.cs:132
Reads an import diagnostic's message.
The diagnostic.
string?
A BCP 47 tag.
string?
The message, or null for a tag that is not English.
ArgumentNullException
The diagnostic is absent.
staticSlotRestrictionLabel(restriction,locale):string?
Defined in: dotnet/src/EliteDangerousAlmanac/Localization/DisplayText.Diagnostics.cs:100
Reads the label for what a restricted mount takes.
The restriction the mount carries.
string?
A BCP 47 tag.
string?
The label, or null for a tag that is not English, or a restriction this package carries no label for.
staticSuitDescription(suit,locale):string?
Defined in: dotnet/src/EliteDangerousAlmanac/Localization/DisplayText.cs:197
Reads a personal suit's description.
string?
The suit family or a grade-specific item symbol.
string?
A BCP 47 tag.
string?
The game's own display prose, or null for a miss.
staticSuitName(suit,locale):string?
Defined in: dotnet/src/EliteDangerousAlmanac/Localization/DisplayText.cs:190
Reads a personal suit's display name.
string?
The suit family, such as utilitysuit, or a grade-specific item symbol.
string?
A BCP 47 tag.
string?
The name, or null for a miss.
A suit is named once for its family, so every grade answers alike.
Guides
Astronomy
Classes (16)
Records (29)
- AbsoluteBoxel
- AtmosphereComponent
- BodyComposition
- BodyParent
- BodyProperties
- BodyRing
- BodyScanEvent
- BoxelCodexRegion
- BoxelLetters
- CodexRegion
- CodexRegionBounds
- DecodedSystemAddress
- GalacticPlanePosition
- GalacticPosition
- HandAuthoredRegion
- HandAuthoredSphere
- MassStabilityAssessment
- NamingRegionOrigin
- Nebula
- NebulaNearby
- OrbitExtents
- PermitLock
- PermitLockedSystem
- RingDynamics
- RocheLimits
- SectorGridPosition
- SpinOrbitResonance
- SurfaceMaterial
- SystemNameParts
Commodities
Classes (2)
Records (1)
Enumerations (1)
Equipment
Classes (8)
Records (19)
- FittedPersonalModification
- FittedPersonalWeapon
- PersonalEngineeringIngredient
- PersonalModification
- PersonalModifier
- PersonalMount
- PersonalTool
- PersonalWeapon
- PersonalWeaponGrade
- PersonalWeaponMetrics
- ReloadTime
- ScopeMagnification
- Suit
- SuitGrade
- SuitIdentity
- SuitLoadout
- SuitLoadoutEvent
- SuitLoadoutImportOutcome
- SuitLoadoutModuleEvent
Materials
Classes (5)
Records (2)
Enumerations (4)
Ships
Classes (42)
- Ammunition
- Armour
- BlueprintCatalogue
- BlueprintCosts
- BlueprintJournal
- BuildMetrics
- BuildSlots
- CalculationResult\<T\>
- CalculationResult
- DefaultLoadouts
- Distributor
- Engineering
- EngineeringOptions
- ExperimentalEffectCatalogue
- ExperimentalEffectCosts
- Gunsights
- Heat
- JumpRange
- LoadoutCalculations
- LoadoutEditException
- LoadoutValidator
- Mobility
- MobilityCapacitor
- ModuleCapabilities
- ModuleCatalogue
- ModuleLimits
- ModuleStats
- OutfittingFamilies
- Power
- PreEngineeredCatalogue
- PreEngineeredStats
- Resistances
- ShieldCapacitor
- ShieldRecovery
- Shields
- ShipCatalogue
- ShipLoadout
- Slef
- SlotRestrictions
- SourcePurchase
- Weapons
- WeaponsCapacitor
Records (115)
- AmmunitionCapacity
- ApplyBlueprintOptions
- ArmourInput
- ArmourMetrics
- AvailableBlueprint
- Blueprint
- BlueprintCost
- BlueprintFeature
- BlueprintGrade
- BuildCost
- BuildCredits
- BuildLoad
- BuildMass
- BuildSlot
- BuildWeaponMetrics
- BulkheadParams
- CalculationIssue
- CellBankInput
- CellBankMetrics
- CellBankSummary
- CoreSlots
- DamageComponents
- DamageDistribution
- DamageSplit
- DamageTypeValues
- DefaultLoadout
- DefaultLoadoutModule
- DistributorCapacitorMetrics
- DistributorInput
- DistributorMetrics
- DistributorPips
- EngineeringAmbiguous
- EngineeringEditDetail
- EngineeringGradeEdit
- EngineeringMaterial
- EngineeringModifier
- EngineeringOptionGroup
- EngineeringRerolled
- EngineeringUnresolved
- ExperimentalContribution
- ExperimentalEffect
- ExperimentalEffectEdit
- FittedModule
- FittedWeaponMetrics
- FixedMountRepair
- FrameShiftDriveParams
- GunsightOffset
- GunsightPoint
- HardpointSlotSpec
- HeatInput
- HeatMetrics
- HeatState
- HeatWeapon
- HullReinforcementParams
- JumpRangeSummary
- LoadoutCalculationModule
- LoadoutEvent
- LoadoutExportOptions
- LoadoutFuelCapacity
- LoadoutImportOutcome
- LoadoutIssue
- LoadoutMass
- LoadoutModule
- LoadoutSlot
- LoadoutValidation
- LoadoutValidationInput
- MobilityCapacitorMetrics
- MobilityInput
- MobilityMetrics
- ModuleDefaulted
- ModuleEmptied
- ModuleEngineering
- ModuleFitProblem
- ModuleLimitEntry
- ModuleLimitIncrease
- ModuleLimitUsage
- ModuleReinforcementParams
- OptionalSlotSpec
- OutfittingModule
- ParsedSlot
- PowerBand
- PowerBudget
- PowerConsumer
- PowerConsumerResult
- PreEngineeredModifier
- PreEngineeredVariant
- ProjectileRangeBoundaries
- ShieldBoosterParams
- ShieldCapacitorInput
- ShieldCapacitorMetrics
- ShieldGeneratorParams
- ShieldInput
- ShieldMetrics
- ShieldRecoveryInput
- ShieldRecoveryMetrics
- Ship
- ShipSlots
- SlefDiagnostic
- SlefEntry
- SlefExportOptions
- SlefHeader
- SlefInspection
- SourceModuleValue
- SourcePurchaseRecord
- StandardLoadFigures
- ThrusterCurveParams
- ThrusterParams
- TotalRangeDetails
- UnpricedModule
- ValidationModule
- WeaponMetrics
- WeaponsCapacitorInput
- WeaponsCapacitorMetrics
- WeaponStats
- WeaponTotals
Interfaces (1)
Enumerations (35)
- BlueprintRoute
- CalculationField
- CalculationIssueReason
- CoreSlotType
- DamageType
- EngineeringEditCode
- EngineeringEditKind
- EngineeringGroupId
- FixedMountRepairStatus
- ImmovableReason
- LoadoutCredits
- LoadoutEditErrorCode
- LoadoutImportAction
- LoadoutIssueCode
- LoadoutIssueSeverity
- LoadoutModuleOrder
- ModifierMethod
- ModuleCategory
- ModuleExclusionGroup
- ModuleFitConstraint
- ModuleGuidance
- ModuleLimitGroup
- ModuleMount
- ModuleRating
- ModuleSlot
- ModuleStat
- OutfittingFamilyId
- PreEngineeredAcquisition
- ShipSize
- SlefConstraint
- SlefDiagnosticCode
- SlotKind
- SlotRestriction
- StandardLoad
- ThrusterLoad