Skip to content

Commit

Permalink
v1.13.2.0: Add polish translation, fix translations before i18n init
Browse files Browse the repository at this point in the history
  • Loading branch information
ruipin committed Sep 27, 2024
1 parent f0f70e0 commit af99c01
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 10 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 1.13.2.0 (2024-09-27)

- Add Polish translation, thanks to Lionheart for the contribution!
- Ensure that non-english translations are correctly loaded at first use even if i18n hasn't initialised yet. This is something that broke during the 1.13.0.0 update.

# 1.13.1.0 (2024-09-25)

- Ensure calling behaviour when a method has only listeners is consistent with libWrapper v1.12.15.0 and older.
Expand Down
2 changes: 1 addition & 1 deletion module.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "lib-wrapper",
"title": "libWrapper",
"description": "Library for wrapping core Foundry VTT methods, meant to improve compatibility between packages that wrap the same methods.",
"version": "1.13.1.0",
"version": "1.13.2.0",
"authors": [{
"name": "Rui Pinheiro",
"url": "https://github.com/ruipin"
Expand Down
2 changes: 1 addition & 1 deletion src/shared
Submodule shared updated 1 files
+51 −50 i18n.js
16 changes: 8 additions & 8 deletions src/ui/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,14 +104,14 @@ export class LibWrapperSettings extends FormApplication {
// NOTE: Some choices removed as too much choice will just confuse users or make technical support more difficult.
// For example, I don't want users to disable errors accidentally, and then ask for support without any error messages showing up on console.

0 : i18n.localize(`${PACKAGE_ID}.settings.log-verbosity.choices.all`),
//[Log.TRACE .value]: i18n.localize(`${PACKAGE_ID}.settings.log-verbosity.choices.trace`),
[Log.DEBUG .value]: i18n.localize(`${PACKAGE_ID}.settings.log-verbosity.choices.debug`),
[Log.INFO .value]: i18n.localize(`${PACKAGE_ID}.settings.log-verbosity.choices.info`),
[Log.WARNING .value]: i18n.localize(`${PACKAGE_ID}.settings.log-verbosity.choices.warning`),
//[Log.ERROR .value]: i18n.localize(`${PACKAGE_ID}.settings.log-verbosity.choices.error`),
//[Log.CRITICAL.value]: i18n.localize(`${PACKAGE_ID}.settings.log-verbosity.choices.critical`),
//[Log.ALWAYS .value]: i18n.localize(`${PACKAGE_ID}.settings.log-verbosity.choices.always`),
0 : `${PACKAGE_ID}.settings.log-verbosity.choices.all` ,
//[Log.TRACE .value]: `${PACKAGE_ID}.settings.log-verbosity.choices.trace` ,
[Log.DEBUG .value]: `${PACKAGE_ID}.settings.log-verbosity.choices.debug` ,
[Log.INFO .value]: `${PACKAGE_ID}.settings.log-verbosity.choices.info` ,
[Log.WARNING .value]: `${PACKAGE_ID}.settings.log-verbosity.choices.warning` ,
//[Log.ERROR .value]: `${PACKAGE_ID}.settings.log-verbosity.choices.error` ,
//[Log.CRITICAL.value]: `${PACKAGE_ID}.settings.log-verbosity.choices.critical`,
//[Log.ALWAYS .value]: `${PACKAGE_ID}.settings.log-verbosity.choices.always` ,
},
scope: 'client',
config: true,
Expand Down

0 comments on commit af99c01

Please sign in to comment.