Skip to content

Commit

Permalink
Merge remote-tracking branch 'pr/issue-11'
Browse files Browse the repository at this point in the history
Signed-off-by: William So <[email protected]>
  • Loading branch information
polyipseity committed Jan 11, 2024
2 parents d0f04ad + 976e1aa commit 0aa2470
Show file tree
Hide file tree
Showing 51 changed files with 166 additions and 52 deletions.
5 changes: 5 additions & 0 deletions .changeset/twelve-pillows-search.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"obsidian-modules": patch
---

Improve error message for unresolved module and loading timeout. ([GH#12](https://github.com/polyipseity/obsidian-modules/pull/12) by [@mnaoumov](https://github.com/mnaoumov))
4 changes: 3 additions & 1 deletion assets/locales/af/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"reload-startup-modules": "Reload $t(generic.startup-module_other)"
},
"errors": {
"could-not-resolve-module": "Could not resolve $t(generic.module): {{id}}",
"error-loading-module": "Error loading $t(generic.module): {{id}}",
"no-functions-exported": "No functions exported"
"no-functions-exported": "No functions exported",
"timeout-loading-module": "$t(generic.timeout, capitalize) loading $t(generic.module): {{id}}"
},
"generic": {
"case-insensitive": "case-insensitive",
Expand Down
4 changes: 3 additions & 1 deletion assets/locales/am/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"reload-startup-modules": "Reload $t(generic.startup-module_other)"
},
"errors": {
"could-not-resolve-module": "Could not resolve $t(generic.module): {{id}}",
"error-loading-module": "Error loading $t(generic.module): {{id}}",
"no-functions-exported": "No functions exported"
"no-functions-exported": "No functions exported",
"timeout-loading-module": "$t(generic.timeout, capitalize) loading $t(generic.module): {{id}}"
},
"generic": {
"case-insensitive": "case-insensitive",
Expand Down
4 changes: 3 additions & 1 deletion assets/locales/ar/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"reload-startup-modules": "Reload $t(generic.startup-module_other)"
},
"errors": {
"could-not-resolve-module": "Could not resolve $t(generic.module): {{id}}",
"error-loading-module": "Error loading $t(generic.module): {{id}}",
"no-functions-exported": "No functions exported"
"no-functions-exported": "No functions exported",
"timeout-loading-module": "$t(generic.timeout, capitalize) loading $t(generic.module): {{id}}"
},
"generic": {
"case-insensitive": "case-insensitive",
Expand Down
4 changes: 3 additions & 1 deletion assets/locales/be/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"reload-startup-modules": "Reload $t(generic.startup-module_other)"
},
"errors": {
"could-not-resolve-module": "Could not resolve $t(generic.module): {{id}}",
"error-loading-module": "Error loading $t(generic.module): {{id}}",
"no-functions-exported": "No functions exported"
"no-functions-exported": "No functions exported",
"timeout-loading-module": "$t(generic.timeout, capitalize) loading $t(generic.module): {{id}}"
},
"generic": {
"case-insensitive": "case-insensitive",
Expand Down
4 changes: 3 additions & 1 deletion assets/locales/bg/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"reload-startup-modules": "Reload $t(generic.startup-module_other)"
},
"errors": {
"could-not-resolve-module": "Could not resolve $t(generic.module): {{id}}",
"error-loading-module": "Error loading $t(generic.module): {{id}}",
"no-functions-exported": "No functions exported"
"no-functions-exported": "No functions exported",
"timeout-loading-module": "$t(generic.timeout, capitalize) loading $t(generic.module): {{id}}"
},
"generic": {
"case-insensitive": "case-insensitive",
Expand Down
4 changes: 3 additions & 1 deletion assets/locales/bn/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"reload-startup-modules": "Reload $t(generic.startup-module_other)"
},
"errors": {
"could-not-resolve-module": "Could not resolve $t(generic.module): {{id}}",
"error-loading-module": "Error loading $t(generic.module): {{id}}",
"no-functions-exported": "No functions exported"
"no-functions-exported": "No functions exported",
"timeout-loading-module": "$t(generic.timeout, capitalize) loading $t(generic.module): {{id}}"
},
"generic": {
"case-insensitive": "case-insensitive",
Expand Down
4 changes: 3 additions & 1 deletion assets/locales/ca/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"reload-startup-modules": "Reload $t(generic.startup-module_other)"
},
"errors": {
"could-not-resolve-module": "Could not resolve $t(generic.module): {{id}}",
"error-loading-module": "Error loading $t(generic.module): {{id}}",
"no-functions-exported": "No functions exported"
"no-functions-exported": "No functions exported",
"timeout-loading-module": "$t(generic.timeout, capitalize) loading $t(generic.module): {{id}}"
},
"generic": {
"case-insensitive": "case-insensitive",
Expand Down
4 changes: 3 additions & 1 deletion assets/locales/cs/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"reload-startup-modules": "Reload $t(generic.startup-module_other)"
},
"errors": {
"could-not-resolve-module": "Could not resolve $t(generic.module): {{id}}",
"error-loading-module": "Error loading $t(generic.module): {{id}}",
"no-functions-exported": "No functions exported"
"no-functions-exported": "No functions exported",
"timeout-loading-module": "$t(generic.timeout, capitalize) loading $t(generic.module): {{id}}"
},
"generic": {
"case-insensitive": "case-insensitive",
Expand Down
4 changes: 3 additions & 1 deletion assets/locales/da/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"reload-startup-modules": "Reload $t(generic.startup-module_other)"
},
"errors": {
"could-not-resolve-module": "Could not resolve $t(generic.module): {{id}}",
"error-loading-module": "Error loading $t(generic.module): {{id}}",
"no-functions-exported": "No functions exported"
"no-functions-exported": "No functions exported",
"timeout-loading-module": "$t(generic.timeout, capitalize) loading $t(generic.module): {{id}}"
},
"generic": {
"case-insensitive": "case-insensitive",
Expand Down
4 changes: 3 additions & 1 deletion assets/locales/de/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"reload-startup-modules": "Reload $t(generic.startup-module_other)"
},
"errors": {
"could-not-resolve-module": "Could not resolve $t(generic.module): {{id}}",
"error-loading-module": "Error loading $t(generic.module): {{id}}",
"no-functions-exported": "No functions exported"
"no-functions-exported": "No functions exported",
"timeout-loading-module": "$t(generic.timeout, capitalize) loading $t(generic.module): {{id}}"
},
"generic": {
"case-insensitive": "case-insensitive",
Expand Down
4 changes: 3 additions & 1 deletion assets/locales/el/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"reload-startup-modules": "Reload $t(generic.startup-module_other)"
},
"errors": {
"could-not-resolve-module": "Could not resolve $t(generic.module): {{id}}",
"error-loading-module": "Error loading $t(generic.module): {{id}}",
"no-functions-exported": "No functions exported"
"no-functions-exported": "No functions exported",
"timeout-loading-module": "$t(generic.timeout, capitalize) loading $t(generic.module): {{id}}"
},
"generic": {
"case-insensitive": "case-insensitive",
Expand Down
4 changes: 3 additions & 1 deletion assets/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"reload-startup-modules": "Reload $t(generic.startup-module_other)"
},
"errors": {
"could-not-resolve-module": "Could not resolve $t(generic.module): {{id}}",
"error-loading-module": "Error loading $t(generic.module): {{id}}",
"no-functions-exported": "No functions exported"
"no-functions-exported": "No functions exported",
"timeout-loading-module": "$t(generic.timeout, capitalize) loading $t(generic.module): {{id}}"
},
"generic": {
"case-insensitive": "case-insensitive",
Expand Down
4 changes: 3 additions & 1 deletion assets/locales/eo/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"reload-startup-modules": "Reload $t(generic.startup-module_other)"
},
"errors": {
"could-not-resolve-module": "Could not resolve $t(generic.module): {{id}}",
"error-loading-module": "Error loading $t(generic.module): {{id}}",
"no-functions-exported": "No functions exported"
"no-functions-exported": "No functions exported",
"timeout-loading-module": "$t(generic.timeout, capitalize) loading $t(generic.module): {{id}}"
},
"generic": {
"case-insensitive": "case-insensitive",
Expand Down
4 changes: 3 additions & 1 deletion assets/locales/es/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"reload-startup-modules": "Reload $t(generic.startup-module_other)"
},
"errors": {
"could-not-resolve-module": "Could not resolve $t(generic.module): {{id}}",
"error-loading-module": "Error loading $t(generic.module): {{id}}",
"no-functions-exported": "No functions exported"
"no-functions-exported": "No functions exported",
"timeout-loading-module": "$t(generic.timeout, capitalize) loading $t(generic.module): {{id}}"
},
"generic": {
"case-insensitive": "case-insensitive",
Expand Down
4 changes: 3 additions & 1 deletion assets/locales/eu/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"reload-startup-modules": "Reload $t(generic.startup-module_other)"
},
"errors": {
"could-not-resolve-module": "Could not resolve $t(generic.module): {{id}}",
"error-loading-module": "Error loading $t(generic.module): {{id}}",
"no-functions-exported": "No functions exported"
"no-functions-exported": "No functions exported",
"timeout-loading-module": "$t(generic.timeout, capitalize) loading $t(generic.module): {{id}}"
},
"generic": {
"case-insensitive": "case-insensitive",
Expand Down
4 changes: 3 additions & 1 deletion assets/locales/fa/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"reload-startup-modules": "Reload $t(generic.startup-module_other)"
},
"errors": {
"could-not-resolve-module": "Could not resolve $t(generic.module): {{id}}",
"error-loading-module": "Error loading $t(generic.module): {{id}}",
"no-functions-exported": "No functions exported"
"no-functions-exported": "No functions exported",
"timeout-loading-module": "$t(generic.timeout, capitalize) loading $t(generic.module): {{id}}"
},
"generic": {
"case-insensitive": "case-insensitive",
Expand Down
4 changes: 3 additions & 1 deletion assets/locales/fi/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"reload-startup-modules": "Reload $t(generic.startup-module_other)"
},
"errors": {
"could-not-resolve-module": "Could not resolve $t(generic.module): {{id}}",
"error-loading-module": "Error loading $t(generic.module): {{id}}",
"no-functions-exported": "No functions exported"
"no-functions-exported": "No functions exported",
"timeout-loading-module": "$t(generic.timeout, capitalize) loading $t(generic.module): {{id}}"
},
"generic": {
"case-insensitive": "case-insensitive",
Expand Down
4 changes: 3 additions & 1 deletion assets/locales/fr/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"reload-startup-modules": "Reload $t(generic.startup-module_other)"
},
"errors": {
"could-not-resolve-module": "Could not resolve $t(generic.module): {{id}}",
"error-loading-module": "Error loading $t(generic.module): {{id}}",
"no-functions-exported": "No functions exported"
"no-functions-exported": "No functions exported",
"timeout-loading-module": "$t(generic.timeout, capitalize) loading $t(generic.module): {{id}}"
},
"generic": {
"case-insensitive": "case-insensitive",
Expand Down
4 changes: 3 additions & 1 deletion assets/locales/gl/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"reload-startup-modules": "Reload $t(generic.startup-module_other)"
},
"errors": {
"could-not-resolve-module": "Could not resolve $t(generic.module): {{id}}",
"error-loading-module": "Error loading $t(generic.module): {{id}}",
"no-functions-exported": "No functions exported"
"no-functions-exported": "No functions exported",
"timeout-loading-module": "$t(generic.timeout, capitalize) loading $t(generic.module): {{id}}"
},
"generic": {
"case-insensitive": "case-insensitive",
Expand Down
4 changes: 3 additions & 1 deletion assets/locales/he/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"reload-startup-modules": "Reload $t(generic.startup-module_other)"
},
"errors": {
"could-not-resolve-module": "Could not resolve $t(generic.module): {{id}}",
"error-loading-module": "Error loading $t(generic.module): {{id}}",
"no-functions-exported": "No functions exported"
"no-functions-exported": "No functions exported",
"timeout-loading-module": "$t(generic.timeout, capitalize) loading $t(generic.module): {{id}}"
},
"generic": {
"case-insensitive": "case-insensitive",
Expand Down
4 changes: 3 additions & 1 deletion assets/locales/hi/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"reload-startup-modules": "Reload $t(generic.startup-module_other)"
},
"errors": {
"could-not-resolve-module": "Could not resolve $t(generic.module): {{id}}",
"error-loading-module": "Error loading $t(generic.module): {{id}}",
"no-functions-exported": "No functions exported"
"no-functions-exported": "No functions exported",
"timeout-loading-module": "$t(generic.timeout, capitalize) loading $t(generic.module): {{id}}"
},
"generic": {
"case-insensitive": "case-insensitive",
Expand Down
4 changes: 3 additions & 1 deletion assets/locales/hu/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"reload-startup-modules": "Reload $t(generic.startup-module_other)"
},
"errors": {
"could-not-resolve-module": "Could not resolve $t(generic.module): {{id}}",
"error-loading-module": "Error loading $t(generic.module): {{id}}",
"no-functions-exported": "No functions exported"
"no-functions-exported": "No functions exported",
"timeout-loading-module": "$t(generic.timeout, capitalize) loading $t(generic.module): {{id}}"
},
"generic": {
"case-insensitive": "case-insensitive",
Expand Down
4 changes: 3 additions & 1 deletion assets/locales/id/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"reload-startup-modules": "Reload $t(generic.startup-module_other)"
},
"errors": {
"could-not-resolve-module": "Could not resolve $t(generic.module): {{id}}",
"error-loading-module": "Error loading $t(generic.module): {{id}}",
"no-functions-exported": "No functions exported"
"no-functions-exported": "No functions exported",
"timeout-loading-module": "$t(generic.timeout, capitalize) loading $t(generic.module): {{id}}"
},
"generic": {
"case-insensitive": "case-insensitive",
Expand Down
4 changes: 3 additions & 1 deletion assets/locales/it/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"reload-startup-modules": "Reload $t(generic.startup-module_other)"
},
"errors": {
"could-not-resolve-module": "Could not resolve $t(generic.module): {{id}}",
"error-loading-module": "Error loading $t(generic.module): {{id}}",
"no-functions-exported": "No functions exported"
"no-functions-exported": "No functions exported",
"timeout-loading-module": "$t(generic.timeout, capitalize) loading $t(generic.module): {{id}}"
},
"generic": {
"case-insensitive": "case-insensitive",
Expand Down
4 changes: 3 additions & 1 deletion assets/locales/ja/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"reload-startup-modules": "Reload $t(generic.startup-module_other)"
},
"errors": {
"could-not-resolve-module": "Could not resolve $t(generic.module): {{id}}",
"error-loading-module": "Error loading $t(generic.module): {{id}}",
"no-functions-exported": "No functions exported"
"no-functions-exported": "No functions exported",
"timeout-loading-module": "$t(generic.timeout, capitalize) loading $t(generic.module): {{id}}"
},
"generic": {
"case-insensitive": "case-insensitive",
Expand Down
4 changes: 3 additions & 1 deletion assets/locales/ko/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"reload-startup-modules": "Reload $t(generic.startup-module_other)"
},
"errors": {
"could-not-resolve-module": "Could not resolve $t(generic.module): {{id}}",
"error-loading-module": "Error loading $t(generic.module): {{id}}",
"no-functions-exported": "No functions exported"
"no-functions-exported": "No functions exported",
"timeout-loading-module": "$t(generic.timeout, capitalize) loading $t(generic.module): {{id}}"
},
"generic": {
"case-insensitive": "case-insensitive",
Expand Down
4 changes: 3 additions & 1 deletion assets/locales/lv/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"reload-startup-modules": "Reload $t(generic.startup-module_other)"
},
"errors": {
"could-not-resolve-module": "Could not resolve $t(generic.module): {{id}}",
"error-loading-module": "Error loading $t(generic.module): {{id}}",
"no-functions-exported": "No functions exported"
"no-functions-exported": "No functions exported",
"timeout-loading-module": "$t(generic.timeout, capitalize) loading $t(generic.module): {{id}}"
},
"generic": {
"case-insensitive": "case-insensitive",
Expand Down
4 changes: 3 additions & 1 deletion assets/locales/ml/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"reload-startup-modules": "Reload $t(generic.startup-module_other)"
},
"errors": {
"could-not-resolve-module": "Could not resolve $t(generic.module): {{id}}",
"error-loading-module": "Error loading $t(generic.module): {{id}}",
"no-functions-exported": "No functions exported"
"no-functions-exported": "No functions exported",
"timeout-loading-module": "$t(generic.timeout, capitalize) loading $t(generic.module): {{id}}"
},
"generic": {
"case-insensitive": "case-insensitive",
Expand Down
4 changes: 3 additions & 1 deletion assets/locales/ms/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"reload-startup-modules": "Reload $t(generic.startup-module_other)"
},
"errors": {
"could-not-resolve-module": "Could not resolve $t(generic.module): {{id}}",
"error-loading-module": "Error loading $t(generic.module): {{id}}",
"no-functions-exported": "No functions exported"
"no-functions-exported": "No functions exported",
"timeout-loading-module": "$t(generic.timeout, capitalize) loading $t(generic.module): {{id}}"
},
"generic": {
"case-insensitive": "case-insensitive",
Expand Down
4 changes: 3 additions & 1 deletion assets/locales/nl/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"reload-startup-modules": "Reload $t(generic.startup-module_other)"
},
"errors": {
"could-not-resolve-module": "Could not resolve $t(generic.module): {{id}}",
"error-loading-module": "Error loading $t(generic.module): {{id}}",
"no-functions-exported": "No functions exported"
"no-functions-exported": "No functions exported",
"timeout-loading-module": "$t(generic.timeout, capitalize) loading $t(generic.module): {{id}}"
},
"generic": {
"case-insensitive": "case-insensitive",
Expand Down
4 changes: 3 additions & 1 deletion assets/locales/no/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"reload-startup-modules": "Reload $t(generic.startup-module_other)"
},
"errors": {
"could-not-resolve-module": "Could not resolve $t(generic.module): {{id}}",
"error-loading-module": "Error loading $t(generic.module): {{id}}",
"no-functions-exported": "No functions exported"
"no-functions-exported": "No functions exported",
"timeout-loading-module": "$t(generic.timeout, capitalize) loading $t(generic.module): {{id}}"
},
"generic": {
"case-insensitive": "case-insensitive",
Expand Down
4 changes: 3 additions & 1 deletion assets/locales/oc/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"reload-startup-modules": "Reload $t(generic.startup-module_other)"
},
"errors": {
"could-not-resolve-module": "Could not resolve $t(generic.module): {{id}}",
"error-loading-module": "Error loading $t(generic.module): {{id}}",
"no-functions-exported": "No functions exported"
"no-functions-exported": "No functions exported",
"timeout-loading-module": "$t(generic.timeout, capitalize) loading $t(generic.module): {{id}}"
},
"generic": {
"case-insensitive": "case-insensitive",
Expand Down
Loading

0 comments on commit 0aa2470

Please sign in to comment.