Skip to content

Commit

Permalink
fix(module:i18n): fix i18n error without locale (#1220)
Browse files Browse the repository at this point in the history
  • Loading branch information
vthinkxie authored Mar 26, 2018
1 parent f2624cb commit 880f0e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/i18n/nz-i18n.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export class NzI18nService {
// TODO: cache more deeply paths for performance
/* tslint:disable-next-line:no-any */
translate(path: string, data?: any): string {
this._logger.debug(`[NzI18nService] Translating(${this._locale.locale}): ${path}`);
// this._logger.debug(`[NzI18nService] Translating(${this._locale.locale}): ${path}`);
let content = this._getObjectPath(this._locale, path) as string;
if (typeof content === 'string') {
if (data) {
Expand Down

0 comments on commit 880f0e8

Please sign in to comment.