Skip to content
This repository has been archived by the owner on Apr 16, 2022. It is now read-only.

Fixes for Foundry 0.8.x #25

Open
wants to merge 143 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
143 commits
Select commit Hold shift + click to select a range
d55a7fe
Fixes for Foundry 0.8.x
cs96and Jun 4, 2021
1556175
Only convert in-character messages to out-of-character for hidden tok…
cs96and Jun 8, 2021
1de88f1
Added LICENSE (MIT)
cs96and Jun 8, 2021
f7d968a
Use libWrapper
cs96and Jun 8, 2021
b6c1927
Compatibility with "Tabbed Chatlog" module.
cs96and Jun 8, 2021
329bfae
Renamed module name to CautiousGamemastersPack2
cs96and Jun 8, 2021
b54d6da
Use League of Foundry Developers workflow
cs96and Jun 8, 2021
79ff02f
Updated README.md
cs96and Jun 8, 2021
3ad68da
Renamed modulke to cautious-gamemasters-pack-2, to match Foundry's mo…
cs96and Jun 8, 2021
3c4ce65
Update README.md
cs96and Jun 8, 2021
ac8121b
Update README.md
cs96and Jun 8, 2021
889775f
Revert "Renamed modulke to cautious-gamemasters-pack-2, to match Foun…
cs96and Jun 9, 2021
b10bea1
Revert "Renamed module name to CautiousGamemastersPack2"
cs96and Jun 9, 2021
edb6007
Corrected conflicts
cs96and Jun 9, 2021
58083c4
Update README.md
cs96and Jun 9, 2021
cf152db
Minor changes to english settings descriptions.
cs96and Jun 14, 2021
c3b3d48
More streamlined typing notification.
cs96and Jun 14, 2021
0353588
Stop the typing notification if all text is deleted.
cs96and Jun 14, 2021
7ced0e8
Added French Canadian translation.
cs96and Jun 14, 2021
ab17097
Updated typing notification animated gif.
cs96and Jun 14, 2021
ba425f2
Updated settings screenshot.
cs96and Jun 14, 2021
4210e6a
Added a horizontal line to the readme
cs96and Jun 14, 2021
82727eb
Made compatible with 0.7 and 0.8
cs96and Jun 14, 2021
086a771
Only convert in-character messages to out-of-character, when "Disable…
cs96and Jun 27, 2021
5ae0402
Prevent the Chat Portrait module from displaying the speaker and port…
cs96and Jun 29, 2021
4bf5dfb
Updated Foundry compatibility to 0.8.8
cs96and Jun 29, 2021
d3e4718
Added shields.io badges to the readme
cs96and Jul 5, 2021
b327e24
Changed download count badge to latest release only
cs96and Jul 5, 2021
cab0e52
Create FUNDING.yml
cs96and Jul 5, 2021
4eb2b84
Added ko-fi link to readme
cs96and Jul 5, 2021
e021262
Updated module.json
cs96and Jul 5, 2021
11e709e
Added copyright notices to source files
cs96and Jul 5, 2021
c6ae52e
Try to prevent the typing notification from covering the last line of…
cs96and Jul 5, 2021
a62403c
Removed rogue comma in module.json
cs96and Jul 5, 2021
d6d12bf
Updated README.md to show downloads of *latest* release
cs96and Jul 5, 2021
a8d64d3
Hide chat portrait on /as messages.
cs96and Jul 13, 2021
f1e081a
Use foundry hook instead of libWrapper to handle /desc and /as messages.
cs96and Jul 13, 2021
6fae470
Added shield badge for compatible Foundry version
cs96and Jul 15, 2021
dba5a4d
Prevent hidden tokens' Dice So Nice rolls appearing on players screen…
cs96and Jul 16, 2021
81b2fb8
Compatibility with Damage Log module
cs96and Jul 20, 2021
b63152b
Added .gitignore
cs96and Jul 21, 2021
7590e42
Compatability with latest Damage Log flags
cs96and Jul 23, 2021
470b306
force chat in-character assigned
sunflowermans Aug 20, 2021
216e5ec
Merge pull request #6 from sunflowermans/master
cs96and Sep 1, 2021
7501cf6
Use getSpeaker() when converting message to in-character.
cs96and Sep 1, 2021
133189c
Changed the two speaker modes to a drop-down in settings.
cs96and Sep 1, 2021
6e47226
Don't reload the window when changing some settings.
cs96and Sep 1, 2021
a908d68
Correctly honour the "Blind rolls by hidden tokens" setting when Bett…
cs96and Sep 1, 2021
d6dfbee
cosmetic
cs96and Sep 1, 2021
3000296
Updated README.md and settings.png
cs96and Sep 1, 2021
a4cd518
Updated compatibleCoreVersion to 0.8.9
cs96and Sep 1, 2021
491fc8f
Added support for styling emotes
cs96and Sep 19, 2021
8629862
Better handling of of "Force in-character" speaker mode
cs96and Sep 20, 2021
03a462f
Added new "GM always OOC" speaker mode
cs96and Sep 20, 2021
3c01c45
Improved readability of an if-statement
cs96and Sep 20, 2021
7c03225
Added setting to allow players to use the /desc command.
cs96and Sep 20, 2021
4fb22c0
Always treat /desc messages as in-character
cs96and Sep 20, 2021
37d8af5
Update README.md
cs96and Sep 20, 2021
b7f4754
Update README.md
cs96and Sep 20, 2021
e76666d
Update README.md
cs96and Sep 20, 2021
b1fcfab
Updated settings.png
cs96and Sep 20, 2021
7f8f126
Reduced size of additional_chat_commands.png
cs96and Sep 20, 2021
ef8c719
v0.4.0 ko.json
drdwing Sep 26, 2021
b49395b
Merge pull request #8 from drdwing/patch-1
cs96and Sep 27, 2021
a3684f0
Renamed style.css -> cgmp.css
cs96and Nov 1, 2021
9c92765
Ensure the typing notification gets hidden correctly when modules the…
cs96and Nov 1, 2021
94fb0a9
Removed "Disable Chat Recall" option
cs96and Nov 25, 2021
a750714
Support for v9
cs96and Nov 25, 2021
c1d6ffa
Don't trigger a typing notification if the chat box is empty and the …
cs96and Nov 25, 2021
ab476ee
Removed TypingNotifier._getKey(), use event.key directly instead.
cs96and Dec 21, 2021
d9fb92f
Removed need for TypingNotifier._isNoticeVisible variable
cs96and Dec 21, 2021
aa20b9f
Update README.md
cs96and Dec 21, 2021
9cb4fce
Updated settings.png
cs96and Dec 21, 2021
336f999
Updated copyright notices
cs96and Jan 6, 2022
902de8b
Removed support for Foundry 0.7
cs96and Jan 6, 2022
db4396c
Added separate GM and player speaker modes.
cs96and Jan 6, 2022
9ace9f4
Compatibility with Mobile Improvements module
cs96and Jan 21, 2022
5d4f567
Tightened CSS to prevent conflicts with other modules.
cs96and Feb 1, 2022
7667040
Added setting to hide damage/healing scrolling text on NPC tokens.
cs96and Feb 17, 2022
a36974c
Use our own event handler, rather than using libWrapper.
cs96and Jan 21, 2022
ffed9c8
Correctly identify Pathfinder 1 attack rolls, so they don't get attri…
cs96and May 15, 2022
8081491
Added setting to (dis)allow players to see typing notifications.
cs96and Jun 8, 2022
a964179
Simplified TypingNotifier._onRemotePacket by using a debounced function.
cs96and Jun 8, 2022
7062e40
Update README.md
cs96and Jun 8, 2022
29a52dc
Update README.md
cs96and Jun 8, 2022
ead90e0
Added support for Foundry v10.
cs96and Jun 17, 2022
77805a0
Fix for scrolling text in v10
cs96and Oct 17, 2022
15c25cc
Added v10 "relationships" property to manifest
cs96and Oct 17, 2022
420b150
feat: make compatible with popout chat logs
Asinphi Nov 13, 2022
864c4e8
perf: remove redundant delete typing user operations
Asinphi Nov 13, 2022
dbc5409
Merge pull request #17 from Asinphi/master
cs96and Nov 14, 2022
8f9d97b
Updated module.json for use with cschleiden/replace-tokens
cs96and Nov 14, 2022
c9bac74
Updated github workflow
cs96and Nov 14, 2022
a4c16bd
Maintain draft and prerelease status
cs96and Nov 14, 2022
c9ff185
Merge branch 'new_workflow'
cs96and Nov 14, 2022
581619d
Added translation using Weblate (French)
rectulo Dec 4, 2022
4b2c88f
Translated using Weblate (French)
rectulo Dec 4, 2022
07116b0
Merge pull request #18 from foundryvtthub/weblate-CautiousGamemasters…
cs96and Dec 12, 2022
305fb1a
Add a new speaker mode.
airbreather Feb 1, 2023
d97d8c4
Update README.md to document the new speaker mode.
airbreather Feb 1, 2023
ae2474a
Merge pull request #22 from airbreather/gh-19
cs96and Feb 7, 2023
f520fe3
Cosmetic
cs96and Feb 7, 2023
a021ae7
Use Varriount/[email protected]
cs96and Feb 7, 2023
c2cba2b
Translated using Weblate (French)
Feb 13, 2023
868fa88
Merge pull request #24 from foundryvtthub/weblate-CautiousGamemasters…
cs96and Feb 23, 2023
7886546
Translated using Weblate (Spanish)
DragonHale Mar 10, 2023
86940bc
fix: compatibility with mobile improvements
Asinphi Mar 28, 2023
4d09c35
Merge branch 'cs96and:master' into master
Asinphi Mar 28, 2023
058b873
perf: don't double process keystrokes in popout chatboxes
Asinphi Mar 28, 2023
0dedeb0
Added translation using Weblate (Chinese (Simplified))
sakusenerio Apr 10, 2023
a7e3a9f
Translated using Weblate (Chinese (Simplified))
sakusenerio Apr 10, 2023
825bb67
Merge pull request #26 from foundryvtthub/weblate-CautiousGamemasters…
cs96and Apr 18, 2023
243c66e
Renamed zh_Hans.json -> cn.json
cs96and Apr 18, 2023
9c45abc
Translated using Weblate (Portuguese (Brazil) (pt-BR))
mclemente Apr 21, 2023
45ecf80
Merge pull request #28 from foundryvtthub/weblate-CautiousGamemasters…
cs96and Apr 24, 2023
bf7af97
Announce compatibility with Foundry v11
cs96and May 26, 2023
abc403e
Added translation using Weblate (Finnish)
DemianWright Jun 26, 2023
36b270d
Translated using Weblate (Finnish)
DemianWright Jun 26, 2023
5e01647
Merge pull request #29 from foundryvtthub/weblate-CautiousGamemasters…
cs96and Jul 21, 2023
3f0addb
Merge pull request #27 from Asinphi/master
cs96and Jul 21, 2023
bab595a
Fixed error when opening the settings as a player
cs96and Aug 25, 2023
391ef2d
Fixed "Use assigned when in-character" mode.
cs96and Aug 25, 2023
db56935
Updated copyright notices
cs96and Aug 25, 2023
51483ff
Updated copyright notice in LICENSE
cs96and Sep 8, 2023
76327fa
Send /desc messages as type "OTHER"
cs96and Oct 4, 2023
94fdfc4
Added translation using Weblate (Polish)
Lioheart Nov 5, 2023
e40406c
Translated using Weblate (Polish)
Lioheart Nov 5, 2023
9a81159
Merge pull request #33 from foundryvtthub/weblate-CautiousGamemasters…
cs96and Nov 6, 2023
622dbe8
Update ja.json
doumoku Dec 21, 2023
82e44de
Removed support for BetterRolls module
cs96and Mar 3, 2024
406980a
Removed support for Foundry v8 and v9
cs96and Mar 3, 2024
84282be
Correctly hide chat portrait for "/as" messages in dnd5e v3
cs96and Mar 3, 2024
8022ab9
Added support for Foundry v12
cs96and Mar 3, 2024
9a5a04b
Updated to new package release workflow
cs96and Mar 3, 2024
3d4eac7
Merge pull request #36 from doumoku/patch-1
cs96and Mar 3, 2024
c35bdde
Added missing comma in ja.json
cs96and Mar 3, 2024
b403a3e
Updated copyright notices to 2024
cs96and Mar 4, 2024
b74e97d
Full v12 compatibility
cs96and May 20, 2024
877c689
workflow: Use checkout@v4
cs96and May 20, 2024
3553a73
Removed styling on emotes (interferes with Dorako UI).
cs96and Jul 5, 2024
0fd769d
Added option to disable flashing of Dynamic Token Rings
cs96and Jul 5, 2024
e09dabc
Removed manifestPlusVersion from module.json
cs96and Nov 26, 2024
5b98eef
Only disable scrolling text for players.
cs96and Nov 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# These are supported funding model platforms

github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: cs96and
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
78 changes: 46 additions & 32 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,52 @@
on:
push:
# Sequence of patterns matched against refs/tags
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
name: Release Creation

name: Upload Release Asset
on:
release:
types: [published]

jobs:
build:
name: Upload Release Asset
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Build project # This would actually build your project, using zip for an example artifact
run: |
zip -r release.zip module/
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: ./release.zip
asset_name: release.zip
asset_content_type: application/zip
- uses: actions/checkout@v4

# Substitute the Manifest and Download URLs in the module.json
- name: Substitute Manifest and Download Links For Versioned Ones
id: sub_manifest_link_version
uses: cschleiden/replace-tokens@v1
with:
files: 'module/module.json'
env:
VERSION: ${{ github.event.release.tag_name }}
URL: https://github.com/${{ github.repository }}
MANIFEST: https://github.com/${{ github.repository }}/releases/latest/download/module.json
DOWNLOAD: https://github.com/${{ github.repository }}/releases/download/${{ github.event.release.tag_name }}/module.zip
CHANGELOG: https://github.com/${{ github.repository }}/releases/tag/${{ github.event.release.tag_name }}

# Create a zip file with all files required by the module to add to the release
- name: Zip Files
id: zip_files
run: zip -r ./module.zip module/ LICENSE

# Create a release for this specific version
- name: Update Release with Files
id: create_version_release
uses: ncipollo/release-action@v1
with:
allowUpdates: true # Set this to false if you want to prevent updating existing releases
omitNameDuringUpdate: true
omitBodyDuringUpdate: true
omitDraftDuringUpdate: true
omitPrereleaseDuringUpdate: true
token: ${{ secrets.GITHUB_TOKEN }}
artifacts: './module/module.json, ./module.zip'
tag: ${{ github.event.release.tag_name }}

# Publish the release to FoundryVTT's package repository.
- name: Publish Module to FoundryVTT Website
id: publish_to_foundry_website
if: ${{ !github.event.release.unpublished && !github.event.release.prerelease }}
uses: cs96and/FoundryVTT-release-package@v1
with:
package-token: ${{ secrets.FOUNDRY_PACKAGE_TOKEN }}
manifest-url: https://github.com/${{ github.repository }}/releases/download/${{ github.event.release.tag_name }}/module.json
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/module/CautiousGamemastersPack.lock
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2021-2024 Alan Davies

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
43 changes: 36 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,46 @@
# Cautious Gamemaster's Pack

![GitHub Latest Release](https://img.shields.io/github/release/cs96and/FoundryVTT-CGMP?style=for-the-badge)
![Foundry Version](https://img.shields.io/badge/dynamic/json?label=Foundry%20Version&prefix=v&query=%24.compatibleCoreVersion&url=https%3A%2F%2Fraw.githubusercontent.com%2Fcs96and%2FFoundryVTT-CGMP%2Fmaster%2Fmodule%2Fmodule.json&style=for-the-badge)
![Latest Release Downloads](https://img.shields.io/github/downloads/cs96and/FoundryVTT-CGMP/latest/total?style=for-the-badge)
![Forge Installs](https://img.shields.io/badge/dynamic/json?label=Forge%20Installs&query=package.installs&suffix=%25&url=https%3A%2F%2Fforge-vtt.com%2Fapi%2Fbazaar%2Fpackage%2FCautiousGamemastersPack&colorB=4aa94a&style=for-the-badge)

[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/C0C057N35)

Offers various simple handy options.

Please note that v0.2.0 was called "Cautious Gamemaster's Pack 2", but since ownership of the original Foundry package has been transferred to me this has now been renamed back to "Cautious Gamemaster's Pack". ***If you installed v0.2.0 and then upgrade to v0.2.1 you will find you have both "Cautious Gamemaster's Pack" and "Cautious Gamemaster's Pack 2" installed. You will have to manually remove "Cautious Gamemaster's Pack 2".***

## Settings

![](settings.png)

* Disable GM from speaking as PC tokens (Toggle)
* Blind chats and rolls made by hidden tokens (Toggle)
* Disable using up/down arrow keys to recall previous chats so that they can be used to move the text cursor (Toggle)
* **GM speaker mode / Player speaker mode**
* **Default**: Speakers are not altered.
* **Disable GM speaking as PC**: If the GM has a PC token selected and types a message in the chat box, this will prevent the message appearing as if it came from that PC. It will be sent as an out-of-character message instead.
* **Force in-character**: Chat messages will come from assigned character regardless of whether that token is in the scene, or if `/ooc` chat is specified.
* **Always out-of-character**: Chat messages will always be sent as out-of-character messages.
* **Use assigned when in-character**: Chat messages will come from assigned character regardless of whether that token is in the scene, but `/ooc` messages will still be treated as out-of-character.
* **Allow players to use /desc** - Usually only the GM can use the `/desc` command. This settings also allows the players to use it.
* **Blind rolls made by hidden tokens** - This turns all rolls made by hidden tokens into blind rolls.
* **Notify typing** - Notify whether the other players are typing chat messages...<p>![](notify_typing.gif)</p>
* **Allow players to see typing notification**: when typing notification is enabled, this settings allows players to see the notifications. If disabled, only the GM can see the typing notifications.
* **Hide scrolling damage text on NPC tokens**: Hides the scrolling text above a token when it takes damage.
* **Hide scrolling healing text on NPC tokens**: Hides the scrolling text above a token when it receives healing.
* **Disable flashing of Dynamic Token Rings**: Disables the Dynamic Token Ring flashing, e.g. when a token is damaged or healed. Note this option only appears if you are using dnd5e v3.1, or Foundry v12.

## Additional Chat Commands

* Additional chat commands - `/desc` for description and `/as` for in-charactor without tokens...<p>![](additional_chat_commands.png)</p>

---

Version 2 is forked from [ShoyuVanilla's Cautious Gamemaster's Pack](https://github.com/ShoyuVanilla/FoundryVTT-CGMP) and contains a number of enhancements...

![](notify_typing.gif)
1. Added support for FoundryVTT v0.8.x
2. When "Blind chats out of hidden tokens" is enabled, and the GM types a message while a hidden token is selected, this will be sent as a **visible** out-of-character message. This assumes that the GM wants the message to appear, but forgot to deselect the token. All rolls etc done by that token will still be hidden.
3. Updated to use [libWrapper](https://foundryvtt.com/packages/lib-wrapper/).
4. Added compatibility with the "[Tabbed Chatlog](https://foundryvtt.com/packages/tabbed-chatlog/)" module.

* Notify whether the other players are typing chat messages (Toggle)

![](additional_chat_commands.png)

* Additional chat commands; /desc for description and /as for In Charactor without tokens
Binary file modified additional_chat_commands.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions module/lang/cn.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"cgmp.gm-speaker-mode-s": "GM发言模式",
"cgmp.player-speaker-mode-s": "玩家发言模式",
"cgmp.speaker-mode.default-s": "默认",
"cgmp.speaker-mode.disable-gm-as-pc-s": "禁止GM使用PC身份发言",
"cgmp.speaker-mode.force-in-character-s": "强制以角色名发言",
"cgmp.speaker-mode.always-ooc-s": "固定为超游发言",
"cgmp.speaker-mode.in-character-always-assigned-s": "以角色名发言时使用已分配角色",
"cgmp.allow-players-to-use-desc-l": "允许玩家使用/desc聊天命令",
"cgmp.allow-players-to-use-desc-s": "允许玩家使用/desc",
"cgmp.blind-hidden-tokens-s": "隐藏指示物掷骰为暗骰",
"cgmp.blind-hidden-tokens-l": "隐藏指示物掷骰为暗骰,仅GM可见(聊天在超游中转为可见)",
"cgmp.notify-typing-s": "通知输入状态",
"cgmp.notify-typing-l": "其他玩家输入信息时进行通知",
"cgmp.allow-players-to-see-typing-notification-s": "允许玩家收到输入状态通知",
"cgmp.allow-players-to-see-typing-notification-l": "禁用时,仅GM可见输入状态通知",
"cgmp.typing-one": "{user} 正在输入...",
"cgmp.typing-two": "{user1} 和 {user2} 正在输入...",
"cgmp.typing-many": "{user1}、{user2} 和 {others} 正在输入...",
"cgmp.hide-npc-damage-text-s": "隐藏NPC指示物上的伤害数字",
"cgmp.hide-npc-healing-text-s": "隐藏NPC指示物上的治疗数字"
}
31 changes: 21 additions & 10 deletions module/lang/en.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,24 @@
{
"cgmp.disable-gm-as-pc-s": "Disable GM speaking as PC tokens",
"cgmp.disable-gm-as-pc-l": "Make all chats GM says as PC into Out of Character chats, except rolls",
"cgmp.blind-hidden-tokens-s": "Blind chats made by hidden tokens",
"cgmp.blind-hidden-tokens-l": "Blind all chats made by hidden tokens, including rolls. Only GM can see them",
"cgmp.disable-chat-recall-s": "Disable Chat Recalls",
"cgmp.disable-chat-recall-l": "Disable using up and down arrow keys to recall chats, so that they can be used to move the text cursor",
"cgmp.notify-typing-s": "Notify typings",
"cgmp.notify-typing-l": "Notify whether the other players are typing chat messages",
"cgmp.gm-speaker-mode-s": "GM Speaker mode",
"cgmp.gm-speaker-mode-l": "\"Default\": speakers are not altered. \"Disable GM speaking as PC\": Make all chats GM says as PC into out-of-character chats, except rolls. \"Force in-character\": Chat messages will come from assigned character regardless of whether that token is in the scene or if /ooc chat is specified. \"Always out-of-character\": Make all messages out-of-character. \"Use assigned when in-character\": Same as \"Force in-character\", but leaves out-of-character messages alone.",
"cgmp.player-speaker-mode-s": "Player Speaker mode",
"cgmp.speaker-mode.default-s": "Default",
"cgmp.speaker-mode.disable-gm-as-pc-s": "Disable GM speaking as PC",
"cgmp.speaker-mode.force-in-character-s": "Force in-character",
"cgmp.speaker-mode.always-ooc-s": "Always out-of-character",
"cgmp.speaker-mode.in-character-always-assigned-s": "Use assigned when in-character",
"cgmp.allow-players-to-use-desc-s": "Allow players to use /desc",
"cgmp.allow-players-to-use-desc-l": "Allow players to use the /desc chat command",
"cgmp.blind-hidden-tokens-s": "Blind rolls made by hidden tokens",
"cgmp.blind-hidden-tokens-l": "Blind all rolls made by hidden tokens, only the GM can see them (chats are converted into visible Out of Character chats)",
"cgmp.notify-typing-s": "Notify typing",
"cgmp.notify-typing-l": "Notify when other players are typing chat messages",
"cgmp.allow-players-to-see-typing-notification-s": "Allow players to see typing notification",
"cgmp.allow-players-to-see-typing-notification-l": "If disabled, only the GM can see typing notifications",
"cgmp.typing-one": "{user} is typing...",
"cgmp.typing-two": "{user1} and {user2} are typing...",
"cgmp.typing-many": "{user1}, {user2} and other {others} players are typing..."
}
"cgmp.typing-many": "{user1}, {user2} and {others} other players are typing...",
"cgmp.hide-npc-damage-text-s": "Hide scrolling damage text on NPC tokens from players",
"cgmp.hide-npc-healing-text-s": "Hide scrolling healing text on NPC token from players",
"cgmp.disable-dynamic-token-ring-flash-s": "Disable flashing of Dynamic Token Rings"
}
10 changes: 4 additions & 6 deletions module/lang/es-ES.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
{
"cgmp.disable-gm-as-pc-s": "Disactivar que el DM hable como tokens de los PJs",
"cgmp.disable-gm-as-pc-l": "Hacer que todo lo que el DM diga como un PJ sea chat fuera del personaje (OOC), exceptuando las tiradas",
"cgmp.blind-hidden-tokens-s": "Ocultar los mensajes de chat hechos por tokens ocultos",
"cgmp.blind-hidden-tokens-l": "Ocultar todos los mensajes de chat hechos por tokens ocultos, incluyendo tiradas, solo los DM pueden verlos",
"cgmp.disable-chat-recall-s": "Desactivar el registro de chat",
"cgmp.disable-chat-recall-l": "Desactivar que las flechas arriba y abajo del teclado recuperen mensajes, para que pueden ser usuadas para recorrer el texto con el cursor",
"cgmp.notify-typing-s": "Avisar de los tecleos",
"cgmp.notify-typing-l": "Avisar cuando otros usuarios están escribiendo en el chat",
"cgmp.typing-one": "{user} está tecleando...",
"cgmp.typing-one": "{user} está tecleando...",
"cgmp.typing-two": "{user1} y {user2} están tecleando...",
"cgmp.typing-many": "{user1}, {user2} y otros jugadores ({others}) están tecleando..."
"cgmp.typing-many": "{user1}, {user2} y otros jugadores ({others}) están tecleando...",
"cgmp.allow-players-to-use-desc-s": "Permitir a los jugadores utilizar /desc",
"cgmp.allow-players-to-use-desc-l": "Permite a los jugadores utilizar el comando de chat /desc"
}
23 changes: 23 additions & 0 deletions module/lang/fi.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"cgmp.player-speaker-mode-s": "Pelaajien puhujatila",
"cgmp.speaker-mode.default-s": "Oletus",
"cgmp.speaker-mode.force-in-character-s": "Pakota hahmona puhuminen",
"cgmp.speaker-mode.always-ooc-s": "Aina pelin-ulkopuolinen-puhe",
"cgmp.allow-players-to-use-desc-s": "Salli pelaajien käyttää /desc",
"cgmp.speaker-mode.in-character-always-assigned-s": "Käytä määritettyä, kun olet hahmossa",
"cgmp.blind-hidden-tokens-s": "Sokeuta piilotettujen pelinappuloiden heitot",
"cgmp.allow-players-to-see-typing-notification-s": "Salli pelaajien nähdä kirjoittamisilmoitus",
"cgmp.typing-one": "{user} kirjoittaa…",
"cgmp.typing-two": "{user1} ja {user2} kirjoittavat…",
"cgmp.typing-many": "{user1}, {user2} ja {others} muuta pelaajaa kirjoittavat…",
"cgmp.hide-npc-damage-text-s": "Piilota EPH-pelinappuloiden vierivä vahinkoteksti",
"cgmp.hide-npc-healing-text-s": "Piilota EPH-pelinappuloiden vierivä parannusteksti",
"cgmp.gm-speaker-mode-s": "PJ:n puhujatila",
"cgmp.speaker-mode.disable-gm-as-pc-s": "PJ ei voi puhua pelaajana",
"cgmp.allow-players-to-use-desc-l": "Salli pelaajien käyttää /desc-komentoa keskustelussa",
"cgmp.blind-hidden-tokens-l": "Kaikki piilotetut pelinappulat tekevät sokeita heittoja, jolloin vain PJ näkee ne (keskustelut muunnetaan näkyviksi pelin-ulkopuolinen-puhe-viesteiksi)",
"cgmp.notify-typing-s": "Ilmoita kirjoittamisesta",
"cgmp.notify-typing-l": "Ilmoita, kun muut pelaajat kirjoittavat keskusteluviestejä",
"cgmp.allow-players-to-see-typing-notification-l": "Jos pois päältä, vain PJ näkee kirjoittamisilmoitukset",
"cgmp.gm-speaker-mode-l": "\"Oletus\": puhujia ei muuteta. \"PJ ei voi puhua pelaajana\": \"Pakota hahmona puhuminen\": Tee kaikista keskusteluviesteistä (paitsi heitoista), joissa PJ puhuu pelaajana, pelin ulkopuolisia keskusteluviestejä. \"Pakota hahmona puhuminen\": Keskusteluviestit tulevat osoitetulta hahmolta riippumatta siitä, onko kyseinen pelinappula kohtauksessa tai onko /ooc-viesti määritetty. \"Aina pelin-ulkopuolinen-puhe\": Kaikki viestit ovat pelin ulkopuolisia viestejä. \"Käytä määritettyä, kun olet hahmossa\": Sama kuin \"Pakota hahmona puhuminen\", mutta jättää pelin ulkopuoliset viestit rauhaan."
}
9 changes: 9 additions & 0 deletions module/lang/fr-CA.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"cgmp.blind-hidden-tokens-s": "Aveugler les messages fait pas les personnages camouflés",
"cgmp.blind-hidden-tokens-l": "Aveugler les messages fait par des personnages camouflés, incluant les jets de dés. Seul le GM pourra les voir",
"cgmp.notify-typing-s": "Notifié lorsqu'on écrit",
"cgmp.notify-typing-l": "Notifié si les autres joueurs sont en train d'écrire des messages",
"cgmp.typing-one": "{user} est en train d'écrire...",
"cgmp.typing-two": "{user1} et {user2} sont en train d'écrire...",
"cgmp.typing-many": "{user1}, {user2} et les autres {others} joueurs sont en train d'écrire..."
}
Loading