Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/zeondev/pluto
Browse files Browse the repository at this point in the history
  • Loading branch information
datkat21 committed Jan 21, 2024
2 parents 1e2fbe9 + 1cd8268 commit b273b63
Show file tree
Hide file tree
Showing 6 changed files with 151 additions and 4 deletions.
83 changes: 83 additions & 0 deletions assets/strings.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ export default {
lang_de_DE: "German (Germany)",
lang_es_ES: "Spanish (Spain)",
lang_pt_BR: "Portuguese (Brazil)",
lang_fil_PH: "Filipino (Philippines)",
thankYou: "Thanks for using Pluto!",
systemApp_TaskManager: "Task Manager",
systemApp_FileManager: "File Manager",
Expand Down Expand Up @@ -161,6 +162,7 @@ export default {
lang_de_DE: "Deutsches (Deutschland)",
lang_es_ES: "Spanisch (Spanien)",
lang_pt_BR: "Portugiesisch (Brasilien)",
lang_fil_PH: "Filipino (Pilipinas)",
thankYou: "Danke, dass du Pluto benutzt hast!",
systemApp_TaskManager: "Systemmonitor",
systemApp_FileManager: "Dateibrowser",
Expand Down Expand Up @@ -232,6 +234,7 @@ export default {
lang_de_DE: "Alemán (Alemania)",
lang_es_ES: "Español (España)",
lang_pt_BR: "Portugués (Brasil)",
lang_fil_PH: "Filipino (Pilipinas)",
thankYou: "¡Gracias por usar Pluto!",
systemApp_TaskManager: "Monitor del sistema",
systemApp_FileManager: "Explorador de archivos",
Expand Down Expand Up @@ -300,6 +303,7 @@ export default {
lang_de_DE: "Alemanha (Alemã)",
lang_es_ES: "Espanhol (Espanha)",
lang_pt_BR: "Português (Brasil)",
lang_fil_PH: "Filipino (Pilipinas)",
thankYou: "Obrigado por usar Pluto!",
systemApp_TaskManager: "Monitor do sistema",
systemApp_FileManager: "Navegador de arquivos",
Expand All @@ -312,4 +316,83 @@ export default {
systemApp_Weather: "Meteorológico",
systemApp_Terminal: "terminal",
},
fil_PH: {
plutoName: "Pluto",
plutoVersionName: "Elysium",
ok: "OK",
cancel: "I-cancel",
yes: "Oo",
no: "Hindi",
allow: "Payagan",
deny: "Tanggihan",
back: "Balik",
next: "Sunod",
confirm: "Kumpirmahin",
finish: "Tapos",
close: "Isara",
notice: "Pansinin",
launchApp: "Buksan ang App",
system: "System",
account: "Account",
appearance: "Hitsura",
network: "Network",
applications: "Aplikasyon",
security: "Seguridad",
theme: "Theme",
favorite: "Paborito",
unfavorite: "Di paborito",
user: "User",
localAccount: "Local na Account",
zeonAccount: "Zeon na Account",
file: "File",
fileFolder: "File folder",
language: "Wika",
install: "I-install",
uninstall: "I-uninstall",
open: "Buksan",
error: "Error",
refresh: "Refresh",
action_newDocument: "Bagong Document",
action_openDocument: "Buksan ang Document",
action_save: "Isulat",
action_saveAs: "Isulat bilang",
appDocumentation: "Tignan ang dokumentasyon",
appDocumentationPopup: "Dokumentasyon",
appHelp: "Tulong ng Aplikasyon",
appHelp_intro:
"Gusto mo bang matuto kung paano gamitin ang aplikasyon na ito?",
core_appAccessControl_title: "App Privilege Request",
core_appAccessControl_description:
'Ang aplikasyong "{appName}" ay gustong bumukas na mga pribilehiyo na ito:',
core_appAccessControl_privilege_startPkg: "Bumukas ng ibang aplikasyon",
core_appAccessControl_privilege_processList:
"Tumingin at i-control ang ibang processes",
core_appAccessControl_privilege_knownPackageList:
"Alamin ang mga naka-install na packages",
core_appAccessControl_privilege_services: "Mag-interact sa system services",
core_appAccessControl_privilege_setLanguage: "Baguhin ang wika",
core_appAccessControl_privilege_full: "Access sa kabuuan ng system",
core_appAccessControl_authorNote: "Note ng author: {note}",
core_appAccessControl_noAuthorNote: "Walang note ng author",
core_appLaunch_notification:
"{suspectedApp} ay may gustong i-bukas ang {targetApp}.\nPapayagan mo ba?",
lockScreen_tapAnywhere: "Mag-tap kahit saan para i-unlock",
lang_en_US: "Ingles (US)",
lang_en_GB: "Ingles (UK)",
lang_de_DE: "German (Germany)",
lang_es_ES: "Español (Spain)",
lang_pt_BR: "Portuguese (Brazil)",
lang_fil_PH: "Filipino (Pilipinas)",
thankYou: "Salamat sa pag-gamit ng Pluto!",
systemApp_TaskManager: "Task Manager",
systemApp_FileManager: "File Manager",
systemApp_AppStore: "App Store",
systemApp_Settings: "Mga Settings",
systemApp_Notepad: "Notepad",
systemApp_DevEnv: "DevEnv",
systemApp_ImageViewer: "Image Viewer",
systemApp_Browser: "Browser",
systemApp_Weather: "Weather",
systemApp_Terminal: "Terminal",
},
};
9 changes: 8 additions & 1 deletion core.js
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,14 @@
});
}

const supportedLangs = ["en_US", "en_GB", "de_DE", "es_ES", "pt_BR"];
const supportedLangs = [
"en_US",
"en_GB",
"de_DE",
"es_ES",
"pt_BR",
"fil_PH",
];

let language = "en_US";

Expand Down
16 changes: 15 additions & 1 deletion pkgs/apps/DevEnv.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,19 @@ export default {
appHelp_string3: "Você gostaria de aprender sobre os atalhos do teclado?",
appHelp_string4: "Aqui estão os atalhos do teclado:",
},
fil_PH: {
action_zoomOut: "Liitan",
action_zoomIn: "Lakihan",
action_format: "Pagandahin",
action_runApp: "Buksan ang App",
appHelp_string1:
"Maligayang pagdating sa DevEnv. Ito ay isang developer environment para gumawa ng aplikasyon sa Pluto.",
appHelp_string2:
"Pwede mong gamitin ang mga buttons sa sidebar para mag-perform ng iba't ibang mga aksyon sa aplikasyon.\nMayroon itong iba't ibang keyboard shortcuts.",
appHelp_string3:
"Gusto mo bang matuto ng mga iba't ibang keyboard shortcuts?",
appHelp_string4: "Ito ay mga keyboard shortcuts:",
},
},
ver: 1, // Compatible with core v1
type: "process",
Expand Down Expand Up @@ -253,7 +266,8 @@ export default {
height: 360,
});

Root.Lib.html.from(docsWindow.window.querySelector(".win-content"))
Root.Lib.html
.from(docsWindow.window.querySelector(".win-content"))
.classOn("iframe")
.style({ padding: "0px" });
},
Expand Down
13 changes: 13 additions & 0 deletions pkgs/apps/Settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,19 @@ export default {
coreVersion: "Versão da core",
supportedVersions: "Versãos suportado",
},
fil_PH: {
thisSystem: "Itong system",
yourDevice: "Iyong device",
operatingSystem: "Ang operating system",
webBrowser: "Ang web browser",
deviceType: "Uri ng device",
webProtocol: "Ang web protocol",
webHost: "Ang web host",
plutoInfo: "Tungkol sa Pluto",
storageUsed: "Storage na ginamit",
coreVersion: "Bersyon ng core",
supportedVersions: "Supported na mga bersyon",
},
},
exec: async function (Root) {
let wrapper; // Lib.html | undefined
Expand Down
14 changes: 12 additions & 2 deletions pkgs/apps/TaskManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,14 @@ export default {
input_appId: "ID do aplicativo (apps:...)",
endProcess: "Finalizar tarefa",
},
fil_PH: {
table_type: "Uri",
table_appId: "App ID",
table_details: "Detalye",
table_pid: "PID",
input_appId: "App ID (apps:...)",
endProcess: "I-tigil ang Task",
},
},
exec: async function (Root) {
let wrapper; // Lib.html | undefined
Expand Down Expand Up @@ -205,8 +213,10 @@ export default {
if (m && m.type) {
if (m.type === "refresh") {
Root.Lib.getString = m.data;
TaskManagerWindow.setTitle(Root.Lib.getString('systemApp_TaskManager'));
Root.Lib.updateProcTitle(Root.Lib.getString('systemApp_TaskManager'));
TaskManagerWindow.setTitle(
Root.Lib.getString("systemApp_TaskManager")
);
Root.Lib.updateProcTitle(Root.Lib.getString("systemApp_TaskManager"));
}
}
});
Expand Down
20 changes: 20 additions & 0 deletions pkgs/apps/Welcome.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export default {
welcome_page2_language_de_DE: "German (Germany)",
welcome_page2_language_es_ES: "Spanish (Spain)",
welcome_page2_language_pt_BR: "Portuguese (Brazil)",
welcome_page2_language_fil_PH: "Filipino (Pilipinas)",
welcome_page3_header: "Personalize",
welcome_page3_body: "Select your favorite theme.",
welcome_page4_header: "You have now set up your system!",
Expand Down Expand Up @@ -79,6 +80,25 @@ export default {
welcome_page4_body:
'Pressione "Completa" para sair do aplicativo "Ben-vindo".',
},
fil_PH: {
welcome_window_title: "Kamusta!",
welcome_page1_header: "Maligayang pagdating sa Pluto",
welcome_page1_body:
"Kamusta! Maligayang pagdating sa Pluto, ang bagong 'desktop environment' para sa web.\n\nI-click ang 'Sunod' para sa setup.",
welcome_page2_header: "Baguhin ang wika",
welcome_page2_body: "Ang wikang pinili ay Filipino (Pilipinas).",
welcome_page2_language_en_US: "Ingles (US)",
welcome_page2_language_en_GB: "Ingles (UK)",
welcome_page2_language_de_DE: "German (Germany)",
welcome_page2_language_es_ES: "Español (Spain)",
welcome_page2_language_pt_BR: "Portuguese (Brazil)",
welcome_page2_language_fil_PH: "Filipino (Pilipinas)",
welcome_page3_header: "Baguhin ang hitsura ng Pluto",
welcome_page3_body: "Piliin ang iyong paboritong theme.",
welcome_page4_header: "Dito nagtatapos ang setup!",
welcome_page4_body:
"I-click ang 'Tapos' para i-quit ang setup at mag-save ng settings.",
},
},
exec: async function (Root) {
let wrapper; // Lib.html | undefined
Expand Down

0 comments on commit b273b63

Please sign in to comment.