add contributing.md

This commit is contained in:
undefined committed 2023-01-16 00:47:05 +08:00
1 parent 7e81abaf40
commit feb3b5cecb
6 files changed
+733 -669

No files matched your search

@@ -47,8 +47,8 @@ export default connect(mapStateToProps)(class MessagePadDialogueContentContainer
// Is system message
try {
const data = JSON.parse(msg.content);
const str = i18n(data.message).replace(/\{([^{}]+)\}/g, (match, key) => `%substitude%${key}%substitude%`);
const arr = str.split('%substitude%');
const str = i18n(data.message).replace(/\{([^{}]+)\}/g, (match, key) => `%placeholder%${key}%placeholder%`);
const arr = str.split('%placeholder%');
data.params = data.params || {};
for (let i = 1; i < arr.length; i += 2) {
if (arr[i].endsWith(':link')) {