mirror of https://gitlab.com/bashrc2/epicyon
Translate heart emoji for speaker
parent
72be5162cd
commit
6c374efdb5
|
@ -380,6 +380,9 @@ def _postToSpeakerJson(baseDir: str, nickname: str, domain: str,
|
|||
content = urllib.parse.unquote_plus(postJsonObject['object']['content'])
|
||||
content = html.unescape(content)
|
||||
content = content.replace('<p>', '').replace('</p>', ' ')
|
||||
# replace some emoji before removing html
|
||||
if ' <3' in content:
|
||||
content = content.replace(' <3', ' ' + translate['heart'])
|
||||
content = removeHtml(htmlReplaceQuoteMarks(content))
|
||||
content = speakerReplaceLinks(content, translate, detectedLinks)
|
||||
content = _speakerPronounce(baseDir, content, translate)
|
||||
|
|
|
@ -396,5 +396,6 @@
|
|||
"Filtering and Blocking": "التصفية والحظر",
|
||||
"Role Assignment": "تعيين الدور",
|
||||
"Contact Details": "بيانات المتصل",
|
||||
"Background Images": "صور الخلفية"
|
||||
"Background Images": "صور الخلفية",
|
||||
"heart": "قلب"
|
||||
}
|
||||
|
|
|
@ -396,5 +396,6 @@
|
|||
"Filtering and Blocking": "Filtratge i bloqueig",
|
||||
"Role Assignment": "Assignació de funcions",
|
||||
"Contact Details": "Detalls de contacte",
|
||||
"Background Images": "Imatges de fons"
|
||||
"Background Images": "Imatges de fons",
|
||||
"heart": "cor"
|
||||
}
|
||||
|
|
|
@ -396,5 +396,6 @@
|
|||
"Filtering and Blocking": "Hidlo a Blocio",
|
||||
"Role Assignment": "Aseiniad Rôl",
|
||||
"Background Images": "Delweddau Cefndir",
|
||||
"Contact Details": "Manylion cyswllt"
|
||||
"Contact Details": "Manylion cyswllt",
|
||||
"heart": "galon"
|
||||
}
|
||||
|
|
|
@ -396,5 +396,6 @@
|
|||
"Filtering and Blocking": "Filtern und Blockieren",
|
||||
"Role Assignment": "Rollenzuweisung",
|
||||
"Background Images": "Hintergrundbilder",
|
||||
"Contact Details": "Kontaktdetails"
|
||||
"Contact Details": "Kontaktdetails",
|
||||
"heart": "herz"
|
||||
}
|
||||
|
|
|
@ -396,5 +396,6 @@
|
|||
"Filtering and Blocking": "Filtering and Blocking",
|
||||
"Role Assignment": "Role Assignment",
|
||||
"Contact Details": "Contact Details",
|
||||
"Background Images": "Background Images"
|
||||
"Background Images": "Background Images",
|
||||
"heart": "heart"
|
||||
}
|
||||
|
|
|
@ -396,5 +396,6 @@
|
|||
"Filtering and Blocking": "Filtrado y bloqueo",
|
||||
"Role Assignment": "Asignación de roles",
|
||||
"Background Images": "Imágenes de fondo",
|
||||
"Contact Details": "Detalles de contacto"
|
||||
"Contact Details": "Detalles de contacto",
|
||||
"heart": "corazón"
|
||||
}
|
||||
|
|
|
@ -396,5 +396,6 @@
|
|||
"Filtering and Blocking": "Filtrage et blocage",
|
||||
"Role Assignment": "Attribution de rôle",
|
||||
"Background Images": "Images d'arrière-plan",
|
||||
"Contact Details": "Détails du contact"
|
||||
"Contact Details": "Détails du contact",
|
||||
"heart": "cœur"
|
||||
}
|
||||
|
|
|
@ -396,5 +396,6 @@
|
|||
"Filtering and Blocking": "Scagadh agus Blocáil",
|
||||
"Role Assignment": "Sannadh Róil",
|
||||
"Background Images": "Íomhánna Cúlra",
|
||||
"Contact Details": "Sonraí Teagmhála"
|
||||
"Contact Details": "Sonraí Teagmhála",
|
||||
"heart": "chroí"
|
||||
}
|
||||
|
|
|
@ -396,5 +396,6 @@
|
|||
"Filtering and Blocking": "छानना और अवरुद्ध करना",
|
||||
"Role Assignment": "भूमिका असाइनमेंट",
|
||||
"Background Images": "पृष्ठभूमि छवियों",
|
||||
"Contact Details": "सम्पर्क करने का विवरण"
|
||||
"Contact Details": "सम्पर्क करने का विवरण",
|
||||
"heart": "दिल"
|
||||
}
|
||||
|
|
|
@ -396,5 +396,6 @@
|
|||
"Filtering and Blocking": "Filtraggio e blocco",
|
||||
"Role Assignment": "Assegnazione del ruolo",
|
||||
"Background Images": "Immagini di sfondo",
|
||||
"Contact Details": "Dettagli del contatto"
|
||||
"Contact Details": "Dettagli del contatto",
|
||||
"heart": "cuore"
|
||||
}
|
||||
|
|
|
@ -396,5 +396,6 @@
|
|||
"Filtering and Blocking": "フィルタリングとブロッキング",
|
||||
"Role Assignment": "役割の割り当て",
|
||||
"Background Images": "背景画像",
|
||||
"Contact Details": "連絡先の詳細"
|
||||
"Contact Details": "連絡先の詳細",
|
||||
"heart": "ハート"
|
||||
}
|
||||
|
|
|
@ -396,5 +396,6 @@
|
|||
"Filtering and Blocking": "Fîlterkirin û Astengkirin",
|
||||
"Role Assignment": "Erk Rol",
|
||||
"Contact Details": "Agahdariyên Têkiliyê",
|
||||
"Background Images": "Wêneyên Paşê"
|
||||
"Background Images": "Wêneyên Paşê",
|
||||
"heart": "dil"
|
||||
}
|
||||
|
|
|
@ -392,5 +392,6 @@
|
|||
"Filtering and Blocking": "Filtering and Blocking",
|
||||
"Role Assignment": "Role Assignment",
|
||||
"Background Images": "Background Images",
|
||||
"Contact Details": "Contact Details"
|
||||
"Contact Details": "Contact Details",
|
||||
"heart": "heart"
|
||||
}
|
||||
|
|
|
@ -396,5 +396,6 @@
|
|||
"Filtering and Blocking": "Filtragem e Bloqueio",
|
||||
"Role Assignment": "Atribuição de Função",
|
||||
"Background Images": "Imagens de fundo",
|
||||
"Contact Details": "Detalhes do contato"
|
||||
"Contact Details": "Detalhes do contato",
|
||||
"heart": "coração"
|
||||
}
|
||||
|
|
|
@ -396,5 +396,6 @@
|
|||
"Filtering and Blocking": "Фильтрация и блокировка",
|
||||
"Role Assignment": "Назначение ролей",
|
||||
"Background Images": "Фоновые изображения",
|
||||
"Contact Details": "Контактная информация"
|
||||
"Contact Details": "Контактная информация",
|
||||
"heart": "сердце"
|
||||
}
|
||||
|
|
|
@ -396,5 +396,6 @@
|
|||
"Filtering and Blocking": "过滤和阻止",
|
||||
"Role Assignment": "角色分配",
|
||||
"Background Images": "背景图片",
|
||||
"Contact Details": "联系方式"
|
||||
"Contact Details": "联系方式",
|
||||
"heart": "心"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue