Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KishiTheMechanic committed Oct 27, 2024
1 parent 27e8a46 commit 1bd1721
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@elsoul/fresh-i18n",
"version": "0.9.11",
"version": "0.9.12",
"description": "A simple and flexible internationalization (i18n) plugin for Deno's Fresh framework.",
"runtimes": ["deno", "browser"],
"exports": "./mod.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/createTranslator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/
export function createTranslator(
translations: Record<string, Record<string, string>>,
) {
): (key: string) => string {
/**
* Translates a key string like 'common.title' or 'common.titlerow.title.example'
* by traversing the nested structure of `translations`.
Expand Down

0 comments on commit 1bd1721

Please sign in to comment.