From eb01915d6ba1f7fa8152ad4ba3364e707599cf72 Mon Sep 17 00:00:00 2001 From: Dean <69436131+emdeann@users.noreply.github.com> Date: Tue, 8 Apr 2025 00:34:36 -0700 Subject: [PATCH] Update code tags --- CONTRIBUTING.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7bdca528c77..c47c05e9a93 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -127,7 +127,7 @@ fetching translated text is as follows: 2. The game looks up the key in the corresponding JSON file in the user's language, e.g. - ```json + ```ts // from "en/file-name.json"... "keyName": "{{arg1}}! This is {{arg2}} of translated text!" ``` @@ -136,7 +136,7 @@ corresponding English key (in the case of LATAM Spanish, it will first default t 3. The game shows the text to the user: - ```json + ```ts "Hello! This is an example of translated text!" ``` ### Adding Translated Text @@ -163,4 +163,4 @@ It'll be merged into the locales repository after any necessary corrections, at > Some issues may require you to have unlocks on your save file which go beyond overrides. For this case, there is a save file with everything unlocked (some of which are not legitimately obtainable). 1. Start the game up locally and navigate to `Menu -> Manage Data -> Import Data` -2. Select [everything.prsv](test/testUtils/saves/everything.prsv) (`test/testUtils/saves/everything.prsv`) and confirm \ No newline at end of file +2. Select [everything.prsv](test/testUtils/saves/everything.prsv) (`test/testUtils/saves/everything.prsv`) and confirm