replace string with locale identifier type in translation dictionaries

This commit is contained in:
Lukas Obermann
2025-09-03 12:11:02 +02:00
parent 93683f5b58
commit 75cfe6af36
160 changed files with 229 additions and 228 deletions
@@ -44,7 +44,7 @@ public struct Advantage {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // AdvantageTranslation
@@ -30,7 +30,7 @@ public struct AnimalDisease {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // AnimalDiseaseTranslation
@@ -4,7 +4,7 @@ import FileDB
public struct AnimalType {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // AnimalTypeTranslation
@@ -6,7 +6,7 @@ public struct ArcaneBardTradition {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // ArcaneBardTraditionTranslation
@@ -6,7 +6,7 @@ public struct ArcaneDancerTradition {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // ArcaneDancerTraditionTranslation
@@ -4,7 +4,7 @@ import FileDB
public struct Aspect {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // AspectTranslation
@@ -5,7 +5,7 @@ import FileDB
public struct Attribute {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // AttributeTranslation
@@ -14,7 +14,7 @@ public struct Blessing {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // BlessingTranslation
@@ -80,7 +80,7 @@ public struct FixedBlessingDuration {
public struct IndefiniteBlessingDuration {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // IndefiniteBlessingDurationTranslation
@@ -21,7 +21,7 @@ public struct Cantrip {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // CantripTranslation
@@ -90,7 +90,7 @@ public struct CommonCantripTraditionNote {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // CommonCantripTraditionNoteTranslation
@@ -139,7 +139,7 @@ public struct FixedCantripDuration {
public struct IndefiniteCantripDuration {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // IndefiniteCantripDurationTranslation
@@ -30,7 +30,7 @@ public struct Ceremony {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // LiturgicalChantTranslation
@@ -25,7 +25,7 @@ public struct CloseCombatTechnique {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // CloseCombatTechniqueTranslation
@@ -80,7 +80,7 @@ public struct RangedCombatTechnique {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // RangedCombatTechniqueTranslation
@@ -8,7 +8,7 @@ public struct Condition {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // ConditionTranslation
@@ -5,7 +5,7 @@ import FileDB
public struct Continent {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // ContinentTranslation
@@ -66,7 +66,7 @@ public struct Culture {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // CultureTranslation
@@ -10,7 +10,7 @@ public struct DerivedCharacteristic {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // DerivedCharacteristicTranslation
@@ -44,7 +44,7 @@ public struct Disadvantage {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // DisadvantageTranslation
@@ -19,7 +19,7 @@ public struct Disease {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // DiseaseTranslation
@@ -4,7 +4,7 @@ import FileDB
public struct Element {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // ElementTranslation
@@ -12,7 +12,7 @@ public struct EquipmentPackage {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // EquipmentPackageTranslation
@@ -11,7 +11,7 @@ public struct Ammunition {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // AmmunitionTranslation
@@ -11,7 +11,7 @@ public struct Animal {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
public struct Translation { // AnimalTranslation
@@ -11,7 +11,7 @@ public struct AnimalCare {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
public struct Translation { // AnimalCareTranslation
@@ -33,7 +33,7 @@ public struct Armor {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // ArmorTranslation
@@ -93,7 +93,7 @@ public struct SecondaryArmor {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]?
let translations: [Locale.ID: Translation]?
@Embedded
@MinProperties(1)
@@ -23,7 +23,7 @@ public struct BandageOrRemedy {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
public struct Translation { // BandageOrRemedyTranslation
@@ -20,7 +20,7 @@ public struct Book {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // BookTranslation
@@ -27,7 +27,7 @@ public struct CeremonialItem {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
public struct Translation { // CeremonialItemTranslation
@@ -23,7 +23,7 @@ public struct Clothes {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
public struct Translation { // ClothesTranslation
@@ -23,7 +23,7 @@ public struct Container {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
public struct Translation { // ContainerTranslation
@@ -21,7 +21,7 @@ public struct Elixir {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // ElixirTranslationTranslation
@@ -23,7 +23,7 @@ public struct EquipmentOfBlessedOnes {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
public struct Translation { // EquipmentOfBlessedOnesTranslation
@@ -11,7 +11,7 @@ public struct GemOrPreciousStone {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // GemOrPreciousStoneTranslation
@@ -26,7 +26,7 @@ public struct IlluminationLightSource {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
public struct Translation { // IlluminationLightSourceTranslation
@@ -23,7 +23,7 @@ public struct IlluminationRefillsOrSupplies {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
public struct Translation { // IlluminationRefillsOrSuppliesTranslation
@@ -20,7 +20,7 @@ public struct Jewelry {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
public struct Translation { // JewelryTranslation
@@ -23,7 +23,7 @@ public struct Liebesspielzeug {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
public struct Translation { // LiebesspielzeugTranslation
@@ -23,7 +23,7 @@ public struct LuxuryGood {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
public struct Translation { // LuxuryGoodTranslation
@@ -11,7 +11,7 @@ public struct MagicalArtifact {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
public struct Translation { // MagicalArtifactTranslation
@@ -20,7 +20,7 @@ public struct MusicalInstrument {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
public struct Translation { // MusicalInstrumentTranslation
@@ -23,7 +23,7 @@ public struct OrienteeringAid {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
public struct Translation { // OrienteeringAidTranslation
@@ -32,7 +32,7 @@ public struct Poison {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // PoisonTranslation
@@ -108,7 +108,7 @@ public enum PoisonTimeUnit {
public struct IndefinitePoisonTime {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // IndefinitePoisonTimeTranslation
@@ -164,7 +164,7 @@ public struct AlchemicalPoison {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // AlchemicalPoisonTranslation
@@ -217,7 +217,7 @@ public struct DemonicPoison {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]?
let translations: [Locale.ID: Translation]?
@Embedded
@MinProperties(1)
@@ -263,7 +263,7 @@ public struct Intoxicant {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // IntoxicantTranslation
@@ -23,7 +23,7 @@ public struct RopeOrChain {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
public struct Translation { // RopeOrChainTranslation
@@ -23,7 +23,7 @@ public struct Stationary {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
public struct Translation { // StationaryTranslation
@@ -9,7 +9,7 @@ public struct ArmorType {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // ArmorTypeTranslation
@@ -4,7 +4,7 @@ import FileDB
public struct Reach {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // ReachTranslation
@@ -23,7 +23,7 @@ public struct ThievesTool {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
public struct Translation { // ThievesToolTranslation
@@ -23,7 +23,7 @@ public struct ToolOfTheTrade {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
public struct Translation { // ToolOfTheTradeTranslation
@@ -23,7 +23,7 @@ public struct TravelGearOrTool {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
public struct Translation { // TravelGearOrToolTranslation
@@ -11,7 +11,7 @@ public struct Vehicle {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
public struct Translation { // VehicleTranslation
@@ -38,7 +38,7 @@ public struct Weapon {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // WeaponTranslation
@@ -98,7 +98,7 @@ public struct ImprovisedWeapon {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]?
let translations: [Locale.ID: Translation]?
@Embedded
@MinProperties(1)
@@ -23,7 +23,7 @@ public struct WeaponAccessory {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
public struct Translation { // WeaponAccessoryTranslation
@@ -39,7 +39,7 @@ public struct FixedCost {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]?
let translations: [Locale.ID: Translation]?
struct Translation { // FixedCostTranslation
/// The cost get wrapped by this text using a placeholder in the text.
@@ -61,7 +61,7 @@ public struct CostRange {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]?
let translations: [Locale.ID: Translation]?
struct Translation { // CostRangeTranslation
/// The cost get wrapped by this text using a placeholder in the text.
@@ -26,7 +26,7 @@ public struct ExperienceLevel {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // ExperienceLevelTranslation
@@ -4,7 +4,7 @@ import FileDB
public struct EyeColor {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // EyeColorTranslation
@@ -25,7 +25,7 @@ public struct FamiliarsTrick {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // FamiliarsTrickTranslation
@@ -60,7 +60,7 @@ public enum FamiliarsTrickProperty {
public struct IndefiniteFamiliarsTrickProperty {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]?
let translations: [Locale.ID: Translation]?
struct Translation { // IndefiniteFamiliarsTrickPropertyTranslation
/// A description of the property.
@@ -105,7 +105,7 @@ public struct FamiliarsTrickFixedOneTimeCost {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]?
let translations: [Locale.ID: Translation]?
@Embedded
@MinProperties(1)
@@ -4,7 +4,7 @@ import FileDB
public struct HairColor {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // HairColorTranslation
@@ -8,7 +8,7 @@ public struct Guideline {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // GuidelineTranslation
@@ -46,7 +46,7 @@ public struct Curriculum {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // CurriculumTranslation
@@ -136,7 +136,7 @@ public struct LessonPackage {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
public struct Translation { // LessonPackageTranslation
@@ -30,7 +30,7 @@ public struct LiturgicalChant {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // LiturgicalChantTranslation
@@ -38,7 +38,7 @@ public struct AnimistPower {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // AnimistPowerTranslation
@@ -81,7 +81,7 @@ public struct AnimistPowerLevel {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // AnimistPowerLevelTranslation
@@ -131,7 +131,7 @@ public struct AnimistPowerCostByPrimaryPatron {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]?
let translations: [Locale.ID: Translation]?
struct Translation { // AnimistPowerCostByPrimaryPatronTranslation
/// A note, appended to the generated string in parenthesis.
@@ -4,7 +4,7 @@ import FileDB
public struct Tribe {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // TribeTranslation
@@ -21,7 +21,7 @@ public struct Curse {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // CurseTranslation
@@ -68,7 +68,7 @@ public struct FixedCurseCost {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]?
let translations: [Locale.ID: Translation]?
@Embedded
@MinProperties(1)
@@ -96,7 +96,7 @@ public struct IndefiniteCurseDuration {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // IndefiniteCurseDurationTranslation
@@ -21,7 +21,7 @@ public struct DominationRitual {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // DominationRitualTranslation
@@ -62,7 +62,7 @@ public struct DominationRitualCost {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]?
let translations: [Locale.ID: Translation]?
struct Translation { // DominationRitualCostTranslation
/// AE cost in addition to the normal AE cost.
@@ -94,7 +94,7 @@ public struct IndefiniteDominationRitualDuration {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // IndefiniteDominationRitualDurationTranslation
@@ -31,7 +31,7 @@ public struct ElvenMagicalSong {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // ElvenMagicalSongTranslation
@@ -72,7 +72,7 @@ public struct ElvenMagicalSongCost {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]?
let translations: [Locale.ID: Translation]?
struct Translation { // ElvenMagicalSongCostTranslation
/// The cost have to be per a specific countable entity, e.g. `8 AE per person`.
@@ -88,7 +88,7 @@ public struct ElvenMagicalSongPermanentCost {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]?
let translations: [Locale.ID: Translation]?
struct Translation { // ElvenMagicalSongPermanentCostTranslation
/// A replacement string for the permanent cost.
@@ -24,7 +24,7 @@ public struct GeodeRitual {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // GeodeRitualTranslation
@@ -27,7 +27,7 @@ public struct JesterTrick {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // JesterTrickTranslation
@@ -92,9 +92,9 @@ public struct JesterTrickCost {
@ModelEnum
public enum JesterTrickRange {
case Touch
case `Self`
case Fixed(FixedJesterTrickRange)
case touch
case `self`
case fixed(FixedJesterTrickRange)
}
@Embedded
@@ -25,7 +25,7 @@ public struct MagicalDance {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // MagicalDanceTranslation
@@ -72,7 +72,7 @@ public struct FixedMagicalDanceCost {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]?
let translations: [Locale.ID: Translation]?
@Embedded
@MinProperties(1)
@@ -89,7 +89,7 @@ public struct IndefiniteMagicalDanceCost {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // IndefiniteMagicalDanceCostTranslation
@@ -107,7 +107,7 @@ public struct ArcaneDancerTraditionReference {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // ArcaneDancerTraditionReferenceTranslation
@@ -35,7 +35,7 @@ public struct MagicalMelody {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // MagicalMelodyTranslation
@@ -98,7 +98,7 @@ public struct ArcaneBardTraditionReference {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // ArcaneBardTraditionReferenceTranslation
@@ -30,7 +30,7 @@ public struct MagicalRune {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // MagicalRuneTranslation
@@ -136,7 +136,7 @@ public struct SingleMagicalRuneCost {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]?
let translations: [Locale.ID: Translation]?
struct Translation { // SingleMagicalRuneCostTranslation
/// A note, appended to the generated string in parenthesis.
@@ -160,7 +160,7 @@ public struct MagicalRuneCraftingTime {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]?
let translations: [Locale.ID: Translation]?
struct Translation { // MagicalRuneCraftingTimeTranslation
/// The crafting time has to be per a specific countable entity, e.g. `8 actions per person`.
@@ -199,7 +199,7 @@ public struct MagicalRuneOption {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // MagicalRuneOptionTranslation
@@ -225,7 +225,7 @@ public enum MagicalRuneSuboption {
public struct CustomMagicalRuneSuboption {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]?
let translations: [Locale.ID: Translation]?
@MinProperties(1)
struct Translation { // CustomMagicalRuneSuboptionTranslation
@@ -27,7 +27,7 @@ public struct ZibiljaRitual {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // ZibiljaRitualTranslation
@@ -9,7 +9,7 @@ public struct MetaCondition {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // MetaConditionTranslation
@@ -18,7 +18,7 @@ public struct PactCategory {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // PactCategoryTranslation
@@ -36,7 +36,7 @@ public struct PactCategory {
public struct PactType {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // PactTypeTranslation
@@ -50,7 +50,7 @@ public struct PactType {
public struct PactDomain {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // PactDomainTranslation
@@ -61,7 +61,7 @@ public struct Patron {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // PatronTranslation
@@ -10,7 +10,7 @@ public struct PatronCategory {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // PatronCategoryTranslation
@@ -22,7 +22,7 @@ public struct PersonalityTrait {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // PersonalityTraitTranslation
@@ -15,7 +15,7 @@ public struct ReplacementDisplayOption {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // ReplacementDisplayOptionTranslation
@@ -20,7 +20,7 @@ public struct TextPrerequisite {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // TextPrerequisiteTranslation
@@ -79,7 +79,7 @@ public struct ProfessionVersion {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // ProfessionVersionTranslation
@@ -225,7 +225,7 @@ public struct ProfessionVariant {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // ProfessionVariantTranslation
@@ -7,7 +7,7 @@ public struct Property {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // PropertyTranslation
@@ -32,7 +32,7 @@ public struct Race {
/// Defines the starting ages for the race. It depends on the selected experience level.
@Relationship(ExperienceLevel.self)
let starting_age: [String: StartingAge]
let starting_age: [Locale.ID: StartingAge]
/// A list of available race variants where one has to be selected. If no variants are to be selected, a single variant with no name has to be provided which will be used as the missing values for the base race.
@Relationship(RaceVariant.self)
@@ -46,7 +46,7 @@ public struct Race {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // RaceTranslation
@@ -215,7 +215,7 @@ public struct RaceVariant {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // RaceVariantTranslation
@@ -4,7 +4,7 @@ import FileDB
public struct Region {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // RegionTranslation
@@ -33,13 +33,14 @@ public struct Ritual {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // RitualTranslation
/// The rituals name.
@MinLength(1)
let name: String
/// The effect description may be either a plain text or a text that is divided by a list of effects for each quality level. It may also be a list for each two quality levels.
let effect: ActivatableSkillEffect
@@ -11,7 +11,7 @@ public struct CoreRule {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // CoreRuleTranslation
@@ -49,7 +49,7 @@ public struct ChildNode {
public struct TextNode {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // TextNodeTranslation
@@ -67,7 +67,7 @@ public struct ReferenceListNode {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // ReferenceListNodeTranslation
@@ -20,7 +20,7 @@ public struct FocusRule {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // FocusRuleTranslation
@@ -5,7 +5,7 @@ import FileDB
public struct Subject {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // SubjectTranslation
@@ -11,7 +11,7 @@ public struct OptionalRule {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // OptionalRuleTranslation
@@ -13,7 +13,7 @@ public struct Service {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // ServiceTranslation
@@ -8,7 +8,7 @@ public struct SexPractice {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // StateTranslation
@@ -24,7 +24,7 @@ public struct Skill {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // SkillTranslation
@@ -93,7 +93,7 @@ public enum ApplicationCategory {
public struct SkillApplication {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // SkillApplicationTranslation
@@ -7,7 +7,7 @@ public struct SkillGroup {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // SkillGroupTranslation
@@ -10,7 +10,7 @@ public struct SkillModificationLevel {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
@MinProperties(1)
@@ -8,7 +8,7 @@ public struct SocialStatus {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // SocialStatusTranslation
@@ -17,7 +17,7 @@ public struct Publication {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // PublicationTranslation
@@ -9,7 +9,7 @@ public struct PublicationRef {
/// All occurrences of the entry in the publication, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let occurrences: [String: Occurrence]
let occurrences: [Locale.ID: Occurrence]
@Embedded
struct Occurrence {
@@ -47,7 +47,7 @@ public struct AdvancedCombatSpecialAbility {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // AdvancedCombatSpecialAbilityTranslation
@@ -38,7 +38,7 @@ public struct AdvancedKarmaSpecialAbility {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // AdvancedKarmaSpecialAbilityTranslation
@@ -38,7 +38,7 @@ public struct AdvancedMagicalSpecialAbility {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // AdvancedMagicalSpecialAbilityTranslation
@@ -38,7 +38,7 @@ public struct AdvancedSkillSpecialAbility {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // AdvancedSkillSpecialAbilityTranslation
@@ -36,7 +36,7 @@ public struct AncestorGlyph {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // AncestorGlyphTranslation
@@ -54,7 +54,7 @@ public struct BlessedTradition {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // BlessedTraditionTranslation
@@ -38,7 +38,7 @@ public struct BrawlingSpecialAbility {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // BrawlingSpecialAbilityTranslation
@@ -45,7 +45,7 @@ public struct CeremonialItemSpecialAbility {
/// All translations for the entry, identified by IETF language tag (BCP47).
@Relationship(Locale.self)
let translations: [String: Translation]
let translations: [Locale.ID: Translation]
@Embedded
struct Translation { // CeremonialItemSpecialAbilityTranslation

Some files were not shown because too many files have changed in this diff Show More