81ba6ab6f0
* feat: lp mig - first few steps * lp mig: default tasks * code comments * docs * lp-mig-progress * shared * comments and todos * fix: curio: rename lotus-provider to curio (#11645) * rename provider to curio * install gotext * fix lint errors, mod tidy * fix typo * fix API_INFO and add gotext to circleCI * add back gotext * add gotext after remerge * lp: channels doc * finish easy-migration TODOs * out generate * merging and more renames * avoid make-all * minor doc stuff * cu: make gen * make gen fix * make gen * tryfix * go mod tidy * minor ez migration fixes * ez setup - ui cleanups * better error message * guided setup colors * better path to saveconfigtolayer * loadconfigwithupgrades fix * readMiner oops * guided - homedir * err if miner is running * prompt error should exit * process already running, miner_id sectors in migration * dont prompt for language a second time * check miner stopped * unlock repo * render and sql oops * curio easyMig - some fixes * easyMigration runs successfully * lint * review fixes * fix backup path * fixes1 * fixes2 * fixes 3 --------- Co-authored-by: LexLuthr <88259624+LexLuthr@users.noreply.github.com> Co-authored-by: LexLuthr <lexluthr@protocol.ai>
28 lines
924 B
Go
28 lines
924 B
Go
// Usage:
|
|
// To UPDATE translations:
|
|
//
|
|
// 1. add/change strings in guidedsetup folder that use d.T() or d.say().
|
|
//
|
|
// 2. run `go generate` in the cmd/curio/internal/translations/ folder.
|
|
//
|
|
// 3. ChatGPT 3.5 can translate the ./locales/??/out.gotext.json files'
|
|
// which ONLY include the un-translated messages.
|
|
// APPEND to the messages.gotext.json files's array.
|
|
//
|
|
// ChatGPT fuss:
|
|
// - on a good day, you may need to hit "continue generating".
|
|
// - > 60? you'll need to give it sections of the file.
|
|
//
|
|
// 4. Re-import with `go generate` again.
|
|
//
|
|
// To ADD a language:
|
|
// 1. Add it to the list in updateLang.sh
|
|
// 2. Run `go generate` in the cmd/curio/internal/translations/ folder.
|
|
// 3. Follow the "Update translations" steps here.
|
|
// 4. Code will auto-detect the new language and use it.
|
|
//
|
|
// FUTURE Reliability: OpenAPI automation.
|
|
package translations
|
|
|
|
//go:generate ./updateLang.sh
|