Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorako committed Feb 17, 2023
2 parents d060570 + 89be352 commit 91f3166
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion languages/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,10 @@
"dark-theme": "Dorako UI sombre"
},
"name": "Thème de l'application"
},
"enable-dark-theme-journals": {
"name": "Activer le thème sombre dans les journaux ?",
"hint": "N'affecte par les modules de journaux premium"
}
},
"avatar": {
Expand All @@ -220,7 +224,7 @@
},
"hide-when-token-hidden": {
"hint": "Cacher les avatars lorsque le jeton de l'orateur est caché",
"name": "Cacher l'avatar lorsque le jeton est caché"
"name": "Cacher l'avatar lorsque le jeton est caché ?"
},
"hide-gm-avatar-when-secret": {
"name": "Cacher l'avatar sur jet secret ?",
Expand Down
2 changes: 1 addition & 1 deletion modules/settings/migrations.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default async function migrate() {
}

function findOldSettingValue(oldSettingKey) {
return oldSettings.find((setting) => setting.key.endsWith(oldSettingKey))?.value; // FIXME: key can be undefined
return oldSettings.find((setting) => setting?.key?.endsWith(oldSettingKey))?.value;
}

const migrations = {
Expand Down

0 comments on commit 91f3166

Please sign in to comment.