translation strings

This commit is contained in:
MathMan05 committed 2026-04-16 15:31:03 -05:00
1 parent c5531056aa
commit 8bdc7543d5
3 files changed
+14 -5

No files matched your search

+4 -4
View File
@@ -3108,15 +3108,15 @@ class Localuser {
actConDiv.append(dispRow);
const dispText = document.createElement("span");
dispText.textContent = "Display on profile";
dispText.textContent = I18n.connections.display();
dispRow.append(dispText, input);
const remove = document.createElement("button");
remove.textContent = "Delete Connection";
remove.textContent = I18n.connections.delete();
actConDiv.append(remove);
remove.onclick = () => {
const d = new Dialog("Are you sure?");
d.options.addText("If you remove this connection, you can't undo it");
const d = new Dialog(I18n.connections.sure());
d.options.addText(I18n.connections.sureDesc());
const row = d.options.addOptions("", {ltr: true});
row.addButtonInput("", I18n.yes(), async () => {
await fetch(this.info.api + "/users/@me/connections/" + con.type + "/" + con.id, {
+3 -1
View File
@@ -1447,7 +1447,9 @@ class User extends SnowFlake {
nameDateBox.append(username);
if (con.metadata && con.metadata.created_at) {
const len = document.createElement("span");
len.textContent = `Member since: ${new Date(con.metadata.created_at).toDateString()}`;
len.textContent = I18n.connections.since(
new Date(con.metadata.created_at).toDateString(),
);
nameDateBox.append(len);
}
conDiv.append(nameDateBox);
+7
View File
@@ -874,6 +874,13 @@
"regi":"Spacebar instances are no longer officially supported by Fermi, while it'll likely still work, Harmony is recommended. Continue?",
"in":"Spacebar instances are no longer officially supported by Fermi, while it'll likely still work, Harmony is recommended. This message should only show once."
},
"connections":{
"since":"Member since: $1",
"display":"Display on profile: ",
"delete":"Delete Connection",
"sure":"Are you sure?",
"sureDesc":"If you remove this connection, you can't undo it"
},
"unpinMessage": "Unpin message",
"updateAv": "Updates available",
"uploadBanner": "Upload banner:",