mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-10-23 15:02:28 +00:00
translation strings
This commit is contained in:
1 parent
c5531056aa
commit
8bdc7543d5
3 files changed
+14
-5
No files matched your search
@@ -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
@@ -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);
|
||||
|
||||
@@ -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:",
|
||||
|
||||
Reference in new issue
Block a user