Skip to content

Commit

Permalink
Remove unused quotes in error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinNovak committed Dec 23, 2021
1 parent e7b3daa commit 4ece06c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/linguini.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export class Linguini {
public getRaw(location: string, langCode: string, variables?: { [name: string]: string }): any {
let langData = this.langDatas[langCode];
if (langData === undefined) {
throw new LinguiniError(`Invalid language code: ${langCode}'`);
throw new LinguiniError(`Invalid language code: ${langCode}`);
}

let jsonValue = langData.data[location];
Expand Down Expand Up @@ -147,7 +147,7 @@ export class Linguini {
): string {
let langData = this.langDatas[langCode];
if (langData === undefined) {
throw new LinguiniError(`Invalid language code: ${langCode}'`);
throw new LinguiniError(`Invalid language code: ${langCode}`);
}

let ref = langData.refs[`REF:${location}`];
Expand Down

0 comments on commit 4ece06c

Please sign in to comment.