Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Romanchuk committed Nov 27, 2023
1 parent 575f8ce commit e56cd78
Show file tree
Hide file tree
Showing 6 changed files with 2,059 additions and 23,879 deletions.
2 changes: 1 addition & 1 deletion apps/angular-i18next-demo/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"polyfills": "apps/angular-i18next-demo/src/polyfills.ts",
"tsConfig": "apps/angular-i18next-demo/tsconfig.app.json",
"assets": [
"apps/angular-i18next-demo/src/assets/favicon.ico",
"apps/angular-i18next-demo/src/assets/favicon.png",
"apps/angular-i18next-demo/src/assets",
"apps/angular-i18next-demo/src/locales"
],
Expand Down
2 changes: 0 additions & 2 deletions apps/angular-i18next-demo/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { join } from 'node:path';
import { REQUEST, RESPONSE } from './src/express.tokens';
import i18next from 'i18next';
import ChainedBackend, { ChainedBackendOptions } from 'i18next-chained-backend';
import HttpApi from 'i18next-http-backend';
import * as middleware from 'i18next-http-middleware';
import resourcesToBackend from "i18next-resources-to-backend";
import { AppServerModule } from './src/main.server';
Expand All @@ -25,7 +24,6 @@ export async function app(): Promise<express.Express> {
...i18nextOptions,
backend: {
backends: [
HttpApi,
resourcesToBackend((lng, ns, clb) => {
import(`./src/locales/${lng}.${ns}.json`)
.then((resources) => clb(null, resources))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export class AppFooterComponent {
i18nextVersion = '0.0.0';
constructor(){
this.angularVersion = VERSION.full;
this.i18nextVersion = '22.5.1';
this.i18nextVersion = '23.7.6';
}

}
Binary file added apps/angular-i18next-demo/src/assets/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion apps/angular-i18next-demo/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<title>
DEMO angular-i18next
</title>
<link rel="icon" type="image/ico" href="assets/favicon.ico" />
<link rel="icon" type="image/ico" href="assets/favicon.png" />
<!-- base url -->
<base href="/">

Expand Down
Loading

0 comments on commit e56cd78

Please sign in to comment.