update
This commit is contained in:
Vendored
+10
-2
@@ -181,6 +181,7 @@
|
|||||||
}
|
}
|
||||||
case "subscribe": {
|
case "subscribe": {
|
||||||
if (directiveValue == "children") {
|
if (directiveValue == "children") {
|
||||||
|
element.style.scrollBehavior = "smooth";
|
||||||
try {
|
try {
|
||||||
const [listState, toElement] = value;
|
const [listState, toElement] = value;
|
||||||
listState.handleAddition((newItem) => {
|
listState.handleAddition((newItem) => {
|
||||||
@@ -190,6 +191,7 @@
|
|||||||
() => child.remove()
|
() => child.remove()
|
||||||
);
|
);
|
||||||
element.append(child);
|
element.append(child);
|
||||||
|
child.scrollIntoView();
|
||||||
});
|
});
|
||||||
} catch {
|
} catch {
|
||||||
throw `error: cannot process subscribe:children directive because ListItemConverter is not defined. Usage: "subscribe:children={[list, converter]}"; you can find a more detailed example in the documentation`;
|
throw `error: cannot process subscribe:children directive because ListItemConverter is not defined. Usage: "subscribe:children={[list, converter]}"; you can find a more detailed example in the documentation`;
|
||||||
@@ -419,7 +421,10 @@
|
|||||||
sendMessage: "Enviar",
|
sendMessage: "Enviar",
|
||||||
clearHistory: "Borrar historial",
|
clearHistory: "Borrar historial",
|
||||||
encryptionUnavailableTitle: "Cifrado no disponible",
|
encryptionUnavailableTitle: "Cifrado no disponible",
|
||||||
encryptionUnavailableMessage: "Obt\xE9n esta p\xE1gina a trav\xE9s de HTTPS para cifrar o contin\xFAa sin cifrado"
|
encryptionUnavailableMessage: "Obt\xE9n esta p\xE1gina a trav\xE9s de HTTPS para cifrar o contin\xFAa sin cifrado",
|
||||||
|
decryptMessage: "Descifrar mensaje",
|
||||||
|
copyMessage: "Copiar mensaje",
|
||||||
|
deleteMessage: "Eliminar mensaje"
|
||||||
},
|
},
|
||||||
de: {
|
de: {
|
||||||
// general
|
// general
|
||||||
@@ -452,7 +457,10 @@
|
|||||||
sendMessage: "Senden",
|
sendMessage: "Senden",
|
||||||
clearHistory: "Nachrichtenverlauf leeren",
|
clearHistory: "Nachrichtenverlauf leeren",
|
||||||
encryptionUnavailableTitle: "Verschl\xFCsselung nicht m\xF6glich",
|
encryptionUnavailableTitle: "Verschl\xFCsselung nicht m\xF6glich",
|
||||||
encryptionUnavailableMessage: "Um Nachrichten zu verschl\xFCsseln, lade diese Seite \xFCber HTTPS."
|
encryptionUnavailableMessage: "Um Nachrichten zu verschl\xFCsseln, lade diese Seite \xFCber HTTPS.",
|
||||||
|
decryptMessage: "Nachricht entschl\xFCsseln",
|
||||||
|
copyMessage: "Nachricht kopieren",
|
||||||
|
deleteMessage: "Nachricht l\xF6schen"
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
var language = navigator.language.substring(0, 2);
|
var language = navigator.language.substring(0, 2);
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"bloatless-react": "^1.2.3",
|
"bloatless-react": "^1.2.4",
|
||||||
"esbuild": "latest",
|
"esbuild": "latest",
|
||||||
"udn-frontend": "^1.0.2"
|
"udn-frontend": "^1.0.2"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user