Skip to content

Commit

Permalink
Convention: localization keys are title case
Browse files Browse the repository at this point in the history
  • Loading branch information
adrien-schiehle committed Sep 23, 2021
1 parent 2eb8bdb commit 0e0ca46
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@
"WA.ConfigureLabel": "World Anvil Integration",
"WA.ConfigureHint": "Configure your World Anvil integration.",

"WA.includeSidebarsLabel": "Include article sidebars",
"WA.includeSidebarsHint": "By unchecking this, you will only import then main article content. Sidebars will be omitted.",
"WA.IncludeSidebarsLabel": "Include article sidebars",
"WA.IncludeSidebarsHint": "By unchecking this, you will only import then main article content. Sidebars will be omitted.",

"WA.repeatTitleLabel": "Title inside journal entries",
"WA.repeatTitleHint": "By unchecking this, title won't be repeated on top of each journal entry. Only the link to world anvil article will remain.",
"WA.RepeatTitleLabel": "Title inside journal entries",
"WA.RepeatTitleHint": "By unchecking this, title won't be repeated on top of each journal entry. Only the link to world anvil article will remain.",

"WA.linkOnHeaderLabel": "WA link on header",
"WA.linkOnHeaderHint": "By checking this, the link to the WA webpage will be displayed on header and removed from the article content.",
"WA.LinkOnHeaderLabel": "WA link on header",
"WA.LinkOnHeaderHint": "By checking this, the link to the WA webpage will be displayed on header and removed from the article content.",

"WA.linkOutsideGMsLabel": "WA link for everyone",
"WA.linkOutsideGMsHint": "Allow to choose if the WA link on header should be displayed to everyone or only to GMs.",
"WA.LinkOutsideGMsLabel": "WA link for everyone",
"WA.LinkOutsideGMsHint": "Allow to choose if the WA link on header should be displayed to everyone or only to GMs.",

"WA.ConfigureStep1": "Step 1: Provide a World Anvil user authorization Token from the API Keys Management section of your World Anvil User Dashboard.",
"WA.ConfigureStep2": "Step 2: Choose which of your available World Anvil worlds you would like to associated with this Foundry VTT World.",
Expand Down
16 changes: 8 additions & 8 deletions module/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ export default class WorldAnvilConfig extends FormApplication {
});

game.settings.register("world-anvil", "includeSidebars", {
name: "WA.includeSidebarsLabel",
hint: "WA.includeSidebarsHint",
name: "WA.IncludeSidebarsLabel",
hint: "WA.IncludeSidebarsHint",
scope: "world",
type: Boolean,
default: true,
Expand All @@ -108,26 +108,26 @@ export default class WorldAnvilConfig extends FormApplication {


game.settings.register("world-anvil", "repeatTitle", {
name: "WA.repeatTitleLabel",
hint: "WA.repeatTitleHint",
name: "WA.RepeatTitleLabel",
hint: "WA.RepeatTitleHint",
scope: "world",
type: Boolean,
default: true,
config: true
});

game.settings.register("world-anvil", "linkOnHeader", {
name: "WA.linkOnHeaderLabel",
hint: "WA.linkOnHeaderHint",
name: "WA.LinkOnHeaderLabel",
hint: "WA.LinkOnHeaderHint",
scope: "world",
type: Boolean,
default: false,
config: true
});

game.settings.register("world-anvil", "linkOutsideGMs", {
name: "WA.linkOutsideGMsLabel",
hint: "WA.linkOutsideGMsHint",
name: "WA.LinkOutsideGMsLabel",
hint: "WA.LinkOutsideGMsHint",
scope: "world",
type: Boolean,
default: false,
Expand Down

0 comments on commit 0e0ca46

Please sign in to comment.