Compare commits
9 Commits
Author | SHA1 | Date | |
---|---|---|---|
6b59b0ca4a | |||
74cc1ebc26 | |||
e182198349 | |||
8f44c75e9a | |||
1d10fadeed | |||
e2e9c62cc1 | |||
3634fe0ebf | |||
d2a9c27df5 | |||
6e8fee8513 |
@ -10,13 +10,13 @@ stages:
|
|||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- zip swade-fr.zip -r module -x ".*"
|
- zip swade-fr-content.zip -r module -x ".*"
|
||||||
artifacts:
|
artifacts:
|
||||||
expire_in: never
|
expire_in: never
|
||||||
name: swade-fr
|
name: swade-fr-content
|
||||||
when: on_success
|
when: on_success
|
||||||
paths:
|
paths:
|
||||||
- swade-fr.zip
|
- swade-fr-content.zip
|
||||||
when: on_success
|
when: on_success
|
||||||
only:
|
only:
|
||||||
- tags
|
- tags
|
||||||
|
@ -8,7 +8,7 @@ Module pour système de jeu SWADE pour [Foundry Virtual Tabletop](https://foundr
|
|||||||
|
|
||||||
## Installer avec le manifeste
|
## Installer avec le manifeste
|
||||||
Copier ce lien et chargez-le dans le menu module de Foundry.
|
Copier ce lien et chargez-le dans le menu module de Foundry.
|
||||||
> https://gitlab.com/sasmira/swade-fr/-/raw/master/module/module.json
|
> https://gitlab.com/sasmira/swade-fr-content/-/raw/master/module/module.json
|
||||||
|
|
||||||
### Modules requis pour le français
|
### Modules requis pour le français
|
||||||
Pour traduire les éléments de base de FoundryVTT (interface), il vous faut installer et activer le module suivant :
|
Pour traduire les éléments de base de FoundryVTT (interface), il vous faut installer et activer le module suivant :
|
||||||
|
@ -55,7 +55,7 @@
|
|||||||
"SWADE.LinkAttr": "Attribut lié",
|
"SWADE.LinkAttr": "Attribut lié",
|
||||||
"SWADE.Die": "Dé",
|
"SWADE.Die": "Dé",
|
||||||
"SWADE.WildDie": "Dé Joker",
|
"SWADE.WildDie": "Dé Joker",
|
||||||
"SWADE.Mod": "Modificateur",
|
"SWADE.Modifiers": "Modificateurs",
|
||||||
"SWADE.Modifier": "Modificateur",
|
"SWADE.Modifier": "Modificateur",
|
||||||
"SWADE.BenniesSpend": "Dépenser un Jeton",
|
"SWADE.BenniesSpend": "Dépenser un Jeton",
|
||||||
"SWADE.BenniesGive": "Donner un Jeton",
|
"SWADE.BenniesGive": "Donner un Jeton",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "swade-fr",
|
"name": "swade-fr-content",
|
||||||
"title": "SWADE Core Rules en Français - *NON-OFFICIEL*",
|
"title": "SWADE Content en Français - *NON-OFFICIEL*",
|
||||||
"description": "Traduction française du système SWADE <p>*** Join the official Discord server: <a href=\"https://discord.gg/foundryvtt\"> Official Discord</a></p><p>*** Rejoignez la communauté Francophone: <a href=\"https://discord.gg/pPSDNJk\">Francophone Discord</a></p>",
|
"description": "Traduction française du système SWADE <p>*** Join the official Discord server: <a href=\"https://discord.gg/foundryvtt\"> Official Discord</a></p><p>*** Rejoignez la communauté Francophone: <a href=\"https://discord.gg/pPSDNJk\">Francophone Discord</a></p>",
|
||||||
"author": "Team Swade, La Fonderie",
|
"author": "Team Swade, La Fonderie",
|
||||||
"authors": [
|
"authors": [
|
||||||
@ -42,8 +42,8 @@
|
|||||||
],
|
],
|
||||||
"url": "https://gitlab.com/sasmira/swade-fr",
|
"url": "https://gitlab.com/sasmira/swade-fr",
|
||||||
"flags": {},
|
"flags": {},
|
||||||
"version": "0.19.0.2",
|
"version": "0.20.0.0",
|
||||||
"minimumCoreVersion": "0.8.9",
|
"minimumCoreVersion": "0.7.9",
|
||||||
"compatibleCoreVersion": "9",
|
"compatibleCoreVersion": "9",
|
||||||
"scripts": [],
|
"scripts": [],
|
||||||
"esmodules": [
|
"esmodules": [
|
||||||
@ -52,13 +52,7 @@
|
|||||||
"styles": [
|
"styles": [
|
||||||
"swade-fr.css"
|
"swade-fr.css"
|
||||||
],
|
],
|
||||||
"languages": [
|
"languages": [],
|
||||||
{
|
|
||||||
"lang": "fr",
|
|
||||||
"name": "French (FRANCE)",
|
|
||||||
"path": "fr.json"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"packs": [],
|
"packs": [],
|
||||||
"system": [],
|
"system": [],
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
@ -71,6 +65,10 @@
|
|||||||
"name": "swade",
|
"name": "swade",
|
||||||
"type": "system"
|
"type": "system"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "swade-fr",
|
||||||
|
"type": "module"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "dice-so-nice",
|
"name": "dice-so-nice",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
@ -78,8 +76,8 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"socket": false,
|
"socket": false,
|
||||||
"manifest": "https://gitlab.com/sasmira/swade-fr/-/raw/master/module/module.json",
|
"manifest": "https://gitlab.com/sasmira/swade-fr-content/-/raw/master/module/module.json",
|
||||||
"download": "https://gitlab.com/sasmira/swade-fr/-/jobs/artifacts/v0.19.0.2/raw/swade-fr.zip?job=build",
|
"download": "https://gitlab.com/sasmira/swade-fr-content/-/jobs/artifacts/v0.20.0.0/raw/swade-fr-content.zip?job=build",
|
||||||
"protected": false,
|
"protected": false,
|
||||||
"coreTranslation": false,
|
"coreTranslation": false,
|
||||||
"library": false
|
"library": false
|
||||||
|
@ -50,7 +50,7 @@ Hooks.once('init', () => {
|
|||||||
|
|
||||||
console.log("BABELE LOADED !!!");
|
console.log("BABELE LOADED !!!");
|
||||||
Babele.get().register({
|
Babele.get().register({
|
||||||
module: 'swade-fr',
|
module: 'swade-fr-content',
|
||||||
lang: 'fr',
|
lang: 'fr',
|
||||||
dir: 'compendiums'
|
dir: 'compendiums'
|
||||||
});
|
});
|
||||||
@ -152,7 +152,8 @@ function registerUsageCount( registerKey ) {
|
|||||||
game.settings.set(registerKey, "world-key", worldKey )
|
game.settings.set(registerKey, "world-key", worldKey )
|
||||||
}
|
}
|
||||||
// Simple API counter
|
// Simple API counter
|
||||||
$.ajax(`https://jdr.lahiette.com/fvtt_appcount/count.php?name="${registerKey}"&worldKey="${worldKey}"&version="${game.release.generation}.${game.release.build}"&system="${game.system.id}"&systemversion="${game.system.data.version}"`)
|
let regURL = `https://www.uberwald.me/fvtt_appcount/count.php?name="${registerKey}"&worldKey="${worldKey}"&version="${game.release.generation}.${game.release.build}"&system="${game.system.id}"&systemversion="${game.system.data.version}"`
|
||||||
|
$.ajax(regURL)
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -161,7 +162,7 @@ function registerUsageCount( registerKey ) {
|
|||||||
Hooks.once('ready', () => {
|
Hooks.once('ready', () => {
|
||||||
|
|
||||||
//FolderTranslate.translateFolders()
|
//FolderTranslate.translateFolders()
|
||||||
registerUsageCount("swade-fr")
|
registerUsageCount("swade-fr-content")
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user