mirror of
https://github.com/themitosan/fpPS4-Temmie-s-Launcher.git
synced 2024-06-16 03:08:05 -04:00
Settings / Lang: Include message for non-windows OS
This commit is contained in:
parent
83536678b1
commit
84e23ca517
|
@ -113,7 +113,8 @@ temp_LANGUAGE = {
|
|||
"updater_noWorkflowListAvailable": "No workflow list available",
|
||||
"Sdl2NotFound": "SDL2.dll is not found in the Emu folder, please install it to use SDL2.",
|
||||
"errorListUnableLocateGamePath": "ERROR - Unable to locate \"%VARIABLE_0%\" settings path! In order to prevent issues, game list will be reloaded.\nPath: %VARIABLE_1%",
|
||||
"updateEmuSettingsWorkflow404": "ERROR - (Updater) Unable to find (%VARIABLE_0%) on fpPS4 worflow list! %VARIABLE_1% will be used as fallback."
|
||||
"updateEmuSettingsWorkflow404": "ERROR - (Updater) Unable to find (%VARIABLE_0%) on fpPS4 worflow list! %VARIABLE_1% will be used as fallback.",
|
||||
"nonWindowsOsWarn": "WARN - You are running fpPS4 Temmie's Launcher on a non-windows operating system!\n\nIn order to run fpPS4, you will need Wine installed on your OS.\n\nBe aware that running main compatibility layer through tools like Wine can result in more glitches, degraded performance / experience."
|
||||
},
|
||||
|
||||
"title": {
|
||||
|
|
|
@ -249,6 +249,18 @@ const APP = {
|
|||
|
||||
},
|
||||
|
||||
// Check current operating system
|
||||
checkCurrentOs: function(){
|
||||
|
||||
// Check if needs to display warn
|
||||
if (APP.os.platform() !== 'win32' && APP.settings.data.nonWindowsOsWarn === !1){
|
||||
window.alert(APP.lang.getVariable('nonWindowsOsWarn'));
|
||||
APP.settings.data.nonWindowsOsWarn = !0;
|
||||
APP.settings.save();
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
// About screen
|
||||
about: function(){
|
||||
window.alert(this.lang.getVariable('about', [this.version]));
|
||||
|
@ -291,10 +303,11 @@ window.onload = function(){
|
|||
APP.appVersion = APP.lang.getVariable('mainLog', [APP.version, process.versions.nw, process.versions['nw-flavor'].toUpperCase()]);
|
||||
APP.log(APP.appVersion);
|
||||
|
||||
// Load settings ( 2 / 2 ) and kill fpPS4 process if is active
|
||||
// Load remaining settings, kill fpPS4 process if is active and check currert OS
|
||||
APP.settings.checkPaths();
|
||||
APP.design.renderSettings();
|
||||
APP.emuManager.killEmu(!0);
|
||||
APP.checkCurrentOs();
|
||||
|
||||
// Rener hack list, gamepad modes and focus input search field
|
||||
APP.design.renderHacklist();
|
||||
|
|
|
@ -78,6 +78,11 @@ temp_SETTINGS = {
|
|||
fpps4BranchName: 'trunk',
|
||||
fpps4selectedCI: 'Main CI',
|
||||
|
||||
/*
|
||||
Warning messages
|
||||
*/
|
||||
nonWindowsOsWarn: !1,
|
||||
|
||||
/*
|
||||
Debug
|
||||
*/
|
||||
|
|
|
@ -65,7 +65,8 @@
|
|||
"updater_noWorkflowListAvailable": "لم يتم العثور على قائمة workflow",
|
||||
"Sdl2NotFound": "",
|
||||
"errorListUnableLocateGamePath": "",
|
||||
"updateEmuSettingsWorkflow404": ""
|
||||
"updateEmuSettingsWorkflow404": "",
|
||||
"nonWindowsOsWarn": ""
|
||||
},
|
||||
|
||||
"input_text": {
|
||||
|
|
|
@ -65,7 +65,8 @@
|
|||
"updater_noWorkflowListAvailable": "Impossible d'obtenir la liste CI !",
|
||||
"Sdl2NotFound": "Impossible de trouver SDL2.dll dans le dossier Emu, vérifiez s'il est là pour activer \"SDL\".",
|
||||
"errorListUnableLocateGamePath": "ERREUR - Impossible de trouver le dossier de paramètres pour \"%VARIABLE_0%\" ! Pour éviter les erreurs, la liste des applications/jeux a été mise à jour.\nChemin : %VARIABLE_1%",
|
||||
"updateEmuSettingsWorkflow404": ""
|
||||
"updateEmuSettingsWorkflow404": "",
|
||||
"nonWindowsOsWarn": ""
|
||||
},
|
||||
|
||||
"input_text": {
|
||||
|
|
|
@ -65,7 +65,8 @@
|
|||
"updater_noWorkflowListAvailable": "Impossibile ottenere l'elenco CI!",
|
||||
"Sdl2NotFound": "",
|
||||
"errorListUnableLocateGamePath": "",
|
||||
"updateEmuSettingsWorkflow404": ""
|
||||
"updateEmuSettingsWorkflow404": "",
|
||||
"nonWindowsOsWarn": ""
|
||||
},
|
||||
|
||||
"input_text": {
|
||||
|
|
|
@ -65,7 +65,8 @@
|
|||
"updater_noWorkflowListAvailable": "",
|
||||
"Sdl2NotFound": "",
|
||||
"errorListUnableLocateGamePath": "",
|
||||
"updateEmuSettingsWorkflow404": ""
|
||||
"updateEmuSettingsWorkflow404": "",
|
||||
"nonWindowsOsWarn": ""
|
||||
},
|
||||
|
||||
"input_text": {
|
||||
|
|
|
@ -65,7 +65,8 @@
|
|||
"updater_noWorkflowListAvailable": "geen workflow lijst beschikbaar",
|
||||
"Sdl2NotFound": "SDL2.dll is niet gevonden in de Emu map, installeer het om SDL2 te gebruiken.",
|
||||
"errorListUnableLocateGamePath": "",
|
||||
"updateEmuSettingsWorkflow404": ""
|
||||
"updateEmuSettingsWorkflow404": "",
|
||||
"nonWindowsOsWarn": ""
|
||||
},
|
||||
|
||||
"input_text": {
|
||||
|
|
|
@ -65,11 +65,12 @@
|
|||
"updater_noWorkflowListAvailable": "Não foi possivel obter lista de CI!",
|
||||
"Sdl2NotFound": "Não foi possível encontrar SDL2.dll na pasta Emu, verifique se o mesmo se encontra lá para habilitar \"SDL\".",
|
||||
"errorListUnableLocateGamePath": "ERRO - Não foi possível localizar a pasta de configurações para \"%VARIABLE_0%\"! Para prevenir erros, a lista de Apps / Games foi atualizada.\nCaminho: %VARIABLE_1%",
|
||||
"updateEmuSettingsWorkflow404": "ERRO - (Updater) Não foi possível encontrar a worflow %VARIABLE_0%! A workflow %VARIABLE_1% será usada no lugar."
|
||||
"updateEmuSettingsWorkflow404": "ERRO - (Updater) Não foi possível encontrar a worflow %VARIABLE_0%! A workflow %VARIABLE_1% será usada no lugar.",
|
||||
"nonWindowsOsWarn": "AVSIO - Você está rodando fpPS4 Temmie's Launcher em um sistema não-windows!\n\nPara iniciar fpPS4, você irá precisar ter Wine instalado no seu sistema.\n\nAliás - Tenha em mente que rodar a camada de compatibilidade usando ferramentas como Wine podem (e provavelmente irão) causar glitches, rodar com menos performance do que o esperado."
|
||||
},
|
||||
|
||||
"input_text": {
|
||||
"INPUT_gameListSearch": { "placeholder": "Pesquisa: Nome do game...", "value": "" }
|
||||
"INPUT_gameListSearch": { "placeholder": "Pesquisa: Nome do título...", "value": "" }
|
||||
},
|
||||
|
||||
"title": {
|
||||
|
|
|
@ -65,7 +65,8 @@
|
|||
"updater_noWorkflowListAvailable": "Нет доступного списка рабочих процессов",
|
||||
"Sdl2NotFound": "SDL2.dll не найден в папке Emu, пожалуйста установите его чтобы использовать SDL2.",
|
||||
"errorListUnableLocateGamePath": "",
|
||||
"updateEmuSettingsWorkflow404": ""
|
||||
"updateEmuSettingsWorkflow404": "",
|
||||
"nonWindowsOsWarn": ""
|
||||
},
|
||||
|
||||
"input_text": {
|
||||
|
|
|
@ -63,7 +63,8 @@
|
|||
"updater_noWorkflowListAvailable": "CI listesi alınamadı!",
|
||||
"Sdl2NotFound": "SDL2.dll, Emu klasöründe bulunamadı, \"SDL\"yi etkinleştirmek için orada olduğundan emin olun.",
|
||||
"errorListUnableLocateGamePath": "HATA - \"%VARIABLE_0%\" için ayar klasörü bulunamadı! Hatalardan kaçınmak için uygulama/oyun listesi güncellendi.\nYol: %VARIABLE_1%",
|
||||
"updateEmuSettingsWorkflow404": ""
|
||||
"updateEmuSettingsWorkflow404": "",
|
||||
"nonWindowsOsWarn": ""
|
||||
},
|
||||
"input_text": {
|
||||
"INPUT_gameListSearch": {
|
||||
|
|
|
@ -65,7 +65,8 @@
|
|||
"updater_noWorkflowListAvailable": "Немає доступного списку робочих процесів",
|
||||
"Sdl2NotFound": "SDL2.dll не знайдено в папці Emu, будь ласка встановіть його щоб використовувати SDL2.",
|
||||
"errorListUnableLocateGamePath": "",
|
||||
"updateEmuSettingsWorkflow404": ""
|
||||
"updateEmuSettingsWorkflow404": "",
|
||||
"nonWindowsOsWarn": ""
|
||||
},
|
||||
|
||||
"input_text": {
|
||||
|
|
|
@ -65,7 +65,8 @@
|
|||
"updater_noWorkflowListAvailable": "Workflow 列表无法读取",
|
||||
"Sdl2NotFound": "模拟器文件夹中未发现 SDL2.dll , 请安装并使用 SDL2",
|
||||
"errorListUnableLocateGamePath": "",
|
||||
"updateEmuSettingsWorkflow404": ""
|
||||
"updateEmuSettingsWorkflow404": "",
|
||||
"nonWindowsOsWarn": ""
|
||||
},
|
||||
|
||||
"input_text": {
|
||||
|
|
Loading…
Reference in a new issue