Skip to content

Commit dee08d4

Browse files
committed
Fix some typos
1 parent c533bf8 commit dee08d4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Localizer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ function innerTranslateTextNodes(parent, translatedMessage, subsContainer) {
109109
// is also returned in splitTranslatedMessage
110110
if (splitTranslatedMessage.length <= subsContainer.substitutions.length) {
111111
console.warn(
112-
"You used only", splitTranslatedMessage.length, "message blocks, altghough you could use",
112+
"You used only", splitTranslatedMessage.length, "message blocks, although you could use",
113113
subsContainer.substitutions.length, "substitutions. Possibly you did not include all substitutions in your translation?",
114114
"Check for typos in the placeholder name e.g.",
115115
{
@@ -144,7 +144,7 @@ function innerTranslateTextNodes(parent, translatedMessage, subsContainer) {
144144

145145
// if we have no more text elements
146146
if (nextText.done) {
147-
console.warn("Translation contained more text then HTML template. We now add a note. Triggered for translation: ", message);
147+
console.warn("Translation contained more text than HTML template. We now add a note. Triggered for translation: ", message);
148148
// just create & add a new one
149149
const newTextNode = document.createTextNode(message);
150150

0 commit comments

Comments
 (0)