Skip to content

Commit

Permalink
docs: remove future comments
Browse files Browse the repository at this point in the history
  • Loading branch information
fzn0x authored Jul 21, 2024
1 parent fcc1e6b commit 1eac607
Showing 1 changed file with 3 additions and 23 deletions.
26 changes: 3 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,21 +81,13 @@ const t = i18n.init({
default: {
// user pages
load: `/lang.json`,
// supported: [`lang.json`, `lang-2.json`]
type: 'json', // json, sqlite
storage: 'path',
type: 'json',
},
admin: {
// admin pages
load: `/lang-admin.json`,
// supported: [`lang-admin.json`, `lang-admin-2.json`]
type: 'json',
storage: 'cookie',
},
// otherCustomNamespace: {
// load: `/lang.db`,
// type: 'sqlite', // json, sqlite
// }
},
detection: {
order: ['cookie', 'path', 'query'], // use defaultLang if not found
Expand All @@ -121,19 +113,13 @@ const t = i18n.init({
default: {
// user pages
load: `/lang.json`,
type: 'json', // json, sqlite
storage: 'path',
type: 'json',
},
admin: {
// admin pages
load: `/lang-admin.json`,
type: 'json',
storage: 'cookie',
},
// otherCustomNamespace: {
// load: `/lang.db`,
// type: 'sqlite', // json, sqlite
// }
},
detection: {
order: ['cookie', 'path', 'query'], // use defaultLang if not found
Expand All @@ -158,19 +144,13 @@ const t = i18n.init({
default: {
// user pages
load: `/lang.json`,
type: 'json', // json, sqlite
storage: 'path',
type: 'json',
},
admin: {
// admin pages
load: `/lang-admin.json`,
type: 'json',
storage: 'cookie',
},
// otherCustomNamespace: {
// load: `/lang.db`,
// type: 'sqlite', // json, sqlite
// }
},
detection: {
order: ['cookie', 'path', 'query'], // use defaultLang if not found
Expand Down

0 comments on commit 1eac607

Please sign in to comment.