Skip to content

Commit

Permalink
Merge pull request #54 from usevital/Thinkseal-patch-1
Browse files Browse the repository at this point in the history
Improved translation for some flipped text in Minecraft
  • Loading branch information
Thinkseal authored Oct 19, 2024
2 parents 9e04f78 + 354990d commit df7139e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/TextConverter.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def save_result(self, result, mode):
def flipUD(self, text):
flip_map = str.maketrans(
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890.,!?/\"'()[]{\}",
"ɐqɔpǝɟɓɥᴉſʞlɯuodbɹsʇnʌʍxʎz∀ꓭƆꓷƎℲꓨHIſꓘ⅃WNOꓒΌꓤSꓕꓵΛMX⅄Z⇂ᘕԐત૨୧L8მ0·ˋ¡¿\„,)(][}/{"
"ɐqɔpǝɟɓɥᴉſʞlɯuodbɹsʇnʌʍxʎzⱯᗺƆᗡƎℲ⅁HIſꓘꞀWNOԀꝹᴚS⟘∩ΛMX⅄Z⇂ᘕԐત૨୧L8მ0·'¡¿\„,)(][}/{"
)
return text.translate(flip_map)

Expand Down

0 comments on commit df7139e

Please sign in to comment.