Skip to content

Instantly share code, notes, and snippets.

@sparr
Created August 19, 2025 21:23
Show Gist options
  • Save sparr/e72cf6f22d79d46f4d32040c86b98ec7 to your computer and use it in GitHub Desktop.
Save sparr/e72cf6f22d79d46f4d32040c86b98ec7 to your computer and use it in GitHub Desktop.
cataclysm dda similar translation strings after https://github.com/CleverRaven/Cataclysm-DDA/pull/82494
different context but not really:
'%1$s hits your %2$s.' | '%1$s hits your %2$s!'
unsure:
'Office Tower Rooftop' | 'Office Tower 2 Rooftop'
'Let's get a move on.' | 'Let's get a move on!'
'You don't have that item.' | 'You don't have that item!'
'You are slammed against %s!' | 'You are slammed against %s.'
'They know what you've done.' | 'They know what you've done…'
'You try to sleep, but can't.' | 'You try to sleep, but can't…'
'OH you aren't getting away with that.' | 'Oh, you aren't getting away with that.'
'%1$s gestures and a sudden force slams you to the ground!' | '%1$s gestures and a sudden force slams you into the ground!'
'You are filled with energy that improves everything you do.' | 'You are filled with energy that improves everything you do!'
quotes (mi-go speech):
'Watch you bleed out!' | '"Watch you bleed out!"'
'Not that way! Go left!' | '"Not that way! Go left!"'
'Oh God, my leg, Oh God!' | '"Oh God, my leg, Oh God!"'
'Where did you come from?' | '"Where did you come from?"'
'It's alive! IT'S ALIVE!' | '"It's alive! It's alive!"'
'How do we get out of here?' | '"How do we get out of here?"'
'Please, I don't want to die.' | '"Please, I don't want to die."'
'"You should be sleeping by now!"' | '"You should be sleeping by now."'
'We have a serious situation here.' | '"We have a serious situation here."'
'You're gonna rot in hell for this!' | '"You're gonna rot in hell for this!"'
'Every man has got a breaking point.' | '"Every man has got a breaking point."'
'Only a few more days 'til the weekend.' | '"Only a few more days 'til the weekend."'
'Kill them all and let God sort them out!' | '"Kill them all and let God sort them out!"'
'Look at this fuckin' shit we're in, man.' | '"Look at this fuckin' shit we're in, man."'
'I AM FOODPERSON. AND I BRING SUSTENANCE!' | '"I AM FOODPERSON. AND I BRING SUSTENANCE!"'
'I love the smell of napalm in the morning.' | '"I love the smell of napalm in the morning."'
'I've seen horrors, horrors that you've seen.' | '"I've seen horrors, horrors that you've seen."'
want to fix but code construct makes it nontrivial:
'Place overmap terrain' | 'Place overmap terrain:'
'Place overmap special' | 'Place overmap special:'
'Choose mutation category' | 'Choose mutation category:'
'<bold>Encumbrance</bold>' | '<bold>Encumbrance</bold>:'
'<bold>Breathability</bold>' | '<bold>Breathability</bold>:'
'<bold>Capacity</bold>: %dJ' | '<bold>Capacity</bold>: %dmJ'
'<bold>Capacity</bold>: %dJ' | '<bold>Capacity</bold>: %dkJ'
'<bold>Total Coverage</bold>' | '<bold>Total Coverage</bold>:'
'<bold>Capacity</bold>: %dmJ' | '<bold>Capacity</bold>: %dkJ'
'What to do with the %s?' | 'What to do with the %s?%s'
'What to do with the %s?%s' | 'What to do with the %s?%s%s'
'foraging for edible plants' | 'Foraging for edible plants.\n'
'Add to safe mode blacklist' | '<A>dd to safe mode blacklist'
'(pop <color_white>?</color>)' | '(pop <color_white>%s</color>)'
'Remove from safe mode blacklist' | '<R>emove from safe mode blacklist'
'(To delete, clear the text and confirm)' | '(To delete, clear the text and confirm)\n'
etc | ' <color_light_gray>ₒ₊₊₊<color_white>ₙ<color_light_gray>ₑₜₕₑᵣ<color_white>ₐ<color_light_gray>ₜₜᵤₙₑₘₑₙₜ ₊₊₊ₒ</color>' | ' <color_light_gray>₍₊₊₊<color_white>ₙ<color_light_gray>ₑₜₕₑᵣ<color_white>ₐ<color_light_gray>ₜₜᵤₙₑₘₑₙₜ ₊₊₊₎</color>'
keeping only for consistency with surrounding strings:
'Peek through the closed curtains' | 'Peek through the closed curtains.'
'<color_white>Description</color>\n' | '<<color_white>Description</color>>'
'Bring me the heart of a Jabberwock' | '[Bring me the heart of a Jabberwock]'
'Choose installed bionic to uninstall' | 'Choose installed bionic to uninstall.'
'Choose Compact Bionic Module to install' | 'Choose Compact Bionic Module to install.'
'Kill the remains of a dreamforged automaton' | '[Kill the remains of a dreamforged automaton]'
etc | '* Only works on a <info>non-stunned</info> target of <info>similar or smaller</info> size' | '* Only works on a <info>non-stunned</info> target of <info>similar or smaller</info> size.'
would fix with json format strings:
'[$3] I'll take a beer' | '[$8] I'll take a beer.'
'Profit: 3 merch/hour\nDanger: Minimal\nTime: 1 hour minimum\n\nLabor Roster:\n' | 'Profit: 5 merch/hour\nDanger: Minimal\nTime: 1 hour minimum\n\nLabor Roster:\n'
etc | 'An extended 25-round stick magazine for the Ruger 10/22, known as the BX-25.' | 'An extended 15-round stick magazine for the Ruger 10/22, known as the BX-15.'
etc | '[<color_light_green>+$20</color>, <color_light_red>-100 <item_name:9mm></color>]' | '[<color_light_green>+$23</color>, <color_light_red>-100 <item_name:9mmP></color>]'
'Contemplate your powers and improve your ability to maintain a slight distance from reality.\n\nPower Difficulty: 5' | 'Contemplate your powers and improve your ability to maintain a slight distance from reality.\n\nPower Difficulty: 6'
'A big metal crate. On one side it has label "EXPLOSIVE", and on another is written:\n<color_yellow>6 RDS 84MM HE</color>' | 'A big metal crate. On one side it has label "EXPLOSIVE", and on another is written:\n<color_yellow>6 RDS 84MM HEDP</color>'
etc | 'UICA's normally digital currency, rendered physical for use in the frontier. Worth exactly 1 United Solar Denomination.' | 'UICA's normally digital currency, rendered physical for use in the frontier. Worth exactly 10 United Solar Denominations.'
asked on Discord:
'&You listen to the directions, and jot them down in your map' | '&You listen to the directions, and jot them down in your map.'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment