Compare commits

...

5 commits

Author SHA1 Message Date
26ee41f32d Allow for searching unicode emoji via inputting emoji
(This is needed for the react menu)
2022-11-21 20:39:21 +11:00
Weblate
e17f5a2e85 Translated using Weblate (Dutch)
Currently translated at 97.7% (833 of 852 strings)

Translated using Weblate (Spanish)

Currently translated at 83.8% (714 of 852 strings)

Translated using Weblate (English)

Currently translated at 99.6% (849 of 852 strings)

Translated using Weblate (English)

Currently translated at 99.6% (849 of 852 strings)

Translated using Weblate (English)

Currently translated at 99.6% (849 of 852 strings)

Co-authored-by: Fristi <fristi@subcon.town>
Co-authored-by: Hannah Winter <konhat@hotmail.es>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: Weblate Admin <hannah.ward9001@gmail.com>
Co-authored-by: aetios <dijkvanrichard+akkomatranslate@gmail.com>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/en/
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/es/
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/nl/
Translation: Pleroma fe/pleroma-fe
2022-11-21 20:39:21 +11:00
Weblate
b01dbbf7ce Translated using Weblate (Dutch)
Currently translated at 88.6% (754 of 851 strings)

Translated using Weblate (French)

Currently translated at 97.1% (827 of 851 strings)

Translated using Weblate (Dutch)

Currently translated at 86.8% (739 of 851 strings)

Translated using Weblate (French)

Currently translated at 95.6% (814 of 851 strings)

Translated using Weblate (Dutch)

Currently translated at 86.1% (732 of 850 strings)

Translated using Weblate (French)

Currently translated at 94.8% (806 of 850 strings)

Translated using Weblate (Catalan)

Currently translated at 100.0% (850 of 850 strings)

Translated using Weblate (English)

Currently translated at 100.0% (850 of 850 strings)

Co-authored-by: Fristi <fristi@subcon.town>
Co-authored-by: Thomate <thomas@burdick.fr>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: eris <femmediscord@gmail.com>
Co-authored-by: sola <spla@mastodont.cat>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/ca/
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/en/
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/fr/
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/nl/
Translation: Pleroma fe/pleroma-fe
2022-11-21 20:39:21 +11:00
Weblate Admin
8c1a3c2161 Translated using Weblate (Catalan)
Currently translated at 82.5% (704 of 853 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/ca/
2022-11-21 20:39:21 +11:00
sfr
8344f54fa1 Use Marked and marked-mfm for MFM rendering (#29)
Reviewed-on: AkkomaGang/pleroma-fe#29
Co-authored-by: sfr <sol@solfisher.com>
Co-committed-by: sfr <sol@solfisher.com>
2022-11-21 20:39:21 +11:00
6 changed files with 90 additions and 9 deletions

View file

@ -138,7 +138,7 @@ const EmojiPicker = {
if (this.keyword === '') return list
const regex = new RegExp(escapeRegExp(trim(this.keyword)), 'i')
return list.filter(emoji => {
return regex.test(emoji.displayText)
return (regex.test(emoji.displayText) || (!emoji.imageUrl && emoji.replacement === this.keyword))
})
}
},

View file

@ -71,7 +71,9 @@ export default {
// NEVER EVER TOUCH DATA INSIDE RENDER
render () {
// Don't greentext MFM
const greentext = this.mfm ? false : this.greentext
if (this.mfm) {
this.greentext = false
}
// Pre-process HTML
const { newHtml: html } = preProcessPerLine(this.html, greentext)

View file

@ -97,7 +97,7 @@
},
"features_panel": {
"media_proxy": "Proxy per multimèdia",
"scope_options": "Opcions d'abast",
"scope_options": "Opcions d'abast i visibilitat",
"text_limit": "Límit de text",
"title": "Funcionalitats",
"upload_limit": "Límit de càrrega",
@ -110,7 +110,7 @@
"video": "Vídeo"
},
"finder": {
"error_fetching_user": "Error al recuperar l'usuari",
"error_fetching_user": "No s'ha pogut carregar l'usuari/a",
"find_user": "Trobar usuari"
},
"general": {
@ -337,9 +337,9 @@
"votes_count": "{count} vot | {count} vots"
},
"post_status": {
"account_not_locked_warning": "El teu compte no està {0}. Qualsevol pot seguir-te per llegir els teus apunts només per a seguidors.",
"account_not_locked_warning": "El teu compte no està {0}. Qualsevol persona pot seguir-te per llegir les teves entrades reservades només a seguidores.",
"account_not_locked_warning_link": "bloquejat",
"attachments_sensitive": "Marca l'adjunt com a sensible",
"attachments_sensitive": "Marca l'adjunt com a delicat",
"content_type": {
"text/bbcode": "BBCode",
"text/html": "HTML",

View file

@ -91,13 +91,51 @@
"errors": {
"storage_unavailable": "Pleroma n'a pas pu accéder au stockage du navigateur. Votre identifiant ou vos mots de passes ne seront sauvegardés et des problèmes pourront être rencontrés. Essayez d'activer les cookies."
},
"chats": {
"chats": "Discussions",
"delete": "Effacer",
"delete_confirm": "Voulez-vous vraiment effacer ce message ?",
"empty_chat_list_placeholder": "Vous n'avez pas encore de discussions. Démarrez-en une nouvelle !",
"empty_message_error": "Impossible d'envoyer un message vide",
"error_loading_chat": "Quelque chose s'est mal passé au chargement de la discussion.",
"error_sending_message": "Quelque chose s'est mal passé pendant l'envoi du message.",
"message_user": "Message à {nickname}",
"more": "Plus",
"new": "Nouvelle discussion",
"you": "Vous :"
},
"display_date": {
"today": "Aujourd'hui"
},
"domain_mute_card": {
"mute": "Masqué",
"mute_progress": "Masquage…",
"unmute": "Démasquer",
"unmute_progress": "Démasquage…"
},
"emoji": {
"add_emoji": "Insérer un émoji",
"custom": "émoji personnalisé",
"emoji": "Émoji",
"keep_open": "Garder ouvert",
"load_all": "Charger tout les {emojiAmount} émojis",
"load_all_hint": "{saneAmount} émojis chargé, charger tout les émojis peuvent causer des problèmes de performances.",
"search_emoji": "Rechercher un émoji",
"stickers": "Stickers",
"unicode": "émoji unicode"
},
"errors": {
"storage_unavailable": "Pleroma n'a pas pu accéder au stockage du navigateur. Votre identifiant ou vos mots de passes ne seront sauvegardés et des problèmes pourront être rencontrés. Essayez d'activer les cookies."
},
"exporter": {
"export": "Exporter",
"processing": "En cours de traitement, vous pourrez bientôt télécharger votre fichier"
},
"features_panel": {
"media_proxy": "Proxy pièce-jointes",
"pleroma_chat_messages": "Chat Pleroma",
"scope_options": "Options de visibilité",
"shout": "Shoutbox",
"text_limit": "Limite du texte",
"title": "Fonctionnalités",
"upload_limit": "Limite de téléversement",

View file

@ -95,9 +95,50 @@
"export": "Exporteren",
"processing": "Verwerken, er wordt zo gevraagd om je bestand te downloaden"
},
"chats": {
"chats": "Chats",
"delete": "Verwijderen",
"delete_confirm": "Wil je echt dit bericht verwijderen?",
"empty_chat_list_placeholder": "Je hebt nog geen chats. Start een nieuwe chat!",
"empty_message_error": "Kan niet een leeg bericht plaatsen",
"error_loading_chat": "Er is iets fout gegaan tijdens het laden van de chat.",
"error_sending_message": "Er is iets fout gegaan tijdens het verzenden van het bericht.",
"message_user": "Spreek met {nickname}",
"more": "Meer",
"new": "Nieuwe Chat",
"you": "Jij:"
},
"display_date": {
"today": "Vandaag"
},
"domain_mute_card": {
"mute": "Negeren",
"mute_progress": "Negeren…",
"unmute": "Negering opheffen",
"unmute_progress": "Negering wordt opgeheven…"
},
"emoji": {
"add_emoji": "Emoji invoegen",
"custom": "Gepersonaliseerde emoji",
"emoji": "Emoji",
"keep_open": "Picker openhouden",
"load_all": "Alle {emojiAmount} emoji worden geladen",
"load_all_hint": "Eerste {saneAmount} emoji geladen, alle emoji tegelijk laden kan problemen veroorzaken met prestaties.",
"search_emoji": "Emoji zoeken",
"stickers": "Stickers",
"unicode": "Unicode-emoji"
},
"errors": {
"storage_unavailable": "Pleroma kon browseropslag niet benaderen. Je login of lokale instellingen worden niet opgeslagen en je kunt onverwachte problemen ondervinden. Probeer cookies te accepteren."
},
"exporter": {
"export": "Exporteren",
"processing": "Verwerken, er wordt zo gevraagd om je bestand te downloaden"
},
"features_panel": {
"media_proxy": "Mediaproxy",
"scope_options": "Zichtbaarheidsopties",
"shout": "Shoutbox",
"text_limit": "Tekstlimiet",
"title": "Functies",
"upload_limit": "Upload limiet",
@ -124,7 +165,7 @@
"error_retry": "Probeer het opnieuw",
"flash_content": "Klik om Flash-content te laten zien met Ruffle (Experimenteel, werkt mogelijk niet).",
"flash_fail": "Laden van Flash-content is mislukt, zie console voor details.",
"flash_security": "Let op: Flash-inhoud is niet gescreend en kan malware bevatten.",
"flash_security": "Let op dat dit mogelijk gevaarlijk kan zijn gezien Flash content willekeurige code kan bevatten.",
"generic_error": "Er is een fout opgetreden",
"loading": "Laden…",
"more": "Meer",

View file

@ -23,10 +23,10 @@
animation: mfm-spin 0.5s linear infinite;
}
._mfm_spin_[data-x] {
._mfm_spin_[x] {
animation-name: mfm-spinX;
}
._mfm_spin_[data-y] {
._mfm_spin_[y] {
animation-name: mfm-spinY;
}
._mfm_spin_[left] {