From 89fda5ec8399c1eeebc32ec17debff767480e385 Mon Sep 17 00:00:00 2001 From: Alex Evgrashin Date: Tue, 3 May 2022 11:32:06 +0300 Subject: [PATCH] More localize (#7869) * Localize replacement accents * Localize bar signs * Holidays * Localize species --- .../UI/HumanoidProfileEditor.xaml.cs | 3 +- .../BarSign/Systems/BarSignSystem.cs | 5 +- Content.Server/Holiday/Greet/Custom.cs | 2 +- .../Holiday/Greet/DefaultHolidayGreet.cs | 6 +- .../EntitySystems/ReplacementAccentSystem.cs | 2 +- Resources/Locale/en-US/accent/accents.ftl | 48 ++++++ .../en-US/barsign/barsign-component.ftl | 98 +++++++++++- .../en-US/holiday/greet/holiday-greet.ftl | 83 +++++++++- Resources/Locale/en-US/species/species.ftl | 6 + Resources/Prototypes/accents.yml | 66 ++++---- Resources/Prototypes/bar_signs.yml | 92 +++++------ Resources/Prototypes/holidays.yml | 146 +++++++++--------- Resources/Prototypes/species.yml | 8 +- 13 files changed, 401 insertions(+), 164 deletions(-) create mode 100644 Resources/Locale/en-US/accent/accents.ftl create mode 100644 Resources/Locale/en-US/species/species.ftl diff --git a/Content.Client/Preferences/UI/HumanoidProfileEditor.xaml.cs b/Content.Client/Preferences/UI/HumanoidProfileEditor.xaml.cs index 7f75a3bb70..b039dd5ec8 100644 --- a/Content.Client/Preferences/UI/HumanoidProfileEditor.xaml.cs +++ b/Content.Client/Preferences/UI/HumanoidProfileEditor.xaml.cs @@ -186,7 +186,8 @@ namespace Content.Client.Preferences.UI _speciesList = prototypeManager.EnumeratePrototypes().Where(o => o.RoundStart).ToList(); for (var i = 0; i < _speciesList.Count; i++) { - CSpeciesButton.AddItem(_speciesList[i].Name, i); + var name = Loc.GetString(_speciesList[i].Name); + CSpeciesButton.AddItem(name, i); } CSpeciesButton.OnItemSelected += args => diff --git a/Content.Server/BarSign/Systems/BarSignSystem.cs b/Content.Server/BarSign/Systems/BarSignSystem.cs index f8d8cf420c..ef487e38c4 100644 --- a/Content.Server/BarSign/Systems/BarSignSystem.cs +++ b/Content.Server/BarSign/Systems/BarSignSystem.cs @@ -77,8 +77,9 @@ namespace Content.Server.BarSign.Systems var newPrototype = _random.Pick(prototypes); var meta = Comp(owner); - meta.EntityName = newPrototype.Name != string.Empty ? newPrototype.Name : Loc.GetString("barsign-component-name"); - meta.EntityDescription = newPrototype.Description; + var name = newPrototype.Name != string.Empty ? newPrototype.Name : "barsign-component-name"; + meta.EntityName = Loc.GetString(name); + meta.EntityDescription = Loc.GetString(newPrototype.Description); component.CurrentSign = newPrototype.ID; return newPrototype; diff --git a/Content.Server/Holiday/Greet/Custom.cs b/Content.Server/Holiday/Greet/Custom.cs index f11647bea6..94e05bf0fa 100644 --- a/Content.Server/Holiday/Greet/Custom.cs +++ b/Content.Server/Holiday/Greet/Custom.cs @@ -12,7 +12,7 @@ namespace Content.Server.Holiday.Greet public string Greet(HolidayPrototype holiday) { - return _greet; + return Loc.GetString(_greet); } } } diff --git a/Content.Server/Holiday/Greet/DefaultHolidayGreet.cs b/Content.Server/Holiday/Greet/DefaultHolidayGreet.cs index f799e5a6d1..f29da979e3 100644 --- a/Content.Server/Holiday/Greet/DefaultHolidayGreet.cs +++ b/Content.Server/Holiday/Greet/DefaultHolidayGreet.cs @@ -5,6 +5,10 @@ namespace Content.Server.Holiday.Greet { public sealed class DefaultHolidayGreet : IHolidayGreet { - public string Greet(HolidayPrototype holiday) => Loc.GetString("holiday-greet", ("holidayName", holiday.Name)); + public string Greet(HolidayPrototype holiday) + { + var holidayName = Loc.GetString(holiday.Name); + return Loc.GetString("holiday-greet", ("holidayName", holidayName)); + } } } diff --git a/Content.Server/Speech/EntitySystems/ReplacementAccentSystem.cs b/Content.Server/Speech/EntitySystems/ReplacementAccentSystem.cs index ca12bbc2fc..5e02c7663b 100644 --- a/Content.Server/Speech/EntitySystems/ReplacementAccentSystem.cs +++ b/Content.Server/Speech/EntitySystems/ReplacementAccentSystem.cs @@ -24,7 +24,7 @@ namespace Content.Server.Speech.EntitySystems { var words = _proto.Index(component.Accent).Words; - args.Message = words.Length != 0 ? _random.Pick(words) : ""; + args.Message = words.Length != 0 ? Loc.GetString(_random.Pick(words)) : ""; } } } diff --git a/Resources/Locale/en-US/accent/accents.ftl b/Resources/Locale/en-US/accent/accents.ftl new file mode 100644 index 0000000000..603505e780 --- /dev/null +++ b/Resources/Locale/en-US/accent/accents.ftl @@ -0,0 +1,48 @@ +# Cat accent +accent-words-cat-1 = Meow! +accent-words-cat-2 = Mow. +accent-words-cat-3 = Mrrrow! +accent-words-cat-4 = Hhsss! +accent-words-cat-5 = Brrow. + +# Dog accent +accent-words-dog-1 = Bark! +accent-words-dog-2 = Bork! +accent-words-dog-3 = Woof! +accent-words-dog-4 = Arf. +accent-words-dog-5 = Grrr. + +# Mouse +accent-words-mouse-1 = Squeak! +accent-words-mouse-2 = Piep! +accent-words-mouse-3 = Chuu! +accent-words-mouse-4 = Eeee! + +# Mumble +accent-words-mumble-1 = Mmfph! +accent-words-mumble-2 = Mmmf mrrfff! +accent-words-mumble-3 = Mmmf mnnf! + +# Silicon +accent-words-silicon-1 = Beep. +accent-words-silicon-2 = Boop. +accent-words-silicon-3 = Whirr. +accent-words-silicon-4 = Beep-boop. + +# Xeno +accent-words-xeno-1 = Hiss. +accent-words-xeno-2 = Hisssss! +accent-words-xeno-3 = Hisssuuu... +accent-words-xeno-4 = Hiss...! + +# Zombie +accent-words-zombie-1 = Gruaahhhh... +accent-words-zombie-2 = Mmuaaaa.. +accent-words-zombie-3 = Braainnssss... +accent-words-zombie-4 = Grrrrr... + +# Generic Aggressive +accent-words-generic-aggressive-1 = Grr! +accent-words-generic-aggressive-2 = Rrrr! +accent-words-generic-aggressive-3 = Grr... +accent-words-generic-aggressive-4 = Grrow!! diff --git a/Resources/Locale/en-US/barsign/barsign-component.ftl b/Resources/Locale/en-US/barsign/barsign-component.ftl index 80a9bc57e6..fa05763aba 100644 --- a/Resources/Locale/en-US/barsign/barsign-component.ftl +++ b/Resources/Locale/en-US/barsign/barsign-component.ftl @@ -1 +1,97 @@ -barsign-component-name = bar sign \ No newline at end of file +barsign-component-name = bar sign + +# Bar signs prototypes + +## The Harmbaton +barsign-prototype-name-harmbaton = The Harmbaton +barsign-prototype-description-harmbaton = A great dining experience for both security members and assistants. + +## The Singulo +barsign-prototype-name-singulo = The Singulo +barsign-prototype-description-singulo = Where people go that'd rather not be called by their name. + +## The Drunk Carp +barsign-prototype-name-drunk-carp = The Drunk Carp +barsign-prototype-description-drunk-carp = Don't drink and swim. + +## Officer Beersky +barsign-prototype-name-officer-beersky = Officer Beersky's +barsign-prototype-description-officer-beersky = Man eat a dong, these drinks are great. + +## The Outer Spess +barsign-prototype-name-outer-spess = The Outer Spess +barsign-prototype-description-outer-spess = This bar isn't actually located in outer space. + +## The Coderbus +barsign-prototype-name-coderbus = The Coderbus +barsign-prototype-description-coderbus = A very controversial bar known for its wide variety of constantly-changing drinks. + +## Robusta Cafe +barsign-prototype-name-robusta-cafe = The Robusta Cafe +barsign-prototype-description-robusta-cafe = Holder of the 'Most Lethal Barfights' record 5 years uncontested. + +## Emergency Rum Party +barsign-prototype-name-emergency-rum-party = The Emergency Rum Party +barsign-prototype-description-emergency-rum-party = Recently relicensed after a long closure. + +## The Combo Cafe +barsign-prototype-name-combo-cafe = The Combo Cafe +barsign-prototype-description-combo-cafe = Renowned system-wide for their utterly uncreative drink combinations. + +## The Ale Nath +barsign-prototype-name-ale-nath = The Ale' Nath +barsign-prototype-description-ale-nath = All right, buddy. I think you've had EI NATH. Time to get a cab. + +## The Net +barsign-prototype-name-the-net = The Net +barsign-prototype-description-the-net = You just seem to get caught up in it for hours. + +## Maid Cafe +barsign-prototype-name-maid-cafe = Maid Cafe +barsign-prototype-description-maid-cafe = Welcome back, master! + +## Maltese Falcon +barsign-prototype-name-maltese-falcon = Maltese Falcon +barsign-prototype-description-maltese-falcon = Play it again, sam. + +## The Sun +barsign-prototype-name-the-sun = The Sun +barsign-prototype-description-the-sun = Ironically bright for such a shady bar. + +## The Birdcage +barsign-prototype-name-the-birdcage = The Birdcage +barsign-prototype-description-the-birdcage = Caw caw! + +## Zocalo +barsign-prototype-name-zocalo = Zocalo +barsign-prototype-description-zocalo = Anteriormente ubicado en Spessmerica. + +## LV426 +barsign-prototype-name-lv426 = LV-426 +barsign-prototype-description-lv426 = Drinking with fancy facemasks is clearly more important than going to medbay. + +## The Wiggle Roomm +barsign-prototype-name-wiggle-room = The Wiggle Roomm +barsign-prototype-description-wiggle-room = MoMMIs got moves. + +## The Lightbulb +barsign-prototype-name-the-lightbulb = The Lightbulb +barsign-prototype-description-the-lightbulb = A cafe popular among moths and moffs. Once shut down for a week after the bartender used mothballs to protect her spare uniforms. + +## The Loose Goose +barsign-prototype-name-goose = The Loose Goose +barsign-prototype-description-goose = Drink till you puke and/or break the laws of reality! + +## The Engine Change +barsign-prototype-name-enginechange = The Engine Change +barsign-prototype-description-enginechange = Still waiting. + +## 4 The Emprah +barsign-prototype-name-emprah = 4 The Emprah +barsign-prototype-description-emprah = Enjoyed by fanatics, heretics, and brain-damaged patrons alike. + +## EmpBarSign +barsign-prototype-description-empbarsign = Something has gone very wrong. + +## SignOff +barsign-prototype-description-sign-off = This sign doesn't seem to be on. diff --git a/Resources/Locale/en-US/holiday/greet/holiday-greet.ftl b/Resources/Locale/en-US/holiday/greet/holiday-greet.ftl index 1e0937fad0..60ef311900 100644 --- a/Resources/Locale/en-US/holiday/greet/holiday-greet.ftl +++ b/Resources/Locale/en-US/holiday/greet/holiday-greet.ftl @@ -1 +1,82 @@ -holiday-greet = Have a happy {$holidayName}! \ No newline at end of file +## Generic Congrats + +holiday-greet = Have a happy {$holidayName}! + +## Holiday Names + +holiday-name-new-year = New Year +holiday-name-mister-lizard = Mister Lizard's Birthday +holiday-name-chinese-new-year = Chinese New Year +holiday-name-groundhog-day = Groundhog Day +holiday-name-travis-scott-day = Travis Scott Day +holiday-name-valentines-day = Valentine's Day +holiday-name-birthday13 = Birthday of Space Station 13 +holiday-name-random-kindness = Random Acts of Kindness Day +holiday-name-leap-day = Leap Day +holiday-name-miku-day = Hatsune Miku Day +holiday-name-pi-day = Pi Day +holiday-name-st-patricks-day = St. Patrick's Day +holiday-name-easter = Easter +holiday-name-april-fool-day = April Fools Day +holiday-name-autism-awareness-day = Autism Awareness Day +holiday-name-cosmonautics-day = Cosmonautics Day +holiday-name-four-twenty = Four-Twenty +holiday-name-tea-day = National Tea Day +holiday-name-earth-day = Earth Day +holiday-name-anzac-day = Anzac Day +holiday-name-birthday14 = Birthday of Space Station 14 +holiday-name-labor-day = Labor Day +holiday-name-firefighter-day = Firefighter's Day +holiday-name-mothers-day = Mother's Day +holiday-name-owl-and-pussycat-day = Owl and Pussycat Day +holiday-name-mommi-day = MoMMI Day +holiday-name-garbage-day = Garbage Day +holiday-name-international-picnic-day = International Picnic Day +holiday-name-fathers-day = Father's Day +holiday-name-summer-solstice = Summer Solstice +holiday-name-stonewall-riots-anniversary = Stonewall Riots Anniversary +holiday-name-doctor-day = Doctor's Day +holiday-name-ufo-day = UFO Day +holiday-name-us-independence-day = US Independence Day +holiday-name-writers-day = Writer's Day +holiday-name-bastille-day = Bastille Day +holiday-name-friendship-day = Friendship Day +holiday-name-beer-day = Beer Day +holiday-name-talk-like-a-pirate-day = Talk-Like-a-Pirate Day +holiday-name-programmers-day = Programmers' Day +holiday-name-bisexual-pride-day = Bisexual Pride Day +holiday-name-stupid-questions-day = Stupid-Questions Day +holiday-name-animals-day = Animal's Day +holiday-name-smiling-day = Smiling Day +holiday-name-lesbian-day = Lesbian Day +holiday-name-canadian-thanksgiving = Thanksgiving in Canada +holiday-name-spirit-day = Spirit Day +holiday-name-halloween = Halloween +holiday-name-vegan-day = Vegan Day +holiday-name-armistice-day = Armistice Day +holiday-name-kindness-day = Kindness Day +holiday-name-life-day = Life Day +holiday-name-flowers-day = Flower's Day +holiday-name-transgender-remembrance-day = Transgender Day of Remembrance +holiday-name-saying-hello-day = Saying Hello Day +holiday-name-thanksgiving = Thanksgiving in the United States +holiday-name-sinterklaas = Sinterklaas +holiday-name-human-rights-day = Human-Rights Day +holiday-name-monkey-day = Monkey Day +holiday-name-mayan-doomsday = Mayan Doomsday Anniversary +holiday-name-christmas = Christmas +holiday-name-festive-season = Festive Season +holiday-name-boxing-day = Boxing Day +holiday-name-friday-thirteenth = Friday the 13th + +## Custom congrats + +holiday-custom-cosmonautics-day = On this day over 600 years ago, Comrade Yuri Gagarin first ventured into space! +holiday-custom-mothers-day = Happy Mother's Day in most of the Americas, Asia, and Oceania! +holiday-custom-bastille-day = Do you hear the people sing? +holiday-custom-friendship-day = Have a magical Friendship Day! +holiday-custom-talk-like-a-pirate-day = Ye be talkin' like a pirate today or else ye'r walkin' tha plank, matey! +holiday-custom-halloween = Have a spooky Halloween! +holiday-custom-kindness-day = Go do some random acts of kindness for a stranger! +holiday-custom-christmas = Have a merry Christmas! +holiday-custom-festive-season = Have a nice festive season! diff --git a/Resources/Locale/en-US/species/species.ftl b/Resources/Locale/en-US/species/species.ftl new file mode 100644 index 0000000000..1f03d909c4 --- /dev/null +++ b/Resources/Locale/en-US/species/species.ftl @@ -0,0 +1,6 @@ +## Species Names + +species-name-human = Human +species-name-dwarf = Dwarf +species-name-reptilian = Reptilian +species-name-slime = Slime Person diff --git a/Resources/Prototypes/accents.yml b/Resources/Prototypes/accents.yml index 2b62fddd81..e728a6fc82 100644 --- a/Resources/Prototypes/accents.yml +++ b/Resources/Prototypes/accents.yml @@ -1,64 +1,64 @@ - type: accent id: cat words: - - Meow! - - Mow. - - Mrrrow! - - Hhsss! - - Brrow + - accent-words-cat-1 + - accent-words-cat-2 + - accent-words-cat-3 + - accent-words-cat-4 + - accent-words-cat-5 - type: accent id: dog words: - - Bark! - - Bork! - - Woof! - - Arf. - - Grrr. + - accent-words-dog-1 + - accent-words-dog-2 + - accent-words-dog-3 + - accent-words-dog-4 + - accent-words-dog-5 - type: accent id: mouse words: - - Squeak! - - Piep! - - Chuu! - - Eeee! + - accent-words-mouse-1 + - accent-words-mouse-2 + - accent-words-mouse-3 + - accent-words-mouse-4 - type: accent id: mumble words: - - Mmfph! - - Mmmf mrrfff! - - Mmmf mnnf! + - accent-words-mumble-1 + - accent-words-mumble-2 + - accent-words-mumble-3 - type: accent id: silicon words: - - Beep. - - Boop. - - Whirr. - - Beep-boop. + - accent-words-silicon-1 + - accent-words-silicon-2 + - accent-words-silicon-3 + - accent-words-silicon-4 - type: accent id: xeno words: - - Hiss. - - Hisssss! - - Hisssuuu... - - Hiss...! + - accent-words-xeno-1 + - accent-words-xeno-2 + - accent-words-xeno-3 + - accent-words-xeno-4 - type: accent id: zombie words: - - Gruaahhhh... - - Mmuaaaa.. - - Braainnssss... - - Grrrrr... + - accent-words-zombie-1 + - accent-words-zombie-2 + - accent-words-zombie-3 + - accent-words-zombie-4 - type: accent id: genericAggressive words: - - Grr! - - Rrrr! - - Grr... - - Grrow!! + - accent-words-generic-aggressive-1 + - accent-words-generic-aggressive-2 + - accent-words-generic-aggressive-3 + - accent-words-generic-aggressive-4 diff --git a/Resources/Prototypes/bar_signs.yml b/Resources/Prototypes/bar_signs.yml index 1616d227a2..5b0b87266f 100644 --- a/Resources/Prototypes/bar_signs.yml +++ b/Resources/Prototypes/bar_signs.yml @@ -1,141 +1,141 @@ - type: barSign id: Harmbaton - name: "The Harmbaton" + name: barsign-prototype-name-harmbaton icon: "theharmbaton" - description: "A great dining experience for both security members and assistants." + description: barsign-prototype-description-harmbaton - type: barSign id: TheSingulo - name: "The Singulo" + name: barsign-prototype-name-singulo icon: "thesingulo" - description: "Where people go that'd rather not be called by their name." + description: barsign-prototype-description-singulo - type: barSign id: TheDrunkCarp - name: "The Drunk Carp" + name: barsign-prototype-name-drunk-carp icon: "thedrunkcarp" - description: "Don't drink and swim." + description: barsign-prototype-description-drunk-carp - type: barSign id: OfficerBeersky - name: "Officer Beersky's" + name: barsign-prototype-name-officer-beersky icon: "officerbeersky" - description: "Man eat a dong, these drinks are great." + description: barsign-prototype-description-officer-beersky - type: barSign id: TheOuterSpess - name: "The Outer Spess" + name: barsign-prototype-name-outer-spess icon: "theouterspess" - description: "This bar isn't actually located in outer space." + description: barsign-prototype-description-outer-spess - type: barSign id: TheCoderbus - name: "The Coderbus" + name: barsign-prototype-name-coderbus icon: "thecoderbus" - description: "A very controversial bar known for its wide variety of constantly-changing drinks." + description: barsign-prototype-description-coderbus - type: barSign id: RobustaCafe - name: "The Robusta Cafe" + name: barsign-prototype-name-robusta-cafe icon: "robustacafe" - description: "Holder of the 'Most Lethal Barfights' record 5 years uncontested." + description: barsign-prototype-description-robusta-cafe - type: barSign id: EmergencyRumParty - name: "The Emergency Rum Party" + name: barsign-prototype-name-emergency-rum-party icon: "emergencyrumparty" - description: "Recently relicensed after a long closure." + description: barsign-prototype-description-emergency-rum-party - type: barSign id: ComboCafe - name: "The Combo Cafe" + name: barsign-prototype-name-combo-cafe icon: "combocafe" - description: "Renowned system-wide for their utterly uncreative drink combinations." + description: barsign-prototype-description-combo-cafe - type: barSign id: TheAleNath - name: "The Ale' Nath" + name: barsign-prototype-name-ale-nath icon: "thealenath" - description: "All right, buddy. I think you've had EI NATH. Time to get a cab." + description: barsign-prototype-description-ale-nath - type: barSign id: TheNet - name: "The Net" + name: barsign-prototype-name-the-net icon: "thenet" - description: "You just seem to get caught up in it for hours." + description: barsign-prototype-description-the-net - type: barSign id: MaidCafe - name: "Maid Cafe" + name: barsign-prototype-name-maid-cafe icon: "maidcafe" - description: "Welcome back, master!" + description: barsign-prototype-description-maid-cafe - type: barSign id: MalteseFalcon - name: "Maltese Falcon" + name: barsign-prototype-name-maltese-falcon icon: "maltesefalcon" - description: "Play it again, sam." + description: barsign-prototype-description-maltese-falcon - type: barSign id: TheSun - name: "The Sun" + name: barsign-prototype-name-the-sun icon: "thesun" - description: "Ironically bright for such a shady bar." + description: barsign-prototype-description-the-sun - type: barSign id: TheBirdCage - name: "The Birdcage" + name: barsign-prototype-name-the-birdcage icon: "birdcage" - description: "Caw caw!" + description: barsign-prototype-description-the-birdcage - type: barSign id: Zocalo - name: "Zocalo" + name: barsign-prototype-name-zocalo icon: "zocalo" - description: "Anteriormente ubicado en Spessmerica." + description: barsign-prototype-description-zocalo - type: barSign id: LV426 - name: "LV-426" + name: barsign-prototype-name-lv426 icon: "lv426" - description: "Drinking with fancy facemasks is clearly more important than going to medbay." + description: barsign-prototype-description-lv426 - type: barSign id: WiggleRoom - name: "The Wiggle Roomm" + name: barsign-prototype-name-wiggle-room icon: "thewiggleroom" - description: "MoMMIs got moves." + description: barsign-prototype-description-wiggle-room - type: barSign id: TheLightbulb - name: "The Lightbulb" + name: barsign-prototype-name-the-lightbulb icon: "the_lightbulb" - description: "A cafe popular among moths and moffs. Once shut down for a week after the bartender used mothballs to protect her spare uniforms." + description: barsign-prototype-description-the-lightbulb - type: barSign id: Goose - name: "The Loose Goose" + name: barsign-prototype-name-goose icon: "goose" - description: "Drink till you puke and/or break the laws of reality!" + description: barsign-prototype-description-goose - type: barSign id: EngineChange - name: "The Engine Change" + name: barsign-prototype-name-enginechange icon: "enginechange" - description: "Still waiting." + description: barsign-prototype-description-enginechange - type: barSign id: Emprah - name: "4 The Emprah" + name: barsign-prototype-name-emprah icon: "emprah" - description: "Enjoyed by fanatics, heretics, and brain-damaged patrons alike." + description: barsign-prototype-description-emprah # Hidden signs list below this point - type: barSign id: EmpBarSign name: "" icon: "empbarsign" - description: "Something has gone very wrong." + description: barsign-prototype-description-empbarsign rename_area: false hidden: true @@ -143,6 +143,6 @@ id: SignOff name: "" icon: "empty" - description: "This sign doesn't seem to be on." + description: barsign-prototype-description-sign-off rename_area: false hidden: true diff --git a/Resources/Prototypes/holidays.yml b/Resources/Prototypes/holidays.yml index db4816a95d..999535926c 100644 --- a/Resources/Prototypes/holidays.yml +++ b/Resources/Prototypes/holidays.yml @@ -1,6 +1,6 @@ - type: holiday id: NewYear - name: New Year + name: holiday-name-new-year beginDay: 30 beginMonth: December endDay: 2 @@ -8,143 +8,143 @@ - type: holiday id: MisterLizard - name: Mister Lizard's Birthday + name: holiday-name-mister-lizard beginDay: 15 beginMonth: January - type: holiday id: ChineseNewYear - name: Chinese New Year + name: holiday-name-chinese-new-year shouldCelebrate: !type:ChineseNewYear {} - type: holiday id: GroundhogDay - name: Groundhog Day + name: holiday-name-groundhog-day beginDay: 2 beginMonth: February - type: holiday id: TravisScottDay - name: Travis Scott Day + name: holiday-name-travis-scott-day beginDay: 10 beginMonth: February - type: holiday id: ValentinesDay - name: Valentine's Day + name: holiday-name-valentines-day beginDay: 13 endDay: 15 beginMonth: February - type: holiday id: Birthday13 - name: Birthday of Space Station 13 + name: holiday-name-birthday13 beginDay: 16 beginMonth: February - type: holiday id: RandomKindness - name: Random Acts of Kindness Day + name: holiday-name-random-kindness beginDay: 17 beginMonth: February - type: holiday id: LeapDay - name: Leap Day + name: holiday-name-leap-day beginDay: 29 beginMonth: February - type: holiday id: MikuDay - name: Hatsune Miku Day + name: holiday-name-miku-day beginDay: 9 beginMonth: March - type: holiday id: PiDay - name: Pi Day + name: holiday-name-pi-day beginDay: 14 beginMonth: March - type: holiday id: StPatricksDay - name: St. Patrick's Day + name: holiday-name-st-patricks-day beginDay: 17 beginMonth: March - type: holiday - id: Easter + id: holiday-name-easter name: Easter shouldCelebrate: !type:Computus { } - type: holiday id: AprilFoolDay - name: April Fools Day + name: holiday-name-april-fool-day beginDay: 1 beginMonth: April - type: holiday id: AutismAwarenessDay - name: Autism Awareness Day + name: holiday-name-autism-awareness-day beginDay: 2 beginMonth: April - type: holiday id: CosmonauticsDay - name: Cosmonautics Day + name: holiday-name-cosmonautics-day beginDay: 12 beginMonth: April greet: !type:Custom - text: On this day over 600 years ago, Comrade Yuri Gagarin first ventured into space! + text: holiday-custom-cosmonautics-day - type: holiday id: FourTwenty - name: Four-Twenty + name: holiday-name-four-twenty beginDay: 20 beginMonth: April - type: holiday id: TeaDay - name: National Tea Day + name: holiday-name-tea-day beginDay: 21 beginMonth: April - type: holiday id: EarthDay - name: Earth Day + name: holiday-name-earth-day beginDay: 22 beginMonth: April - type: holiday id: AnzacDay - name: Anzac Day + name: holiday-name-anzac-day beginDay: 25 beginMonth: April - type: holiday id: Birthday14 - name: Birthday of Space Station 14 + name: holiday-name-birthday14 beginDay: 26 beginMonth: April - type: holiday id: LaborDay - name: Labor Day + name: holiday-name-labor-day beginDay: 1 beginMonth: May - type: holiday id: FirefighterDay - name: Firefighter's Day + name: holiday-name-firefighter-day beginDay: 4 beginMonth: May - type: holiday id: MothersDay - name: Mother's Day + name: holiday-name-mothers-day beginMonth: May shouldCelebrate: !type:WeekdayInMonth @@ -152,35 +152,35 @@ occurrence: 2 greet: !type:Custom - text: "Happy Mother's Day in most of the Americas, Asia, and Oceania!" + text: holiday-custom-mothers-day - type: holiday id: OwlAndPussycatDay - name: Owl and Pussycat Day + name: holiday-name-owl-and-pussycat-day beginDay: 12 beginMonth: May - type: holiday id: MoMMIDay - name: MoMMI Day + name: holiday-name-mommi-day beginDay: 30 beginMonth: May - type: holiday id: GarbageDay - name: Garbage Day + name: holiday-name-garbage-day beginDay: 17 beginMonth: June - type: holiday id: InternationalPicnicDay - name: International Picnic Day + name: holiday-name-international-picnic-day beginDay: 18 beginMonth: June - type: holiday id: FathersDay - name: Father's Day + name: holiday-name-fathers-day beginMonth: August shouldCelebrate: !type:WeekdayInMonth @@ -189,61 +189,61 @@ - type: holiday id: SummerSolstice - name: Summer Solstice + name: holiday-name-summer-solstice beginDay: 21 beginMonth: June - type: holiday id: StonewallRiotsAnniversary - name: Stonewall Riots Anniversary + name: holiday-name-stonewall-riots-anniversary beginDay: 28 beginMonth: June - type: holiday id: DoctorDay - name: Doctor's Day + name: holiday-name-doctor-day beginDay: 1 beginMonth: July - type: holiday id: UFODay - name: UFO Day + name: holiday-name-ufo-day beginDay: 2 beginMonth: July - type: holiday id: USIndependenceDay - name: US Independence Day + name: holiday-name-us-independence-day beginDay: 4 beginMonth: July - type: holiday id: WritersDay - name: Writer's Day + name: holiday-name-writers-day beginDay: 8 beginMonth: July - type: holiday id: BastilleDay - name: Bastille Day + name: holiday-name-bastille-day beginDay: 14 beginMonth: July greet: !type:Custom - text: Do you hear the people sing? + text: holiday-custom-bastille-day - type: holiday id: FriendshipDay - name: Friendship Day + name: holiday-name-friendship-day beginDay: 30 beginMonth: July greet: !type:Custom - text: Have a magical Friendship Day! + text: holiday-custom-friendship-day - type: holiday id: BeerDay - name: Beer Day + name: holiday-name-beer-day shouldCelebrate: !type:WeekdayInMonth weekday: Friday @@ -251,53 +251,53 @@ - type: holiday id: TalkLikeAPirateDay - name: Talk-Like-a-Pirate Day + name: holiday-name-talk-like-a-pirate-day beginDay: 19 beginMonth: September greet: !type:Custom - text: "Ye be talkin' like a pirate today or else ye'r walkin' tha plank, matey!" + text: holiday-custom-talk-like-a-pirate-day - type: holiday id: ProgrammersDay - name: Programmers' Day + name: holiday-name-programmers-day shouldCelebrate: !type:DayOfYear dayOfYear: 256 - type: holiday id: BisexualPrideDay - name: Bisexual Pride Day + name: holiday-name-bisexual-pride-day beginDay: 23 beginMonth: September - type: holiday id: StupidQuestionsDay - name: Stupid-Questions Day + name: holiday-name-stupid-questions-day beginDay: 28 beginMonth: September - type: holiday id: AnimalsDay - name: Animal's Day + name: holiday-name-animals-day beginDay: 4 beginMonth: October - type: holiday id: SmilingDay - name: Smiling Day + name: holiday-name-smiling-day beginDay: 7 beginMonth: October - type: holiday id: LesbianDay - name: Lesbian Day + name: holiday-name-lesbian-day beginDay: 8 beginMonth: October - type: holiday id: CanadianThanksgiving - name: Thanksgiving in Canada + name: holiday-name-canadian-thanksgiving beginMonth: October shouldCelebrate: !type:WeekdayInMonth @@ -306,7 +306,7 @@ - type: holiday id: SpiritDay - name: Spirit Day + name: holiday-name-spirit-day beginMonth: October shouldCelebrate: !type:WeekdayInMonth @@ -314,62 +314,62 @@ weekday: Thursday - type: holiday - id: Halloween + id: holiday-name-halloween name: Halloween beginDay: 31 beginMonth: October greet: !type:Custom - text: Have a spooky Halloween! + text: holiday-custom-halloween - type: holiday id: VeganDay - name: Vegan Day + name: holiday-name-vegan-day beginDay: 1 beginMonth: November - type: holiday id: ArmisticeDay - name: Armistice Day + name: holiday-name-armistice-day beginDay: 11 beginMonth: November - type: holiday id: KindnessDay - name: Kindness Day + name: holiday-name-kindness-day beginDay: 13 beginMonth: November greet: !type:Custom - text: Go do some random acts of kindness for a stranger! + text: holiday-custom-kindness-day - type: holiday id: LifeDay - name: Life Day + name: holiday-name-life-day beginDay: 17 beginMonth: November - type: holiday id: FlowersDay - name: Flower's Day + name: holiday-name-flowers-day beginDay: 19 beginMonth: November - type: holiday id: TransgenderRemembranceDay - name: Transgender Day of Remembrance + name: holiday-name-transgender-remembrance-day beginDay: 20 beginMonth: November - type: holiday id: SayingHelloDay - name: Saying Hello Day + name: holiday-name-saying-hello-day beginDay: 21 beginMonth: November - type: holiday id: Thanksgiving - name: Thanksgiving in the United States + name: holiday-name-thanksgiving beginMonth: November shouldCelebrate: !type:WeekdayInMonth @@ -377,57 +377,57 @@ weekday: Thursday - type: holiday - id: Sinterklaas + id: holiday-name-sinterklaas name: Sinterklaas beginDay: 5 beginMonth: December - type: holiday id: HumanRightsDay - name: Human-Rights Day + name: holiday-name-human-rights-day beginDay: 10 beginMonth: December - type: holiday id: MonkeyDay - name: Monkey Day + name: holiday-name-monkey-day beginDay: 14 beginMonth: December - type: holiday id: MayanDoomsday - name: Mayan Doomsday Anniversary + name: holiday-name-mayan-doomsday beginDay: 21 beginMonth: December - type: holiday - id: Christmas + id: holiday-name-christmas name: Christmas beginDay: 24 endDay: 26 beginMonth: December greet: !type:Custom - text: Have a merry Christmas! + text: holiday-custom-christmas - type: holiday id: FestiveSeason - name: Festive Season + name: holiday-name-festive-season beginDay: 1 endDay: 31 beginMonth: December greet: !type:Custom - text: Have a nice festive season! + text: holiday-custom-festive-season - type: holiday id: BoxingDay - name: Boxing Day + name: holiday-name-boxing-day beginDay: 26 beginMonth: December - type: holiday id: FridayThirteenth - name: Friday the 13th + name: holiday-name-friday-thirteenth shouldCelebrate: !type:FridayThirteenth { } diff --git a/Resources/Prototypes/species.yml b/Resources/Prototypes/species.yml index 2c4261b06e..65c794acf2 100644 --- a/Resources/Prototypes/species.yml +++ b/Resources/Prototypes/species.yml @@ -1,6 +1,6 @@ - type: species id: Human - name: Human + name: species-name-human roundStart: true prototype: MobHuman dollPrototype: MobHumanDummy @@ -8,7 +8,7 @@ - type: species id: Dwarf - name: Dwarf + name: species-name-dwarf roundStart: true prototype: MobDwarf dollPrototype: MobDwarfDummy @@ -16,7 +16,7 @@ - type: species id: Reptilian - name: Reptilian + name: species-name-reptilian roundStart: true prototype: MobReptilian dollPrototype: MobReptilianDummy @@ -24,7 +24,7 @@ - type: species id: SlimePerson - name: Slime Person + name: species-name-slime roundStart: true prototype: MobSlimePerson dollPrototype: MobSlimePersonDummy