mirror of
https://github.com/EmulatorJS/EmulatorJS.git
synced 2024-09-19 18:36:25 +00:00
Add untracked text for translation (#833)
This commit is contained in:
parent
23f368963b
commit
4b7026b07f
2 changed files with 14 additions and 6 deletions
|
@ -1180,7 +1180,7 @@ class EmulatorJS {
|
||||||
if (!popup) {
|
if (!popup) {
|
||||||
popup = this.createPopup("", {});
|
popup = this.createPopup("", {});
|
||||||
const button = this.createElement("button");
|
const button = this.createElement("button");
|
||||||
button.innerText = "Click to resume Emulator";
|
button.innerText = this.localization("Click to resume Emulator");
|
||||||
button.classList.add("ejs_menu_button");
|
button.classList.add("ejs_menu_button");
|
||||||
button.style.width = "25%";
|
button.style.width = "25%";
|
||||||
button.style.height = "25%";
|
button.style.height = "25%";
|
||||||
|
@ -1209,7 +1209,7 @@ class EmulatorJS {
|
||||||
|
|
||||||
let counter = 0;
|
let counter = 0;
|
||||||
this.elements.statePopupPanel = this.createPopup("", {}, true);
|
this.elements.statePopupPanel = this.createPopup("", {}, true);
|
||||||
this.elements.statePopupPanel.innerText = "Drop save state here to load";
|
this.elements.statePopupPanel.innerText = this.localization("Drop save state here to load");
|
||||||
this.elements.statePopupPanel.style["text-align"] = "center";
|
this.elements.statePopupPanel.style["text-align"] = "center";
|
||||||
this.elements.statePopupPanel.style["font-size"] = "28px";
|
this.elements.statePopupPanel.style["font-size"] = "28px";
|
||||||
|
|
||||||
|
@ -1465,7 +1465,7 @@ class EmulatorJS {
|
||||||
})
|
})
|
||||||
//Todo - Core specific licenses, contributors.
|
//Todo - Core specific licenses, contributors.
|
||||||
|
|
||||||
retroarch.innerText = "This project is powered by ";
|
retroarch.innerText = this.localization("This project is powered by") + " ";
|
||||||
const a = this.createElement("a");
|
const a = this.createElement("a");
|
||||||
a.href = "https://github.com/libretro/RetroArch";
|
a.href = "https://github.com/libretro/RetroArch";
|
||||||
a.target = "_blank";
|
a.target = "_blank";
|
||||||
|
@ -1474,7 +1474,7 @@ class EmulatorJS {
|
||||||
const licenseLink = this.createElement("a");
|
const licenseLink = this.createElement("a");
|
||||||
licenseLink.target = "_blank";
|
licenseLink.target = "_blank";
|
||||||
licenseLink.href = "https://github.com/libretro/RetroArch/blob/master/COPYING";
|
licenseLink.href = "https://github.com/libretro/RetroArch/blob/master/COPYING";
|
||||||
licenseLink.innerText = "View the RetroArch license here.";
|
licenseLink.innerText = this.localization("View the RetroArch license here");
|
||||||
a.appendChild(this.createElement("br"));
|
a.appendChild(this.createElement("br"));
|
||||||
a.appendChild(licenseLink);
|
a.appendChild(licenseLink);
|
||||||
|
|
||||||
|
@ -5125,7 +5125,7 @@ class EmulatorJS {
|
||||||
const msg = this.createElement("div");
|
const msg = this.createElement("div");
|
||||||
msg.style["padding-top"] = "0px";
|
msg.style["padding-top"] = "0px";
|
||||||
msg.style["padding-bottom"] = "15px";
|
msg.style["padding-bottom"] = "15px";
|
||||||
msg.innerText = "Note that some cheats require a restart to disable.";
|
msg.innerText = this.localization("Note that some cheats require a restart to disable");
|
||||||
body.appendChild(msg);
|
body.appendChild(msg);
|
||||||
const rows = this.createElement("div");
|
const rows = this.createElement("div");
|
||||||
body.appendChild(rows);
|
body.appendChild(rows);
|
||||||
|
|
|
@ -39,11 +39,15 @@
|
||||||
"Keyboard": "-Keyboard",
|
"Keyboard": "-Keyboard",
|
||||||
"Set": "-Set",
|
"Set": "-Set",
|
||||||
"Add Cheat": "-Add Cheat",
|
"Add Cheat": "-Add Cheat",
|
||||||
|
"Note that some cheats require a restart to disable": "-Note that some cheats require a restart to disable",
|
||||||
"Create a Room": "-Create a Room",
|
"Create a Room": "-Create a Room",
|
||||||
"Rooms": "-Rooms",
|
"Rooms": "-Rooms",
|
||||||
"Start Game": "-Start Game",
|
"Start Game": "-Start Game",
|
||||||
|
"Click to resume Emulator": "-Click to resume Emulator",
|
||||||
|
"Drop save state here to load": "-Drop save state here to load",
|
||||||
"Loading...": "-Loading...",
|
"Loading...": "-Loading...",
|
||||||
"Download Game Core": "-Download Game Core",
|
"Download Game Core": "-Download Game Core",
|
||||||
|
"Outdated graphics driver": "-Outdated graphics driver",
|
||||||
"Decompress Game Core": "-Decompress Game Core",
|
"Decompress Game Core": "-Decompress Game Core",
|
||||||
"Download Game Data": "-Download Game Data",
|
"Download Game Data": "-Download Game Data",
|
||||||
"Decompress Game Data": "-Decompress Game Data",
|
"Decompress Game Data": "-Decompress Game Data",
|
||||||
|
@ -117,6 +121,8 @@
|
||||||
"EmulatorJS": "-EmulatorJS",
|
"EmulatorJS": "-EmulatorJS",
|
||||||
"Clear All": "-Clear All",
|
"Clear All": "-Clear All",
|
||||||
"Take Screenshot": "-Take Screenshot",
|
"Take Screenshot": "-Take Screenshot",
|
||||||
|
"Start screen recording": "-Start screen recording",
|
||||||
|
"Stop screen recording": "-Stop screen recording",
|
||||||
"Quick Save": "-Quick Save",
|
"Quick Save": "-Quick Save",
|
||||||
"Quick Load": "-Quick Load",
|
"Quick Load": "-Quick Load",
|
||||||
"REWIND": "-REWIND",
|
"REWIND": "-REWIND",
|
||||||
|
@ -127,6 +133,8 @@
|
||||||
"Home": "-Home",
|
"Home": "-Home",
|
||||||
"EmulatorJS License": "-EmulatorJS License",
|
"EmulatorJS License": "-EmulatorJS License",
|
||||||
"RetroArch License": "-RetroArch License",
|
"RetroArch License": "-RetroArch License",
|
||||||
|
"This project is powered by": "-This project is powered by",
|
||||||
|
"View the RetroArch license here": "-View the RetroArch license here",
|
||||||
"SLOW MOTION": "-SLOW MOTION",
|
"SLOW MOTION": "-SLOW MOTION",
|
||||||
"A": "-A",
|
"A": "-A",
|
||||||
"B": "-B",
|
"B": "-B",
|
||||||
|
@ -299,4 +307,4 @@
|
||||||
"DPAD_DOWN": "-DPAD_DOWN",
|
"DPAD_DOWN": "-DPAD_DOWN",
|
||||||
"DPAD_LEFT": "-DPAD_LEFT",
|
"DPAD_LEFT": "-DPAD_LEFT",
|
||||||
"DPAD_RIGHT": "-DPAD_RIGHT"
|
"DPAD_RIGHT": "-DPAD_RIGHT"
|
||||||
}
|
}
|
Loading…
Reference in a new issue