Skip to content

Commit

Permalink
feat(ti): Apdate name of typing local vars
Browse files Browse the repository at this point in the history
  • Loading branch information
marker dao ® committed Oct 24, 2024
1 parent dfd7b4c commit 653ef33
Show file tree
Hide file tree
Showing 28 changed files with 112 additions and 112 deletions.
8 changes: 4 additions & 4 deletions packages/devextreme/js/__internal/ui/chat/typingindicator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class TypingIndicator extends DOMComponent<TypingIndicator, Properties> {
const username = usernames[0];

return messageLocalization.format(
'dxChat-typingIndicatorTyping',
'dxChat-typingMessageSingleUser',
// @ts-expect-error
username,
);
Expand All @@ -93,7 +93,7 @@ class TypingIndicator extends DOMComponent<TypingIndicator, Properties> {
const [usernameFirst, usernameSecond] = usernames;

return messageLocalization.format(
'dxChat-typingIndicatorTypingTwo',
'dxChat-typingMessageTwoUsers',
// @ts-expect-error
usernameFirst,
usernameSecond,
Expand All @@ -108,7 +108,7 @@ class TypingIndicator extends DOMComponent<TypingIndicator, Properties> {
] = usernames;

return messageLocalization.format(
'dxChat-typingIndicatorTypingThree',
'dxChat-typingMessageThreeUsers',
// @ts-expect-error
usernameFirst,
usernameSecond,
Expand All @@ -119,7 +119,7 @@ class TypingIndicator extends DOMComponent<TypingIndicator, Properties> {
const usernameString = usernames.slice(0, 3).join(', ');

return messageLocalization.format(
'dxChat-typingIndicatorTypingOther',
'dxChat-typingMessageMultipleUsers',
// @ts-expect-error
usernameString,
);
Expand Down
8 changes: 4 additions & 4 deletions packages/devextreme/js/localization/messages/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -334,10 +334,10 @@
"dxChat-messageListAriaLabel": "Message list",
"dxChat-errorListAriaLabel": "Error list",
"dxChat-emptyListMessage": "There are no messages in this chat",
"dxChat-typingIndicatorTyping": "{0} is typing...",
"dxChat-typingIndicatorTypingTwo": "{0} and {1} are typing...",
"dxChat-typingIndicatorTypingThree": "{0}, {1} and {2} are typing...",
"dxChat-typingIndicatorTypingOther": "{0} and other are typing...",
"dxChat-typingMessageSingleUser": "{0} is typing...",
"dxChat-typingMessageTwoUsers": "{0} and {1} are typing...",
"dxChat-typingMessageThreeUsers": "{0}, {1} and {2} are typing...",
"dxChat-typingMessageMultipleUsers": "{0} and other are typing...",

"dxColorView-ariaRed": "أحمر",
"dxColorView-ariaGreen": "أخضر",
Expand Down
8 changes: 4 additions & 4 deletions packages/devextreme/js/localization/messages/ca.json
Original file line number Diff line number Diff line change
Expand Up @@ -334,10 +334,10 @@
"dxChat-messageListAriaLabel": "Message list",
"dxChat-errorListAriaLabel": "Error list",
"dxChat-emptyListMessage": "There are no messages in this chat",
"dxChat-typingIndicatorTyping": "{0} is typing...",
"dxChat-typingIndicatorTypingTwo": "{0} and {1} are typing...",
"dxChat-typingIndicatorTypingThree": "{0}, {1} and {2} are typing...",
"dxChat-typingIndicatorTypingOther": "{0} and other are typing...",
"dxChat-typingMessageSingleUser": "{0} is typing...",
"dxChat-typingMessageTwoUsers": "{0} and {1} are typing...",
"dxChat-typingMessageThreeUsers": "{0}, {1} and {2} are typing...",
"dxChat-typingMessageMultipleUsers": "{0} and other are typing...",

"dxColorView-ariaRed": "Vermell",
"dxColorView-ariaGreen": "Verd",
Expand Down
8 changes: 4 additions & 4 deletions packages/devextreme/js/localization/messages/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -334,10 +334,10 @@
"dxChat-messageListAriaLabel": "Message list",
"dxChat-errorListAriaLabel": "Error list",
"dxChat-emptyListMessage": "There are no messages in this chat",
"dxChat-typingIndicatorTyping": "{0} is typing...",
"dxChat-typingIndicatorTypingTwo": "{0} and {1} are typing...",
"dxChat-typingIndicatorTypingThree": "{0}, {1} and {2} are typing...",
"dxChat-typingIndicatorTypingOther": "{0} and other are typing...",
"dxChat-typingMessageSingleUser": "{0} is typing...",
"dxChat-typingMessageTwoUsers": "{0} and {1} are typing...",
"dxChat-typingMessageThreeUsers": "{0}, {1} and {2} are typing...",
"dxChat-typingMessageMultipleUsers": "{0} and other are typing...",

"dxColorView-ariaRed": "Červená",
"dxColorView-ariaGreen": "Zelená",
Expand Down
8 changes: 4 additions & 4 deletions packages/devextreme/js/localization/messages/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -334,10 +334,10 @@
"dxChat-messageListAriaLabel": "Message list",
"dxChat-errorListAriaLabel": "Error list",
"dxChat-emptyListMessage": "There are no messages in this chat",
"dxChat-typingIndicatorTyping": "{0} is typing...",
"dxChat-typingIndicatorTypingTwo": "{0} and {1} are typing...",
"dxChat-typingIndicatorTypingThree": "{0}, {1} and {2} are typing...",
"dxChat-typingIndicatorTypingOther": "{0} and other are typing...",
"dxChat-typingMessageSingleUser": "{0} is typing...",
"dxChat-typingMessageTwoUsers": "{0} and {1} are typing...",
"dxChat-typingMessageThreeUsers": "{0}, {1} and {2} are typing...",
"dxChat-typingMessageMultipleUsers": "{0} and other are typing...",

"dxColorView-ariaRed": "Rot",
"dxColorView-ariaGreen": "Grün",
Expand Down
8 changes: 4 additions & 4 deletions packages/devextreme/js/localization/messages/el.json
Original file line number Diff line number Diff line change
Expand Up @@ -334,10 +334,10 @@
"dxChat-messageListAriaLabel": "Message list",
"dxChat-errorListAriaLabel": "Error list",
"dxChat-emptyListMessage": "There are no messages in this chat",
"dxChat-typingIndicatorTyping": "{0} is typing...",
"dxChat-typingIndicatorTypingTwo": "{0} and {1} are typing...",
"dxChat-typingIndicatorTypingThree": "{0}, {1} and {2} are typing...",
"dxChat-typingIndicatorTypingOther": "{0} and other are typing...",
"dxChat-typingMessageSingleUser": "{0} is typing...",
"dxChat-typingMessageTwoUsers": "{0} and {1} are typing...",
"dxChat-typingMessageThreeUsers": "{0}, {1} and {2} are typing...",
"dxChat-typingMessageMultipleUsers": "{0} and other are typing...",

"dxColorView-ariaRed": "Κόκκινο",
"dxColorView-ariaGreen": "Πράσινο",
Expand Down
8 changes: 4 additions & 4 deletions packages/devextreme/js/localization/messages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -334,10 +334,10 @@
"dxChat-messageListAriaLabel": "Message list",
"dxChat-errorListAriaLabel": "Error list",
"dxChat-emptyListMessage": "There are no messages in this chat",
"dxChat-typingIndicatorTyping": "{0} is typing...",
"dxChat-typingIndicatorTypingTwo": "{0} and {1} are typing...",
"dxChat-typingIndicatorTypingThree": "{0}, {1} and {2} are typing...",
"dxChat-typingIndicatorTypingOther": "{0} and other are typing...",
"dxChat-typingMessageSingleUser": "{0} is typing...",
"dxChat-typingMessageTwoUsers": "{0} and {1} are typing...",
"dxChat-typingMessageThreeUsers": "{0}, {1} and {2} are typing...",
"dxChat-typingMessageMultipleUsers": "{0} and other are typing...",

"dxColorView-ariaRed": "Red",
"dxColorView-ariaGreen": "Green",
Expand Down
8 changes: 4 additions & 4 deletions packages/devextreme/js/localization/messages/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -334,10 +334,10 @@
"dxChat-messageListAriaLabel": "Message list",
"dxChat-errorListAriaLabel": "Error list",
"dxChat-emptyListMessage": "There are no messages in this chat",
"dxChat-typingIndicatorTyping": "{0} is typing...",
"dxChat-typingIndicatorTypingTwo": "{0} and {1} are typing...",
"dxChat-typingIndicatorTypingThree": "{0}, {1} and {2} are typing...",
"dxChat-typingIndicatorTypingOther": "{0} and other are typing...",
"dxChat-typingMessageSingleUser": "{0} is typing...",
"dxChat-typingMessageTwoUsers": "{0} and {1} are typing...",
"dxChat-typingMessageThreeUsers": "{0}, {1} and {2} are typing...",
"dxChat-typingMessageMultipleUsers": "{0} and other are typing...",

"dxColorView-ariaRed": "Rojo",
"dxColorView-ariaGreen": "Verde",
Expand Down
8 changes: 4 additions & 4 deletions packages/devextreme/js/localization/messages/fa.json
Original file line number Diff line number Diff line change
Expand Up @@ -334,10 +334,10 @@
"dxChat-messageListAriaLabel": "Message list",
"dxChat-errorListAriaLabel": "Error list",
"dxChat-emptyListMessage": "There are no messages in this chat",
"dxChat-typingIndicatorTyping": "{0} is typing...",
"dxChat-typingIndicatorTypingTwo": "{0} and {1} are typing...",
"dxChat-typingIndicatorTypingThree": "{0}, {1} and {2} are typing...",
"dxChat-typingIndicatorTypingOther": "{0} and other are typing...",
"dxChat-typingMessageSingleUser": "{0} is typing...",
"dxChat-typingMessageTwoUsers": "{0} and {1} are typing...",
"dxChat-typingMessageThreeUsers": "{0}, {1} and {2} are typing...",
"dxChat-typingMessageMultipleUsers": "{0} and other are typing...",

"dxColorView-ariaRed": "قرمز",
"dxColorView-ariaGreen": "سبز",
Expand Down
8 changes: 4 additions & 4 deletions packages/devextreme/js/localization/messages/fi.json
Original file line number Diff line number Diff line change
Expand Up @@ -334,10 +334,10 @@
"dxChat-messageListAriaLabel": "Message list",
"dxChat-errorListAriaLabel": "Error list",
"dxChat-emptyListMessage": "There are no messages in this chat",
"dxChat-typingIndicatorTyping": "{0} is typing...",
"dxChat-typingIndicatorTypingTwo": "{0} and {1} are typing...",
"dxChat-typingIndicatorTypingThree": "{0}, {1} and {2} are typing...",
"dxChat-typingIndicatorTypingOther": "{0} and other are typing...",
"dxChat-typingMessageSingleUser": "{0} is typing...",
"dxChat-typingMessageTwoUsers": "{0} and {1} are typing...",
"dxChat-typingMessageThreeUsers": "{0}, {1} and {2} are typing...",
"dxChat-typingMessageMultipleUsers": "{0} and other are typing...",

"dxColorView-ariaRed": "Punainen",
"dxColorView-ariaGreen": "Vihreä",
Expand Down
8 changes: 4 additions & 4 deletions packages/devextreme/js/localization/messages/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -334,10 +334,10 @@
"dxChat-messageListAriaLabel": "Message list",
"dxChat-errorListAriaLabel": "Error list",
"dxChat-emptyListMessage": "There are no messages in this chat",
"dxChat-typingIndicatorTyping": "{0} is typing...",
"dxChat-typingIndicatorTypingTwo": "{0} and {1} are typing...",
"dxChat-typingIndicatorTypingThree": "{0}, {1} and {2} are typing...",
"dxChat-typingIndicatorTypingOther": "{0} and other are typing...",
"dxChat-typingMessageSingleUser": "{0} is typing...",
"dxChat-typingMessageTwoUsers": "{0} and {1} are typing...",
"dxChat-typingMessageThreeUsers": "{0}, {1} and {2} are typing...",
"dxChat-typingMessageMultipleUsers": "{0} and other are typing...",

"dxColorView-ariaRed": "Rouge",
"dxColorView-ariaGreen": "Vert",
Expand Down
8 changes: 4 additions & 4 deletions packages/devextreme/js/localization/messages/hu.json
Original file line number Diff line number Diff line change
Expand Up @@ -334,10 +334,10 @@
"dxChat-messageListAriaLabel": "Message list",
"dxChat-errorListAriaLabel": "Error list",
"dxChat-emptyListMessage": "There are no messages in this chat",
"dxChat-typingIndicatorTyping": "{0} is typing...",
"dxChat-typingIndicatorTypingTwo": "{0} and {1} are typing...",
"dxChat-typingIndicatorTypingThree": "{0}, {1} and {2} are typing...",
"dxChat-typingIndicatorTypingOther": "{0} and other are typing...",
"dxChat-typingMessageSingleUser": "{0} is typing...",
"dxChat-typingMessageTwoUsers": "{0} and {1} are typing...",
"dxChat-typingMessageThreeUsers": "{0}, {1} and {2} are typing...",
"dxChat-typingMessageMultipleUsers": "{0} and other are typing...",

"dxColorView-ariaRed": "Piros",
"dxColorView-ariaGreen": "Zöld",
Expand Down
8 changes: 4 additions & 4 deletions packages/devextreme/js/localization/messages/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -334,10 +334,10 @@
"dxChat-messageListAriaLabel": "Message list",
"dxChat-errorListAriaLabel": "Error list",
"dxChat-emptyListMessage": "There are no messages in this chat",
"dxChat-typingIndicatorTyping": "{0} is typing...",
"dxChat-typingIndicatorTypingTwo": "{0} and {1} are typing...",
"dxChat-typingIndicatorTypingThree": "{0}, {1} and {2} are typing...",
"dxChat-typingIndicatorTypingOther": "{0} and other are typing...",
"dxChat-typingMessageSingleUser": "{0} is typing...",
"dxChat-typingMessageTwoUsers": "{0} and {1} are typing...",
"dxChat-typingMessageThreeUsers": "{0}, {1} and {2} are typing...",
"dxChat-typingMessageMultipleUsers": "{0} and other are typing...",

"dxColorView-ariaRed": "Rosso",
"dxColorView-ariaGreen": "Verde",
Expand Down
8 changes: 4 additions & 4 deletions packages/devextreme/js/localization/messages/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -334,10 +334,10 @@
"dxChat-messageListAriaLabel": "Message list",
"dxChat-errorListAriaLabel": "Error list",
"dxChat-emptyListMessage": "There are no messages in this chat",
"dxChat-typingIndicatorTyping": "{0} is typing...",
"dxChat-typingIndicatorTypingTwo": "{0} and {1} are typing...",
"dxChat-typingIndicatorTypingThree": "{0}, {1} and {2} are typing...",
"dxChat-typingIndicatorTypingOther": "{0} and other are typing...",
"dxChat-typingMessageSingleUser": "{0} is typing...",
"dxChat-typingMessageTwoUsers": "{0} and {1} are typing...",
"dxChat-typingMessageThreeUsers": "{0}, {1} and {2} are typing...",
"dxChat-typingMessageMultipleUsers": "{0} and other are typing...",

"dxColorView-ariaRed": "",
"dxColorView-ariaGreen": "",
Expand Down
8 changes: 4 additions & 4 deletions packages/devextreme/js/localization/messages/lt.json
Original file line number Diff line number Diff line change
Expand Up @@ -334,10 +334,10 @@
"dxChat-messageListAriaLabel": "Message list",
"dxChat-errorListAriaLabel": "Error list",
"dxChat-emptyListMessage": "There are no messages in this chat",
"dxChat-typingIndicatorTyping": "{0} is typing...",
"dxChat-typingIndicatorTypingTwo": "{0} and {1} are typing...",
"dxChat-typingIndicatorTypingThree": "{0}, {1} and {2} are typing...",
"dxChat-typingIndicatorTypingOther": "{0} and other are typing...",
"dxChat-typingMessageSingleUser": "{0} is typing...",
"dxChat-typingMessageTwoUsers": "{0} and {1} are typing...",
"dxChat-typingMessageThreeUsers": "{0}, {1} and {2} are typing...",
"dxChat-typingMessageMultipleUsers": "{0} and other are typing...",

"dxColorView-ariaRed": "Raudona",
"dxColorView-ariaGreen": "Žalia",
Expand Down
8 changes: 4 additions & 4 deletions packages/devextreme/js/localization/messages/lv.json
Original file line number Diff line number Diff line change
Expand Up @@ -334,10 +334,10 @@
"dxChat-messageListAriaLabel": "Message list",
"dxChat-errorListAriaLabel": "Error list",
"dxChat-emptyListMessage": "There are no messages in this chat",
"dxChat-typingIndicatorTyping": "{0} is typing...",
"dxChat-typingIndicatorTypingTwo": "{0} and {1} are typing...",
"dxChat-typingIndicatorTypingThree": "{0}, {1} and {2} are typing...",
"dxChat-typingIndicatorTypingOther": "{0} and other are typing...",
"dxChat-typingMessageSingleUser": "{0} is typing...",
"dxChat-typingMessageTwoUsers": "{0} and {1} are typing...",
"dxChat-typingMessageThreeUsers": "{0}, {1} and {2} are typing...",
"dxChat-typingMessageMultipleUsers": "{0} and other are typing...",

"dxColorView-ariaRed": "Sarkans",
"dxColorView-ariaGreen": "Zaļš",
Expand Down
8 changes: 4 additions & 4 deletions packages/devextreme/js/localization/messages/nb.json
Original file line number Diff line number Diff line change
Expand Up @@ -334,10 +334,10 @@
"dxChat-messageListAriaLabel": "Message list",
"dxChat-errorListAriaLabel": "Error list",
"dxChat-emptyListMessage": "There are no messages in this chat",
"dxChat-typingIndicatorTyping": "{0} is typing...",
"dxChat-typingIndicatorTypingTwo": "{0} and {1} are typing...",
"dxChat-typingIndicatorTypingThree": "{0}, {1} and {2} are typing...",
"dxChat-typingIndicatorTypingOther": "{0} and other are typing...",
"dxChat-typingMessageSingleUser": "{0} is typing...",
"dxChat-typingMessageTwoUsers": "{0} and {1} are typing...",
"dxChat-typingMessageThreeUsers": "{0}, {1} and {2} are typing...",
"dxChat-typingMessageMultipleUsers": "{0} and other are typing...",

"dxColorView-ariaRed": "Rød",
"dxColorView-ariaGreen": "Grønn",
Expand Down
8 changes: 4 additions & 4 deletions packages/devextreme/js/localization/messages/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -334,10 +334,10 @@
"dxChat-messageListAriaLabel": "Message list",
"dxChat-errorListAriaLabel": "Error list",
"dxChat-emptyListMessage": "There are no messages in this chat",
"dxChat-typingIndicatorTyping": "{0} is typing...",
"dxChat-typingIndicatorTypingTwo": "{0} and {1} are typing...",
"dxChat-typingIndicatorTypingThree": "{0}, {1} and {2} are typing...",
"dxChat-typingIndicatorTypingOther": "{0} and other are typing...",
"dxChat-typingMessageSingleUser": "{0} is typing...",
"dxChat-typingMessageTwoUsers": "{0} and {1} are typing...",
"dxChat-typingMessageThreeUsers": "{0}, {1} and {2} are typing...",
"dxChat-typingMessageMultipleUsers": "{0} and other are typing...",

"dxColorView-ariaRed": "Rood",
"dxColorView-ariaGreen": "Groen",
Expand Down
8 changes: 4 additions & 4 deletions packages/devextreme/js/localization/messages/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -334,10 +334,10 @@
"dxChat-messageListAriaLabel": "Message list",
"dxChat-errorListAriaLabel": "Error list",
"dxChat-emptyListMessage": "There are no messages in this chat",
"dxChat-typingIndicatorTyping": "{0} is typing...",
"dxChat-typingIndicatorTypingTwo": "{0} and {1} are typing...",
"dxChat-typingIndicatorTypingThree": "{0}, {1} and {2} are typing...",
"dxChat-typingIndicatorTypingOther": "{0} and other are typing...",
"dxChat-typingMessageSingleUser": "{0} is typing...",
"dxChat-typingMessageTwoUsers": "{0} and {1} are typing...",
"dxChat-typingMessageThreeUsers": "{0}, {1} and {2} are typing...",
"dxChat-typingMessageMultipleUsers": "{0} and other are typing...",

"dxColorView-ariaRed": "czerwony",
"dxColorView-ariaGreen": "zielony",
Expand Down
8 changes: 4 additions & 4 deletions packages/devextreme/js/localization/messages/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -334,10 +334,10 @@
"dxChat-messageListAriaLabel": "Message list",
"dxChat-errorListAriaLabel": "Error list",
"dxChat-emptyListMessage": "There are no messages in this chat",
"dxChat-typingIndicatorTyping": "{0} is typing...",
"dxChat-typingIndicatorTypingTwo": "{0} and {1} are typing...",
"dxChat-typingIndicatorTypingThree": "{0}, {1} and {2} are typing...",
"dxChat-typingIndicatorTypingOther": "{0} and other are typing...",
"dxChat-typingMessageSingleUser": "{0} is typing...",
"dxChat-typingMessageTwoUsers": "{0} and {1} are typing...",
"dxChat-typingMessageThreeUsers": "{0}, {1} and {2} are typing...",
"dxChat-typingMessageMultipleUsers": "{0} and other are typing...",

"dxColorView-ariaRed": "Vermelho",
"dxColorView-ariaGreen": "Verde",
Expand Down
8 changes: 4 additions & 4 deletions packages/devextreme/js/localization/messages/ro.json
Original file line number Diff line number Diff line change
Expand Up @@ -334,10 +334,10 @@
"dxChat-messageListAriaLabel": "Message list",
"dxChat-errorListAriaLabel": "Error list",
"dxChat-emptyListMessage": "There are no messages in this chat",
"dxChat-typingIndicatorTyping": "{0} is typing...",
"dxChat-typingIndicatorTypingTwo": "{0} and {1} are typing...",
"dxChat-typingIndicatorTypingThree": "{0}, {1} and {2} are typing...",
"dxChat-typingIndicatorTypingOther": "{0} and other are typing...",
"dxChat-typingMessageSingleUser": "{0} is typing...",
"dxChat-typingMessageTwoUsers": "{0} and {1} are typing...",
"dxChat-typingMessageThreeUsers": "{0}, {1} and {2} are typing...",
"dxChat-typingMessageMultipleUsers": "{0} and other are typing...",

"dxColorView-ariaRed": "Roșu",
"dxColorView-ariaGreen": "Verde",
Expand Down
8 changes: 4 additions & 4 deletions packages/devextreme/js/localization/messages/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -334,10 +334,10 @@
"dxChat-messageListAriaLabel": "Message list",
"dxChat-errorListAriaLabel": "Error list",
"dxChat-emptyListMessage": "There are no messages in this chat",
"dxChat-typingIndicatorTyping": "{0} is typing...",
"dxChat-typingIndicatorTypingTwo": "{0} and {1} are typing...",
"dxChat-typingIndicatorTypingThree": "{0}, {1} and {2} are typing...",
"dxChat-typingIndicatorTypingOther": "{0} and other are typing...",
"dxChat-typingMessageSingleUser": "{0} is typing...",
"dxChat-typingMessageTwoUsers": "{0} and {1} are typing...",
"dxChat-typingMessageThreeUsers": "{0}, {1} and {2} are typing...",
"dxChat-typingMessageMultipleUsers": "{0} and other are typing...",

"dxColorView-ariaRed": "Красный",
"dxColorView-ariaGreen": "Зеленый",
Expand Down
Loading

0 comments on commit 653ef33

Please sign in to comment.