Skip to content

Commit

Permalink
v0.3.2 (#29)
Browse files Browse the repository at this point in the history
* Added French translation provided by Discord members rectulo and Naoki
* Abstract Rewards now are a little transparent (0.9 opacity) and their text is in italic
  • Loading branch information
Forien authored Jun 21, 2020
1 parent e07b46f commit ffc6c78
Show file tree
Hide file tree
Showing 13 changed files with 230 additions and 129 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ lang/untranslated.json
node_modules/
foundry.js
package.json
/changelog.html
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# FoundryVTT - Forien's Quest Log
![GitHub Releases](https://img.shields.io/github/downloads/Forien/foundryvtt-forien-quest-log/latest/total)
**[Current version]**: v0.3.1
![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/forien/foundryvtt-forien-quest-log?style=for-the-badge) ![GitHub Releases](https://img.shields.io/github/downloads/Forien/foundryvtt-forien-quest-log/latest/total?style=for-the-badge) ![GitHub All Releases](https://img.shields.io/github/downloads/Forien/foundryvtt-forien-quest-log/total?style=for-the-badge&label=Downloads+total)
**[Compatibility]**: *FoundryVTT* 0.6.0+
**[Systems]**: *any*
**[Languages]**: *English, German, Japanese, Korean, Polish*
**[Languages]**: *English, French, German, Japanese, Korean, Polish*

This module provides comprehensive Quest Log system for players and Game Masters to use with Foundry Virtual Table Top

Expand Down Expand Up @@ -68,6 +67,7 @@ If you wish to contact me for any reason, reach me out on Discord using my tag:
* Thanks to Brother Sharp for providing Japanese translation
* Thanks to Acd-Jake for providing German translation
* Thanks to KLO for providing Korean translation
* Thanks to rectulo and Naoki for providing French translation

## Support

Expand Down
20 changes: 12 additions & 8 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,15 @@

## v0.3.X

## v0.3.1
### v0.3.2
* Added French translation provided by Discord members rectulo and Naoki
* Abstract Rewards now are a little transparent (0.9 opacity) and their text is in italic

### v0.3.1
* Added Korean translation provided by Discord member KLO
* Show GM information if players can't see shared quest

#### v0.3.0
## v0.3.0
* Added „Personal Quests”, a feature that allows GM to show any Quest to only specific player(s).
* Added Entity linking to Tasks (for example `@Actor[Vash]` or `@Item[Cursed Sword]`).
* Fixed Entity linking in Description for players.
Expand All @@ -27,32 +31,32 @@
* Provided code comment blocks for most Functions. Not yet a Documentation, but could help those who peek at my module to learn.


### v0.2.X
## v0.2.X

#### v0.2.4
### v0.2.4
* Added German translation provided by Discord member Acd-Jake

#### v0.2.3
### v0.2.3
* Added Japanese translation provided by Discord member Brother Sharp
* Added option to sort Quest Log
* Hidden "add new task" from players
* Added option to change rendering style of tabs
* Added module setting for centering titles in Quest Log
* Added Actor's name as a tooltip in Quest Log

#### v0.2.2
### v0.2.2
* Allowed to change quest giver to existing quest by draggin new actor onto preview
* Widened and squished Tasks and Rewards boxes respectively to allow better space management
* Added word wrapping for tasks
* Fixed distorted Quest Giver's images
* Moved window initialization to 'ready' hook to fix translation

#### v0.2.1
### v0.2.1
* Fully prepared module for translation - all strings should be translatable
* Added scroll for overflowing quest's description
* Added toggle between Actor's/Token's image for Quest Giver's image
* Added failed state for tasks
* Translated to Polish

#### v0.2.0
## v0.2.0
* Initial release
164 changes: 164 additions & 0 deletions lang/fr.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,164 @@
{
"ForienQuestLog": {
"NewQuest": "Nouvelle quête",
"QuestLogButton": "Journal des quêtes",
"Quests": "Quêtes",
"SampleReward": "ex : 300 Points d’Expérience",
"SampleTask": "ex : Tuer tous les rats dans l’Auberge de „La cheville tordue” ",

"QuestTypes": {
"InProgress": "En cours",
"Completed": "Achevée",
"Failed": "Échouée",
"Hidden": "Cachée"
},

"Buttons": {
"AddNewQuest": "Ajouter nouvelle Quête",
"AddNewTask": "Ajouter nouvelle Tâche"
},

"QuestForm": {
"Title": "Ajouter nouvelle Quête",
"QuestGiver": "Commanditaire",
"QuestGiverPlaceholder": "Nom ou ID du commanditaire",
"QuestTitle": "Nom de la Quête",
"DragDropActor": "Glisser/Déposer un acteur ici pour en faire un commanditaire",
"QuestDescription": "Description de la quête",
"QuestGMNotes": "Notes du MJ",
"Submit": "Valider"
},

"QuestLog": {
"Title": "Journal de Quête",
"Table": {
"QuestGiver": "Commanditaire",
"QuestTitle": "Nom de la Quête",
"Tasks": "Tâche(s)",
"Actions": "Actions"
},
"Tabs": {
"Available": "Disponible",
"InProgress": "En cours",
"Completed": "Achevée",
"Failed": "Échouée",
"Hidden": "Cachée"
}
},

"QuestPreview": {
"Title": "Détails sur la quête",
"Objectives": "Objectifs",
"Rewards": "Récompenses",
"DragDropRewards": "Glisser/Déposer les objets ici pour en faire des récompenses",
"InvalidQuestId": "Ne peut ouvrir la prévisualisation de la quête en raison d’une ID de Quête invalide.",
"HeaderButtons": {
"Show": "Montrer aux joueurs"
},

"Management": {
"IsPersonalQuest": "Est-ce une quête personnelle ?",
"IsPersonalQuestDescription": "Cocher pour donner à la quête un personnage. Cela sera invisible pour tous les joueurs sauf ceux spécifiquement marqués ci-dessous. Décocher cette option retirera toutes les permissions et déplacera la quête dans l’onglet Cachée."
},

"Tabs": {
"Details": "Détails",
"QuestManagement": "Modifier la Quête",
"GMNotes": "Notes MJ"
}

},

"DeleteDialog": {
"Title": "Effacer {name}",
"Header": "Êtes-vous sûr ?",
"Body": "Cette quête et ces données seront effacées définitivement.",
"Delete": "Effacer",
"Cancel": "Annuler"
},

"Notifications": {
"CannotOpen": "Ne peut ouvrir les détails de la Quête. Soit vous n’avez pas la permission, soit la quête n’existe plus ou l’ID fournie était invalide.",
"UserCantOpen": "L'utilisateur {user} n’a pas la permission d'ouvrir cette quête.",

"QuestMoved": "Quête déplacée dans un nouveau dossier avec un nouveau : {target}"
},

"Settings": {
"allowPlayersDrag": {
"Enable": "Permettre aux joueurs de récupérer les récompenses",
"EnableHint": "Cocher pour autoriser les joueurs à récupérer les récompenses de la fenêtre Détails de la quête à leur propres Acteurs."
},
"availableQuests": {
"Enable": "Montre l’onglet disponible",
"EnableHint": "Cocher pour montrer un nouvelle onglet \"Disponible\" dans le journal des quêtes, où les joueurs pourront voir toutes les quêtes non-cachées avant qu’elles soient acceptées."
},
"navStyle": {
"Enable": "Style de navigation ",
"EnableHint": "Décider comment la navigation dans le journal de quête sera affichée.",
"bookmarks": "Marque-page",
"classic": "Onglets classiques"
},
"showFolder": {
"Enable": "Montre le dossier des quêtes",
"EnableHint": "Cocher pour montrer le dossier des données de quête dans l’onglet Journal. Seulement pour DÉBUGGER."
},
"showTasks": {
"Enable": "Montre les tâches dans le Journal de quête",
"EnableHint": "Décide si ou comment montrer le montant des tâches (objectifs) à côté du titre de la Quête dans le journal de quête. Cela n’a pas d’effet sur la prévisualisation de la Quête individuelle.",
"default": "montre les tâches : effectuées/total",
"onlyCurrent": "Montre les tâches : effectuées",
"no": "Cache la colonne \"tâches\""
},
"titleAlign": {
"Enable": "Alignement du titre de la quête",
"EnableHint": "Décide comment positionner les titres de quête dans la table de l’onglet du Journal de quête.",
"left": "Alignés à gauche",
"center": "Centrés"
}
},

"Tooltips": {
"SetAvailable": "Définir comme Disponible",
"SetActive": "Définir comme En cours",
"SetCompleted": "Définir comme Achevée",
"SetFailed": "Définir comme Échouée",
"Hide": "Cacher",
"Delete": "Effacer",
"AddAbstractReward": "Ajouter une récompense abstraite",
"PersonalQuestButNoPlayers": "C’est une quête personnelle, personne ne peut la voir",
"PersonalQuestVisibleFor": "C’est une quête personnelle pour ",
"RewardHidden": "Récompense cachée. Cocher pour la montrer.",
"RewardVisible": "Récompense visible. Cocher pour la cacher.",
"TaskHidden": "Tache cachée. Cocher pour la montrer.",
"TaskVisible": "Tâche visible. Cocher pour la cacher.",
"ToggleImage": "Activer l’image du token/acteur"
},

"Api": {
"__COMMENT__": "No need for translating lines starting with 'API ERROR', they show in console for developers only.",
"create": {
"title": "API Error: Title property is required to create new Quest"
},
"hooks": {
"createOpenQuestMacro": {
"name": "Ouvrir la Quête „{name}”",
"error": {
"noQuest": "API Error: Can't create macro with invalid Quest ID"
}
}
},
"reward": {
"create": {
"data": "API Error: Data property with at least {name, img} is required to create new Reward",
"type": "API Error: Type property is required to create new Reward"
}
},
"task": {
"create": {
"name": "API Error: Name property is required to create new Task"
}
}
}
}
}
1 change: 1 addition & 0 deletions lang/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@

"Notifications": {
"CannotOpen": "퀘스트 세부 정보를 열 수 없습니다. 권한이 없거나 퀘스트가 더 이상 존재하지 않거나 제공된 ID가 유효하지 않을 수 있습니다.",
"UserCantOpen": "{user} 플레이어는 이 퀘스트를 열람할 권한을 가지고 있지 않습니다.",

"QuestMoved": "퀘스트를 새 폴더로 이동하고 새 상태를 부여했습니다 : {target}"
},
Expand Down
86 changes: 1 addition & 85 deletions lang/missing/fr.json
Original file line number Diff line number Diff line change
@@ -1,85 +1 @@
{
"ForienQuestLog.Api.hooks.createOpenQuestMacro.error.noQuest": "",
"ForienQuestLog.Api.hooks.createOpenQuestMacro.name": "",
"ForienQuestLog.Notifications.CannotOpen": "",
"ForienQuestLog.Api.create.title": "",
"ForienQuestLog.QuestForm.Title": "",
"ForienQuestLog.QuestLog.Title": "",
"ForienQuestLog.QuestPreview.InvalidQuestId": "",
"ForienQuestLog.QuestPreview.Title": "",
"ForienQuestLog.QuestPreview.HeaderButtons.Show": "",
"ForienQuestLog.SampleTask": "",
"ForienQuestLog.SampleReward": "",
"ForienQuestLog.NewQuest": "",
"ForienQuestLog.Tooltips.PersonalQuestVisibleFor": "",
"ForienQuestLog.Tooltips.PersonalQuestButNoPlayers": "",
"ForienQuestLog.Notifications.QuestMoved": "",
"ForienQuestLog.DeleteDialog.Title": "",
"ForienQuestLog.DeleteDialog.Header": "",
"ForienQuestLog.DeleteDialog.Body": "",
"ForienQuestLog.DeleteDialog.Delete": "",
"ForienQuestLog.DeleteDialog.Cancel": "",
"ForienQuestLog.Api.reward.create.type": "",
"ForienQuestLog.Api.reward.create.data": "",
"ForienQuestLog.Api.task.create.name": "",
"ForienQuestLog.QuestLogButton": "",
"ForienQuestLog.Settings.showFolder.Enable": "",
"ForienQuestLog.Settings.showFolder.EnableHint": "",
"ForienQuestLog.Settings.availableQuests.Enable": "",
"ForienQuestLog.Settings.availableQuests.EnableHint": "",
"ForienQuestLog.Settings.allowPlayersDrag.Enable": "",
"ForienQuestLog.Settings.allowPlayersDrag.EnableHint": "",
"ForienQuestLog.Settings.showTasks.Enable": "",
"ForienQuestLog.Settings.showTasks.EnableHint": "",
"ForienQuestLog.Settings.showTasks.default": "",
"ForienQuestLog.Settings.showTasks.onlyCurrent": "",
"ForienQuestLog.Settings.showTasks.no": "",
"ForienQuestLog.Settings.navStyle.Enable": "",
"ForienQuestLog.Settings.navStyle.EnableHint": "",
"ForienQuestLog.Settings.navStyle.bookmarks": "",
"ForienQuestLog.Settings.navStyle.classic": "",
"ForienQuestLog.Settings.titleAlign.Enable": "",
"ForienQuestLog.Settings.titleAlign.EnableHint": "",
"ForienQuestLog.Settings.titleAlign.left": "",
"ForienQuestLog.Settings.titleAlign.center": "",
"ForienQuestLog.Notifications.UserCantOpen": "",
"ForienQuestLog.Quests": "",
"ForienQuestLog.QuestLog.Table.QuestGiver": "",
"ForienQuestLog.QuestLog.Table.QuestTitle": "",
"ForienQuestLog.QuestLog.Table.Tasks": "",
"ForienQuestLog.QuestLog.Table.Actions": "",
"ForienQuestLog.Tooltips.SetAvailable": "",
"ForienQuestLog.Tooltips.SetActive": "",
"ForienQuestLog.Tooltips.SetCompleted": "",
"ForienQuestLog.Tooltips.SetFailed": "",
"ForienQuestLog.Tooltips.Hide": "",
"ForienQuestLog.Tooltips.Delete": "",
"ForienQuestLog.Tooltips.ToggleImage": "",
"ForienQuestLog.QuestPreview.Objectives": "",
"ForienQuestLog.Buttons.AddNewTask": "",
"ForienQuestLog.Tooltips.TaskHidden": "",
"ForienQuestLog.Tooltips.TaskVisible": "",
"ForienQuestLog.QuestPreview.Rewards": "",
"ForienQuestLog.Tooltips.AddAbstractReward": "",
"ForienQuestLog.QuestPreview.DragDropRewards": "",
"ForienQuestLog.Tooltips.RewardHidden": "",
"ForienQuestLog.Tooltips.RewardVisible": "",
"ForienQuestLog.QuestPreview.Management.IsPersonalQuest": "",
"ForienQuestLog.QuestPreview.Management.IsPersonalQuestDescription": "",
"ForienQuestLog.QuestForm.QuestGiver": "",
"ForienQuestLog.QuestForm.QuestGiverPlaceholder": "",
"ForienQuestLog.QuestForm.QuestTitle": "",
"ForienQuestLog.QuestForm.DragDropActor": "",
"ForienQuestLog.QuestForm.QuestDescription": "",
"ForienQuestLog.QuestForm.QuestGMNotes": "",
"ForienQuestLog.QuestForm.Submit": "",
"ForienQuestLog.QuestLog.Tabs.Available": "",
"ForienQuestLog.QuestLog.Tabs.InProgress": "",
"ForienQuestLog.QuestLog.Tabs.Completed": "",
"ForienQuestLog.QuestLog.Tabs.Failed": "",
"ForienQuestLog.QuestLog.Tabs.Hidden": "",
"ForienQuestLog.Buttons.AddNewQuest": "",
"ForienQuestLog.QuestPreview.Tabs.Details": "",
"ForienQuestLog.QuestPreview.Tabs.QuestManagement": "",
"ForienQuestLog.QuestPreview.Tabs.GMNotes": ""
}
{}
4 changes: 1 addition & 3 deletions lang/missing/ko.json
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
{
"ForienQuestLog.Notifications.UserCantOpen": ""
}
{}
8 changes: 4 additions & 4 deletions module.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
"url": "https://www.patreon.com/forien"
}
],
"version": "0.3.1",
"version": "0.3.2",
"minimumCoreVersion": "0.6.0",
"compatibleCoreVersion": "0.6.3",
"url": "https://github.com/Forien/foundryvtt-forien-quest-log",
"manifest": "https://raw.githubusercontent.com/Forien/foundryvtt-forien-quest-log/master/module.json",
"download": "https://github.com/Forien/foundryvtt-forien-quest-log/releases/download/v0.3.1/v0.3.1.zip",
"readme": "https://github.com/Forien/foundryvtt-forien-quest-log/blob/v0.3.1/README.md",
"changelog": "https://github.com/Forien/foundryvtt-forien-quest-log/blob/v0.3.1/changelog.md",
"download": "https://github.com/Forien/foundryvtt-forien-quest-log/releases/download/v0.3.2/v0.3.2.zip",
"readme": "https://github.com/Forien/foundryvtt-forien-quest-log/blob/v0.3.2/README.md",
"changelog": "https://github.com/Forien/foundryvtt-forien-quest-log/blob/v0.3.2/changelog.md",
"bugs": "https://github.com/Forien/foundryvtt-forien-quest-log/issues",
"languages": [
{
Expand Down
11 changes: 7 additions & 4 deletions modules/init.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,17 @@ Hooks.once('init', () => {

Utils.preloadTemplates();

Hooks.callAll("ForienQuestLog.afterInit");
});

Hooks.once('setup', () => {
window.Quests = QuestApi;
window.QuestLog = new QuestLogClass();

Hooks.call("ForienQuestLog.afterInit");
Hooks.callAll("ForienQuestLog.afterSetup");
});

Hooks.once("ready", () => {
window.QuestLog = new QuestLogClass();

QuestFolder.initializeJournals();

if (VersionCheck.check(constants.moduleName)) {
Expand All @@ -35,7 +38,7 @@ Hooks.once("ready", () => {
// Allow and process incoming socket data
Socket.listen();

Hooks.call("ForienQuestLog.afterReady");
Hooks.callAll("ForienQuestLog.afterReady");
});

Hooks.on("renderJournalDirectory", (app, html, data) => {
Expand Down
Loading

0 comments on commit ffc6c78

Please sign in to comment.