From 5c5906d50c4d65e098b04c5b7c584be055997b63 Mon Sep 17 00:00:00 2001 From: snap01 <43982555+snap01@users.noreply.github.com> Date: Tue, 14 Mar 2023 20:25:39 +0000 Subject: [PATCH 1/2] Updated translations list --- .github/TRANSLATIONS.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/TRANSLATIONS.md b/.github/TRANSLATIONS.md index 1086c658..52486e7b 100644 --- a/.github/TRANSLATIONS.md +++ b/.github/TRANSLATIONS.md @@ -2,9 +2,9 @@ Thank you for being interested in making Call of Cthulhu 7th Edition for Foundry VTT better! Below is a list of translations keys on existing files that still need translated, based on `en.json`. Feel free to create a new `*.json` file for a language that is not shown here! -The **it** translation is currently up to date +The following translations are currently up to date **it**, **pt-BR** -The following translations have more than 100 untranslated strings **cn**, **cs**, **es**, **ja**, **pt-BR**, **ru**, **sv**, [are you able to help?](./ABANDONED.md) +The following translations have more than 100 untranslated strings **cn**, **cs**, **es**, **ja**, **ru**, **sv**, [are you able to help?](./ABANDONED.md) |Key|de|fr|ko|pl|zh-TW| |:---|:---:|:---:|:---:|:---:|:---:| From cc27302f8493bfce6cac89d7f9834e7ca78e7092 Mon Sep 17 00:00:00 2001 From: castanhocorreia Date: Tue, 14 Mar 2023 20:25:40 +0000 Subject: [PATCH 2/2] [create-pull-request] automated change --- .github/ABANDONED.md | 128 ----------------------------------- module/actors/sheets/base.js | 1 - 2 files changed, 129 deletions(-) diff --git a/.github/ABANDONED.md b/.github/ABANDONED.md index 09e006e3..35963a1d 100644 --- a/.github/ABANDONED.md +++ b/.github/ABANDONED.md @@ -10,8 +10,6 @@ Thank you for being interested in making Call of Cthulhu 7th Edition for Foundry [ja.json (240 untranslated strings)](#jajson) -[pt-BR.json (122 untranslated strings)](#ptbrjson) - [ru.json (1117 untranslated strings)](#rujson) [sv.json (238 untranslated strings)](#svjson) @@ -1250,132 +1248,6 @@ Thank you for being interested in making Call of Cthulhu 7th Edition for Foundry "CoC7.CoCIDFlag.error.document-not-found": "Document not found in world or Compendia matching the CoC ID "{cocid}", language "{lang}", and era "{era}". Please check your Era for the world setting.", "CoC7.CoCIDFlag.error.documents-not-found": "Documents were not found in world or Compendia matching the CoC IDs ({cocids}), language "{lang}", and era "{era}". Please check your Era for the world setting." ``` -## pt-BR.json -122 untranslated strings -``` -"CoC7.ActorIsTokenHint": "Actor is a token", -"CoC7.ActorDataLinked": "Actor data are linked", -"CoC7.ActorDataNotLinked": "Actor data are NOT linked", -"CoC7.ActorIsSyntheticActor": "Actor is a synthetic actor (instance of an actor)", -"CoC7.MovementAction": "Movement action", -"CoC7.AdjustedMovement": "Adjusted movement", -"CoC7.DefinitelyInsane": "Good for the asylum", -"CoC7.FINISH": "--F-I-N-I-S-H--", -"CoC7.CustomSpecialisationLabel": "Custom label - {specialisation}", -"CoC7.Restart": "Restart", -"CoC7.Reset": "Reset", -"CoC7.Initiative": "Initiative", -"CoC7.PenaltyDice": "Penalty Dice", -"CoC7.LuckNotEnough": "{name} didn't have enough luck to pass the check", -"CoC7.UpgradeSuccessWithLuck": "Upgrade to {difficultyName} success for {luckToSpend} luck.", -"CoC7.BonusDieAssailantReason": "Add 1 bonus die (assailant is prone, restrained...)", -"CoC7.PenaltyDieSelfReason": "Add 1 penalty die (for being prone, restrained...)", -"CoC7.RollDifficultyRegularTitle": "Regular difficulty", -"CoC7.RollDifficultyHardTitle": "Hard difficulty", -"CoC7.RollDifficultyExtremeTitle": "Extreme difficulty", -"CoC7.RollDifficultyCriticalTitle": "Critical difficulty", -"CoC7.ArmorIgnored": "Armor Ignored", -"CoC7.combatCard.automaticSuccess": "Automatic Success", -"CoC7.Damage": "Damage", -"CoC7.CheckFailed": "Check failed", -"CoC7.CheckPassed": "Check passed", -"CoC7.CheckMemoryRepressed": "Memory repressed", -"CoC7.rangeCombatCard.SurprisedTargetTitle": "1 bonus die for surprised target", -"CoC7.EraDarkAgesPulp": "Dark Ages - Pulp", -"CoC7.EraDownDarkerTrailsPulp": "Down Darker Trails - Pulp", -"CoC7.EraModernPulp": "Modern - Pulp", -"CoC7.SkillXpGainDisabled": "XP Gain disabled.", -"CoC7.SkillRarityShort": "[UC]", -"CoC7.SkillRequiresName": "Requires Name", -"CoC7.SkillKeepBaseValue": "Keep Base Value", -"CoC7.SkillPickNameOnly": "Select Specialization", -"CoC7.UnarmedWeaponName": "Unarmed", -"CoC7.CleanSkillList": "Clean skill list", -"CoC7.CleanSkillListHint": "

This will Clean your skill list by removing specialization from skill name.

This will avoid to display skill as : 'specialization(specialization(skill))'

", -"CoC7.WeaponSkillMain": "Main skill", -"CoC7.AlreadyEncounteredInformation": "Already encountered: {reason} lost {lost}/{max}", -"CoC7.RemoveParticipant": "Remove participant", -"CoC7.RemoveParticipantHint": "Participant will be completely removed from the chase", -"CoC7.Sane": "Sane", -"CoC7.ErrorUnableToParseFormula": "{value} is not a valid formula", -"CoC7.ErrorUnableToParseArmorFormula": "Unable to process armor value: {value}. Ignoring armor.", -"CoC7.ErrorUnableToParseSkillFormula": "Unable to parse formula: {value} for skill {name}", -"CoC7.ErrorActorHasNoWeaponNamed": "Actor {actorName} has no weapon named {weaponName}", -"CoC7.ErrorActorHasTooManyWeaponsNamed": "`Actor {actorName} has more than one weapon named {weaponName}. The first found will be used`", -"CoC7.ErrorUnexpectedWeaponText": "Unexpected weapons text, please raise a bug report with the text you are attempting to import", -"CoC7.ErrorUnexpectedSkillsText": "Unexpected skills text, please raise a bug report with the text you are attempting to import", -"CoC7.ErrorNoTokensSelected": "No tokens selected", -"CoC7.ErrorEvaluatingDamage": "Error evaluating damage", -"CoC7.MessageRollingCharacteristic": "Rolling characteristic {label}: {formula}", -"CoC7.DamageDealTo": "Damage {name} {damage}HP", -"CoC7.Add": "Add", -"CoC7.Update": "Update", -"CoC7.Enable": "Enable", -"CoC7.Disable": "Disable", -"CoC7.Duration": "Duration", -"CoC7.TextFieldInvalidJSON": "Unable to parse the JSON, please try again", -"CoC7.ActorImporterUploadError": "Import stopped, unable to write image", -"CoC7.FileUploadError": "Unable to write image, file upload error", -"CoC7.PickDirectory": "Pick Directory", -"CoC7.ActorImported": "New {actorType} imported: {actorName}", -"CoC7.DholeHouseActorImporter": "The Dhole's House Actor Importer JSON", -"CoC7.DholeHouseActorImporterSummary": "Export your DholeHouse's character as JSON and upload it here.", -"CoC7.DholeHouseImportingName": "About to import: ", -"CoC7.DholeHousePickYourJSONFile": "Pick the JSON file exported from The Dhole's House", -"CoC7.DholeHouseActorImporterSource": "Imported from The Dhole's House Actor", -"CoC7.DholeHouseInvalidActor": "The selected JSON doesn't seem to be a valid Dhole's House exported character", -"CoC7.Migrate.ErrorDocumentPack": "Failed CoC7 system migration for document {name} in pack {collection}: {message}", -"CoC7.Migrate.ErrorScene": "Failed CoC7 system migration for Scene {name}: {message}", -"CoC7.Migrate.ErrorMacro": "Failed CoC7 system migration for Macro {name}: {message}", -"CoC7.Migrate.ErrorTable": "Failed CoC7 system migration for Table {name}: {message}", -"CoC7.Migrate.ErrorItem": "Failed CoC7 system migration for Item {name}: {message}", -"CoC7.Migrate.ErrorActor": "Failed CoC7 system migration for Actor {name}: {message}", -"CoC7.Settings.PulpRules.IgnoreAgePenalties.Name": "Ignore Age Penalties", -"CoC7.Settings.PulpRules.IgnoreAgePenalties.Hint": "Do not alter movement rate based on age. When creating an investigator improvements and characteristic deductions are made", -"CoC7.Settings.DholeUpload.Directory.Name": "The Dhole's House image upload directory", -"CoC7.Settings.DholeUpload.Directory.Hint": "Upload path for The Dhole's House avatars, relative to the Foundry/Data directory.", -"CoC7.Settings.WorldEra.Name": "Era for the world", -"CoC7.Settings.WorldEra.Hint": "Skills can vary slightly between eras, please select the era for this world so system searches for skills find the correct ones.", -"CoC7.Settings.DropCoCID.Name": "Use CoC ID on item drops", -"CoC7.Settings.DropCoCID.Hint": "When dropping items with a CoC ID prompt to store the CoC ID instead of the item", -"CoC7.Settings.DropCoCID.Dialog": "Use the CoC ID for dropped items where possible? This allows the system to select the correct item for your world era.", -"CoC7.Settings.DropCoCID.Remember": "Remember this selection, you can change this under settings", -"CoC7.Settings.DropCoCID.Prompt": "Prompt each time", -"CoC7.Settings.DropCoCID.UseCoCID": "Use CoC ID Where Possible", -"CoC7.Settings.DropCoCID.IgnoreCoCID": "Do Not Use CoC ID", -"CoC7.ClearAllConditions": "Clear All Conditions", -"CoC7.UnableToUploadDholeImage": "You do not have permission to upload images, if you import the default avatar will be used.", -"SETTINGS.TitleChaseSettings": "Chase Settings", -"SETTINGS.TrustedCanModfyChatCard": "Allow trusted user to modify chat card", -"SETTINGS.TrustedCanModfyChatCardHint": "Enabling this setting will give permission to trusted users to select options on chat card. The GM only section will still not be visible to them", -"SETTINGS.TrustedCanSeeChatCard": "Allow trusted user to see GM only sections", -"SETTINGS.TrustedCanSeeChatCardHint": "Enabling this setting will give permission to trusted users to see GM only section on chat card. Use this with caution!", -"SETTINGS.ChaseShowTokenMovement": "Show token movement.", -"SETTINGS.ChaseShowTokenMovementHint": "Show movement on the grid when a token is moved to the next location.", -"SETTINGS.UseContextMenus": "Use context menus", -"SETTINGS.UseContextMenusHint": "[EXPERIMENTAL] Use context menus for rolls instead of key combination.", -"CoC7.EffectNew": "New effect", -"CoC7.EffectAppliedCantOverride": "An active effect is applies. You can't modify [{name}]. Deactivate the corresponding effect to modify this value.", -"CoC7.CoCIDFlag.id": "ID", -"CoC7.CoCIDFlag.title": "Edit System ID (CoC ID)", -"CoC7.CoCIDFlag.summary": "Set a group identifier that can be used to find the the most up to date version of this {type}. The System ID should use the English translation of the {type} to support localization across all languages.", -"CoC7.CoCIDFlag.key": "System ID (CoC ID)", -"CoC7.CoCIDFlag.new": "- Custom System ID -", -"CoC7.CoCIDFlag.guess": "Create System ID (CoC ID) based on current document.", -"CoC7.CoCIDFlag.priority": "System ID Priority", -"CoC7.CoCIDFlag.others": "Other documents with this CoC ID and language (excluding documents in other actors and items)", -"CoC7.CoCIDFlag.documents-in-world": "{count} documents in the world", -"CoC7.CoCIDFlag.documents-in-compendiums": "{count} documents in compendiums", -"CoC7.CoCIDFlag.foundry-id": "Foundry ID", -"CoC7.CoCIDFlag.foundry-uuid": "Foundry UUID", -"CoC7.CoCIDFlag.get-this-document": "Get this document", -"CoC7.CoCIDFlag.get-document-like-this": "Get document like this", -"CoC7.CoCIDFlag.error.duplicate": "Warning: Multiple System IDs with same priority!", -"CoC7.CoCIDFlag.error.unknown-era": "Unknown Era "{era}"", -"CoC7.CoCIDFlag.error.incorrect.type": "Tried to convert CoC ID with non existing document type. See console log.", -"CoC7.CoCIDFlag.error.document-not-found": "Document not found in world or Compendia matching the CoC ID "{cocid}", language "{lang}", and era "{era}". Please check your Era for the world setting.", -"CoC7.CoCIDFlag.error.documents-not-found": "Documents were not found in world or Compendia matching the CoC IDs ({cocids}), language "{lang}", and era "{era}". Please check your Era for the world setting." -``` ## ru.json 1117 untranslated strings ``` diff --git a/module/actors/sheets/base.js b/module/actors/sheets/base.js index 894890f4..9771b3ae 100644 --- a/module/actors/sheets/base.js +++ b/module/actors/sheets/base.js @@ -280,7 +280,6 @@ export class CoC7ActorSheet extends ActorSheet { // Assume fallback values, useful for initial setup of skills item.system.rawValue = rawValue || value || base item.system.value = value || base - } else { const skill = this.actor.items.get(item._id) item.system.base = await skill.asyncBase()