Skip to content

Commit

Permalink
docs: update zh-cn customisation guide (#11)
Browse files Browse the repository at this point in the history
This is re-PR'ed from quisquous#6052

------

This is the following up for quisquous#6047 , also fix several
typos in English version.


According to [Microsoft's localisation
guide](https://learn.microsoft.com/en-us/globalization/localization/ministyleguides/mini-style-guide-sim-chinese)
and [vinta's 盤古之白 convince](https://github.com/vinta/pangu.js), this PR
do the following:

- Add missing lines in the previous PR.
- Replace all polite `您` to a normal `你`.
- Insert spaces between Chinese characters and western characters or
symbols (the `Pangu`-ism).
- Captalize all English words, unless it has a special spell rule.

------

cc @Echoring @ShadyWhite
  • Loading branch information
MaikoTan authored Dec 22, 2023
1 parent 00d9e93 commit 749239d
Show file tree
Hide file tree
Showing 2 changed files with 85 additions and 85 deletions.
6 changes: 3 additions & 3 deletions docs/CactbotCustomization.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ and they don't expose a lot of knobs to tune.
If you have particular things you want to change about the timeline bars that you can't,
please feel free to submit a [github issue](https://github.com/OverlayPlugin/cactbot/issues/new/choose).

**Warning**: cactbot makes no guarantees about preserving CSS backwards compatability.
**Warning**: cactbot makes no guarantees about preserving CSS backwards compatibility.
Future changes to cactbot may rearrange elements,
change element names and classes,
or change styling entirely.
Expand Down Expand Up @@ -388,7 +388,7 @@ The steps to override a timeline are:
[ui/raidboss/data/05-shb/ultimate/the_epic_of_alexander.txt](../ui/raidboss/data/05-shb/ultimate/the_epic_of_alexander.txt)
to `user/the_epic_of_alexander.txt`.

1) Add a section to your user/raidboss.js file to override this.
1) Add a section to your `user/raidboss.js` file to override this.

Like adding a trigger, you add a section with the `zoneId`,
along with `overrideTimelineFile: true`,
Expand Down Expand Up @@ -458,7 +458,7 @@ provide access to.
## Global Trigger File Imports
User files are `eval`'d in JavaScript,
User files are [`eval`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval)'d in JavaScript,
and thus cannot `import` in the same way that built-in trigger files do.
User javascript files have access to the following globals:

Expand Down
Loading

0 comments on commit 749239d

Please sign in to comment.